@intentic/sandbox-contract 1.396.0 → 1.397.0
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/README.md +11 -0
- package/dist/app-routes/index.d.ts +1 -0
- package/dist/app-routes/index.d.ts.map +1 -1
- package/dist/app-routes/index.js +1 -0
- package/dist/app-routes/index.js.map +1 -1
- package/dist/app-routes/sandbox-segment.d.ts +9 -0
- package/dist/app-routes/sandbox-segment.d.ts.map +1 -0
- package/dist/app-routes/sandbox-segment.js +52 -0
- package/dist/app-routes/sandbox-segment.js.map +1 -0
- package/dist/contracts/agents.contract.d.ts +98 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.d.ts +1 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/providers.contract.d.ts +2 -0
- package/dist/contracts/providers.contract.d.ts.map +1 -1
- package/dist/contracts/providers.contract.js +1 -0
- package/dist/contracts/providers.contract.js.map +1 -1
- package/dist/contracts/runner.contract.d.ts +276 -250
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/seal.contract.d.ts +25 -0
- package/dist/contracts/seal.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +8 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +23 -0
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/events/agent-events.d.ts +6 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +7 -1
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/agent-transcript.d.ts +1 -0
- package/dist/events/agent-transcript.d.ts.map +1 -1
- package/dist/events/resume.d.ts +1 -0
- package/dist/events/resume.d.ts.map +1 -1
- package/dist/events/resume.js +2 -0
- package/dist/events/resume.js.map +1 -1
- package/dist/events/sandbox-notice.d.ts +7 -0
- package/dist/events/sandbox-notice.d.ts.map +1 -1
- package/dist/events/sandbox-notice.js +2 -0
- package/dist/events/sandbox-notice.js.map +1 -1
- package/dist/events/system-events.d.ts +20 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +1 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +2 -1
- package/dist/events/transcript.js.map +1 -1
- package/dist/models/key-providers.d.ts +17 -0
- package/dist/models/key-providers.d.ts.map +1 -0
- package/dist/models/key-providers.js +65 -0
- package/dist/models/key-providers.js.map +1 -0
- package/dist/policy/failure-codes.d.ts +8 -0
- package/dist/policy/failure-codes.d.ts.map +1 -1
- package/dist/policy/failure-codes.js +9 -0
- package/dist/policy/failure-codes.js.map +1 -1
- package/dist/policy/safety-policy.d.ts +2 -1
- package/dist/policy/safety-policy.d.ts.map +1 -1
- package/dist/policy/safety-policy.js +6 -0
- package/dist/policy/safety-policy.js.map +1 -1
- package/dist/schemas/agent-search.d.ts +4 -0
- package/dist/schemas/agent-search.d.ts.map +1 -1
- package/dist/schemas/agent-search.js +9 -2
- package/dist/schemas/agent-search.js.map +1 -1
- package/dist/schemas/agents-list.d.ts +10 -0
- package/dist/schemas/agents-list.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +17 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +8 -1
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/device-resources.d.ts +5 -0
- package/dist/schemas/device-resources.d.ts.map +1 -1
- package/dist/schemas/device-resources.js +16 -0
- package/dist/schemas/device-resources.js.map +1 -1
- package/dist/schemas/devices.d.ts +14 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/metrics.js +1 -1
- package/dist/schemas/metrics.js.map +1 -1
- package/dist/schemas/settings.d.ts +8 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +4 -3
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/turn-break.d.ts +9 -0
- package/dist/schemas/turn-break.d.ts.map +1 -1
- package/dist/schemas/turn-break.js +9 -2
- package/dist/schemas/turn-break.js.map +1 -1
- package/dist/state/definition.d.ts +4 -0
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/text/notice-rows.d.ts +1 -1
- package/dist/text/notice-rows.d.ts.map +1 -1
- package/dist/text/notice-rows.js +6 -1
- package/dist/text/notice-rows.js.map +1 -1
- package/package.json +5 -5
- package/src/app-routes/index.ts +4 -2
- package/src/app-routes/sandbox-segment.test.ts +77 -0
- package/src/app-routes/sandbox-segment.ts +82 -0
- package/src/contracts/providers.contract.ts +5 -0
- package/src/events/agent-events.ts +14 -1
- package/src/events/resume.test.ts +22 -0
- package/src/events/resume.ts +11 -0
- package/src/events/sandbox-notice.ts +7 -0
- package/src/events/transcript.ts +2 -1
- package/src/models/key-providers.ts +97 -0
- package/src/policy/failure-codes.ts +26 -0
- package/src/policy/safety-policy.ts +11 -0
- package/src/policy/tests/command-classes.test.ts +15 -0
- package/src/policy/tests/failure-codes.test.ts +23 -2
- package/src/policy/tests/safety-policy.test.ts +9 -1
- package/src/schemas/agent-search.test.ts +22 -0
- package/src/schemas/agent-search.ts +23 -4
- package/src/schemas/agents.ts +17 -1
- package/src/schemas/device-resources.ts +28 -0
- package/src/schemas/devices.ts +2 -1
- package/src/schemas/ic-shape-args.test.ts +17 -2
- package/src/schemas/metrics.ts +1 -1
- package/src/schemas/settings.test.ts +15 -0
- package/src/schemas/settings.ts +15 -3
- package/src/schemas/turn-break.ts +30 -4
- package/src/text/notice-rows.ts +12 -4
|
@@ -68,6 +68,37 @@ export declare const runnerContract: {
|
|
|
68
68
|
bytesBase64: z.ZodString;
|
|
69
69
|
}, z.core.$strip>>>;
|
|
70
70
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
71
|
+
requestId: string;
|
|
72
|
+
text: string;
|
|
73
|
+
document?: {
|
|
74
|
+
path: string;
|
|
75
|
+
title: string;
|
|
76
|
+
markdown: string;
|
|
77
|
+
truncated?: boolean | undefined;
|
|
78
|
+
plan?: boolean | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
kind: "plan";
|
|
81
|
+
} | {
|
|
82
|
+
requestId: string;
|
|
83
|
+
questions: {
|
|
84
|
+
question: string;
|
|
85
|
+
header: string;
|
|
86
|
+
multiSelect: boolean;
|
|
87
|
+
options: {
|
|
88
|
+
label: string;
|
|
89
|
+
description: string;
|
|
90
|
+
preview?: string | undefined;
|
|
91
|
+
}[];
|
|
92
|
+
}[];
|
|
93
|
+
document?: {
|
|
94
|
+
path: string;
|
|
95
|
+
title: string;
|
|
96
|
+
markdown: string;
|
|
97
|
+
truncated?: boolean | undefined;
|
|
98
|
+
plan?: boolean | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
kind: "question";
|
|
101
|
+
} | {
|
|
71
102
|
kind: "session";
|
|
72
103
|
sessionId: string;
|
|
73
104
|
account?: string | undefined;
|
|
@@ -249,6 +280,9 @@ export declare const runnerContract: {
|
|
|
249
280
|
openingCacheReadTokens?: number | undefined;
|
|
250
281
|
openingCacheCreationTokens?: number | undefined;
|
|
251
282
|
promptFingerprint?: string | undefined;
|
|
283
|
+
} | {
|
|
284
|
+
kind: "workspace_repaired";
|
|
285
|
+
layers: number;
|
|
252
286
|
} | {
|
|
253
287
|
kind: "fast_mode";
|
|
254
288
|
state: "cooldown" | "off" | "on";
|
|
@@ -294,37 +328,6 @@ export declare const runnerContract: {
|
|
|
294
328
|
sent?: string | undefined;
|
|
295
329
|
kind: "agent_notice";
|
|
296
330
|
text: string;
|
|
297
|
-
} | {
|
|
298
|
-
requestId: string;
|
|
299
|
-
text: string;
|
|
300
|
-
document?: {
|
|
301
|
-
path: string;
|
|
302
|
-
title: string;
|
|
303
|
-
markdown: string;
|
|
304
|
-
truncated?: boolean | undefined;
|
|
305
|
-
plan?: boolean | undefined;
|
|
306
|
-
} | undefined;
|
|
307
|
-
kind: "plan";
|
|
308
|
-
} | {
|
|
309
|
-
requestId: string;
|
|
310
|
-
questions: {
|
|
311
|
-
question: string;
|
|
312
|
-
header: string;
|
|
313
|
-
multiSelect: boolean;
|
|
314
|
-
options: {
|
|
315
|
-
label: string;
|
|
316
|
-
description: string;
|
|
317
|
-
preview?: string | undefined;
|
|
318
|
-
}[];
|
|
319
|
-
}[];
|
|
320
|
-
document?: {
|
|
321
|
-
path: string;
|
|
322
|
-
title: string;
|
|
323
|
-
markdown: string;
|
|
324
|
-
truncated?: boolean | undefined;
|
|
325
|
-
plan?: boolean | undefined;
|
|
326
|
-
} | undefined;
|
|
327
|
-
kind: "question";
|
|
328
331
|
} | {
|
|
329
332
|
requestId: string;
|
|
330
333
|
session: string;
|
|
@@ -685,7 +688,7 @@ export declare const runnerContract: {
|
|
|
685
688
|
kind: "error";
|
|
686
689
|
message: string;
|
|
687
690
|
own?: boolean | undefined;
|
|
688
|
-
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-setup" | undefined;
|
|
691
|
+
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-broken" | "workspace-setup" | undefined;
|
|
689
692
|
refusal?: {
|
|
690
693
|
category?: string | undefined;
|
|
691
694
|
resumeAt?: string | undefined;
|
|
@@ -722,6 +725,7 @@ export declare const runnerContract: {
|
|
|
722
725
|
chosen?: "carry" | "summary" | "trim" | undefined;
|
|
723
726
|
} | undefined;
|
|
724
727
|
pressOnly?: boolean | undefined;
|
|
728
|
+
memoryKill?: boolean | undefined;
|
|
725
729
|
} | undefined;
|
|
726
730
|
outage?: {
|
|
727
731
|
retryAt: number;
|
|
@@ -738,6 +742,50 @@ export declare const runnerContract: {
|
|
|
738
742
|
unattended?: boolean | undefined;
|
|
739
743
|
} | {
|
|
740
744
|
kind: "done";
|
|
745
|
+
} | {
|
|
746
|
+
toolName: string;
|
|
747
|
+
title?: string | undefined;
|
|
748
|
+
displayName?: string | undefined;
|
|
749
|
+
description?: string | undefined;
|
|
750
|
+
reason?: string | undefined;
|
|
751
|
+
path?: string | undefined;
|
|
752
|
+
alwaysLabel?: string | undefined;
|
|
753
|
+
alwaysAsks?: true | undefined;
|
|
754
|
+
program?: {
|
|
755
|
+
text: string;
|
|
756
|
+
language: "bash" | "javascript";
|
|
757
|
+
truncated: boolean;
|
|
758
|
+
spans: {
|
|
759
|
+
start: number;
|
|
760
|
+
end: number;
|
|
761
|
+
}[];
|
|
762
|
+
} | undefined;
|
|
763
|
+
child?: {
|
|
764
|
+
provider: string;
|
|
765
|
+
model: string;
|
|
766
|
+
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
767
|
+
account?: string | undefined;
|
|
768
|
+
effort?: string | undefined;
|
|
769
|
+
thinking?: boolean | undefined;
|
|
770
|
+
fast?: boolean | undefined;
|
|
771
|
+
move: "answer" | "send" | "spawn";
|
|
772
|
+
child?: string | undefined;
|
|
773
|
+
task?: string | undefined;
|
|
774
|
+
message?: string | undefined;
|
|
775
|
+
on?: string | undefined;
|
|
776
|
+
proposed?: {
|
|
777
|
+
provider: string;
|
|
778
|
+
model: string;
|
|
779
|
+
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
780
|
+
account?: string | undefined;
|
|
781
|
+
effort?: string | undefined;
|
|
782
|
+
thinking?: boolean | undefined;
|
|
783
|
+
fast?: boolean | undefined;
|
|
784
|
+
} | undefined;
|
|
785
|
+
} | undefined;
|
|
786
|
+
explain?: string | undefined;
|
|
787
|
+
requestId: string;
|
|
788
|
+
kind: "permission";
|
|
741
789
|
} | {
|
|
742
790
|
window: number;
|
|
743
791
|
omitted: string[];
|
|
@@ -787,6 +835,54 @@ export declare const runnerContract: {
|
|
|
787
835
|
cachedAt?: number | undefined;
|
|
788
836
|
cacheTtlMs?: number | undefined;
|
|
789
837
|
kind: "context_usage";
|
|
838
|
+
} | {
|
|
839
|
+
outcome: "connected" | "unfinished";
|
|
840
|
+
id?: string | undefined;
|
|
841
|
+
kind: "capability_outcome";
|
|
842
|
+
requestId: string;
|
|
843
|
+
} | {
|
|
844
|
+
outcome: "failed" | "paid";
|
|
845
|
+
amountUsd: string;
|
|
846
|
+
transaction?: string | undefined;
|
|
847
|
+
network?: string | undefined;
|
|
848
|
+
kind: "payment_receipt";
|
|
849
|
+
requestId: string;
|
|
850
|
+
} | {
|
|
851
|
+
outcome: "refused" | "released";
|
|
852
|
+
approvedBy?: string | undefined;
|
|
853
|
+
kind: "credential_receipt";
|
|
854
|
+
requestId: string;
|
|
855
|
+
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
856
|
+
requestId: string;
|
|
857
|
+
text: string;
|
|
858
|
+
document?: {
|
|
859
|
+
path: string;
|
|
860
|
+
title: string;
|
|
861
|
+
markdown: string;
|
|
862
|
+
truncated?: boolean | undefined;
|
|
863
|
+
plan?: boolean | undefined;
|
|
864
|
+
} | undefined;
|
|
865
|
+
kind: "plan";
|
|
866
|
+
} | {
|
|
867
|
+
requestId: string;
|
|
868
|
+
questions: {
|
|
869
|
+
question: string;
|
|
870
|
+
header: string;
|
|
871
|
+
multiSelect: boolean;
|
|
872
|
+
options: {
|
|
873
|
+
label: string;
|
|
874
|
+
description: string;
|
|
875
|
+
preview?: string | undefined;
|
|
876
|
+
}[];
|
|
877
|
+
}[];
|
|
878
|
+
document?: {
|
|
879
|
+
path: string;
|
|
880
|
+
title: string;
|
|
881
|
+
markdown: string;
|
|
882
|
+
truncated?: boolean | undefined;
|
|
883
|
+
plan?: boolean | undefined;
|
|
884
|
+
} | undefined;
|
|
885
|
+
kind: "question";
|
|
790
886
|
} | {
|
|
791
887
|
toolName: string;
|
|
792
888
|
title?: string | undefined;
|
|
@@ -832,23 +928,6 @@ export declare const runnerContract: {
|
|
|
832
928
|
requestId: string;
|
|
833
929
|
kind: "permission";
|
|
834
930
|
} | {
|
|
835
|
-
outcome: "connected" | "unfinished";
|
|
836
|
-
id?: string | undefined;
|
|
837
|
-
kind: "capability_outcome";
|
|
838
|
-
requestId: string;
|
|
839
|
-
} | {
|
|
840
|
-
outcome: "failed" | "paid";
|
|
841
|
-
amountUsd: string;
|
|
842
|
-
transaction?: string | undefined;
|
|
843
|
-
network?: string | undefined;
|
|
844
|
-
kind: "payment_receipt";
|
|
845
|
-
requestId: string;
|
|
846
|
-
} | {
|
|
847
|
-
outcome: "refused" | "released";
|
|
848
|
-
approvedBy?: string | undefined;
|
|
849
|
-
kind: "credential_receipt";
|
|
850
|
-
requestId: string;
|
|
851
|
-
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
852
931
|
kind: "session";
|
|
853
932
|
sessionId: string;
|
|
854
933
|
account?: string | undefined;
|
|
@@ -1030,6 +1109,9 @@ export declare const runnerContract: {
|
|
|
1030
1109
|
openingCacheReadTokens?: number | undefined;
|
|
1031
1110
|
openingCacheCreationTokens?: number | undefined;
|
|
1032
1111
|
promptFingerprint?: string | undefined;
|
|
1112
|
+
} | {
|
|
1113
|
+
kind: "workspace_repaired";
|
|
1114
|
+
layers: number;
|
|
1033
1115
|
} | {
|
|
1034
1116
|
kind: "fast_mode";
|
|
1035
1117
|
state: "cooldown" | "off" | "on";
|
|
@@ -1075,37 +1157,6 @@ export declare const runnerContract: {
|
|
|
1075
1157
|
sent?: string | undefined;
|
|
1076
1158
|
kind: "agent_notice";
|
|
1077
1159
|
text: string;
|
|
1078
|
-
} | {
|
|
1079
|
-
requestId: string;
|
|
1080
|
-
text: string;
|
|
1081
|
-
document?: {
|
|
1082
|
-
path: string;
|
|
1083
|
-
title: string;
|
|
1084
|
-
markdown: string;
|
|
1085
|
-
truncated?: boolean | undefined;
|
|
1086
|
-
plan?: boolean | undefined;
|
|
1087
|
-
} | undefined;
|
|
1088
|
-
kind: "plan";
|
|
1089
|
-
} | {
|
|
1090
|
-
requestId: string;
|
|
1091
|
-
questions: {
|
|
1092
|
-
question: string;
|
|
1093
|
-
header: string;
|
|
1094
|
-
multiSelect: boolean;
|
|
1095
|
-
options: {
|
|
1096
|
-
label: string;
|
|
1097
|
-
description: string;
|
|
1098
|
-
preview?: string | undefined;
|
|
1099
|
-
}[];
|
|
1100
|
-
}[];
|
|
1101
|
-
document?: {
|
|
1102
|
-
path: string;
|
|
1103
|
-
title: string;
|
|
1104
|
-
markdown: string;
|
|
1105
|
-
truncated?: boolean | undefined;
|
|
1106
|
-
plan?: boolean | undefined;
|
|
1107
|
-
} | undefined;
|
|
1108
|
-
kind: "question";
|
|
1109
1160
|
} | {
|
|
1110
1161
|
requestId: string;
|
|
1111
1162
|
session: string;
|
|
@@ -1468,7 +1519,7 @@ export declare const runnerContract: {
|
|
|
1468
1519
|
kind: "error";
|
|
1469
1520
|
message: string;
|
|
1470
1521
|
own?: boolean | undefined;
|
|
1471
|
-
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-setup" | undefined;
|
|
1522
|
+
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-broken" | "workspace-setup" | undefined;
|
|
1472
1523
|
refusal?: {
|
|
1473
1524
|
category?: string | undefined;
|
|
1474
1525
|
resumeAt?: string | undefined;
|
|
@@ -1505,6 +1556,7 @@ export declare const runnerContract: {
|
|
|
1505
1556
|
chosen?: "carry" | "summary" | "trim" | undefined;
|
|
1506
1557
|
} | undefined;
|
|
1507
1558
|
pressOnly?: boolean | undefined;
|
|
1559
|
+
memoryKill?: boolean | undefined;
|
|
1508
1560
|
} | undefined;
|
|
1509
1561
|
outage?: {
|
|
1510
1562
|
retryAt: number;
|
|
@@ -1570,50 +1622,6 @@ export declare const runnerContract: {
|
|
|
1570
1622
|
cachedAt?: number | undefined;
|
|
1571
1623
|
cacheTtlMs?: number | undefined;
|
|
1572
1624
|
kind: "context_usage";
|
|
1573
|
-
} | {
|
|
1574
|
-
toolName: string;
|
|
1575
|
-
title?: string | undefined;
|
|
1576
|
-
displayName?: string | undefined;
|
|
1577
|
-
description?: string | undefined;
|
|
1578
|
-
reason?: string | undefined;
|
|
1579
|
-
path?: string | undefined;
|
|
1580
|
-
alwaysLabel?: string | undefined;
|
|
1581
|
-
alwaysAsks?: true | undefined;
|
|
1582
|
-
program?: {
|
|
1583
|
-
text: string;
|
|
1584
|
-
language: "bash" | "javascript";
|
|
1585
|
-
truncated: boolean;
|
|
1586
|
-
spans: {
|
|
1587
|
-
start: number;
|
|
1588
|
-
end: number;
|
|
1589
|
-
}[];
|
|
1590
|
-
} | undefined;
|
|
1591
|
-
child?: {
|
|
1592
|
-
provider: string;
|
|
1593
|
-
model: string;
|
|
1594
|
-
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
1595
|
-
account?: string | undefined;
|
|
1596
|
-
effort?: string | undefined;
|
|
1597
|
-
thinking?: boolean | undefined;
|
|
1598
|
-
fast?: boolean | undefined;
|
|
1599
|
-
move: "answer" | "send" | "spawn";
|
|
1600
|
-
child?: string | undefined;
|
|
1601
|
-
task?: string | undefined;
|
|
1602
|
-
message?: string | undefined;
|
|
1603
|
-
on?: string | undefined;
|
|
1604
|
-
proposed?: {
|
|
1605
|
-
provider: string;
|
|
1606
|
-
model: string;
|
|
1607
|
-
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
1608
|
-
account?: string | undefined;
|
|
1609
|
-
effort?: string | undefined;
|
|
1610
|
-
thinking?: boolean | undefined;
|
|
1611
|
-
fast?: boolean | undefined;
|
|
1612
|
-
} | undefined;
|
|
1613
|
-
} | undefined;
|
|
1614
|
-
explain?: string | undefined;
|
|
1615
|
-
requestId: string;
|
|
1616
|
-
kind: "permission";
|
|
1617
1625
|
} | {
|
|
1618
1626
|
outcome: "connected" | "unfinished";
|
|
1619
1627
|
id?: string | undefined;
|
|
@@ -1925,6 +1933,9 @@ export declare const runnerContract: {
|
|
|
1925
1933
|
refreshes: z.ZodNumber;
|
|
1926
1934
|
}, z.core.$strip>>;
|
|
1927
1935
|
kind: z.ZodLiteral<"prompt_cache">;
|
|
1936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1937
|
+
kind: z.ZodLiteral<"workspace_repaired">;
|
|
1938
|
+
layers: z.ZodNumber;
|
|
1928
1939
|
}, z.core.$strip>, z.ZodObject<{
|
|
1929
1940
|
status: z.ZodEnum<{
|
|
1930
1941
|
allowed: "allowed";
|
|
@@ -2634,6 +2645,7 @@ export declare const runnerContract: {
|
|
|
2634
2645
|
"trial-unavailable": "trial-unavailable";
|
|
2635
2646
|
"turn-cap": "turn-cap";
|
|
2636
2647
|
"unknown-command": "unknown-command";
|
|
2648
|
+
"workspace-broken": "workspace-broken";
|
|
2637
2649
|
"workspace-setup": "workspace-setup";
|
|
2638
2650
|
}>>;
|
|
2639
2651
|
refusal: z.ZodOptional<z.ZodObject<{
|
|
@@ -2691,6 +2703,7 @@ export declare const runnerContract: {
|
|
|
2691
2703
|
}>>;
|
|
2692
2704
|
}, z.core.$strip>>;
|
|
2693
2705
|
pressOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2706
|
+
memoryKill: z.ZodOptional<z.ZodBoolean>;
|
|
2694
2707
|
}, z.core.$strip>>;
|
|
2695
2708
|
outage: z.ZodOptional<z.ZodObject<{
|
|
2696
2709
|
retryAt: z.ZodNumber;
|
|
@@ -2713,6 +2726,37 @@ export declare const runnerContract: {
|
|
|
2713
2726
|
conversationId: z.ZodString;
|
|
2714
2727
|
after: z.ZodNumber;
|
|
2715
2728
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
2729
|
+
requestId: string;
|
|
2730
|
+
text: string;
|
|
2731
|
+
document?: {
|
|
2732
|
+
path: string;
|
|
2733
|
+
title: string;
|
|
2734
|
+
markdown: string;
|
|
2735
|
+
truncated?: boolean | undefined;
|
|
2736
|
+
plan?: boolean | undefined;
|
|
2737
|
+
} | undefined;
|
|
2738
|
+
kind: "plan";
|
|
2739
|
+
} | {
|
|
2740
|
+
requestId: string;
|
|
2741
|
+
questions: {
|
|
2742
|
+
question: string;
|
|
2743
|
+
header: string;
|
|
2744
|
+
multiSelect: boolean;
|
|
2745
|
+
options: {
|
|
2746
|
+
label: string;
|
|
2747
|
+
description: string;
|
|
2748
|
+
preview?: string | undefined;
|
|
2749
|
+
}[];
|
|
2750
|
+
}[];
|
|
2751
|
+
document?: {
|
|
2752
|
+
path: string;
|
|
2753
|
+
title: string;
|
|
2754
|
+
markdown: string;
|
|
2755
|
+
truncated?: boolean | undefined;
|
|
2756
|
+
plan?: boolean | undefined;
|
|
2757
|
+
} | undefined;
|
|
2758
|
+
kind: "question";
|
|
2759
|
+
} | {
|
|
2716
2760
|
kind: "session";
|
|
2717
2761
|
sessionId: string;
|
|
2718
2762
|
account?: string | undefined;
|
|
@@ -2894,6 +2938,9 @@ export declare const runnerContract: {
|
|
|
2894
2938
|
openingCacheReadTokens?: number | undefined;
|
|
2895
2939
|
openingCacheCreationTokens?: number | undefined;
|
|
2896
2940
|
promptFingerprint?: string | undefined;
|
|
2941
|
+
} | {
|
|
2942
|
+
kind: "workspace_repaired";
|
|
2943
|
+
layers: number;
|
|
2897
2944
|
} | {
|
|
2898
2945
|
kind: "fast_mode";
|
|
2899
2946
|
state: "cooldown" | "off" | "on";
|
|
@@ -2939,37 +2986,6 @@ export declare const runnerContract: {
|
|
|
2939
2986
|
sent?: string | undefined;
|
|
2940
2987
|
kind: "agent_notice";
|
|
2941
2988
|
text: string;
|
|
2942
|
-
} | {
|
|
2943
|
-
requestId: string;
|
|
2944
|
-
text: string;
|
|
2945
|
-
document?: {
|
|
2946
|
-
path: string;
|
|
2947
|
-
title: string;
|
|
2948
|
-
markdown: string;
|
|
2949
|
-
truncated?: boolean | undefined;
|
|
2950
|
-
plan?: boolean | undefined;
|
|
2951
|
-
} | undefined;
|
|
2952
|
-
kind: "plan";
|
|
2953
|
-
} | {
|
|
2954
|
-
requestId: string;
|
|
2955
|
-
questions: {
|
|
2956
|
-
question: string;
|
|
2957
|
-
header: string;
|
|
2958
|
-
multiSelect: boolean;
|
|
2959
|
-
options: {
|
|
2960
|
-
label: string;
|
|
2961
|
-
description: string;
|
|
2962
|
-
preview?: string | undefined;
|
|
2963
|
-
}[];
|
|
2964
|
-
}[];
|
|
2965
|
-
document?: {
|
|
2966
|
-
path: string;
|
|
2967
|
-
title: string;
|
|
2968
|
-
markdown: string;
|
|
2969
|
-
truncated?: boolean | undefined;
|
|
2970
|
-
plan?: boolean | undefined;
|
|
2971
|
-
} | undefined;
|
|
2972
|
-
kind: "question";
|
|
2973
2989
|
} | {
|
|
2974
2990
|
requestId: string;
|
|
2975
2991
|
session: string;
|
|
@@ -3330,7 +3346,7 @@ export declare const runnerContract: {
|
|
|
3330
3346
|
kind: "error";
|
|
3331
3347
|
message: string;
|
|
3332
3348
|
own?: boolean | undefined;
|
|
3333
|
-
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-setup" | undefined;
|
|
3349
|
+
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-broken" | "workspace-setup" | undefined;
|
|
3334
3350
|
refusal?: {
|
|
3335
3351
|
category?: string | undefined;
|
|
3336
3352
|
resumeAt?: string | undefined;
|
|
@@ -3367,6 +3383,7 @@ export declare const runnerContract: {
|
|
|
3367
3383
|
chosen?: "carry" | "summary" | "trim" | undefined;
|
|
3368
3384
|
} | undefined;
|
|
3369
3385
|
pressOnly?: boolean | undefined;
|
|
3386
|
+
memoryKill?: boolean | undefined;
|
|
3370
3387
|
} | undefined;
|
|
3371
3388
|
outage?: {
|
|
3372
3389
|
retryAt: number;
|
|
@@ -3383,6 +3400,50 @@ export declare const runnerContract: {
|
|
|
3383
3400
|
unattended?: boolean | undefined;
|
|
3384
3401
|
} | {
|
|
3385
3402
|
kind: "done";
|
|
3403
|
+
} | {
|
|
3404
|
+
toolName: string;
|
|
3405
|
+
title?: string | undefined;
|
|
3406
|
+
displayName?: string | undefined;
|
|
3407
|
+
description?: string | undefined;
|
|
3408
|
+
reason?: string | undefined;
|
|
3409
|
+
path?: string | undefined;
|
|
3410
|
+
alwaysLabel?: string | undefined;
|
|
3411
|
+
alwaysAsks?: true | undefined;
|
|
3412
|
+
program?: {
|
|
3413
|
+
text: string;
|
|
3414
|
+
language: "bash" | "javascript";
|
|
3415
|
+
truncated: boolean;
|
|
3416
|
+
spans: {
|
|
3417
|
+
start: number;
|
|
3418
|
+
end: number;
|
|
3419
|
+
}[];
|
|
3420
|
+
} | undefined;
|
|
3421
|
+
child?: {
|
|
3422
|
+
provider: string;
|
|
3423
|
+
model: string;
|
|
3424
|
+
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
3425
|
+
account?: string | undefined;
|
|
3426
|
+
effort?: string | undefined;
|
|
3427
|
+
thinking?: boolean | undefined;
|
|
3428
|
+
fast?: boolean | undefined;
|
|
3429
|
+
move: "answer" | "send" | "spawn";
|
|
3430
|
+
child?: string | undefined;
|
|
3431
|
+
task?: string | undefined;
|
|
3432
|
+
message?: string | undefined;
|
|
3433
|
+
on?: string | undefined;
|
|
3434
|
+
proposed?: {
|
|
3435
|
+
provider: string;
|
|
3436
|
+
model: string;
|
|
3437
|
+
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
3438
|
+
account?: string | undefined;
|
|
3439
|
+
effort?: string | undefined;
|
|
3440
|
+
thinking?: boolean | undefined;
|
|
3441
|
+
fast?: boolean | undefined;
|
|
3442
|
+
} | undefined;
|
|
3443
|
+
} | undefined;
|
|
3444
|
+
explain?: string | undefined;
|
|
3445
|
+
requestId: string;
|
|
3446
|
+
kind: "permission";
|
|
3386
3447
|
} | {
|
|
3387
3448
|
window: number;
|
|
3388
3449
|
omitted: string[];
|
|
@@ -3432,6 +3493,54 @@ export declare const runnerContract: {
|
|
|
3432
3493
|
cachedAt?: number | undefined;
|
|
3433
3494
|
cacheTtlMs?: number | undefined;
|
|
3434
3495
|
kind: "context_usage";
|
|
3496
|
+
} | {
|
|
3497
|
+
outcome: "connected" | "unfinished";
|
|
3498
|
+
id?: string | undefined;
|
|
3499
|
+
kind: "capability_outcome";
|
|
3500
|
+
requestId: string;
|
|
3501
|
+
} | {
|
|
3502
|
+
outcome: "failed" | "paid";
|
|
3503
|
+
amountUsd: string;
|
|
3504
|
+
transaction?: string | undefined;
|
|
3505
|
+
network?: string | undefined;
|
|
3506
|
+
kind: "payment_receipt";
|
|
3507
|
+
requestId: string;
|
|
3508
|
+
} | {
|
|
3509
|
+
outcome: "refused" | "released";
|
|
3510
|
+
approvedBy?: string | undefined;
|
|
3511
|
+
kind: "credential_receipt";
|
|
3512
|
+
requestId: string;
|
|
3513
|
+
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3514
|
+
requestId: string;
|
|
3515
|
+
text: string;
|
|
3516
|
+
document?: {
|
|
3517
|
+
path: string;
|
|
3518
|
+
title: string;
|
|
3519
|
+
markdown: string;
|
|
3520
|
+
truncated?: boolean | undefined;
|
|
3521
|
+
plan?: boolean | undefined;
|
|
3522
|
+
} | undefined;
|
|
3523
|
+
kind: "plan";
|
|
3524
|
+
} | {
|
|
3525
|
+
requestId: string;
|
|
3526
|
+
questions: {
|
|
3527
|
+
question: string;
|
|
3528
|
+
header: string;
|
|
3529
|
+
multiSelect: boolean;
|
|
3530
|
+
options: {
|
|
3531
|
+
label: string;
|
|
3532
|
+
description: string;
|
|
3533
|
+
preview?: string | undefined;
|
|
3534
|
+
}[];
|
|
3535
|
+
}[];
|
|
3536
|
+
document?: {
|
|
3537
|
+
path: string;
|
|
3538
|
+
title: string;
|
|
3539
|
+
markdown: string;
|
|
3540
|
+
truncated?: boolean | undefined;
|
|
3541
|
+
plan?: boolean | undefined;
|
|
3542
|
+
} | undefined;
|
|
3543
|
+
kind: "question";
|
|
3435
3544
|
} | {
|
|
3436
3545
|
toolName: string;
|
|
3437
3546
|
title?: string | undefined;
|
|
@@ -3477,23 +3586,6 @@ export declare const runnerContract: {
|
|
|
3477
3586
|
requestId: string;
|
|
3478
3587
|
kind: "permission";
|
|
3479
3588
|
} | {
|
|
3480
|
-
outcome: "connected" | "unfinished";
|
|
3481
|
-
id?: string | undefined;
|
|
3482
|
-
kind: "capability_outcome";
|
|
3483
|
-
requestId: string;
|
|
3484
|
-
} | {
|
|
3485
|
-
outcome: "failed" | "paid";
|
|
3486
|
-
amountUsd: string;
|
|
3487
|
-
transaction?: string | undefined;
|
|
3488
|
-
network?: string | undefined;
|
|
3489
|
-
kind: "payment_receipt";
|
|
3490
|
-
requestId: string;
|
|
3491
|
-
} | {
|
|
3492
|
-
outcome: "refused" | "released";
|
|
3493
|
-
approvedBy?: string | undefined;
|
|
3494
|
-
kind: "credential_receipt";
|
|
3495
|
-
requestId: string;
|
|
3496
|
-
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3497
3589
|
kind: "session";
|
|
3498
3590
|
sessionId: string;
|
|
3499
3591
|
account?: string | undefined;
|
|
@@ -3675,6 +3767,9 @@ export declare const runnerContract: {
|
|
|
3675
3767
|
openingCacheReadTokens?: number | undefined;
|
|
3676
3768
|
openingCacheCreationTokens?: number | undefined;
|
|
3677
3769
|
promptFingerprint?: string | undefined;
|
|
3770
|
+
} | {
|
|
3771
|
+
kind: "workspace_repaired";
|
|
3772
|
+
layers: number;
|
|
3678
3773
|
} | {
|
|
3679
3774
|
kind: "fast_mode";
|
|
3680
3775
|
state: "cooldown" | "off" | "on";
|
|
@@ -3720,37 +3815,6 @@ export declare const runnerContract: {
|
|
|
3720
3815
|
sent?: string | undefined;
|
|
3721
3816
|
kind: "agent_notice";
|
|
3722
3817
|
text: string;
|
|
3723
|
-
} | {
|
|
3724
|
-
requestId: string;
|
|
3725
|
-
text: string;
|
|
3726
|
-
document?: {
|
|
3727
|
-
path: string;
|
|
3728
|
-
title: string;
|
|
3729
|
-
markdown: string;
|
|
3730
|
-
truncated?: boolean | undefined;
|
|
3731
|
-
plan?: boolean | undefined;
|
|
3732
|
-
} | undefined;
|
|
3733
|
-
kind: "plan";
|
|
3734
|
-
} | {
|
|
3735
|
-
requestId: string;
|
|
3736
|
-
questions: {
|
|
3737
|
-
question: string;
|
|
3738
|
-
header: string;
|
|
3739
|
-
multiSelect: boolean;
|
|
3740
|
-
options: {
|
|
3741
|
-
label: string;
|
|
3742
|
-
description: string;
|
|
3743
|
-
preview?: string | undefined;
|
|
3744
|
-
}[];
|
|
3745
|
-
}[];
|
|
3746
|
-
document?: {
|
|
3747
|
-
path: string;
|
|
3748
|
-
title: string;
|
|
3749
|
-
markdown: string;
|
|
3750
|
-
truncated?: boolean | undefined;
|
|
3751
|
-
plan?: boolean | undefined;
|
|
3752
|
-
} | undefined;
|
|
3753
|
-
kind: "question";
|
|
3754
3818
|
} | {
|
|
3755
3819
|
requestId: string;
|
|
3756
3820
|
session: string;
|
|
@@ -4113,7 +4177,7 @@ export declare const runnerContract: {
|
|
|
4113
4177
|
kind: "error";
|
|
4114
4178
|
message: string;
|
|
4115
4179
|
own?: boolean | undefined;
|
|
4116
|
-
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-setup" | undefined;
|
|
4180
|
+
code?: "account-not-allowed" | "account-not-entitled" | "acp-auth-required" | "agent-busy" | "agent-domain-refused" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-instructions" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-disk-low" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "tools-unenforced" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | "workspace-broken" | "workspace-setup" | undefined;
|
|
4117
4181
|
refusal?: {
|
|
4118
4182
|
category?: string | undefined;
|
|
4119
4183
|
resumeAt?: string | undefined;
|
|
@@ -4150,6 +4214,7 @@ export declare const runnerContract: {
|
|
|
4150
4214
|
chosen?: "carry" | "summary" | "trim" | undefined;
|
|
4151
4215
|
} | undefined;
|
|
4152
4216
|
pressOnly?: boolean | undefined;
|
|
4217
|
+
memoryKill?: boolean | undefined;
|
|
4153
4218
|
} | undefined;
|
|
4154
4219
|
outage?: {
|
|
4155
4220
|
retryAt: number;
|
|
@@ -4215,50 +4280,6 @@ export declare const runnerContract: {
|
|
|
4215
4280
|
cachedAt?: number | undefined;
|
|
4216
4281
|
cacheTtlMs?: number | undefined;
|
|
4217
4282
|
kind: "context_usage";
|
|
4218
|
-
} | {
|
|
4219
|
-
toolName: string;
|
|
4220
|
-
title?: string | undefined;
|
|
4221
|
-
displayName?: string | undefined;
|
|
4222
|
-
description?: string | undefined;
|
|
4223
|
-
reason?: string | undefined;
|
|
4224
|
-
path?: string | undefined;
|
|
4225
|
-
alwaysLabel?: string | undefined;
|
|
4226
|
-
alwaysAsks?: true | undefined;
|
|
4227
|
-
program?: {
|
|
4228
|
-
text: string;
|
|
4229
|
-
language: "bash" | "javascript";
|
|
4230
|
-
truncated: boolean;
|
|
4231
|
-
spans: {
|
|
4232
|
-
start: number;
|
|
4233
|
-
end: number;
|
|
4234
|
-
}[];
|
|
4235
|
-
} | undefined;
|
|
4236
|
-
child?: {
|
|
4237
|
-
provider: string;
|
|
4238
|
-
model: string;
|
|
4239
|
-
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
4240
|
-
account?: string | undefined;
|
|
4241
|
-
effort?: string | undefined;
|
|
4242
|
-
thinking?: boolean | undefined;
|
|
4243
|
-
fast?: boolean | undefined;
|
|
4244
|
-
move: "answer" | "send" | "spawn";
|
|
4245
|
-
child?: string | undefined;
|
|
4246
|
-
task?: string | undefined;
|
|
4247
|
-
message?: string | undefined;
|
|
4248
|
-
on?: string | undefined;
|
|
4249
|
-
proposed?: {
|
|
4250
|
-
provider: string;
|
|
4251
|
-
model: string;
|
|
4252
|
-
harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
|
|
4253
|
-
account?: string | undefined;
|
|
4254
|
-
effort?: string | undefined;
|
|
4255
|
-
thinking?: boolean | undefined;
|
|
4256
|
-
fast?: boolean | undefined;
|
|
4257
|
-
} | undefined;
|
|
4258
|
-
} | undefined;
|
|
4259
|
-
explain?: string | undefined;
|
|
4260
|
-
requestId: string;
|
|
4261
|
-
kind: "permission";
|
|
4262
4283
|
} | {
|
|
4263
4284
|
outcome: "connected" | "unfinished";
|
|
4264
4285
|
id?: string | undefined;
|
|
@@ -4570,6 +4591,9 @@ export declare const runnerContract: {
|
|
|
4570
4591
|
refreshes: z.ZodNumber;
|
|
4571
4592
|
}, z.core.$strip>>;
|
|
4572
4593
|
kind: z.ZodLiteral<"prompt_cache">;
|
|
4594
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4595
|
+
kind: z.ZodLiteral<"workspace_repaired">;
|
|
4596
|
+
layers: z.ZodNumber;
|
|
4573
4597
|
}, z.core.$strip>, z.ZodObject<{
|
|
4574
4598
|
status: z.ZodEnum<{
|
|
4575
4599
|
allowed: "allowed";
|
|
@@ -5279,6 +5303,7 @@ export declare const runnerContract: {
|
|
|
5279
5303
|
"trial-unavailable": "trial-unavailable";
|
|
5280
5304
|
"turn-cap": "turn-cap";
|
|
5281
5305
|
"unknown-command": "unknown-command";
|
|
5306
|
+
"workspace-broken": "workspace-broken";
|
|
5282
5307
|
"workspace-setup": "workspace-setup";
|
|
5283
5308
|
}>>;
|
|
5284
5309
|
refusal: z.ZodOptional<z.ZodObject<{
|
|
@@ -5336,6 +5361,7 @@ export declare const runnerContract: {
|
|
|
5336
5361
|
}>>;
|
|
5337
5362
|
}, z.core.$strip>>;
|
|
5338
5363
|
pressOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5364
|
+
memoryKill: z.ZodOptional<z.ZodBoolean>;
|
|
5339
5365
|
}, z.core.$strip>>;
|
|
5340
5366
|
outage: z.ZodOptional<z.ZodObject<{
|
|
5341
5367
|
retryAt: z.ZodNumber;
|