@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
|
@@ -1605,6 +1605,14 @@ var orcaWorkerRequestSchema = z4.object({
|
|
|
1605
1605
|
message: "ingest-report requires an exact message id; other actions do not accept one.",
|
|
1606
1606
|
path: ["messageId"]
|
|
1607
1607
|
});
|
|
1608
|
+
var orcaLeadTerminalSchema = z4.object({
|
|
1609
|
+
/** Runtime that issued the terminal handle. */
|
|
1610
|
+
runtimeId: identifier,
|
|
1611
|
+
/** Handle for Orca terminal read/show/interrupt supervision. */
|
|
1612
|
+
terminalHandle: identifier,
|
|
1613
|
+
/** Shell PID, preserved by exec into the guarded provider. */
|
|
1614
|
+
pid: z4.number().int().positive()
|
|
1615
|
+
});
|
|
1608
1616
|
var effectSchema = z4.object({
|
|
1609
1617
|
kind: z4.string(),
|
|
1610
1618
|
role: z4.string().optional(),
|
|
@@ -1667,10 +1675,22 @@ var orcaReplySchema = z4.object({
|
|
|
1667
1675
|
status: z4.string().optional(),
|
|
1668
1676
|
terminal: z4.object({
|
|
1669
1677
|
handle: identifier,
|
|
1670
|
-
connected: z4.boolean(),
|
|
1671
|
-
writable: z4.boolean(),
|
|
1672
|
-
executionHostId: identifier
|
|
1678
|
+
connected: z4.boolean().optional(),
|
|
1679
|
+
writable: z4.boolean().optional(),
|
|
1680
|
+
executionHostId: identifier,
|
|
1681
|
+
worktreePath: identifier.optional(),
|
|
1682
|
+
processId: z4.number().int().positive().optional(),
|
|
1683
|
+
hostPlatform: z4.string().optional(),
|
|
1684
|
+
surface: z4.string().optional(),
|
|
1685
|
+
tabId: identifier.optional()
|
|
1686
|
+
}).optional(),
|
|
1687
|
+
focus: z4.object({
|
|
1688
|
+
handle: identifier,
|
|
1689
|
+
tabId: identifier,
|
|
1690
|
+
worktreeId: identifier,
|
|
1691
|
+
navigated: z4.boolean()
|
|
1673
1692
|
}).optional(),
|
|
1693
|
+
close: z4.object({ handle: identifier, ptyKilled: z4.boolean() }).optional(),
|
|
1674
1694
|
runtime: z4.object({
|
|
1675
1695
|
runtimeId: identifier,
|
|
1676
1696
|
reachable: z4.boolean(),
|