@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
|
@@ -1905,6 +1905,14 @@ var orcaWorkerRequestSchema = z4.object({
|
|
|
1905
1905
|
message: "ingest-report requires an exact message id; other actions do not accept one.",
|
|
1906
1906
|
path: ["messageId"]
|
|
1907
1907
|
});
|
|
1908
|
+
var orcaLeadTerminalSchema = z4.object({
|
|
1909
|
+
/** Runtime that issued the terminal handle. */
|
|
1910
|
+
runtimeId: identifier,
|
|
1911
|
+
/** Handle for Orca terminal read/show/interrupt supervision. */
|
|
1912
|
+
terminalHandle: identifier,
|
|
1913
|
+
/** Shell PID, preserved by exec into the guarded provider. */
|
|
1914
|
+
pid: z4.number().int().positive()
|
|
1915
|
+
});
|
|
1908
1916
|
var effectSchema = z4.object({
|
|
1909
1917
|
kind: z4.string(),
|
|
1910
1918
|
role: z4.string().optional(),
|
|
@@ -1967,10 +1975,22 @@ var orcaReplySchema = z4.object({
|
|
|
1967
1975
|
status: z4.string().optional(),
|
|
1968
1976
|
terminal: z4.object({
|
|
1969
1977
|
handle: identifier,
|
|
1970
|
-
connected: z4.boolean(),
|
|
1971
|
-
writable: z4.boolean(),
|
|
1972
|
-
executionHostId: identifier
|
|
1978
|
+
connected: z4.boolean().optional(),
|
|
1979
|
+
writable: z4.boolean().optional(),
|
|
1980
|
+
executionHostId: identifier,
|
|
1981
|
+
worktreePath: identifier.optional(),
|
|
1982
|
+
processId: z4.number().int().positive().optional(),
|
|
1983
|
+
hostPlatform: z4.string().optional(),
|
|
1984
|
+
surface: z4.string().optional(),
|
|
1985
|
+
tabId: identifier.optional()
|
|
1986
|
+
}).optional(),
|
|
1987
|
+
focus: z4.object({
|
|
1988
|
+
handle: identifier,
|
|
1989
|
+
tabId: identifier,
|
|
1990
|
+
worktreeId: identifier,
|
|
1991
|
+
navigated: z4.boolean()
|
|
1973
1992
|
}).optional(),
|
|
1993
|
+
close: z4.object({ handle: identifier, ptyKilled: z4.boolean() }).optional(),
|
|
1974
1994
|
runtime: z4.object({
|
|
1975
1995
|
runtimeId: identifier,
|
|
1976
1996
|
reachable: z4.boolean(),
|