@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
|
@@ -1525,6 +1525,14 @@ var orcaWorkerRequestSchema = z4.object({
|
|
|
1525
1525
|
message: "ingest-report requires an exact message id; other actions do not accept one.",
|
|
1526
1526
|
path: ["messageId"]
|
|
1527
1527
|
});
|
|
1528
|
+
var orcaLeadTerminalSchema = z4.object({
|
|
1529
|
+
/** Runtime that issued the terminal handle. */
|
|
1530
|
+
runtimeId: identifier,
|
|
1531
|
+
/** Handle for Orca terminal read/show/interrupt supervision. */
|
|
1532
|
+
terminalHandle: identifier,
|
|
1533
|
+
/** Shell PID, preserved by exec into the guarded provider. */
|
|
1534
|
+
pid: z4.number().int().positive()
|
|
1535
|
+
});
|
|
1528
1536
|
var effectSchema = z4.object({
|
|
1529
1537
|
kind: z4.string(),
|
|
1530
1538
|
role: z4.string().optional(),
|
|
@@ -1587,10 +1595,22 @@ var orcaReplySchema = z4.object({
|
|
|
1587
1595
|
status: z4.string().optional(),
|
|
1588
1596
|
terminal: z4.object({
|
|
1589
1597
|
handle: identifier,
|
|
1590
|
-
connected: z4.boolean(),
|
|
1591
|
-
writable: z4.boolean(),
|
|
1592
|
-
executionHostId: identifier
|
|
1598
|
+
connected: z4.boolean().optional(),
|
|
1599
|
+
writable: z4.boolean().optional(),
|
|
1600
|
+
executionHostId: identifier,
|
|
1601
|
+
worktreePath: identifier.optional(),
|
|
1602
|
+
processId: z4.number().int().positive().optional(),
|
|
1603
|
+
hostPlatform: z4.string().optional(),
|
|
1604
|
+
surface: z4.string().optional(),
|
|
1605
|
+
tabId: identifier.optional()
|
|
1606
|
+
}).optional(),
|
|
1607
|
+
focus: z4.object({
|
|
1608
|
+
handle: identifier,
|
|
1609
|
+
tabId: identifier,
|
|
1610
|
+
worktreeId: identifier,
|
|
1611
|
+
navigated: z4.boolean()
|
|
1593
1612
|
}).optional(),
|
|
1613
|
+
close: z4.object({ handle: identifier, ptyKilled: z4.boolean() }).optional(),
|
|
1594
1614
|
runtime: z4.object({
|
|
1595
1615
|
runtimeId: identifier,
|
|
1596
1616
|
reachable: z4.boolean(),
|