@tangle-network/sandbox 0.60.14-develop.20261005045541.6859761 → 0.60.14-develop.20261005060345.ea3aa26

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.
@@ -1139,6 +1139,220 @@ interface BatchResult$1 {
1139
1139
  };
1140
1140
  }
1141
1141
  //#endregion
1142
+ //#region ../../../packages/runtime-contracts/dist/interaction-response.d.ts
1143
+ /** Canonical result returned after a response is recorded by Sidecar. */
1144
+ declare const interactionResolutionAcknowledgementSchema: z.ZodObject<{
1145
+ status: z.ZodEnum<{
1146
+ accepted: "accepted";
1147
+ already_resolved_same: "already_resolved_same";
1148
+ }>;
1149
+ operationId: z.ZodString;
1150
+ responseDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1151
+ interactionId: z.ZodString;
1152
+ sessionId: z.ZodString;
1153
+ outcome: z.ZodEnum<{
1154
+ accepted: "accepted";
1155
+ declined: "declined";
1156
+ cancelled: "cancelled";
1157
+ }>;
1158
+ deliveryState: z.ZodEnum<{
1159
+ pending: "pending";
1160
+ delivering: "delivering";
1161
+ delivered: "delivered";
1162
+ delivery_failed: "delivery_failed";
1163
+ backend_lost: "backend_lost";
1164
+ effect_unknown: "effect_unknown";
1165
+ }>;
1166
+ delivered: z.ZodBoolean;
1167
+ resolvedAt: z.ZodString;
1168
+ binding: z.ZodOptional<z.ZodObject<{
1169
+ runId: z.ZodString;
1170
+ provider: z.ZodString;
1171
+ environmentId: z.ZodString;
1172
+ sessionId: z.ZodString;
1173
+ executionId: z.ZodString;
1174
+ interactionId: z.ZodString;
1175
+ requestDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1176
+ }, z.core.$strict>>;
1177
+ }, z.core.$strict>;
1178
+ type InteractionResolutionAcknowledgement = z.infer<typeof interactionResolutionAcknowledgementSchema>;
1179
+ //#endregion
1180
+ //#region ../../../packages/runtime-contracts/dist/workspace-image-types.d.ts
1181
+ /** A port declared by the published OCI image. */
1182
+ interface WorkspaceImageExposedPort {
1183
+ port: number;
1184
+ protocol: "tcp" | "udp" | "sctp";
1185
+ }
1186
+ /** Successful workspace image publication returned by the Sandbox API. */
1187
+ interface WorkspaceImagePublishResult {
1188
+ /** Immutable registry reference. */
1189
+ image: string;
1190
+ /** Operation-stable tag used during publication. */
1191
+ taggedImage: string;
1192
+ digest: string;
1193
+ imageId: string;
1194
+ sizeBytes: number;
1195
+ contextBytes: number;
1196
+ contextEntries: number;
1197
+ buildDurationMs: number;
1198
+ pushDurationMs: number;
1199
+ /** Network ports from the final image configuration, not source inspection. */
1200
+ exposedPorts: WorkspaceImageExposedPort[];
1201
+ }
1202
+ //#endregion
1203
+ //#region ../../../packages/runtime-contracts/dist/raw-evidence-export.d.ts
1204
+ /** Wire contract for bounded, session-owned native evidence archives. */
1205
+ interface RawEvidencePayloadFile {
1206
+ /** Safe relative path below the exported directory; never an absolute native path. */
1207
+ path: string;
1208
+ sizeBytes: number;
1209
+ sha256: `sha256:${string}`;
1210
+ }
1211
+ interface RawEvidenceRecordsFile extends RawEvidencePayloadFile {
1212
+ format: "ndjson";
1213
+ /** Number of complete records, in original order. */
1214
+ records: number;
1215
+ }
1216
+ interface RawEvidenceNativeMetadata {
1217
+ sourceId?: string;
1218
+ rootScope: "session-home" | "workspace-session";
1219
+ path: string;
1220
+ kind: "file" | "directory" | "symlink";
1221
+ mode: number;
1222
+ uid: number;
1223
+ gid: number;
1224
+ mtimeMs: number;
1225
+ ctimeMs: number;
1226
+ sizeBytes: number;
1227
+ }
1228
+ type RawEvidenceNativeFile = RawEvidenceNativeMetadata & {
1229
+ sha256?: string;
1230
+ linkTarget?: string; /** Replaces contentBase64 for regular files. Symlinks remain metadata only. */
1231
+ content?: RawEvidencePayloadFile;
1232
+ };
1233
+ interface RawEvidenceArchiveAttempt {
1234
+ executionId: string;
1235
+ ordinal: number;
1236
+ providerSessionId: string;
1237
+ nativeSessionIds: string[];
1238
+ processIds: string[];
1239
+ outcome: "succeeded" | "failed" | "cancelled" | "unknown";
1240
+ missingReasons: string[];
1241
+ }
1242
+ interface RawEvidenceArchiveEventMetadata {
1243
+ executionId: string;
1244
+ sessionId: string;
1245
+ status: "active" | "completed" | "failed" | "cancelled";
1246
+ startedAt: number;
1247
+ completedAt?: number;
1248
+ eventCount: number;
1249
+ lastEventId: string;
1250
+ }
1251
+ /** Payload references replace only inline content and aggregate record arrays. */
1252
+ interface RawEvidenceArchiveManifest {
1253
+ schema: "tangle.raw-evidence-archive.v1";
1254
+ status: "captured" | "partial";
1255
+ sessionId: string;
1256
+ backendType: string;
1257
+ nativeSessionId: string | null;
1258
+ proofStatus: "verified" | "unverified";
1259
+ containerId?: string;
1260
+ sidecarImageDigest: string;
1261
+ sidecarBundleRevision: string;
1262
+ sidecarBundleChecksum?: string;
1263
+ nativeRoots: Array<{
1264
+ sourceId?: string;
1265
+ rootScope: "session-home" | "workspace-session";
1266
+ path: string;
1267
+ }>;
1268
+ files: RawEvidenceNativeFile[];
1269
+ excluded: Array<RawEvidenceNativeMetadata & {
1270
+ reason: "credential";
1271
+ }>;
1272
+ skipped: Array<{
1273
+ sourceId?: string;
1274
+ rootScope: "session-home" | "workspace-session";
1275
+ path: string;
1276
+ reason: string;
1277
+ }>;
1278
+ inventory: Record<string, number>;
1279
+ /** NDJSON rows preserve legacy processIo fields, replacing contentBase64 with content: RawEvidencePayloadFile. */
1280
+ processIo: RawEvidenceRecordsFile;
1281
+ /** NDJSON rows have exactly the fields of legacy processTerminals entries. */
1282
+ processTerminals: RawEvidenceRecordsFile;
1283
+ processSources: Array<{
1284
+ sourceId: string;
1285
+ sizeBytes: number;
1286
+ sha256: string; /** Exact source spool bytes; replaces contentBase64. */
1287
+ content: RawEvidencePayloadFile;
1288
+ }>;
1289
+ events: Array<{
1290
+ metadata: RawEvidenceArchiveEventMetadata; /** Canonical reconstructed BufferedEvent rows, in original event order. */
1291
+ frames: RawEvidenceRecordsFile;
1292
+ }>;
1293
+ attempts: RawEvidenceArchiveAttempt[];
1294
+ evidenceSources: Array<{
1295
+ executionId: string;
1296
+ sourceId: string;
1297
+ backendType: string;
1298
+ runtimeHome: string;
1299
+ credentialPaths: string[];
1300
+ }>;
1301
+ completeness: {
1302
+ nativeStore: boolean;
1303
+ processIo: boolean;
1304
+ events: boolean;
1305
+ };
1306
+ coverageComplete: boolean;
1307
+ missingReasons: string[];
1308
+ }
1309
+ interface RawEvidenceUnavailable {
1310
+ status: "unavailable";
1311
+ sessionId: string;
1312
+ backendType: string;
1313
+ reason: string;
1314
+ }
1315
+ interface RawEvidenceExportOptions {
1316
+ /** Bound all uncompressed archive member bytes, including metadata and records. */
1317
+ maxBytes: number;
1318
+ /** Bound all archive file entries, including empty files. */
1319
+ maxFiles: number;
1320
+ /** Compressed transport bound; defaults to maxBytes plus bounded tar overhead. */
1321
+ maxArchiveBytes?: number;
1322
+ signal?: AbortSignal;
1323
+ }
1324
+ type RawEvidenceDirectoryExport = RawEvidenceUnavailable | {
1325
+ status: "captured" | "partial";
1326
+ directory: string;
1327
+ manifestPath: string;
1328
+ manifestSha256: `sha256:${string}`;
1329
+ transfer: {
1330
+ sizeBytes: number;
1331
+ sha256: string;
1332
+ }; /** Bounded metadata only. No inline payload or aggregate frame contents. */
1333
+ manifest: RawEvidenceArchiveManifest;
1334
+ coverageComplete: boolean;
1335
+ missingReasons: string[];
1336
+ };
1337
+ //#endregion
1338
+ //#region ../../../packages/runtime-contracts/dist/index.d.ts
1339
+ /** Names only: the caller must keep a separate source and pass values to resume({ env }). */
1340
+ declare const sandboxEnvRecoverySchema: z.ZodObject<{
1341
+ callerResupplies: z.ZodArray<z.ZodString>;
1342
+ }, z.core.$strict>;
1343
+ type SandboxEnvRecovery = z.infer<typeof sandboxEnvRecoverySchema>;
1344
+ /** Policy inspection is metadata only; it does not establish snapshot or runtime health. */
1345
+ declare const sandboxEnvRecoveryViewSchema: z.ZodObject<{
1346
+ envRecovery: z.ZodObject<{
1347
+ callerResupplies: z.ZodArray<z.ZodString>;
1348
+ }, z.core.$strict>;
1349
+ eligibleCallerResupplyKeys: z.ZodArray<z.ZodString>;
1350
+ requiredOnColdResumeKeys: z.ZodArray<z.ZodString>;
1351
+ automaticCredentialRecovery: z.ZodLiteral<false>;
1352
+ dryRun: z.ZodBoolean;
1353
+ }, z.core.$strict>;
1354
+ type SandboxEnvRecoveryView = z.infer<typeof sandboxEnvRecoveryViewSchema>;
1355
+ //#endregion
1142
1356
  //#region src/managed-process.d.ts
1143
1357
  interface ManagedProcessSpec {
1144
1358
  id: string;
@@ -1631,6 +1845,14 @@ interface CreateSandboxOptions {
1631
1845
  gpuLease?: CreateGpuLeaseOptions;
1632
1846
  /** Environment variables injected into the sandbox */
1633
1847
  env?: Record<string, string>;
1848
+ /**
1849
+ * Opt named withheld public env keys into cold reclamation after the platform's
1850
+ * idle bound and uploaded snapshot. The caller must keep a separate source and
1851
+ * supply their values to resume({ env }); no automatic credential recovery is
1852
+ * promised. Omit to retain the existing conservative policy. Hub/model keys
1853
+ * retain their separate recovery rules.
1854
+ */
1855
+ envRecovery?: SandboxEnvRecovery;
1634
1856
  /**
1635
1857
  * Maximum continuous runtime in seconds for each create or resume interval.
1636
1858
  *
@@ -1666,6 +1888,18 @@ interface CreateSandboxOptions {
1666
1888
  * its own default of 900.
1667
1889
  */
1668
1890
  idleTimeoutSeconds?: number;
1891
+ /**
1892
+ * Stopped-container grace in seconds before durable cold reclamation.
1893
+ * Must be an integer from 1 through 9007199254740. Omit to use the
1894
+ * platform cold window (6 hours by default). The lifecycle sweep removes
1895
+ * compute only after the grace and a confirmed, uploaded workspace snapshot;
1896
+ * the sandbox record and snapshot remain available to resume().
1897
+ *
1898
+ * Withheld credentials still require a recovery source. Use envRecovery for
1899
+ * keys the caller can supply again on cold resume. This does not shorten
1900
+ * idle suspension or the separate deleteAfterStoppedSeconds retention.
1901
+ */
1902
+ coldTimeoutSeconds?: number;
1669
1903
  /**
1670
1904
  * Retention after stop, in seconds. After the sandbox has sat
1671
1905
  * stopped/suspended continuously for this long, the platform deletes it —
@@ -5151,6 +5385,44 @@ interface McpServerConfig {
5151
5385
  /** Headers for remote connections */
5152
5386
  headers?: Record<string, string>;
5153
5387
  }
5388
+ /**
5389
+ * Nested model routing and auth. The role-named fields on
5390
+ * {@link BackendConfig} (`modelId`, `provider`, `apiKey`, `baseUrl`, ...)
5391
+ * are the supported spelling; this shape is accepted for compatibility and
5392
+ * normalized into them.
5393
+ *
5394
+ * @deprecated set the fields directly on the backend config instead.
5395
+ */
5396
+ interface ModelRoutingConfig {
5397
+ /** Provider name (e.g., "anthropic", "openai", "google") */
5398
+ provider?: string;
5399
+ /** Model identifier (e.g., "claude-sonnet-4-20250514") */
5400
+ model?: string;
5401
+ /** BYOK (Bring Your Own Key) API key */
5402
+ apiKey?: string;
5403
+ /** Custom API base URL (for proxies or on-prem) */
5404
+ baseUrl?: string;
5405
+ /** Maximum thinking tokens for extended reasoning */
5406
+ maxThinkingTokens?: number;
5407
+ /** API mode: "api" for direct calls, "cli" for CLI wrapper */
5408
+ mode?: "api" | "cli";
5409
+ /**
5410
+ * Name of a box env var (a stored secret listed in `secrets`) holding this
5411
+ * provider's API key. Caller-owned auth by reference: no Router key is
5412
+ * minted and the named provider is kept.
5413
+ */
5414
+ apiKeyEnv?: string;
5415
+ /** Named stored-secret reference for native subscription authentication. */
5416
+ cliAuth?: CliAuthReference;
5417
+ /** Authentication mode for CLI-native backends */
5418
+ authMode?: "api-key" | "oauth";
5419
+ /** Auth files to write into the sandbox home directory before CLI startup */
5420
+ authFiles?: Array<{
5421
+ path: string;
5422
+ content: string;
5423
+ mode?: number;
5424
+ }>;
5425
+ }
5154
5426
  /**
5155
5427
  * AI coding agent backend configuration.
5156
5428
  *
@@ -5163,11 +5435,9 @@ interface McpServerConfig {
5163
5435
  * ```typescript
5164
5436
  * backend: {
5165
5437
  * type: "claude-code",
5166
- * model: {
5167
- * provider: "anthropic",
5168
- * model: "claude-sonnet-4-20250514",
5169
- * apiKey: process.env.ANTHROPIC_API_KEY,
5170
- * }
5438
+ * modelId: "claude-sonnet-4-20250514",
5439
+ * provider: "anthropic",
5440
+ * apiKey: process.env.ANTHROPIC_API_KEY,
5171
5441
  * }
5172
5442
  * ```
5173
5443
  */
@@ -5196,29 +5466,47 @@ interface BackendConfig {
5196
5466
  */
5197
5467
  profile?: AgentProfile;
5198
5468
  /**
5199
- * Model configuration override.
5469
+ * Which model this backend runs. The model id has exactly one home per
5470
+ * config: `modelId` here, or the `model` shorthand on per-turn options
5471
+ * (which folds into it). A disagreeing pair is a `ValidationError`, never
5472
+ * a silent preference.
5200
5473
  */
5201
- model?: {
5202
- /** Provider name (e.g., "anthropic", "openai", "google") */provider?: string; /** Model identifier (e.g., "claude-sonnet-4-20250514") */
5203
- model?: string; /** BYOK (Bring Your Own Key) API key */
5204
- apiKey?: string; /** Custom API base URL (for proxies or on-prem) */
5205
- baseUrl?: string; /** Maximum thinking tokens for extended reasoning */
5206
- maxThinkingTokens?: number; /** API mode: "api" for direct calls, "cli" for CLI wrapper */
5207
- mode?: "api" | "cli";
5208
- /**
5209
- * Name of a box env var (a stored secret listed in `secrets`) holding this
5210
- * provider's API key. Caller-owned auth by reference: no Router key is
5211
- * minted and the named provider is kept.
5212
- */
5213
- apiKeyEnv?: string; /** Named stored-secret reference for native subscription authentication. */
5214
- cliAuth?: CliAuthReference; /** Authentication mode for CLI-native backends */
5215
- authMode?: "api-key" | "oauth"; /** Auth files to write into the sandbox home directory before CLI startup */
5216
- authFiles?: Array<{
5217
- path: string;
5218
- content: string;
5219
- mode?: number;
5220
- }>;
5221
- };
5474
+ modelId?: string;
5475
+ /** Provider name (e.g., "anthropic", "openai", "openai-compat") */
5476
+ provider?: string;
5477
+ /** BYOK (Bring Your Own Key) API key */
5478
+ apiKey?: string;
5479
+ /** Custom API base URL (for proxies or on-prem) */
5480
+ baseUrl?: string;
5481
+ /** Maximum thinking tokens for extended reasoning */
5482
+ maxThinkingTokens?: number;
5483
+ /** API mode: "api" for direct calls, "cli" for CLI wrapper */
5484
+ mode?: "api" | "cli";
5485
+ /**
5486
+ * Name of a box env var (a stored secret listed in `secrets`) holding this
5487
+ * provider's API key. Caller-owned auth by reference: no Router key is
5488
+ * minted and the named provider is kept.
5489
+ */
5490
+ apiKeyEnv?: string;
5491
+ /** Named stored-secret reference for native subscription authentication. */
5492
+ cliAuth?: CliAuthReference;
5493
+ /** Authentication mode for CLI-native backends */
5494
+ authMode?: "api-key" | "oauth";
5495
+ /** Auth files to write into the sandbox home directory before CLI startup */
5496
+ authFiles?: Array<{
5497
+ path: string;
5498
+ content: string;
5499
+ mode?: number;
5500
+ }>;
5501
+ /**
5502
+ * Model routing and auth, nested. Deprecated: the same fields now sit
5503
+ * role-named directly on the backend (`modelId`, `provider`, `apiKey`,
5504
+ * `baseUrl`, ...), so a model id is never spelled `backend.model.model`.
5505
+ * Still accepted and normalized; a field set both ways must agree.
5506
+ *
5507
+ * @deprecated use `modelId` + `provider`/`apiKey`/`baseUrl`/...
5508
+ */
5509
+ model?: ModelRoutingConfig;
5222
5510
  /**
5223
5511
  * Backend server configuration.
5224
5512
  */
@@ -7006,4 +7294,4 @@ interface CodeExecutionOptions {
7006
7294
  idempotencyKey?: string;
7007
7295
  }
7008
7296
  //#endregion
7009
- export { DownloadOptions as $, SnapshotDeleteAcknowledgement as $i, PublicTemplateInfo as $n, SandboxFleetTraceEvent as $r, GPU_LEASE_PROVIDER_NAMES as $t, CommitTaskSessionOptions as A, WriteFileOptions as Aa, SandboxTraceOptions as Ai, NetworkConfig as An, SandboxFleetArtifact as Ar, FileUsageOptions as At, CreateSandboxOptions as B, PublicBatchRunRequest as Ba, SessionEventStreamOptions as Bi, ProcessListOptions as Bn, SandboxFleetMachineMeteredUsage as Br, FleetDispatchStreamOptions as Bt, BranchOptions as C, UpdateUserOptions as Ca, SandboxTerminalInfo as Ci, ListMessagesOptions as Cn, SandboxDeleteAcknowledgement as Cr, FileReadError as Ct, CodeExecutionResult as D, WaitForOptions as Da, SandboxTraceBundle as Di, MAX_EGRESS_DENIALS_LIMIT as Dn, SandboxEvent as Dr, FileTreeFile as Dt, CodeExecutionOptions as E, UsageInfo as Ea, SandboxTerminals as Ei, ListSandboxOptions as En, SandboxEnvironment as Er, FileSystem as Et, CreateIntelligenceReportOptions as F, ManagedProcessOptions as Fa, SecretsManager as Fi, PreviewLinkInfo as Fn, SandboxFleetDriverCapability as Fr, FleetAgentResult as Ft, DeleteMatchingSandboxesFilter as G, BatchTaskUsage as Ga, SessionInfo as Gi, ProcessStatus as Gn, SandboxFleetOperationsSummary as Gr, FleetMachineId as Gt, CreateTaskSessionOptions as H, BatchEvent as Ha, SessionExecutionStatus as Hi, ProcessManager as Hn, SandboxFleetMachineSpec as Hr, FleetDriveTurnRequest as Ht, CreateRequestOptions as I, ManagedProcessRecord as Ia, SendSessionMessageOptions as Ii, PreviewLinkManager as In, SandboxFleetDriverTimings as Ir, FleetAgentRunStatus as It, DeleteOptions as J, parseBackendType as Ja, SessionMessage as Ji, PromptResult as Jn, SandboxFleetPolicy as Jr, FleetRunEvent as Jt, DeleteMatchingSandboxesOptions as K, ALL_BACKEND_TYPES as Ka, SessionInterruptOptions as Ki, PromptInputPart as Kn, SandboxFleetParent as Kr, FleetPromptDispatchOptions as Kt, CreateSandboxFleetOptions as L, ManagedProcessResumeOptions as La, SendSessionMessageRequest as Li, PreviewLinkWaitOptions as Ln, SandboxFleetInfo as Lr, FleetDispatchCancelResult as Lt, ConversationTurnOptions as M, WriteManyOptions as Ma, SearchMatch as Mi, NonHostAgentDriverConfig as Mn, SandboxFleetCostEstimate as Mr, FileWriteResult as Mt, ConversationTurnResult as N, ManagedProcessClient as Na, SearchOptions as Ni, PermissionLevel as Nn, SandboxFleetDispatchFailureClass as Nr, FleetAgentId as Nt, CodeLanguage as O, WaitForRolloutOptions as Oa, SandboxTraceEvent as Oi, McpServerConfig as On, SandboxFleetAgent as Or, FileTreeOptions as Ot, CreateGpuLeaseOptions as P, ManagedProcessJobs as Pa, SecretInfo as Pi, PermissionsManager as Pn, SandboxFleetDispatchResponse as Pr, FleetAgentPlacement as Pt, DispatchedSession as Q, SessionStatus as Qi, ProvisionStep as Qn, SandboxFleetTraceBundle as Qr, ForkLookupOptions as Qt, CreateSandboxFleetTokenOptions as R, ManagedProcessSpec as Ra, SentSessionMessage as Ri, Process as Rn, SandboxFleetIntelligenceEnvelope as Rr, FleetDispatchResultBuffer as Rt, BatchTaskResult as S, TurnDriveResult as Sa, SandboxTerminalCreateOptions as Si, JsonValue as Sn, SandboxCreateReceipt as Sr, FileReadBatchResult as St, ChunkedUploadResult as T, UploadProgress as Ta, SandboxTerminalRequestOptions as Ti, ListSandboxFleetOptions as Tn, SandboxDeleteOutcome as Tr, FileRenameResult as Tt, DeleteMatchingSandboxOutcome as U, BatchEventDataMap as Ua, SessionFailureReason as Ui, ProcessSignal as Un, SandboxFleetManifest as Ur, FleetExecDispatchOptions as Ut, CreateSessionOptions as V, BatchBackendStats as Va, SessionExecutionInfo as Vi, ProcessLogEntry as Vn, SandboxFleetMachineRecord as Vr, FleetDriveTurnOutcome as Vt, DeleteMatchingSandboxResult as W, BatchSidecarGroup as Wa, SessionForkOptions as Wi, ProcessSpawnOptions as Wn, SandboxFleetManifestMachine as Wr, FleetExecDispatchResult as Wt, DirectoryPermission as X, SessionMessageInputPart as Xi, ProvisionResult as Xn, SandboxFleetSpend as Xr, ForkCounts as Xt, DevServerInfo as Y, SessionMessageAdmission as Yi, ProvisionEvent as Yn, SandboxFleetProfileRef as Yr, FleetRunOptions as Yt, DispatchPromptOptions as Z, SessionResultOptions as Zi, ProvisionStatus as Zn, SandboxFleetToken as Zr, ForkIdempotency as Zt, BatchBackend as _, TeeAttestationResponse as _a, SandboxShape as _i, IntelligenceReport as _n, SSHCommandDescriptor as _r, ExactProcessSpawnOptions as _t, AgentQuestionRequest as a, SshKeysManager as aa, SandboxFleetWorkspaceRestoreResult as ai, GitStatus as an, ReconcileSandboxFleetsOptions as ar, DriverType as at, BatchRunRequest as b, TokenRefreshHandler as ba, SandboxStatus as bi, IntelligenceReportSubjectType as bn, SandboxConnection as br, FileInfo as bt, AttachGpuLeaseOptions as c, StorageConfig as ca, SandboxInfo as ci, GpuLeaseCommandResult as cn, RestoreSnapshotOptions as cr, DurablePlanSnapshot as ct, BackendConfig as d, TaskSessionCommitResult as da, SandboxPortPreviewLink as di, GpuLeaseManager as dn, RolloutChildResult as dr, EffectiveBackendSource as dt, SnapshotDeleteOutcome as ea, SandboxFleetTraceExport as ei, GitAuth as en, PublicTemplateVersionInfo as er, DownloadProgress as et, BackendInfo as f, TaskSessionFileChange as fa, SandboxRemovalState as fi, GpuLeaseProviderName as fn, RolloutOptions as fr, EgressDenial as ft, BackendStatus as g, TeeAttestationReport as ga, SandboxRuntimeHealth as gi, InstalledTool as gn, RolloutTurnPart as gr, EventStreamOptions as gt, BackendRuntimeConfigUpdate as h, TeeAttestationOptions as ha, SandboxRuntimeCapabilities as hi, HostAgentRuntimeBackend as hn, RolloutStatus as hr, EnsureDevServerOptions as ht, AgentApprovalRequirement as i, SnapshotResult as ia, SandboxFleetWorkspaceReconcileResult as ii, GitDiff as in, ReapExpiredSandboxFleetsResult as ir, DriverInfo as it, CompletedTurnResult as j, WriteManyFile as ja, SandboxUser as ji, NetworkManager as jn, SandboxFleetArtifactSpec as jr, FileUsageResult as jt, CodeResultPart as k, WorkspaceOperationLookup as ka, SandboxTraceExport as ki, MkdirOptions as kn, SandboxFleetAgentSpec as kr, FileTreeResult as kt, AttachSandboxFleetMachineOptions as l, SubscriptionInfo as la, SandboxIntelligenceEnvelope as li, GpuLeaseExecOptions as ln, ResumeOptions as lr, EffectiveBackend as lt, BackendMcpServerStatus as m, TaskSessionProfile as ma, SandboxResources as mi, HostAgentDriverConfig as mn, RolloutStartResult as mr, EgressPolicy as mt, AccessPolicyRule as n, SnapshotInfo as na, SandboxFleetUsage as ni, GitCommit as nn, PublishPublicTemplateVersionOptions as nr, DriveTurnOptions as nt, AgentRunStatus as o, StartupDiagnostics as oa, SandboxFleetWorkspaceSnapshotResult as oi, GpuLease as on, ReconcileSandboxFleetsResult as or, DurablePlan as ot, BackendManager as p, TaskSessionInfo as pa, SandboxResourceUsage as pi, GpuLeaseStatus as pn, RolloutScorer as pr, EgressManager as pt, DeleteMatchingSandboxesResult as q, BackendType as qa, SessionListOptions as qi, PromptOptions as qn, SandboxFleetPlacement as qr, FleetPromptDispatchResult as qt, AddUserOptions as r, SnapshotOptions as ra, SandboxFleetWorkspace as ri, GitConfig as rn, ReapExpiredSandboxFleetsOptions as rr, DriverConfig as rt, AgentToolInvocation as s, StartupOperation as sa, SandboxIdentity as si, GpuLeaseBilling as sn, RenameOptions as sr, DurablePlanDecisionResult as st, AcceleratorKind as t, SnapshotIdempotency as ta, SandboxFleetTraceOptions as ti, GitBranch as tn, PublishPublicTemplateOptions as tr, DownloadResult as tt, BackendCapabilities as u, TaskSessionChanges as ua, SandboxPortBinding as ui, GpuLeaseExecResult as un, Rollout as ur, EffectiveBackendProfile as ut, BatchResult as v, TeePublicKey as va, SandboxShapePreset as vi, IntelligenceReportBudget as vn, SSHCredentials as vr, ExecOptions as vt, ChunkedUploadOptions as w, UploadOptions as wa, SandboxTerminalManager as wi, ListOptions as wn, SandboxDeleteOptions as wr, FileReadResult as wt, BatchTask as x, TokenUsage as xa, SandboxTerminalAttachOptions as xi, IntelligenceReportWindow as xn, SandboxCreateOutcome as xr, FileReadBatchOptions as xt, BatchRunOptions as y, TeePublicKeyResponse as ya, SandboxShapesInfo as yi, IntelligenceReportCompareTo as yn, SandboxConfig as yr, ExecResult as yt, CreateSandboxFleetWithCoordinatorOptions as z, ManagedProcessState as za, SessionBackendCredentials as zi, ProcessInfo as zn, SandboxFleetMachine as zr, FleetDispatchResultBufferOptions as zt };
7297
+ export { DownloadOptions as $, BatchEventDataMap as $a, SnapshotDeleteAcknowledgement as $i, PublicTemplateInfo as $n, SandboxFleetTraceEvent as $r, GPU_LEASE_PROVIDER_NAMES as $t, CommitTaskSessionOptions as A, WriteFileOptions as Aa, SandboxTraceOptions as Ai, NetworkConfig as An, SandboxFleetArtifact as Ar, FileUsageOptions as At, CreateSandboxOptions as B, SandboxEnvRecovery as Ba, SessionEventStreamOptions as Bi, ProcessListOptions as Bn, SandboxFleetMachineMeteredUsage as Br, FleetDispatchStreamOptions as Bt, BranchOptions as C, UpdateUserOptions as Ca, SandboxTerminalInfo as Ci, ListMessagesOptions as Cn, SandboxDeleteAcknowledgement as Cr, FileReadError as Ct, CodeExecutionResult as D, WaitForOptions as Da, SandboxTraceBundle as Di, MAX_EGRESS_DENIALS_LIMIT as Dn, SandboxEvent as Dr, FileTreeFile as Dt, CodeExecutionOptions as E, UsageInfo as Ea, SandboxTerminals as Ei, ListSandboxOptions as En, SandboxEnvironment as Er, FileSystem as Et, CreateIntelligenceReportOptions as F, ManagedProcessOptions as Fa, SecretsManager as Fi, PreviewLinkInfo as Fn, SandboxFleetDriverCapability as Fr, FleetAgentResult as Ft, DeleteMatchingSandboxesFilter as G, RawEvidenceNativeFile as Ga, SessionInfo as Gi, ProcessStatus as Gn, SandboxFleetOperationsSummary as Gr, FleetMachineId as Gt, CreateTaskSessionOptions as H, RawEvidenceArchiveManifest as Ha, SessionExecutionStatus as Hi, ProcessManager as Hn, SandboxFleetMachineSpec as Hr, FleetDriveTurnRequest as Ht, CreateRequestOptions as I, ManagedProcessRecord as Ia, SendSessionMessageOptions as Ii, PreviewLinkManager as In, SandboxFleetDriverTimings as Ir, FleetAgentRunStatus as It, DeleteOptions as J, WorkspaceImagePublishResult as Ja, SessionMessage as Ji, PromptResult as Jn, SandboxFleetPolicy as Jr, FleetRunEvent as Jt, DeleteMatchingSandboxesOptions as K, RawEvidencePayloadFile as Ka, SessionInterruptOptions as Ki, PromptInputPart as Kn, SandboxFleetParent as Kr, FleetPromptDispatchOptions as Kt, CreateSandboxFleetOptions as L, ManagedProcessResumeOptions as La, SendSessionMessageRequest as Li, PreviewLinkWaitOptions as Ln, SandboxFleetInfo as Lr, FleetDispatchCancelResult as Lt, ConversationTurnOptions as M, WriteManyOptions as Ma, SearchMatch as Mi, NonHostAgentDriverConfig as Mn, SandboxFleetCostEstimate as Mr, FileWriteResult as Mt, ConversationTurnResult as N, ManagedProcessClient as Na, SearchOptions as Ni, PermissionLevel as Nn, SandboxFleetDispatchFailureClass as Nr, FleetAgentId as Nt, CodeLanguage as O, WaitForRolloutOptions as Oa, SandboxTraceEvent as Oi, McpServerConfig as On, SandboxFleetAgent as Or, FileTreeOptions as Ot, CreateGpuLeaseOptions as P, ManagedProcessJobs as Pa, SecretInfo as Pi, PermissionsManager as Pn, SandboxFleetDispatchResponse as Pr, FleetAgentPlacement as Pt, DispatchedSession as Q, BatchEvent as Qa, SessionStatus as Qi, ProvisionStep as Qn, SandboxFleetTraceBundle as Qr, ForkLookupOptions as Qt, CreateSandboxFleetTokenOptions as R, ManagedProcessSpec as Ra, SentSessionMessage as Ri, Process as Rn, SandboxFleetIntelligenceEnvelope as Rr, FleetDispatchResultBuffer as Rt, BatchTaskResult as S, TurnDriveResult as Sa, SandboxTerminalCreateOptions as Si, JsonValue as Sn, SandboxCreateReceipt as Sr, FileReadBatchResult as St, ChunkedUploadResult as T, UploadProgress as Ta, SandboxTerminalRequestOptions as Ti, ListSandboxFleetOptions as Tn, SandboxDeleteOutcome as Tr, FileRenameResult as Tt, DeleteMatchingSandboxOutcome as U, RawEvidenceDirectoryExport as Ua, SessionFailureReason as Ui, ProcessSignal as Un, SandboxFleetManifest as Ur, FleetExecDispatchOptions as Ut, CreateSessionOptions as V, SandboxEnvRecoveryView as Va, SessionExecutionInfo as Vi, ProcessLogEntry as Vn, SandboxFleetMachineRecord as Vr, FleetDriveTurnOutcome as Vt, DeleteMatchingSandboxResult as W, RawEvidenceExportOptions as Wa, SessionForkOptions as Wi, ProcessSpawnOptions as Wn, SandboxFleetManifestMachine as Wr, FleetExecDispatchResult as Wt, DirectoryPermission as X, PublicBatchRunRequest as Xa, SessionMessageInputPart as Xi, ProvisionResult as Xn, SandboxFleetSpend as Xr, ForkCounts as Xt, DevServerInfo as Y, InteractionResolutionAcknowledgement as Ya, SessionMessageAdmission as Yi, ProvisionEvent as Yn, SandboxFleetProfileRef as Yr, FleetRunOptions as Yt, DispatchPromptOptions as Z, BatchBackendStats as Za, SessionResultOptions as Zi, ProvisionStatus as Zn, SandboxFleetToken as Zr, ForkIdempotency as Zt, BatchBackend as _, TeeAttestationResponse as _a, SandboxShape as _i, IntelligenceReport as _n, SSHCommandDescriptor as _r, ExactProcessSpawnOptions as _t, AgentQuestionRequest as a, SshKeysManager as aa, SandboxFleetWorkspaceRestoreResult as ai, GitStatus as an, ReconcileSandboxFleetsOptions as ar, DriverType as at, BatchRunRequest as b, TokenRefreshHandler as ba, SandboxStatus as bi, IntelligenceReportSubjectType as bn, SandboxConnection as br, FileInfo as bt, AttachGpuLeaseOptions as c, StorageConfig as ca, SandboxInfo as ci, GpuLeaseCommandResult as cn, RestoreSnapshotOptions as cr, DurablePlanSnapshot as ct, BackendConfig as d, TaskSessionCommitResult as da, SandboxPortPreviewLink as di, GpuLeaseManager as dn, RolloutChildResult as dr, EffectiveBackendSource as dt, SnapshotDeleteOutcome as ea, SandboxFleetTraceExport as ei, GitAuth as en, BatchSidecarGroup as eo, PublicTemplateVersionInfo as er, DownloadProgress as et, BackendInfo as f, TaskSessionFileChange as fa, SandboxRemovalState as fi, GpuLeaseProviderName as fn, RolloutOptions as fr, EgressDenial as ft, BackendStatus as g, TeeAttestationReport as ga, SandboxRuntimeHealth as gi, InstalledTool as gn, RolloutTurnPart as gr, EventStreamOptions as gt, BackendRuntimeConfigUpdate as h, TeeAttestationOptions as ha, SandboxRuntimeCapabilities as hi, HostAgentRuntimeBackend as hn, RolloutStatus as hr, EnsureDevServerOptions as ht, AgentApprovalRequirement as i, SnapshotResult as ia, SandboxFleetWorkspaceReconcileResult as ii, GitDiff as in, parseBackendType as io, ReapExpiredSandboxFleetsResult as ir, DriverInfo as it, CompletedTurnResult as j, WriteManyFile as ja, SandboxUser as ji, NetworkManager as jn, SandboxFleetArtifactSpec as jr, FileUsageResult as jt, CodeResultPart as k, WorkspaceOperationLookup as ka, SandboxTraceExport as ki, MkdirOptions as kn, SandboxFleetAgentSpec as kr, FileTreeResult as kt, AttachSandboxFleetMachineOptions as l, SubscriptionInfo as la, SandboxIntelligenceEnvelope as li, GpuLeaseExecOptions as ln, ResumeOptions as lr, EffectiveBackend as lt, BackendMcpServerStatus as m, TaskSessionProfile as ma, SandboxResources as mi, HostAgentDriverConfig as mn, RolloutStartResult as mr, EgressPolicy as mt, AccessPolicyRule as n, SnapshotInfo as na, SandboxFleetUsage as ni, GitCommit as nn, ALL_BACKEND_TYPES as no, PublishPublicTemplateVersionOptions as nr, DriveTurnOptions as nt, AgentRunStatus as o, StartupDiagnostics as oa, SandboxFleetWorkspaceSnapshotResult as oi, GpuLease as on, ReconcileSandboxFleetsResult as or, DurablePlan as ot, BackendManager as p, TaskSessionInfo as pa, SandboxResourceUsage as pi, GpuLeaseStatus as pn, RolloutScorer as pr, EgressManager as pt, DeleteMatchingSandboxesResult as q, RawEvidenceRecordsFile as qa, SessionListOptions as qi, PromptOptions as qn, SandboxFleetPlacement as qr, FleetPromptDispatchResult as qt, AddUserOptions as r, SnapshotOptions as ra, SandboxFleetWorkspace as ri, GitConfig as rn, BackendType as ro, ReapExpiredSandboxFleetsOptions as rr, DriverConfig as rt, AgentToolInvocation as s, StartupOperation as sa, SandboxIdentity as si, GpuLeaseBilling as sn, RenameOptions as sr, DurablePlanDecisionResult as st, AcceleratorKind as t, SnapshotIdempotency as ta, SandboxFleetTraceOptions as ti, GitBranch as tn, BatchTaskUsage as to, PublishPublicTemplateOptions as tr, DownloadResult as tt, BackendCapabilities as u, TaskSessionChanges as ua, SandboxPortBinding as ui, GpuLeaseExecResult as un, Rollout as ur, EffectiveBackendProfile as ut, BatchResult as v, TeePublicKey as va, SandboxShapePreset as vi, IntelligenceReportBudget as vn, SSHCredentials as vr, ExecOptions as vt, ChunkedUploadOptions as w, UploadOptions as wa, SandboxTerminalManager as wi, ListOptions as wn, SandboxDeleteOptions as wr, FileReadResult as wt, BatchTask as x, TokenUsage as xa, SandboxTerminalAttachOptions as xi, IntelligenceReportWindow as xn, SandboxCreateOutcome as xr, FileReadBatchOptions as xt, BatchRunOptions as y, TeePublicKeyResponse as ya, SandboxShapesInfo as yi, IntelligenceReportCompareTo as yn, SandboxConfig as yr, ExecResult as yt, CreateSandboxFleetWithCoordinatorOptions as z, ManagedProcessState as za, SessionBackendCredentials as zi, ProcessInfo as zn, SandboxFleetMachine as zr, FleetDispatchResultBufferOptions as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.60.14-develop.20261005045541.6859761",
3
+ "version": "0.60.14-develop.20261005060345.ea3aa26",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -150,11 +150,11 @@
150
150
  "vitest": "^4.1.11",
151
151
  "ws": "^8.20.0",
152
152
  "yjs": "13.6.30",
153
- "@repo/shared": "0.0.0",
154
153
  "@products/sandbox-test-utils": "0.0.0",
154
+ "@repo/shared": "0.0.0",
155
155
  "@tangle-network/agent-profile-materialize": "0.20.8",
156
- "@tangle-network/cli-agent-registry": "0.4.21",
157
156
  "@tangle-network/runtime-contracts": "0.12.0",
157
+ "@tangle-network/cli-agent-registry": "0.4.21",
158
158
  "@tangle-network/sdk": "3.3.39",
159
159
  "@tangle-network/sse-core": "0.0.0"
160
160
  },