@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
|
@@ -1028,6 +1028,14 @@ var orcaWorkerRequestSchema = z4.object({
|
|
|
1028
1028
|
message: "ingest-report requires an exact message id; other actions do not accept one.",
|
|
1029
1029
|
path: ["messageId"]
|
|
1030
1030
|
});
|
|
1031
|
+
var orcaLeadTerminalSchema = z4.object({
|
|
1032
|
+
/** Runtime that issued the terminal handle. */
|
|
1033
|
+
runtimeId: identifier,
|
|
1034
|
+
/** Handle for Orca terminal read/show/interrupt supervision. */
|
|
1035
|
+
terminalHandle: identifier,
|
|
1036
|
+
/** Shell PID, preserved by exec into the guarded provider. */
|
|
1037
|
+
pid: z4.number().int().positive()
|
|
1038
|
+
});
|
|
1031
1039
|
var effectSchema = z4.object({
|
|
1032
1040
|
kind: z4.string(),
|
|
1033
1041
|
role: z4.string().optional(),
|
|
@@ -1090,10 +1098,22 @@ var orcaReplySchema = z4.object({
|
|
|
1090
1098
|
status: z4.string().optional(),
|
|
1091
1099
|
terminal: z4.object({
|
|
1092
1100
|
handle: identifier,
|
|
1093
|
-
connected: z4.boolean(),
|
|
1094
|
-
writable: z4.boolean(),
|
|
1095
|
-
executionHostId: identifier
|
|
1101
|
+
connected: z4.boolean().optional(),
|
|
1102
|
+
writable: z4.boolean().optional(),
|
|
1103
|
+
executionHostId: identifier,
|
|
1104
|
+
worktreePath: identifier.optional(),
|
|
1105
|
+
processId: z4.number().int().positive().optional(),
|
|
1106
|
+
hostPlatform: z4.string().optional(),
|
|
1107
|
+
surface: z4.string().optional(),
|
|
1108
|
+
tabId: identifier.optional()
|
|
1109
|
+
}).optional(),
|
|
1110
|
+
focus: z4.object({
|
|
1111
|
+
handle: identifier,
|
|
1112
|
+
tabId: identifier,
|
|
1113
|
+
worktreeId: identifier,
|
|
1114
|
+
navigated: z4.boolean()
|
|
1096
1115
|
}).optional(),
|
|
1116
|
+
close: z4.object({ handle: identifier, ptyKilled: z4.boolean() }).optional(),
|
|
1097
1117
|
runtime: z4.object({
|
|
1098
1118
|
runtimeId: identifier,
|
|
1099
1119
|
reachable: z4.boolean(),
|