@intentic/sandbox-contract 1.226.1 → 1.228.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/dist/agent-catalog.d.ts +2 -2
- package/dist/agent-catalog.d.ts.map +1 -1
- package/dist/agent-catalog.js +26 -1
- package/dist/agent-catalog.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +19 -2
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +62 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +2 -2
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +7 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/cursor.contract.d.ts +63 -0
- package/dist/contracts/cursor.contract.d.ts.map +1 -0
- package/dist/contracts/cursor.contract.js +49 -0
- package/dist/contracts/cursor.contract.js.map +1 -0
- package/dist/contracts/endpoints.contract.d.ts +1 -0
- package/dist/contracts/endpoints.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +1 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/logs.contract.d.ts +17 -0
- package/dist/contracts/logs.contract.d.ts.map +1 -1
- package/dist/contracts/logs.contract.js +10 -1
- package/dist/contracts/logs.contract.js.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/sessions.contract.d.ts +3 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +19 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +21 -14
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/events.d.ts +46 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +14 -0
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +271 -70
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/prompt-complexity.d.ts +9 -1
- package/dist/prompt-complexity.d.ts.map +1 -1
- package/dist/prompt-complexity.js +13 -5
- package/dist/prompt-complexity.js.map +1 -1
- package/dist/request-id.d.ts +3 -0
- package/dist/request-id.d.ts.map +1 -0
- package/dist/request-id.js +3 -0
- package/dist/request-id.js.map +1 -0
- package/dist/schemas.d.ts +268 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +79 -1
- package/dist/schemas.js.map +1 -1
- package/dist/starter.d.ts +3 -0
- package/dist/starter.d.ts.map +1 -0
- package/dist/starter.js +3 -0
- package/dist/starter.js.map +1 -0
- package/package.json +6 -5
- package/src/agent-catalog.test.ts +2 -2
- package/src/agent-catalog.ts +123 -13
- package/src/contract-lock.test.ts +8 -2
- package/src/contracts/agents.contract.ts +2 -1
- package/src/contracts/cursor.contract.ts +74 -0
- package/src/contracts/logs.contract.ts +23 -2
- package/src/events.ts +62 -6
- package/src/index.ts +5 -0
- package/src/prompt-complexity.test.ts +69 -0
- package/src/prompt-complexity.ts +102 -39
- package/src/request-id.ts +41 -0
- package/src/schemas.ts +276 -2
- package/src/starter.ts +13 -0
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { capabilitiesContract } from "./contracts/capabilities.contract.js";
|
|
|
7
7
|
export { choresContract } from "./contracts/chores.contract.js";
|
|
8
8
|
export { ciContract } from "./contracts/ci.contract.js";
|
|
9
9
|
export { claudeContract } from "./contracts/claude.contract.js";
|
|
10
|
+
export { cursorContract } from "./contracts/cursor.contract.js";
|
|
10
11
|
export { draftsContract } from "./contracts/drafts.contract.js";
|
|
11
12
|
export { endpointsContract, type TrialHealth, TrialStatusSchema, type TrialStatusResponse } from "./contracts/endpoints.contract.js";
|
|
12
13
|
export { exitContract } from "./contracts/exit.contract.js";
|
|
@@ -19,6 +20,7 @@ export { hostContract } from "./contracts/host.contract.js";
|
|
|
19
20
|
export { intenticContract } from "./contracts/intentic.contract.js";
|
|
20
21
|
export { inventoryContract } from "./contracts/inventory.contract.js";
|
|
21
22
|
export { logsContract } from "./contracts/logs.contract.js";
|
|
23
|
+
export { REQUEST_ID_EVIDENCE_ROUTE, REQUEST_ID_HEADER } from "./request-id.js";
|
|
22
24
|
export { loopsContract } from "./contracts/loops.contract.js";
|
|
23
25
|
export { panelsContract } from "./contracts/panels.contract.js";
|
|
24
26
|
export { portsContract } from "./contracts/ports.contract.js";
|
|
@@ -62,6 +64,7 @@ export * from "./output-fields.js";
|
|
|
62
64
|
export * from "./publish-drafts.js";
|
|
63
65
|
export * from "./schemas.js";
|
|
64
66
|
export * from "./search-globs.js";
|
|
67
|
+
export * from "./starter.js";
|
|
65
68
|
export * from "./terminal-protocol.js";
|
|
66
69
|
export * from "./title.js";
|
|
67
70
|
export * from "./versions.js";
|
|
@@ -176,6 +179,7 @@ export declare const sandboxContract: {
|
|
|
176
179
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
180
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
178
181
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
182
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
179
183
|
editorContext: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
180
184
|
file: import("zod").ZodString;
|
|
181
185
|
startLine: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -199,33 +203,6 @@ export declare const sandboxContract: {
|
|
|
199
203
|
kind: "frame";
|
|
200
204
|
seq: number;
|
|
201
205
|
event: {
|
|
202
|
-
kind: "plan";
|
|
203
|
-
requestId: string;
|
|
204
|
-
text: string;
|
|
205
|
-
} | {
|
|
206
|
-
kind: "question";
|
|
207
|
-
requestId: string;
|
|
208
|
-
questions: {
|
|
209
|
-
question: string;
|
|
210
|
-
header: string;
|
|
211
|
-
multiSelect: boolean;
|
|
212
|
-
options: {
|
|
213
|
-
label: string;
|
|
214
|
-
description: string;
|
|
215
|
-
preview?: string | undefined;
|
|
216
|
-
}[];
|
|
217
|
-
}[];
|
|
218
|
-
} | {
|
|
219
|
-
toolName: string;
|
|
220
|
-
title?: string | undefined;
|
|
221
|
-
displayName?: string | undefined;
|
|
222
|
-
description?: string | undefined;
|
|
223
|
-
reason?: string | undefined;
|
|
224
|
-
path?: string | undefined;
|
|
225
|
-
alwaysLabel?: string | undefined;
|
|
226
|
-
kind: "permission";
|
|
227
|
-
requestId: string;
|
|
228
|
-
} | {
|
|
229
206
|
kind: "session";
|
|
230
207
|
sessionId: string;
|
|
231
208
|
} | {
|
|
@@ -389,6 +366,14 @@ export declare const sandboxContract: {
|
|
|
389
366
|
kind: "fast_mode";
|
|
390
367
|
state: "cooldown" | "off" | "on";
|
|
391
368
|
reason?: string | undefined;
|
|
369
|
+
} | {
|
|
370
|
+
kind: "tier";
|
|
371
|
+
tier: "fast" | "standard";
|
|
372
|
+
score: number;
|
|
373
|
+
rules: string[];
|
|
374
|
+
model?: string | undefined;
|
|
375
|
+
routed: boolean;
|
|
376
|
+
held?: boolean | undefined;
|
|
392
377
|
} | {
|
|
393
378
|
kind: "provider_retry";
|
|
394
379
|
attempt: number;
|
|
@@ -413,6 +398,33 @@ export declare const sandboxContract: {
|
|
|
413
398
|
trigger: string;
|
|
414
399
|
preTokens?: number | undefined;
|
|
415
400
|
postTokens?: number | undefined;
|
|
401
|
+
} | {
|
|
402
|
+
kind: "plan";
|
|
403
|
+
requestId: string;
|
|
404
|
+
text: string;
|
|
405
|
+
} | {
|
|
406
|
+
kind: "question";
|
|
407
|
+
requestId: string;
|
|
408
|
+
questions: {
|
|
409
|
+
question: string;
|
|
410
|
+
header: string;
|
|
411
|
+
multiSelect: boolean;
|
|
412
|
+
options: {
|
|
413
|
+
label: string;
|
|
414
|
+
description: string;
|
|
415
|
+
preview?: string | undefined;
|
|
416
|
+
}[];
|
|
417
|
+
}[];
|
|
418
|
+
} | {
|
|
419
|
+
toolName: string;
|
|
420
|
+
title?: string | undefined;
|
|
421
|
+
displayName?: string | undefined;
|
|
422
|
+
description?: string | undefined;
|
|
423
|
+
reason?: string | undefined;
|
|
424
|
+
path?: string | undefined;
|
|
425
|
+
alwaysLabel?: string | undefined;
|
|
426
|
+
kind: "permission";
|
|
427
|
+
requestId: string;
|
|
416
428
|
} | {
|
|
417
429
|
kind: "browser_help";
|
|
418
430
|
requestId: string;
|
|
@@ -540,7 +552,7 @@ export declare const sandboxContract: {
|
|
|
540
552
|
} | {
|
|
541
553
|
kind: "error";
|
|
542
554
|
message: string;
|
|
543
|
-
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
555
|
+
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
544
556
|
resetsAt?: number | undefined;
|
|
545
557
|
autoResume?: "available" | "scheduled" | undefined;
|
|
546
558
|
outage?: {
|
|
@@ -563,33 +575,6 @@ export declare const sandboxContract: {
|
|
|
563
575
|
kind: "frame";
|
|
564
576
|
seq: number;
|
|
565
577
|
event: {
|
|
566
|
-
kind: "plan";
|
|
567
|
-
requestId: string;
|
|
568
|
-
text: string;
|
|
569
|
-
} | {
|
|
570
|
-
kind: "question";
|
|
571
|
-
requestId: string;
|
|
572
|
-
questions: {
|
|
573
|
-
question: string;
|
|
574
|
-
header: string;
|
|
575
|
-
multiSelect: boolean;
|
|
576
|
-
options: {
|
|
577
|
-
label: string;
|
|
578
|
-
description: string;
|
|
579
|
-
preview?: string | undefined;
|
|
580
|
-
}[];
|
|
581
|
-
}[];
|
|
582
|
-
} | {
|
|
583
|
-
toolName: string;
|
|
584
|
-
title?: string | undefined;
|
|
585
|
-
displayName?: string | undefined;
|
|
586
|
-
description?: string | undefined;
|
|
587
|
-
reason?: string | undefined;
|
|
588
|
-
path?: string | undefined;
|
|
589
|
-
alwaysLabel?: string | undefined;
|
|
590
|
-
kind: "permission";
|
|
591
|
-
requestId: string;
|
|
592
|
-
} | {
|
|
593
578
|
kind: "session";
|
|
594
579
|
sessionId: string;
|
|
595
580
|
} | {
|
|
@@ -753,6 +738,14 @@ export declare const sandboxContract: {
|
|
|
753
738
|
kind: "fast_mode";
|
|
754
739
|
state: "cooldown" | "off" | "on";
|
|
755
740
|
reason?: string | undefined;
|
|
741
|
+
} | {
|
|
742
|
+
kind: "tier";
|
|
743
|
+
tier: "fast" | "standard";
|
|
744
|
+
score: number;
|
|
745
|
+
rules: string[];
|
|
746
|
+
model?: string | undefined;
|
|
747
|
+
routed: boolean;
|
|
748
|
+
held?: boolean | undefined;
|
|
756
749
|
} | {
|
|
757
750
|
kind: "provider_retry";
|
|
758
751
|
attempt: number;
|
|
@@ -777,6 +770,33 @@ export declare const sandboxContract: {
|
|
|
777
770
|
trigger: string;
|
|
778
771
|
preTokens?: number | undefined;
|
|
779
772
|
postTokens?: number | undefined;
|
|
773
|
+
} | {
|
|
774
|
+
kind: "plan";
|
|
775
|
+
requestId: string;
|
|
776
|
+
text: string;
|
|
777
|
+
} | {
|
|
778
|
+
kind: "question";
|
|
779
|
+
requestId: string;
|
|
780
|
+
questions: {
|
|
781
|
+
question: string;
|
|
782
|
+
header: string;
|
|
783
|
+
multiSelect: boolean;
|
|
784
|
+
options: {
|
|
785
|
+
label: string;
|
|
786
|
+
description: string;
|
|
787
|
+
preview?: string | undefined;
|
|
788
|
+
}[];
|
|
789
|
+
}[];
|
|
790
|
+
} | {
|
|
791
|
+
toolName: string;
|
|
792
|
+
title?: string | undefined;
|
|
793
|
+
displayName?: string | undefined;
|
|
794
|
+
description?: string | undefined;
|
|
795
|
+
reason?: string | undefined;
|
|
796
|
+
path?: string | undefined;
|
|
797
|
+
alwaysLabel?: string | undefined;
|
|
798
|
+
kind: "permission";
|
|
799
|
+
requestId: string;
|
|
780
800
|
} | {
|
|
781
801
|
kind: "browser_help";
|
|
782
802
|
requestId: string;
|
|
@@ -904,7 +924,7 @@ export declare const sandboxContract: {
|
|
|
904
924
|
} | {
|
|
905
925
|
kind: "error";
|
|
906
926
|
message: string;
|
|
907
|
-
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
927
|
+
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
908
928
|
resetsAt?: number | undefined;
|
|
909
929
|
autoResume?: "available" | "scheduled" | undefined;
|
|
910
930
|
outage?: {
|
|
@@ -1038,6 +1058,11 @@ export declare const sandboxContract: {
|
|
|
1038
1058
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1039
1059
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1040
1060
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1061
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1062
|
+
fast: "fast";
|
|
1063
|
+
standard: "standard";
|
|
1064
|
+
}>>;
|
|
1065
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1041
1066
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1042
1067
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1043
1068
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1194,6 +1219,11 @@ export declare const sandboxContract: {
|
|
|
1194
1219
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1195
1220
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1196
1221
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1222
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1223
|
+
fast: "fast";
|
|
1224
|
+
standard: "standard";
|
|
1225
|
+
}>>;
|
|
1226
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1197
1227
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1198
1228
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1199
1229
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1368,6 +1398,11 @@ export declare const sandboxContract: {
|
|
|
1368
1398
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1369
1399
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1370
1400
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1401
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1402
|
+
fast: "fast";
|
|
1403
|
+
standard: "standard";
|
|
1404
|
+
}>>;
|
|
1405
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1371
1406
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1372
1407
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1373
1408
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1498,6 +1533,9 @@ export declare const sandboxContract: {
|
|
|
1498
1533
|
text: import("zod").ZodString;
|
|
1499
1534
|
}, import("zod/v4/core").$strip>>>;
|
|
1500
1535
|
placed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1536
|
+
noticeAction: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1537
|
+
tierHold: "tierHold";
|
|
1538
|
+
}>>;
|
|
1501
1539
|
}, import("zod/v4/core").$strip>>;
|
|
1502
1540
|
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1503
1541
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -1537,6 +1575,11 @@ export declare const sandboxContract: {
|
|
|
1537
1575
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1538
1576
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1539
1577
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1578
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1579
|
+
fast: "fast";
|
|
1580
|
+
standard: "standard";
|
|
1581
|
+
}>>;
|
|
1582
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1540
1583
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1541
1584
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1542
1585
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1677,6 +1720,11 @@ export declare const sandboxContract: {
|
|
|
1677
1720
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1678
1721
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1679
1722
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1723
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1724
|
+
fast: "fast";
|
|
1725
|
+
standard: "standard";
|
|
1726
|
+
}>>;
|
|
1727
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1680
1728
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1681
1729
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1682
1730
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1817,6 +1865,11 @@ export declare const sandboxContract: {
|
|
|
1817
1865
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1818
1866
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1819
1867
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1868
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1869
|
+
fast: "fast";
|
|
1870
|
+
standard: "standard";
|
|
1871
|
+
}>>;
|
|
1872
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1820
1873
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1821
1874
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1822
1875
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1956,6 +2009,11 @@ export declare const sandboxContract: {
|
|
|
1956
2009
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1957
2010
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1958
2011
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2012
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2013
|
+
fast: "fast";
|
|
2014
|
+
standard: "standard";
|
|
2015
|
+
}>>;
|
|
2016
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1959
2017
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1960
2018
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1961
2019
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2094,6 +2152,11 @@ export declare const sandboxContract: {
|
|
|
2094
2152
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2095
2153
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2096
2154
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2155
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2156
|
+
fast: "fast";
|
|
2157
|
+
standard: "standard";
|
|
2158
|
+
}>>;
|
|
2159
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2097
2160
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2098
2161
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2099
2162
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2334,6 +2397,11 @@ export declare const sandboxContract: {
|
|
|
2334
2397
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2335
2398
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2336
2399
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2400
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2401
|
+
fast: "fast";
|
|
2402
|
+
standard: "standard";
|
|
2403
|
+
}>>;
|
|
2404
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2337
2405
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2338
2406
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2339
2407
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2479,6 +2547,11 @@ export declare const sandboxContract: {
|
|
|
2479
2547
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2480
2548
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2481
2549
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2550
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2551
|
+
fast: "fast";
|
|
2552
|
+
standard: "standard";
|
|
2553
|
+
}>>;
|
|
2554
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2482
2555
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2483
2556
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2484
2557
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -2590,6 +2663,10 @@ export declare const sandboxContract: {
|
|
|
2590
2663
|
archivedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2591
2664
|
}, import("zod/v4/core").$strip>>;
|
|
2592
2665
|
rev: import("zod").ZodNumber;
|
|
2666
|
+
failed: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2667
|
+
id: import("zod").ZodString;
|
|
2668
|
+
reason: import("zod").ZodString;
|
|
2669
|
+
}, import("zod/v4/core").$strip>>;
|
|
2593
2670
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2594
2671
|
unarchive: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2595
2672
|
ids: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -2621,6 +2698,11 @@ export declare const sandboxContract: {
|
|
|
2621
2698
|
effort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2622
2699
|
thinking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2623
2700
|
fast: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2701
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2702
|
+
fast: "fast";
|
|
2703
|
+
standard: "standard";
|
|
2704
|
+
}>>;
|
|
2705
|
+
tierHold: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2624
2706
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2625
2707
|
branch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2626
2708
|
autoLand: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -3313,6 +3395,13 @@ export declare const sandboxContract: {
|
|
|
3313
3395
|
on: "on";
|
|
3314
3396
|
}>>;
|
|
3315
3397
|
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
3398
|
+
context: import("zod").ZodDefault<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
|
|
3399
|
+
131072: "131072";
|
|
3400
|
+
16384: "16384";
|
|
3401
|
+
32768: "32768";
|
|
3402
|
+
65536: "65536";
|
|
3403
|
+
}>, import("zod").ZodLiteral<"custom">]>>;
|
|
3404
|
+
contextTokens: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
3316
3405
|
}, import("zod/v4/core").$strip>;
|
|
3317
3406
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3318
3407
|
id: import("zod").ZodString;
|
|
@@ -3810,6 +3899,68 @@ export declare const sandboxContract: {
|
|
|
3810
3899
|
ok: import("zod").ZodLiteral<true>;
|
|
3811
3900
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3812
3901
|
};
|
|
3902
|
+
cursor: {
|
|
3903
|
+
start: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
3904
|
+
url: import("zod").ZodString;
|
|
3905
|
+
handshake: import("zod").ZodString;
|
|
3906
|
+
expiresAt: import("zod").ZodNumber;
|
|
3907
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3908
|
+
cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3909
|
+
handshake: import("zod").ZodString;
|
|
3910
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3911
|
+
ok: import("zod").ZodLiteral<true>;
|
|
3912
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3913
|
+
accounts: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3914
|
+
force: import("zod").ZodDefault<import("zod").ZodCodec<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
3915
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3916
|
+
accounts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3917
|
+
id: import("zod").ZodString;
|
|
3918
|
+
label: import("zod").ZodString;
|
|
3919
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3920
|
+
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3921
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3922
|
+
connectedAt: import("zod").ZodNumber;
|
|
3923
|
+
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3924
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3925
|
+
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3926
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3927
|
+
kind: import("zod").ZodString;
|
|
3928
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3929
|
+
utilization: import("zod").ZodNumber;
|
|
3930
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3931
|
+
}, import("zod/v4/core").$strip>>;
|
|
3932
|
+
measuredAt: import("zod").ZodNumber;
|
|
3933
|
+
}, import("zod/v4/core").$strip>>;
|
|
3934
|
+
}, import("zod/v4/core").$strip>>;
|
|
3935
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3936
|
+
rename: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3937
|
+
id: import("zod").ZodString;
|
|
3938
|
+
label: import("zod").ZodString;
|
|
3939
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3940
|
+
id: import("zod").ZodString;
|
|
3941
|
+
label: import("zod").ZodString;
|
|
3942
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3943
|
+
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3944
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3945
|
+
connectedAt: import("zod").ZodNumber;
|
|
3946
|
+
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3947
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3948
|
+
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3949
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3950
|
+
kind: import("zod").ZodString;
|
|
3951
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3952
|
+
utilization: import("zod").ZodNumber;
|
|
3953
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3954
|
+
}, import("zod/v4/core").$strip>>;
|
|
3955
|
+
measuredAt: import("zod").ZodNumber;
|
|
3956
|
+
}, import("zod/v4/core").$strip>>;
|
|
3957
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3958
|
+
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3959
|
+
id: import("zod").ZodString;
|
|
3960
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3961
|
+
ok: import("zod").ZodLiteral<true>;
|
|
3962
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3963
|
+
};
|
|
3813
3964
|
drafts: {
|
|
3814
3965
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
3815
3966
|
drafts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -3879,6 +4030,7 @@ export declare const sandboxContract: {
|
|
|
3879
4030
|
fast: "fast";
|
|
3880
4031
|
reasoning: "reasoning";
|
|
3881
4032
|
}>>>;
|
|
4033
|
+
contextWindow: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3882
4034
|
}, import("zod/v4/core").$strip>>;
|
|
3883
4035
|
default: import("zod").ZodString;
|
|
3884
4036
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -3997,6 +4149,7 @@ export declare const sandboxContract: {
|
|
|
3997
4149
|
env: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
3998
4150
|
skill: import("zod").ZodString;
|
|
3999
4151
|
fragment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4152
|
+
pack: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4000
4153
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4001
4154
|
id: import("zod").ZodString;
|
|
4002
4155
|
catalog: import("zod").ZodObject<{
|
|
@@ -4547,6 +4700,9 @@ export declare const sandboxContract: {
|
|
|
4547
4700
|
text: import("zod").ZodString;
|
|
4548
4701
|
}, import("zod/v4/core").$strip>>>;
|
|
4549
4702
|
placed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4703
|
+
noticeAction: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4704
|
+
tierHold: "tierHold";
|
|
4705
|
+
}>>;
|
|
4550
4706
|
}, import("zod/v4/core").$strip>>;
|
|
4551
4707
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
4552
4708
|
};
|
|
@@ -4577,6 +4733,11 @@ export declare const sandboxContract: {
|
|
|
4577
4733
|
on: "on";
|
|
4578
4734
|
shadow: "shadow";
|
|
4579
4735
|
}>>;
|
|
4736
|
+
autoTierEagerness: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
4737
|
+
balanced: "balanced";
|
|
4738
|
+
cautious: "cautious";
|
|
4739
|
+
eager: "eager";
|
|
4740
|
+
}>>;
|
|
4580
4741
|
autoFastModels: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
4581
4742
|
agentRetentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
4582
4743
|
resumeAfterOutage: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -4697,6 +4858,11 @@ export declare const sandboxContract: {
|
|
|
4697
4858
|
on: "on";
|
|
4698
4859
|
shadow: "shadow";
|
|
4699
4860
|
}>>;
|
|
4861
|
+
autoTierEagerness: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
4862
|
+
balanced: "balanced";
|
|
4863
|
+
cautious: "cautious";
|
|
4864
|
+
eager: "eager";
|
|
4865
|
+
}>>;
|
|
4700
4866
|
autoFastModels: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
4701
4867
|
agentRetentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
4702
4868
|
resumeAfterOutage: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -4909,6 +5075,15 @@ export declare const sandboxContract: {
|
|
|
4909
5075
|
}>>;
|
|
4910
5076
|
cohort: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4911
5077
|
}, import("zod/v4/core").$strip>>;
|
|
5078
|
+
tier: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5079
|
+
judged: import("zod").ZodNumber;
|
|
5080
|
+
fast: import("zod").ZodNumber;
|
|
5081
|
+
atStakeUsd: import("zod").ZodNumber;
|
|
5082
|
+
routed: import("zod").ZodNumber;
|
|
5083
|
+
routedUsd: import("zod").ZodNumber;
|
|
5084
|
+
escalated: import("zod").ZodNumber;
|
|
5085
|
+
denied: import("zod").ZodNumber;
|
|
5086
|
+
}, import("zod/v4/core").$strip>>;
|
|
4912
5087
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
4913
5088
|
builtinPrompt: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
4914
5089
|
base: import("zod").ZodEnum<{
|
|
@@ -6119,6 +6294,23 @@ export declare const sandboxContract: {
|
|
|
6119
6294
|
text: import("zod").ZodString;
|
|
6120
6295
|
truncated: import("zod").ZodBoolean;
|
|
6121
6296
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
6297
|
+
report: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
6298
|
+
events: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6299
|
+
seenAt: import("zod").ZodNumber;
|
|
6300
|
+
level: import("zod").ZodEnum<{
|
|
6301
|
+
error: "error";
|
|
6302
|
+
warn: "warn";
|
|
6303
|
+
}>;
|
|
6304
|
+
event: import("zod").ZodString;
|
|
6305
|
+
message: import("zod").ZodString;
|
|
6306
|
+
route: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6307
|
+
requestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6308
|
+
build: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6309
|
+
fields: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
|
|
6310
|
+
}, import("zod/v4/core").$strip>>;
|
|
6311
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
6312
|
+
recorded: import("zod").ZodNumber;
|
|
6313
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
6122
6314
|
};
|
|
6123
6315
|
loops: {
|
|
6124
6316
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
@@ -6597,6 +6789,7 @@ export declare const sandboxContract: {
|
|
|
6597
6789
|
provider: import("zod").ZodEnum<{
|
|
6598
6790
|
claude: "claude";
|
|
6599
6791
|
codex: "codex";
|
|
6792
|
+
cursor: "cursor";
|
|
6600
6793
|
gemini: "gemini";
|
|
6601
6794
|
grok: "grok";
|
|
6602
6795
|
kimi: "kimi";
|
|
@@ -6611,6 +6804,7 @@ export declare const sandboxContract: {
|
|
|
6611
6804
|
fast: "fast";
|
|
6612
6805
|
reasoning: "reasoning";
|
|
6613
6806
|
}>>>;
|
|
6807
|
+
contextWindow: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6614
6808
|
}, import("zod/v4/core").$strip>>;
|
|
6615
6809
|
default: import("zod").ZodString;
|
|
6616
6810
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -6816,6 +7010,8 @@ export declare const sandboxContract: {
|
|
|
6816
7010
|
effort?: string | undefined;
|
|
6817
7011
|
thinking?: boolean | undefined;
|
|
6818
7012
|
fast?: boolean | undefined;
|
|
7013
|
+
tier?: "fast" | "standard" | undefined;
|
|
7014
|
+
tierHold?: boolean | undefined;
|
|
6819
7015
|
account?: string | undefined;
|
|
6820
7016
|
branch?: string | undefined;
|
|
6821
7017
|
autoLand?: boolean | undefined;
|
|
@@ -6909,18 +7105,6 @@ export declare const sandboxContract: {
|
|
|
6909
7105
|
}[];
|
|
6910
7106
|
rev: number;
|
|
6911
7107
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
6912
|
-
kind: "heartbeat";
|
|
6913
|
-
} | {
|
|
6914
|
-
ready: boolean;
|
|
6915
|
-
startedAt: number;
|
|
6916
|
-
steps: {
|
|
6917
|
-
key: string;
|
|
6918
|
-
label: string;
|
|
6919
|
-
state: "done" | "failed" | "pending" | "running";
|
|
6920
|
-
ms?: number | undefined;
|
|
6921
|
-
}[];
|
|
6922
|
-
kind: "boot";
|
|
6923
|
-
} | {
|
|
6924
7108
|
kind: "hello";
|
|
6925
7109
|
workspaceId: string;
|
|
6926
7110
|
routes?: string[] | undefined;
|
|
@@ -6937,11 +7121,23 @@ export declare const sandboxContract: {
|
|
|
6937
7121
|
}[];
|
|
6938
7122
|
} | undefined;
|
|
6939
7123
|
} | {
|
|
6940
|
-
kind: "
|
|
6941
|
-
|
|
7124
|
+
kind: "heartbeat";
|
|
7125
|
+
} | {
|
|
7126
|
+
ready: boolean;
|
|
7127
|
+
startedAt: number;
|
|
7128
|
+
steps: {
|
|
7129
|
+
key: string;
|
|
7130
|
+
label: string;
|
|
7131
|
+
state: "done" | "failed" | "pending" | "running";
|
|
7132
|
+
ms?: number | undefined;
|
|
7133
|
+
}[];
|
|
7134
|
+
kind: "boot";
|
|
6942
7135
|
} | {
|
|
6943
7136
|
kind: "workspaceChanged";
|
|
6944
7137
|
paths: string[];
|
|
7138
|
+
} | {
|
|
7139
|
+
kind: "reposChanged";
|
|
7140
|
+
repos: string[];
|
|
6945
7141
|
} | {
|
|
6946
7142
|
kind: "refsChanged";
|
|
6947
7143
|
repos: string[];
|
|
@@ -6975,6 +7171,8 @@ export declare const sandboxContract: {
|
|
|
6975
7171
|
effort?: string | undefined;
|
|
6976
7172
|
thinking?: boolean | undefined;
|
|
6977
7173
|
fast?: boolean | undefined;
|
|
7174
|
+
tier?: "fast" | "standard" | undefined;
|
|
7175
|
+
tierHold?: boolean | undefined;
|
|
6978
7176
|
account?: string | undefined;
|
|
6979
7177
|
branch?: string | undefined;
|
|
6980
7178
|
autoLand?: boolean | undefined;
|
|
@@ -7207,6 +7405,9 @@ export declare const sandboxContract: {
|
|
|
7207
7405
|
text: import("zod").ZodString;
|
|
7208
7406
|
}, import("zod/v4/core").$strip>>>;
|
|
7209
7407
|
placed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7408
|
+
noticeAction: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7409
|
+
tierHold: "tierHold";
|
|
7410
|
+
}>>;
|
|
7210
7411
|
}, import("zod/v4/core").$strip>>;
|
|
7211
7412
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
7212
7413
|
manageMachineSandbox: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|