Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions inc/Abilities/WorkspaceAbilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -1544,14 +1544,17 @@ private function registerAbilities(): void {
),
'session' => array(
'type' => 'object',
'description' => 'Captured session identifiers (kimaki/opencode). Fields default to null when the corresponding env was not present at worktree creation.',
'description' => 'Captured session identifiers in a runtime-agnostic envelope. `primary_id` is the single renderer-friendly identifier downstream surfaces display. `ids` is a free-form map keyed by runtime ID (a string the integration layer chooses, e.g. via the `datamachine_code_worktree_runtime_signatures` filter); each entry is a string-map of subkeys (e.g. session_id, thread_id, thread_url, run_id) the integration chose to capture. DMC enumerates no runtime IDs and no subkeys.',
'properties' => array(
'primary_id' => array( 'type' => array( 'string', 'null' ) ),
'kimaki_session_id' => array( 'type' => array( 'string', 'null' ) ),
'kimaki_thread_id' => array( 'type' => array( 'string', 'null' ) ),
'kimaki_thread_url' => array( 'type' => array( 'string', 'null' ) ),
'opencode_session_id' => array( 'type' => array( 'string', 'null' ) ),
'opencode_run_id' => array( 'type' => array( 'string', 'null' ) ),
'primary_id' => array( 'type' => array( 'string', 'null' ) ),
'ids' => array(
'type' => 'object',
'description' => 'Map of runtime-id => { subkey => string|null }. Keys are opaque; DMC does not validate against a closed set.',
'additionalProperties' => array(
'type' => 'object',
'additionalProperties' => array( 'type' => array( 'string', 'null' ) ),
),
),
),
),
'task' => array(
Expand Down
8 changes: 4 additions & 4 deletions inc/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
*
* Public signal that a co-located coding agent runtime exists on this host.
*
* Data Machine Code is the bridge between WordPress and an external coding
* agent runtime (Claude Code, OpenCode, kimaki, etc.). Its mere activation
* is the declarative answer to "is there a coding agent here?" — there is
* no separate marker file or constant to declare.
* Data Machine Code is the bridge between WordPress and an external
* coding-agent runtime. Its mere activation is the declarative answer to
* "is there a coding agent here?" — there is no separate marker file or
* constant to declare.
*
* Other plugins that ship disk-side artifacts for a coding agent (e.g.
* Intelligence's SKILL.md sync, MEMORY.md disk writes, MCP bridges) should
Expand Down
Loading
Loading