@tangle-network/sandbox 1.0.264 → 1.0.266
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 +17 -7
- package/dist/abi-pcDt2Adp.js +136 -0
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +5 -5
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +2 -2
- package/dist/{agent-run-outcome-DLLvOkbe.d.ts → agent-run-outcome-DThM9ULE.d.ts} +2 -2
- package/dist/{api-request-SBaqnuZB.js → api-request-gkPDymqn.js} +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-Bg7mWDLX.d.ts → browser-interactive-control-controller-ClykJB9N.d.ts} +1 -1
- package/dist/{browser-interactive-control-controller-PiCGGheb.js → browser-interactive-control-controller-S_Uo-Zy7.js} +1 -1
- package/dist/{chunked-upload-D2S7tOJO.js → chunked-upload-ChZB-dYE.js} +1 -1
- package/dist/{chunked-upload-file-CfuaCSja.js → chunked-upload-file-BGaOS3iK.js} +1 -1
- package/dist/cli-auth-bundle-DXKH215p.js +2 -0
- package/dist/{cli-auth-bundle-C6DtK7GX-D8681c7j.js → cli-auth-bundle-DcxhAW23-C22MMIvx.js} +36 -36
- package/dist/{client-CkpH8MsM.js → client-BWD7-uaL.js} +40 -57
- package/dist/{client-DaZwQeOS.d.ts → client-BYGLoEiU.d.ts} +153 -198
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-Corlo5N0.js → collaboration-Bqk4jYQe.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{error-catalog-CWtp7Yg1.js → error-catalog-GS97N-Cm.js} +1 -1
- package/dist/{errors-C0S3TzhR.js → errors-D44qyFpy.js} +1 -1
- package/dist/{file-download-7lcgh1LR.js → file-download-BO-Hmn3x.js} +1 -1
- package/dist/gpu-lease/index.d.ts +192 -184
- package/dist/gpu-lease/index.js +390 -281
- package/dist/{index-dxhLhM8L.d.ts → index-DkB8WbjK.d.ts} +43 -99
- package/dist/index.d.ts +13 -13
- package/dist/index.js +178 -61
- package/dist/intelligence/index.d.ts +1 -1
- package/dist/intelligence/index.js +4 -4
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-CRp4VQKD.d.ts → interactive-controller-DSYQTRwh.d.ts} +3 -3
- package/dist/{interactive-controller-CqJX-LcO.js → interactive-controller-llj6EdlZ.js} +4 -4
- package/dist/lib/prepared-evidence.js +1 -1
- package/dist/{lines-BTStaSM2.d.ts → lines-D7lE49lV.d.ts} +1 -1
- package/dist/{lines-NECw0OhS.js → lines-DwJ7AKx7.js} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-wyO74fdb.js → local-cli-auth-C2cETxK4.js} +1 -1
- package/dist/{mcp-local-CpQncJsf.js → mcp-local-DVzsBlqX.js} +3 -3
- package/dist/{preview-D6bMarHf.d.ts → preview-DsHoo8BC.d.ts} +3 -3
- package/dist/{public-templates-3diq9yKD.d.ts → public-templates-DRqOkshE.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-B0oCpHY3.js → raw-evidence-archive-BJ1cA-sP.js} +3 -3
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-BVN_aNT1.js → sandbox-C3PqmwfU.js} +136 -196
- package/dist/{secp256k1-ZiYFbGjz.js → secp256k1-DIwypP5B.js} +1 -1
- package/dist/{select-seat-Cu-9jRO-.js → select-seat-Dc7cQ8To.js} +3 -3
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +2 -2
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +2 -1
- package/dist/{tangle-Bpv3pIjM.js → tangle-BP8F3ZN0.js} +58 -185
- package/dist/{terminal-stream-types-DLaXWiSA.d.ts → terminal-stream-types-Cdz3xrux.d.ts} +1 -1
- package/dist/{types-COnts0u7.d.ts → types-BikjtQi3.d.ts} +202 -224
- package/package.json +11 -11
- package/dist/cli-auth-bundle-D5ZBMpZ7.js +0 -2
- /package/dist/{cli-auth-bundle-eUl7Sa1x.d.ts → cli-auth-bundle-CQCt2mcZ.d.ts} +0 -0
- /package/dist/{direct-http2-zLxsvF44.js → direct-http2-CzeIT93P.js} +0 -0
- /package/dist/{index-ClusTWYM.d.ts → index-B6aMEMDR.d.ts} +0 -0
- /package/dist/{index-BTXyTVq4.d.ts → index-BsT3M4X-.d.ts} +0 -0
- /package/dist/{prepared-evidence-ibAysmX8.js → prepared-evidence-DIFfn4Ki.js} +0 -0
- /package/dist/{preview-operations-DWL78boI.js → preview-operations-BTHZR1w2.js} +0 -0
- /package/dist/{raw-evidence-export-C0ieFpi2.d.ts → raw-evidence-export-C-TDdAgC.d.ts} +0 -0
- /package/dist/{raw-evidence-export-C6Xdl3nC.js → raw-evidence-export-Dog7W5zP.js} +0 -0
- /package/dist/{utils-BT2q9nkO.js → utils-BvN0Mk3j.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-
|
|
2
|
-
import { At as AgentProfileConfigValue, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ht as BatchEvent, Lt as HarnessType, Mt as AgentProfileMcpServer, Nt as AgentProfileMetadata, Pt as AgentProfileSeat, R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, ft as AgentInteractiveSessionRef, it as SandboxSizePreset, jt as AgentProfileFileMount, kt as AgentProfileConfidential, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-
|
|
3
|
-
import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity,
|
|
4
|
-
import { t as LinesClient } from "./lines-
|
|
5
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-DkB8WbjK.js";
|
|
2
|
+
import { At as AgentProfileConfigValue, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ht as BatchEvent, Lt as HarnessType, Mt as AgentProfileMcpServer, Nt as AgentProfileMetadata, Pt as AgentProfileSeat, R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, ft as AgentInteractiveSessionRef, it as SandboxSizePreset, jt as AgentProfileFileMount, kt as AgentProfileConfidential, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-Cdz3xrux.js";
|
|
3
|
+
import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Aa as GpuLeaseProviderName, Ai as TurnBackendConfig, Br as ManagedProcessJobs, Bt as SandboxFleetParent, Ci as SandboxEvent, Dn as SandboxResources, En as SandboxConfig, Et as SandboxFleetCostEstimate, Fi as ConversationTurnResult, Ft as SandboxFleetMachineRecord, Gr as ManagedProcessSpec, Gt as SandboxFleetToken, Hr as ManagedProcessResumeOptions, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Kr as HttpClient, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as ConversationTurnOptions, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Si as PromptResult, St as SandboxFleetAgent, T as SshKeysManager, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Ua as ExecResult, Vr as ManagedProcessOptions, Wr as ManagedProcessRecord, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, _i as IntelligenceReportCompareTo, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, ba as SecretBindingOptions, bi as PromptInputPart, bn as TeeAttestationResponse, bt as ReconcileSandboxFleetsOptions, c as SandboxDeleteOptions, ci as CreateIntelligenceReportOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fa as BackendConfig, ft as FleetMachineId, gi as IntelligenceReportBudget, gt as FleetRunOptions, hi as IntelligenceReport, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, qr as SdkTimingHook, r as DeleteMatchingSandboxesFilter, ri as BatchRunOptions, s as SandboxDeleteAcknowledgement, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as PromptOptions, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReportWindow, yn as TeeAttestationReport, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zt as SandboxFleetOperationsSummary } from "./types-BikjtQi3.js";
|
|
4
|
+
import { t as LinesClient } from "./lines-D7lE49lV.js";
|
|
5
|
+
import { a as PublicTemplatesClient } from "./public-templates-DRqOkshE.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/backend-registry.d.ts
|
|
@@ -30,6 +30,7 @@ declare const backendRegistryCapabilitiesSchema: z.ZodObject<{
|
|
|
30
30
|
sessions: z.ZodBoolean;
|
|
31
31
|
configurable: z.ZodBoolean;
|
|
32
32
|
interactions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("plan" | "question" | "permission")[], string[]>>;
|
|
33
|
+
executionCorrelation: z.ZodDefault<z.ZodBoolean>;
|
|
33
34
|
}, z.core.$strip>;
|
|
34
35
|
/** One backend entry returned by the Sandbox API registry. */
|
|
35
36
|
declare const backendRegistryEntrySchema: z.ZodObject<{
|
|
@@ -50,6 +51,7 @@ declare const backendRegistryEntrySchema: z.ZodObject<{
|
|
|
50
51
|
sessions: z.ZodBoolean;
|
|
51
52
|
configurable: z.ZodBoolean;
|
|
52
53
|
interactions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("plan" | "question" | "permission")[], string[]>>;
|
|
54
|
+
executionCorrelation: z.ZodDefault<z.ZodBoolean>;
|
|
53
55
|
}, z.core.$strip>;
|
|
54
56
|
callerCredentialOnly: z.ZodBoolean;
|
|
55
57
|
}, z.core.$strip>;
|
|
@@ -73,6 +75,7 @@ declare const backendRegistryResponseSchema: z.ZodObject<{
|
|
|
73
75
|
sessions: z.ZodBoolean;
|
|
74
76
|
configurable: z.ZodBoolean;
|
|
75
77
|
interactions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("plan" | "question" | "permission")[], string[]>>;
|
|
78
|
+
executionCorrelation: z.ZodDefault<z.ZodBoolean>;
|
|
76
79
|
}, z.core.$strip>;
|
|
77
80
|
callerCredentialOnly: z.ZodBoolean;
|
|
78
81
|
}, z.core.$strip>>;
|
|
@@ -790,6 +793,12 @@ interface EnsureInstanceOptions {
|
|
|
790
793
|
* has no instance yet. Ignored once the key has one.
|
|
791
794
|
*/
|
|
792
795
|
adopt?: string;
|
|
796
|
+
/**
|
|
797
|
+
* The sandbox this call was pinned to. When the key's sandbox is another
|
|
798
|
+
* one or gone, `ensure` refuses with `SANDBOX_CHANGED` or `SANDBOX_MISSING`
|
|
799
|
+
* and never creates or replaces one.
|
|
800
|
+
*/
|
|
801
|
+
expectSandboxId?: string;
|
|
793
802
|
}
|
|
794
803
|
/**
|
|
795
804
|
* The sandbox cannot start yet. `ensure()` replaces it once it has kept
|
|
@@ -1416,23 +1425,15 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1416
1425
|
environment: z.ZodOptional<z.ZodString>;
|
|
1417
1426
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
1418
1427
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
1419
|
-
driver: z.ZodOptional<z.
|
|
1420
|
-
|
|
1421
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
1422
|
-
type: z.ZodLiteral<"host-agent">;
|
|
1423
|
-
runtimeBackend: z.ZodOptional<z.ZodEnum<{
|
|
1424
|
-
docker: "docker";
|
|
1425
|
-
firecracker: "firecracker";
|
|
1426
|
-
}>>;
|
|
1427
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1428
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
1429
|
+
type: z.ZodLiteral<"tangle">;
|
|
1428
1430
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
1429
1431
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
}, z.core.$strict>], "type">>;
|
|
1432
|
+
}, z.core.$strict>>;
|
|
1433
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
docker: "docker";
|
|
1435
|
+
firecracker: "firecracker";
|
|
1436
|
+
}>>;
|
|
1436
1437
|
backend: z.ZodOptional<z.ZodObject<{
|
|
1437
1438
|
type: z.ZodEnum<{
|
|
1438
1439
|
"claude-code": "claude-code";
|
|
@@ -1785,8 +1786,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1785
1786
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
1786
1787
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
1787
1788
|
kind: z.ZodString;
|
|
1788
|
-
count: z.
|
|
1789
|
-
|
|
1789
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
1790
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
1790
1791
|
}, z.core.$strict>>;
|
|
1791
1792
|
}, z.core.$strict>>;
|
|
1792
1793
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1828,23 +1829,15 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1828
1829
|
environment: z.ZodOptional<z.ZodString>;
|
|
1829
1830
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
1830
1831
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
1831
|
-
driver: z.ZodOptional<z.
|
|
1832
|
-
|
|
1833
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
1834
|
-
type: z.ZodLiteral<"host-agent">;
|
|
1835
|
-
runtimeBackend: z.ZodOptional<z.ZodEnum<{
|
|
1836
|
-
docker: "docker";
|
|
1837
|
-
firecracker: "firecracker";
|
|
1838
|
-
}>>;
|
|
1839
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1832
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
1833
|
+
type: z.ZodLiteral<"tangle">;
|
|
1840
1834
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
1841
1835
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
}, z.core.$strict>], "type">>;
|
|
1836
|
+
}, z.core.$strict>>;
|
|
1837
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1838
|
+
docker: "docker";
|
|
1839
|
+
firecracker: "firecracker";
|
|
1840
|
+
}>>;
|
|
1848
1841
|
backend: z.ZodOptional<z.ZodObject<{
|
|
1849
1842
|
type: z.ZodEnum<{
|
|
1850
1843
|
"claude-code": "claude-code";
|
|
@@ -2197,8 +2190,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2197
2190
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
2198
2191
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
2199
2192
|
kind: z.ZodString;
|
|
2200
|
-
count: z.
|
|
2201
|
-
|
|
2193
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
2194
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
2202
2195
|
}, z.core.$strict>>;
|
|
2203
2196
|
}, z.core.$strict>>;
|
|
2204
2197
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2250,23 +2243,15 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2250
2243
|
environment: z.ZodOptional<z.ZodString>;
|
|
2251
2244
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
2252
2245
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
2253
|
-
driver: z.ZodOptional<z.
|
|
2246
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
2247
|
+
type: z.ZodLiteral<"tangle">;
|
|
2254
2248
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
2255
2249
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2262
|
-
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
2263
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
2264
|
-
type: z.ZodEnum<{
|
|
2265
|
-
docker: "docker";
|
|
2266
|
-
firecracker: "firecracker";
|
|
2267
|
-
tangle: "tangle";
|
|
2268
|
-
}>;
|
|
2269
|
-
}, z.core.$strict>], "type">>;
|
|
2250
|
+
}, z.core.$strict>>;
|
|
2251
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
2252
|
+
docker: "docker";
|
|
2253
|
+
firecracker: "firecracker";
|
|
2254
|
+
}>>;
|
|
2270
2255
|
backend: z.ZodOptional<z.ZodObject<{
|
|
2271
2256
|
type: z.ZodEnum<{
|
|
2272
2257
|
"claude-code": "claude-code";
|
|
@@ -2619,8 +2604,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2619
2604
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
2620
2605
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
2621
2606
|
kind: z.ZodString;
|
|
2622
|
-
count: z.
|
|
2623
|
-
|
|
2607
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
2608
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
2624
2609
|
}, z.core.$strict>>;
|
|
2625
2610
|
}, z.core.$strict>>;
|
|
2626
2611
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2657,23 +2642,15 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2657
2642
|
environment: z.ZodOptional<z.ZodString>;
|
|
2658
2643
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
2659
2644
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
2660
|
-
driver: z.ZodOptional<z.
|
|
2645
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
2646
|
+
type: z.ZodLiteral<"tangle">;
|
|
2661
2647
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
2662
2648
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2669
|
-
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
2670
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
2671
|
-
type: z.ZodEnum<{
|
|
2672
|
-
docker: "docker";
|
|
2673
|
-
firecracker: "firecracker";
|
|
2674
|
-
tangle: "tangle";
|
|
2675
|
-
}>;
|
|
2676
|
-
}, z.core.$strict>], "type">>;
|
|
2649
|
+
}, z.core.$strict>>;
|
|
2650
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
2651
|
+
docker: "docker";
|
|
2652
|
+
firecracker: "firecracker";
|
|
2653
|
+
}>>;
|
|
2677
2654
|
backend: z.ZodOptional<z.ZodObject<{
|
|
2678
2655
|
type: z.ZodEnum<{
|
|
2679
2656
|
"claude-code": "claude-code";
|
|
@@ -3026,8 +3003,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3026
3003
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
3027
3004
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
3028
3005
|
kind: z.ZodString;
|
|
3029
|
-
count: z.
|
|
3030
|
-
|
|
3006
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
3007
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
3031
3008
|
}, z.core.$strict>>;
|
|
3032
3009
|
}, z.core.$strict>>;
|
|
3033
3010
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3069,23 +3046,15 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3069
3046
|
environment: z.ZodOptional<z.ZodString>;
|
|
3070
3047
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
3071
3048
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
3072
|
-
driver: z.ZodOptional<z.
|
|
3049
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
3050
|
+
type: z.ZodLiteral<"tangle">;
|
|
3073
3051
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
3074
3052
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3081
|
-
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
3082
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
3083
|
-
type: z.ZodEnum<{
|
|
3084
|
-
docker: "docker";
|
|
3085
|
-
firecracker: "firecracker";
|
|
3086
|
-
tangle: "tangle";
|
|
3087
|
-
}>;
|
|
3088
|
-
}, z.core.$strict>], "type">>;
|
|
3053
|
+
}, z.core.$strict>>;
|
|
3054
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
3055
|
+
docker: "docker";
|
|
3056
|
+
firecracker: "firecracker";
|
|
3057
|
+
}>>;
|
|
3089
3058
|
backend: z.ZodOptional<z.ZodObject<{
|
|
3090
3059
|
type: z.ZodEnum<{
|
|
3091
3060
|
"claude-code": "claude-code";
|
|
@@ -3438,8 +3407,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3438
3407
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
3439
3408
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
3440
3409
|
kind: z.ZodString;
|
|
3441
|
-
count: z.
|
|
3442
|
-
|
|
3410
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
3411
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
3443
3412
|
}, z.core.$strict>>;
|
|
3444
3413
|
}, z.core.$strict>>;
|
|
3445
3414
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3538,19 +3507,32 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3538
3507
|
action: z.ZodLiteral<"attachGpuLease">;
|
|
3539
3508
|
sandboxId: z.ZodString;
|
|
3540
3509
|
options: z.ZodObject<{
|
|
3541
|
-
provider: z.ZodOptional<z.
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
modal: "modal";
|
|
3546
|
-
}>>;
|
|
3510
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3511
|
+
image: z.ZodOptional<z.ZodString>;
|
|
3512
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3513
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3547
3514
|
accelerator: z.ZodObject<{
|
|
3548
3515
|
kind: z.ZodString;
|
|
3549
|
-
count: z.
|
|
3550
|
-
|
|
3516
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
3517
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
3551
3518
|
}, z.core.$strict>;
|
|
3552
|
-
|
|
3553
|
-
|
|
3519
|
+
endpoint: z.ZodOptional<z.ZodObject<{
|
|
3520
|
+
port: z.ZodNumber;
|
|
3521
|
+
healthPath: z.ZodOptional<z.ZodString>;
|
|
3522
|
+
}, z.core.$strict>>;
|
|
3523
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3524
|
+
manifest: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3525
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
3526
|
+
volumeGb: z.ZodOptional<z.ZodNumber>;
|
|
3527
|
+
volumeMountPath: z.ZodOptional<z.ZodString>;
|
|
3528
|
+
region: z.ZodOptional<z.ZodString>;
|
|
3529
|
+
allowSpot: z.ZodOptional<z.ZodBoolean>;
|
|
3530
|
+
maxHourlyUsd: z.ZodOptional<z.ZodNumber>;
|
|
3531
|
+
weights: z.ZodOptional<z.ZodObject<{
|
|
3532
|
+
manifestSha: z.ZodString;
|
|
3533
|
+
sizeBytes: z.ZodNumber;
|
|
3534
|
+
}, z.core.$strict>>;
|
|
3535
|
+
arms: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
3554
3536
|
}, z.core.$strict>;
|
|
3555
3537
|
}, z.core.$strict>, z.ZodObject<{
|
|
3556
3538
|
action: z.ZodLiteral<"listGpuLeases">;
|
|
@@ -3562,15 +3544,15 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3562
3544
|
command: z.ZodObject<{
|
|
3563
3545
|
command: z.ZodString;
|
|
3564
3546
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3565
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
3566
3547
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3548
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3567
3549
|
}, z.core.$strict>;
|
|
3568
3550
|
}, z.core.$strict>, z.ZodObject<{
|
|
3569
3551
|
action: z.ZodLiteral<"detachGpuLease">;
|
|
3570
3552
|
sandboxId: z.ZodString;
|
|
3571
3553
|
leaseId: z.ZodString;
|
|
3572
3554
|
}, z.core.$strict>], "action">;
|
|
3573
|
-
type ManageSandboxesInput = z.
|
|
3555
|
+
type ManageSandboxesInput = z.input<typeof manageSandboxesInputSchema>;
|
|
3574
3556
|
declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3575
3557
|
action: z.ZodLiteral<"capabilities">;
|
|
3576
3558
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3580,23 +3562,15 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3580
3562
|
environment: z.ZodOptional<z.ZodString>;
|
|
3581
3563
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
3582
3564
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
3583
|
-
driver: z.ZodOptional<z.
|
|
3584
|
-
|
|
3585
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
3586
|
-
type: z.ZodLiteral<"host-agent">;
|
|
3587
|
-
runtimeBackend: z.ZodOptional<z.ZodEnum<{
|
|
3588
|
-
docker: "docker";
|
|
3589
|
-
firecracker: "firecracker";
|
|
3590
|
-
}>>;
|
|
3591
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3565
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
3566
|
+
type: z.ZodLiteral<"tangle">;
|
|
3592
3567
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
3593
3568
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
}, z.core.$strict>], "type">>;
|
|
3569
|
+
}, z.core.$strict>>;
|
|
3570
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
3571
|
+
docker: "docker";
|
|
3572
|
+
firecracker: "firecracker";
|
|
3573
|
+
}>>;
|
|
3600
3574
|
backend: z.ZodOptional<z.ZodObject<{
|
|
3601
3575
|
type: z.ZodEnum<{
|
|
3602
3576
|
"claude-code": "claude-code";
|
|
@@ -3949,8 +3923,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3949
3923
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
3950
3924
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
3951
3925
|
kind: z.ZodString;
|
|
3952
|
-
count: z.
|
|
3953
|
-
|
|
3926
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
3927
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
3954
3928
|
}, z.core.$strict>>;
|
|
3955
3929
|
}, z.core.$strict>>;
|
|
3956
3930
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3992,23 +3966,15 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3992
3966
|
environment: z.ZodOptional<z.ZodString>;
|
|
3993
3967
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
3994
3968
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
3995
|
-
driver: z.ZodOptional<z.
|
|
3996
|
-
|
|
3997
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
3998
|
-
type: z.ZodLiteral<"host-agent">;
|
|
3999
|
-
runtimeBackend: z.ZodOptional<z.ZodEnum<{
|
|
4000
|
-
docker: "docker";
|
|
4001
|
-
firecracker: "firecracker";
|
|
4002
|
-
}>>;
|
|
4003
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3969
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
3970
|
+
type: z.ZodLiteral<"tangle">;
|
|
4004
3971
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
4005
3972
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
}, z.core.$strict>], "type">>;
|
|
3973
|
+
}, z.core.$strict>>;
|
|
3974
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
3975
|
+
docker: "docker";
|
|
3976
|
+
firecracker: "firecracker";
|
|
3977
|
+
}>>;
|
|
4012
3978
|
backend: z.ZodOptional<z.ZodObject<{
|
|
4013
3979
|
type: z.ZodEnum<{
|
|
4014
3980
|
"claude-code": "claude-code";
|
|
@@ -4361,8 +4327,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4361
4327
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
4362
4328
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
4363
4329
|
kind: z.ZodString;
|
|
4364
|
-
count: z.
|
|
4365
|
-
|
|
4330
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
4331
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
4366
4332
|
}, z.core.$strict>>;
|
|
4367
4333
|
}, z.core.$strict>>;
|
|
4368
4334
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4414,23 +4380,15 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4414
4380
|
environment: z.ZodOptional<z.ZodString>;
|
|
4415
4381
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
4416
4382
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
4417
|
-
driver: z.ZodOptional<z.
|
|
4418
|
-
|
|
4419
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
4420
|
-
type: z.ZodLiteral<"host-agent">;
|
|
4421
|
-
runtimeBackend: z.ZodOptional<z.ZodEnum<{
|
|
4422
|
-
docker: "docker";
|
|
4423
|
-
firecracker: "firecracker";
|
|
4424
|
-
}>>;
|
|
4425
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4383
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
4384
|
+
type: z.ZodLiteral<"tangle">;
|
|
4426
4385
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
4427
4386
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
}, z.core.$strict>], "type">>;
|
|
4387
|
+
}, z.core.$strict>>;
|
|
4388
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
4389
|
+
docker: "docker";
|
|
4390
|
+
firecracker: "firecracker";
|
|
4391
|
+
}>>;
|
|
4434
4392
|
backend: z.ZodOptional<z.ZodObject<{
|
|
4435
4393
|
type: z.ZodEnum<{
|
|
4436
4394
|
"claude-code": "claude-code";
|
|
@@ -4783,8 +4741,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4783
4741
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
4784
4742
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
4785
4743
|
kind: z.ZodString;
|
|
4786
|
-
count: z.
|
|
4787
|
-
|
|
4744
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
4745
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
4788
4746
|
}, z.core.$strict>>;
|
|
4789
4747
|
}, z.core.$strict>>;
|
|
4790
4748
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4821,23 +4779,15 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4821
4779
|
environment: z.ZodOptional<z.ZodString>;
|
|
4822
4780
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
4823
4781
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
4824
|
-
driver: z.ZodOptional<z.
|
|
4782
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
4783
|
+
type: z.ZodLiteral<"tangle">;
|
|
4825
4784
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
4826
4785
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4833
|
-
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
4834
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
4835
|
-
type: z.ZodEnum<{
|
|
4836
|
-
docker: "docker";
|
|
4837
|
-
firecracker: "firecracker";
|
|
4838
|
-
tangle: "tangle";
|
|
4839
|
-
}>;
|
|
4840
|
-
}, z.core.$strict>], "type">>;
|
|
4786
|
+
}, z.core.$strict>>;
|
|
4787
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
4788
|
+
docker: "docker";
|
|
4789
|
+
firecracker: "firecracker";
|
|
4790
|
+
}>>;
|
|
4841
4791
|
backend: z.ZodOptional<z.ZodObject<{
|
|
4842
4792
|
type: z.ZodEnum<{
|
|
4843
4793
|
"claude-code": "claude-code";
|
|
@@ -5190,8 +5140,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5190
5140
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
5191
5141
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
5192
5142
|
kind: z.ZodString;
|
|
5193
|
-
count: z.
|
|
5194
|
-
|
|
5143
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
5144
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
5195
5145
|
}, z.core.$strict>>;
|
|
5196
5146
|
}, z.core.$strict>>;
|
|
5197
5147
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -5233,23 +5183,15 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5233
5183
|
environment: z.ZodOptional<z.ZodString>;
|
|
5234
5184
|
bare: z.ZodOptional<z.ZodBoolean>;
|
|
5235
5185
|
agent: z.ZodOptional<z.ZodBoolean>;
|
|
5236
|
-
driver: z.ZodOptional<z.
|
|
5186
|
+
driver: z.ZodOptional<z.ZodObject<{
|
|
5187
|
+
type: z.ZodLiteral<"tangle">;
|
|
5237
5188
|
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
5238
5189
|
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5245
|
-
enableCriu: z.ZodOptional<z.ZodBoolean>;
|
|
5246
|
-
preferredRegion: z.ZodOptional<z.ZodString>;
|
|
5247
|
-
type: z.ZodEnum<{
|
|
5248
|
-
docker: "docker";
|
|
5249
|
-
firecracker: "firecracker";
|
|
5250
|
-
tangle: "tangle";
|
|
5251
|
-
}>;
|
|
5252
|
-
}, z.core.$strict>], "type">>;
|
|
5190
|
+
}, z.core.$strict>>;
|
|
5191
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
5192
|
+
docker: "docker";
|
|
5193
|
+
firecracker: "firecracker";
|
|
5194
|
+
}>>;
|
|
5253
5195
|
backend: z.ZodOptional<z.ZodObject<{
|
|
5254
5196
|
type: z.ZodEnum<{
|
|
5255
5197
|
"claude-code": "claude-code";
|
|
@@ -5602,8 +5544,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5602
5544
|
diskGB: z.ZodOptional<z.ZodNumber>;
|
|
5603
5545
|
accelerator: z.ZodOptional<z.ZodObject<{
|
|
5604
5546
|
kind: z.ZodString;
|
|
5605
|
-
count: z.
|
|
5606
|
-
|
|
5547
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
5548
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
5607
5549
|
}, z.core.$strict>>;
|
|
5608
5550
|
}, z.core.$strict>>;
|
|
5609
5551
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -5702,19 +5644,32 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5702
5644
|
action: z.ZodLiteral<"attachGpuLease">;
|
|
5703
5645
|
sandboxId: z.ZodString;
|
|
5704
5646
|
options: z.ZodObject<{
|
|
5705
|
-
provider: z.ZodOptional<z.
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
modal: "modal";
|
|
5710
|
-
}>>;
|
|
5647
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
5648
|
+
image: z.ZodOptional<z.ZodString>;
|
|
5649
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5650
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5711
5651
|
accelerator: z.ZodObject<{
|
|
5712
5652
|
kind: z.ZodString;
|
|
5713
|
-
count: z.
|
|
5714
|
-
|
|
5653
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
5654
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
5715
5655
|
}, z.core.$strict>;
|
|
5716
|
-
|
|
5717
|
-
|
|
5656
|
+
endpoint: z.ZodOptional<z.ZodObject<{
|
|
5657
|
+
port: z.ZodNumber;
|
|
5658
|
+
healthPath: z.ZodOptional<z.ZodString>;
|
|
5659
|
+
}, z.core.$strict>>;
|
|
5660
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5661
|
+
manifest: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5662
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
5663
|
+
volumeGb: z.ZodOptional<z.ZodNumber>;
|
|
5664
|
+
volumeMountPath: z.ZodOptional<z.ZodString>;
|
|
5665
|
+
region: z.ZodOptional<z.ZodString>;
|
|
5666
|
+
allowSpot: z.ZodOptional<z.ZodBoolean>;
|
|
5667
|
+
maxHourlyUsd: z.ZodOptional<z.ZodNumber>;
|
|
5668
|
+
weights: z.ZodOptional<z.ZodObject<{
|
|
5669
|
+
manifestSha: z.ZodString;
|
|
5670
|
+
sizeBytes: z.ZodNumber;
|
|
5671
|
+
}, z.core.$strict>>;
|
|
5672
|
+
arms: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
5718
5673
|
}, z.core.$strict>;
|
|
5719
5674
|
}, z.core.$strict>, z.ZodObject<{
|
|
5720
5675
|
action: z.ZodLiteral<"listGpuLeases">;
|
|
@@ -5726,8 +5681,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5726
5681
|
command: z.ZodObject<{
|
|
5727
5682
|
command: z.ZodString;
|
|
5728
5683
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
5729
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
5730
5684
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5685
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5731
5686
|
}, z.core.$strict>;
|
|
5732
5687
|
}, z.core.$strict>, z.ZodObject<{
|
|
5733
5688
|
action: z.ZodLiteral<"detachGpuLease">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "../index-
|
|
1
|
+
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "../index-BsT3M4X-.js";
|
|
2
2
|
export { CollaborationBootstrapRequest, CollaborationBootstrapResponse, CollaborationClient, CollaborationClientConfig, CollaborationDocumentAdapter, CollaborationDocumentChange, CollaborationDocumentRef, CollaborationFileBridge, CollaborationFileBridgeOptions, CollaborationFileEvent, CollaborationPermissions, CollaborationTokenRefreshRequest, CollaborationTokenRefreshResponse, CollaborationTransportConfig, SaveCollaborationSnapshotRequest, SaveCollaborationSnapshotResponse, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-
|
|
1
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-Bqk4jYQe.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-
|
|
2
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
1
|
+
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-D44qyFpy.js";
|
|
2
|
+
import { i as fetchSandboxApi } from "./api-request-gkPDymqn.js";
|
|
3
3
|
//#region src/collaboration/client.ts
|
|
4
4
|
function normalizeBaseUrl(url) {
|
|
5
5
|
return url.replace(/\/+$/, "");
|
package/dist/core.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-
|
|
2
|
-
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-
|
|
3
|
-
import { En as SandboxConfig,
|
|
4
|
-
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-
|
|
5
|
-
import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-
|
|
6
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-DkB8WbjK.js";
|
|
2
|
+
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-Cdz3xrux.js";
|
|
3
|
+
import { Br as ManagedProcessJobs, En as SandboxConfig, Fa as WorkspaceImagePublishResult, Fi as ConversationTurnResult, Ga as SandboxEnvRecovery, Gr as ManagedProcessSpec, H as PreviewLinkInfo, Hr as ManagedProcessResumeOptions, In as NetworkConfig, Ka as SandboxEnvRecoveryView, Pa as WorkspaceImagePublishInput, Pi as ConversationTurnOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, Ua as ExecResult, Ur as ManagedProcessState, Vr as ManagedProcessOptions, W as PreviewLinkWaitOptions, Wr as ManagedProcessRecord, an as SandboxInfo, bi as PromptInputPart, kn as SandboxStatus, na as SessionMessageAdmission, yr as ExecOptions } from "./types-BikjtQi3.js";
|
|
4
|
+
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-D7lE49lV.js";
|
|
5
|
+
import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-BYGLoEiU.js";
|
|
6
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-DRqOkshE.js";
|
|
7
7
|
export { AuthError, BackendRegistryCapabilities, BackendRegistryEntry, BackendRegistryInteractionKind, BackendRegistryResponse, CapabilityError, ConversationTurnOptions, ConversationTurnResult, CreateSandboxOptions, CreateSelectSeatOptions, EnsureInstanceOptions, ExecOptions, ExecResult, FileWriteConflictError, GatewaySeatTransportOptions, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceProfile, InstanceRecord, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, Line, LineAgentRolePolicy, LineApplication, LineApplicationAttachOptions, LineApplicationRequest, LineApplicationResult, LineApplicationState, LineApplicationView, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineMember, LineMemberInstance, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LinesClient, ManagedProcessClient, ManagedProcessJobs, ManagedProcessOptions, ManagedProcessRecord, ManagedProcessResumeOptions, ManagedProcessSpec, ManagedProcessState, NetworkConfig, NetworkError, NotFoundError, PartialFailureError, PreviewLinkInfo, PreviewLinkManager, PreviewLinkWaitOptions, ProfileFileDeliveryReport, ProfileFileMountPathError, PromptInputPart, PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient, QuotaError, Sandbox, SandboxConfig, SandboxEnvRecovery, SandboxEnvRecoveryView, SandboxError, SandboxErrorJson, SandboxFailureDetail, SandboxFailureKind, SandboxInfo, SandboxInstance, SandboxResolvedSeat, SandboxSeatCredentials, SandboxSeatSelectionInput, SandboxStatus, SeatOwnerReply, SeatOwnerTransport, SeatResolutionObservation, SeatSelectionError, SeatSelectionRequest, ServerError, SessionMessageAdmission, StateError, TimeoutError, ValidationError, WorkspaceImagePublishInput, WorkspaceImagePublishRequestOptions, WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
|