@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
|
@@ -2028,6 +2028,14 @@ var orcaWorkerRequestSchema = z4.object({
|
|
|
2028
2028
|
message: "ingest-report requires an exact message id; other actions do not accept one.",
|
|
2029
2029
|
path: ["messageId"]
|
|
2030
2030
|
});
|
|
2031
|
+
var orcaLeadTerminalSchema = z4.object({
|
|
2032
|
+
/** Runtime that issued the terminal handle. */
|
|
2033
|
+
runtimeId: identifier,
|
|
2034
|
+
/** Handle for Orca terminal read/show/interrupt supervision. */
|
|
2035
|
+
terminalHandle: identifier,
|
|
2036
|
+
/** Shell PID, preserved by exec into the guarded provider. */
|
|
2037
|
+
pid: z4.number().int().positive()
|
|
2038
|
+
});
|
|
2031
2039
|
var effectSchema = z4.object({
|
|
2032
2040
|
kind: z4.string(),
|
|
2033
2041
|
role: z4.string().optional(),
|
|
@@ -2090,10 +2098,22 @@ var orcaReplySchema = z4.object({
|
|
|
2090
2098
|
status: z4.string().optional(),
|
|
2091
2099
|
terminal: z4.object({
|
|
2092
2100
|
handle: identifier,
|
|
2093
|
-
connected: z4.boolean(),
|
|
2094
|
-
writable: z4.boolean(),
|
|
2095
|
-
executionHostId: identifier
|
|
2101
|
+
connected: z4.boolean().optional(),
|
|
2102
|
+
writable: z4.boolean().optional(),
|
|
2103
|
+
executionHostId: identifier,
|
|
2104
|
+
worktreePath: identifier.optional(),
|
|
2105
|
+
processId: z4.number().int().positive().optional(),
|
|
2106
|
+
hostPlatform: z4.string().optional(),
|
|
2107
|
+
surface: z4.string().optional(),
|
|
2108
|
+
tabId: identifier.optional()
|
|
2109
|
+
}).optional(),
|
|
2110
|
+
focus: z4.object({
|
|
2111
|
+
handle: identifier,
|
|
2112
|
+
tabId: identifier,
|
|
2113
|
+
worktreeId: identifier,
|
|
2114
|
+
navigated: z4.boolean()
|
|
2096
2115
|
}).optional(),
|
|
2116
|
+
close: z4.object({ handle: identifier, ptyKilled: z4.boolean() }).optional(),
|
|
2097
2117
|
runtime: z4.object({
|
|
2098
2118
|
runtimeId: identifier,
|
|
2099
2119
|
reachable: z4.boolean(),
|