@intentic/sandbox-contract 1.230.2 → 1.231.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 +5 -0
- package/dist/contracts/agent.contract.d.ts +42 -6
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +6 -1
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +293 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.js +10 -1
- package/dist/contracts/capabilities.contract.js.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +15 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/git.contract.d.ts +12 -2
- package/dist/contracts/git.contract.d.ts.map +1 -1
- package/dist/contracts/history.contract.d.ts +6 -1
- package/dist/contracts/history.contract.d.ts.map +1 -1
- package/dist/contracts/panels.contract.d.ts +1 -0
- package/dist/contracts/panels.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +811 -0
- package/dist/contracts/runner.contract.d.ts.map +1 -0
- package/dist/contracts/runner.contract.js +12 -0
- package/dist/contracts/runner.contract.js.map +1 -0
- package/dist/contracts/system.contract.d.ts +2 -3
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/documents.d.ts +7 -0
- package/dist/documents.d.ts.map +1 -0
- package/dist/documents.js +27 -0
- package/dist/documents.js.map +1 -0
- package/dist/events.d.ts +58 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +12 -1
- package/dist/events.js.map +1 -1
- package/dist/history-state.d.ts.map +1 -1
- package/dist/history-state.js +3 -0
- package/dist/history-state.js.map +1 -1
- package/dist/index.d.ts +380 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/runner-protocol.d.ts +134 -0
- package/dist/runner-protocol.d.ts.map +1 -0
- package/dist/runner-protocol.js +95 -0
- package/dist/runner-protocol.js.map +1 -0
- package/dist/schemas.d.ts +62 -9
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +30 -11
- package/dist/schemas.js.map +1 -1
- package/package.json +4 -4
- package/src/contracts/capabilities.contract.ts +16 -0
- package/src/contracts/runner.contract.ts +33 -0
- package/src/documents.test.ts +66 -0
- package/src/documents.ts +71 -0
- package/src/events.ts +44 -2
- package/src/history-state.ts +7 -0
- package/src/index.ts +4 -0
- package/src/runner-protocol.ts +209 -0
- package/src/schemas.ts +106 -37
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { gitContract } from "./contracts/git.contract.js";
|
|
|
17
17
|
export { grokContract } from "./contracts/grok.contract.js";
|
|
18
18
|
export { historyContract } from "./contracts/history.contract.js";
|
|
19
19
|
export { hostContract } from "./contracts/host.contract.js";
|
|
20
|
+
export { runnerContract } from "./contracts/runner.contract.js";
|
|
20
21
|
export { intenticContract } from "./contracts/intentic.contract.js";
|
|
21
22
|
export { inventoryContract } from "./contracts/inventory.contract.js";
|
|
22
23
|
export { logsContract } from "./contracts/logs.contract.js";
|
|
@@ -52,8 +53,10 @@ export * from "./agent-run-model.js";
|
|
|
52
53
|
export * from "./capability-env.js";
|
|
53
54
|
export * from "./capability-secrets.js";
|
|
54
55
|
export * from "./conversation-ids.js";
|
|
56
|
+
export * from "./documents.js";
|
|
55
57
|
export * from "./fast-tier.js";
|
|
56
58
|
export * from "./host-protocol.js";
|
|
59
|
+
export * from "./runner-protocol.js";
|
|
57
60
|
export * from "./listener-protocol.js";
|
|
58
61
|
export * from "./hostnames.js";
|
|
59
62
|
export * from "./model-order.js";
|
|
@@ -147,6 +150,12 @@ export declare const sandboxContract: {
|
|
|
147
150
|
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
148
151
|
conversationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
149
152
|
isolated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
153
|
+
placement: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
154
|
+
kind: import("zod").ZodLiteral<"local">;
|
|
155
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
156
|
+
kind: import("zod").ZodLiteral<"runner">;
|
|
157
|
+
id: import("zod").ZodString;
|
|
158
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
150
159
|
worktreeBase: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
151
160
|
repo: import("zod").ZodString;
|
|
152
161
|
base: import("zod").ZodString;
|
|
@@ -214,6 +223,7 @@ export declare const sandboxContract: {
|
|
|
214
223
|
commits: number;
|
|
215
224
|
blocked: string[];
|
|
216
225
|
} | undefined;
|
|
226
|
+
remote?: string | undefined;
|
|
217
227
|
} | {
|
|
218
228
|
kind: "landed";
|
|
219
229
|
landed: boolean;
|
|
@@ -316,12 +326,12 @@ export declare const sandboxContract: {
|
|
|
316
326
|
} | {
|
|
317
327
|
kind: "subagent";
|
|
318
328
|
id: string;
|
|
319
|
-
subagentKind: "
|
|
329
|
+
subagentKind: "spawned" | "subagent";
|
|
320
330
|
agentType?: string | undefined;
|
|
321
331
|
description?: string | undefined;
|
|
322
332
|
model?: string | undefined;
|
|
333
|
+
provider?: string | undefined;
|
|
323
334
|
background?: boolean | undefined;
|
|
324
|
-
terminal?: string | undefined;
|
|
325
335
|
} | {
|
|
326
336
|
kind: "subagent_update";
|
|
327
337
|
id: string;
|
|
@@ -402,6 +412,13 @@ export declare const sandboxContract: {
|
|
|
402
412
|
kind: "plan";
|
|
403
413
|
requestId: string;
|
|
404
414
|
text: string;
|
|
415
|
+
document?: {
|
|
416
|
+
path: string;
|
|
417
|
+
title: string;
|
|
418
|
+
markdown: string;
|
|
419
|
+
truncated?: boolean | undefined;
|
|
420
|
+
plan?: boolean | undefined;
|
|
421
|
+
} | undefined;
|
|
405
422
|
} | {
|
|
406
423
|
kind: "question";
|
|
407
424
|
requestId: string;
|
|
@@ -415,6 +432,13 @@ export declare const sandboxContract: {
|
|
|
415
432
|
preview?: string | undefined;
|
|
416
433
|
}[];
|
|
417
434
|
}[];
|
|
435
|
+
document?: {
|
|
436
|
+
path: string;
|
|
437
|
+
title: string;
|
|
438
|
+
markdown: string;
|
|
439
|
+
truncated?: boolean | undefined;
|
|
440
|
+
plan?: boolean | undefined;
|
|
441
|
+
} | undefined;
|
|
418
442
|
} | {
|
|
419
443
|
toolName: string;
|
|
420
444
|
title?: string | undefined;
|
|
@@ -552,7 +576,7 @@ export declare const sandboxContract: {
|
|
|
552
576
|
} | {
|
|
553
577
|
kind: "error";
|
|
554
578
|
message: string;
|
|
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;
|
|
579
|
+
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" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
556
580
|
resetsAt?: number | undefined;
|
|
557
581
|
autoResume?: "available" | "scheduled" | undefined;
|
|
558
582
|
outage?: {
|
|
@@ -586,6 +610,7 @@ export declare const sandboxContract: {
|
|
|
586
610
|
commits: number;
|
|
587
611
|
blocked: string[];
|
|
588
612
|
} | undefined;
|
|
613
|
+
remote?: string | undefined;
|
|
589
614
|
} | {
|
|
590
615
|
kind: "landed";
|
|
591
616
|
landed: boolean;
|
|
@@ -688,12 +713,12 @@ export declare const sandboxContract: {
|
|
|
688
713
|
} | {
|
|
689
714
|
kind: "subagent";
|
|
690
715
|
id: string;
|
|
691
|
-
subagentKind: "
|
|
716
|
+
subagentKind: "spawned" | "subagent";
|
|
692
717
|
agentType?: string | undefined;
|
|
693
718
|
description?: string | undefined;
|
|
694
719
|
model?: string | undefined;
|
|
720
|
+
provider?: string | undefined;
|
|
695
721
|
background?: boolean | undefined;
|
|
696
|
-
terminal?: string | undefined;
|
|
697
722
|
} | {
|
|
698
723
|
kind: "subagent_update";
|
|
699
724
|
id: string;
|
|
@@ -774,6 +799,13 @@ export declare const sandboxContract: {
|
|
|
774
799
|
kind: "plan";
|
|
775
800
|
requestId: string;
|
|
776
801
|
text: string;
|
|
802
|
+
document?: {
|
|
803
|
+
path: string;
|
|
804
|
+
title: string;
|
|
805
|
+
markdown: string;
|
|
806
|
+
truncated?: boolean | undefined;
|
|
807
|
+
plan?: boolean | undefined;
|
|
808
|
+
} | undefined;
|
|
777
809
|
} | {
|
|
778
810
|
kind: "question";
|
|
779
811
|
requestId: string;
|
|
@@ -787,6 +819,13 @@ export declare const sandboxContract: {
|
|
|
787
819
|
preview?: string | undefined;
|
|
788
820
|
}[];
|
|
789
821
|
}[];
|
|
822
|
+
document?: {
|
|
823
|
+
path: string;
|
|
824
|
+
title: string;
|
|
825
|
+
markdown: string;
|
|
826
|
+
truncated?: boolean | undefined;
|
|
827
|
+
plan?: boolean | undefined;
|
|
828
|
+
} | undefined;
|
|
790
829
|
} | {
|
|
791
830
|
toolName: string;
|
|
792
831
|
title?: string | undefined;
|
|
@@ -924,7 +963,7 @@ export declare const sandboxContract: {
|
|
|
924
963
|
} | {
|
|
925
964
|
kind: "error";
|
|
926
965
|
message: string;
|
|
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;
|
|
966
|
+
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" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
928
967
|
resetsAt?: number | undefined;
|
|
929
968
|
autoResume?: "available" | "scheduled" | undefined;
|
|
930
969
|
outage?: {
|
|
@@ -2531,7 +2570,12 @@ export declare const sandboxContract: {
|
|
|
2531
2570
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2532
2571
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2533
2572
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2534
|
-
|
|
2573
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2574
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2575
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2576
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2577
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2578
|
+
}, import("zod/v4/core").$strip>>;
|
|
2535
2579
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2536
2580
|
land: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2537
2581
|
id: import("zod").ZodString;
|
|
@@ -3641,6 +3685,299 @@ export declare const sandboxContract: {
|
|
|
3641
3685
|
[x: string]: unknown;
|
|
3642
3686
|
kind: string;
|
|
3643
3687
|
}, unknown, void>>, Record<never, never>, Record<never, never>>;
|
|
3688
|
+
probe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3689
|
+
id: import("zod").ZodString;
|
|
3690
|
+
kind: import("zod").ZodLiteral<"devops">;
|
|
3691
|
+
config: import("zod").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
3692
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3693
|
+
id: import("zod").ZodString;
|
|
3694
|
+
kind: import("zod").ZodLiteral<"monorepo">;
|
|
3695
|
+
config: import("zod").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
3696
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3697
|
+
id: import("zod").ZodString;
|
|
3698
|
+
kind: import("zod").ZodLiteral<"mcp">;
|
|
3699
|
+
config: import("zod").ZodObject<{
|
|
3700
|
+
url: import("zod").ZodURL;
|
|
3701
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3702
|
+
}, import("zod/v4/core").$strip>;
|
|
3703
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3704
|
+
id: import("zod").ZodString;
|
|
3705
|
+
kind: import("zod").ZodLiteral<"service">;
|
|
3706
|
+
config: import("zod").ZodObject<{
|
|
3707
|
+
service: import("zod").ZodEnum<{
|
|
3708
|
+
infisical: "infisical";
|
|
3709
|
+
invoiceninja: "invoiceninja";
|
|
3710
|
+
openproject: "openproject";
|
|
3711
|
+
outline: "outline";
|
|
3712
|
+
paperless: "paperless";
|
|
3713
|
+
signoz: "signoz";
|
|
3714
|
+
}>;
|
|
3715
|
+
domain: import("zod").ZodString;
|
|
3716
|
+
on: import("zod").ZodString;
|
|
3717
|
+
expose: import("zod").ZodString;
|
|
3718
|
+
}, import("zod/v4/core").$strip>;
|
|
3719
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3720
|
+
id: import("zod").ZodString;
|
|
3721
|
+
kind: import("zod").ZodLiteral<"integration">;
|
|
3722
|
+
config: import("zod").ZodObject<{
|
|
3723
|
+
provider: import("zod").ZodLiteral<"stripe">;
|
|
3724
|
+
}, import("zod/v4/core").$strip>;
|
|
3725
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3726
|
+
id: import("zod").ZodString;
|
|
3727
|
+
kind: import("zod").ZodLiteral<"cli">;
|
|
3728
|
+
config: import("zod").ZodObject<{
|
|
3729
|
+
provider: import("zod").ZodString;
|
|
3730
|
+
}, import("zod/v4/core").$catchall<import("zod").ZodString>>;
|
|
3731
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3732
|
+
id: import("zod").ZodString;
|
|
3733
|
+
kind: import("zod").ZodLiteral<"plugin">;
|
|
3734
|
+
config: import("zod").ZodObject<{
|
|
3735
|
+
url: import("zod").ZodURL;
|
|
3736
|
+
ref: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3737
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3738
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3739
|
+
}, import("zod/v4/core").$strip>;
|
|
3740
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3741
|
+
id: import("zod").ZodString;
|
|
3742
|
+
kind: import("zod").ZodLiteral<"extension">;
|
|
3743
|
+
config: import("zod").ZodObject<{
|
|
3744
|
+
url: import("zod").ZodURL;
|
|
3745
|
+
ref: import("zod").ZodString;
|
|
3746
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3747
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3748
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3749
|
+
free: "free";
|
|
3750
|
+
premium: "premium";
|
|
3751
|
+
}>>;
|
|
3752
|
+
registry: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
3753
|
+
}, import("zod/v4/core").$strip>;
|
|
3754
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3755
|
+
id: import("zod").ZodString;
|
|
3756
|
+
kind: import("zod").ZodLiteral<"ssh">;
|
|
3757
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3758
|
+
auth: import("zod").ZodLiteral<"key">;
|
|
3759
|
+
host: import("zod").ZodString;
|
|
3760
|
+
port: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
3761
|
+
user: import("zod").ZodString;
|
|
3762
|
+
privateKey: import("zod").ZodString;
|
|
3763
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3764
|
+
auth: import("zod").ZodLiteral<"password">;
|
|
3765
|
+
host: import("zod").ZodString;
|
|
3766
|
+
port: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
3767
|
+
user: import("zod").ZodString;
|
|
3768
|
+
password: import("zod").ZodString;
|
|
3769
|
+
}, import("zod/v4/core").$strip>], "auth">;
|
|
3770
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3771
|
+
id: import("zod").ZodString;
|
|
3772
|
+
kind: import("zod").ZodLiteral<"vpn">;
|
|
3773
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3774
|
+
provider: import("zod").ZodLiteral<"wireguard">;
|
|
3775
|
+
config: import("zod").ZodString;
|
|
3776
|
+
autoConnect: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3777
|
+
off: "off";
|
|
3778
|
+
on: "on";
|
|
3779
|
+
}>>;
|
|
3780
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3781
|
+
provider: import("zod").ZodLiteral<"fortinet">;
|
|
3782
|
+
server: import("zod").ZodString;
|
|
3783
|
+
port: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
3784
|
+
username: import("zod").ZodString;
|
|
3785
|
+
password: import("zod").ZodString;
|
|
3786
|
+
trustedCert: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3787
|
+
realm: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3788
|
+
autoConnect: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3789
|
+
off: "off";
|
|
3790
|
+
on: "on";
|
|
3791
|
+
}>>;
|
|
3792
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3793
|
+
provider: import("zod").ZodLiteral<"ipsec">;
|
|
3794
|
+
server: import("zod").ZodString;
|
|
3795
|
+
presharedKey: import("zod").ZodString;
|
|
3796
|
+
localId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3797
|
+
remoteId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3798
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3799
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3800
|
+
ikeVersion: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3801
|
+
1: "1";
|
|
3802
|
+
2: "2";
|
|
3803
|
+
}>>;
|
|
3804
|
+
pfs: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3805
|
+
off: "off";
|
|
3806
|
+
on: "on";
|
|
3807
|
+
}>>;
|
|
3808
|
+
dhGroup: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3809
|
+
14: "14";
|
|
3810
|
+
15: "15";
|
|
3811
|
+
16: "16";
|
|
3812
|
+
19: "19";
|
|
3813
|
+
2: "2";
|
|
3814
|
+
20: "20";
|
|
3815
|
+
5: "5";
|
|
3816
|
+
}>>;
|
|
3817
|
+
aggressive: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3818
|
+
off: "off";
|
|
3819
|
+
on: "on";
|
|
3820
|
+
}>>;
|
|
3821
|
+
routedNetworks: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3822
|
+
autoConnect: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3823
|
+
off: "off";
|
|
3824
|
+
on: "on";
|
|
3825
|
+
}>>;
|
|
3826
|
+
}, import("zod/v4/core").$strip>], "provider">;
|
|
3827
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3828
|
+
id: import("zod").ZodString;
|
|
3829
|
+
kind: import("zod").ZodLiteral<"exit">;
|
|
3830
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3831
|
+
provider: import("zod").ZodLiteral<"tor">;
|
|
3832
|
+
country: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
3833
|
+
autoStart: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3834
|
+
off: "off";
|
|
3835
|
+
on: "on";
|
|
3836
|
+
}>>;
|
|
3837
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3838
|
+
provider: import("zod").ZodLiteral<"vpngate">;
|
|
3839
|
+
country: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
3840
|
+
autoStart: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3841
|
+
off: "off";
|
|
3842
|
+
on: "on";
|
|
3843
|
+
}>>;
|
|
3844
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3845
|
+
provider: import("zod").ZodLiteral<"wireguard">;
|
|
3846
|
+
config: import("zod").ZodString;
|
|
3847
|
+
country: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
3848
|
+
autoStart: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3849
|
+
off: "off";
|
|
3850
|
+
on: "on";
|
|
3851
|
+
}>>;
|
|
3852
|
+
}, import("zod/v4/core").$strip>], "provider">;
|
|
3853
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3854
|
+
id: import("zod").ZodString;
|
|
3855
|
+
kind: import("zod").ZodLiteral<"docker">;
|
|
3856
|
+
config: import("zod").ZodObject<{
|
|
3857
|
+
gpu: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3858
|
+
off: "off";
|
|
3859
|
+
on: "on";
|
|
3860
|
+
}>>;
|
|
3861
|
+
registryMirror: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
3862
|
+
insecureRegistries: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3863
|
+
addressPool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3864
|
+
}, import("zod/v4/core").$strip>;
|
|
3865
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3866
|
+
id: import("zod").ZodString;
|
|
3867
|
+
kind: import("zod").ZodLiteral<"browser">;
|
|
3868
|
+
config: import("zod").ZodObject<{
|
|
3869
|
+
platform: import("zod").ZodString;
|
|
3870
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3871
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3872
|
+
identity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3873
|
+
purpose: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3874
|
+
openedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3875
|
+
exit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3876
|
+
}, import("zod/v4/core").$catchall<import("zod").ZodString>>;
|
|
3877
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3878
|
+
id: import("zod").ZodString;
|
|
3879
|
+
kind: import("zod").ZodLiteral<"identity">;
|
|
3880
|
+
config: import("zod").ZodObject<{
|
|
3881
|
+
email: import("zod").ZodString;
|
|
3882
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3883
|
+
mailbox: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3884
|
+
loginUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
3885
|
+
openAccounts: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3886
|
+
off: "off";
|
|
3887
|
+
on: "on";
|
|
3888
|
+
}>>;
|
|
3889
|
+
exit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3890
|
+
}, import("zod/v4/core").$strip>;
|
|
3891
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3892
|
+
id: import("zod").ZodString;
|
|
3893
|
+
kind: import("zod").ZodLiteral<"host">;
|
|
3894
|
+
config: import("zod").ZodObject<{
|
|
3895
|
+
shell: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3896
|
+
off: "off";
|
|
3897
|
+
on: "on";
|
|
3898
|
+
}>>;
|
|
3899
|
+
write: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3900
|
+
off: "off";
|
|
3901
|
+
on: "on";
|
|
3902
|
+
}>>;
|
|
3903
|
+
screen: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3904
|
+
off: "off";
|
|
3905
|
+
on: "on";
|
|
3906
|
+
}>>;
|
|
3907
|
+
control: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3908
|
+
off: "off";
|
|
3909
|
+
on: "on";
|
|
3910
|
+
}>>;
|
|
3911
|
+
sandboxes: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3912
|
+
off: "off";
|
|
3913
|
+
on: "on";
|
|
3914
|
+
}>>;
|
|
3915
|
+
sandboxRemove: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3916
|
+
off: "off";
|
|
3917
|
+
on: "on";
|
|
3918
|
+
}>>;
|
|
3919
|
+
roots: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3920
|
+
platform: import("zod").ZodString;
|
|
3921
|
+
}, import("zod/v4/core").$strip>;
|
|
3922
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3923
|
+
id: import("zod").ZodString;
|
|
3924
|
+
kind: import("zod").ZodLiteral<"agent">;
|
|
3925
|
+
config: import("zod").ZodObject<{
|
|
3926
|
+
command: import("zod").ZodString;
|
|
3927
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3928
|
+
env: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3929
|
+
loginCommand: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3930
|
+
}, import("zod/v4/core").$strip>;
|
|
3931
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3932
|
+
id: import("zod").ZodString;
|
|
3933
|
+
kind: import("zod").ZodLiteral<"endpoint">;
|
|
3934
|
+
config: import("zod").ZodObject<{
|
|
3935
|
+
baseUrl: import("zod").ZodURL;
|
|
3936
|
+
protocol: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3937
|
+
anthropic: "anthropic";
|
|
3938
|
+
openai: "openai";
|
|
3939
|
+
}>>;
|
|
3940
|
+
apiKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3941
|
+
headers: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3942
|
+
}, import("zod/v4/core").$strip>;
|
|
3943
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3944
|
+
id: import("zod").ZodString;
|
|
3945
|
+
kind: import("zod").ZodLiteral<"localmodel">;
|
|
3946
|
+
config: import("zod").ZodObject<{
|
|
3947
|
+
model: import("zod").ZodString;
|
|
3948
|
+
gpu: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3949
|
+
off: "off";
|
|
3950
|
+
on: "on";
|
|
3951
|
+
}>>;
|
|
3952
|
+
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
3953
|
+
context: import("zod").ZodDefault<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
|
|
3954
|
+
131072: "131072";
|
|
3955
|
+
16384: "16384";
|
|
3956
|
+
32768: "32768";
|
|
3957
|
+
65536: "65536";
|
|
3958
|
+
}>, import("zod").ZodLiteral<"custom">]>>;
|
|
3959
|
+
contextTokens: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
3960
|
+
}, import("zod/v4/core").$strip>;
|
|
3961
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3962
|
+
id: import("zod").ZodString;
|
|
3963
|
+
kind: import("zod").ZodLiteral<"wallet">;
|
|
3964
|
+
config: import("zod").ZodObject<{
|
|
3965
|
+
network: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
3966
|
+
"eip155:8453": "eip155:8453";
|
|
3967
|
+
"eip155:84532": "eip155:84532";
|
|
3968
|
+
}>>;
|
|
3969
|
+
address: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3970
|
+
perPaymentMaxUsd: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3971
|
+
autoApproveUnderUsd: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3972
|
+
dailyCapUsd: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3973
|
+
allow: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3974
|
+
deny: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3975
|
+
}, import("zod/v4/core").$strip>;
|
|
3976
|
+
}, import("zod/v4/core").$strip>], "kind">, import("zod").ZodObject<{
|
|
3977
|
+
checked: import("zod").ZodBoolean;
|
|
3978
|
+
ok: import("zod").ZodBoolean;
|
|
3979
|
+
message: import("zod").ZodString;
|
|
3980
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3644
3981
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3645
3982
|
id: import("zod").ZodString;
|
|
3646
3983
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -4350,6 +4687,7 @@ export declare const sandboxContract: {
|
|
|
4350
4687
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4351
4688
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4352
4689
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4690
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4353
4691
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4354
4692
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4355
4693
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -4366,6 +4704,17 @@ export declare const sandboxContract: {
|
|
|
4366
4704
|
skill: import("zod").ZodString;
|
|
4367
4705
|
fragment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4368
4706
|
pack: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4707
|
+
probe: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4708
|
+
url: import("zod").ZodString;
|
|
4709
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4710
|
+
GET: "GET";
|
|
4711
|
+
HEAD: "HEAD";
|
|
4712
|
+
POST: "POST";
|
|
4713
|
+
}>>;
|
|
4714
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
4715
|
+
identity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4716
|
+
insecure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4717
|
+
}, import("zod/v4/core").$strip>>;
|
|
4369
4718
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4370
4719
|
id: import("zod").ZodString;
|
|
4371
4720
|
catalog: import("zod").ZodObject<{
|
|
@@ -4392,6 +4741,7 @@ export declare const sandboxContract: {
|
|
|
4392
4741
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4393
4742
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4394
4743
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4744
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4395
4745
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4396
4746
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4397
4747
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -4434,6 +4784,7 @@ export declare const sandboxContract: {
|
|
|
4434
4784
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4435
4785
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4436
4786
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4787
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4437
4788
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4438
4789
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4439
4790
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -4474,6 +4825,7 @@ export declare const sandboxContract: {
|
|
|
4474
4825
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4475
4826
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4476
4827
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4828
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4477
4829
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4478
4830
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4479
4831
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -5560,7 +5912,12 @@ export declare const sandboxContract: {
|
|
|
5560
5912
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5561
5913
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5562
5914
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5563
|
-
|
|
5915
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5916
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5917
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5918
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5919
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5920
|
+
}, import("zod/v4/core").$strip>>;
|
|
5564
5921
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
5565
5922
|
operation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
5566
5923
|
repo: import("zod").ZodString;
|
|
@@ -5760,7 +6117,12 @@ export declare const sandboxContract: {
|
|
|
5760
6117
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5761
6118
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5762
6119
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5763
|
-
|
|
6120
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6121
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6122
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6123
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6124
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6125
|
+
}, import("zod/v4/core").$strip>>;
|
|
5764
6126
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
5765
6127
|
status: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
5766
6128
|
repo: import("zod").ZodString;
|
|
@@ -6031,7 +6393,12 @@ export declare const sandboxContract: {
|
|
|
6031
6393
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6032
6394
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6033
6395
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6034
|
-
|
|
6396
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6397
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6398
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6399
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6400
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6401
|
+
}, import("zod/v4/core").$strip>>;
|
|
6035
6402
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
6036
6403
|
restore: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
6037
6404
|
id: import("zod").ZodString;
|
|
@@ -6879,6 +7246,7 @@ export declare const sandboxContract: {
|
|
|
6879
7246
|
healthy: import("zod").ZodBoolean;
|
|
6880
7247
|
port: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6881
7248
|
servers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7249
|
+
port: import("zod").ZodNumber;
|
|
6882
7250
|
url: import("zod").ZodString;
|
|
6883
7251
|
dir: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6884
7252
|
session: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -7583,14 +7951,14 @@ export declare const sandboxContract: {
|
|
|
7583
7951
|
sessions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7584
7952
|
id: import("zod").ZodString;
|
|
7585
7953
|
kind: import("zod").ZodEnum<{
|
|
7586
|
-
|
|
7587
|
-
grok: "grok";
|
|
7954
|
+
spawned: "spawned";
|
|
7588
7955
|
subagent: "subagent";
|
|
7589
7956
|
}>;
|
|
7590
7957
|
conversationId: import("zod").ZodString;
|
|
7591
7958
|
agentType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7592
7959
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7593
7960
|
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7961
|
+
provider: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7594
7962
|
spawnDepth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7595
7963
|
background: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7596
7964
|
status: import("zod").ZodEnum<{
|
|
@@ -7610,7 +7978,6 @@ export declare const sandboxContract: {
|
|
|
7610
7978
|
lastTool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7611
7979
|
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7612
7980
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7613
|
-
terminal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7614
7981
|
}, import("zod/v4/core").$strip>>;
|
|
7615
7982
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
7616
7983
|
subagentTranscript: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|