@cleocode/adapters 2026.11.2 → 2026.11.3-canary.2
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.
- package/dist/.source-stamp.json +1 -1
- package/dist/index.js +138 -35
- package/dist/index.js.map +3 -3
- package/dist/orca-execution.d.ts +14 -3
- package/dist/orca-execution.d.ts.map +1 -1
- package/dist/orca-execution.js +219 -4
- package/dist/orca-execution.js.map +1 -1
- package/dist/providers/claude-code/index.js +107 -11
- package/dist/providers/claude-code/index.js.map +3 -3
- package/dist/providers/claude-code/spawn.d.ts.map +1 -1
- package/dist/providers/claude-sdk/index.js +23 -3
- package/dist/providers/claude-sdk/index.js.map +1 -1
- package/dist/providers/codex/index.js +23 -3
- package/dist/providers/codex/index.js.map +1 -1
- package/dist/providers/gemini-cli/index.js +23 -3
- package/dist/providers/gemini-cli/index.js.map +1 -1
- package/dist/providers/kimi/index.js +23 -3
- package/dist/providers/kimi/index.js.map +1 -1
- package/dist/providers/openai-sdk/index.js +23 -3
- package/dist/providers/openai-sdk/index.js.map +1 -1
- package/dist/providers/opencode/index.js +23 -3
- package/dist/providers/opencode/index.js.map +1 -1
- package/dist/providers/pi/index.js +23 -3
- package/dist/providers/pi/index.js.map +1 -1
- package/package.json +6 -6
- package/src/__tests__/orca-execution-fixture.ts +4 -0
- package/src/__tests__/orca-execution.test.ts +309 -1
- package/src/orca-execution.ts +298 -4
- package/src/providers/claude-code/__tests__/lead-mcp.test.ts +123 -0
- package/src/providers/claude-code/spawn.ts +48 -3
|
@@ -26584,6 +26584,14 @@ var orcaWorkerRequestSchema = z4.object({
|
|
|
26584
26584
|
message: "ingest-report requires an exact message id; other actions do not accept one.",
|
|
26585
26585
|
path: ["messageId"]
|
|
26586
26586
|
});
|
|
26587
|
+
var orcaLeadTerminalSchema = z4.object({
|
|
26588
|
+
/** Runtime that issued the terminal handle. */
|
|
26589
|
+
runtimeId: identifier,
|
|
26590
|
+
/** Handle for Orca terminal read/show/interrupt supervision. */
|
|
26591
|
+
terminalHandle: identifier,
|
|
26592
|
+
/** Shell PID, preserved by exec into the guarded provider. */
|
|
26593
|
+
pid: z4.number().int().positive()
|
|
26594
|
+
});
|
|
26587
26595
|
var effectSchema = z4.object({
|
|
26588
26596
|
kind: z4.string(),
|
|
26589
26597
|
role: z4.string().optional(),
|
|
@@ -26646,10 +26654,22 @@ var orcaReplySchema = z4.object({
|
|
|
26646
26654
|
status: z4.string().optional(),
|
|
26647
26655
|
terminal: z4.object({
|
|
26648
26656
|
handle: identifier,
|
|
26649
|
-
connected: z4.boolean(),
|
|
26650
|
-
writable: z4.boolean(),
|
|
26651
|
-
executionHostId: identifier
|
|
26657
|
+
connected: z4.boolean().optional(),
|
|
26658
|
+
writable: z4.boolean().optional(),
|
|
26659
|
+
executionHostId: identifier,
|
|
26660
|
+
worktreePath: identifier.optional(),
|
|
26661
|
+
processId: z4.number().int().positive().optional(),
|
|
26662
|
+
hostPlatform: z4.string().optional(),
|
|
26663
|
+
surface: z4.string().optional(),
|
|
26664
|
+
tabId: identifier.optional()
|
|
26665
|
+
}).optional(),
|
|
26666
|
+
focus: z4.object({
|
|
26667
|
+
handle: identifier,
|
|
26668
|
+
tabId: identifier,
|
|
26669
|
+
worktreeId: identifier,
|
|
26670
|
+
navigated: z4.boolean()
|
|
26652
26671
|
}).optional(),
|
|
26672
|
+
close: z4.object({ handle: identifier, ptyKilled: z4.boolean() }).optional(),
|
|
26653
26673
|
runtime: z4.object({
|
|
26654
26674
|
runtimeId: identifier,
|
|
26655
26675
|
reachable: z4.boolean(),
|