@zvada/agent-server 0.3.24 → 0.3.26
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/CHANGELOG.md +110 -0
- package/README.md +3 -0
- package/dist/client/client.js +93 -34
- package/dist/core/agents/acp/acp-agent.js +91 -14
- package/dist/core/agents/acp/mappings.js +5 -1
- package/dist/core/agents/claude-code/approvals.js +2 -1
- package/dist/core/agents/claude-code/claude-agent.js +12 -2
- package/dist/core/agents/claude-code/mcp.js +9 -1
- package/dist/core/agents/claude-code/models.js +16 -10
- package/dist/core/agents/claude-code/options.js +23 -2
- package/dist/core/agents/claude-code/session.js +21 -1
- package/dist/core/agents/claude-code/tools.js +9 -4
- package/dist/core/agents/claude-code/turn.js +2 -0
- package/dist/core/agents/codex-app-server/adapter.js +2 -0
- package/dist/core/agents/codex-app-server/client.js +8 -5
- package/dist/core/agents/codex-app-server/codex-agent.js +35 -2
- package/dist/core/agents/codex-app-server/effort.js +13 -6
- package/dist/core/agents/codex-app-server/mcp.js +35 -18
- package/dist/core/agents/codex-app-server/models.js +10 -10
- package/dist/core/agents/codex-app-server/options.js +11 -2
- package/dist/core/agents/codex-app-server/session.js +11 -4
- package/dist/core/agents/codex-app-server/thread-settings.js +30 -11
- package/dist/core/agents/host-tools.js +493 -0
- package/dist/core/agents/mcp-config.js +6 -2
- package/dist/core/agents/scripted/scripted-agent.js +11 -4
- package/dist/core/agents/scripted/steps.js +5 -1
- package/dist/core/agents/session-agent.js +70 -2
- package/dist/core/agents/thinking-levels.js +8 -5
- package/dist/core/index.js +1 -0
- package/dist/core/presets.js +12 -2
- package/dist/core/processes/identity.js +1 -0
- package/dist/core/processes/lifeline.js +13 -1
- package/dist/core/processes/process-table.js +1 -0
- package/dist/core/provision/extract.js +1 -0
- package/dist/core/provision/pins.js +7 -16
- package/dist/core/provision/releases.js +25 -25
- package/dist/core/proxy/loopback.js +22 -4
- package/dist/core/runtime/agent-runtime.js +6 -3
- package/dist/core/runtime/turn.js +20 -10
- package/dist/protocol/config.js +21 -1
- package/dist/protocol/credentials.js +2 -1
- package/dist/protocol/errors.js +12 -3
- package/dist/protocol/model-catalog.js +58 -18
- package/dist/protocol/models.js +6 -27
- package/dist/protocol/thinking.js +22 -9
- package/dist/protocol/wire-api.js +2 -2
- package/dist/server/bin.js +6 -4
- package/dist/server/routes.js +3 -2
- package/dist/types/client/client.d.ts +6 -1
- package/dist/types/client/client.d.ts.map +1 -1
- package/dist/types/core/agents/acp/acp-agent.d.ts +15 -0
- package/dist/types/core/agents/acp/acp-agent.d.ts.map +1 -1
- package/dist/types/core/agents/acp/mappings.d.ts +5 -1
- package/dist/types/core/agents/acp/mappings.d.ts.map +1 -1
- package/dist/types/core/agents/acp/requests.d.ts +2 -0
- package/dist/types/core/agents/acp/requests.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/approvals.d.ts +2 -1
- package/dist/types/core/agents/claude-code/approvals.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/claude-agent.d.ts +1 -0
- package/dist/types/core/agents/claude-code/claude-agent.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/mcp.d.ts +8 -1
- package/dist/types/core/agents/claude-code/mcp.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/models.d.ts +9 -5
- package/dist/types/core/agents/claude-code/models.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/options.d.ts +14 -1
- package/dist/types/core/agents/claude-code/options.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/session.d.ts +2 -0
- package/dist/types/core/agents/claude-code/session.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/tools.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/turn.d.ts +3 -0
- package/dist/types/core/agents/claude-code/turn.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/adapter.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/client.d.ts +2 -0
- package/dist/types/core/agents/codex-app-server/client.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/codex-agent.d.ts +11 -0
- package/dist/types/core/agents/codex-app-server/codex-agent.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/effort.d.ts +7 -7
- package/dist/types/core/agents/codex-app-server/effort.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/mcp.d.ts +11 -3
- package/dist/types/core/agents/codex-app-server/mcp.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/models.d.ts +4 -1
- package/dist/types/core/agents/codex-app-server/models.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/options.d.ts +9 -2
- package/dist/types/core/agents/codex-app-server/options.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/requests.d.ts +2 -0
- package/dist/types/core/agents/codex-app-server/requests.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/session.d.ts +6 -3
- package/dist/types/core/agents/codex-app-server/session.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/thread-settings.d.ts.map +1 -1
- package/dist/types/core/agents/host-tools.d.ts +162 -0
- package/dist/types/core/agents/host-tools.d.ts.map +1 -0
- package/dist/types/core/agents/mcp-config.d.ts +11 -2
- package/dist/types/core/agents/mcp-config.d.ts.map +1 -1
- package/dist/types/core/agents/scripted/scripted-agent.d.ts.map +1 -1
- package/dist/types/core/agents/scripted/steps.d.ts +1 -1
- package/dist/types/core/agents/scripted/steps.d.ts.map +1 -1
- package/dist/types/core/agents/session-agent.d.ts +2 -7
- package/dist/types/core/agents/session-agent.d.ts.map +1 -1
- package/dist/types/core/agents/thinking-levels.d.ts +7 -3
- package/dist/types/core/agents/thinking-levels.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +1 -0
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/presets.d.ts +11 -1
- package/dist/types/core/presets.d.ts.map +1 -1
- package/dist/types/core/processes/identity.d.ts.map +1 -1
- package/dist/types/core/processes/lifeline.d.ts.map +1 -1
- package/dist/types/core/processes/process-table.d.ts.map +1 -1
- package/dist/types/core/provision/extract.d.ts.map +1 -1
- package/dist/types/core/provision/pins.d.ts +5 -4
- package/dist/types/core/provision/pins.d.ts.map +1 -1
- package/dist/types/core/proxy/loopback.d.ts.map +1 -1
- package/dist/types/core/runtime/agent-runtime.d.ts +4 -1
- package/dist/types/core/runtime/agent-runtime.d.ts.map +1 -1
- package/dist/types/core/runtime/turn.d.ts +12 -7
- package/dist/types/core/runtime/turn.d.ts.map +1 -1
- package/dist/types/protocol/clis.d.ts +3 -3
- package/dist/types/protocol/config.d.ts +12 -19
- package/dist/types/protocol/config.d.ts.map +1 -1
- package/dist/types/protocol/conversation.d.ts +10 -42
- package/dist/types/protocol/conversation.d.ts.map +1 -1
- package/dist/types/protocol/credentials.d.ts +13 -1
- package/dist/types/protocol/credentials.d.ts.map +1 -1
- package/dist/types/protocol/errors.d.ts +6 -4
- package/dist/types/protocol/errors.d.ts.map +1 -1
- package/dist/types/protocol/execution.d.ts +2 -18
- package/dist/types/protocol/execution.d.ts.map +1 -1
- package/dist/types/protocol/lifecycle.d.ts +12 -76
- package/dist/types/protocol/lifecycle.d.ts.map +1 -1
- package/dist/types/protocol/model-catalog.d.ts.map +1 -1
- package/dist/types/protocol/models.d.ts +4 -42
- package/dist/types/protocol/models.d.ts.map +1 -1
- package/dist/types/protocol/thinking.d.ts +19 -19
- package/dist/types/protocol/thinking.d.ts.map +1 -1
- package/dist/types/protocol/wire-api.d.ts +32 -117
- package/dist/types/protocol/wire-api.d.ts.map +1 -1
- package/dist/types/protocol/wire.d.ts +24 -125
- package/dist/types/protocol/wire.d.ts.map +1 -1
- package/dist/types/server/routes.d.ts.map +1 -1
- package/docs/consuming.md +92 -12
- package/docs/deploy.md +8 -0
- package/docs/harnesses.md +88 -27
- package/package.json +4 -4
- package/src/client/client.ts +114 -44
- package/src/core/agents/acp/acp-agent.ts +123 -17
- package/src/core/agents/acp/mappings.ts +5 -1
- package/src/core/agents/acp/requests.ts +2 -0
- package/src/core/agents/claude-code/approvals.ts +2 -1
- package/src/core/agents/claude-code/claude-agent.ts +14 -2
- package/src/core/agents/claude-code/mcp.ts +11 -1
- package/src/core/agents/claude-code/models.ts +15 -10
- package/src/core/agents/claude-code/options.ts +37 -3
- package/src/core/agents/claude-code/session.ts +26 -1
- package/src/core/agents/claude-code/tools.ts +10 -4
- package/src/core/agents/claude-code/turn.ts +4 -0
- package/src/core/agents/codex-app-server/adapter.ts +2 -0
- package/src/core/agents/codex-app-server/client.ts +11 -5
- package/src/core/agents/codex-app-server/codex-agent.ts +45 -1
- package/src/core/agents/codex-app-server/effort.ts +15 -20
- package/src/core/agents/codex-app-server/mcp.ts +46 -23
- package/src/core/agents/codex-app-server/models.ts +10 -10
- package/src/core/agents/codex-app-server/options.ts +16 -2
- package/src/core/agents/codex-app-server/requests.ts +2 -0
- package/src/core/agents/codex-app-server/session.ts +19 -4
- package/src/core/agents/codex-app-server/thread-settings.ts +31 -11
- package/src/core/agents/host-tools.ts +649 -0
- package/src/core/agents/mcp-config.ts +15 -3
- package/src/core/agents/scripted/scripted-agent.ts +11 -3
- package/src/core/agents/scripted/steps.ts +5 -1
- package/src/core/agents/session-agent.ts +78 -2
- package/src/core/agents/thinking-levels.ts +9 -6
- package/src/core/index.ts +9 -0
- package/src/core/presets.ts +24 -3
- package/src/core/processes/identity.ts +1 -0
- package/src/core/processes/lifeline.ts +14 -1
- package/src/core/processes/process-table.ts +1 -0
- package/src/core/provision/extract.ts +1 -0
- package/src/core/provision/pins.ts +7 -16
- package/src/core/provision/releases.ts +25 -25
- package/src/core/proxy/loopback.ts +25 -4
- package/src/core/runtime/agent-runtime.ts +6 -3
- package/src/core/runtime/turn.ts +21 -9
- package/src/protocol/config.ts +22 -1
- package/src/protocol/credentials.ts +19 -5
- package/src/protocol/errors.ts +12 -3
- package/src/protocol/model-catalog.ts +58 -18
- package/src/protocol/models.ts +6 -26
- package/src/protocol/thinking.ts +27 -14
- package/src/protocol/wire-api.ts +2 -2
- package/src/server/bin.ts +6 -4
- package/src/server/routes.ts +3 -2
|
@@ -221,15 +221,7 @@ export declare const TurnStartParamsSchema: z.ZodObject<{
|
|
|
221
221
|
scripted: "scripted";
|
|
222
222
|
}>;
|
|
223
223
|
model: z.ZodOptional<z.ZodString>;
|
|
224
|
-
thinkingLevel: z.ZodOptional<z.
|
|
225
|
-
off: "off";
|
|
226
|
-
low: "low";
|
|
227
|
-
medium: "medium";
|
|
228
|
-
high: "high";
|
|
229
|
-
xhigh: "xhigh";
|
|
230
|
-
max: "max";
|
|
231
|
-
ultra: "ultra";
|
|
232
|
-
}>>;
|
|
224
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
233
225
|
cwd: z.ZodString;
|
|
234
226
|
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
235
227
|
systemPromptAppend: z.ZodOptional<z.ZodString>;
|
|
@@ -252,16 +244,19 @@ export declare const TurnStartParamsSchema: z.ZodObject<{
|
|
|
252
244
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
245
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
254
246
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
247
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
255
248
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
249
|
type: z.ZodLiteral<"http">;
|
|
257
250
|
url: z.ZodString;
|
|
258
251
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
259
252
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
260
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
261
255
|
type: z.ZodLiteral<"sse">;
|
|
262
256
|
url: z.ZodString;
|
|
263
257
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
264
258
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
265
260
|
}, z.core.$strip>], "type">>>;
|
|
266
261
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
267
262
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -282,25 +277,9 @@ export declare const TurnStartResultSchema: z.ZodObject<{
|
|
|
282
277
|
execution: z.ZodOptional<z.ZodObject<{
|
|
283
278
|
harness: z.ZodType<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown, z.core.$ZodTypeInternals<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown>>;
|
|
284
279
|
model: z.ZodOptional<z.ZodString>;
|
|
285
|
-
thinkingLevel: z.ZodOptional<z.
|
|
286
|
-
off: "off";
|
|
287
|
-
low: "low";
|
|
288
|
-
medium: "medium";
|
|
289
|
-
high: "high";
|
|
290
|
-
xhigh: "xhigh";
|
|
291
|
-
max: "max";
|
|
292
|
-
ultra: "ultra";
|
|
293
|
-
}>>;
|
|
280
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
294
281
|
permissionMode: z.ZodOptional<z.ZodType<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown, z.core.$ZodTypeInternals<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown>>>;
|
|
295
|
-
appliedThinkingLevel: z.ZodOptional<z.
|
|
296
|
-
off: "off";
|
|
297
|
-
low: "low";
|
|
298
|
-
medium: "medium";
|
|
299
|
-
high: "high";
|
|
300
|
-
xhigh: "xhigh";
|
|
301
|
-
max: "max";
|
|
302
|
-
ultra: "ultra";
|
|
303
|
-
}>>;
|
|
282
|
+
appliedThinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
304
283
|
reportedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
305
284
|
notApplied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
306
285
|
}, z.core.$strip>>;
|
|
@@ -319,7 +298,7 @@ export declare const TurnStartResultSchema: z.ZodObject<{
|
|
|
319
298
|
}, z.core.$strip>>;
|
|
320
299
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
321
300
|
error: z.ZodOptional<z.ZodObject<{
|
|
322
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
301
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
323
302
|
message: z.ZodString;
|
|
324
303
|
}, z.core.$strip>>;
|
|
325
304
|
undeliveredSteers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -493,25 +472,9 @@ export declare const WireEventEnvelopeSchema: z.ZodObject<{
|
|
|
493
472
|
execution: z.ZodOptional<z.ZodObject<{
|
|
494
473
|
harness: z.ZodType<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown, z.core.$ZodTypeInternals<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown>>;
|
|
495
474
|
model: z.ZodOptional<z.ZodString>;
|
|
496
|
-
thinkingLevel: z.ZodOptional<z.
|
|
497
|
-
off: "off";
|
|
498
|
-
low: "low";
|
|
499
|
-
medium: "medium";
|
|
500
|
-
high: "high";
|
|
501
|
-
xhigh: "xhigh";
|
|
502
|
-
max: "max";
|
|
503
|
-
ultra: "ultra";
|
|
504
|
-
}>>;
|
|
475
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
505
476
|
permissionMode: z.ZodOptional<z.ZodType<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown, z.core.$ZodTypeInternals<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown>>>;
|
|
506
|
-
appliedThinkingLevel: z.ZodOptional<z.
|
|
507
|
-
off: "off";
|
|
508
|
-
low: "low";
|
|
509
|
-
medium: "medium";
|
|
510
|
-
high: "high";
|
|
511
|
-
xhigh: "xhigh";
|
|
512
|
-
max: "max";
|
|
513
|
-
ultra: "ultra";
|
|
514
|
-
}>>;
|
|
477
|
+
appliedThinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
515
478
|
reportedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
479
|
notApplied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
517
480
|
}, z.core.$strip>>;
|
|
@@ -733,25 +696,9 @@ export declare const WireEventEnvelopeSchema: z.ZodObject<{
|
|
|
733
696
|
execution: z.ZodOptional<z.ZodObject<{
|
|
734
697
|
harness: z.ZodType<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown, z.core.$ZodTypeInternals<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown>>;
|
|
735
698
|
model: z.ZodOptional<z.ZodString>;
|
|
736
|
-
thinkingLevel: z.ZodOptional<z.
|
|
737
|
-
off: "off";
|
|
738
|
-
low: "low";
|
|
739
|
-
medium: "medium";
|
|
740
|
-
high: "high";
|
|
741
|
-
xhigh: "xhigh";
|
|
742
|
-
max: "max";
|
|
743
|
-
ultra: "ultra";
|
|
744
|
-
}>>;
|
|
699
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
745
700
|
permissionMode: z.ZodOptional<z.ZodType<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown, z.core.$ZodTypeInternals<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown>>>;
|
|
746
|
-
appliedThinkingLevel: z.ZodOptional<z.
|
|
747
|
-
off: "off";
|
|
748
|
-
low: "low";
|
|
749
|
-
medium: "medium";
|
|
750
|
-
high: "high";
|
|
751
|
-
xhigh: "xhigh";
|
|
752
|
-
max: "max";
|
|
753
|
-
ultra: "ultra";
|
|
754
|
-
}>>;
|
|
701
|
+
appliedThinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
755
702
|
reportedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
756
703
|
notApplied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
704
|
}, z.core.$strip>>;
|
|
@@ -770,7 +717,7 @@ export declare const WireEventEnvelopeSchema: z.ZodObject<{
|
|
|
770
717
|
}, z.core.$strip>>;
|
|
771
718
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
772
719
|
error: z.ZodOptional<z.ZodObject<{
|
|
773
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
720
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
774
721
|
message: z.ZodString;
|
|
775
722
|
}, z.core.$strip>>;
|
|
776
723
|
undeliveredSteers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -827,7 +774,7 @@ export declare const WireEventEnvelopeSchema: z.ZodObject<{
|
|
|
827
774
|
type: z.ZodLiteral<"error">;
|
|
828
775
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
829
776
|
turnId: z.ZodOptional<z.ZodString>;
|
|
830
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
777
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
831
778
|
message: z.ZodString;
|
|
832
779
|
recoverable: z.ZodBoolean;
|
|
833
780
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -982,25 +929,9 @@ export declare const EventsReplayResultSchema: z.ZodObject<{
|
|
|
982
929
|
execution: z.ZodOptional<z.ZodObject<{
|
|
983
930
|
harness: z.ZodType<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown, z.core.$ZodTypeInternals<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown>>;
|
|
984
931
|
model: z.ZodOptional<z.ZodString>;
|
|
985
|
-
thinkingLevel: z.ZodOptional<z.
|
|
986
|
-
off: "off";
|
|
987
|
-
low: "low";
|
|
988
|
-
medium: "medium";
|
|
989
|
-
high: "high";
|
|
990
|
-
xhigh: "xhigh";
|
|
991
|
-
max: "max";
|
|
992
|
-
ultra: "ultra";
|
|
993
|
-
}>>;
|
|
932
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
994
933
|
permissionMode: z.ZodOptional<z.ZodType<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown, z.core.$ZodTypeInternals<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown>>>;
|
|
995
|
-
appliedThinkingLevel: z.ZodOptional<z.
|
|
996
|
-
off: "off";
|
|
997
|
-
low: "low";
|
|
998
|
-
medium: "medium";
|
|
999
|
-
high: "high";
|
|
1000
|
-
xhigh: "xhigh";
|
|
1001
|
-
max: "max";
|
|
1002
|
-
ultra: "ultra";
|
|
1003
|
-
}>>;
|
|
934
|
+
appliedThinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
1004
935
|
reportedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1005
936
|
notApplied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1006
937
|
}, z.core.$strip>>;
|
|
@@ -1222,25 +1153,9 @@ export declare const EventsReplayResultSchema: z.ZodObject<{
|
|
|
1222
1153
|
execution: z.ZodOptional<z.ZodObject<{
|
|
1223
1154
|
harness: z.ZodType<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown, z.core.$ZodTypeInternals<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown>>;
|
|
1224
1155
|
model: z.ZodOptional<z.ZodString>;
|
|
1225
|
-
thinkingLevel: z.ZodOptional<z.
|
|
1226
|
-
off: "off";
|
|
1227
|
-
low: "low";
|
|
1228
|
-
medium: "medium";
|
|
1229
|
-
high: "high";
|
|
1230
|
-
xhigh: "xhigh";
|
|
1231
|
-
max: "max";
|
|
1232
|
-
ultra: "ultra";
|
|
1233
|
-
}>>;
|
|
1156
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
1234
1157
|
permissionMode: z.ZodOptional<z.ZodType<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown, z.core.$ZodTypeInternals<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown>>>;
|
|
1235
|
-
appliedThinkingLevel: z.ZodOptional<z.
|
|
1236
|
-
off: "off";
|
|
1237
|
-
low: "low";
|
|
1238
|
-
medium: "medium";
|
|
1239
|
-
high: "high";
|
|
1240
|
-
xhigh: "xhigh";
|
|
1241
|
-
max: "max";
|
|
1242
|
-
ultra: "ultra";
|
|
1243
|
-
}>>;
|
|
1158
|
+
appliedThinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
1244
1159
|
reportedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1245
1160
|
notApplied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1246
1161
|
}, z.core.$strip>>;
|
|
@@ -1259,7 +1174,7 @@ export declare const EventsReplayResultSchema: z.ZodObject<{
|
|
|
1259
1174
|
}, z.core.$strip>>;
|
|
1260
1175
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
1261
1176
|
error: z.ZodOptional<z.ZodObject<{
|
|
1262
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1177
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1263
1178
|
message: z.ZodString;
|
|
1264
1179
|
}, z.core.$strip>>;
|
|
1265
1180
|
undeliveredSteers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1316,7 +1231,7 @@ export declare const EventsReplayResultSchema: z.ZodObject<{
|
|
|
1316
1231
|
type: z.ZodLiteral<"error">;
|
|
1317
1232
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1318
1233
|
turnId: z.ZodOptional<z.ZodString>;
|
|
1319
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1234
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1320
1235
|
message: z.ZodString;
|
|
1321
1236
|
recoverable: z.ZodBoolean;
|
|
1322
1237
|
retry: z.ZodOptional<z.ZodObject<{
|
|
@@ -1504,25 +1419,9 @@ export declare const TurnReceiptSchema: z.ZodObject<{
|
|
|
1504
1419
|
execution: z.ZodOptional<z.ZodObject<{
|
|
1505
1420
|
harness: z.ZodType<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown, z.core.$ZodTypeInternals<(string & {}) | "claude-code" | "codex-app-server" | "acp" | "scripted", unknown>>;
|
|
1506
1421
|
model: z.ZodOptional<z.ZodString>;
|
|
1507
|
-
thinkingLevel: z.ZodOptional<z.
|
|
1508
|
-
off: "off";
|
|
1509
|
-
low: "low";
|
|
1510
|
-
medium: "medium";
|
|
1511
|
-
high: "high";
|
|
1512
|
-
xhigh: "xhigh";
|
|
1513
|
-
max: "max";
|
|
1514
|
-
ultra: "ultra";
|
|
1515
|
-
}>>;
|
|
1422
|
+
thinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
1516
1423
|
permissionMode: z.ZodOptional<z.ZodType<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown, z.core.$ZodTypeInternals<"default" | (string & {}) | "plan" | "accept_edits" | "dont_ask" | "bypass_permissions", unknown>>>;
|
|
1517
|
-
appliedThinkingLevel: z.ZodOptional<z.
|
|
1518
|
-
off: "off";
|
|
1519
|
-
low: "low";
|
|
1520
|
-
medium: "medium";
|
|
1521
|
-
high: "high";
|
|
1522
|
-
xhigh: "xhigh";
|
|
1523
|
-
max: "max";
|
|
1524
|
-
ultra: "ultra";
|
|
1525
|
-
}>>;
|
|
1424
|
+
appliedThinkingLevel: z.ZodOptional<z.ZodType<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown, z.core.$ZodTypeInternals<(string & {}) | "off" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra", unknown>>>;
|
|
1526
1425
|
reportedModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1527
1426
|
notApplied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1528
1427
|
}, z.core.$strip>>;
|
|
@@ -1541,7 +1440,7 @@ export declare const TurnReceiptSchema: z.ZodObject<{
|
|
|
1541
1440
|
}, z.core.$strip>>;
|
|
1542
1441
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
1543
1442
|
error: z.ZodOptional<z.ZodObject<{
|
|
1544
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1443
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1545
1444
|
message: z.ZodString;
|
|
1546
1445
|
}, z.core.$strip>>;
|
|
1547
1446
|
undeliveredSteers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1576,7 +1475,7 @@ export type RecoveryReason = z.infer<typeof RecoveryReasonSchema>;
|
|
|
1576
1475
|
*/
|
|
1577
1476
|
export declare const LastTurnSchema: z.ZodObject<{
|
|
1578
1477
|
error: z.ZodOptional<z.ZodObject<{
|
|
1579
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1478
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1580
1479
|
message: z.ZodString;
|
|
1581
1480
|
}, z.core.$strip>>;
|
|
1582
1481
|
turnId: z.ZodString;
|
|
@@ -1602,7 +1501,7 @@ export declare const DurableSessionSchema: z.ZodObject<{
|
|
|
1602
1501
|
}>>;
|
|
1603
1502
|
lastTurn: z.ZodOptional<z.ZodObject<{
|
|
1604
1503
|
error: z.ZodOptional<z.ZodObject<{
|
|
1605
|
-
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1504
|
+
category: z.ZodType<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown, z.core.$ZodTypeInternals<"abort" | (string & {}) | "auth" | "rate_limit" | "overloaded" | "usage_limit" | "context_limit" | "network" | "invalid_request" | "process_exit" | "resume_failed" | "resume_busy" | "mcp_unavailable" | "server_restart" | "internal", unknown>>;
|
|
1606
1505
|
message: z.ZodString;
|
|
1607
1506
|
}, z.core.$strip>>;
|
|
1608
1507
|
turnId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../../src/protocol/wire.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EACN,KAAK,qBAAqB,EAK1B,KAAK,YAAY,EAEjB,MAAM,gBAAgB,CAAC;AAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAIvC,eAAO,MAAM,eAAe,iDAAoC,CAAC;AACjE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,gFAAgF;AAChF,eAAO,MAAM,gBAAgB;;;;;;IAM5B,2EAA2E;;IAE3E,2EAA2E;;IAE3E,+EAA+E;;IAE/E,+DAA+D;;IAE/D,0EAA0E;;IAE1E,mFAAmF;;IAEnF;;;OAGG;;IAEH,0DAA0D;;IAE1D;;;;;OAKG;;IAEH;;;OAGG;;IAEH,0DAA0D;;IAE1D,kEAAkE;;IAElE,6FAA6F;;IAE7F,6EAA6E;;IAE7E,wG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m) => m.isDefault) ?? models[0];
|
|
|
420
420
|
const level = savedLevelFor(choice.id) ?? choice.thinking.default; // never invent one
|
|
421
421
|
```
|
|
422
422
|
|
|
423
|
+
Show `thinking.levels` as listed, in that order, and a name your app has no
|
|
424
|
+
label for as it is: a harness may list a level agent-server does not know
|
|
425
|
+
(`KnownThinkingLevel` is the seven it does). A level the model does not list
|
|
426
|
+
is fitted to the nearest level the engine can order, and when there is none
|
|
427
|
+
it is not applied (`execution.notApplied` names `thinkingLevel`).
|
|
423
428
|
`thinking.levels` empty means the model has no thinking control: a turn
|
|
424
429
|
that names a level for it runs without one (`off` is still sent on Claude),
|
|
425
430
|
and reports no `appliedThinkingLevel`. Keep the
|
|
@@ -457,8 +462,10 @@ conversation later — across processes and machines where its native history is
|
|
|
457
462
|
available. Built-in harnesses fail the turn if the requested conversation is
|
|
458
463
|
missing, unsupported, or resolves to the wrong Codex thread. They never replay
|
|
459
464
|
the prompt on a new conversation. Missing or unsupported history reports
|
|
460
|
-
`error.category: "resume_failed"`;
|
|
461
|
-
|
|
465
|
+
`error.category: "resume_failed"`; a Codex thread another process still holds
|
|
466
|
+
reports `resume_busy`, and the same resume succeeds once that process has let
|
|
467
|
+
it go (try again later, do not start fresh); authentication and transport
|
|
468
|
+
failures keep their existing error categories.
|
|
462
469
|
|
|
463
470
|
Keep the saved ID when a turn fails. To retry after fixing the cause, submit a
|
|
464
471
|
new `turnId` with the same resume target. To deliberately start fresh, use a new
|
|
@@ -473,6 +480,20 @@ A successful Claude resume can mint a new native ID; use the reported `resumed`
|
|
|
473
480
|
flag rather than comparing Claude IDs. The `resumed: false` wire value remains
|
|
474
481
|
readable for older engines and custom harnesses.
|
|
475
482
|
|
|
483
|
+
Claude Code deletes old conversations. A few seconds after any Claude process
|
|
484
|
+
starts on a config folder, it removes the transcripts older than
|
|
485
|
+
`cleanupPeriodDays` (30 by default) for every project in that folder. At
|
|
486
|
+
`inheritConfig: "all"` the person's own setting governs; at `none` nothing is
|
|
487
|
+
removed; at `project` a repository's settings can set it. A resume of a removed
|
|
488
|
+
transcript ends `resume_failed` ("No conversation found…"), and the session
|
|
489
|
+
keeps asking for that conversation: go on in a new logical `sessionId`, as
|
|
490
|
+
above. A product that must keep sessions longer sets it for
|
|
491
|
+
its own processes through `claudeCode.sdkOptions`
|
|
492
|
+
(`settings: { cleanupPeriodDays }`), which holds only where no other Claude
|
|
493
|
+
process shares that config folder. The engine sets none: at `all` it would
|
|
494
|
+
override the person's own choice. What was measured: LLP 0015.001, Claude's
|
|
495
|
+
transcript sweep.
|
|
496
|
+
|
|
476
497
|
## Steer a running turn
|
|
477
498
|
|
|
478
499
|
A user who types while the agent works means "and also…" or "stop, do this
|
|
@@ -539,6 +560,10 @@ can reuse its turn ID. Custom harnesses retain their own concurrency contract.
|
|
|
539
560
|
`turn/cancel` accepts a `turnId` stamp — always pass
|
|
540
561
|
the id of the turn you mean, so a late cancel can never kill its successor
|
|
541
562
|
(a stale stamp returns `{outcome: "no_active_turn", activeTurnId}`). The
|
|
563
|
+
client's `cancelTurn` for a turn the same client is starting (`runTurn`,
|
|
564
|
+
`startTurn`) is sent after that start's first send, so cancelling at once,
|
|
565
|
+
in the same tick as the start, works; after a reconnect a cancel can reach
|
|
566
|
+
the server before a re-sent start and is answered `no_active_turn`. The
|
|
542
567
|
result is a single-outcome union: `cancelled` means the harness confirmed the
|
|
543
568
|
interrupt; `unconfirmed` means it did not land — including the window between
|
|
544
569
|
the `turn/start` quick-ack and the harness registering its abortable turn —
|
|
@@ -623,11 +648,13 @@ per-turn MCP in a home below. A fresh home has no login: run it on the
|
|
|
623
648
|
person's own Codex login (`codexAppServer.userLogin`, below), or hand one over
|
|
624
649
|
with [`credentials`](harnesses.md#host-managed-codex-authentication) or the
|
|
625
650
|
turn's `apiKey`. Below `all` Codex's apps, the ChatGPT account's connectors,
|
|
626
|
-
are off in every thread, as Claude's claude.ai connectors are, and
|
|
627
|
-
|
|
628
|
-
(`-c features.plugins=false`), so
|
|
629
|
-
|
|
630
|
-
|
|
651
|
+
are off in every thread, as Claude's claude.ai connectors are, and every
|
|
652
|
+
app-server that runs in such a home starts with plugins off
|
|
653
|
+
(`-c features.plugins=false`), so Codex's plugin catalogue is not downloaded
|
|
654
|
+
and a fresh home stays about 4 MB where it cloned the catalogue (about
|
|
655
|
+
85 MB). A plugin you install in a home you own still loads: the thread's
|
|
656
|
+
own `features`, which the engine sends, decide for it. A product that wants
|
|
657
|
+
a plugin installs it there, runs at `all`, or brings it as an MCP server. A home removed and made again
|
|
631
658
|
under a session's warm process starts a new process on the next turn, which
|
|
632
659
|
resumes the thread if the home still holds it, or fails `resume_failed`.
|
|
633
660
|
Codex loads the repository's skills and
|
|
@@ -695,9 +722,20 @@ await runtime.run({
|
|
|
695
722
|
first. Signed out, the turn fails `auth` before Codex starts. Codex still
|
|
696
723
|
loads the repository's skills and `~/.agents/skills`.
|
|
697
724
|
- `builtInTools`: each of Codex's own tool groups is on unless set `false`.
|
|
698
|
-
`local: false` takes away the shell, `
|
|
699
|
-
|
|
700
|
-
|
|
725
|
+
`local: false` takes away the shell, `view_image` and `write_stdin`, from
|
|
726
|
+
the sub-agents Codex spawns too. Codex still lists `apply_patch` to the
|
|
727
|
+
model and refuses a call to it without touching a file, and the stream
|
|
728
|
+
shows nothing of the attempt: say in your agent's instructions that it has
|
|
729
|
+
no files. So nothing the agent runs reads or writes the disk. That holds
|
|
730
|
+
for code mode's `exec` itself (measured on Codex 0.160.0 in `default` and
|
|
731
|
+
`bypass_permissions`, and on 0.169.1 with full access): its JavaScript
|
|
732
|
+
has no `process`, `require` or `fetch`, every `import()` fails, and it
|
|
733
|
+
read no file, saw no environment variable, started no process and made no
|
|
734
|
+
request. What it reaches is your MCP servers' tools and resources;
|
|
735
|
+
`read_mcp_resource` hands any URI to the server it names, so a server of
|
|
736
|
+
yours decides what a `file://` URI gives back (LLP 0015.001, What a
|
|
737
|
+
code-mode `exec` can reach; LLP 0017.000, Codex's local tools since
|
|
738
|
+
0.164.0);
|
|
701
739
|
`webSearch: false` and `imageGeneration: false` take away those. With
|
|
702
740
|
image generation on, a picture comes as an `image_generation` tool part
|
|
703
741
|
without its bytes: `metadata.savedPath`, when Codex gives one, names a file
|
|
@@ -738,7 +776,7 @@ applied through the harness's native configuration API before the prompt
|
|
|
738
776
|
(a Codex turn that names no home starts a new process for them, below);
|
|
739
777
|
finishing a turn does not restart the agent or its servers. Omitting the map
|
|
740
778
|
on a later turn removes the previous wire-configured set, just like `{}`.
|
|
741
|
-
|
|
779
|
+
The host's own tools (`hostTools`, below) and Claude's `sdkMcpServers` remain attached. The native CLI may also load MCP servers
|
|
742
780
|
from settings or plugins (Claude not at `inheritConfig: "none"`); this map is
|
|
743
781
|
not an exclusive tool allowlist.
|
|
744
782
|
|
|
@@ -846,6 +884,43 @@ the turn; an explicitly submitted next turn reapplies the configuration so a
|
|
|
846
884
|
previously failed native client can reconnect. No model turn or tool call is
|
|
847
885
|
automatically replayed.
|
|
848
886
|
|
|
887
|
+
### Give your agents your own tools
|
|
888
|
+
|
|
889
|
+
`createAgentRuntime({ hostTools })` gives every session's agent the product's
|
|
890
|
+
own tools, on every harness, with no MCP server of yours to run (LLP 0018):
|
|
891
|
+
|
|
892
|
+
```ts
|
|
893
|
+
createAgentRuntime({
|
|
894
|
+
hostTools: ({ sessionId, cwd, harness }) => ({
|
|
895
|
+
name: "product", // the MCP server's name, on every harness
|
|
896
|
+
instructions: "The product's tools: get_diff …",
|
|
897
|
+
tools: [{ name: "get_diff", description: "…", inputSchema: { type: "object" },
|
|
898
|
+
annotations: { readOnly: true } }],
|
|
899
|
+
async call(name, args, caller, signal) {
|
|
900
|
+
// caller: { sessionId, harness, turnId, permissionMode }, as they stand now
|
|
901
|
+
return { content: [{ type: "text", text: "…" }] }; // or { type: "image", data, mimeType }
|
|
902
|
+
},
|
|
903
|
+
}),
|
|
904
|
+
});
|
|
905
|
+
```
|
|
906
|
+
|
|
907
|
+
- Asked once per session, at its first turn; released with the session.
|
|
908
|
+
- Claude runs it in process. Codex, and an ACP agent that takes HTTP MCP
|
|
909
|
+
servers, reach it at the engine's loopback with a secret of the session's
|
|
910
|
+
own in a header (never the URL); a call carrying it is that session's. An
|
|
911
|
+
ACP agent that takes no HTTP server goes without, and its turn says so.
|
|
912
|
+
- `caller` is read at the call: the turn running and the mode the session
|
|
913
|
+
runs in then (a plan approved mid-turn included). A call while no turn of
|
|
914
|
+
the session runs is refused before you see it.
|
|
915
|
+
- A tool marked `readOnly` runs unasked; any other asks through
|
|
916
|
+
`permission.requested` unless the session runs with full access, and is
|
|
917
|
+
refused where nobody can be asked (`dont_ask`).
|
|
918
|
+
- A call may run 30 minutes (`timeoutMs` on the source changes it); `signal`
|
|
919
|
+
aborts when the agent gives the call up or the session is released. A
|
|
920
|
+
throw is a failed call whose message the model reads.
|
|
921
|
+
- A turn's own MCP server may not take the source's name. Draw your cards
|
|
922
|
+
from the tool part's `mcp: { server, tool }`, not `toolName`.
|
|
923
|
+
|
|
849
924
|
### Resume a suspended host
|
|
850
925
|
|
|
851
926
|
After thawing a VM, call `runtime.invalidateMcpConnections()` before admitting
|
|
@@ -880,7 +955,12 @@ Register `onSessionEnd` (claude options) to release per-session resources —
|
|
|
880
955
|
BYOK proxy keys, recorders — instead of re-deriving termination from side
|
|
881
956
|
effects. Reasons: `idle` (idle-timeout eviction), `replaced` (config change or
|
|
882
957
|
host resume replaced the subprocess — usually respawns immediately with context kept),
|
|
883
|
-
`released` (explicit close), `shutdown`.
|
|
958
|
+
`released` (explicit close), `shutdown`. A cancel during a Claude start
|
|
959
|
+
answers at once; `onSessionEnd(sessionId, "released")` for that process can
|
|
960
|
+
come after the cancel's answer (130 to 325 ms on the real CLI), and comes
|
|
961
|
+
before that turn's end. Set up the next turn's per-session resources after
|
|
962
|
+
the turn's end, not after the cancel's answer (LLP 0015.001, `onSessionEnd`
|
|
963
|
+
and a cancelled Claude start). On the wire, call `session/close`
|
|
884
964
|
when a logical session will not be resumed: it frees the replay buffer and
|
|
885
965
|
the harness-native state (until then, memory cost ≈ `bufferSize` events per
|
|
886
966
|
session).
|
package/docs/deploy.md
CHANGED
|
@@ -243,6 +243,14 @@ AGENT_SERVER_CREDENTIALS_TOKEN=<this sandbox's token> \
|
|
|
243
243
|
Claude's credential stays in the engine (its proxy on 127.0.0.1), not in the
|
|
244
244
|
CLI's environment its tools can read; Codex keeps ChatGPT tokens in memory.
|
|
245
245
|
|
|
246
|
+
Every process the engine starts itself (each CLI, the `ps`, `sysctl` and
|
|
247
|
+
`tar` it runs) gets the engine's `process.env` as it is at that start, with
|
|
248
|
+
the turn's `env` over it for a CLI, under Bun as under Node. The lifeline
|
|
249
|
+
shell, which lives as long as the engine, gets `PATH` alone. A secret your
|
|
250
|
+
product deletes from `process.env` before it starts the engine reaches none
|
|
251
|
+
of them; the bin takes its own tokens out the same way (LLP
|
|
252
|
+
0007, The environment a process is given).
|
|
253
|
+
|
|
246
254
|
## App bundles and images for another machine
|
|
247
255
|
|
|
248
256
|
A desktop app that ships its CLIs (to run offline, or to show no download)
|