@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,5 +1,5 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-
|
|
2
|
-
import { t as CliAuthReference } from "./cli-auth-bundle-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-Cdz3xrux.js";
|
|
2
|
+
import { t as CliAuthReference } from "./cli-auth-bundle-CQCt2mcZ.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
|
5
5
|
/** This distribution's backend vocabulary. Gemini is only a backing transport, not a direct backend. */
|
|
@@ -44,20 +44,22 @@ interface EffectiveBackend {
|
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region ../../../packages/runtime-contracts/dist/declared-secrets.d.ts
|
|
47
|
-
/** Bound values stay at the proxy.
|
|
48
|
-
* revalidated at every rebuild; an unbound name keeps box delivery unless the store's policy binds it.
|
|
47
|
+
/** Bound values stay at the proxy. Declarations carry metadata only and are
|
|
48
|
+
* revalidated at every rebuild; an unbound name keeps box delivery unless the store's policy binds it.
|
|
49
|
+
* A declaration may bind several hosts: one credential, one slot and placeholder, many vendor hosts. */
|
|
49
50
|
/** Box env var holding a JSON array of {@link DeclaredSecret}. */
|
|
50
51
|
declare const DECLARED_SECRET_HOSTS_ENV_VAR = "TANGLE_EGRESS_DECLARED_HOSTS";
|
|
51
52
|
/** Legacy header substitution preserves bearer/token/Basic semantics; Basic is decoded before replacement. Other headers are named-key delivery. */
|
|
52
53
|
interface DeclaredSecret {
|
|
53
54
|
name: string;
|
|
54
|
-
host
|
|
55
|
+
/** Every host this credential is swapped onto; one placeholder and one slot back them all. */
|
|
56
|
+
hosts: readonly string[];
|
|
55
57
|
header: string;
|
|
56
58
|
}
|
|
57
59
|
/** A declaration as a caller writes it; `header` defaults. */
|
|
58
60
|
interface DeclaredSecretRequest {
|
|
59
61
|
name: string;
|
|
60
|
-
|
|
62
|
+
hosts: readonly string[];
|
|
61
63
|
header?: string;
|
|
62
64
|
}
|
|
63
65
|
/** Absent/empty env means no declarations; malformed declarations throw rather than allow a real value into the box. */
|
|
@@ -497,27 +499,141 @@ declare const workspaceImagePublishInputSchema: z.ZodObject<{
|
|
|
497
499
|
type WorkspaceImagePublishInput = z.input<typeof workspaceImagePublishInputSchema>;
|
|
498
500
|
//#endregion
|
|
499
501
|
//#region ../../../packages/runtime-contracts/dist/gpu-lease.d.ts
|
|
500
|
-
/**
|
|
501
|
-
* GPU lease wire vocabulary shared by the orchestrator's GPU lease service,
|
|
502
|
-
* sandbox-api's charge recording and the sandbox SDK's customer-facing GPU
|
|
503
|
-
* lease types.
|
|
504
|
-
*/
|
|
505
502
|
declare const GPU_LEASE_PROVIDER_NAMES: readonly ["runpod", "vast-ai", "lambda-labs", "modal"];
|
|
506
|
-
|
|
507
|
-
type
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
503
|
+
declare const gpuLeaseProviderSchema: z.ZodString;
|
|
504
|
+
type GpuLeaseProviderName = z.infer<typeof gpuLeaseProviderSchema>;
|
|
505
|
+
declare const gpuAcceleratorSchema: z.ZodObject<{
|
|
506
|
+
kind: z.ZodString;
|
|
507
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
508
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
509
|
+
}, z.core.$strict>;
|
|
510
|
+
declare const gpuLeaseOptionsSchema: z.ZodObject<{
|
|
511
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
512
|
+
image: z.ZodOptional<z.ZodString>;
|
|
513
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
514
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
515
|
+
volumeGb: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
volumeMountPath: z.ZodOptional<z.ZodString>;
|
|
517
|
+
region: z.ZodOptional<z.ZodString>;
|
|
518
|
+
manifest: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
519
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
520
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
521
|
+
endpoint: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
port: z.ZodNumber;
|
|
523
|
+
healthPath: z.ZodOptional<z.ZodString>;
|
|
524
|
+
}, z.core.$strict>>;
|
|
525
|
+
allowSpot: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
maxHourlyUsd: z.ZodOptional<z.ZodNumber>;
|
|
527
|
+
weights: z.ZodOptional<z.ZodObject<{
|
|
528
|
+
manifestSha: z.ZodString;
|
|
529
|
+
sizeBytes: z.ZodNumber;
|
|
530
|
+
}, z.core.$strict>>;
|
|
531
|
+
arms: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
532
|
+
maxSpendUsd: z.ZodNumber;
|
|
533
|
+
maxLifetimeSeconds: z.ZodNumber;
|
|
534
|
+
idleTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
type GpuLeaseRequestOptions = z.infer<typeof gpuLeaseOptionsSchema>;
|
|
537
|
+
declare const gpuLeasePublicSchema: z.ZodObject<{
|
|
538
|
+
id: z.ZodString;
|
|
539
|
+
projectRef: z.ZodString;
|
|
540
|
+
ownerUserId: z.ZodString;
|
|
541
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
542
|
+
provider: z.ZodString;
|
|
543
|
+
providerLeaseId: z.ZodOptional<z.ZodString>;
|
|
544
|
+
providerInstanceType: z.ZodOptional<z.ZodString>;
|
|
545
|
+
workerUrl: z.ZodOptional<z.ZodString>;
|
|
546
|
+
endpointUrl: z.ZodOptional<z.ZodString>;
|
|
547
|
+
status: z.ZodEnum<{
|
|
548
|
+
ready: "ready";
|
|
549
|
+
failed: "failed";
|
|
550
|
+
provisioning: "provisioning";
|
|
551
|
+
detaching: "detaching";
|
|
552
|
+
destroyed: "destroyed";
|
|
553
|
+
}>;
|
|
554
|
+
accelerator: z.ZodObject<{
|
|
555
|
+
kind: z.ZodString;
|
|
556
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
557
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
558
|
+
}, z.core.$strict>;
|
|
559
|
+
providerCostPerHourUsd: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
customerPricePerHourUsd: z.ZodOptional<z.ZodNumber>;
|
|
561
|
+
estimatedProviderCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
estimatedCustomerCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
563
|
+
providerSelection: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
strategy: z.ZodEnum<{
|
|
565
|
+
cheapest: "cheapest";
|
|
566
|
+
explicit: "explicit";
|
|
567
|
+
ranked: "ranked";
|
|
568
|
+
}>;
|
|
569
|
+
selectedProvider: z.ZodString;
|
|
570
|
+
requestedProvider: z.ZodOptional<z.ZodString>;
|
|
571
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
572
|
+
provider: z.ZodString;
|
|
573
|
+
accelerator: z.ZodObject<{
|
|
574
|
+
kind: z.ZodString;
|
|
575
|
+
count: z.ZodDefault<z.ZodNumber>;
|
|
576
|
+
vramGb: z.ZodOptional<z.ZodNumber>;
|
|
577
|
+
}, z.core.$strict>;
|
|
578
|
+
providerInstanceType: z.ZodOptional<z.ZodString>;
|
|
579
|
+
region: z.ZodOptional<z.ZodString>;
|
|
580
|
+
pricingSource: z.ZodOptional<z.ZodEnum<{
|
|
581
|
+
live: "live";
|
|
582
|
+
configured: "configured";
|
|
583
|
+
}>>;
|
|
584
|
+
providerCostPerHourUsd: z.ZodNumber;
|
|
585
|
+
customerPricePerHourUsd: z.ZodNumber;
|
|
586
|
+
maxLifetimeSeconds: z.ZodNumber;
|
|
587
|
+
estimatedProviderCostUsd: z.ZodNumber;
|
|
588
|
+
estimatedCustomerCostUsd: z.ZodNumber;
|
|
589
|
+
}, z.core.$strip>>;
|
|
590
|
+
rejected: z.ZodArray<z.ZodObject<{
|
|
591
|
+
provider: z.ZodString;
|
|
592
|
+
error: z.ZodString;
|
|
593
|
+
}, z.core.$strip>>;
|
|
594
|
+
}, z.core.$strip>>;
|
|
595
|
+
createdAt: z.ZodString;
|
|
596
|
+
updatedAt: z.ZodString;
|
|
597
|
+
readyAt: z.ZodOptional<z.ZodString>;
|
|
598
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
599
|
+
lastUsedAt: z.ZodOptional<z.ZodString>;
|
|
600
|
+
destroyedAt: z.ZodOptional<z.ZodString>;
|
|
601
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
602
|
+
billing: z.ZodOptional<z.ZodObject<{
|
|
603
|
+
seconds: z.ZodNumber;
|
|
604
|
+
providerCostUsd: z.ZodNumber;
|
|
605
|
+
customerCostUsd: z.ZodNumber;
|
|
606
|
+
providerCostPerHourUsd: z.ZodNumber;
|
|
607
|
+
customerPricePerHourUsd: z.ZodNumber;
|
|
608
|
+
startedAt: z.ZodString;
|
|
609
|
+
stoppedAt: z.ZodString;
|
|
610
|
+
}, z.core.$strip>>;
|
|
611
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
612
|
+
maxSpendUsd: z.ZodNumber;
|
|
613
|
+
maxLifetimeSeconds: z.ZodNumber;
|
|
614
|
+
image: z.ZodOptional<z.ZodString>;
|
|
615
|
+
diskGb: z.ZodOptional<z.ZodNumber>;
|
|
616
|
+
volumeGb: z.ZodOptional<z.ZodNumber>;
|
|
617
|
+
volumeMountPath: z.ZodOptional<z.ZodString>;
|
|
618
|
+
region: z.ZodOptional<z.ZodString>;
|
|
619
|
+
manifest: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
620
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
621
|
+
endpoint: z.ZodOptional<z.ZodObject<{
|
|
622
|
+
port: z.ZodNumber;
|
|
623
|
+
healthPath: z.ZodOptional<z.ZodString>;
|
|
624
|
+
}, z.core.$strict>>;
|
|
625
|
+
allowSpot: z.ZodOptional<z.ZodBoolean>;
|
|
626
|
+
maxHourlyUsd: z.ZodOptional<z.ZodNumber>;
|
|
627
|
+
weights: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
manifestSha: z.ZodString;
|
|
629
|
+
sizeBytes: z.ZodNumber;
|
|
630
|
+
}, z.core.$strict>>;
|
|
631
|
+
arms: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
632
|
+
idleTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
633
|
+
}, z.core.$strip>;
|
|
634
|
+
type GpuLeaseView = z.infer<typeof gpuLeasePublicSchema>;
|
|
635
|
+
type GpuLeaseStatus = GpuLeaseView["status"];
|
|
636
|
+
/** Only ready and unverified providers are selectable; a refused credential is excluded. */
|
|
521
637
|
type GpuLeaseProviderState = "ready" | "credential-invalid" | "unverified" | "not-configured" | "disabled";
|
|
522
638
|
type GpuLeaseProviderCredentialCheck = {
|
|
523
639
|
verdict: "working" | "rejected" | "absent" | "indeterminate"; /** Operator-facing reason; never carries a credential value. */
|
|
@@ -535,7 +651,7 @@ type GpuLeaseProviderStatus = {
|
|
|
535
651
|
estimate?: {
|
|
536
652
|
providerInstanceType?: string;
|
|
537
653
|
region?: string;
|
|
538
|
-
pricingSource?: "live" | "configured"
|
|
654
|
+
pricingSource?: "live" | "configured";
|
|
539
655
|
providerCostPerHourUsd: number;
|
|
540
656
|
customerPricePerHourUsd: number;
|
|
541
657
|
}; /** Why no price could be quoted, e.g. the provider has no such GPU. */
|
|
@@ -592,8 +708,20 @@ interface RolloutChildResult {
|
|
|
592
708
|
durationMs: number;
|
|
593
709
|
}
|
|
594
710
|
//#endregion
|
|
711
|
+
//#region ../../../packages/runtime-contracts/dist/runtime-backend.d.ts
|
|
712
|
+
/**
|
|
713
|
+
* The runtime a sandbox runs on, which a create names as `runtime`: a Docker
|
|
714
|
+
* container on the host kernel, or a Firecracker microVM with its own kernel.
|
|
715
|
+
* It is also what a provisioned host runs and the autoscaler buys.
|
|
716
|
+
*/
|
|
717
|
+
declare const SANDBOX_RUNTIMES: readonly ["docker", "firecracker"];
|
|
718
|
+
type SandboxRuntime = (typeof SANDBOX_RUNTIMES)[number];
|
|
719
|
+
//#endregion
|
|
595
720
|
//#region ../../../packages/runtime-contracts/dist/secret-info.d.ts
|
|
596
|
-
|
|
721
|
+
/** `host`: the v1 single-host form; every reader normalizes it to `hosts`. */
|
|
722
|
+
type SecretBindingOptions = Partial<Omit<DeclaredSecretRequest, "name">> & {
|
|
723
|
+
host?: string;
|
|
724
|
+
} & Pick<AgentProfile, "proxySecrets"> & {
|
|
597
725
|
exposeInBox?: true;
|
|
598
726
|
reason?: string;
|
|
599
727
|
};
|
|
@@ -2392,37 +2520,9 @@ interface ManagedProcessJobs {
|
|
|
2392
2520
|
}
|
|
2393
2521
|
//#endregion
|
|
2394
2522
|
//#region src/types/drivers.d.ts
|
|
2395
|
-
/**
|
|
2396
|
-
* Infrastructure driver identifier.
|
|
2397
|
-
*
|
|
2398
|
-
* Most callers should omit `driver` and let the platform select automatically.
|
|
2399
|
-
*/
|
|
2400
2523
|
type DriverType = "docker" | "firecracker" | "host-agent" | "tangle";
|
|
2401
|
-
type
|
|
2402
|
-
|
|
2403
|
-
* Accelerator class for GPU-class workloads.
|
|
2404
|
-
*
|
|
2405
|
-
* Examples: `nvidia-h100`, `nvidia-l4`, `nvidia-rtx-4090`, `amd-mi300x`.
|
|
2406
|
-
* Providers can introduce new SKU labels without requiring an SDK release.
|
|
2407
|
-
*/
|
|
2408
|
-
type AcceleratorKind = string;
|
|
2409
|
-
/**
|
|
2410
|
-
* Compute accelerator request.
|
|
2411
|
-
*
|
|
2412
|
-
* Accelerators are requested as resources because they are part of workload
|
|
2413
|
-
* shape and billing, not a driver option.
|
|
2414
|
-
*/
|
|
2415
|
-
interface SandboxAccelerator {
|
|
2416
|
-
/** Accelerator class required by the workload. */
|
|
2417
|
-
kind: AcceleratorKind;
|
|
2418
|
-
/**
|
|
2419
|
-
* Number of accelerator devices required.
|
|
2420
|
-
* @default 1
|
|
2421
|
-
*/
|
|
2422
|
-
count?: number;
|
|
2423
|
-
/** Minimum device memory in megabytes when the exact GPU class is flexible. */
|
|
2424
|
-
memoryMB?: number;
|
|
2425
|
-
}
|
|
2524
|
+
type SandboxAccelerator = z.input<typeof gpuAcceleratorSchema>;
|
|
2525
|
+
type AcceleratorKind = SandboxAccelerator["kind"];
|
|
2426
2526
|
interface GpuLeaseProvidersOptions {
|
|
2427
2527
|
/** Quote a price for this accelerator kind, e.g. `nvidia-h100`. */
|
|
2428
2528
|
accelerator?: SandboxAccelerator;
|
|
@@ -2433,77 +2533,10 @@ interface GpuLeaseProviders {
|
|
|
2433
2533
|
/** Every supported provider, configured or not. */
|
|
2434
2534
|
statuses: GpuLeaseProviderStatus[];
|
|
2435
2535
|
}
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
requestedProvider?: GpuLeaseProviderName;
|
|
2440
|
-
candidates: Array<{
|
|
2441
|
-
provider: GpuLeaseProviderName;
|
|
2442
|
-
accelerator: SandboxAccelerator & {
|
|
2443
|
-
count: number;
|
|
2444
|
-
};
|
|
2445
|
-
providerInstanceType?: string;
|
|
2446
|
-
region?: string;
|
|
2447
|
-
pricingSource?: "live" | "configured" | "static";
|
|
2448
|
-
providerCostPerHourUsd: number;
|
|
2449
|
-
customerPricePerHourUsd: number;
|
|
2450
|
-
maxLifetimeSeconds: number;
|
|
2451
|
-
estimatedProviderCostUsd: number;
|
|
2452
|
-
estimatedCustomerCostUsd: number;
|
|
2453
|
-
}>;
|
|
2454
|
-
rejected: Array<{
|
|
2455
|
-
provider: GpuLeaseProviderName;
|
|
2456
|
-
error: string;
|
|
2457
|
-
}>;
|
|
2458
|
-
}
|
|
2459
|
-
interface GpuLeaseBilling {
|
|
2460
|
-
seconds: number;
|
|
2461
|
-
providerCostUsd: number;
|
|
2462
|
-
customerCostUsd: number;
|
|
2463
|
-
providerCostPerHourUsd: number;
|
|
2464
|
-
customerPricePerHourUsd: number;
|
|
2465
|
-
startedAt: string;
|
|
2466
|
-
stoppedAt: string;
|
|
2467
|
-
}
|
|
2468
|
-
interface GpuLease {
|
|
2469
|
-
id: string;
|
|
2470
|
-
projectRef: string;
|
|
2471
|
-
ownerUserId: string;
|
|
2472
|
-
productId?: string;
|
|
2473
|
-
provider: GpuLeaseProviderName;
|
|
2474
|
-
providerLeaseId?: string;
|
|
2475
|
-
providerInstanceType?: string;
|
|
2476
|
-
region?: string;
|
|
2477
|
-
workerUrl?: string;
|
|
2478
|
-
status: GpuLeaseStatus;
|
|
2479
|
-
accelerator: SandboxAccelerator & {
|
|
2480
|
-
count: number;
|
|
2481
|
-
};
|
|
2482
|
-
image?: string;
|
|
2483
|
-
maxSpendUsd: number;
|
|
2484
|
-
maxLifetimeSeconds: number;
|
|
2485
|
-
idleTimeoutSeconds?: number;
|
|
2486
|
-
providerCostPerHourUsd?: number;
|
|
2487
|
-
customerPricePerHourUsd?: number;
|
|
2488
|
-
estimatedProviderCostUsd?: number;
|
|
2489
|
-
estimatedCustomerCostUsd?: number;
|
|
2490
|
-
providerSelection?: GpuLeaseProviderSelection;
|
|
2491
|
-
createdAt: string;
|
|
2492
|
-
updatedAt: string;
|
|
2493
|
-
readyAt?: string;
|
|
2494
|
-
lastUsedAt?: string;
|
|
2495
|
-
destroyedAt?: string;
|
|
2496
|
-
failure?: string;
|
|
2497
|
-
billing?: GpuLeaseBilling;
|
|
2498
|
-
}
|
|
2499
|
-
interface AttachGpuLeaseOptions {
|
|
2500
|
-
provider?: GpuLeaseProviderName;
|
|
2536
|
+
type GpuLeaseBilling = NonNullable<GpuLeaseView["billing"]>;
|
|
2537
|
+
type GpuLease = GpuLeaseView;
|
|
2538
|
+
interface AttachGpuLeaseOptions extends GpuLeaseRequestOptions {
|
|
2501
2539
|
accelerator: SandboxAccelerator;
|
|
2502
|
-
image?: string;
|
|
2503
|
-
env?: Record<string, string>;
|
|
2504
|
-
maxSpendUsd: number;
|
|
2505
|
-
maxLifetimeSeconds: number;
|
|
2506
|
-
idleTimeoutSeconds?: number;
|
|
2507
2540
|
}
|
|
2508
2541
|
type CreateGpuLeaseOptions = Omit<AttachGpuLeaseOptions, "accelerator">;
|
|
2509
2542
|
interface GpuLeaseExecOptions {
|
|
@@ -2523,87 +2556,30 @@ interface GpuLeaseExecResult {
|
|
|
2523
2556
|
result: GpuLeaseCommandResult;
|
|
2524
2557
|
}
|
|
2525
2558
|
interface GpuLeaseManager {
|
|
2526
|
-
/**
|
|
2527
|
-
* Every supported GPU provider on this sandbox's deployment: whether it is
|
|
2528
|
-
* configured, whether its credential works (checked now with a read-only
|
|
2529
|
-
* provider call), the orchestrator variables it needs and, when an
|
|
2530
|
-
* accelerator is given, its current price.
|
|
2531
|
-
*/
|
|
2559
|
+
/** Refresh provider credentials and optionally quote an accelerator. */
|
|
2532
2560
|
providers(options?: GpuLeaseProvidersOptions): Promise<GpuLeaseProviders>;
|
|
2533
2561
|
attach(options: AttachGpuLeaseOptions): Promise<GpuLease>;
|
|
2562
|
+
renew(leaseId: string, options: Partial<Pick<GpuLeaseRequestOptions, "maxSpendUsd" | "maxLifetimeSeconds">>): Promise<GpuLease>;
|
|
2534
2563
|
list(): Promise<GpuLease[]>;
|
|
2535
2564
|
exec(leaseId: string, options: GpuLeaseExecOptions): Promise<GpuLeaseExecResult>;
|
|
2536
2565
|
detach(leaseId: string): Promise<GpuLease>;
|
|
2537
2566
|
}
|
|
2538
2567
|
/**
|
|
2539
|
-
*
|
|
2540
|
-
*
|
|
2541
|
-
*
|
|
2542
|
-
* ```typescript
|
|
2543
|
-
* driver: { type: "docker" }
|
|
2544
|
-
* ```
|
|
2545
|
-
*
|
|
2546
|
-
* @example With pause/resume support
|
|
2547
|
-
* ```typescript
|
|
2548
|
-
* driver: { type: "firecracker", enableCriu: true }
|
|
2549
|
-
* ```
|
|
2550
|
-
*
|
|
2551
|
-
* @example Accelerator-backed sandbox
|
|
2552
|
-
* ```typescript
|
|
2553
|
-
* resources: {
|
|
2554
|
-
* accelerator: { kind: "nvidia-a100", count: 1 },
|
|
2555
|
-
* }
|
|
2556
|
-
* ```
|
|
2568
|
+
* Runs a sandbox on Tangle network operators instead of the platform's own
|
|
2569
|
+
* hosts; `confidential` requires it. Omit `driver` for the platform's hosts and
|
|
2570
|
+
* choose their isolation with `runtime`.
|
|
2557
2571
|
*/
|
|
2558
|
-
interface
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
* Support depends on the selected driver.
|
|
2562
|
-
*/
|
|
2572
|
+
interface DriverConfig {
|
|
2573
|
+
type: "tangle";
|
|
2574
|
+
/** Accepted and not acted on: no runtime checkpoints with CRIU. */
|
|
2563
2575
|
enableCriu?: boolean;
|
|
2564
|
-
/**
|
|
2565
|
-
* Preferred placement region.
|
|
2566
|
-
* e.g., "us-east-1", "eu-west-1".
|
|
2567
|
-
*/
|
|
2576
|
+
/** Accepted and not acted on: the platform places by cell. */
|
|
2568
2577
|
preferredRegion?: string;
|
|
2569
2578
|
}
|
|
2570
|
-
|
|
2571
|
-
/**
|
|
2572
|
-
* Driver type identifier.
|
|
2573
|
-
*/
|
|
2574
|
-
type: "host-agent";
|
|
2575
|
-
/**
|
|
2576
|
-
* Host-agent runtime backend to request.
|
|
2577
|
-
*/
|
|
2578
|
-
runtimeBackend?: HostAgentRuntimeBackend;
|
|
2579
|
-
}
|
|
2580
|
-
interface NonHostAgentDriverConfig extends DriverConfigBase {
|
|
2581
|
-
/**
|
|
2582
|
-
* Driver type identifier.
|
|
2583
|
-
* @default "docker"
|
|
2584
|
-
*/
|
|
2585
|
-
type: Exclude<DriverType, "host-agent" | "docker">;
|
|
2586
|
-
/**
|
|
2587
|
-
* Runtime placement is supported by the docker and host-agent routing labels.
|
|
2588
|
-
*/
|
|
2589
|
-
runtimeBackend?: never;
|
|
2590
|
-
}
|
|
2591
|
-
interface DockerDriverConfig extends DriverConfigBase {
|
|
2592
|
-
/** Public routing label. The serving orchestrator owns the actual driver. */
|
|
2593
|
-
type: "docker";
|
|
2594
|
-
/** Runtime placement on a serving host-agent orchestrator. */
|
|
2595
|
-
runtimeBackend?: HostAgentRuntimeBackend;
|
|
2596
|
-
}
|
|
2597
|
-
type DriverConfig = HostAgentDriverConfig | DockerDriverConfig | NonHostAgentDriverConfig;
|
|
2598
|
-
/**
|
|
2599
|
-
* Driver capabilities and status.
|
|
2600
|
-
*/
|
|
2579
|
+
/** Driver capabilities and status. */
|
|
2601
2580
|
interface DriverInfo {
|
|
2602
|
-
/** Driver type */
|
|
2603
2581
|
type: DriverType;
|
|
2604
|
-
/** Whether driver is available */
|
|
2605
2582
|
available: boolean;
|
|
2606
|
-
/** Driver version string */
|
|
2607
2583
|
version: string;
|
|
2608
2584
|
/**
|
|
2609
2585
|
* Driver capabilities.
|
|
@@ -2612,11 +2588,11 @@ interface DriverInfo {
|
|
|
2612
2588
|
* them required on a strict schema, so the API always sends all of them.
|
|
2613
2589
|
*/
|
|
2614
2590
|
capabilities: {
|
|
2615
|
-
/** Checkpoint/restore support */criu: boolean;
|
|
2616
|
-
gpu: boolean; /** vsock guest-host socket support.
|
|
2591
|
+
/** Checkpoint/restore support */criu: boolean;
|
|
2592
|
+
gpu: boolean; /** vsock guest-host socket support. */
|
|
2617
2593
|
vsock: boolean; /** Filesystem snapshots */
|
|
2618
2594
|
snapshots: boolean; /** Multi-user management */
|
|
2619
|
-
userManagement: boolean;
|
|
2595
|
+
userManagement: boolean;
|
|
2620
2596
|
networkIsolation: boolean;
|
|
2621
2597
|
};
|
|
2622
2598
|
/**
|
|
@@ -2652,6 +2628,8 @@ interface SandboxEnvironment {
|
|
|
2652
2628
|
publicTemplateId?: string;
|
|
2653
2629
|
/** Snapshot identifier backing the environment when applicable */
|
|
2654
2630
|
snapshotId?: string;
|
|
2631
|
+
/** The `runtime` values a create with this environment may name. */
|
|
2632
|
+
runtimes: SandboxRuntime[];
|
|
2655
2633
|
}
|
|
2656
2634
|
interface PublicTemplateVersionInfo {
|
|
2657
2635
|
id: string;
|
|
@@ -3833,21 +3811,24 @@ interface CreateSandboxOptions {
|
|
|
3833
3811
|
/** Internal-owned ephemeral workspaces only; incompatible with capture or retained paths. */
|
|
3834
3812
|
sessionCapture?: "discard";
|
|
3835
3813
|
/**
|
|
3836
|
-
*
|
|
3837
|
-
*
|
|
3838
|
-
*
|
|
3839
|
-
* Missing artifacts return FIRECRACKER_IMAGE_UNAVAILABLE; mutable tags/fromSnapshot are
|
|
3840
|
-
* unsupported there.
|
|
3814
|
+
* A catalog environment, a container image reference, or a built image ID. Firecracker
|
|
3815
|
+
* runs only images pinned by `repository@sha256` that the cell's Firecracker hosts carry;
|
|
3816
|
+
* `environments list` shows each image's runtimes.
|
|
3841
3817
|
*/
|
|
3842
3818
|
environment?: string;
|
|
3819
|
+
/**
|
|
3820
|
+
* Isolation on the platform's hosts: `docker` runs a container on the host kernel,
|
|
3821
|
+
* `firecracker` a microVM with its own kernel. Omit for the platform default.
|
|
3822
|
+
*/
|
|
3823
|
+
runtime?: SandboxRuntime;
|
|
3843
3824
|
/** Bare exec/stop/resume/delete without the managed runtime. Default false. */
|
|
3844
3825
|
bare?: boolean;
|
|
3845
3826
|
/**
|
|
3846
3827
|
* Default true. False keeps files, exact process execution, lifecycle and telemetry but
|
|
3847
|
-
* provisions no model credentials or
|
|
3828
|
+
* provisions no model credentials, backend or startup scripts (`startupScriptIds` is a 400).
|
|
3848
3829
|
*/
|
|
3849
3830
|
agent?: boolean;
|
|
3850
|
-
/**
|
|
3831
|
+
/** Tangle network operators instead of the platform's hosts; see DriverConfig. */
|
|
3851
3832
|
driver?: DriverConfig;
|
|
3852
3833
|
/** Coding agent and profile configuration; see BackendConfig. */
|
|
3853
3834
|
backend?: BackendConfig;
|
|
@@ -4015,17 +3996,18 @@ interface CreateSandboxOptions {
|
|
|
4015
3996
|
*/
|
|
4016
3997
|
capacityClass?: "spare_only";
|
|
4017
3998
|
/**
|
|
4018
|
-
* Default true: strip
|
|
4019
|
-
*
|
|
4020
|
-
*
|
|
4021
|
-
*
|
|
3999
|
+
* Default true: strip inline backend.profile mount refs from create; the handle's first
|
|
4000
|
+
* runtime call writes them (writeMany/uploadData) before it runs, and a call started while
|
|
4001
|
+
* that one is in flight does not wait. Transient 502/503/504 or connection loss follows
|
|
4002
|
+
* shared write retry policy before PartialFailureError. Named profiles are unchanged. False
|
|
4003
|
+
* sends all mounts in create.
|
|
4022
4004
|
*/
|
|
4023
4005
|
autoMaterializeProfileFiles?: boolean;
|
|
4024
4006
|
/**
|
|
4025
|
-
* Default true: prime inline backend.profile skills once
|
|
4026
|
-
* turns; a cache miss resends the full retained
|
|
4027
|
-
* overrides send their actual content. False sends
|
|
4028
|
-
* Independent of autoMaterializeProfileFiles.
|
|
4007
|
+
* Default true: prime inline backend.profile skills once, on the handle's first runtime
|
|
4008
|
+
* call, and use profileSha256 on later turns; a cache miss resends the full retained
|
|
4009
|
+
* profile. Mutated profiles or per-turn overrides send their actual content. False sends
|
|
4010
|
+
* all skills on create/every turn. Independent of autoMaterializeProfileFiles.
|
|
4029
4011
|
*/
|
|
4030
4012
|
autoDeferProfile?: boolean;
|
|
4031
4013
|
}
|
|
@@ -4163,10 +4145,7 @@ interface SandboxConnection {
|
|
|
4163
4145
|
/** Present when creation enabled the web terminal. */
|
|
4164
4146
|
webTerminalUrl?: string;
|
|
4165
4147
|
}
|
|
4166
|
-
/**
|
|
4167
|
-
* Server-attributed startup steps may overlap; follow parent links instead of summing
|
|
4168
|
-
* durations.
|
|
4169
|
-
*/
|
|
4148
|
+
/** Startup steps may overlap; follow parent links rather than summing durations. */
|
|
4170
4149
|
interface StartupOperation {
|
|
4171
4150
|
/** `<service>.<phase>` operation name. */
|
|
4172
4151
|
operation: string;
|
|
@@ -4174,7 +4153,7 @@ interface StartupOperation {
|
|
|
4174
4153
|
/** Terminal status of the step (e.g. `completed`, `skipped`, `error`). */
|
|
4175
4154
|
status?: string;
|
|
4176
4155
|
durationMs?: number;
|
|
4177
|
-
/**
|
|
4156
|
+
/** Parent operation; absent at the top level. */
|
|
4178
4157
|
parent?: string;
|
|
4179
4158
|
/** PII-scrubbed step detail (counts, ids, error codes). */
|
|
4180
4159
|
metadata?: Record<string, unknown>;
|
|
@@ -4207,11 +4186,8 @@ interface SandboxInfo {
|
|
|
4207
4186
|
createdAt: Date;
|
|
4208
4187
|
startedAt?: Date;
|
|
4209
4188
|
lastActivityAt?: Date;
|
|
4210
|
-
/**
|
|
4211
|
-
|
|
4212
|
-
* otherwise.
|
|
4213
|
-
*/
|
|
4214
|
-
lifecycleState?: "suspending" | "suspended";
|
|
4189
|
+
/** Stopped snapshot or deletion progress; absent when unsupported. */
|
|
4190
|
+
lifecycleState?: "suspending" | "suspended" | "deleting";
|
|
4215
4191
|
/** When the sandbox entered its current stop. */
|
|
4216
4192
|
suspendedAt?: Date;
|
|
4217
4193
|
expiresAt?: Date;
|
|
@@ -4229,6 +4205,8 @@ interface SandboxInfo {
|
|
|
4229
4205
|
* SandboxInstance.createReceipt.
|
|
4230
4206
|
*/
|
|
4231
4207
|
createReceipt?: SandboxCreateReceipt;
|
|
4208
|
+
/** Create-only: the harness the create provisioned, as `backend.status()` answers it. */
|
|
4209
|
+
backend?: BackendStatus;
|
|
4232
4210
|
egressPolicy?: EgressPolicy;
|
|
4233
4211
|
egressPolicySource?: "sandbox" | "team" | "platform";
|
|
4234
4212
|
}
|
|
@@ -5700,4 +5678,4 @@ interface SnapshotInfo {
|
|
|
5700
5678
|
remoteSync?: SnapshotRemoteSync;
|
|
5701
5679
|
}
|
|
5702
5680
|
//#endregion
|
|
5703
|
-
export { CreateSandboxFleetOptions as $,
|
|
5681
|
+
export { CreateSandboxFleetOptions as $, ALL_BACKEND_TYPES as $a, SessionInterruptOptions as $i, FileReadError as $n, RolloutOptions as $r, SandboxFleetWorkspaceRestoreResult as $t, SandboxIdentity as A, GpuLeaseProviderName as Aa, TurnBackendConfig as Ai, SandboxShape as An, DriverType as Ar, SandboxFleetDriverTimings as At, ProcessSignal as B, CodeExecutionResult as Ba, DriveTurnOptions as Bi, EgressDenial as Bn, ManagedProcessJobs as Br, SandboxFleetParent as Bt, WorkspaceOperationLookup as C, SandboxRuntime as Ca, SandboxEvent as Ci, TerminalStream as Cn, PublishPublicTemplateVersionOptions as Cr, SandboxFleetAgentSpec as Ct, ProvisionResult as D, RolloutTurnPart as Da, SandboxTraceExport as Di, SandboxResources as Dn, CreateGpuLeaseOptions as Dr, SandboxFleetDispatchFailureClass as Dt, ProvisionEvent as E, RolloutStatus as Ea, SandboxTraceEvent as Ei, SandboxConfig as En, AttachGpuLeaseOptions as Er, SandboxFleetCostEstimate as Et, EnsureDevServerOptions as F, WorkspaceImagePublishResult as Fa, ConversationTurnResult as Fi, EgressManager as Fn, GpuLeaseExecResult as Fr, SandboxFleetMachineRecord as Ft, GitBranch as G, SandboxEnvRecovery as Ga, SentSessionMessage as Gi, ChunkedUploadResult as Gn, ManagedProcessSpec as Gr, SandboxFleetToken as Gt, PreviewLinkInfo as H, CodeResultPart as Ha, PublicProfileConflict as Hi, GitAuth as Hn, ManagedProcessResumeOptions as Hr, SandboxFleetPolicy as Ht, ExactProcessSpawnOptions as I, ProcessInfo as Ia, CreateSessionOptions as Ii, NetworkConfig as In, GpuLeaseManager as Ir, SandboxFleetMachineSpec as It, GitStatus as J, InteractionResolutionAcknowledgement as Ja, SessionExecutionInfo as Ji, DownloadProgress as Jn, BranchOptions as Jr, SandboxFleetTraceExport as Jt, GitCommit as K, SandboxEnvRecoveryView as Ka, SessionBackendCredentials as Ki, DeleteOptions as Kn, HttpClient as Kr, SandboxFleetTraceBundle as Kt, Process as L, ProcessListOptions as La, CreateTaskSessionOptions as Li, NetworkManager as Ln, GpuLeaseProviders as Lr, SandboxFleetManifest as Lt, UsageInfo as M, GpuLeaseProviderStatus as Ma, CompletedTurnPayload as Mi, SandboxResourceUsage as Mn, GpuLeaseBilling as Mr, SandboxFleetIntelligenceEnvelope as Mt, WaitForOptions as N, GpuLeaseStatus as Na, CompletedTurnResult as Ni, SandboxRuntimeCapabilities as Nn, GpuLeaseCommandResult as Nr, SandboxFleetMachine as Nt, ProvisionStep as O, ProvisionStatus as Oa, SandboxTraceOptions as Oi, SandboxShapesInfo as On, DriverConfig as Or, SandboxFleetDispatchResponse as Ot, DevServerInfo as P, WorkspaceImagePublishInput as Pa, ConversationTurnOptions as Pi, StorageConfig as Pn, GpuLeaseExecOptions as Pr, SandboxFleetMachineMeteredUsage as Pt, AttachSandboxFleetMachineOptions as Q, parseDeclaredSecretsEnv as Qa, SessionInfo as Qi, FileReadBatchResult as Qn, Rollout as Qr, SandboxFleetWorkspaceReconcileResult as Qt, ProcessLogEntry as R, ProcessStatus as Ra, DispatchPromptOptions as Ri, SandboxEgressUsage as Rn, GpuLeaseProvidersOptions as Rr, SandboxFleetManifestMachine as Rt, StopOptions as S, SANDBOX_RUNTIMES as Sa, PromptResult as Si, TeePublicKeyResponse as Sn, PublishPublicTemplateOptions as Sr, SandboxFleetAgent as St, SshKeysManager as T, RolloutScorer as Ta, SandboxTraceBundle as Ti, CreateSandboxOptions as Tn, AcceleratorKind as Tr, SandboxFleetArtifactSpec as Tt, PreviewLinkManager as U, ExecResult as Ua, SendSessionMessageOptions as Ui, GitConfig as Un, ManagedProcessState as Ur, SandboxFleetProfileRef as Ut, ProcessSpawnOptions as V, CodeLanguage as Va, ListMessagesOptions as Vi, MAX_EGRESS_DENIALS_LIMIT as Vn, ManagedProcessOptions as Vr, SandboxFleetPlacement as Vt, PreviewLinkWaitOptions as W, WriteFileRequest as Wa, SendSessionMessageRequest as Wi, ChunkedUploadOptions as Wn, ManagedProcessRecord as Wr, SandboxFleetSpend as Wt, FleetDriveTurnRequest as X, assertDeclaredSecretsHeld as Xa, SessionFailureReason as Xi, FileInfo as Xn, ForkIdempotency as Xr, SandboxFleetUsage as Xt, FleetDriveTurnOutcome as Y, DECLARED_SECRET_HOSTS_ENV_VAR as Ya, SessionExecutionStatus as Yi, DownloadResult as Yn, ForkCounts as Yr, SandboxFleetTraceOptions as Yt, TokenRefreshHandler as Z, declaredSecretBaseToken as Za, SessionForkOptions as Zi, FileReadBatchOptions as Zn, ForkLookupOptions as Zr, SandboxFleetWorkspace as Zt, SnapshotInfo as _, BackendStatus as _a, IntelligenceReportCompareTo as _i, StartupOperation as _n, SearchMatch as _r, ListSandboxFleetOptions as _t, DeleteMatchingSandboxesResult as a, TaskSessionChanges as aa, AgentQuestionRequest as ai, SandboxInfo as an, FileTreeResult as ar, FleetAgentRunStatus as at, SnapshotRemoteSync as b, SecretBindingOptions as ba, PromptInputPart as bi, TeeAttestationResponse as bn, PublicTemplateInfo as br, ReconcileSandboxFleetsOptions as bt, SandboxDeleteOptions as c, TaskSessionInfo as ca, CreateIntelligenceReportOptions as ci, SandboxRunGeneration as cn, FileWriteResult as cr, FleetDispatchResultBufferOptions as ct, SandboxOperationKind as d, BackendCapabilities as da, DurablePlanDecisionResult as di, SandboxTerminalCreateOptions as dn, RenameOptions as dr, FleetExecDispatchResult as dt, SessionListOptions as ea, RolloutStartResult as ei, SandboxFleetWorkspaceSnapshotResult as en, BackendType as eo, FileReadResult as er, CreateSandboxFleetTokenOptions as et, SandboxOperationState as f, BackendConfig as fa, DurablePlanFollowUpResume as fi, SandboxTerminalInfo as fn, UploadOptions as fr, FleetMachineId as ft, SnapshotIdempotency as g, BackendRuntimeConfigUpdate as ga, IntelligenceReportBudget as gi, StartupDiagnostics as gn, WriteManyOptions as gr, FleetRunOptions as gt, SnapshotDeleteOutcome as h, BackendMcpServerStatus as ha, IntelligenceReport as hi, SandboxTerminals as hn, WriteManyFile as hr, FleetRunEvent as ht, DeleteMatchingSandboxesOptions as i, SessionResultOptions as ia, AgentApprovalRequirement as ii, SandboxConnection as in, parseBackendType as io, FileTreeOptions as ir, FleetAgentResult as it, SubscriptionInfo as j, GpuLeaseProviderState as ja, CommitTaskSessionOptions as ji, SandboxShapePreset as jn, GpuLease as jr, SandboxFleetInfo as jt, ResumeOptions as k, GPU_LEASE_PROVIDER_NAMES as ka, TokenUsage as ki, SandboxStatus as kn, DriverInfo as kr, SandboxFleetDriverCapability as kt, SandboxDeleteOutcome as l, TaskSessionProfile as la, DurablePlan as li, SandboxRuntimeHealth as ln, ListOptions as lr, FleetDispatchStreamOptions as lt, SnapshotDeleteAcknowledgement as m, BackendManager as ma, EventStreamOptions as mi, SandboxTerminalRequestOptions as mn, WriteFileOptions as mr, FleetPromptDispatchResult as mt, DeleteMatchingSandboxResult as n, SessionMessageAdmission as na, BatchBackend as ni, SSHCommandDescriptor as nn, EffectiveBackendProfile as no, FileSystem as nr, FleetAgentId as nt, RestoreSnapshotOptions as o, TaskSessionCommitResult as oa, AgentRunStatus as oi, SandboxPortBinding as on, FileUsageOptions as or, FleetDispatchCancelResult as ot, SandboxRemovalState as p, BackendInfo as pa, DurablePlanSnapshot as pi, SandboxTerminalManager as pn, UploadProgress as pr, FleetPromptDispatchOptions as pt, GitDiff as q, baseProxyToken as qa, SessionEventStreamOptions as qi, DownloadOptions as qn, SdkTimingHook as qr, SandboxFleetTraceEvent as qt, DeleteMatchingSandboxesFilter as r, SessionMessageInputPart as ra, BatchRunOptions as ri, SSHCredentials as rn, EffectiveBackendSource as ro, FileTreeFile as rr, FleetAgentPlacement as rt, SandboxDeleteAcknowledgement as s, TaskSessionFileChange as sa, AgentToolInvocation as si, SandboxPortPreviewLink as sn, FileUsageResult as sr, FleetDispatchResultBuffer as st, DeleteMatchingSandboxOutcome as t, SessionMessage as ta, WaitForRolloutOptions as ti, ListSandboxOptions as tn, EffectiveBackend as to, FileRenameResult as tr, CreateSandboxFleetWithCoordinatorOptions as tt, SandboxOperationInfo as u, TurnDriveResult as ua, DurablePlanDecisionOptions as ui, SandboxTerminalAttachOptions as un, MkdirOptions as ur, FleetExecDispatchOptions as ut, SnapshotOptions as v, McpServerConfig as va, IntelligenceReportSubjectType as vi, TeeAttestationOptions as vn, SearchOptions as vr, ReapExpiredSandboxFleetsOptions as vt, SecretsManager as w, RolloutChildResult as wa, SandboxIntelligenceEnvelope as wi, CreateRequestOptions as wn, SandboxEnvironment as wr, SandboxFleetArtifact as wt, SnapshotResult as x, SecretInfo as xa, PromptOptions as xi, TeePublicKey as xn, PublicTemplateVersionInfo as xr, ReconcileSandboxFleetsResult as xt, SnapshotProvenance as y, RouterRoutingOptions as ya, IntelligenceReportWindow as yi, TeeAttestationReport as yn, ExecOptions as yr, ReapExpiredSandboxFleetsResult as yt, ProcessManager as z, SessionStatus as za, DispatchedSession as zi, EgressPolicy as zn, CodeExecutionOptions as zr, SandboxFleetOperationsSummary as zt };
|