@tangle-network/sandbox 0.60.78-develop.20261024232022.369abcd → 0.60.78-develop.20261025013907.99696b4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +96 -172
- package/dist/agent/index.js +60 -123
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-D8Riqf7N.d.ts → agent-run-outcome-BWY-vwU8.d.ts} +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/{chunked-upload-file-Ci5dxctW.js → chunked-upload-file-BpfpPCsE.js} +1 -1
- package/dist/{client-DV1SbwZK.d.ts → client-C0rEjjtU.d.ts} +259 -252
- package/dist/{client-CmoTway8.js → client-CUYXXFJB.js} +170 -170
- package/dist/collaboration/index.js +1 -1
- package/dist/{select-seat-BSEdpAMq.js → core-DnrLA0im.js} +9 -2
- package/dist/core.d.ts +6 -14
- package/dist/core.js +4 -11
- package/dist/{direct-http2-B7Uw2o-9.js → direct-http2-6fHIO7eF.js} +1 -1
- package/dist/{index-DpsISCBX.d.ts → index-C1MBHl8J.d.ts} +3 -3
- package/dist/index.d.ts +8 -8
- package/dist/index.js +233 -8
- package/dist/{interactive-controller-BtdROvsm.d.ts → interactive-controller-BhGELtiP.d.ts} +1 -1
- package/dist/{interactive-controller-DLrI-UvT.js → interactive-controller-DoYo8Kq5.js} +1 -1
- package/dist/lib/prepared-process.js +1 -1
- package/dist/{lines-DViw4KHn.d.ts → lines-B5PUWzfB.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-BO2sfVoW.js → local-cli-auth--crCWGcG.js} +1 -1
- package/dist/{preview-DRZnmu5V.d.ts → preview-DURO4PiP.d.ts} +3 -3
- package/dist/{public-templates-ursM1K2F.d.ts → public-templates-Dpv5n9be.d.ts} +1 -1
- package/dist/public-templates.d.ts +1 -1
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +2 -2
- package/dist/{sandbox-DiigN_DB.js → sandbox-D-AOea4t.js} +8 -8
- package/dist/select-seat-command.d.ts +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-Ci5No-40.js → tangle-D-h2SpVO.js} +1 -1
- package/dist/{types-D_RvPPTq.d.ts → types-mC2pva3m.d.ts} +64 -30
- package/package.json +4 -4
- /package/dist/{chunked-upload-DC2b4-t5.js → chunked-upload-D1DL0f88.js} +0 -0
- /package/dist/{cli-auth-bundle-BBuXynrM.js → cli-auth-bundle-Ymv99-5G.js} +0 -0
- /package/dist/{collaboration-CPU10E5p.js → collaboration-Tn2ygatK.js} +0 -0
- /package/dist/{keep-alive-fetch-BOEM_9nC.js → keep-alive-fetch-_KZcsAS_.js} +0 -0
- /package/dist/{lines-DBaAhcFv.js → lines-BdF6b46c.js} +0 -0
- /package/dist/{prepared-process-Bj6Ly6R2.js → prepared-process-DNX-AVJ3.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 } from "./index-
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-C1MBHl8J.js";
|
|
2
2
|
import { F as SandboxError, c as MintInteractiveSessionTokenOptions, u as ScopedToken } from "./terminal-stream-types-BTqOP3Zi.js";
|
|
3
|
-
import { $n as TeeAttestationReport, $t as ReapExpiredSandboxFleetsResult, A as SandboxIdentity, Ai as ManagedProcessRecord, An as SandboxFleetUsage, Bt as FleetDispatchCancelResult, En as SandboxFleetTraceBundle, Fn as ListSandboxOptions, Ft as CreateSandboxFleetWithCoordinatorOptions, Gt as FleetExecDispatchResult, Hn as SandboxRunGeneration, Ht as FleetDispatchResultBufferOptions, Ia as GpuLeaseProviderName, Ii as SdkTimingHook, It as FleetAgentId, Jt as FleetPromptDispatchResult, Ki as BatchRunOptions, Kt as FleetMachineId, M as UsageInfo, Mi as ManagedProcessSpec, Mn as SandboxFleetWorkspaceReconcileResult, Mt as AttachSandboxFleetMachineOptions, Nn as SandboxFleetWorkspaceRestoreResult, Nt as CreateSandboxFleetOptions, Oi as ManagedProcessJobs, Pi as HttpClient, Pn as SandboxFleetWorkspaceSnapshotResult, Pt as CreateSandboxFleetTokenOptions, Qt as ReapExpiredSandboxFleetsOptions, Rt as FleetAgentResult, Sn as SandboxFleetPolicy, T as SshKeysManager, Tn as SandboxFleetToken, Ut as FleetDispatchStreamOptions, Vt as FleetDispatchResultBuffer, Wt as FleetExecDispatchOptions, X as FleetDriveTurnRequest, Xt as FleetRunOptions, Y as FleetDriveTurnOutcome, Yt as FleetRunEvent, Z as TokenRefreshHandler, Zi as CreateIntelligenceReportOptions, Zt as ListSandboxFleetOptions, _n as SandboxFleetManifest, a as DeleteMatchingSandboxesResult, aa as IntelligenceReportBudget, an as SandboxFleetArtifactSpec, ar as CreateSandboxOptions, bn as SandboxFleetParent, ca as IntelligenceReportWindow, cn as SandboxFleetDispatchResponse, cr as SandboxShapesInfo, da as PromptResult, dn as SandboxFleetInfo,
|
|
4
|
-
import { t as LinesClient } from "./lines-
|
|
5
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
3
|
+
import { $n as TeeAttestationReport, $t as ReapExpiredSandboxFleetsResult, A as SandboxIdentity, Ai as ManagedProcessRecord, An as SandboxFleetUsage, Bt as FleetDispatchCancelResult, En as SandboxFleetTraceBundle, Fn as ListSandboxOptions, Ft as CreateSandboxFleetWithCoordinatorOptions, Gt as FleetExecDispatchResult, Hn as SandboxRunGeneration, Ht as FleetDispatchResultBufferOptions, Ia as GpuLeaseProviderName, Ii as SdkTimingHook, It as FleetAgentId, Jt as FleetPromptDispatchResult, Ki as BatchRunOptions, Kt as FleetMachineId, M as UsageInfo, Mi as ManagedProcessSpec, Mn as SandboxFleetWorkspaceReconcileResult, Mt as AttachSandboxFleetMachineOptions, Nn as SandboxFleetWorkspaceRestoreResult, Nt as CreateSandboxFleetOptions, Oi as ManagedProcessJobs, Pi as HttpClient, Pn as SandboxFleetWorkspaceSnapshotResult, Pt as CreateSandboxFleetTokenOptions, Qt as ReapExpiredSandboxFleetsOptions, Rt as FleetAgentResult, Sn as SandboxFleetPolicy, T as SshKeysManager, Tn as SandboxFleetToken, Ut as FleetDispatchStreamOptions, Vt as FleetDispatchResultBuffer, Wt as FleetExecDispatchOptions, X as FleetDriveTurnRequest, Xt as FleetRunOptions, Y as FleetDriveTurnOutcome, Yt as FleetRunEvent, Z as TokenRefreshHandler, Zi as CreateIntelligenceReportOptions, Zt as ListSandboxFleetOptions, _n as SandboxFleetManifest, a as DeleteMatchingSandboxesResult, aa as IntelligenceReportBudget, an as SandboxFleetArtifactSpec, ar as CreateSandboxOptions, bn as SandboxFleetParent, ca as IntelligenceReportWindow, cn as SandboxFleetDispatchResponse, cr as SandboxShapesInfo, da as PromptResult, dn as SandboxFleetInfo, ei as ExecOptions, en as ReconcileSandboxFleetsOptions, er as TeeAttestationResponse, fa as SandboxEvent, fo as BatchResult, fr as SandboxShapePreset, gn as SandboxFleetMachineSpec, go as PublicBatchRunRequestInput, hn as SandboxFleetMachineRecord, ho as PublicBatchRunRequest, i as DeleteMatchingSandboxesOptions, ia as IntelligenceReport, in as SandboxFleetArtifact, ir as CreateRequestOptions, j as SubscriptionInfo, ji as ManagedProcessResumeOptions, ki as ManagedProcessOptions, kn as SandboxFleetTraceOptions, la as PromptInputPart, ln as SandboxFleetDriverCapability, nn as SandboxFleetAgent, nt as ConversationTurnResult, oa as IntelligenceReportCompareTo, oi as SandboxEnvironment, on as SandboxFleetCostEstimate, or as SandboxConfig, pn as SandboxFleetMachine, qt as FleetPromptDispatchOptions, r as DeleteMatchingSandboxesFilter, sr as SandboxResources, ti as ExecResult, tn as ReconcileSandboxFleetsResult, tt as ConversationTurnOptions, ua as PromptOptions, vo as BatchEvent, w as SecretsManager, wn as SandboxFleetSpend, xa as BackendConfig, ya as TurnBackendConfig, yn as SandboxFleetOperationsSummary, zn as SandboxInfo } from "./types-mC2pva3m.js";
|
|
4
|
+
import { t as LinesClient } from "./lines-B5PUWzfB.js";
|
|
5
|
+
import { a as PublicTemplatesClient } from "./public-templates-Dpv5n9be.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
8
8
|
import { AgentInteractiveSessionRef, AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities as AgentProfileCapabilities$1, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileFileMount as AgentProfileFileMount$1, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSeat, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult as AgentProfileValidationResult$1, AgentRunCancellationAcknowledgement as AgentRunCancellationAcknowledgement$1, AgentRunCancellationRequest as AgentRunCancellationRequest$1, AgentRuntimeAttachments, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset as SandboxSizePreset$1 } from "@tangle-network/agent-interface";
|
|
@@ -937,6 +937,260 @@ interface ConfidentialSandboxResult {
|
|
|
937
937
|
declare function generateAttestationNonce(bytes?: number): string;
|
|
938
938
|
declare function createConfidentialSandbox(client: SandboxCreator, options: CreateConfidentialSandboxOptions): Promise<ConfidentialSandboxResult>;
|
|
939
939
|
//#endregion
|
|
940
|
+
//#region src/instances.d.ts
|
|
941
|
+
/** The profile version that new sessions of an instance bind to. */
|
|
942
|
+
interface InstanceProfile {
|
|
943
|
+
/** Your identifier for this profile version, such as a release id. */
|
|
944
|
+
version: string;
|
|
945
|
+
/** The backend a new session is created from. */
|
|
946
|
+
backend: BackendConfig;
|
|
947
|
+
}
|
|
948
|
+
/** The platform's record of one named instance. */
|
|
949
|
+
interface InstanceRecord {
|
|
950
|
+
key: string;
|
|
951
|
+
/** Counts the key's sandboxes; a replacement moves to the next one. */
|
|
952
|
+
generation: number;
|
|
953
|
+
sandboxId: string | null;
|
|
954
|
+
profileVersion: string | null;
|
|
955
|
+
/** Epoch ms of the current sandbox's first failed start, or null. */
|
|
956
|
+
unstartableSince: number | null;
|
|
957
|
+
createdAt: number;
|
|
958
|
+
updatedAt: number;
|
|
959
|
+
}
|
|
960
|
+
interface EnsureInstanceOptions {
|
|
961
|
+
/** Your tenant key: 1-200 letters, digits and `. _ : @ -`. */
|
|
962
|
+
key: string;
|
|
963
|
+
/** The profile version new sessions bind to. */
|
|
964
|
+
profile?: InstanceProfile;
|
|
965
|
+
/**
|
|
966
|
+
* How a new sandbox is created. The sandbox is always isolated from your
|
|
967
|
+
* own account's context; the SDK sets its idempotency key and adds
|
|
968
|
+
* `instanceKey` and `instanceGeneration` to its metadata.
|
|
969
|
+
*/
|
|
970
|
+
create: Omit<CreateSandboxOptions, "ownerContext" | "idempotencyKey" | "backend">;
|
|
971
|
+
/**
|
|
972
|
+
* How long a sandbox may keep failing to start before a fresh sandbox
|
|
973
|
+
* replaces it. The replaced sandbox is not deleted; its own retention
|
|
974
|
+
* deletes it. Default 60 s.
|
|
975
|
+
*/
|
|
976
|
+
restartAfterMs?: number;
|
|
977
|
+
/**
|
|
978
|
+
* A sandbox you created before using instances, to adopt for a key that
|
|
979
|
+
* has no instance yet. Ignored once the key has one.
|
|
980
|
+
*/
|
|
981
|
+
adopt?: string;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* The sandbox cannot start yet. `ensure()` replaces it once it has kept
|
|
985
|
+
* failing for `restartAfterMs`; retry after `retryAfterMs`.
|
|
986
|
+
*/
|
|
987
|
+
declare class InstanceRestartingError extends SandboxError {
|
|
988
|
+
readonly instance: InstanceRecord;
|
|
989
|
+
/** The start failure that was recorded. */
|
|
990
|
+
readonly failure: Error;
|
|
991
|
+
constructor(message: string, instance: InstanceRecord, /** The start failure that was recorded. */
|
|
992
|
+
|
|
993
|
+
failure: Error, retryAfterMs: number);
|
|
994
|
+
}
|
|
995
|
+
/** The part of the SDK client that instances use. */
|
|
996
|
+
interface InstancesHttpClient {
|
|
997
|
+
fetch(path: string, options?: RequestInit): Promise<Response>;
|
|
998
|
+
get(id: string): Promise<SandboxInstance | null>;
|
|
999
|
+
createIsolated(options: Omit<CreateSandboxOptions, "ownerContext">): Promise<SandboxInstance>;
|
|
1000
|
+
}
|
|
1001
|
+
/** One running instance: its sandbox and the profile version it binds. */
|
|
1002
|
+
/**
|
|
1003
|
+
* What `ensure` did to hand back a running sandbox: it was already running,
|
|
1004
|
+
* it resumed a stopped one, or it created the key's sandbox. A caller that
|
|
1005
|
+
* reports turn latency names the box state from it.
|
|
1006
|
+
*/
|
|
1007
|
+
type InstanceStart = "running" | "resumed" | "created";
|
|
1008
|
+
declare class HostedInstance {
|
|
1009
|
+
readonly record: InstanceRecord;
|
|
1010
|
+
readonly box: SandboxInstance;
|
|
1011
|
+
readonly profile?: InstanceProfile | undefined;
|
|
1012
|
+
readonly started: InstanceStart;
|
|
1013
|
+
constructor(record: InstanceRecord, box: SandboxInstance, profile?: InstanceProfile | undefined, started?: InstanceStart);
|
|
1014
|
+
get key(): string;
|
|
1015
|
+
get generation(): number;
|
|
1016
|
+
get sandboxId(): string;
|
|
1017
|
+
get profileVersion(): string | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* The session a thread's turns run in on the current profile version:
|
|
1020
|
+
* `<thread>-<version>`. Without a profile version it is the thread itself.
|
|
1021
|
+
*/
|
|
1022
|
+
sessionId(thread: string): string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Run one turn in the thread's session. The session is created from the
|
|
1025
|
+
* profile version's backend the first time; retrying with the same
|
|
1026
|
+
* `turnId` settles the same turn.
|
|
1027
|
+
*/
|
|
1028
|
+
turn(message: string | PromptInputPart[], options: Omit<ConversationTurnOptions, "sessionId" | "backend"> & {
|
|
1029
|
+
thread: string;
|
|
1030
|
+
}): Promise<ConversationTurnResult>;
|
|
1031
|
+
}
|
|
1032
|
+
/** `client.instances`: one isolated sandbox per tenant key. */
|
|
1033
|
+
declare class InstancesClient {
|
|
1034
|
+
private readonly client;
|
|
1035
|
+
private readonly now;
|
|
1036
|
+
constructor(client: InstancesHttpClient, now?: () => number);
|
|
1037
|
+
/** The platform's record for `key`, or null when it has none. */
|
|
1038
|
+
get(key: string): Promise<InstanceRecord | null>;
|
|
1039
|
+
/** Forget `key`. Its sandbox is left as it is. */
|
|
1040
|
+
release(key: string): Promise<boolean>;
|
|
1041
|
+
/**
|
|
1042
|
+
* The key's sandbox, running. Creates the first sandbox, resumes a stopped
|
|
1043
|
+
* one, replaces one that was deleted or has kept failing to start, and
|
|
1044
|
+
* moves the key to `profile.version` without replacing the sandbox.
|
|
1045
|
+
*/
|
|
1046
|
+
ensure(options: EnsureInstanceOptions): Promise<HostedInstance>;
|
|
1047
|
+
private create;
|
|
1048
|
+
private start;
|
|
1049
|
+
/**
|
|
1050
|
+
* Record a failed start. The sandbox is replaced once starts have failed
|
|
1051
|
+
* for `restartAfterMs`; until then the caller is told to retry.
|
|
1052
|
+
*/
|
|
1053
|
+
private failedStart;
|
|
1054
|
+
private replace;
|
|
1055
|
+
private update;
|
|
1056
|
+
/** A write the platform refused as stale answers `ok: false`. */
|
|
1057
|
+
private write;
|
|
1058
|
+
}
|
|
1059
|
+
//#endregion
|
|
1060
|
+
//#region src/managed-process.d.ts
|
|
1061
|
+
declare class ManagedProcessClient implements ManagedProcessJobs {
|
|
1062
|
+
private readonly request;
|
|
1063
|
+
private readonly environmentId;
|
|
1064
|
+
constructor(request: (path: string, init: RequestInit) => Promise<Response>, environmentId: string);
|
|
1065
|
+
private call;
|
|
1066
|
+
submit(spec: ManagedProcessSpec, options?: ManagedProcessOptions): Promise<ManagedProcessRecord>;
|
|
1067
|
+
get(id: string, options?: ManagedProcessOptions): Promise<ManagedProcessRecord | null>;
|
|
1068
|
+
resume(id: string, options: ManagedProcessResumeOptions): Promise<ManagedProcessRecord | null>;
|
|
1069
|
+
cancel(id: string, options?: ManagedProcessOptions): Promise<ManagedProcessRecord | null>;
|
|
1070
|
+
}
|
|
1071
|
+
//#endregion
|
|
1072
|
+
//#region src/select-seat.d.ts
|
|
1073
|
+
/** Structural input to Runtime's SelectSeat port; Runtime owns chain transitions. */
|
|
1074
|
+
interface SandboxSeatSelectionInput {
|
|
1075
|
+
readonly profile: AgentProfile;
|
|
1076
|
+
readonly nodeId: string;
|
|
1077
|
+
readonly stage: Omit<AgentProfileSeat, "harness"> & {
|
|
1078
|
+
readonly harness: string;
|
|
1079
|
+
};
|
|
1080
|
+
readonly stageIndex: number;
|
|
1081
|
+
readonly segmentIndex: number;
|
|
1082
|
+
readonly excludedSeatIds: readonly string[];
|
|
1083
|
+
readonly previous?: {
|
|
1084
|
+
readonly seat: string;
|
|
1085
|
+
readonly harness: string;
|
|
1086
|
+
readonly provider: string;
|
|
1087
|
+
readonly model: string;
|
|
1088
|
+
};
|
|
1089
|
+
readonly retainedEnvironmentId?: string;
|
|
1090
|
+
readonly requiresNativeTurnGrant: boolean;
|
|
1091
|
+
readonly resumeSeatId?: string;
|
|
1092
|
+
}
|
|
1093
|
+
declare const credentialsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1094
|
+
apiKeyEnv: z.ZodString;
|
|
1095
|
+
baseUrl: z.ZodURL;
|
|
1096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1097
|
+
cliAuth: z.ZodObject<{
|
|
1098
|
+
account: z.ZodString;
|
|
1099
|
+
secretEnv: z.ZodString;
|
|
1100
|
+
format: z.ZodEnum<{
|
|
1101
|
+
token: "token";
|
|
1102
|
+
bundle: "bundle";
|
|
1103
|
+
files: "files";
|
|
1104
|
+
}>;
|
|
1105
|
+
}, z.core.$strict>;
|
|
1106
|
+
}, z.core.$strict>]>;
|
|
1107
|
+
type SandboxSeatCredentials = z.infer<typeof credentialsSchema>;
|
|
1108
|
+
interface SandboxResolvedSeat {
|
|
1109
|
+
readonly seatId: string;
|
|
1110
|
+
readonly credentials: SandboxSeatCredentials;
|
|
1111
|
+
readonly profile: AgentProfile;
|
|
1112
|
+
readonly input: SandboxSeatSelectionInput;
|
|
1113
|
+
/** Bind both creation and fresh turns to this segment's selected reference. */
|
|
1114
|
+
readonly resolveModelCredentials: (request?: {
|
|
1115
|
+
readonly profile?: AgentProfile | string;
|
|
1116
|
+
}) => SandboxSeatCredentials;
|
|
1117
|
+
}
|
|
1118
|
+
interface SeatResolutionObservation {
|
|
1119
|
+
readonly key: string;
|
|
1120
|
+
readonly nodeId: string;
|
|
1121
|
+
readonly ms: number;
|
|
1122
|
+
readonly ok: boolean;
|
|
1123
|
+
readonly refusal?: {
|
|
1124
|
+
readonly code: string;
|
|
1125
|
+
readonly reason?: string;
|
|
1126
|
+
readonly resumeAt?: string;
|
|
1127
|
+
};
|
|
1128
|
+
}
|
|
1129
|
+
/** The exact stage request every transport carries to the account owner. */
|
|
1130
|
+
interface SeatSelectionRequest {
|
|
1131
|
+
readonly selection: {
|
|
1132
|
+
readonly runId: string;
|
|
1133
|
+
readonly nodeId: string;
|
|
1134
|
+
readonly stageIndex: number;
|
|
1135
|
+
readonly segmentIndex: number;
|
|
1136
|
+
readonly profile: AgentProfile;
|
|
1137
|
+
readonly selector: AgentProfileSeat["selector"];
|
|
1138
|
+
readonly excludedSeatIds: readonly string[];
|
|
1139
|
+
readonly resumeSeatId?: string;
|
|
1140
|
+
readonly retainedEnvironmentId?: string;
|
|
1141
|
+
readonly requiresNativeTurnGrant: boolean;
|
|
1142
|
+
readonly minimumValidUntil: string;
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1145
|
+
/** The owner's reply: `ok` with `{seatId, credentials}`, or a status with a classified refusal body. */
|
|
1146
|
+
interface SeatOwnerReply {
|
|
1147
|
+
readonly ok: boolean;
|
|
1148
|
+
readonly status: number;
|
|
1149
|
+
readonly body: unknown;
|
|
1150
|
+
}
|
|
1151
|
+
/** Carries one request to the account owner; it makes no seat choice. */
|
|
1152
|
+
type SeatOwnerTransport = (request: SeatSelectionRequest, signal?: AbortSignal) => Promise<SeatOwnerReply>;
|
|
1153
|
+
/** The authenticated Sandbox gateway to the hosted account owner. */
|
|
1154
|
+
declare function gatewaySeatTransport(client: Pick<Sandbox, "fetch">): SeatOwnerTransport;
|
|
1155
|
+
interface CreateSelectSeatOptions<TBackend extends {
|
|
1156
|
+
backend: "provider";
|
|
1157
|
+
provider: unknown;
|
|
1158
|
+
}> {
|
|
1159
|
+
/** Reads retained environments; also the default gateway transport. */
|
|
1160
|
+
client: Pick<Sandbox, "fetch" | "get">;
|
|
1161
|
+
/** Defaults to `gatewaySeatTransport(client)`. */
|
|
1162
|
+
transport?: SeatOwnerTransport;
|
|
1163
|
+
runId: string;
|
|
1164
|
+
/** Root-start-derived deadline. Evaluated once when constructing this run's selector. */
|
|
1165
|
+
minimumValidUntil: string | (() => string);
|
|
1166
|
+
createBackend: (selected: SandboxResolvedSeat) => TBackend | Promise<TBackend>;
|
|
1167
|
+
signal?: AbortSignal;
|
|
1168
|
+
onResolution?: (observation: SeatResolutionObservation) => void;
|
|
1169
|
+
}
|
|
1170
|
+
/** Classified owner refusal, with fixed diagnostics and no upstream credential material. */
|
|
1171
|
+
declare class SeatSelectionError extends SandboxError {
|
|
1172
|
+
readonly reason: string;
|
|
1173
|
+
constructor(code: string, reason: string, status: number);
|
|
1174
|
+
}
|
|
1175
|
+
/** Compose the existing authenticated account selector with a caller's provider backend. */
|
|
1176
|
+
declare function createSelectSeat<TBackend extends {
|
|
1177
|
+
backend: "provider";
|
|
1178
|
+
provider: unknown;
|
|
1179
|
+
}>(options: CreateSelectSeatOptions<TBackend>): (input: SandboxSeatSelectionInput) => Promise<{
|
|
1180
|
+
seat: string;
|
|
1181
|
+
backend: TBackend;
|
|
1182
|
+
nativeTurnGrant?: true;
|
|
1183
|
+
} | {
|
|
1184
|
+
resumeAt: string;
|
|
1185
|
+
}>;
|
|
1186
|
+
//#endregion
|
|
1187
|
+
//#region src/core.d.ts
|
|
1188
|
+
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
|
1189
|
+
* Version 1 refuses unconfirmed isolated receipts before materializing any
|
|
1190
|
+
* profile/files and suppresses ambient CLI credential discovery. Callers must
|
|
1191
|
+
* still inspect the host receipt and their own customer/workspace binding. */
|
|
1192
|
+
declare const ISOLATED_CREATION_ATTESTATION_VERSION: 1;
|
|
1193
|
+
//#endregion
|
|
940
1194
|
//#region src/image.d.ts
|
|
941
1195
|
/**
|
|
942
1196
|
* Image Builder for Sandbox SDK
|
|
@@ -1258,126 +1512,6 @@ declare class ImageBuilder {
|
|
|
1258
1512
|
*/
|
|
1259
1513
|
declare function generateDockerfile(spec: ImageSpec): string;
|
|
1260
1514
|
//#endregion
|
|
1261
|
-
//#region src/instances.d.ts
|
|
1262
|
-
/** The profile version that new sessions of an instance bind to. */
|
|
1263
|
-
interface InstanceProfile {
|
|
1264
|
-
/** Your identifier for this profile version, such as a release id. */
|
|
1265
|
-
version: string;
|
|
1266
|
-
/** The backend a new session is created from. */
|
|
1267
|
-
backend: BackendConfig;
|
|
1268
|
-
}
|
|
1269
|
-
/** The platform's record of one named instance. */
|
|
1270
|
-
interface InstanceRecord {
|
|
1271
|
-
key: string;
|
|
1272
|
-
/** Counts the key's sandboxes; a replacement moves to the next one. */
|
|
1273
|
-
generation: number;
|
|
1274
|
-
sandboxId: string | null;
|
|
1275
|
-
profileVersion: string | null;
|
|
1276
|
-
/** Epoch ms of the current sandbox's first failed start, or null. */
|
|
1277
|
-
unstartableSince: number | null;
|
|
1278
|
-
createdAt: number;
|
|
1279
|
-
updatedAt: number;
|
|
1280
|
-
}
|
|
1281
|
-
interface EnsureInstanceOptions {
|
|
1282
|
-
/** Your tenant key: 1-200 letters, digits and `. _ : @ -`. */
|
|
1283
|
-
key: string;
|
|
1284
|
-
/** The profile version new sessions bind to. */
|
|
1285
|
-
profile?: InstanceProfile;
|
|
1286
|
-
/**
|
|
1287
|
-
* How a new sandbox is created. The sandbox is always isolated from your
|
|
1288
|
-
* own account's context; the SDK sets its idempotency key and adds
|
|
1289
|
-
* `instanceKey` and `instanceGeneration` to its metadata.
|
|
1290
|
-
*/
|
|
1291
|
-
create: Omit<CreateSandboxOptions, "ownerContext" | "idempotencyKey" | "backend">;
|
|
1292
|
-
/**
|
|
1293
|
-
* How long a sandbox may keep failing to start before a fresh sandbox
|
|
1294
|
-
* replaces it. The replaced sandbox is not deleted; its own retention
|
|
1295
|
-
* deletes it. Default 60 s.
|
|
1296
|
-
*/
|
|
1297
|
-
restartAfterMs?: number;
|
|
1298
|
-
/**
|
|
1299
|
-
* A sandbox you created before using instances, to adopt for a key that
|
|
1300
|
-
* has no instance yet. Ignored once the key has one.
|
|
1301
|
-
*/
|
|
1302
|
-
adopt?: string;
|
|
1303
|
-
}
|
|
1304
|
-
/**
|
|
1305
|
-
* The sandbox cannot start yet. `ensure()` replaces it once it has kept
|
|
1306
|
-
* failing for `restartAfterMs`; retry after `retryAfterMs`.
|
|
1307
|
-
*/
|
|
1308
|
-
declare class InstanceRestartingError extends SandboxError {
|
|
1309
|
-
readonly instance: InstanceRecord;
|
|
1310
|
-
/** The start failure that was recorded. */
|
|
1311
|
-
readonly failure: Error;
|
|
1312
|
-
constructor(message: string, instance: InstanceRecord, /** The start failure that was recorded. */
|
|
1313
|
-
|
|
1314
|
-
failure: Error, retryAfterMs: number);
|
|
1315
|
-
}
|
|
1316
|
-
/** The part of the SDK client that instances use. */
|
|
1317
|
-
interface InstancesHttpClient {
|
|
1318
|
-
fetch(path: string, options?: RequestInit): Promise<Response>;
|
|
1319
|
-
get(id: string): Promise<SandboxInstance | null>;
|
|
1320
|
-
createIsolated(options: Omit<CreateSandboxOptions, "ownerContext">): Promise<SandboxInstance>;
|
|
1321
|
-
}
|
|
1322
|
-
/** One running instance: its sandbox and the profile version it binds. */
|
|
1323
|
-
/**
|
|
1324
|
-
* What `ensure` did to hand back a running sandbox: it was already running,
|
|
1325
|
-
* it resumed a stopped one, or it created the key's sandbox. A caller that
|
|
1326
|
-
* reports turn latency names the box state from it.
|
|
1327
|
-
*/
|
|
1328
|
-
type InstanceStart = "running" | "resumed" | "created";
|
|
1329
|
-
declare class HostedInstance {
|
|
1330
|
-
readonly record: InstanceRecord;
|
|
1331
|
-
readonly box: SandboxInstance;
|
|
1332
|
-
readonly profile?: InstanceProfile | undefined;
|
|
1333
|
-
readonly started: InstanceStart;
|
|
1334
|
-
constructor(record: InstanceRecord, box: SandboxInstance, profile?: InstanceProfile | undefined, started?: InstanceStart);
|
|
1335
|
-
get key(): string;
|
|
1336
|
-
get generation(): number;
|
|
1337
|
-
get sandboxId(): string;
|
|
1338
|
-
get profileVersion(): string | null;
|
|
1339
|
-
/**
|
|
1340
|
-
* The session a thread's turns run in on the current profile version:
|
|
1341
|
-
* `<thread>-<version>`. Without a profile version it is the thread itself.
|
|
1342
|
-
*/
|
|
1343
|
-
sessionId(thread: string): string;
|
|
1344
|
-
/**
|
|
1345
|
-
* Run one turn in the thread's session. The session is created from the
|
|
1346
|
-
* profile version's backend the first time; retrying with the same
|
|
1347
|
-
* `turnId` settles the same turn.
|
|
1348
|
-
*/
|
|
1349
|
-
turn(message: string | PromptInputPart[], options: Omit<ConversationTurnOptions, "sessionId" | "backend"> & {
|
|
1350
|
-
thread: string;
|
|
1351
|
-
}): Promise<ConversationTurnResult>;
|
|
1352
|
-
}
|
|
1353
|
-
/** `client.instances`: one isolated sandbox per tenant key. */
|
|
1354
|
-
declare class InstancesClient {
|
|
1355
|
-
private readonly client;
|
|
1356
|
-
private readonly now;
|
|
1357
|
-
constructor(client: InstancesHttpClient, now?: () => number);
|
|
1358
|
-
/** The platform's record for `key`, or null when it has none. */
|
|
1359
|
-
get(key: string): Promise<InstanceRecord | null>;
|
|
1360
|
-
/** Forget `key`. Its sandbox is left as it is. */
|
|
1361
|
-
release(key: string): Promise<boolean>;
|
|
1362
|
-
/**
|
|
1363
|
-
* The key's sandbox, running. Creates the first sandbox, resumes a stopped
|
|
1364
|
-
* one, replaces one that was deleted or has kept failing to start, and
|
|
1365
|
-
* moves the key to `profile.version` without replacing the sandbox.
|
|
1366
|
-
*/
|
|
1367
|
-
ensure(options: EnsureInstanceOptions): Promise<HostedInstance>;
|
|
1368
|
-
private create;
|
|
1369
|
-
private start;
|
|
1370
|
-
/**
|
|
1371
|
-
* Record a failed start. The sandbox is replaced once starts have failed
|
|
1372
|
-
* for `restartAfterMs`; until then the caller is told to retry.
|
|
1373
|
-
*/
|
|
1374
|
-
private failedStart;
|
|
1375
|
-
private replace;
|
|
1376
|
-
private update;
|
|
1377
|
-
/** A write the platform refused as stale answers `ok: false`. */
|
|
1378
|
-
private write;
|
|
1379
|
-
}
|
|
1380
|
-
//#endregion
|
|
1381
1515
|
//#region src/lib/agent-response-text.d.ts
|
|
1382
1516
|
declare function getSandboxEventText(event: SandboxEvent): string | undefined;
|
|
1383
1517
|
/**
|
|
@@ -5345,18 +5479,6 @@ interface ManageGpuLeasePolicy {
|
|
|
5345
5479
|
}
|
|
5346
5480
|
declare function createManageSandboxesTool(client: Sandbox, options?: ManageSandboxesToolOptions): ManageSandboxesTool;
|
|
5347
5481
|
//#endregion
|
|
5348
|
-
//#region src/managed-process.d.ts
|
|
5349
|
-
declare class ManagedProcessClient implements ManagedProcessJobs {
|
|
5350
|
-
private readonly request;
|
|
5351
|
-
private readonly environmentId;
|
|
5352
|
-
constructor(request: (path: string, init: RequestInit) => Promise<Response>, environmentId: string);
|
|
5353
|
-
private call;
|
|
5354
|
-
submit(spec: ManagedProcessSpec, options?: ManagedProcessOptions): Promise<ManagedProcessRecord>;
|
|
5355
|
-
get(id: string, options?: ManagedProcessOptions): Promise<ManagedProcessRecord | null>;
|
|
5356
|
-
resume(id: string, options: ManagedProcessResumeOptions): Promise<ManagedProcessRecord | null>;
|
|
5357
|
-
cancel(id: string, options?: ManagedProcessOptions): Promise<ManagedProcessRecord | null>;
|
|
5358
|
-
}
|
|
5359
|
-
//#endregion
|
|
5360
5482
|
//#region src/profile-file-mounts.d.ts
|
|
5361
5483
|
declare function materializeProfileFileMounts(box: ProfileFileMountBox, files: readonly AgentProfileFileMount[], options?: MaterializeProfileFileMountsOptions): Promise<MaterializeProfileFileMountsResult>;
|
|
5362
5484
|
//#endregion
|
|
@@ -5740,121 +5862,6 @@ declare class RunsClient {
|
|
|
5740
5862
|
run(options: RunOptions, wait?: RunWaitOptions): Promise<RunRecord>;
|
|
5741
5863
|
}
|
|
5742
5864
|
//#endregion
|
|
5743
|
-
//#region src/select-seat.d.ts
|
|
5744
|
-
/** Structural input to Runtime's SelectSeat port; Runtime owns chain transitions. */
|
|
5745
|
-
interface SandboxSeatSelectionInput {
|
|
5746
|
-
readonly profile: AgentProfile;
|
|
5747
|
-
readonly nodeId: string;
|
|
5748
|
-
readonly stage: Omit<AgentProfileSeat, "harness"> & {
|
|
5749
|
-
readonly harness: string;
|
|
5750
|
-
};
|
|
5751
|
-
readonly stageIndex: number;
|
|
5752
|
-
readonly segmentIndex: number;
|
|
5753
|
-
readonly excludedSeatIds: readonly string[];
|
|
5754
|
-
readonly previous?: {
|
|
5755
|
-
readonly seat: string;
|
|
5756
|
-
readonly harness: string;
|
|
5757
|
-
readonly provider: string;
|
|
5758
|
-
readonly model: string;
|
|
5759
|
-
};
|
|
5760
|
-
readonly retainedEnvironmentId?: string;
|
|
5761
|
-
readonly requiresNativeTurnGrant: boolean;
|
|
5762
|
-
readonly resumeSeatId?: string;
|
|
5763
|
-
}
|
|
5764
|
-
declare const credentialsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5765
|
-
apiKeyEnv: z.ZodString;
|
|
5766
|
-
baseUrl: z.ZodURL;
|
|
5767
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5768
|
-
cliAuth: z.ZodObject<{
|
|
5769
|
-
account: z.ZodString;
|
|
5770
|
-
secretEnv: z.ZodString;
|
|
5771
|
-
format: z.ZodEnum<{
|
|
5772
|
-
token: "token";
|
|
5773
|
-
bundle: "bundle";
|
|
5774
|
-
files: "files";
|
|
5775
|
-
}>;
|
|
5776
|
-
}, z.core.$strict>;
|
|
5777
|
-
}, z.core.$strict>]>;
|
|
5778
|
-
type SandboxSeatCredentials = z.infer<typeof credentialsSchema>;
|
|
5779
|
-
interface SandboxResolvedSeat {
|
|
5780
|
-
readonly seatId: string;
|
|
5781
|
-
readonly credentials: SandboxSeatCredentials;
|
|
5782
|
-
readonly profile: AgentProfile;
|
|
5783
|
-
readonly input: SandboxSeatSelectionInput;
|
|
5784
|
-
/** Bind both creation and fresh turns to this segment's selected reference. */
|
|
5785
|
-
readonly resolveModelCredentials: (request?: {
|
|
5786
|
-
readonly profile?: AgentProfile | string;
|
|
5787
|
-
}) => SandboxSeatCredentials;
|
|
5788
|
-
}
|
|
5789
|
-
interface SeatResolutionObservation {
|
|
5790
|
-
readonly key: string;
|
|
5791
|
-
readonly nodeId: string;
|
|
5792
|
-
readonly ms: number;
|
|
5793
|
-
readonly ok: boolean;
|
|
5794
|
-
readonly refusal?: {
|
|
5795
|
-
readonly code: string;
|
|
5796
|
-
readonly reason?: string;
|
|
5797
|
-
readonly resumeAt?: string;
|
|
5798
|
-
};
|
|
5799
|
-
}
|
|
5800
|
-
/** The exact stage request every transport carries to the account owner. */
|
|
5801
|
-
interface SeatSelectionRequest {
|
|
5802
|
-
readonly selection: {
|
|
5803
|
-
readonly runId: string;
|
|
5804
|
-
readonly nodeId: string;
|
|
5805
|
-
readonly stageIndex: number;
|
|
5806
|
-
readonly segmentIndex: number;
|
|
5807
|
-
readonly profile: AgentProfile;
|
|
5808
|
-
readonly selector: AgentProfileSeat["selector"];
|
|
5809
|
-
readonly excludedSeatIds: readonly string[];
|
|
5810
|
-
readonly resumeSeatId?: string;
|
|
5811
|
-
readonly retainedEnvironmentId?: string;
|
|
5812
|
-
readonly requiresNativeTurnGrant: boolean;
|
|
5813
|
-
readonly minimumValidUntil: string;
|
|
5814
|
-
};
|
|
5815
|
-
}
|
|
5816
|
-
/** The owner's reply: `ok` with `{seatId, credentials}`, or a status with a classified refusal body. */
|
|
5817
|
-
interface SeatOwnerReply {
|
|
5818
|
-
readonly ok: boolean;
|
|
5819
|
-
readonly status: number;
|
|
5820
|
-
readonly body: unknown;
|
|
5821
|
-
}
|
|
5822
|
-
/** Carries one request to the account owner; it makes no seat choice. */
|
|
5823
|
-
type SeatOwnerTransport = (request: SeatSelectionRequest, signal?: AbortSignal) => Promise<SeatOwnerReply>;
|
|
5824
|
-
/** The authenticated Sandbox gateway to the hosted account owner. */
|
|
5825
|
-
declare function gatewaySeatTransport(client: Pick<Sandbox, "fetch">): SeatOwnerTransport;
|
|
5826
|
-
interface CreateSelectSeatOptions<TBackend extends {
|
|
5827
|
-
backend: "provider";
|
|
5828
|
-
provider: unknown;
|
|
5829
|
-
}> {
|
|
5830
|
-
/** Reads retained environments; also the default gateway transport. */
|
|
5831
|
-
client: Pick<Sandbox, "fetch" | "get">;
|
|
5832
|
-
/** Defaults to `gatewaySeatTransport(client)`. */
|
|
5833
|
-
transport?: SeatOwnerTransport;
|
|
5834
|
-
runId: string;
|
|
5835
|
-
/** Root-start-derived deadline. Evaluated once when constructing this run's selector. */
|
|
5836
|
-
minimumValidUntil: string | (() => string);
|
|
5837
|
-
createBackend: (selected: SandboxResolvedSeat) => TBackend | Promise<TBackend>;
|
|
5838
|
-
signal?: AbortSignal;
|
|
5839
|
-
onResolution?: (observation: SeatResolutionObservation) => void;
|
|
5840
|
-
}
|
|
5841
|
-
/** Classified owner refusal, with fixed diagnostics and no upstream credential material. */
|
|
5842
|
-
declare class SeatSelectionError extends SandboxError {
|
|
5843
|
-
readonly reason: string;
|
|
5844
|
-
constructor(code: string, reason: string, status: number);
|
|
5845
|
-
}
|
|
5846
|
-
/** Compose the existing authenticated account selector with a caller's provider backend. */
|
|
5847
|
-
declare function createSelectSeat<TBackend extends {
|
|
5848
|
-
backend: "provider";
|
|
5849
|
-
provider: unknown;
|
|
5850
|
-
}>(options: CreateSelectSeatOptions<TBackend>): (input: SandboxSeatSelectionInput) => Promise<{
|
|
5851
|
-
seat: string;
|
|
5852
|
-
backend: TBackend;
|
|
5853
|
-
nativeTurnGrant?: true;
|
|
5854
|
-
} | {
|
|
5855
|
-
resumeAt: string;
|
|
5856
|
-
}>;
|
|
5857
|
-
//#endregion
|
|
5858
5865
|
//#region src/session-events.d.ts
|
|
5859
5866
|
/** Event delivered to a product session through the Sandbox session gateway. */
|
|
5860
5867
|
interface SessionBroadcastEvent {
|
|
@@ -6175,4 +6182,4 @@ declare class Sandbox extends SandboxBatch implements HttpClient, ScopedTokenHtt
|
|
|
6175
6182
|
constructor(config: SandboxConfig);
|
|
6176
6183
|
}
|
|
6177
6184
|
//#endregion
|
|
6178
|
-
export {
|
|
6185
|
+
export { SANDBOX_SIZE_PRESET_NAMES as $, requestedPublicProfileDigest as $t, RunsHttpClient as A, SeatOwnerTransport as At, RunTangleRouterEvalMatrixInSandboxOptions as B, InstanceRecord as Bt, SessionBroadcastResult as C, isBackendRegistryInteractionKind as Cn, generateDockerfile as Ct, RunRecord as D, SandboxSeatCredentials as Dt, RunPlacementRecord as E, SandboxResolvedSeat as Et, RouterEvalMatrixSandboxBox as F, gatewaySeatTransport as Ft, TangleSearchProvider as G, ConfidentialTeeType as Gt, runTangleRouterEvalMatrixInSandbox as H, InstanceStart as Ht, RouterEvalMatrixSandboxClient as I, ManagedProcessClient as It, buildTangleRouterSearchBackend as J, generateAttestationNonce as Jt, buildTangleRouterEvalMatrixRequest as K, CreateConfidentialSandboxOptions as Kt, RouterEvalMatrixScenario as L, EnsureInstanceOptions as Lt, RouterEvalMatrixCaseResult as M, SeatSelectionError as Mt, RouterEvalMatrixHarness as N, SeatSelectionRequest as Nt, RunWaitOptions as O, SandboxSeatSelectionInput as Ot, RouterEvalMatrixPayload as P, createSelectSeat as Pt, SANDBOX_SIZE_PRESETS as Q, normalizeRuntimeBackendConfig as Qt, RouterEvalMatrixSuiteResponse as R, HostedInstance as Rt, SessionBroadcastEvent as S, backendRegistryResponseSchema as Sn, ImageBuilder as St, RunPlacement as T, parseBackendRegistryResponseBody as Tn, CreateSelectSeatOptions as Tt, RouterSearchConfig as U, InstancesClient as Ut, RunTangleRouterEvalMatrixInSandboxResult as V, InstanceRestartingError as Vt, RouterSearchConfigOptions as W, ConfidentialSandboxResult as Wt, fetchTangleRouterSearchConfig as X, createBatchResultAccumulator as Xt, buildTangleRouterSearchProfile as Y, BatchResultAccumulator as Yt, DEFAULT_SANDBOX_SIZE as Z, validateBatchRunRequest as Zt, AgentRunCancellationAcknowledgement$1 as _, BackendRegistryInteractionKind as _n, ImageBuildClient as _t, AgentProfileCapabilities$1 as a, ImageSpec as an, MANAGE_SANDBOXES_TOOL_NAME as at, Capability as b, backendRegistryEntrySchema as bn, ImageBuildOptions as bt, AgentProfileMcpServer as c, parseSSEStream as cn, ManageSandboxesToolOptions as ct, AgentProfilePrompt as d, Team as dn, applySandboxEventText as dt, TeeAttestationHeartbeat as en, SandboxSizePreset$1 as et, AgentProfileResourceRef as f, TeamInvitation as fn, collectAgentFinalMessageText as ft, AgentProfileValidationResult$1 as g, BackendRegistryEntry as gn, Image as gt, AgentProfileValidationIssue as h, BackendRegistryCapabilities as hn, isToolBearingEvent as ht, AgentProfile$1 as i, BuildProgressEvent as in, MANAGE_SANDBOXES_PARAMETERS as it, RouterEvalMatrixAgentProfile as j, SeatResolutionObservation as jt, RunsClient as k, SeatOwnerReply as kt, AgentProfileModelHints as l, CreateTeamOptions as ln, createManageSandboxesTool as lt, AgentProfileSecurityPolicy as m, IntelligenceClient as mn, getSandboxEventText as mt, SandboxFleetClient as n, TeeAttestationHeartbeatSample as nn, sandboxResourcesForSize as nt, AgentProfileConnection as o, ParseSSEStreamOptions as on, ManageSandboxesInput as ot, AgentProfileResources as p, TeamMember as pn, collectAgentResponseText as pt, buildTangleRouterResponsesWebSearchRequest as q, createConfidentialSandbox as qt, SandboxFleet as r, startTeeAttestationHeartbeat as rn, materializeProfileFileMounts as rt, AgentProfileFileMount$1 as s, ParsedSSEEvent as sn, ManageSandboxesTool as st, Sandbox as t, TeeAttestationHeartbeatOptions as tn, resolveSandboxResources as tt, AgentProfilePermissionValue as u, InviteTeamMemberOptions as un, manageSandboxesInputSchema as ut, AgentRunCancellationRequest$1 as v, BackendRegistryResponse as vn, ImageBuildClientConfig as vt, RunOptions as w, parseBackendRegistryResponse as wn, ISOLATED_CREATION_ATTESTATION_VERSION as wt, terminalUpgradeHeadersSupported as x, backendRegistryInteractionKindSchema as xn, ImageBuildResult as xt, AgentSubagentProfile as y, backendRegistryCapabilitiesSchema as yn, ImageBuildFetchClient as yt, RouterImportedRunResponse as z, InstanceProfile as zt };
|