@intentic/sandbox-contract 1.166.0 → 1.168.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 +20 -3
- package/dist/agent-catalog.d.ts.map +1 -1
- package/dist/agent-catalog.js +81 -6
- package/dist/agent-catalog.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +36 -8
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.js +1 -2
- package/dist/contracts/agent.contract.js.map +1 -1
- package/dist/contracts/agents.contract.d.ts +55 -39
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/automations.contract.d.ts +1 -1
- package/dist/contracts/extensions.contract.d.ts +4 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/gate.contract.d.ts +1 -1
- package/dist/contracts/kimi.contract.d.ts +0 -70
- package/dist/contracts/kimi.contract.d.ts.map +1 -1
- package/dist/contracts/kimi.contract.js +1 -5
- package/dist/contracts/kimi.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +1 -39
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +29 -5
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +78 -4
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +9 -2
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/translator.contract.d.ts +47 -0
- package/dist/contracts/translator.contract.d.ts.map +1 -1
- package/dist/contracts/translator.contract.js.map +1 -1
- package/dist/events.d.ts +92 -159
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +37 -4
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +267 -181
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +269 -44
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +92 -25
- package/dist/schemas.js.map +1 -1
- package/dist/title.d.ts.map +1 -1
- package/dist/title.js.map +1 -1
- package/dist/workspace-state.d.ts +9 -0
- package/dist/workspace-state.d.ts.map +1 -0
- package/dist/workspace-state.js +71 -0
- package/dist/workspace-state.js.map +1 -0
- package/package.json +2 -2
- package/src/agent-catalog.test.ts +118 -0
- package/src/agent-catalog.ts +183 -24
- package/src/contracts/agent.contract.ts +1 -14
- package/src/contracts/agents.contract.ts +8 -6
- package/src/contracts/gate.contract.ts +2 -2
- package/src/contracts/kimi.contract.ts +4 -21
- package/src/contracts/system.contract.ts +24 -1
- package/src/contracts/translator.contract.ts +4 -6
- package/src/events.test.ts +32 -0
- package/src/events.ts +105 -26
- package/src/index.ts +1 -0
- package/src/model-order.ts +1 -1
- package/src/quick-model.test.ts +1 -1
- package/src/schemas.test.ts +8 -4
- package/src/schemas.ts +296 -111
- package/src/title.ts +6 -2
- package/src/workspace-state.test.ts +129 -0
- package/src/workspace-state.ts +160 -0
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from "./effects.js";
|
|
|
34
34
|
export * from "./events.js";
|
|
35
35
|
export * from "./sse.js";
|
|
36
36
|
export * from "./routes.js";
|
|
37
|
+
export * from "./workspace-state.js";
|
|
37
38
|
export * from "./agent-catalog.js";
|
|
38
39
|
export * from "./hostnames.js";
|
|
39
40
|
export * from "./model-order.js";
|
|
@@ -242,6 +243,24 @@ export declare const sandboxContract: {
|
|
|
242
243
|
} | {
|
|
243
244
|
kind: "browser";
|
|
244
245
|
session: string;
|
|
246
|
+
} | {
|
|
247
|
+
kind: "subagent";
|
|
248
|
+
id: string;
|
|
249
|
+
subagentKind: "codex" | "grok" | "subagent";
|
|
250
|
+
agentType?: string | undefined;
|
|
251
|
+
description?: string | undefined;
|
|
252
|
+
model?: string | undefined;
|
|
253
|
+
background?: boolean | undefined;
|
|
254
|
+
terminal?: string | undefined;
|
|
255
|
+
} | {
|
|
256
|
+
kind: "subagent_update";
|
|
257
|
+
id: string;
|
|
258
|
+
status?: "completed" | "failed" | "killed" | "paused" | "pending" | "running" | undefined;
|
|
259
|
+
tokens?: number | undefined;
|
|
260
|
+
toolUses?: number | undefined;
|
|
261
|
+
lastTool?: string | undefined;
|
|
262
|
+
summary?: string | undefined;
|
|
263
|
+
error?: string | undefined;
|
|
245
264
|
} | {
|
|
246
265
|
kind: "todos";
|
|
247
266
|
items: {
|
|
@@ -358,7 +377,6 @@ export declare const sandboxContract: {
|
|
|
358
377
|
attempt: number;
|
|
359
378
|
maxAttempts: number;
|
|
360
379
|
} | undefined;
|
|
361
|
-
account?: string | undefined;
|
|
362
380
|
} | {
|
|
363
381
|
kind: "done";
|
|
364
382
|
};
|
|
@@ -462,6 +480,24 @@ export declare const sandboxContract: {
|
|
|
462
480
|
} | {
|
|
463
481
|
kind: "browser";
|
|
464
482
|
session: string;
|
|
483
|
+
} | {
|
|
484
|
+
kind: "subagent";
|
|
485
|
+
id: string;
|
|
486
|
+
subagentKind: "codex" | "grok" | "subagent";
|
|
487
|
+
agentType?: string | undefined;
|
|
488
|
+
description?: string | undefined;
|
|
489
|
+
model?: string | undefined;
|
|
490
|
+
background?: boolean | undefined;
|
|
491
|
+
terminal?: string | undefined;
|
|
492
|
+
} | {
|
|
493
|
+
kind: "subagent_update";
|
|
494
|
+
id: string;
|
|
495
|
+
status?: "completed" | "failed" | "killed" | "paused" | "pending" | "running" | undefined;
|
|
496
|
+
tokens?: number | undefined;
|
|
497
|
+
toolUses?: number | undefined;
|
|
498
|
+
lastTool?: string | undefined;
|
|
499
|
+
summary?: string | undefined;
|
|
500
|
+
error?: string | undefined;
|
|
465
501
|
} | {
|
|
466
502
|
kind: "todos";
|
|
467
503
|
items: {
|
|
@@ -578,7 +614,6 @@ export declare const sandboxContract: {
|
|
|
578
614
|
attempt: number;
|
|
579
615
|
maxAttempts: number;
|
|
580
616
|
} | undefined;
|
|
581
|
-
account?: string | undefined;
|
|
582
617
|
} | {
|
|
583
618
|
kind: "done";
|
|
584
619
|
};
|
|
@@ -631,12 +666,6 @@ export declare const sandboxContract: {
|
|
|
631
666
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
632
667
|
ok: import("zod").ZodLiteral<true>;
|
|
633
668
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
634
|
-
resumeLimit: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
635
|
-
conversationId: import("zod").ZodString;
|
|
636
|
-
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
637
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
638
|
-
run: import("zod").ZodString;
|
|
639
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
640
669
|
commands: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
641
670
|
agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
642
671
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -662,6 +691,8 @@ export declare const sandboxContract: {
|
|
|
662
691
|
landed: "landed";
|
|
663
692
|
ready: "ready";
|
|
664
693
|
running: "running";
|
|
694
|
+
stopped: "stopped";
|
|
695
|
+
stopping: "stopping";
|
|
665
696
|
}>;
|
|
666
697
|
provider: import("zod").ZodString;
|
|
667
698
|
harness: import("zod").ZodEnum<{
|
|
@@ -702,6 +733,10 @@ export declare const sandboxContract: {
|
|
|
702
733
|
}, import("zod/v4/core").$strip>;
|
|
703
734
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
704
735
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
736
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
737
|
+
running: import("zod").ZodNumber;
|
|
738
|
+
total: import("zod").ZodNumber;
|
|
739
|
+
}, import("zod/v4/core").$strip>>;
|
|
705
740
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
706
741
|
files: import("zod").ZodNumber;
|
|
707
742
|
insertions: import("zod").ZodNumber;
|
|
@@ -725,6 +760,8 @@ export declare const sandboxContract: {
|
|
|
725
760
|
landed: "landed";
|
|
726
761
|
ready: "ready";
|
|
727
762
|
running: "running";
|
|
763
|
+
stopped: "stopped";
|
|
764
|
+
stopping: "stopping";
|
|
728
765
|
}>;
|
|
729
766
|
provider: import("zod").ZodString;
|
|
730
767
|
harness: import("zod").ZodEnum<{
|
|
@@ -765,6 +802,10 @@ export declare const sandboxContract: {
|
|
|
765
802
|
}, import("zod/v4/core").$strip>;
|
|
766
803
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
767
804
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
805
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
806
|
+
running: import("zod").ZodNumber;
|
|
807
|
+
total: import("zod").ZodNumber;
|
|
808
|
+
}, import("zod/v4/core").$strip>>;
|
|
768
809
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
769
810
|
files: import("zod").ZodNumber;
|
|
770
811
|
insertions: import("zod").ZodNumber;
|
|
@@ -798,6 +839,8 @@ export declare const sandboxContract: {
|
|
|
798
839
|
landed: "landed";
|
|
799
840
|
ready: "ready";
|
|
800
841
|
running: "running";
|
|
842
|
+
stopped: "stopped";
|
|
843
|
+
stopping: "stopping";
|
|
801
844
|
}>;
|
|
802
845
|
provider: import("zod").ZodString;
|
|
803
846
|
harness: import("zod").ZodEnum<{
|
|
@@ -838,6 +881,10 @@ export declare const sandboxContract: {
|
|
|
838
881
|
}, import("zod/v4/core").$strip>;
|
|
839
882
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
840
883
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
884
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
885
|
+
running: import("zod").ZodNumber;
|
|
886
|
+
total: import("zod").ZodNumber;
|
|
887
|
+
}, import("zod/v4/core").$strip>>;
|
|
841
888
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
842
889
|
files: import("zod").ZodNumber;
|
|
843
890
|
insertions: import("zod").ZodNumber;
|
|
@@ -856,45 +903,7 @@ export declare const sandboxContract: {
|
|
|
856
903
|
text: import("zod").ZodString;
|
|
857
904
|
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
858
905
|
thinking: import("zod").ZodOptional<import("zod").ZodString>;
|
|
859
|
-
tools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
860
|
-
id: import("zod").ZodString;
|
|
861
|
-
name: import("zod").ZodString;
|
|
862
|
-
category: import("zod").ZodEnum<{
|
|
863
|
-
delete: "delete";
|
|
864
|
-
edit: "edit";
|
|
865
|
-
execute: "execute";
|
|
866
|
-
fetch: "fetch";
|
|
867
|
-
move: "move";
|
|
868
|
-
other: "other";
|
|
869
|
-
read: "read";
|
|
870
|
-
search: "search";
|
|
871
|
-
think: "think";
|
|
872
|
-
}>;
|
|
873
|
-
status: import("zod").ZodEnum<{
|
|
874
|
-
completed: "completed";
|
|
875
|
-
failed: "failed";
|
|
876
|
-
in_progress: "in_progress";
|
|
877
|
-
pending: "pending";
|
|
878
|
-
}>;
|
|
879
|
-
target: import("zod").ZodOptional<import("zod").ZodString>;
|
|
880
|
-
locations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
881
|
-
path: import("zod").ZodString;
|
|
882
|
-
line: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
883
|
-
}, import("zod/v4/core").$strip>>>;
|
|
884
|
-
content: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
885
|
-
type: import("zod").ZodLiteral<"text">;
|
|
886
|
-
text: import("zod").ZodString;
|
|
887
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
888
|
-
type: import("zod").ZodLiteral<"diff">;
|
|
889
|
-
path: import("zod").ZodString;
|
|
890
|
-
oldText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
891
|
-
newText: import("zod").ZodString;
|
|
892
|
-
truncated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
893
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
894
|
-
type: import("zod").ZodLiteral<"image">;
|
|
895
|
-
path: import("zod").ZodString;
|
|
896
|
-
}, import("zod/v4/core").$strip>], "type">>>;
|
|
897
|
-
}, import("zod/v4/core").$strip>>>;
|
|
906
|
+
tools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("./events.js").RestoredToolCall, unknown, import("zod/v4/core").$ZodTypeInternals<import("./events.js").RestoredToolCall, unknown>>>>;
|
|
898
907
|
}, import("zod/v4/core").$strip>>;
|
|
899
908
|
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
900
909
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -914,6 +923,8 @@ export declare const sandboxContract: {
|
|
|
914
923
|
landed: "landed";
|
|
915
924
|
ready: "ready";
|
|
916
925
|
running: "running";
|
|
926
|
+
stopped: "stopped";
|
|
927
|
+
stopping: "stopping";
|
|
917
928
|
}>;
|
|
918
929
|
provider: import("zod").ZodString;
|
|
919
930
|
harness: import("zod").ZodEnum<{
|
|
@@ -954,6 +965,10 @@ export declare const sandboxContract: {
|
|
|
954
965
|
}, import("zod/v4/core").$strip>;
|
|
955
966
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
956
967
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
968
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
969
|
+
running: import("zod").ZodNumber;
|
|
970
|
+
total: import("zod").ZodNumber;
|
|
971
|
+
}, import("zod/v4/core").$strip>>;
|
|
957
972
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
958
973
|
files: import("zod").ZodNumber;
|
|
959
974
|
insertions: import("zod").ZodNumber;
|
|
@@ -977,6 +992,8 @@ export declare const sandboxContract: {
|
|
|
977
992
|
landed: "landed";
|
|
978
993
|
ready: "ready";
|
|
979
994
|
running: "running";
|
|
995
|
+
stopped: "stopped";
|
|
996
|
+
stopping: "stopping";
|
|
980
997
|
}>;
|
|
981
998
|
provider: import("zod").ZodString;
|
|
982
999
|
harness: import("zod").ZodEnum<{
|
|
@@ -1017,6 +1034,10 @@ export declare const sandboxContract: {
|
|
|
1017
1034
|
}, import("zod/v4/core").$strip>;
|
|
1018
1035
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1019
1036
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1037
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1038
|
+
running: import("zod").ZodNumber;
|
|
1039
|
+
total: import("zod").ZodNumber;
|
|
1040
|
+
}, import("zod/v4/core").$strip>>;
|
|
1020
1041
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1021
1042
|
files: import("zod").ZodNumber;
|
|
1022
1043
|
insertions: import("zod").ZodNumber;
|
|
@@ -1039,6 +1060,8 @@ export declare const sandboxContract: {
|
|
|
1039
1060
|
landed: "landed";
|
|
1040
1061
|
ready: "ready";
|
|
1041
1062
|
running: "running";
|
|
1063
|
+
stopped: "stopped";
|
|
1064
|
+
stopping: "stopping";
|
|
1042
1065
|
}>;
|
|
1043
1066
|
provider: import("zod").ZodString;
|
|
1044
1067
|
harness: import("zod").ZodEnum<{
|
|
@@ -1079,6 +1102,10 @@ export declare const sandboxContract: {
|
|
|
1079
1102
|
}, import("zod/v4/core").$strip>;
|
|
1080
1103
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1081
1104
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1105
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1106
|
+
running: import("zod").ZodNumber;
|
|
1107
|
+
total: import("zod").ZodNumber;
|
|
1108
|
+
}, import("zod/v4/core").$strip>>;
|
|
1082
1109
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1083
1110
|
files: import("zod").ZodNumber;
|
|
1084
1111
|
insertions: import("zod").ZodNumber;
|
|
@@ -1100,6 +1127,8 @@ export declare const sandboxContract: {
|
|
|
1100
1127
|
landed: "landed";
|
|
1101
1128
|
ready: "ready";
|
|
1102
1129
|
running: "running";
|
|
1130
|
+
stopped: "stopped";
|
|
1131
|
+
stopping: "stopping";
|
|
1103
1132
|
}>;
|
|
1104
1133
|
provider: import("zod").ZodString;
|
|
1105
1134
|
harness: import("zod").ZodEnum<{
|
|
@@ -1140,6 +1169,10 @@ export declare const sandboxContract: {
|
|
|
1140
1169
|
}, import("zod/v4/core").$strip>;
|
|
1141
1170
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1142
1171
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1172
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1173
|
+
running: import("zod").ZodNumber;
|
|
1174
|
+
total: import("zod").ZodNumber;
|
|
1175
|
+
}, import("zod/v4/core").$strip>>;
|
|
1143
1176
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1144
1177
|
files: import("zod").ZodNumber;
|
|
1145
1178
|
insertions: import("zod").ZodNumber;
|
|
@@ -1242,6 +1275,8 @@ export declare const sandboxContract: {
|
|
|
1242
1275
|
landed: "landed";
|
|
1243
1276
|
ready: "ready";
|
|
1244
1277
|
running: "running";
|
|
1278
|
+
stopped: "stopped";
|
|
1279
|
+
stopping: "stopping";
|
|
1245
1280
|
}>;
|
|
1246
1281
|
provider: import("zod").ZodString;
|
|
1247
1282
|
harness: import("zod").ZodEnum<{
|
|
@@ -1282,6 +1317,10 @@ export declare const sandboxContract: {
|
|
|
1282
1317
|
}, import("zod/v4/core").$strip>;
|
|
1283
1318
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1284
1319
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1320
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1321
|
+
running: import("zod").ZodNumber;
|
|
1322
|
+
total: import("zod").ZodNumber;
|
|
1323
|
+
}, import("zod/v4/core").$strip>>;
|
|
1285
1324
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1286
1325
|
files: import("zod").ZodNumber;
|
|
1287
1326
|
insertions: import("zod").ZodNumber;
|
|
@@ -1307,6 +1346,8 @@ export declare const sandboxContract: {
|
|
|
1307
1346
|
landed: "landed";
|
|
1308
1347
|
ready: "ready";
|
|
1309
1348
|
running: "running";
|
|
1349
|
+
stopped: "stopped";
|
|
1350
|
+
stopping: "stopping";
|
|
1310
1351
|
}>;
|
|
1311
1352
|
provider: import("zod").ZodString;
|
|
1312
1353
|
harness: import("zod").ZodEnum<{
|
|
@@ -1347,6 +1388,10 @@ export declare const sandboxContract: {
|
|
|
1347
1388
|
}, import("zod/v4/core").$strip>;
|
|
1348
1389
|
turns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1349
1390
|
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1391
|
+
subagents: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1392
|
+
running: import("zod").ZodNumber;
|
|
1393
|
+
total: import("zod").ZodNumber;
|
|
1394
|
+
}, import("zod/v4/core").$strip>>;
|
|
1350
1395
|
diff: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1351
1396
|
files: import("zod").ZodNumber;
|
|
1352
1397
|
insertions: import("zod").ZodNumber;
|
|
@@ -1405,7 +1450,7 @@ export declare const sandboxContract: {
|
|
|
1405
1450
|
skipped: "skipped";
|
|
1406
1451
|
}>;
|
|
1407
1452
|
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1408
|
-
|
|
1453
|
+
conversationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1409
1454
|
}, import("zod/v4/core").$strip>>;
|
|
1410
1455
|
nextRun: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1411
1456
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -1990,6 +2035,10 @@ export declare const sandboxContract: {
|
|
|
1990
2035
|
}>;
|
|
1991
2036
|
badge: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1992
2037
|
}, import("zod/v4/core").$strip>>>;
|
|
2038
|
+
files: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2039
|
+
path: import("zod").ZodString;
|
|
2040
|
+
invalidates: import("zod").ZodArray<import("zod").ZodString>;
|
|
2041
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1993
2042
|
viewers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1994
2043
|
id: import("zod").ZodString;
|
|
1995
2044
|
extensions: import("zod").ZodArray<import("zod").ZodString>;
|
|
@@ -2140,45 +2189,7 @@ export declare const sandboxContract: {
|
|
|
2140
2189
|
text: import("zod").ZodString;
|
|
2141
2190
|
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2142
2191
|
thinking: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2143
|
-
tools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2144
|
-
id: import("zod").ZodString;
|
|
2145
|
-
name: import("zod").ZodString;
|
|
2146
|
-
category: import("zod").ZodEnum<{
|
|
2147
|
-
delete: "delete";
|
|
2148
|
-
edit: "edit";
|
|
2149
|
-
execute: "execute";
|
|
2150
|
-
fetch: "fetch";
|
|
2151
|
-
move: "move";
|
|
2152
|
-
other: "other";
|
|
2153
|
-
read: "read";
|
|
2154
|
-
search: "search";
|
|
2155
|
-
think: "think";
|
|
2156
|
-
}>;
|
|
2157
|
-
status: import("zod").ZodEnum<{
|
|
2158
|
-
completed: "completed";
|
|
2159
|
-
failed: "failed";
|
|
2160
|
-
in_progress: "in_progress";
|
|
2161
|
-
pending: "pending";
|
|
2162
|
-
}>;
|
|
2163
|
-
target: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2164
|
-
locations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2165
|
-
path: import("zod").ZodString;
|
|
2166
|
-
line: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2167
|
-
}, import("zod/v4/core").$strip>>>;
|
|
2168
|
-
content: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2169
|
-
type: import("zod").ZodLiteral<"text">;
|
|
2170
|
-
text: import("zod").ZodString;
|
|
2171
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2172
|
-
type: import("zod").ZodLiteral<"diff">;
|
|
2173
|
-
path: import("zod").ZodString;
|
|
2174
|
-
oldText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2175
|
-
newText: import("zod").ZodString;
|
|
2176
|
-
truncated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2177
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2178
|
-
type: import("zod").ZodLiteral<"image">;
|
|
2179
|
-
path: import("zod").ZodString;
|
|
2180
|
-
}, import("zod/v4/core").$strip>], "type">>>;
|
|
2181
|
-
}, import("zod/v4/core").$strip>>>;
|
|
2192
|
+
tools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("./events.js").RestoredToolCall, unknown, import("zod/v4/core").$ZodTypeInternals<import("./events.js").RestoredToolCall, unknown>>>>;
|
|
2182
2193
|
}, import("zod/v4/core").$strip>>;
|
|
2183
2194
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2184
2195
|
};
|
|
@@ -2196,6 +2207,8 @@ export declare const sandboxContract: {
|
|
|
2196
2207
|
}>>;
|
|
2197
2208
|
systemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2198
2209
|
iqSearch: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2210
|
+
iqContext: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2211
|
+
iqContextHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2199
2212
|
outputCleaners: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2200
2213
|
outputHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2201
2214
|
filterBackend: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
@@ -2205,7 +2218,6 @@ export declare const sandboxContract: {
|
|
|
2205
2218
|
quickModel: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2206
2219
|
agentRetentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2207
2220
|
autoLand: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2208
|
-
autoResumeOnLimit: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2209
2221
|
resumeAfterOutage: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2210
2222
|
autoResumeOnRestart: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2211
2223
|
gateCommand: import("zod").ZodDefault<import("zod").ZodString>;
|
|
@@ -2226,6 +2238,8 @@ export declare const sandboxContract: {
|
|
|
2226
2238
|
}>>;
|
|
2227
2239
|
systemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2228
2240
|
iqSearch: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2241
|
+
iqContext: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2242
|
+
iqContextHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2229
2243
|
outputCleaners: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2230
2244
|
outputHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2231
2245
|
filterBackend: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
@@ -2235,7 +2249,6 @@ export declare const sandboxContract: {
|
|
|
2235
2249
|
quickModel: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2236
2250
|
agentRetentionDays: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
2237
2251
|
autoLand: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2238
|
-
autoResumeOnLimit: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2239
2252
|
resumeAfterOutage: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2240
2253
|
autoResumeOnRestart: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2241
2254
|
gateCommand: import("zod").ZodDefault<import("zod").ZodString>;
|
|
@@ -2276,18 +2289,40 @@ export declare const sandboxContract: {
|
|
|
2276
2289
|
}, import("zod/v4/core").$strip>>;
|
|
2277
2290
|
}, import("zod/v4/core").$strip>;
|
|
2278
2291
|
output: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2292
|
+
metric: import("zod").ZodEnum<{
|
|
2293
|
+
costUsd: "costUsd";
|
|
2294
|
+
outputTokens: "outputTokens";
|
|
2295
|
+
}>;
|
|
2279
2296
|
on: import("zod").ZodObject<{
|
|
2280
2297
|
turns: import("zod").ZodNumber;
|
|
2281
|
-
|
|
2298
|
+
mean: import("zod").ZodNumber;
|
|
2282
2299
|
}, import("zod/v4/core").$strip>;
|
|
2283
2300
|
off: import("zod").ZodObject<{
|
|
2284
2301
|
turns: import("zod").ZodNumber;
|
|
2285
|
-
|
|
2302
|
+
mean: import("zod").ZodNumber;
|
|
2286
2303
|
}, import("zod/v4/core").$strip>;
|
|
2287
2304
|
minTurns: import("zod").ZodNumber;
|
|
2288
2305
|
deltaPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2289
2306
|
marginPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2290
|
-
|
|
2307
|
+
saved: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2308
|
+
}, import("zod/v4/core").$strip>>;
|
|
2309
|
+
context: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2310
|
+
metric: import("zod").ZodEnum<{
|
|
2311
|
+
costUsd: "costUsd";
|
|
2312
|
+
outputTokens: "outputTokens";
|
|
2313
|
+
}>;
|
|
2314
|
+
on: import("zod").ZodObject<{
|
|
2315
|
+
turns: import("zod").ZodNumber;
|
|
2316
|
+
mean: import("zod").ZodNumber;
|
|
2317
|
+
}, import("zod/v4/core").$strip>;
|
|
2318
|
+
off: import("zod").ZodObject<{
|
|
2319
|
+
turns: import("zod").ZodNumber;
|
|
2320
|
+
mean: import("zod").ZodNumber;
|
|
2321
|
+
}, import("zod/v4/core").$strip>;
|
|
2322
|
+
minTurns: import("zod").ZodNumber;
|
|
2323
|
+
deltaPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2324
|
+
marginPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2325
|
+
saved: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2291
2326
|
}, import("zod/v4/core").$strip>>;
|
|
2292
2327
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2293
2328
|
builtinPrompt: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -2363,7 +2398,7 @@ export declare const sandboxContract: {
|
|
|
2363
2398
|
}, import("zod/v4/core").$strip>>;
|
|
2364
2399
|
fix: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2365
2400
|
startedAt: import("zod").ZodNumber;
|
|
2366
|
-
|
|
2401
|
+
conversationId: import("zod").ZodString;
|
|
2367
2402
|
outcome: import("zod").ZodEnum<{
|
|
2368
2403
|
done: "done";
|
|
2369
2404
|
error: "error";
|
|
@@ -2740,28 +2775,6 @@ export declare const sandboxContract: {
|
|
|
2740
2775
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2741
2776
|
};
|
|
2742
2777
|
kimi: {
|
|
2743
|
-
connect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2744
|
-
apiKey: import("zod").ZodString;
|
|
2745
|
-
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2746
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2747
|
-
id: import("zod").ZodString;
|
|
2748
|
-
label: import("zod").ZodString;
|
|
2749
|
-
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2750
|
-
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2751
|
-
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2752
|
-
connectedAt: import("zod").ZodNumber;
|
|
2753
|
-
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2754
|
-
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2755
|
-
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2756
|
-
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2757
|
-
kind: import("zod").ZodString;
|
|
2758
|
-
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2759
|
-
utilization: import("zod").ZodNumber;
|
|
2760
|
-
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2761
|
-
}, import("zod/v4/core").$strip>>;
|
|
2762
|
-
measuredAt: import("zod").ZodNumber;
|
|
2763
|
-
}, import("zod/v4/core").$strip>>;
|
|
2764
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2765
2778
|
models: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
2766
2779
|
models: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2767
2780
|
id: import("zod").ZodString;
|
|
@@ -2775,54 +2788,6 @@ export declare const sandboxContract: {
|
|
|
2775
2788
|
}, import("zod/v4/core").$strip>>;
|
|
2776
2789
|
default: import("zod").ZodString;
|
|
2777
2790
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2778
|
-
accounts: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
2779
|
-
accounts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2780
|
-
id: import("zod").ZodString;
|
|
2781
|
-
label: import("zod").ZodString;
|
|
2782
|
-
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2783
|
-
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2784
|
-
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2785
|
-
connectedAt: import("zod").ZodNumber;
|
|
2786
|
-
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2787
|
-
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2788
|
-
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2789
|
-
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2790
|
-
kind: import("zod").ZodString;
|
|
2791
|
-
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2792
|
-
utilization: import("zod").ZodNumber;
|
|
2793
|
-
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2794
|
-
}, import("zod/v4/core").$strip>>;
|
|
2795
|
-
measuredAt: import("zod").ZodNumber;
|
|
2796
|
-
}, import("zod/v4/core").$strip>>;
|
|
2797
|
-
}, import("zod/v4/core").$strip>>;
|
|
2798
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2799
|
-
rename: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2800
|
-
id: import("zod").ZodString;
|
|
2801
|
-
label: import("zod").ZodString;
|
|
2802
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2803
|
-
id: import("zod").ZodString;
|
|
2804
|
-
label: import("zod").ZodString;
|
|
2805
|
-
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2806
|
-
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2807
|
-
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2808
|
-
connectedAt: import("zod").ZodNumber;
|
|
2809
|
-
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2810
|
-
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2811
|
-
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2812
|
-
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2813
|
-
kind: import("zod").ZodString;
|
|
2814
|
-
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2815
|
-
utilization: import("zod").ZodNumber;
|
|
2816
|
-
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2817
|
-
}, import("zod/v4/core").$strip>>;
|
|
2818
|
-
measuredAt: import("zod").ZodNumber;
|
|
2819
|
-
}, import("zod/v4/core").$strip>>;
|
|
2820
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2821
|
-
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2822
|
-
id: import("zod").ZodString;
|
|
2823
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2824
|
-
ok: import("zod").ZodLiteral<true>;
|
|
2825
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2826
2791
|
};
|
|
2827
2792
|
history: {
|
|
2828
2793
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
@@ -3559,7 +3524,7 @@ export declare const sandboxContract: {
|
|
|
3559
3524
|
id: string;
|
|
3560
3525
|
sessionId?: string | undefined;
|
|
3561
3526
|
title?: string | undefined;
|
|
3562
|
-
status: "awaiting" | "conflict" | "error" | "idle" | "interrupted" | "landed" | "ready" | "running";
|
|
3527
|
+
status: "awaiting" | "conflict" | "error" | "idle" | "interrupted" | "landed" | "ready" | "running" | "stopped" | "stopping";
|
|
3563
3528
|
provider: string;
|
|
3564
3529
|
harness: "claude-code" | "native";
|
|
3565
3530
|
model?: string | undefined;
|
|
@@ -3596,6 +3561,10 @@ export declare const sandboxContract: {
|
|
|
3596
3561
|
};
|
|
3597
3562
|
turns?: number | undefined;
|
|
3598
3563
|
toolUses?: number | undefined;
|
|
3564
|
+
subagents?: {
|
|
3565
|
+
running: number;
|
|
3566
|
+
total: number;
|
|
3567
|
+
} | undefined;
|
|
3599
3568
|
diff?: {
|
|
3600
3569
|
files: number;
|
|
3601
3570
|
insertions: number;
|
|
@@ -3605,6 +3574,18 @@ export declare const sandboxContract: {
|
|
|
3605
3574
|
}[];
|
|
3606
3575
|
rev: number;
|
|
3607
3576
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
3577
|
+
kind: "heartbeat";
|
|
3578
|
+
} | {
|
|
3579
|
+
ready: boolean;
|
|
3580
|
+
startedAt: number;
|
|
3581
|
+
steps: {
|
|
3582
|
+
key: string;
|
|
3583
|
+
label: string;
|
|
3584
|
+
state: "done" | "failed" | "pending" | "running";
|
|
3585
|
+
ms?: number | undefined;
|
|
3586
|
+
}[];
|
|
3587
|
+
kind: "boot";
|
|
3588
|
+
} | {
|
|
3608
3589
|
kind: "hello";
|
|
3609
3590
|
workspaceId: string;
|
|
3610
3591
|
routes?: string[] | undefined;
|
|
@@ -3620,23 +3601,11 @@ export declare const sandboxContract: {
|
|
|
3620
3601
|
}[];
|
|
3621
3602
|
} | undefined;
|
|
3622
3603
|
} | {
|
|
3623
|
-
kind: "
|
|
3624
|
-
|
|
3625
|
-
ready: boolean;
|
|
3626
|
-
startedAt: number;
|
|
3627
|
-
steps: {
|
|
3628
|
-
key: string;
|
|
3629
|
-
label: string;
|
|
3630
|
-
state: "done" | "failed" | "pending" | "running";
|
|
3631
|
-
ms?: number | undefined;
|
|
3632
|
-
}[];
|
|
3633
|
-
kind: "boot";
|
|
3604
|
+
kind: "reposChanged";
|
|
3605
|
+
repos: string[];
|
|
3634
3606
|
} | {
|
|
3635
3607
|
kind: "workspaceChanged";
|
|
3636
3608
|
paths: string[];
|
|
3637
|
-
} | {
|
|
3638
|
-
kind: "reposChanged";
|
|
3639
|
-
repos: string[];
|
|
3640
3609
|
} | {
|
|
3641
3610
|
kind: "presence";
|
|
3642
3611
|
users: {
|
|
@@ -3655,7 +3624,7 @@ export declare const sandboxContract: {
|
|
|
3655
3624
|
id: string;
|
|
3656
3625
|
sessionId?: string | undefined;
|
|
3657
3626
|
title?: string | undefined;
|
|
3658
|
-
status: "awaiting" | "conflict" | "error" | "idle" | "interrupted" | "landed" | "ready" | "running";
|
|
3627
|
+
status: "awaiting" | "conflict" | "error" | "idle" | "interrupted" | "landed" | "ready" | "running" | "stopped" | "stopping";
|
|
3659
3628
|
provider: string;
|
|
3660
3629
|
harness: "claude-code" | "native";
|
|
3661
3630
|
model?: string | undefined;
|
|
@@ -3692,6 +3661,10 @@ export declare const sandboxContract: {
|
|
|
3692
3661
|
};
|
|
3693
3662
|
turns?: number | undefined;
|
|
3694
3663
|
toolUses?: number | undefined;
|
|
3664
|
+
subagents?: {
|
|
3665
|
+
running: number;
|
|
3666
|
+
total: number;
|
|
3667
|
+
} | undefined;
|
|
3695
3668
|
diff?: {
|
|
3696
3669
|
files: number;
|
|
3697
3670
|
insertions: number;
|
|
@@ -3734,7 +3707,6 @@ export declare const sandboxContract: {
|
|
|
3734
3707
|
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3735
3708
|
kind: import("zod").ZodEnum<{
|
|
3736
3709
|
agent: "agent";
|
|
3737
|
-
browser: "browser";
|
|
3738
3710
|
job: "job";
|
|
3739
3711
|
panel: "panel";
|
|
3740
3712
|
process: "process";
|
|
@@ -3745,7 +3717,6 @@ export declare const sandboxContract: {
|
|
|
3745
3717
|
exitCode: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3746
3718
|
extensionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3747
3719
|
processName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3748
|
-
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3749
3720
|
}, import("zod/v4/core").$strip>>;
|
|
3750
3721
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3751
3722
|
killTerminal: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -3753,20 +3724,128 @@ export declare const sandboxContract: {
|
|
|
3753
3724
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3754
3725
|
ok: import("zod").ZodLiteral<true>;
|
|
3755
3726
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3727
|
+
browsers: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
3728
|
+
sessions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3729
|
+
name: import("zod").ZodString;
|
|
3730
|
+
label: import("zod").ZodString;
|
|
3731
|
+
server: import("zod").ZodString;
|
|
3732
|
+
running: import("zod").ZodBoolean;
|
|
3733
|
+
activityAt: import("zod").ZodNumber;
|
|
3734
|
+
finishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3735
|
+
pages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3736
|
+
id: import("zod").ZodString;
|
|
3737
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3738
|
+
url: import("zod").ZodString;
|
|
3739
|
+
active: import("zod").ZodBoolean;
|
|
3740
|
+
}, import("zod/v4/core").$strip>>;
|
|
3741
|
+
}, import("zod/v4/core").$strip>>;
|
|
3742
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3743
|
+
closeBrowser: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3744
|
+
name: import("zod").ZodString;
|
|
3745
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3746
|
+
ok: import("zod").ZodLiteral<true>;
|
|
3747
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3748
|
+
subagents: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
3749
|
+
sessions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3750
|
+
id: import("zod").ZodString;
|
|
3751
|
+
kind: import("zod").ZodEnum<{
|
|
3752
|
+
codex: "codex";
|
|
3753
|
+
grok: "grok";
|
|
3754
|
+
subagent: "subagent";
|
|
3755
|
+
}>;
|
|
3756
|
+
conversationId: import("zod").ZodString;
|
|
3757
|
+
agentType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3758
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3759
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3760
|
+
spawnDepth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3761
|
+
background: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3762
|
+
status: import("zod").ZodEnum<{
|
|
3763
|
+
completed: "completed";
|
|
3764
|
+
failed: "failed";
|
|
3765
|
+
killed: "killed";
|
|
3766
|
+
paused: "paused";
|
|
3767
|
+
pending: "pending";
|
|
3768
|
+
running: "running";
|
|
3769
|
+
}>;
|
|
3770
|
+
startedAt: import("zod").ZodNumber;
|
|
3771
|
+
endedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3772
|
+
activityAt: import("zod").ZodNumber;
|
|
3773
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3774
|
+
toolUses: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3775
|
+
lastTool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3776
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3777
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3778
|
+
terminal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3779
|
+
}, import("zod/v4/core").$strip>>;
|
|
3780
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3781
|
+
subagentTranscript: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3782
|
+
id: import("zod").ZodString;
|
|
3783
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3784
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3785
|
+
role: import("zod").ZodEnum<{
|
|
3786
|
+
assistant: "assistant";
|
|
3787
|
+
user: "user";
|
|
3788
|
+
}>;
|
|
3789
|
+
text: import("zod").ZodString;
|
|
3790
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3791
|
+
thinking: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3792
|
+
tools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("./events.js").RestoredToolCall, unknown, import("zod/v4/core").$ZodTypeInternals<import("./events.js").RestoredToolCall, unknown>>>>;
|
|
3793
|
+
}, import("zod/v4/core").$strip>>;
|
|
3794
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3756
3795
|
};
|
|
3757
3796
|
translator: {
|
|
3758
3797
|
accounts: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
3759
3798
|
codex: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3760
3799
|
name: import("zod").ZodString;
|
|
3761
3800
|
label: import("zod").ZodString;
|
|
3801
|
+
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3802
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3803
|
+
kind: import("zod").ZodString;
|
|
3804
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3805
|
+
utilization: import("zod").ZodNumber;
|
|
3806
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3807
|
+
}, import("zod/v4/core").$strip>>;
|
|
3808
|
+
measuredAt: import("zod").ZodNumber;
|
|
3809
|
+
}, import("zod/v4/core").$strip>>;
|
|
3762
3810
|
}, import("zod/v4/core").$strip>>;
|
|
3763
3811
|
grok: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3764
3812
|
name: import("zod").ZodString;
|
|
3765
3813
|
label: import("zod").ZodString;
|
|
3814
|
+
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3815
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3816
|
+
kind: import("zod").ZodString;
|
|
3817
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3818
|
+
utilization: import("zod").ZodNumber;
|
|
3819
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3820
|
+
}, import("zod/v4/core").$strip>>;
|
|
3821
|
+
measuredAt: import("zod").ZodNumber;
|
|
3822
|
+
}, import("zod/v4/core").$strip>>;
|
|
3823
|
+
}, import("zod/v4/core").$strip>>;
|
|
3824
|
+
kimi: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3825
|
+
name: import("zod").ZodString;
|
|
3826
|
+
label: import("zod").ZodString;
|
|
3827
|
+
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3828
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3829
|
+
kind: import("zod").ZodString;
|
|
3830
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3831
|
+
utilization: import("zod").ZodNumber;
|
|
3832
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3833
|
+
}, import("zod/v4/core").$strip>>;
|
|
3834
|
+
measuredAt: import("zod").ZodNumber;
|
|
3835
|
+
}, import("zod/v4/core").$strip>>;
|
|
3766
3836
|
}, import("zod/v4/core").$strip>>;
|
|
3767
3837
|
gemini: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3768
3838
|
name: import("zod").ZodString;
|
|
3769
3839
|
label: import("zod").ZodString;
|
|
3840
|
+
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3841
|
+
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3842
|
+
kind: import("zod").ZodString;
|
|
3843
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3844
|
+
utilization: import("zod").ZodNumber;
|
|
3845
|
+
resetsAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3846
|
+
}, import("zod/v4/core").$strip>>;
|
|
3847
|
+
measuredAt: import("zod").ZodNumber;
|
|
3848
|
+
}, import("zod/v4/core").$strip>>;
|
|
3770
3849
|
}, import("zod/v4/core").$strip>>;
|
|
3771
3850
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3772
3851
|
connect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -3774,17 +3853,23 @@ export declare const sandboxContract: {
|
|
|
3774
3853
|
codex: "codex";
|
|
3775
3854
|
gemini: "gemini";
|
|
3776
3855
|
grok: "grok";
|
|
3856
|
+
kimi: "kimi";
|
|
3777
3857
|
}>;
|
|
3778
3858
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3779
3859
|
url: import("zod").ZodString;
|
|
3780
3860
|
code: import("zod").ZodString;
|
|
3781
3861
|
state: import("zod").ZodString;
|
|
3862
|
+
flow: import("zod").ZodEnum<{
|
|
3863
|
+
device: "device";
|
|
3864
|
+
redirect: "redirect";
|
|
3865
|
+
}>;
|
|
3782
3866
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3783
3867
|
complete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3784
3868
|
provider: import("zod").ZodEnum<{
|
|
3785
3869
|
codex: "codex";
|
|
3786
3870
|
gemini: "gemini";
|
|
3787
3871
|
grok: "grok";
|
|
3872
|
+
kimi: "kimi";
|
|
3788
3873
|
}>;
|
|
3789
3874
|
redirectUrl: import("zod").ZodString;
|
|
3790
3875
|
state: import("zod").ZodString;
|
|
@@ -3796,6 +3881,7 @@ export declare const sandboxContract: {
|
|
|
3796
3881
|
codex: "codex";
|
|
3797
3882
|
gemini: "gemini";
|
|
3798
3883
|
grok: "grok";
|
|
3884
|
+
kimi: "kimi";
|
|
3799
3885
|
}>;
|
|
3800
3886
|
name: import("zod").ZodString;
|
|
3801
3887
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|