@hearsay-tools/squawk 0.18.0-pr3991.7589 → 0.18.0-pr3992.7590

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/core/runner-definition.d.ts +0 -17
  2. package/dist/core/runner-definition.js.map +1 -1
  3. package/dist/runners/claude/cli.d.ts +0 -4
  4. package/dist/runners/claude/cli.js +0 -1
  5. package/dist/runners/claude/cli.js.map +1 -1
  6. package/dist/runners/claude/mock.d.ts +0 -42
  7. package/dist/runners/claude/mock.js +0 -55
  8. package/dist/runners/claude/mock.js.map +1 -1
  9. package/dist/runners/codex/cli.d.ts +0 -4
  10. package/dist/runners/codex/cli.js +0 -1
  11. package/dist/runners/codex/cli.js.map +1 -1
  12. package/dist/runners/codex/mock.d.ts +0 -26
  13. package/dist/runners/codex/mock.js +0 -32
  14. package/dist/runners/codex/mock.js.map +1 -1
  15. package/dist/runners/omp/cli.d.ts +0 -4
  16. package/dist/runners/omp/cli.js +0 -1
  17. package/dist/runners/omp/cli.js.map +1 -1
  18. package/dist/runners/omp/mock.d.ts +0 -22
  19. package/dist/runners/omp/mock.js +0 -27
  20. package/dist/runners/omp/mock.js.map +1 -1
  21. package/dist/runners/opencode/cli.d.ts +0 -4
  22. package/dist/runners/opencode/cli.js +0 -1
  23. package/dist/runners/opencode/cli.js.map +1 -1
  24. package/dist/runners/opencode/mock.d.ts +0 -14
  25. package/dist/runners/opencode/mock.js +0 -17
  26. package/dist/runners/opencode/mock.js.map +1 -1
  27. package/dist/runners/pi/cli.d.ts +0 -4
  28. package/dist/runners/pi/cli.js +0 -1
  29. package/dist/runners/pi/cli.js.map +1 -1
  30. package/dist/runners/pi/mock.d.ts +0 -22
  31. package/dist/runners/pi/mock.js +0 -27
  32. package/dist/runners/pi/mock.js.map +1 -1
  33. package/dist/server/open-in-app.d.ts +1 -4
  34. package/dist/server/open-in-app.js +17 -12
  35. package/dist/server/open-in-app.js.map +1 -1
  36. package/dist/server/server.d.ts +1371 -1371
  37. package/package.json +4 -4
  38. package/scripts/mock-skill-data/claude.mjs +83 -0
  39. package/scripts/mock-skill-data/codex.mjs +73 -0
  40. package/scripts/mock-skill-data/omp.mjs +59 -0
  41. package/scripts/mock-skill-data/opencode.mjs +82 -0
  42. package/scripts/mock-skill-data/pi.mjs +64 -0
  43. package/scripts/mock-skill-data.mjs +13 -0
  44. package/scripts/mock-skill-list-data.mjs +3 -183
  45. package/scripts/mock-skill-trigger-data.mjs +3 -167
@@ -85,18 +85,6 @@ export interface RunnerMock {
85
85
  /** P6: the text the mock echoes once Squawk refuses its malformed request. Required with
86
86
  * `scenarios['approval-malformed']`. */
87
87
  readonly malformedApprovalEcho?: string;
88
- /**
89
- * Parity cells this runner's wire cannot carry, by criterion id: how the matrix pins each and
90
- * why. The parity kit's `PARITY_EXEMPTIONS` adds them to the rows it selects by facts. A row
91
- * the kit selects by facts with a runner-specific reason (A9) reads that reason here.
92
- */
93
- readonly parityExemptions?: Readonly<Record<string, RunnerParityExemption>>;
94
- }
95
- /** One parity cell a runner's wire cannot carry; the parity kit's `ExemptionKind` says how each kind is pinned. */
96
- export interface RunnerParityExemption {
97
- readonly kind: 'capability-absent' | 'scenario-unconstructible';
98
- /** Why this runner's wire cannot carry the cell. Never "not implemented yet". */
99
- readonly reason: string;
100
88
  }
101
89
  /**
102
90
  * The `display` part: a `GET /api/v1/runners` entry without its id, its model presets (the `models`
@@ -186,11 +174,6 @@ export interface RunnerCli {
186
174
  readonly site: string;
187
175
  readonly label: string;
188
176
  } | null;
189
- /** The "Open in" menu entry (`cli:<id>`) that hands a session to this CLI: its label and its icon key. */
190
- readonly openTarget: {
191
- readonly label: string;
192
- readonly icon: string;
193
- };
194
177
  }
195
178
  /** Login and auth status (the `login` part, spec 2026-11-18-runner-definitions): the data half of
196
179
  * a `DESCRIPTORS` entry from `core/provider-auth.ts`, read by `ProviderAuthService`. */
@@ -1 +1 @@
1
- {"version":3,"file":"runner-definition.js","sourceRoot":"","sources":["../../src/core/runner-definition.ts"],"names":[],"mappings":"AAiQA,0BAA0B;AAC1B,MAAM,UAAU,YAAY,CAAC,UAA4B;IACvD,OAAO,UAAU,CAAC;AACpB,CAAC"}
1
+ {"version":3,"file":"runner-definition.js","sourceRoot":"","sources":["../../src/core/runner-definition.ts"],"names":[],"mappings":"AAkPA,0BAA0B;AAC1B,MAAM,UAAU,YAAY,CAAC,UAA4B;IACvD,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -8,8 +8,4 @@ export declare const CLAUDE_CLI: {
8
8
  readonly installSource: {
9
9
  readonly npm: '@anthropic-ai/claude-code';
10
10
  };
11
- readonly openTarget: {
12
- readonly label: 'Claude CLI';
13
- readonly icon: 'claude';
14
- };
15
11
  };
@@ -3,6 +3,5 @@ export const CLAUDE_CLI = {
3
3
  terminalExecutable: { kind: 'path-name', name: 'claude' },
4
4
  resumeArgs: id => `--resume ${id}`,
5
5
  installSource: { npm: '@anthropic-ai/claude-code' },
6
- openTarget: { label: 'Claude CLI', icon: 'claude' },
7
6
  };
8
7
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/claude/cli.ts"],"names":[],"mappings":"AAEA,wHAAwH;AACxH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE;IACzD,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,EAAE;IAClC,aAAa,EAAE,EAAE,GAAG,EAAE,2BAA2B,EAAE;IACnD,UAAU,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE;CACvB,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/claude/cli.ts"],"names":[],"mappings":"AAEA,wHAAwH;AACxH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE;IACzD,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,EAAE;IAClC,aAAa,EAAE,EAAE,GAAG,EAAE,2BAA2B,EAAE;CACvB,CAAC"}
@@ -54,46 +54,4 @@ export declare const CLAUDE_MOCK: {
54
54
  readonly 'hook-after-park': 'mock:hook-after-park';
55
55
  readonly 'steer-late': 'mock:hold';
56
56
  };
57
- readonly parityExemptions: {
58
- readonly P9: {
59
- readonly kind: 'scenario-unconstructible';
60
- readonly reason: 'Claude print mode settles every tool permission inside Claude under its headless --permission-mode and sends Squawk no MCP tool approval request; Squawk\'s own tools are pre-authorized through generated --allowedTools entries (R35).';
61
- };
62
- readonly A13: {
63
- readonly kind: 'capability-absent';
64
- readonly reason: "Claude acknowledges input with its own stdin write, so no prompt acknowledgement is outstanding at a turn end, and it refuses agent input only while its own agent write is pending.";
65
- };
66
- readonly A14: {
67
- readonly kind: 'capability-absent';
68
- readonly reason: "Claude acknowledges input with its own stdin write, so no prompt acknowledgement is outstanding at a turn end, and it refuses agent input only while its own agent write is pending.";
69
- };
70
- readonly A15: {
71
- readonly kind: 'capability-absent';
72
- readonly reason: 'Claude acknowledges input with its own stdin write, so a submitted nudge cannot wait for its acknowledgement. The cell pins the inverted assertion: every acknowledgement cancels its bound and the run continues to the cap.';
73
- };
74
- readonly A9: {
75
- readonly kind: 'capability-absent';
76
- readonly reason: 'Claude stream-json asks through cezar_ask; its wire emits no native mid-turn ask.requested (A3/A4 cover the cezar_ask policy).';
77
- };
78
- readonly I2: {
79
- readonly kind: 'capability-absent';
80
- readonly reason: 'Claude 2.1.280 runs a stdin line written after the last model call as its own following result (queued_turn_count), so accepted input is never left unread (#505).';
81
- };
82
- readonly U12: {
83
- readonly kind: 'capability-absent';
84
- readonly reason: 'Claude acknowledges agent input with the local stdin pipe write, so the provider cannot delay the acknowledgement. U3b covers its delivery beside a pending question.';
85
- };
86
- readonly U13: {
87
- readonly kind: 'capability-absent';
88
- readonly reason: 'Claude acknowledges agent input with the local stdin pipe write; a written line has no provider rejection.';
89
- };
90
- readonly U27: {
91
- readonly kind: 'capability-absent';
92
- readonly reason: 'Claude acknowledges agent input with the local stdin pipe write, so no turn can end before its input is acknowledged; its fresh-step and Continue cells still run.';
93
- };
94
- readonly D1: {
95
- readonly kind: 'capability-absent';
96
- readonly reason: 'Claude Code 2.1.312 SendMessage and ListAgents also reach the session\'s own subagents, so no outbound tool is separate from subagent messaging; inbound messages from other sessions are refused on every launch (D3).';
97
- };
98
- };
99
57
  };
@@ -1,6 +1,4 @@
1
1
  import { COMMON_MOCK_SCENARIOS, STDIO_ASK_MOCK_SCENARIOS } from '../mock-prompts.js';
2
- /** Why the A13 and A14 cells cannot run on this wire. */
3
- const PROMPT_ACK_REASON = 'Claude acknowledges input with its own stdin write, so no prompt acknowledgement is outstanding at a turn end, and it refuses agent input only while its own agent write is pending.';
4
2
  /** The claude runner's native mock and its scenario adapter (the `mock` part). Data only. */
5
3
  export const CLAUDE_MOCK = {
6
4
  askResumeCases: [{ kind: 'cezar_ask', scenario: 'ask-resume', answer: 'Library: Vitest' }],
@@ -21,58 +19,5 @@ export const CLAUDE_MOCK = {
21
19
  // A line written after the last model call runs as the CLI's next queued turn.
22
20
  'steer-late': 'mock:hold',
23
21
  },
24
- // The parity cells this wire cannot carry (`PARITY_EXEMPTIONS`).
25
- parityExemptions: {
26
- P9: {
27
- kind: 'scenario-unconstructible',
28
- reason: 'Claude print mode settles every tool permission inside Claude under its headless --permission-mode and sends Squawk no MCP tool approval request; Squawk\'s own tools are pre-authorized through generated --allowedTools entries (R35).',
29
- },
30
- // hearsay-tools/squawk#2452: the live A13/A14 rows run where a prompt acknowledgement can be
31
- // outstanding at a turn end with no human input held.
32
- A13: {
33
- kind: 'capability-absent',
34
- reason: PROMPT_ACK_REASON,
35
- },
36
- A14: {
37
- kind: 'capability-absent',
38
- reason: PROMPT_ACK_REASON,
39
- },
40
- // hearsay-tools/squawk#2443: the live row holds the nudge's acknowledgement on every wire that
41
- // acknowledges apart from its own write.
42
- A15: {
43
- kind: 'capability-absent',
44
- reason: 'Claude acknowledges input with its own stdin write, so a submitted nudge cannot wait for its acknowledgement. The cell pins the inverted assertion: every acknowledgement cancels its bound and the run continues to the cap.',
45
- },
46
- // A9: a native mid-turn ask.requested exists only where the declared native ask is answerable;
47
- // the parity kit checks this reason against the facts.
48
- A9: {
49
- kind: 'capability-absent',
50
- reason: 'Claude stream-json asks through cezar_ask; its wire emits no native mid-turn ask.requested (A3/A4 cover the cezar_ask policy).',
51
- },
52
- I2: {
53
- kind: 'capability-absent',
54
- reason: 'Claude 2.1.280 runs a stdin line written after the last model call as its own following result (queued_turn_count), so accepted input is never left unread (#505).',
55
- },
56
- // U12/U13: an agent-input acknowledgement the provider can delay or reject.
57
- U12: {
58
- kind: 'capability-absent',
59
- reason: 'Claude acknowledges agent input with the local stdin pipe write, so the provider cannot delay the acknowledgement. U3b covers its delivery beside a pending question.',
60
- },
61
- U13: {
62
- kind: 'capability-absent',
63
- reason: 'Claude acknowledges agent input with the local stdin pipe write; a written line has no provider rejection.',
64
- },
65
- // U27 (hearsay-tools/cezarion#1525): the late-acknowledgement entry needs a turn that ends
66
- // before its input is acknowledged.
67
- U27: {
68
- kind: 'capability-absent',
69
- reason: 'Claude acknowledges agent input with the local stdin pipe write, so no turn can end before its input is acknowledged; its fresh-step and Continue cells still run.',
70
- },
71
- // D1 (hearsay-tools/cezarion#2279), checked against the installed CLI on 2026-10-30.
72
- D1: {
73
- kind: 'capability-absent',
74
- reason: 'Claude Code 2.1.312 SendMessage and ListAgents also reach the session\'s own subagents, so no outbound tool is separate from subagent messaging; inbound messages from other sessions are refused on every launch (D3).',
75
- },
76
- },
77
22
  };
78
23
  //# sourceMappingURL=mock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/claude/mock.ts"],"names":[],"mappings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mB;YACzB,MAAM,EAAE,oKAAoK;SAC7K;QACD,4EAA4E;QAC5E,GAAG,EAAE;YACH,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,uKAAuK;SAChL;QACD,GAAG,EAAE;YACH,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,4GAA4G;SACrH;QACD,2FAA2F;QAC3F,oCAAoC;QACpC,GAAG,EAAE;YACH,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,oKAAoK;SAC7K;QACD,qFAAqF;QACrF,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,yNAAyN;SAClO;KACF;CAC4B,CAAC"}
1
+ {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/claude/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAErF,6FAA6F;AAC7F,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC1F,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,iBAAiB;IACzB,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,wBAAwB;QAC3B,gGAAgG;QAChG,gBAAgB,EAAE,oBAAoB;QACtC,2BAA2B,EAAE,iBAAiB;QAC9C,sBAAsB,EAAE,2BAA2B;QACnD,sBAAsB,EAAE,2BAA2B;QACnD,QAAQ,EAAE,gBAAgB;QAC1B,qBAAqB,EAAE,0BAA0B;QACjD,cAAc,EAAE,mBAAmB;QACnC,iBAAiB,EAAE,sBAAsB;QACzC,+EAA+E;QAC/E,YAAY,EAAE,WAAW;KAC1B;CAC4B,CAAC"}
@@ -8,8 +8,4 @@ export declare const CODEX_CLI: {
8
8
  readonly installSource: {
9
9
  readonly npm: '@openai/codex';
10
10
  };
11
- readonly openTarget: {
12
- readonly label: 'Codex CLI';
13
- readonly icon: 'codex';
14
- };
15
11
  };
@@ -3,6 +3,5 @@ export const CODEX_CLI = {
3
3
  terminalExecutable: { kind: 'path-name', name: 'codex' },
4
4
  resumeArgs: id => `resume ${id}`,
5
5
  installSource: { npm: '@openai/codex' },
6
- openTarget: { label: 'Codex CLI', icon: 'codex' },
7
6
  };
8
7
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/codex/cli.ts"],"names":[],"mappings":"AAEA,uHAAuH;AACvH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE;IACxD,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,EAAE,EAAE;IAChC,aAAa,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE;IACvC,UAAU,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE;CACrB,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/codex/cli.ts"],"names":[],"mappings":"AAEA,uHAAuH;AACvH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE;IACxD,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,EAAE,EAAE;IAChC,aAAa,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE;CACX,CAAC"}
@@ -68,30 +68,4 @@ export declare const CODEX_MOCK: {
68
68
  readonly 'subagent-after-park': 'mock:subagent-after-park';
69
69
  readonly 'hook-after-park': 'mock:hook-after-park';
70
70
  };
71
- readonly parityExemptions: {
72
- readonly P2: {
73
- readonly kind: 'scenario-unconstructible';
74
- readonly reason: 'every app-server approval request comes from Codex\'s own approval policy or MCP tool approval mode, which Squawk leaves to Codex and P1 and P9 route to the human; the wire has no built-in ask that Squawk answers.';
75
- };
76
- readonly P5: {
77
- readonly kind: 'scenario-unconstructible';
78
- readonly reason: 'Codex answers an approval with a JSON-RPC response written to app-server stdin. JSON-RPC sends no reply to a response, so the wire has no per-answer refusal: the write reaches the server, or the transport fails and the session ends.';
79
- };
80
- readonly P7: {
81
- readonly kind: 'scenario-unconstructible';
82
- readonly reason: 'A Codex approval request is already Codex\'s own decision to ask (its approval policy runs server-side), so Squawk shows the card on receipt with nothing to read first; there is no window between receipt and the card.';
83
- };
84
- readonly A13: {
85
- readonly kind: 'capability-absent';
86
- readonly reason: "Codex refuses agent input only while a human prompt is still on its way to the wire, and that prompt is held human input: the turn end takes it before any nudge.";
87
- };
88
- readonly A14: {
89
- readonly kind: 'capability-absent';
90
- readonly reason: "Codex refuses agent input only while a human prompt is still on its way to the wire, and that prompt is held human input: the turn end takes it before any nudge.";
91
- };
92
- readonly D3: {
93
- readonly kind: 'capability-absent';
94
- readonly reason: 'Codex 0.164.0 multi-agent tools reach only agents of the same session; the cross-thread agent_message_board feature is under development and off by default, so Squawk sends no flag for an unstable key.';
95
- };
96
- };
97
71
  };
@@ -1,6 +1,4 @@
1
1
  import { COMMON_MOCK_SCENARIOS, PROVIDER_ERROR_MOCK_SCENARIOS, NATIVE_APPROVAL_MOCK_SCENARIOS } from '../mock-prompts.js';
2
- /** Why the A13 and A14 cells cannot run on this wire. */
3
- const PROMPT_ACK_REASON = 'Codex refuses agent input only while a human prompt is still on its way to the wire, and that prompt is held human input: the turn end takes it before any nudge.';
4
2
  /** The codex runner's native mock and its scenario adapter (the `mock` part). Data only. */
5
3
  export const CODEX_MOCK = {
6
4
  askResumeCases: [{ kind: 'item/tool/requestUserInput', scenario: 'ask-resume', answer: 'Library: Vitest' }],
@@ -27,35 +25,5 @@ export const CODEX_MOCK = {
27
25
  'subagent-after-park': 'mock:subagent-after-park',
28
26
  'hook-after-park': 'mock:hook-after-park',
29
27
  },
30
- // The parity cells this wire cannot carry (`PARITY_EXEMPTIONS`).
31
- parityExemptions: {
32
- P2: {
33
- kind: 'scenario-unconstructible',
34
- reason: 'every app-server approval request comes from Codex\'s own approval policy or MCP tool approval mode, which Squawk leaves to Codex and P1 and P9 route to the human; the wire has no built-in ask that Squawk answers.',
35
- },
36
- P5: {
37
- kind: 'scenario-unconstructible',
38
- reason: 'Codex answers an approval with a JSON-RPC response written to app-server stdin. JSON-RPC sends no reply to a response, so the wire has no per-answer refusal: the write reaches the server, or the transport fails and the session ends.',
39
- },
40
- P7: {
41
- kind: 'scenario-unconstructible',
42
- reason: 'A Codex approval request is already Codex\'s own decision to ask (its approval policy runs server-side), so Squawk shows the card on receipt with nothing to read first; there is no window between receipt and the card.',
43
- },
44
- // hearsay-tools/squawk#2452: the live A13/A14 rows run where a prompt acknowledgement can be
45
- // outstanding at a turn end with no human input held.
46
- A13: {
47
- kind: 'capability-absent',
48
- reason: PROMPT_ACK_REASON,
49
- },
50
- A14: {
51
- kind: 'capability-absent',
52
- reason: PROMPT_ACK_REASON,
53
- },
54
- // D3 (hearsay-tools/cezarion#1994), checked against the installed CLI on 2026-10-27.
55
- D3: {
56
- kind: 'capability-absent',
57
- reason: 'Codex 0.164.0 multi-agent tools reach only agents of the same session; the cross-thread agent_message_board feature is under development and off by default, so Squawk sends no flag for an unstable key.',
58
- },
59
- },
60
28
  };
61
29
  //# sourceMappingURL=mock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/codex/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAE1H,yDAAyD;AACzD,MAAM,iBAAiB,GAAG,mKAAmK,CAAC;AAE9L,4FAA4F;AAC5F,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,QAAQ,EAAE,YAAY,EAA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Root":"","sources":["../../../src/runners/codex/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAE1H,4FAA4F;AAC5F,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC3G,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,2BAA2B;IACnC,iBAAiB,EAAE;QACjB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,2CAA2C,EAAE;QACtE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,0CAA0C,EAAE;KACrE;IACD,qBAAqB,EAAE,wBAAwB;IAC/C,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,6BAA6B;QAChC,GAAG,8BAA8B;QACjC,oBAAoB,EAAE,yBAAyB;QAC/C,cAAc,EAAE,mBAAmB;QACnC,6BAA6B,EAAE,kCAAkC;QACjE,sBAAsB,EAAE,mBAAmB;QAC3C,GAAG,EAAE,uBAAuB;QAC5B,YAAY,EAAE,8CAA8C;QAC5D,gBAAgB,EAAE,uBAAuB;QACzC,6EAA6E;QAC7E,QAAQ,EAAE,iBAAiB;QAC3B,qBAAqB,EAAE,0BAA0B;QACjD,iBAAiB,EAAE,sBAAsB;KAC1C;CAC4B,CAAC"}
@@ -6,8 +6,4 @@ export declare const OMP_CLI: {
6
6
  };
7
7
  readonly resumeArgs: (id: string) => string;
8
8
  readonly installSource: null;
9
- readonly openTarget: {
10
- readonly label: 'OMP CLI';
11
- readonly icon: 'omp';
12
- };
13
9
  };
@@ -4,6 +4,5 @@ export const OMP_CLI = {
4
4
  terminalExecutable: { kind: 'configured', resolve: () => productEnv('OMP_BIN') ?? 'omp' },
5
5
  resumeArgs: id => `--resume ${id}`,
6
6
  installSource: null,
7
- openTarget: { label: 'OMP CLI', icon: 'omp' },
8
7
  };
9
8
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/omp/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAGvD,qHAAqH;AACrH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,kBAAkB,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,KAAK,EAAE;IACzF,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,EAAE;IAClC,aAAa,EAAE,IAAI;IACnB,UAAU,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE;CACjB,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/omp/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAGvD,qHAAqH;AACrH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,kBAAkB,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,KAAK,EAAE;IACzF,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,EAAE;IAClC,aAAa,EAAE,IAAI;CACS,CAAC"}
@@ -54,26 +54,4 @@ export declare const OMP_MOCK: {
54
54
  readonly subagent: 'mock:subagent';
55
55
  readonly 'subagent-after-park': 'mock:subagent-after-park';
56
56
  };
57
- readonly parityExemptions: {
58
- readonly P9: {
59
- readonly kind: 'scenario-unconstructible';
60
- readonly reason: 'OMP\'s RPC wire carries no tool approval request for Squawk to answer: tool admission is its --tools list and --config overlay; Squawk\'s tools reach OMP as an --extension admitted through --tools (R35), not as an MCP server.';
61
- };
62
- readonly A9: {
63
- readonly kind: 'capability-absent';
64
- readonly reason: 'OMP v18.4.11 plain `--mode rpc` never constructs the ask tool: sessionOptions.hasUI is true only for interactive or rpc-ui (src/main.ts) and AskTool.createIf returns null without it, so the native ask path cannot exist on the wire Squawk uses. Asks go through cezar_ask (A3/A4 cover the cezar_ask policy).';
65
- };
66
- readonly I2: {
67
- readonly kind: 'capability-absent';
68
- readonly reason: 'OMP v18.4.11 session_settled requires queuedMessageCount === 0 (isRpcSessionSettled, modes/rpc/rpc-session-settle.ts), and agent_end is rewritten to isTerminal:false while agent.hasQueuedMessages() (session/agent-session.ts), so a steer accepted before settle is read in the same turn and accepted input is never left unread.';
69
- };
70
- readonly D1: {
71
- readonly kind: 'capability-absent';
72
- readonly reason: 'OMP 18.13.1 has no cross-session tool in its default set; its irc tool is an in-process bus that reaches only agents inside the same OMP process.';
73
- };
74
- readonly D3: {
75
- readonly kind: 'capability-absent';
76
- readonly reason: 'OMP 18.13.1 get_state.dumpTools default set holds no messaging tool; vibe_* and irc are opt-in in the user\'s own config.';
77
- };
78
- };
79
57
  };
@@ -14,32 +14,5 @@ export const OMP_MOCK = {
14
14
  subagent: 'mock:subagent',
15
15
  'subagent-after-park': 'mock:subagent-after-park',
16
16
  },
17
- // The parity cells this wire cannot carry (`PARITY_EXEMPTIONS`).
18
- parityExemptions: {
19
- P9: {
20
- kind: 'scenario-unconstructible',
21
- reason: 'OMP\'s RPC wire carries no tool approval request for Squawk to answer: tool admission is its --tools list and --config overlay; Squawk\'s tools reach OMP as an --extension admitted through --tools (R35), not as an MCP server.',
22
- },
23
- // A9: a native mid-turn ask.requested exists only where the declared native ask is answerable;
24
- // the parity kit checks this reason against the facts.
25
- A9: {
26
- kind: 'capability-absent',
27
- reason: 'OMP v18.4.11 plain `--mode rpc` never constructs the ask tool: sessionOptions.hasUI is true only for interactive or rpc-ui (src/main.ts) and AskTool.createIf returns null without it, so the native ask path cannot exist on the wire Squawk uses. Asks go through cezar_ask (A3/A4 cover the cezar_ask policy).',
28
- },
29
- I2: {
30
- kind: 'capability-absent',
31
- reason: 'OMP v18.4.11 session_settled requires queuedMessageCount === 0 (isRpcSessionSettled, modes/rpc/rpc-session-settle.ts), and agent_end is rewritten to isTerminal:false while agent.hasQueuedMessages() (session/agent-session.ts), so a steer accepted before settle is read in the same turn and accepted input is never left unread.',
32
- },
33
- // D1 (hearsay-tools/cezarion#2279), checked against the installed CLI on 2026-10-30.
34
- D1: {
35
- kind: 'capability-absent',
36
- reason: 'OMP 18.13.1 has no cross-session tool in its default set; its irc tool is an in-process bus that reaches only agents inside the same OMP process.',
37
- },
38
- // D3 (hearsay-tools/cezarion#1994), checked against the installed CLI on 2026-10-27.
39
- D3: {
40
- kind: 'capability-absent',
41
- reason: 'OMP 18.13.1 get_state.dumpTools default set holds no messaging tool; vibe_* and irc are opt-in in the user\'s own config.',
42
- },
43
- },
44
17
  };
45
18
  //# sourceMappingURL=mock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/omp/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAE1I,0FAA0F;AAC1F,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC1F,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,kBAAkB;IAC1B,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,wBAAwB;QAC3B,GAAG,6BAA6B;QAChC,cAAc,EAAE,mBAAmB;QACnC,cAAc,EAAE,oBAAoB;QACpC,sBAAsB,EAAE,2BAA2B;QACnD,QAAQ,EAAE,eAAe;QACzB,qBAAqB,EAAE,0BAA0B;KAClD;IACD,iEAAiE;IACjE,gBAAgB,EAAE;QAChB,EAAE,EAAE;YACF,IAAI,EAAE,0BAA0B;YAChC,MAAM,EAAE,mOAAmO;SAC5O;QACD,+FAA+F;QAC/F,uDAAuD;QACvD,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,mTAAmT;SAC5T;QACD,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,uUAAuU;SAChV;QACD,qFAAqF;QACrF,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,mJAAmJ;SAC5J;QACD,qFAAqF;QACrF,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,2HAA2H;SACpI;KACF;CAC4B,CAAC"}
1
+ {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/omp/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAE1I,0FAA0F;AAC1F,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC1F,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,kBAAkB;IAC1B,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,wBAAwB;QAC3B,GAAG,6BAA6B;QAChC,cAAc,EAAE,mBAAmB;QACnC,cAAc,EAAE,oBAAoB;QACpC,sBAAsB,EAAE,2BAA2B;QACnD,QAAQ,EAAE,eAAe;QACzB,qBAAqB,EAAE,0BAA0B;KAClD;CAC4B,CAAC"}
@@ -9,8 +9,4 @@ export declare const OPENCODE_CLI: {
9
9
  readonly site: 'https://opencode.ai';
10
10
  readonly label: 'OpenCode';
11
11
  };
12
- readonly openTarget: {
13
- readonly label: 'OpenCode';
14
- readonly icon: 'opencode';
15
- };
16
12
  };
@@ -3,6 +3,5 @@ export const OPENCODE_CLI = {
3
3
  terminalExecutable: { kind: 'path-name', name: 'opencode' },
4
4
  resumeArgs: id => `--session ${id}`,
5
5
  installSource: { site: 'https://opencode.ai', label: 'OpenCode' },
6
- openTarget: { label: 'OpenCode', icon: 'opencode' },
7
6
  };
8
7
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/opencode/cli.ts"],"names":[],"mappings":"AAEA,0HAA0H;AAC1H,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE;IAC3D,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE;IACnC,aAAa,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,UAAU,EAAE;IACjE,UAAU,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE;CACvB,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/opencode/cli.ts"],"names":[],"mappings":"AAEA,0HAA0H;AAC1H,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE;IAC3D,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE;IACnC,aAAa,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,UAAU,EAAE;CACrC,CAAC"}
@@ -72,18 +72,4 @@ export declare const OPENCODE_MOCK: {
72
72
  readonly subagent: 'mock:subagent';
73
73
  readonly 'subagent-after-park': 'mock:subagent-after-park';
74
74
  };
75
- readonly parityExemptions: {
76
- readonly P9: {
77
- readonly kind: 'scenario-unconstructible';
78
- readonly reason: 'OpenCode sends no MCP-specific approval request: an ask before any tool call arrives as an ordinary permission.asked from a rule the user wrote, which P1 routes to the cockpit card (hearsay-tools/cezarion#1266).';
79
- };
80
- readonly U20h: {
81
- readonly kind: 'capability-absent';
82
- readonly reason: 'OpenCode runs one prompt per turn: a human prompt waits for the busy turn to go idle, and a refusal acknowledged without a turn never goes idle, so the human message the cell sends after the bound is never posted.';
83
- };
84
- readonly D3: {
85
- readonly kind: 'capability-absent';
86
- readonly reason: 'OpenCode 1.19.4 has no messaging tool and no inbound channel. Its task tool resumes any session by task_id with no parent check, and the task permission pattern matches only subagent_type, so no session rule blocks a foreign task_id while subagents keep working. Only the shell finds another session\'s ID, and the shell reaches that session directly (opencode run --session); the same-user shell is outside hard isolation.';
87
- };
88
- };
89
75
  };
@@ -29,22 +29,5 @@ export const OPENCODE_MOCK = {
29
29
  subagent: 'mock:subagent',
30
30
  'subagent-after-park': 'mock:subagent-after-park',
31
31
  },
32
- // The parity cells this wire cannot carry (`PARITY_EXEMPTIONS`).
33
- parityExemptions: {
34
- P9: {
35
- kind: 'scenario-unconstructible',
36
- reason: 'OpenCode sends no MCP-specific approval request: an ask before any tool call arrives as an ordinary permission.asked from a rule the user wrote, which P1 routes to the cockpit card (hearsay-tools/cezarion#1266).',
37
- },
38
- // U20h (hearsay-tools/cezarion#1301): a refusal the harness acknowledges and never answers.
39
- U20h: {
40
- kind: 'capability-absent',
41
- reason: 'OpenCode runs one prompt per turn: a human prompt waits for the busy turn to go idle, and a refusal acknowledged without a turn never goes idle, so the human message the cell sends after the bound is never posted.',
42
- },
43
- // D3 (hearsay-tools/cezarion#1994), checked against the installed CLI on 2026-10-27.
44
- D3: {
45
- kind: 'capability-absent',
46
- reason: 'OpenCode 1.19.4 has no messaging tool and no inbound channel. Its task tool resumes any session by task_id with no parent check, and the task permission pattern matches only subagent_type, so no session rule blocks a foreign task_id while subagents keep working. Only the shell finds another session\'s ID, and the shell reaches that session directly (opencode run --session); the same-user shell is outside hard isolation.',
47
- },
48
- },
49
32
  };
50
33
  //# sourceMappingURL=mock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/opencode/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,+FAA+F;AAC/F,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC/F,MAAM,EAAE,kBAAkB;IAC1B,MAAM,EAAE,yBAAyB;IACjC,iBAAiB,EAAE;QACjB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,uCAAuC,EAAE;QACjE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qCAAqC,EAAE;KACpE;IACD,qBAAqB,EAAE,uCAAuC;IAC9D,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,6BAA6B;QAChC,GAAG,8BAA8B;QACjC,oBAAoB,EAAE,yBAAyB;QAC/C,sBAAsB,EAAE,2BAA2B;QACnD,oBAAoB,EAAE,2BAA2B;QACjD,qBAAqB,EAAE,0BAA0B;QACjD,iBAAiB,EAAE,sBAAsB;QACzC,eAAe,EAAE,oCAAoC;QACrD,mFAAmF;QACnF,kBAAkB,EAAE,oBAAoB;QACxC,uBAAuB,EAAE,+BAA+B;QACxD,sBAAsB,EAAE,2BAA2B;QACnD,GAAG,EAAE,UAAU;QACf,YAAY,EAAE,iCAAiC;QAC/C,gBAAgB,EAAE,qBAAqB;QACvC,QAAQ,EAAE,eAAe;QACzB,qBAAqB,EAAE,0BAA0B;KAClD;IACD,iEAAiE;IACjE,gBAAgB,EAAE;QAChB,EAAE,EAAE;YACF,IAAI,EAAE,0BAA0B;YAChC,MAAM,EAAE,qNAAqN;SAC9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e;QACzB,qBAAqB,EAAE,0BAA0B;KAClD;CAC4B,CAAC"}
@@ -6,8 +6,4 @@ export declare const PI_CLI: {
6
6
  };
7
7
  readonly resumeArgs: (id: string) => string;
8
8
  readonly installSource: null;
9
- readonly openTarget: {
10
- readonly label: 'pi CLI';
11
- readonly icon: 'pi';
12
- };
13
9
  };
@@ -3,6 +3,5 @@ export const PI_CLI = {
3
3
  terminalExecutable: { kind: 'path-name', name: 'pi' },
4
4
  resumeArgs: id => `--session ${id}`,
5
5
  installSource: null,
6
- openTarget: { label: 'pi CLI', icon: 'pi' },
7
6
  };
8
7
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/pi/cli.ts"],"names":[],"mappings":"AAEA,oHAAoH;AACpH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE;IACrD,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE;IACnC,aAAa,EAAE,IAAI;IACnB,UAAU,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE;CACf,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/runners/pi/cli.ts"],"names":[],"mappings":"AAEA,oHAAoH;AACpH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE;IACrD,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE;IACnC,aAAa,EAAE,IAAI;CACS,CAAC"}
@@ -50,26 +50,4 @@ export declare const PI_MOCK: {
50
50
  readonly 'steer-late': 'mock:steer-late';
51
51
  readonly 'provider-unavailable': 'mock:provider-unavailable';
52
52
  };
53
- readonly parityExemptions: {
54
- readonly P9: {
55
- readonly kind: 'scenario-unconstructible';
56
- readonly reason: 'Pi\'s RPC wire carries no tool approval request for Squawk to answer; Squawk\'s tools reach Pi as an --extension admitted through --tools (R35), not as an MCP server.';
57
- };
58
- readonly A9: {
59
- readonly kind: 'capability-absent';
60
- readonly reason: 'Pi RPC asks through cezar_ask; its wire emits no native mid-turn ask.requested (A3/A4 cover the cezar_ask policy).';
61
- };
62
- readonly I2: {
63
- readonly kind: 'capability-absent';
64
- readonly reason: 'pi 0.87.0 delivers an acknowledged steer in the running turn or runs it as the next prompt (rpc.md steer; #505 repro), so accepted input is never left unread.';
65
- };
66
- readonly D1: {
67
- readonly kind: 'capability-absent';
68
- readonly reason: 'pi 1.4.0 has no built-in cross-session tool; an extension may add one, and its name cannot be discovered as messaging.';
69
- };
70
- readonly D3: {
71
- readonly kind: 'capability-absent';
72
- readonly reason: 'pi 1.4.0 has no built-in messaging tool; an extension may add one, and its name cannot be discovered as messaging.';
73
- };
74
- };
75
53
  };
@@ -11,32 +11,5 @@ export const PI_MOCK = {
11
11
  'provider-unavailable': 'mock:provider-unavailable',
12
12
  // No `subagent`: see the S9 and R12 entries in PARITY_EXEMPTIONS.
13
13
  },
14
- // The parity cells this wire cannot carry (`PARITY_EXEMPTIONS`).
15
- parityExemptions: {
16
- P9: {
17
- kind: 'scenario-unconstructible',
18
- reason: 'Pi\'s RPC wire carries no tool approval request for Squawk to answer; Squawk\'s tools reach Pi as an --extension admitted through --tools (R35), not as an MCP server.',
19
- },
20
- // A9: a native mid-turn ask.requested exists only where the declared native ask is answerable;
21
- // the parity kit checks this reason against the facts.
22
- A9: {
23
- kind: 'capability-absent',
24
- reason: 'Pi RPC asks through cezar_ask; its wire emits no native mid-turn ask.requested (A3/A4 cover the cezar_ask policy).',
25
- },
26
- I2: {
27
- kind: 'capability-absent',
28
- reason: 'pi 0.87.0 delivers an acknowledged steer in the running turn or runs it as the next prompt (rpc.md steer; #505 repro), so accepted input is never left unread.',
29
- },
30
- // D1 (hearsay-tools/cezarion#2279), checked against the installed CLI on 2026-10-30.
31
- D1: {
32
- kind: 'capability-absent',
33
- reason: 'pi 1.4.0 has no built-in cross-session tool; an extension may add one, and its name cannot be discovered as messaging.',
34
- },
35
- // D3 (hearsay-tools/cezarion#1994), checked against the installed CLI on 2026-10-27.
36
- D3: {
37
- kind: 'capability-absent',
38
- reason: 'pi 1.4.0 has no built-in messaging tool; an extension may add one, and its name cannot be discovered as messaging.',
39
- },
40
- },
41
14
  };
42
15
  //# sourceMappingURL=mock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/pi/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEpH,yFAAyF;AACzF,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC1F,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,iBAAiB;IACzB,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,wBAAwB;QAC3B,GAAG,6BAA6B;QAChC,sBAAsB,EAAE,2BAA2B;QACnD,kEAAkE;KACnE;IACD,iEAAiE;IACjE,gBAAgB,EAAE;QAChB,EAAE,EAAE;YACF,IAAI,EAAE,0BAA0B;YAChC,MAAM,EAAE,wKAAwK;SACjL;QACD,+FAA+F;QAC/F,uDAAuD;QACvD,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,oHAAoH;SAC7H;QACD,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,gKAAgK;SACzK;QACD,qFAAqF;QACrF,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,wHAAwH;SACjI;QACD,qFAAqF;QACrF,EAAE,EAAE;YACF,IAAI,EAAE,mBAAmB;YACzB,MAAM,EAAE,oHAAoH;SAC7H;KACF;CAC4B,CAAC"}
1
+ {"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../src/runners/pi/mock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEpH,yFAAyF;AACzF,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC1F,MAAM,EAAE,YAAY;IACpB,MAAM,EAAE,iBAAiB;IACzB,SAAS,EAAE;QACT,GAAG,qBAAqB;QACxB,GAAG,wBAAwB;QAC3B,GAAG,6BAA6B;QAChC,sBAAsB,EAAE,2BAA2B;QACnD,kEAAkE;KACnE;CAC4B,CAAC"}
@@ -30,10 +30,7 @@ export interface OpenTarget {
30
30
  *
31
31
  * The optional environment arguments keep Windows/WSL suffix behavior testable on any host. */
32
32
  export declare function resolveOnPath(bin: string, platform?: NodeJS.Platform, wsl?: boolean, searchPath?: string): string | null;
33
- /** The runner behind a `cli:<runner>` open target, or null when the id isn't a CLI handoff. Every
34
- * registered runner's CLI is a handoff target (#cli-handoff): selecting one opens a terminal that
35
- * resumes THIS run's session when the runner matches, or launches a fresh CLI in the worktree
36
- * otherwise. The actual command is built server-side (needs the run's session). */
33
+ /** The runner behind a `cli:<runner>` open target, or null when the id isn't a CLI handoff. */
37
34
  export declare function agentCliRunner(targetId: string): string | null;
38
35
  /** The open targets available on this machine: the file manager, a terminal, every detected
39
36
  * editor, and every installed coding-agent CLI. Order is stable so the menu never reshuffles. */
@@ -1,4 +1,4 @@
1
- import { registeredRunners } from '../core/runner-registry.js';
1
+ import { productEnv } from '../core/product-env.js';
2
2
  import { accessSync, constants, existsSync } from 'node:fs';
3
3
  import { homedir } from 'node:os';
4
4
  import { join } from 'node:path';
@@ -74,13 +74,20 @@ function editorAvailable(editor) {
74
74
  return true;
75
75
  return false;
76
76
  }
77
- /** The runner behind a `cli:<runner>` open target, or null when the id isn't a CLI handoff. Every
78
- * registered runner's CLI is a handoff target (#cli-handoff): selecting one opens a terminal that
79
- * resumes THIS run's session when the runner matches, or launches a fresh CLI in the worktree
80
- * otherwise. The actual command is built server-side (needs the run's session). */
77
+ /** Coding-agent CLIs a session can be handed off to (#cli-handoff). Selecting one opens a
78
+ * terminal that resumes THIS run's session when the runner matches, or launches a fresh CLI in
79
+ * the worktree otherwise. The actual command is built server-side (needs the run's session). */
80
+ const AGENT_CLIS = [
81
+ { runner: 'claude', label: 'Claude CLI', icon: 'claude', bin: 'claude', envBin: productEnv('CLAUDE_BIN') },
82
+ { runner: 'codex', label: 'Codex CLI', icon: 'codex', bin: 'codex', envBin: productEnv('CODEX_BIN') },
83
+ { runner: 'opencode', label: 'OpenCode', icon: 'opencode', bin: 'opencode', envBin: productEnv('OPENCODE_BIN') },
84
+ { runner: 'pi', label: 'pi CLI', icon: 'pi', bin: 'pi', envBin: productEnv('PI_BIN') },
85
+ { runner: 'omp', label: 'OMP CLI', icon: 'omp', bin: 'omp', envBin: productEnv('OMP_BIN') },
86
+ ];
87
+ /** The runner behind a `cli:<runner>` open target, or null when the id isn't a CLI handoff. */
81
88
  export function agentCliRunner(targetId) {
82
- const match = registeredRunners().find((definition) => `cli:${definition.id}` === targetId);
83
- return match ? match.id : null;
89
+ const match = AGENT_CLIS.find((c) => `cli:${c.runner}` === targetId);
90
+ return match ? match.runner : null;
84
91
  }
85
92
  /** The open targets available on this machine: the file manager, a terminal, every detected
86
93
  * editor, and every installed coding-agent CLI. Order is stable so the menu never reshuffles. */
@@ -93,11 +100,9 @@ export function detectOpenTargets() {
93
100
  if (editorAvailable(editor))
94
101
  targets.push({ id: editor.id, label: editor.label, icon: editor.icon });
95
102
  }
96
- // Registration order: the built-in runners register in display order.
97
- for (const { id, cli, detection } of registeredRunners()) {
98
- const override = detection.binOverride();
99
- if ((override && existsSync(override)) || onPath(detection.binary)) {
100
- targets.push({ id: `cli:${id}`, label: cli.openTarget.label, icon: cli.openTarget.icon });
103
+ for (const cli of AGENT_CLIS) {
104
+ if ((cli.envBin && existsSync(cli.envBin)) || onPath(cli.bin)) {
105
+ targets.push({ id: `cli:${cli.runner}`, label: cli.label, icon: cli.icon });
101
106
  }
102
107
  }
103
108
  return targets;