@tangle-network/sandbox 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions, x as CodeExecutionResult } from "../types-Dpj6Unaq.js";
2
- import { n as SandboxInstance } from "../sandbox-S1ayJN7d.js";
3
- import { i as Sandbox } from "../client-QSo4goVc.js";
1
+ import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions, x as CodeExecutionResult } from "../types-DL7FzacJ.js";
2
+ import { r as SandboxInstance } from "../sandbox-BoBp6F83.js";
3
+ import { i as Sandbox } from "../client-DaOyHsvP.js";
4
4
  import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
5
5
 
6
6
  //#region src/agent/tools/_specs.d.ts
@@ -1,6 +1,6 @@
1
1
  import { c as combineAbortSignals, d as applyRequestedModel, f as assertCurrentBackendType, l as encodePromptForWire, m as backendTypeSchema, o as SANDBOX_PROXY_REQUEST_MAX_BYTES, p as normalizeRuntimeBackendConfig, u as encodeTextForWire } from "./runtime-api-CK-4S7oA.js";
2
2
  import { a as NetworkError, f as TimeoutError, l as SandboxError, m as parseErrorResponse, o as NotFoundError, p as ValidationError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
3
- import { S as parseSSEStream, _ as normalizeConnection, i as normalizeStartupDiagnostics, n as createSandboxInstanceFromResponse, r as normalizeSandboxCreateReceipt, y as exportTraceBundle } from "./sandbox-Dwy2Bunb.js";
3
+ import { S as parseSSEStream, _ as normalizeConnection, i as normalizeStartupDiagnostics, n as createSandboxInstanceFromResponse, r as normalizeSandboxCreateReceipt, y as exportTraceBundle } from "./sandbox-NvbxFwTv.js";
4
4
  import { agentProfileSchema } from "@tangle-network/agent-interface";
5
5
  import { z } from "zod";
6
6
  //#region ../../../packages/runtime-contracts/dist/git-policy.js
@@ -1,5 +1,5 @@
1
- import { $r as SecretsManager, A as CreateSandboxFleetTokenOptions, An as PublishPublicTemplateOptions, Cn as PromptResult, Ct as FleetExecDispatchOptions, D as CreateIntelligenceReportOptions, Dr as SandboxIdentity, Dt as FleetPromptDispatchResult, Er as SandboxFleetWorkspaceSnapshotResult, Et as FleetPromptDispatchOptions, Fn as ReconcileSandboxFleetsResult, Jn as SandboxConfig, Jt as IntelligenceReportCompareTo, Kt as IntelligenceReport, M as CreateSandboxOptions, Mi as TokenRefreshHandler, Mn as ReapExpiredSandboxFleetsOptions, Nn as ReapExpiredSandboxFleetsResult, O as CreateRequestOptions, On as PublicTemplateInfo, Or as SandboxInfo, Pn as ReconcileSandboxFleetsOptions, Qn as SandboxEnvironment, Ri as UsageInfo, Sn as PromptOptions, Sr as SandboxFleetUsage, St as FleetDriveTurnRequest, Tr as SandboxFleetWorkspaceRestoreResult, Tt as FleetMachineId, Xt as IntelligenceReportWindow, _i as SshKeysManager, _r as SandboxFleetToken, _t as FleetDispatchCancelResult, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetDriverCapability, bt as FleetDispatchStreamOptions, dr as SandboxFleetMachineRecord, ea as BatchEvent, en as ListSandboxFleetOptions, er as SandboxFleetArtifact, f as BatchResult, hr as SandboxFleetOperationsSummary, ir as SandboxFleetDispatchResponse, j as CreateSandboxFleetWithCoordinatorOptions, jn as PublishPublicTemplateVersionOptions, k as CreateSandboxFleetOptions, kn as PublicTemplateVersionInfo, m as BatchRunRequest, nr as SandboxFleetCostEstimate, nt as ExecOptions, p as BatchRunOptions, pr as SandboxFleetManifest, qt as IntelligenceReportBudget, rt as ExecResult, sr as SandboxFleetInfo, tn as ListSandboxOptions, tr as SandboxFleetArtifactSpec, vr as SandboxFleetTraceBundle, vt as FleetDispatchResultBuffer, wr as SandboxFleetWorkspaceReconcileResult, wt as FleetExecDispatchResult, xi as SubscriptionInfo, xn as PromptInputPart, xr as SandboxFleetTraceOptions, xt as FleetDriveTurnOutcome, yt as FleetDispatchResultBufferOptions } from "./types-Dpj6Unaq.js";
2
- import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance, t as HttpClient } from "./sandbox-S1ayJN7d.js";
1
+ import { $t as IntelligenceReportWindow, A as CreateSandboxFleetTokenOptions, Ar as SandboxFleetWorkspaceRestoreResult, Bi as TokenRefreshHandler, Cr as SandboxFleetTraceBundle, Ct as FleetExecDispatchOptions, D as CreateIntelligenceReportOptions, Dr as SandboxFleetUsage, Dt as FleetPromptDispatchResult, En as PromptResult, Er as SandboxFleetTraceOptions, Et as FleetPromptDispatchOptions, Fn as ReapExpiredSandboxFleetsOptions, In as ReapExpiredSandboxFleetsResult, Ki as UsageInfo, Ln as ReconcileSandboxFleetsOptions, M as CreateSandboxOptions, Mn as PublicTemplateVersionInfo, Mr as SandboxIdentity, Nn as PublishPublicTemplateOptions, Nr as SandboxInfo, O as CreateRequestOptions, Pn as PublishPublicTemplateVersionOptions, Rn as ReconcileSandboxFleetsResult, Sr as SandboxFleetToken, St as FleetDriveTurnRequest, Ti as SshKeysManager, Tn as PromptOptions, Tt as FleetMachineId, Xt as IntelligenceReportBudget, Yt as IntelligenceReport, Zn as SandboxConfig, Zt as IntelligenceReportCompareTo, _t as FleetDispatchCancelResult, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetArtifact, br as SandboxFleetOperationsSummary, bt as FleetDispatchStreamOptions, f as BatchResult, fr as SandboxFleetInfo, gr as SandboxFleetMachineRecord, ii as SecretsManager, in as ListSandboxOptions, j as CreateSandboxFleetWithCoordinatorOptions, jn as PublicTemplateInfo, jr as SandboxFleetWorkspaceSnapshotResult, k as CreateSandboxFleetOptions, ki as SubscriptionInfo, kr as SandboxFleetWorkspaceReconcileResult, la as BatchEvent, lr as SandboxFleetDispatchResponse, m as BatchRunRequest, nt as ExecOptions, or as SandboxFleetArtifactSpec, p as BatchRunOptions, rn as ListSandboxFleetOptions, rr as SandboxEnvironment, rt as ExecResult, sr as SandboxFleetCostEstimate, ur as SandboxFleetDriverCapability, vr as SandboxFleetManifest, vt as FleetDispatchResultBuffer, wn as PromptInputPart, wt as FleetExecDispatchResult, xt as FleetDriveTurnOutcome, yt as FleetDispatchResultBufferOptions } from "./types-DL7FzacJ.js";
2
+ import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-BoBp6F83.js";
3
3
 
4
4
  //#region src/lib/sse-parser.d.ts
5
5
  /**
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Ir as SandboxStatus, Jn as SandboxConfig, M as CreateSandboxOptions, Or as SandboxInfo, an as NetworkConfig, dn as PreviewLinkManager, fn as PreviewLinkWaitOptions, nt as ExecOptions, rt as ExecResult, un as PreviewLinkInfo, xn as PromptInputPart } from "./types-Dpj6Unaq.js";
2
- import { a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-S1ayJN7d.js";
3
- import { i as Sandbox } from "./client-QSo4goVc.js";
1
+ import { M as CreateSandboxOptions, Nr as SandboxInfo, Vr as SandboxStatus, Zn as SandboxConfig, cn as NetworkConfig, hn as PreviewLinkWaitOptions, mn as PreviewLinkManager, nt as ExecOptions, pn as PreviewLinkInfo, rt as ExecResult, wn as PromptInputPart } from "./types-DL7FzacJ.js";
2
+ import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-BoBp6F83.js";
3
+ import { i as Sandbox } from "./client-DaOyHsvP.js";
4
4
  import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
5
5
  export { AuthError, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, FileWriteConflictError, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type PromptInputPart, QuotaError, Sandbox, type SandboxConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages };
package/dist/core.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as NetworkError, c as QuotaError, d as StateError, f as TimeoutError, i as FileWriteConflictError, l as SandboxError, n as CapabilityError, o as NotFoundError, p as ValidationError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
2
- import { n as Sandbox } from "./client-DNb9cgwE.js";
3
- import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-Dwy2Bunb.js";
2
+ import { n as Sandbox } from "./client-CMjk9V9B.js";
3
+ import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-NvbxFwTv.js";
4
4
  export { AuthError, CapabilityError, FileWriteConflictError, NetworkError, NotFoundError, PartialFailureError, QuotaError, Sandbox, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages };
@@ -1,5 +1,5 @@
1
- import { M as CreateSandboxOptions } from "./types-Dpj6Unaq.js";
2
- import { n as SandboxInstance, t as HttpClient } from "./sandbox-S1ayJN7d.js";
1
+ import { M as CreateSandboxOptions } from "./types-DL7FzacJ.js";
2
+ import { n as HttpClient, r as SandboxInstance } from "./sandbox-BoBp6F83.js";
3
3
 
4
4
  //#region src/tangle/abi.d.ts
5
5
  /**
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { $ as EnsureDevServerOptions, $i as BatchBackendStats, $n as SandboxEvent, $r as SecretsManager, $t as ListOptions, Ai as TeePublicKey, An as PublishPublicTemplateOptions, Ar as SandboxPortBinding, At as GitBranch, B as DownloadOptions, Bi as WaitForRolloutOptions, Bn as RolloutChildResult, Br as SandboxTerminalManager, Bt as GpuLeaseManager, Ci as TaskSessionCommitResult, Cn as PromptResult, Cr as SandboxFleetWorkspace, Ct as FleetExecDispatchOptions, D as CreateIntelligenceReportOptions, Di as TeeAttestationOptions, Dn as ProvisionStep, Dr as SandboxIdentity, E as CreateGpuLeaseOptions, Ei as TaskSessionProfile, En as ProvisionStatus, Er as SandboxFleetWorkspaceSnapshotResult, Et as FleetPromptDispatchOptions, F as DeleteOptions, Fi as UpdateUserOptions, Fn as ReconcileSandboxFleetsResult, Fr as SandboxRuntimeHealth, Ft as GpuLease, G as DriverType, Gi as TerminalExitInfo, Gn as RolloutTurnPart, Gr as SandboxTraceExport, Gt as InstalledTool, H as DriveTurnOptions, Hi as WriteManyFile, Hn as RolloutScorer, Hr as SandboxTerminals, Ht as GpuLeaseStatus, I as DevServerInfo, Ii as UploadOptions, In as RenameOptions, Ir as SandboxStatus, It as GpuLeaseBilling, J as EffectiveBackend, Ji as TerminalStreamAuthFormat, Jn as SandboxConfig, Jr as ScopedToken, Jt as IntelligenceReportCompareTo, K as DurablePlan, Ki as TerminalReadyInfo, Kn as SSHCommandDescriptor, Kr as SandboxTraceOptions, Kt as IntelligenceReport, L as DirectoryPermission, Li as UploadProgress, Lr as SandboxTerminalAttachOptions, Lt as GpuLeaseCommandResult, M as CreateSandboxOptions, Mi as TokenRefreshHandler, Mn as ReapExpiredSandboxFleetsOptions, Mr as SandboxResourceUsage, Mt as GitConfig, N as CreateSessionOptions, Ni as TokenUsage, Nn as ReapExpiredSandboxFleetsResult, Nr as SandboxResources, Nt as GitDiff, O as CreateRequestOptions, Oi as TeeAttestationReport, On as PublicTemplateInfo, Or as SandboxInfo, Ot as GPU_LEASE_PROVIDER_NAMES, P as CreateTaskSessionOptions, Pi as TurnDriveResult, Pn as ReconcileSandboxFleetsOptions, Pr as SandboxRuntimeCapabilities, Pt as GitStatus, Q as EgressPolicy, Qi as TerminalStreamToken, Qn as SandboxEnvironment, Qr as SecretInfo, Qt as ListMessagesOptions, R as DispatchPromptOptions, Ri as UsageInfo, Rr as SandboxTerminalCreateOptions, Rt as GpuLeaseExecOptions, Si as TaskSessionChanges, Sn as PromptOptions, Sr as SandboxFleetUsage, St as FleetDriveTurnRequest, T as CompletedTurnResult, Ti as TaskSessionInfo, Tn as ProvisionResult, Tr as SandboxFleetWorkspaceRestoreResult, Tt as FleetMachineId, U as DriverConfig, Ui as WriteManyOptions, Un as RolloutStartResult, Ur as SandboxTraceBundle, Ut as HostAgentDriverConfig, V as DownloadProgress, Vi as WriteFileOptions, Vn as RolloutOptions, Vr as SandboxTerminalRequestOptions, Vt as GpuLeaseProviderName, W as DriverInfo, Wi as TERMINAL_WS_ECHO_SUBPROTOCOL, Wn as RolloutStatus, Wr as SandboxTraceEvent, Wt as HostAgentRuntimeBackend, X as EffectiveBackendSource, Xi as TerminalStreamHandlers, Xn as SandboxCreateOutcome, Xr as SearchMatch, Xt as IntelligenceReportWindow, Y as EffectiveBackendProfile, Yi as TerminalStreamError, Yn as SandboxConnection, Yr as ScopedTokenScope, Yt as IntelligenceReportSubjectType, Z as EgressManager, Zi as TerminalStreamOptions, Zn as SandboxCreateReceipt, Zr as SearchOptions, _ as BranchOptions, _n as ProcessManager, _r as SandboxFleetToken, _t as FleetDispatchCancelResult, a as AttachSandboxFleetMachineOptions, aa as BackendType, ai as SessionFailureReason, an as NetworkConfig, ar as SandboxFleetDriverCapability, at as FileReadBatchOptions, bi as StorageConfig, bn as ProcessStatus, br as SandboxFleetTraceExport, bt as FleetDispatchStreamOptions, c as BackendInfo, ci as SessionInterruptOptions, cn as PermissionLevel, cr as SandboxFleetIntelligenceEnvelope, ct as FileReadResult, d as BatchBackend, di as SessionMessageInputPart, dn as PreviewLinkManager, dr as SandboxFleetMachineRecord, dt as FileTreeFile, ea as BatchEvent, ei as SendSessionMessageOptions, en as ListSandboxFleetOptions, er as SandboxFleetArtifact, et as EventStreamOptions, f as BatchResult, fi as SessionResultOptions, fn as PreviewLinkWaitOptions, fr as SandboxFleetMachineSpec, ft as FileTreeOptions, g as BatchTaskResult, gi as SnapshotResult, gn as ProcessLogEntry, gr as SandboxFleetPolicy, gt as FileWriteResult, h as BatchTask, hi as SnapshotOptions, hn as ProcessListOptions, hr as SandboxFleetOperationsSummary, ht as FileUsageResult, i as AttachGpuLeaseOptions, ia as PublicBatchRunRequest, ii as SessionEventStreamOptions, in as MkdirOptions, ir as SandboxFleetDispatchResponse, it as FileInfo, j as CreateSandboxFleetWithCoordinatorOptions, ji as TeePublicKeyResponse, jn as PublishPublicTemplateVersionOptions, jr as SandboxPortPreviewLink, jt as GitCommit, k as CreateSandboxFleetOptions, ki as TeeAttestationResponse, kn as PublicTemplateVersionInfo, kr as SandboxIntelligenceEnvelope, kt as GitAuth, l as BackendManager, li as SessionListOptions, ln as PermissionsManager, lr as SandboxFleetMachine, lt as FileRenameResult, m as BatchRunRequest, mi as SnapshotInfo, mn as ProcessInfo, mr as SandboxFleetManifestMachine, mt as FileUsageOptions, n as AccessPolicyRule, na as BatchSidecarGroup, ni as SentSessionMessage, nn as McpServerConfig, nr as SandboxFleetCostEstimate, nt as ExecOptions, o as BackendCapabilities, oa as parseBackendType, oi as SessionForkOptions, on as NetworkManager, or as SandboxFleetDriverTimings, ot as FileReadBatchResult, p as BatchRunOptions, pi as SessionStatus, pn as Process, pr as SandboxFleetManifest, pt as FileTreeResult, q as DurablePlanDecisionResult, qi as TerminalStream, qn as SSHCredentials, qr as SandboxUser, qt as IntelligenceReportBudget, r as AddUserOptions, ra as BatchTaskUsage, ri as SessionBackendCredentials, rn as MintScopedTokenOptions, rr as SandboxFleetDispatchFailureClass, rt as ExecResult, s as BackendConfig, si as SessionInfo, sn as NonHostAgentDriverConfig, sr as SandboxFleetInfo, st as FileReadError, t as AcceleratorKind, ta as BatchEventDataMap, ti as SendSessionMessageRequest, tn as ListSandboxOptions, tr as SandboxFleetArtifactSpec, tt as ExactProcessSpawnOptions, u as BackendStatus, ui as SessionMessage, un as PreviewLinkInfo, ur as SandboxFleetMachineMeteredUsage, ut as FileSystem, v as ChunkedUploadOptions, vi as StartupDiagnostics, vn as ProcessSignal, vr as SandboxFleetTraceBundle, vt as FleetDispatchResultBuffer, w as CommitTaskSessionOptions, wi as TaskSessionFileChange, wn as ProvisionEvent, wr as SandboxFleetWorkspaceReconcileResult, xi as SubscriptionInfo, xn as PromptInputPart, xr as SandboxFleetTraceOptions, xt as FleetDriveTurnOutcome, y as ChunkedUploadResult, yi as StartupOperation, yn as ProcessSpawnOptions, yr as SandboxFleetTraceEvent, yt as FleetDispatchResultBufferOptions, z as DispatchedSession, zi as WaitForOptions, zn as Rollout, zr as SandboxTerminalInfo, zt as GpuLeaseExecResult } from "./types-Dpj6Unaq.js";
2
- import { A as BuildSandboxMcpConfigOptions, C as RespondToPermissionOptions, D as SandboxInteractionResolution, E as SandboxInteractionConflict, F as SandboxMcpServerEntry, I as buildControlPlaneMcpConfig, L as buildSandboxMcpConfig, M as SANDBOX_MCP_SERVER_NAME, N as SandboxMcpConfig, O as SandboxInteractionResult, P as SandboxMcpEndpoint, S as InterruptResult, T as SandboxInteractionCommandResult, _ as InteractiveAuthFile, a as WorkspaceImagePublishResult, b as InteractiveSessionInfo, c as TraceExportResult, d as exportTraceBundle, f as otelTraceIdForTangleTrace, g as InteractiveAttachOptions, h as SandboxSession, i as WorkspaceImagePublishRequestOptions, j as CONTROL_PLANE_MCP_SERVER_NAME, k as BuildControlPlaneMcpConfigOptions, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, o as WorkspaceImages, p as toOtelJson, r as WorkspaceImagePublishInput, s as TraceExportFormat, u as buildTraceExportPayload, v as InteractiveSessionHandle, w as StartInteractiveOptions, x as InteractiveSessionStatus, y as InteractiveSessionHost } from "./sandbox-S1ayJN7d.js";
3
- import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, i as Sandbox, l as SessionBroadcastResult, m as parseSSEStream, n as IntelligenceClient, o as TeamInvitation, p as ParsedSSEEvent, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as SandboxFleet } from "./client-QSo4goVc.js";
1
+ import { $ as EnsureDevServerOptions, $i as TERMINAL_WS_ECHO_SUBPROTOCOL, $n as SandboxCreateOutcome, $r as ScopedToken, $t as IntelligenceReportWindow, Ai as TaskSessionChanges, An as ProvisionStep, Ar as SandboxFleetWorkspaceRestoreResult, At as ForkLookupOptions, B as DownloadOptions, Bi as TokenRefreshHandler, Br as SandboxRuntimeHealth, Bt as GpuLeaseCommandResult, Ci as SnapshotOptions, Cn as ProcessStatus, Cr as SandboxFleetTraceBundle, Ct as FleetExecDispatchOptions, D as CreateIntelligenceReportOptions, Di as StartupOperation, Dn as ProvisionEvent, Dr as SandboxFleetUsage, E as CreateGpuLeaseOptions, Ei as StartupDiagnostics, En as PromptResult, Er as SandboxFleetTraceOptions, Et as FleetPromptDispatchOptions, F as DeleteOptions, Fi as TeeAttestationOptions, Fn as ReapExpiredSandboxFleetsOptions, Fr as SandboxPortBinding, Ft as GitConfig, G as DriverType, Gi as UploadProgress, Gn as RolloutScorer, Gr as SandboxTerminalManager, Gt as GpuLeaseStatus, H as DriveTurnOptions, Hi as TurnDriveResult, Hn as Rollout, Hr as SandboxTerminalAttachOptions, Ht as GpuLeaseExecResult, I as DevServerInfo, Ii as TeeAttestationReport, In as ReapExpiredSandboxFleetsResult, Ir as SandboxPortPreviewLink, It as GitDiff, J as EffectiveBackend, Ji as WaitForRolloutOptions, Jn as RolloutTurnPart, Jr as SandboxTraceBundle, Jt as InstalledTool, K as DurablePlan, Ki as UsageInfo, Kn as RolloutStartResult, Kr as SandboxTerminalRequestOptions, Kt as HostAgentDriverConfig, L as DirectoryPermission, Li as TeeAttestationResponse, Ln as ReconcileSandboxFleetsOptions, Lr as SandboxResourceUsage, Lt as GitStatus, M as CreateSandboxOptions, Mi as TaskSessionFileChange, Mn as PublicTemplateVersionInfo, Mr as SandboxIdentity, Mt as GitAuth, N as CreateSessionOptions, Ni as TaskSessionInfo, Nn as PublishPublicTemplateOptions, Nr as SandboxInfo, Nt as GitBranch, O as CreateRequestOptions, Oi as StorageConfig, On as ProvisionResult, Or as SandboxFleetWorkspace, Ot as ForkCounts, P as CreateTaskSessionOptions, Pi as TaskSessionProfile, Pn as PublishPublicTemplateVersionOptions, Pr as SandboxIntelligenceEnvelope, Pt as GitCommit, Q as EgressPolicy, Qi as WriteManyOptions, Qn as SandboxConnection, Qr as SandboxUser, Qt as IntelligenceReportSubjectType, R as DispatchPromptOptions, Ri as TeePublicKey, Rn as ReconcileSandboxFleetsResult, Rr as SandboxResources, Rt as GpuLease, Si as SnapshotInfo, Sn as ProcessSpawnOptions, Sr as SandboxFleetToken, St as FleetDriveTurnRequest, T as CompletedTurnResult, Tn as PromptOptions, Tr as SandboxFleetTraceExport, Tt as FleetMachineId, U as DriverConfig, Ui as UpdateUserOptions, Un as RolloutChildResult, Ur as SandboxTerminalCreateOptions, Ut as GpuLeaseManager, V as DownloadProgress, Vi as TokenUsage, Vr as SandboxStatus, Vt as GpuLeaseExecOptions, W as DriverInfo, Wi as UploadOptions, Wn as RolloutOptions, Wr as SandboxTerminalInfo, Wt as GpuLeaseProviderName, X as EffectiveBackendSource, Xi as WriteFileOptions, Xn as SSHCredentials, Xr as SandboxTraceExport, Xt as IntelligenceReportBudget, Y as EffectiveBackendProfile, Yi as WorkspaceOperationLookup, Yn as SSHCommandDescriptor, Yr as SandboxTraceEvent, Yt as IntelligenceReport, Z as EgressManager, Zi as WriteManyFile, Zn as SandboxConfig, Zr as SandboxTraceOptions, Zt as IntelligenceReportCompareTo, _ as BranchOptions, _i as SessionResultOptions, _n as ProcessInfo, _r as SandboxFleetMachineSpec, _t as FleetDispatchCancelResult, a as AttachSandboxFleetMachineOptions, aa as TerminalStreamHandlers, ai as SendSessionMessageOptions, an as McpServerConfig, ar as SandboxFleetArtifact, at as FileReadBatchOptions, bi as SnapshotDeleteOutcome, bn as ProcessManager, br as SandboxFleetOperationsSummary, bt as FleetDispatchStreamOptions, c as BackendInfo, ca as BatchBackendStats, ci as SessionBackendCredentials, cn as NetworkConfig, cr as SandboxFleetDispatchFailureClass, ct as FileReadResult, d as BatchBackend, da as BatchSidecarGroup, di as SessionForkOptions, dn as PermissionLevel, dr as SandboxFleetDriverTimings, dt as FileTreeFile, ea as TerminalExitInfo, ei as ScopedTokenScope, er as SandboxCreateReceipt, et as EventStreamOptions, f as BatchResult, fa as BatchTaskUsage, fi as SessionInfo, fn as PermissionsManager, fr as SandboxFleetInfo, ft as FileTreeOptions, g as BatchTaskResult, gi as SessionMessageInputPart, gn as Process, gr as SandboxFleetMachineRecord, gt as FileWriteResult, h as BatchTask, ha as parseBackendType, hi as SessionMessage, hn as PreviewLinkWaitOptions, hr as SandboxFleetMachineMeteredUsage, ht as FileUsageResult, i as AttachGpuLeaseOptions, ia as TerminalStreamError, ii as SecretsManager, in as ListSandboxOptions, ir as SandboxEvent, it as FileInfo, j as CreateSandboxFleetWithCoordinatorOptions, ji as TaskSessionCommitResult, jn as PublicTemplateInfo, jr as SandboxFleetWorkspaceSnapshotResult, jt as GPU_LEASE_PROVIDER_NAMES, k as CreateSandboxFleetOptions, ki as SubscriptionInfo, kn as ProvisionStatus, kr as SandboxFleetWorkspaceReconcileResult, kt as ForkIdempotency, l as BackendManager, la as BatchEvent, li as SessionEventStreamOptions, ln as NetworkManager, lr as SandboxFleetDispatchResponse, lt as FileRenameResult, m as BatchRunRequest, ma as BackendType, mi as SessionListOptions, mn as PreviewLinkManager, mr as SandboxFleetMachine, mt as FileUsageOptions, n as AccessPolicyRule, na as TerminalStream, ni as SearchOptions, nn as ListOptions, nr as SandboxDeleteOutcome, nt as ExecOptions, o as BackendCapabilities, oa as TerminalStreamOptions, oi as SendSessionMessageRequest, on as MintScopedTokenOptions, or as SandboxFleetArtifactSpec, ot as FileReadBatchResult, p as BatchRunOptions, pa as PublicBatchRunRequest, pi as SessionInterruptOptions, pn as PreviewLinkInfo, pr as SandboxFleetIntelligenceEnvelope, pt as FileTreeResult, q as DurablePlanDecisionResult, qi as WaitForOptions, qn as RolloutStatus, qr as SandboxTerminals, qt as HostAgentRuntimeBackend, r as AddUserOptions, ra as TerminalStreamAuthFormat, ri as SecretInfo, rn as ListSandboxFleetOptions, rr as SandboxEnvironment, rt as ExecResult, s as BackendConfig, sa as TerminalStreamToken, si as SentSessionMessage, sn as MkdirOptions, sr as SandboxFleetCostEstimate, st as FileReadError, t as AcceleratorKind, ta as TerminalReadyInfo, ti as SearchMatch, tn as ListMessagesOptions, tr as SandboxDeleteAcknowledgement, tt as ExactProcessSpawnOptions, u as BackendStatus, ua as BatchEventDataMap, ui as SessionFailureReason, un as NonHostAgentDriverConfig, ur as SandboxFleetDriverCapability, ut as FileSystem, v as ChunkedUploadOptions, vi as SessionStatus, vn as ProcessListOptions, vr as SandboxFleetManifest, vt as FleetDispatchResultBuffer, w as CommitTaskSessionOptions, wi as SnapshotResult, wn as PromptInputPart, wr as SandboxFleetTraceEvent, xi as SnapshotIdempotency, xn as ProcessSignal, xr as SandboxFleetPolicy, xt as FleetDriveTurnOutcome, y as ChunkedUploadResult, yi as SnapshotDeleteAcknowledgement, yn as ProcessLogEntry, yr as SandboxFleetManifestMachine, yt as FleetDispatchResultBufferOptions, z as DispatchedSession, zi as TeePublicKeyResponse, zn as RenameOptions, zr as SandboxRuntimeCapabilities, zt as GpuLeaseBilling } from "./types-DL7FzacJ.js";
2
+ import { A as BuildControlPlaneMcpConfigOptions, C as InterruptResult, D as SandboxInteractionConflict, E as SandboxInteractionCommandResult, F as SandboxMcpEndpoint, I as SandboxMcpServerEntry, L as buildControlPlaneMcpConfig, M as CONTROL_PLANE_MCP_SERVER_NAME, N as SANDBOX_MCP_SERVER_NAME, O as SandboxInteractionResolution, P as SandboxMcpConfig, R as buildSandboxMcpConfig, S as InteractiveSessionStatus, T as StartInteractiveOptions, _ as InteractiveAttachOptions, a as WorkspaceImagePublishRequestOptions, b as InteractiveSessionHost, c as TraceExportFormat, d as buildTraceExportPayload, f as exportTraceBundle, g as SandboxSession, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as BuildSandboxMcpConfigOptions, k as SandboxInteractionResult, l as TraceExportResult, m as toOtelJson, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, r as SandboxInstance, s as WorkspaceImages, t as ForkAcknowledgement, u as TraceExportSink, v as InteractiveAuthFile, w as RespondToPermissionOptions, x as InteractiveSessionInfo, y as InteractiveSessionHandle } from "./sandbox-BoBp6F83.js";
3
+ import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, i as Sandbox, l as SessionBroadcastResult, m as parseSSEStream, n as IntelligenceClient, o as TeamInvitation, p as ParsedSSEEvent, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as SandboxFleet } from "./client-DaOyHsvP.js";
4
4
  import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-DtRFVx5U.js";
5
5
  import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-Cp1KYanB.js";
6
6
  import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, r as EgressProxyRecoveryError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
7
- import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-BBZKkva-.js";
7
+ import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-DIuMQrlL.js";
8
8
  import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
9
9
  import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileFileMount as AgentProfileFileMount$1, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
10
10
  import { z } from "zod";
@@ -4425,4 +4425,4 @@ interface RouterEvalMatrixCaseResult {
4425
4425
  }
4426
4426
  declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
4427
4427
  //#endregion
4428
- export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InteractiveSessionStatus, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalExitInfo, type TerminalReadyInfo, TerminalStream, type TerminalStreamAuthFormat, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendType, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
4428
+ export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InteractiveSessionStatus, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOutcome, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalExitInfo, type TerminalReadyInfo, TerminalStream, type TerminalStreamAuthFormat, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendType, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { h as parseBackendType, m as backendTypeSchema, p as normalizeRuntimeBackendConfig } from "./runtime-api-CK-4S7oA.js";
2
2
  import { a as NetworkError, c as QuotaError, d as StateError, f as TimeoutError, i as FileWriteConflictError, l as SandboxError, n as CapabilityError, o as NotFoundError, p as ValidationError, r as EgressProxyRecoveryError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
3
- import { a as splitInlineProfileSkills, c as SandboxFleetClient, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, n as Sandbox, o as validateDeferredProfileFileMounts, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-DNb9cgwE.js";
4
- import { S as parseSSEStream, a as WorkspaceImages, b as otelTraceIdForTangleTrace, c as TerminalStreamError, d as InteractiveSessionHandle, f as applySandboxEventText, g as isToolBearingEvent, h as getSandboxEventText, l as SandboxTaskSession, m as collectAgentResponseText, o as TERMINAL_WS_ECHO_SUBPROTOCOL, p as collectAgentFinalMessageText, s as TerminalStream, t as SandboxInstance, u as SandboxSession, v as buildTraceExportPayload, x as toOtelJson, y as exportTraceBundle } from "./sandbox-Dwy2Bunb.js";
3
+ import { a as splitInlineProfileSkills, c as SandboxFleetClient, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, n as Sandbox, o as validateDeferredProfileFileMounts, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-CMjk9V9B.js";
4
+ import { S as parseSSEStream, a as WorkspaceImages, b as otelTraceIdForTangleTrace, c as TerminalStreamError, d as InteractiveSessionHandle, f as applySandboxEventText, g as isToolBearingEvent, h as getSandboxEventText, l as SandboxTaskSession, m as collectAgentResponseText, o as TERMINAL_WS_ECHO_SUBPROTOCOL, p as collectAgentFinalMessageText, s as TerminalStream, t as SandboxInstance, u as SandboxSession, v as buildTraceExportPayload, x as toOtelJson, y as exportTraceBundle } from "./sandbox-NvbxFwTv.js";
5
5
  import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-COCXdRrk.js";
6
- import { t as TangleSandboxClient } from "./tangle-DAoYvsA6.js";
6
+ import { t as TangleSandboxClient } from "./tangle-DfKDt5Nz.js";
7
7
  import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
8
8
  import { z } from "zod";
9
9
  //#region src/confidential.ts
package/dist/runtime.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Ar as SandboxPortBinding, Br as SandboxTerminalManager, Ci as TaskSessionCommitResult, Fr as SandboxRuntimeHealth, In as RenameOptions, Li as UploadProgress, N as CreateSessionOptions, P as CreateTaskSessionOptions, Qt as ListMessagesOptions, Rr as SandboxTerminalCreateOptions, Si as TaskSessionChanges, Ti as TaskSessionInfo, Vi as WriteFileOptions, Vr as SandboxTerminalRequestOptions, at as FileReadBatchOptions, ei as SendSessionMessageOptions, ft as FileTreeOptions, gt as FileWriteResult, ht as FileUsageResult, lt as FileRenameResult, mt as FileUsageOptions, ni as SentSessionMessage, ot as FileReadBatchResult, pt as FileTreeResult, si as SessionInfo, ti as SendSessionMessageRequest, ui as SessionMessage, v as ChunkedUploadOptions, w as CommitTaskSessionOptions, y as ChunkedUploadResult, zr as SandboxTerminalInfo } from "./types-Dpj6Unaq.js";
1
+ import { Ai as TaskSessionChanges, Br as SandboxRuntimeHealth, Fr as SandboxPortBinding, Gi as UploadProgress, Gr as SandboxTerminalManager, Kr as SandboxTerminalRequestOptions, N as CreateSessionOptions, Ni as TaskSessionInfo, P as CreateTaskSessionOptions, Ur as SandboxTerminalCreateOptions, Wr as SandboxTerminalInfo, Xi as WriteFileOptions, ai as SendSessionMessageOptions, at as FileReadBatchOptions, fi as SessionInfo, ft as FileTreeOptions, gt as FileWriteResult, hi as SessionMessage, ht as FileUsageResult, ji as TaskSessionCommitResult, lt as FileRenameResult, mt as FileUsageOptions, oi as SendSessionMessageRequest, ot as FileReadBatchResult, pt as FileTreeResult, si as SentSessionMessage, tn as ListMessagesOptions, v as ChunkedUploadOptions, w as CommitTaskSessionOptions, y as ChunkedUploadResult, zn as RenameOptions } from "./types-DL7FzacJ.js";
2
2
  import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
3
3
 
4
4
  //#region src/lib/chunked-upload.d.ts
@@ -1,4 +1,4 @@
1
- import { $n as SandboxEvent, Ar as SandboxPortBinding, At as GitBranch, Bi as WaitForRolloutOptions, Bt as GpuLeaseManager, Ci as TaskSessionCommitResult, Cn as PromptResult, Di as TeeAttestationOptions, Fr as SandboxRuntimeHealth, Ft as GpuLease, Gt as InstalledTool, H as DriveTurnOptions, Hi as WriteManyFile, Hr as SandboxTerminals, Ir as SandboxStatus, Jr as ScopedToken, Jt as IntelligenceReportCompareTo, K as DurablePlan, Kn as SSHCommandDescriptor, Kr as SandboxTraceOptions, Kt as IntelligenceReport, Ln as RestoreSnapshotOptions, Lr as SandboxTerminalAttachOptions, Mr as SandboxResourceUsage, N as CreateSessionOptions, Nt as GitDiff, Or as SandboxInfo, P as CreateTaskSessionOptions, Pi as TurnDriveResult, Pr as SandboxRuntimeCapabilities, Pt as GitStatus, Qt as ListMessagesOptions, R as DispatchPromptOptions, Rn as ResumeOptions, S as CodeLanguage, Si as TaskSessionChanges, Sn as PromptOptions, T as CompletedTurnResult, Ti as TaskSessionInfo, Tn as ProvisionResult, Ui as WriteManyOptions, Un as RolloutStartResult, Ur as SandboxTraceBundle, Vi as WriteFileOptions, Vn as RolloutOptions, W as DriverInfo, Xi as TerminalStreamHandlers, Xr as SearchMatch, Xt as IntelligenceReportWindow, Yn as SandboxConnection, Z as EgressManager, Zn as SandboxCreateReceipt, Zr as SearchOptions, Zt as JsonValue, _ as BranchOptions, _n as ProcessManager, aa as BackendType, b as CodeExecutionOptions, ci as SessionInterruptOptions, dn as PreviewLinkManager, ei as SendSessionMessageOptions, et as EventStreamOptions, fi as SessionResultOptions, gi as SnapshotResult, gt as FileWriteResult, hi as SnapshotOptions, ii as SessionEventStreamOptions, ji as TeePublicKeyResponse, jt as GitCommit, ki as TeeAttestationResponse, l as BackendManager, li as SessionListOptions, ln as PermissionsManager, mi as SnapshotInfo, ni as SentSessionMessage, nt as ExecOptions, oi as SessionForkOptions, on as NetworkManager, q as DurablePlanDecisionResult, qi as TerminalStream, qn as SSHCredentials, qt as IntelligenceReportBudget, rn as MintScopedTokenOptions, rt as ExecResult, s as BackendConfig, si as SessionInfo, ti as SendSessionMessageRequest, ui as SessionMessage, ut as FileSystem, vi as StartupDiagnostics, vr as SandboxFleetTraceBundle, w as CommitTaskSessionOptions, wn as ProvisionEvent, x as CodeExecutionResult, xn as PromptInputPart, z as DispatchedSession, zi as WaitForOptions, zn as Rollout } from "./types-Dpj6Unaq.js";
1
+ import { $r as ScopedToken, $t as IntelligenceReportWindow, Ai as TaskSessionChanges, At as ForkLookupOptions, Bn as RestoreSnapshotOptions, Br as SandboxRuntimeHealth, Ci as SnapshotOptions, Cr as SandboxFleetTraceBundle, Dn as ProvisionEvent, Ei as StartupDiagnostics, En as PromptResult, Fi as TeeAttestationOptions, Fr as SandboxPortBinding, H as DriveTurnOptions, Hi as TurnDriveResult, Hn as Rollout, Hr as SandboxTerminalAttachOptions, It as GitDiff, Ji as WaitForRolloutOptions, Jr as SandboxTraceBundle, Jt as InstalledTool, K as DurablePlan, Kn as RolloutStartResult, Li as TeeAttestationResponse, Lr as SandboxResourceUsage, Lt as GitStatus, N as CreateSessionOptions, Ni as TaskSessionInfo, Nr as SandboxInfo, Nt as GitBranch, On as ProvisionResult, Ot as ForkCounts, P as CreateTaskSessionOptions, Pt as GitCommit, Qi as WriteManyOptions, Qn as SandboxConnection, R as DispatchPromptOptions, Rt as GpuLease, S as CodeLanguage, Si as SnapshotInfo, T as CompletedTurnResult, Tn as PromptOptions, Ut as GpuLeaseManager, Vn as ResumeOptions, Vr as SandboxStatus, W as DriverInfo, Wn as RolloutOptions, Xi as WriteFileOptions, Xn as SSHCredentials, Xt as IntelligenceReportBudget, Yi as WorkspaceOperationLookup, Yn as SSHCommandDescriptor, Yt as IntelligenceReport, Z as EgressManager, Zi as WriteManyFile, Zr as SandboxTraceOptions, Zt as IntelligenceReportCompareTo, _ as BranchOptions, _i as SessionResultOptions, aa as TerminalStreamHandlers, ai as SendSessionMessageOptions, b as CodeExecutionOptions, bn as ProcessManager, di as SessionForkOptions, en as JsonValue, er as SandboxCreateReceipt, et as EventStreamOptions, fi as SessionInfo, fn as PermissionsManager, gt as FileWriteResult, hi as SessionMessage, ir as SandboxEvent, ji as TaskSessionCommitResult, kt as ForkIdempotency, l as BackendManager, li as SessionEventStreamOptions, ln as NetworkManager, ma as BackendType, mi as SessionListOptions, mn as PreviewLinkManager, na as TerminalStream, ni as SearchOptions, nt as ExecOptions, oi as SendSessionMessageRequest, on as MintScopedTokenOptions, pi as SessionInterruptOptions, q as DurablePlanDecisionResult, qi as WaitForOptions, qr as SandboxTerminals, rt as ExecResult, s as BackendConfig, si as SentSessionMessage, ti as SearchMatch, tn as ListMessagesOptions, tr as SandboxDeleteAcknowledgement, ut as FileSystem, w as CommitTaskSessionOptions, wi as SnapshotResult, wn as PromptInputPart, x as CodeExecutionResult, yi as SnapshotDeleteAcknowledgement, z as DispatchedSession, zi as TeePublicKeyResponse, zr as SandboxRuntimeCapabilities } from "./types-DL7FzacJ.js";
2
2
  import { AgentProfile, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, InteractionAcknowledgement, InteractionData, InteractionRequest, InteractionResponseCommand } from "@tangle-network/agent-interface";
3
3
  import { z } from "zod";
4
4
 
@@ -658,6 +658,19 @@ interface ToolsCapability {
658
658
  /** Run a command with a specific tool */
659
659
  run(tool: string, args: string[]): Promise<ExecResult>;
660
660
  }
661
+ /**
662
+ * One fork of a running sandbox, reported with its fan-out accounting.
663
+ *
664
+ * `children` holds the sandboxes that exist. A partial fan-out is never
665
+ * reported as a whole one: `complete` is false whenever `materializedCount` is
666
+ * below `requestedCount`, and the caller decides what to do about the
667
+ * shortfall.
668
+ */
669
+ interface ForkAcknowledgement extends ForkCounts {
670
+ children: SandboxInstance[];
671
+ /** Present only for a keyed fork against an API that reports it. */
672
+ idempotency?: ForkIdempotency;
673
+ }
661
674
  /**
662
675
  * A sandbox instance with methods for interaction.
663
676
  */
@@ -1477,7 +1490,21 @@ declare class SandboxInstance {
1477
1490
  restorePaths(snapshotId: string, paths: string[]): Promise<SnapshotResult>;
1478
1491
  private waitForSnapshotRestore;
1479
1492
  private waitForSnapshotVisible;
1480
- deleteSnapshot(snapshotId: string): Promise<void>;
1493
+ /**
1494
+ * Delete a snapshot.
1495
+ *
1496
+ * Deleting a snapshot that is already gone succeeds and reports
1497
+ * `already_absent`, so a retry after an uncertain failure does not raise. A
1498
+ * 404 means this sandbox is unknown, not that the snapshot was missing.
1499
+ */
1500
+ deleteSnapshot(snapshotId: string): Promise<SnapshotDeleteAcknowledgement>;
1501
+ /**
1502
+ * Ask whether the snapshot bound to an idempotency key is decided.
1503
+ *
1504
+ * Pass the same options the create carried: the service derives the request
1505
+ * digest from them, so a caller never reproduces its canonical form.
1506
+ */
1507
+ getSnapshotOperation(idempotencyKey: string, options?: Pick<SnapshotOptions, "tags">): Promise<WorkspaceOperationLookup>;
1481
1508
  /**
1482
1509
  * Restore from the latest snapshot in customer-provided storage.
1483
1510
  * Only available when using BYOS3 (calls the runtime directly).
@@ -1509,9 +1536,13 @@ declare class SandboxInstance {
1509
1536
  * parent's clean pages instead of each copying full guest memory. The parent
1510
1537
  * stays running.
1511
1538
  *
1539
+ * Returns only the children. A fan-out that materialized fewer than `count`
1540
+ * still resolves — the children are real — so compare the array length, or
1541
+ * call {@link fork} for the explicit `complete` flag.
1542
+ *
1512
1543
  * @param count - Number of children to create (must be >= 1).
1513
1544
  * @param options - Per-child overrides.
1514
- * @returns Exactly `count` new sandbox instances.
1545
+ * @returns The new sandbox instances that materialized.
1515
1546
  *
1516
1547
  * @example
1517
1548
  * ```typescript
@@ -1520,6 +1551,30 @@ declare class SandboxInstance {
1520
1551
  * ```
1521
1552
  */
1522
1553
  branch(count: number, options?: BranchOptions): Promise<SandboxInstance[]>;
1554
+ /**
1555
+ * Branch this RUNNING sandbox and report the fan-out, not only the children.
1556
+ *
1557
+ * `complete` is false when fewer children materialized than were requested,
1558
+ * so a partial fan-out is never read as a whole one. With an
1559
+ * `idempotencyKey`, a retry of the same key and options returns exactly the
1560
+ * children the first request materialized and creates none.
1561
+ *
1562
+ * @example
1563
+ * ```typescript
1564
+ * const forked = await box.fork(5, { idempotencyKey: "run-42" });
1565
+ * if (!forked.complete) {
1566
+ * console.warn(`${forked.materializedCount} of ${forked.requestedCount}`);
1567
+ * }
1568
+ * ```
1569
+ */
1570
+ fork(count: number, options?: BranchOptions): Promise<ForkAcknowledgement>;
1571
+ /**
1572
+ * Ask whether the fork bound to an idempotency key is decided.
1573
+ *
1574
+ * Pass the same count and options the fork carried: the service derives the
1575
+ * request digest from them, so a caller never reproduces its canonical form.
1576
+ */
1577
+ getForkOperation(idempotencyKey: string, options: ForkLookupOptions): Promise<WorkspaceOperationLookup>;
1523
1578
  /**
1524
1579
  * Speculative rollouts: branch this RUNNING sandbox into `n` copy-on-write
1525
1580
  * children, run the SAME agent turn in every child in parallel, and
@@ -1573,7 +1628,10 @@ declare class SandboxInstance {
1573
1628
  */
1574
1629
  resume(options?: ResumeOptions): Promise<void>;
1575
1630
  /**
1576
- * Delete the sandbox permanently.
1631
+ * Delete the sandbox permanently. This is how a forked child is destroyed.
1632
+ *
1633
+ * `outcome` separates `destroyed` from `already_absent`, so a retry after an
1634
+ * uncertain failure reports what really happened instead of raising.
1577
1635
  *
1578
1636
  * The delete response carries the orchestrator's per-phase delete breakdown
1579
1637
  * (`container_remove` / `storage_binding_wait` / `cleanup_parallel` /
@@ -1581,7 +1639,7 @@ declare class SandboxInstance {
1581
1639
  * {@link startupDiagnostics} returns it for post-mortem reads on the
1582
1640
  * now-gone sandbox.
1583
1641
  */
1584
- delete(): Promise<void>;
1642
+ delete(): Promise<SandboxDeleteAcknowledgement>;
1585
1643
  /**
1586
1644
  * Read the per-phase lifecycle breakdown off a stop/resume/delete response
1587
1645
  * body. Never throws: diagnostics are measurement data — a body that fails
@@ -1894,4 +1952,4 @@ declare class SandboxInstance {
1894
1952
  }): Promise<DurablePlanDecisionResult>;
1895
1953
  }
1896
1954
  //#endregion
1897
- export { BuildSandboxMcpConfigOptions as A, RespondToPermissionOptions as C, SandboxInteractionResolution as D, SandboxInteractionConflict as E, SandboxMcpServerEntry as F, buildControlPlaneMcpConfig as I, buildSandboxMcpConfig as L, SANDBOX_MCP_SERVER_NAME as M, SandboxMcpConfig as N, SandboxInteractionResult as O, SandboxMcpEndpoint as P, InterruptResult as S, SandboxInteractionCommandResult as T, InteractiveAuthFile as _, WorkspaceImagePublishResult as a, InteractiveSessionInfo as b, TraceExportResult as c, exportTraceBundle as d, otelTraceIdForTangleTrace as f, InteractiveAttachOptions as g, SandboxSession as h, WorkspaceImagePublishRequestOptions as i, CONTROL_PLANE_MCP_SERVER_NAME as j, BuildControlPlaneMcpConfigOptions as k, TraceExportSink as l, SandboxTaskSession as m, SandboxInstance as n, WorkspaceImages as o, toOtelJson as p, WorkspaceImagePublishInput as r, TraceExportFormat as s, HttpClient as t, buildTraceExportPayload as u, InteractiveSessionHandle as v, StartInteractiveOptions as w, InteractiveSessionStatus as x, InteractiveSessionHost as y };
1955
+ export { BuildControlPlaneMcpConfigOptions as A, InterruptResult as C, SandboxInteractionConflict as D, SandboxInteractionCommandResult as E, SandboxMcpEndpoint as F, SandboxMcpServerEntry as I, buildControlPlaneMcpConfig as L, CONTROL_PLANE_MCP_SERVER_NAME as M, SANDBOX_MCP_SERVER_NAME as N, SandboxInteractionResolution as O, SandboxMcpConfig as P, buildSandboxMcpConfig as R, InteractiveSessionStatus as S, StartInteractiveOptions as T, InteractiveAttachOptions as _, WorkspaceImagePublishRequestOptions as a, InteractiveSessionHost as b, TraceExportFormat as c, buildTraceExportPayload as d, exportTraceBundle as f, SandboxSession as g, SandboxTaskSession as h, WorkspaceImagePublishInput as i, BuildSandboxMcpConfigOptions as j, SandboxInteractionResult as k, TraceExportResult as l, toOtelJson as m, HttpClient as n, WorkspaceImagePublishResult as o, otelTraceIdForTangleTrace as p, SandboxInstance as r, WorkspaceImages as s, ForkAcknowledgement as t, TraceExportSink as u, InteractiveAuthFile as v, RespondToPermissionOptions as w, InteractiveSessionInfo as x, InteractiveSessionHandle as y };
@@ -1744,6 +1744,7 @@ function normalizeStartupDiagnostics(raw) {
1744
1744
  service: typeof record.service === "string" ? record.service : void 0,
1745
1745
  status: typeof record.status === "string" ? record.status : void 0,
1746
1746
  durationMs,
1747
+ parent: typeof record.parent === "string" ? record.parent : void 0,
1747
1748
  metadata: record.metadata && typeof record.metadata === "object" ? record.metadata : void 0
1748
1749
  });
1749
1750
  if (durationMs !== void 0) phases[operation] = durationMs;
@@ -4983,6 +4984,7 @@ var SandboxInstance = class SandboxInstance {
4983
4984
  */
4984
4985
  async snapshot(options) {
4985
4986
  if (options && "paths" in options) throw new Error("Path-scoped snapshot capture is not supported; create a whole-workspace snapshot and use restorePaths()");
4987
+ if (options?.idempotencyKey && options.storage) throw new Error("idempotencyKey is not supported with customer-provided storage; the BYOS3 snapshot path keeps no operation ledger");
4986
4988
  await this.ensureRunning();
4987
4989
  if (options?.storage) {
4988
4990
  const response = await this.runtimeFetch("/snapshots", {
@@ -5007,6 +5009,7 @@ var SandboxInstance = class SandboxInstance {
5007
5009
  }
5008
5010
  const response = await this.client.fetch(`/v1/sandboxes/${this.id}/snapshots`, {
5009
5011
  method: "POST",
5012
+ ...options?.idempotencyKey ? { headers: { "Idempotency-Key": options.idempotencyKey } } : {},
5010
5013
  body: JSON.stringify({ tags: options?.tags })
5011
5014
  }, { timeoutMs: SNAPSHOT_CREATE_REQUEST_TIMEOUT_MS });
5012
5015
  if (!response.ok) {
@@ -5016,11 +5019,18 @@ var SandboxInstance = class SandboxInstance {
5016
5019
  const data = await response.json();
5017
5020
  const snapshotId = data.snapshotId ?? data.id;
5018
5021
  if (typeof snapshotId !== "string" || snapshotId.length === 0) throw new ServerError(`Snapshot create returned 200 but body had no snapshot ID: ${JSON.stringify(data).slice(0, 200)}`, response.status);
5022
+ const reportedOutcome = data.idempotency?.outcome;
5023
+ const reportedDigest = data.idempotency?.requestDigest;
5024
+ const idempotency = (reportedOutcome === "created" || reportedOutcome === "replayed") && typeof reportedDigest === "string" ? {
5025
+ outcome: reportedOutcome,
5026
+ requestDigest: reportedDigest
5027
+ } : void 0;
5019
5028
  const snapshot = {
5020
5029
  snapshotId,
5021
5030
  createdAt: new Date(data.createdAt ?? Date.now()),
5022
5031
  sizeBytes: data.sizeBytes,
5023
- tags: data.tags ?? []
5032
+ tags: data.tags ?? [],
5033
+ ...idempotency ? { idempotency } : {}
5024
5034
  };
5025
5035
  await this.waitForSnapshotVisible(snapshot.snapshotId, {
5026
5036
  createdAt: snapshot.createdAt,
@@ -5162,12 +5172,60 @@ var SandboxInstance = class SandboxInstance {
5162
5172
  };
5163
5173
  throw lastError instanceof Error ? lastError : new TimeoutError(SNAPSHOT_VISIBILITY_TIMEOUT_MS);
5164
5174
  }
5175
+ /**
5176
+ * Delete a snapshot.
5177
+ *
5178
+ * Deleting a snapshot that is already gone succeeds and reports
5179
+ * `already_absent`, so a retry after an uncertain failure does not raise. A
5180
+ * 404 means this sandbox is unknown, not that the snapshot was missing.
5181
+ */
5165
5182
  async deleteSnapshot(snapshotId) {
5166
5183
  const response = await this.client.fetch(`/v1/sandboxes/${this.id}/snapshots/${encodeURIComponent(snapshotId)}`, { method: "DELETE" });
5167
5184
  if (!response.ok) {
5168
5185
  const body = await response.text();
5169
5186
  throw parseErrorResponse(response.status, body, void 0, response.headers);
5170
5187
  }
5188
+ const body = await response.json().catch(() => ({}));
5189
+ return {
5190
+ snapshotId,
5191
+ outcome: body.outcome === "deleted" || body.outcome === "already_absent" ? body.outcome : "unknown"
5192
+ };
5193
+ }
5194
+ /**
5195
+ * Ask whether the snapshot bound to an idempotency key is decided.
5196
+ *
5197
+ * Pass the same options the create carried: the service derives the request
5198
+ * digest from them, so a caller never reproduces its canonical form.
5199
+ */
5200
+ async getSnapshotOperation(idempotencyKey, options) {
5201
+ const response = await this.client.fetch(`/v1/sandboxes/${this.id}/workspace-operations/lookup`, {
5202
+ method: "POST",
5203
+ body: JSON.stringify({
5204
+ kind: "checkpoint",
5205
+ idempotencyKey,
5206
+ request: { tags: options?.tags }
5207
+ })
5208
+ });
5209
+ if (!response.ok) {
5210
+ if (response.status === 404 || response.status === 405) return {
5211
+ outcome: "unknown",
5212
+ kind: "checkpoint"
5213
+ };
5214
+ const body = await response.text();
5215
+ throw parseErrorResponse(response.status, body, void 0, response.headers);
5216
+ }
5217
+ const body = await response.json().catch(() => ({}));
5218
+ const outcome = body?.outcome;
5219
+ if (outcome !== "found" && outcome !== "not_found" && outcome !== "conflict") return {
5220
+ ...body,
5221
+ outcome: "unknown",
5222
+ kind: "checkpoint"
5223
+ };
5224
+ return {
5225
+ ...body,
5226
+ outcome,
5227
+ kind: body?.kind ?? "checkpoint"
5228
+ };
5171
5229
  }
5172
5230
  /**
5173
5231
  * Restore from the latest snapshot in customer-provided storage.
@@ -5225,9 +5283,13 @@ var SandboxInstance = class SandboxInstance {
5225
5283
  * parent's clean pages instead of each copying full guest memory. The parent
5226
5284
  * stays running.
5227
5285
  *
5286
+ * Returns only the children. A fan-out that materialized fewer than `count`
5287
+ * still resolves — the children are real — so compare the array length, or
5288
+ * call {@link fork} for the explicit `complete` flag.
5289
+ *
5228
5290
  * @param count - Number of children to create (must be >= 1).
5229
5291
  * @param options - Per-child overrides.
5230
- * @returns Exactly `count` new sandbox instances.
5292
+ * @returns The new sandbox instances that materialized.
5231
5293
  *
5232
5294
  * @example
5233
5295
  * ```typescript
@@ -5236,9 +5298,29 @@ var SandboxInstance = class SandboxInstance {
5236
5298
  * ```
5237
5299
  */
5238
5300
  async branch(count, options) {
5301
+ return (await this.fork(count, options)).children;
5302
+ }
5303
+ /**
5304
+ * Branch this RUNNING sandbox and report the fan-out, not only the children.
5305
+ *
5306
+ * `complete` is false when fewer children materialized than were requested,
5307
+ * so a partial fan-out is never read as a whole one. With an
5308
+ * `idempotencyKey`, a retry of the same key and options returns exactly the
5309
+ * children the first request materialized and creates none.
5310
+ *
5311
+ * @example
5312
+ * ```typescript
5313
+ * const forked = await box.fork(5, { idempotencyKey: "run-42" });
5314
+ * if (!forked.complete) {
5315
+ * console.warn(`${forked.materializedCount} of ${forked.requestedCount}`);
5316
+ * }
5317
+ * ```
5318
+ */
5319
+ async fork(count, options) {
5239
5320
  if (!Number.isInteger(count) || count < 1) throw new ValidationError(`branch count must be an integer >= 1 (got ${count})`);
5240
5321
  const response = await this.client.fetch(`/v1/sandboxes/${this.id}/branch`, {
5241
5322
  method: "POST",
5323
+ ...options?.idempotencyKey ? { headers: { "Idempotency-Key": options.idempotencyKey } } : {},
5242
5324
  body: JSON.stringify({
5243
5325
  count,
5244
5326
  env: options?.env,
@@ -5249,7 +5331,63 @@ var SandboxInstance = class SandboxInstance {
5249
5331
  const body = await response.text();
5250
5332
  throw parseErrorResponse(response.status, body, void 0, response.headers);
5251
5333
  }
5252
- return ((await response.json()).children ?? []).map((child) => createSandboxInstanceFromResponse(this.client, this.parseInfo(child), this.defaultRuntimeBackend));
5334
+ const data = await response.json();
5335
+ const children = (data.children ?? []).map((child) => createSandboxInstanceFromResponse(this.client, this.parseInfo(child), this.defaultRuntimeBackend));
5336
+ const materializedCount = children.length;
5337
+ const requestedCount = typeof data.fork?.requestedCount === "number" ? data.fork.requestedCount : count;
5338
+ const reportedOutcome = data.idempotency?.outcome;
5339
+ const reportedDigest = data.idempotency?.requestDigest;
5340
+ const idempotency = (reportedOutcome === "created" || reportedOutcome === "replayed") && typeof reportedDigest === "string" ? {
5341
+ outcome: reportedOutcome,
5342
+ requestDigest: reportedDigest
5343
+ } : void 0;
5344
+ return {
5345
+ children,
5346
+ requestedCount,
5347
+ materializedCount,
5348
+ complete: materializedCount === requestedCount,
5349
+ ...idempotency ? { idempotency } : {}
5350
+ };
5351
+ }
5352
+ /**
5353
+ * Ask whether the fork bound to an idempotency key is decided.
5354
+ *
5355
+ * Pass the same count and options the fork carried: the service derives the
5356
+ * request digest from them, so a caller never reproduces its canonical form.
5357
+ */
5358
+ async getForkOperation(idempotencyKey, options) {
5359
+ const response = await this.client.fetch(`/v1/sandboxes/${this.id}/workspace-operations/lookup`, {
5360
+ method: "POST",
5361
+ body: JSON.stringify({
5362
+ kind: "fork",
5363
+ idempotencyKey,
5364
+ request: {
5365
+ count: options.count,
5366
+ env: options.env,
5367
+ metadata: options.metadata
5368
+ }
5369
+ })
5370
+ });
5371
+ if (!response.ok) {
5372
+ if (response.status === 404 || response.status === 405) return {
5373
+ outcome: "unknown",
5374
+ kind: "fork"
5375
+ };
5376
+ const body = await response.text();
5377
+ throw parseErrorResponse(response.status, body, void 0, response.headers);
5378
+ }
5379
+ const body = await response.json().catch(() => ({}));
5380
+ const outcome = body?.outcome;
5381
+ if (outcome !== "found" && outcome !== "not_found" && outcome !== "conflict") return {
5382
+ ...body,
5383
+ outcome: "unknown",
5384
+ kind: "fork"
5385
+ };
5386
+ return {
5387
+ ...body,
5388
+ outcome,
5389
+ kind: body?.kind ?? "fork"
5390
+ };
5253
5391
  }
5254
5392
  /**
5255
5393
  * Speculative rollouts: branch this RUNNING sandbox into `n` copy-on-write
@@ -5366,7 +5504,10 @@ var SandboxInstance = class SandboxInstance {
5366
5504
  if (diagnostics) this.info.startupDiagnostics = diagnostics;
5367
5505
  }
5368
5506
  /**
5369
- * Delete the sandbox permanently.
5507
+ * Delete the sandbox permanently. This is how a forked child is destroyed.
5508
+ *
5509
+ * `outcome` separates `destroyed` from `already_absent`, so a retry after an
5510
+ * uncertain failure reports what really happened instead of raising.
5370
5511
  *
5371
5512
  * The delete response carries the orchestrator's per-phase delete breakdown
5372
5513
  * (`container_remove` / `storage_binding_wait` / `cleanup_parallel` /
@@ -5380,9 +5521,15 @@ var SandboxInstance = class SandboxInstance {
5380
5521
  const body = await response.text();
5381
5522
  throw parseErrorResponse(response.status, body, void 0, response.headers);
5382
5523
  }
5383
- const diagnostics = await this.readLifecycleDiagnostics(response);
5524
+ const data = await response.json().catch(() => null);
5525
+ const diagnostics = data ? normalizeStartupDiagnostics(data.startupDiagnostics) : null;
5384
5526
  if (diagnostics) this.info.startupDiagnostics = diagnostics;
5385
5527
  sandboxStatusObservedAt.delete(this);
5528
+ const outcome = data?.outcome === "destroyed" || data?.outcome === "already_absent" ? data.outcome : "unknown";
5529
+ return {
5530
+ sandboxId: this.id,
5531
+ outcome
5532
+ };
5386
5533
  }
5387
5534
  /**
5388
5535
  * Read the per-phase lifecycle breakdown off a stop/resume/delete response
@@ -1,2 +1,2 @@
1
- import { a as TANGLE_JOBS_CONTRACT, c as AgentSandboxBlueprintAbi, d as SandboxCreateParamTypes, f as SandboxCreateResponseParamTypes, i as TANGLE_CHAIN_ID, l as ITangleJobsAbi, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, p as SandboxIdParamTypes, r as JOB_SANDBOX_DELETE, s as TangleSandboxClientConfig, t as TangleSandboxClient, u as JsonResponseParamTypes } from "../index-BBZKkva-.js";
1
+ import { a as TANGLE_JOBS_CONTRACT, c as AgentSandboxBlueprintAbi, d as SandboxCreateParamTypes, f as SandboxCreateResponseParamTypes, i as TANGLE_CHAIN_ID, l as ITangleJobsAbi, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, p as SandboxIdParamTypes, r as JOB_SANDBOX_DELETE, s as TangleSandboxClientConfig, t as TangleSandboxClient, u as JsonResponseParamTypes } from "../index-DIuMQrlL.js";
2
2
  export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TANGLE_MAINNET_RPC, TangleSandboxClient, TangleSandboxClientConfig };
@@ -1,2 +1,2 @@
1
- import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../tangle-DAoYvsA6.js";
1
+ import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../tangle-DfKDt5Nz.js";
2
2
  export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TANGLE_MAINNET_RPC, TangleSandboxClient };
@@ -1,5 +1,5 @@
1
1
  import { m as parseErrorResponse } from "./errors-C6kn-3zt.js";
2
- import { n as createSandboxInstanceFromResponse } from "./sandbox-Dwy2Bunb.js";
2
+ import { n as createSandboxInstanceFromResponse } from "./sandbox-NvbxFwTv.js";
3
3
  //#region src/tangle/abi.ts
4
4
  /**
5
5
  * Tangle Contract ABI Definitions
@@ -2057,6 +2057,13 @@ interface StartupOperation {
2057
2057
  status?: string;
2058
2058
  /** Wall-clock duration of the step in milliseconds, when measured. */
2059
2059
  durationMs?: number;
2060
+ /**
2061
+ * `operation` of the step whose wall CONTAINS this one; absent means the
2062
+ * step hangs directly under the flow total. Add only the steps that no
2063
+ * other step names as its parent — a parent re-measures the time its
2064
+ * children already report, so summing both over-counts the flow.
2065
+ */
2066
+ parent?: string;
2060
2067
  /** PII-scrubbed step detail (counts, ids, error codes). */
2061
2068
  metadata?: Record<string, unknown>;
2062
2069
  }
@@ -2070,6 +2077,10 @@ interface StartupOperation {
2070
2077
  * is a derived convenience map of operation name → `durationMs` for the
2071
2078
  * steps that reported a duration; steps without a measured duration are
2072
2079
  * omitted from `phases` but still present in `operations`.
2080
+ *
2081
+ * `phases` mixes containing steps with the steps they contain, so its values
2082
+ * do NOT add up to the flow wall. To add durations, filter `operations` to
2083
+ * those no other operation names as its `parent`.
2073
2084
  */
2074
2085
  interface StartupDiagnostics {
2075
2086
  /** Ordered startup steps exactly as the platform emitted them. */
@@ -3690,6 +3701,26 @@ interface SnapshotOptions {
3690
3701
  paths?: never;
3691
3702
  /** Customer-provided storage for BYOS3 (calls the runtime directly) */
3692
3703
  storage?: StorageConfig;
3704
+ /**
3705
+ * Retry identity for this snapshot. A retry with the same key and the same
3706
+ * options replays the stored result instead of taking a second snapshot; the
3707
+ * same key with different options is refused.
3708
+ *
3709
+ * Rejected together with `storage`: the BYOS3 path calls the runtime
3710
+ * directly and keeps no operation ledger, so the key would guard nothing.
3711
+ */
3712
+ idempotencyKey?: string;
3713
+ }
3714
+ /**
3715
+ * How a keyed snapshot resolved.
3716
+ *
3717
+ * `created` ran this snapshot. `replayed` returned the acknowledgement an
3718
+ * earlier request under the same key and options already stored. Absent when
3719
+ * the request carried no key, or when the API predates the field.
3720
+ */
3721
+ interface SnapshotIdempotency {
3722
+ outcome: "created" | "replayed";
3723
+ requestDigest: string;
3693
3724
  }
3694
3725
  /**
3695
3726
  * Result of a snapshot operation.
@@ -3703,6 +3734,57 @@ interface SnapshotResult {
3703
3734
  sizeBytes?: number;
3704
3735
  /** Tags applied to the snapshot */
3705
3736
  tags: string[];
3737
+ /** Present only for a keyed snapshot against an API that reports it. */
3738
+ idempotency?: SnapshotIdempotency;
3739
+ }
3740
+ /**
3741
+ * Outcome of deleting a snapshot.
3742
+ *
3743
+ * - `deleted`: this call removed the snapshot.
3744
+ * - `already_absent`: it was not there; the caller's intent already holds.
3745
+ * - `unknown`: the API did not report which, so neither is claimed. An API
3746
+ * deployed before this field existed answers `unknown` rather than throwing.
3747
+ */
3748
+ type SnapshotDeleteOutcome = "deleted" | "already_absent" | "unknown";
3749
+ interface SnapshotDeleteAcknowledgement {
3750
+ snapshotId: string;
3751
+ outcome: SnapshotDeleteOutcome;
3752
+ }
3753
+ /**
3754
+ * Outcome of deleting a sandbox, which is how a forked child is destroyed.
3755
+ *
3756
+ * - `destroyed`: this call removed the sandbox.
3757
+ * - `already_absent`: the runtime had already lost it; the caller's intent
3758
+ * already holds and the product-plane rows were finalized.
3759
+ * - `unknown`: the API did not report which, so neither is claimed. An API
3760
+ * deployed before this field existed answers `unknown` rather than throwing.
3761
+ */
3762
+ type SandboxDeleteOutcome = "destroyed" | "already_absent" | "unknown";
3763
+ interface SandboxDeleteAcknowledgement {
3764
+ sandboxId: string;
3765
+ outcome: SandboxDeleteOutcome;
3766
+ }
3767
+ /**
3768
+ * Whether the operation bound to an idempotency key is decided.
3769
+ *
3770
+ * - `found`: the key is decided; `state` says how.
3771
+ * - `not_found`: nothing claimed this key.
3772
+ * - `conflict`: the key is bound to a different request body.
3773
+ * - `unknown`: a request claimed the key and its result is still undecided, or
3774
+ * the API is too old to answer. Reconcile against real state before retrying.
3775
+ */
3776
+ interface WorkspaceOperationLookup {
3777
+ outcome: "found" | "not_found" | "conflict" | "unknown";
3778
+ kind: "checkpoint" | "fork";
3779
+ state?: "pending" | "succeeded" | "failed";
3780
+ requestDigest?: string;
3781
+ existingRequestDigest?: string;
3782
+ result?: Record<string, unknown>;
3783
+ failure?: {
3784
+ status: number;
3785
+ error: string;
3786
+ code?: string;
3787
+ };
3706
3788
  }
3707
3789
  interface RestoreSnapshotOptions {
3708
3790
  destinationPath?: string;
@@ -4287,6 +4369,42 @@ interface BranchOptions {
4287
4369
  * matching resources — children always inherit the parent's.
4288
4370
  */
4289
4371
  metadata?: Record<string, unknown>;
4372
+ /**
4373
+ * Retry identity for this fan-out. A retry with the same key and the same
4374
+ * options returns the children the first request materialized and creates
4375
+ * none; the same key with different options is refused.
4376
+ */
4377
+ idempotencyKey?: string;
4378
+ }
4379
+ /**
4380
+ * How a keyed fork resolved.
4381
+ *
4382
+ * `created` ran this fan-out. `replayed` returned the children an earlier
4383
+ * request under the same key and options already materialized. Absent when the
4384
+ * request carried no key, or when the API predates the field.
4385
+ */
4386
+ interface ForkIdempotency {
4387
+ outcome: "created" | "replayed";
4388
+ requestDigest: string;
4389
+ }
4390
+ /**
4391
+ * Fan-out accounting for one fork.
4392
+ *
4393
+ * `materializedCount` counts the children that exist. Below `requestedCount` it
4394
+ * is a partial fan-out and `complete` is false: the children are real and
4395
+ * usable, and the caller decides whether to fork the shortfall.
4396
+ */
4397
+ interface ForkCounts {
4398
+ requestedCount: number;
4399
+ materializedCount: number;
4400
+ complete: boolean;
4401
+ }
4402
+ /** Everything the API answers to a fork lookup, minus the children. */
4403
+ interface ForkLookupOptions {
4404
+ /** The count the fork asked for; part of the request identity. */
4405
+ count: number;
4406
+ env?: Record<string, string>;
4407
+ metadata?: Record<string, unknown>;
4290
4408
  }
4291
4409
  /**
4292
4410
  * One message part of the agent turn sent to every rollout child.
@@ -6303,4 +6421,4 @@ interface CodeExecutionOptions {
6303
6421
  idempotencyKey?: string;
6304
6422
  }
6305
6423
  //#endregion
6306
- export { EnsureDevServerOptions as $, BatchBackendStats as $i, SandboxEvent as $n, SecretsManager as $r, ListOptions as $t, CreateSandboxFleetTokenOptions as A, TeePublicKey as Ai, PublishPublicTemplateOptions as An, SandboxPortBinding as Ar, GitBranch as At, DownloadOptions as B, WaitForRolloutOptions as Bi, RolloutChildResult as Bn, SandboxTerminalManager as Br, GpuLeaseManager as Bt, CodeResultPart as C, TaskSessionCommitResult as Ci, PromptResult as Cn, SandboxFleetWorkspace as Cr, FleetExecDispatchOptions as Ct, CreateIntelligenceReportOptions as D, TeeAttestationOptions as Di, ProvisionStep as Dn, SandboxIdentity as Dr, FleetPromptDispatchResult as Dt, CreateGpuLeaseOptions as E, TaskSessionProfile as Ei, ProvisionStatus as En, SandboxFleetWorkspaceSnapshotResult as Er, FleetPromptDispatchOptions as Et, DeleteOptions as F, UpdateUserOptions as Fi, ReconcileSandboxFleetsResult as Fn, SandboxRuntimeHealth as Fr, GpuLease as Ft, DriverType as G, TerminalExitInfo as Gi, RolloutTurnPart as Gn, SandboxTraceExport as Gr, InstalledTool as Gt, DriveTurnOptions as H, WriteManyFile as Hi, RolloutScorer as Hn, SandboxTerminals as Hr, GpuLeaseStatus as Ht, DevServerInfo as I, UploadOptions as Ii, RenameOptions as In, SandboxStatus as Ir, GpuLeaseBilling as It, EffectiveBackend as J, TerminalStreamAuthFormat as Ji, SandboxConfig as Jn, ScopedToken as Jr, IntelligenceReportCompareTo as Jt, DurablePlan as K, TerminalReadyInfo as Ki, SSHCommandDescriptor as Kn, SandboxTraceOptions as Kr, IntelligenceReport as Kt, DirectoryPermission as L, UploadProgress as Li, RestoreSnapshotOptions as Ln, SandboxTerminalAttachOptions as Lr, GpuLeaseCommandResult as Lt, CreateSandboxOptions as M, TokenRefreshHandler as Mi, ReapExpiredSandboxFleetsOptions as Mn, SandboxResourceUsage as Mr, GitConfig as Mt, CreateSessionOptions as N, TokenUsage as Ni, ReapExpiredSandboxFleetsResult as Nn, SandboxResources as Nr, GitDiff as Nt, CreateRequestOptions as O, TeeAttestationReport as Oi, PublicTemplateInfo as On, SandboxInfo as Or, GPU_LEASE_PROVIDER_NAMES as Ot, CreateTaskSessionOptions as P, TurnDriveResult as Pi, ReconcileSandboxFleetsOptions as Pn, SandboxRuntimeCapabilities as Pr, GitStatus as Pt, EgressPolicy as Q, TerminalStreamToken as Qi, SandboxEnvironment as Qn, SecretInfo as Qr, ListMessagesOptions as Qt, DispatchPromptOptions as R, UsageInfo as Ri, ResumeOptions as Rn, SandboxTerminalCreateOptions as Rr, GpuLeaseExecOptions as Rt, CodeLanguage as S, TaskSessionChanges as Si, PromptOptions as Sn, SandboxFleetUsage as Sr, FleetDriveTurnRequest as St, CompletedTurnResult as T, TaskSessionInfo as Ti, ProvisionResult as Tn, SandboxFleetWorkspaceRestoreResult as Tr, FleetMachineId as Tt, DriverConfig as U, WriteManyOptions as Ui, RolloutStartResult as Un, SandboxTraceBundle as Ur, HostAgentDriverConfig as Ut, DownloadProgress as V, WriteFileOptions as Vi, RolloutOptions as Vn, SandboxTerminalRequestOptions as Vr, GpuLeaseProviderName as Vt, DriverInfo as W, TERMINAL_WS_ECHO_SUBPROTOCOL as Wi, RolloutStatus as Wn, SandboxTraceEvent as Wr, HostAgentRuntimeBackend as Wt, EffectiveBackendSource as X, TerminalStreamHandlers as Xi, SandboxCreateOutcome as Xn, SearchMatch as Xr, IntelligenceReportWindow as Xt, EffectiveBackendProfile as Y, TerminalStreamError as Yi, SandboxConnection as Yn, ScopedTokenScope as Yr, IntelligenceReportSubjectType as Yt, EgressManager as Z, TerminalStreamOptions as Zi, SandboxCreateReceipt as Zn, SearchOptions as Zr, JsonValue as Zt, BranchOptions as _, SshKeysManager as _i, ProcessManager as _n, SandboxFleetToken as _r, FleetDispatchCancelResult as _t, AttachSandboxFleetMachineOptions as a, BackendType as aa, SessionFailureReason as ai, NetworkConfig as an, SandboxFleetDriverCapability as ar, FileReadBatchOptions as at, CodeExecutionOptions as b, StorageConfig as bi, ProcessStatus as bn, SandboxFleetTraceExport as br, FleetDispatchStreamOptions as bt, BackendInfo as c, SessionInterruptOptions as ci, PermissionLevel as cn, SandboxFleetIntelligenceEnvelope as cr, FileReadResult as ct, BatchBackend as d, SessionMessageInputPart as di, PreviewLinkManager as dn, SandboxFleetMachineRecord as dr, FileTreeFile as dt, BatchEvent as ea, SendSessionMessageOptions as ei, ListSandboxFleetOptions as en, SandboxFleetArtifact as er, EventStreamOptions as et, BatchResult as f, SessionResultOptions as fi, PreviewLinkWaitOptions as fn, SandboxFleetMachineSpec as fr, FileTreeOptions as ft, BatchTaskResult as g, SnapshotResult as gi, ProcessLogEntry as gn, SandboxFleetPolicy as gr, FileWriteResult as gt, BatchTask as h, SnapshotOptions as hi, ProcessListOptions as hn, SandboxFleetOperationsSummary as hr, FileUsageResult as ht, AttachGpuLeaseOptions as i, PublicBatchRunRequest as ia, SessionEventStreamOptions as ii, MkdirOptions as in, SandboxFleetDispatchResponse as ir, FileInfo as it, CreateSandboxFleetWithCoordinatorOptions as j, TeePublicKeyResponse as ji, PublishPublicTemplateVersionOptions as jn, SandboxPortPreviewLink as jr, GitCommit as jt, CreateSandboxFleetOptions as k, TeeAttestationResponse as ki, PublicTemplateVersionInfo as kn, SandboxIntelligenceEnvelope as kr, GitAuth as kt, BackendManager as l, SessionListOptions as li, PermissionsManager as ln, SandboxFleetMachine as lr, FileRenameResult as lt, BatchRunRequest as m, SnapshotInfo as mi, ProcessInfo as mn, SandboxFleetManifestMachine as mr, FileUsageOptions as mt, AccessPolicyRule as n, BatchSidecarGroup as na, SentSessionMessage as ni, McpServerConfig as nn, SandboxFleetCostEstimate as nr, ExecOptions as nt, BackendCapabilities as o, parseBackendType as oa, SessionForkOptions as oi, NetworkManager as on, SandboxFleetDriverTimings as or, FileReadBatchResult as ot, BatchRunOptions as p, SessionStatus as pi, Process as pn, SandboxFleetManifest as pr, FileTreeResult as pt, DurablePlanDecisionResult as q, TerminalStream as qi, SSHCredentials as qn, SandboxUser as qr, IntelligenceReportBudget as qt, AddUserOptions as r, BatchTaskUsage as ra, SessionBackendCredentials as ri, MintScopedTokenOptions as rn, SandboxFleetDispatchFailureClass as rr, ExecResult as rt, BackendConfig as s, SessionInfo as si, NonHostAgentDriverConfig as sn, SandboxFleetInfo as sr, FileReadError as st, AcceleratorKind as t, BatchEventDataMap as ta, SendSessionMessageRequest as ti, ListSandboxOptions as tn, SandboxFleetArtifactSpec as tr, ExactProcessSpawnOptions as tt, BackendStatus as u, SessionMessage as ui, PreviewLinkInfo as un, SandboxFleetMachineMeteredUsage as ur, FileSystem as ut, ChunkedUploadOptions as v, StartupDiagnostics as vi, ProcessSignal as vn, SandboxFleetTraceBundle as vr, FleetDispatchResultBuffer as vt, CommitTaskSessionOptions as w, TaskSessionFileChange as wi, ProvisionEvent as wn, SandboxFleetWorkspaceReconcileResult as wr, FleetExecDispatchResult as wt, CodeExecutionResult as x, SubscriptionInfo as xi, PromptInputPart as xn, SandboxFleetTraceOptions as xr, FleetDriveTurnOutcome as xt, ChunkedUploadResult as y, StartupOperation as yi, ProcessSpawnOptions as yn, SandboxFleetTraceEvent as yr, FleetDispatchResultBufferOptions as yt, DispatchedSession as z, WaitForOptions as zi, Rollout as zn, SandboxTerminalInfo as zr, GpuLeaseExecResult as zt };
6424
+ export { EnsureDevServerOptions as $, TERMINAL_WS_ECHO_SUBPROTOCOL as $i, SandboxCreateOutcome as $n, ScopedToken as $r, IntelligenceReportWindow as $t, CreateSandboxFleetTokenOptions as A, TaskSessionChanges as Ai, ProvisionStep as An, SandboxFleetWorkspaceRestoreResult as Ar, ForkLookupOptions as At, DownloadOptions as B, TokenRefreshHandler as Bi, RestoreSnapshotOptions as Bn, SandboxRuntimeHealth as Br, GpuLeaseCommandResult as Bt, CodeResultPart as C, SnapshotOptions as Ci, ProcessStatus as Cn, SandboxFleetTraceBundle as Cr, FleetExecDispatchOptions as Ct, CreateIntelligenceReportOptions as D, StartupOperation as Di, ProvisionEvent as Dn, SandboxFleetUsage as Dr, FleetPromptDispatchResult as Dt, CreateGpuLeaseOptions as E, StartupDiagnostics as Ei, PromptResult as En, SandboxFleetTraceOptions as Er, FleetPromptDispatchOptions as Et, DeleteOptions as F, TeeAttestationOptions as Fi, ReapExpiredSandboxFleetsOptions as Fn, SandboxPortBinding as Fr, GitConfig as Ft, DriverType as G, UploadProgress as Gi, RolloutScorer as Gn, SandboxTerminalManager as Gr, GpuLeaseStatus as Gt, DriveTurnOptions as H, TurnDriveResult as Hi, Rollout as Hn, SandboxTerminalAttachOptions as Hr, GpuLeaseExecResult as Ht, DevServerInfo as I, TeeAttestationReport as Ii, ReapExpiredSandboxFleetsResult as In, SandboxPortPreviewLink as Ir, GitDiff as It, EffectiveBackend as J, WaitForRolloutOptions as Ji, RolloutTurnPart as Jn, SandboxTraceBundle as Jr, InstalledTool as Jt, DurablePlan as K, UsageInfo as Ki, RolloutStartResult as Kn, SandboxTerminalRequestOptions as Kr, HostAgentDriverConfig as Kt, DirectoryPermission as L, TeeAttestationResponse as Li, ReconcileSandboxFleetsOptions as Ln, SandboxResourceUsage as Lr, GitStatus as Lt, CreateSandboxOptions as M, TaskSessionFileChange as Mi, PublicTemplateVersionInfo as Mn, SandboxIdentity as Mr, GitAuth as Mt, CreateSessionOptions as N, TaskSessionInfo as Ni, PublishPublicTemplateOptions as Nn, SandboxInfo as Nr, GitBranch as Nt, CreateRequestOptions as O, StorageConfig as Oi, ProvisionResult as On, SandboxFleetWorkspace as Or, ForkCounts as Ot, CreateTaskSessionOptions as P, TaskSessionProfile as Pi, PublishPublicTemplateVersionOptions as Pn, SandboxIntelligenceEnvelope as Pr, GitCommit as Pt, EgressPolicy as Q, WriteManyOptions as Qi, SandboxConnection as Qn, SandboxUser as Qr, IntelligenceReportSubjectType as Qt, DispatchPromptOptions as R, TeePublicKey as Ri, ReconcileSandboxFleetsResult as Rn, SandboxResources as Rr, GpuLease as Rt, CodeLanguage as S, SnapshotInfo as Si, ProcessSpawnOptions as Sn, SandboxFleetToken as Sr, FleetDriveTurnRequest as St, CompletedTurnResult as T, SshKeysManager as Ti, PromptOptions as Tn, SandboxFleetTraceExport as Tr, FleetMachineId as Tt, DriverConfig as U, UpdateUserOptions as Ui, RolloutChildResult as Un, SandboxTerminalCreateOptions as Ur, GpuLeaseManager as Ut, DownloadProgress as V, TokenUsage as Vi, ResumeOptions as Vn, SandboxStatus as Vr, GpuLeaseExecOptions as Vt, DriverInfo as W, UploadOptions as Wi, RolloutOptions as Wn, SandboxTerminalInfo as Wr, GpuLeaseProviderName as Wt, EffectiveBackendSource as X, WriteFileOptions as Xi, SSHCredentials as Xn, SandboxTraceExport as Xr, IntelligenceReportBudget as Xt, EffectiveBackendProfile as Y, WorkspaceOperationLookup as Yi, SSHCommandDescriptor as Yn, SandboxTraceEvent as Yr, IntelligenceReport as Yt, EgressManager as Z, WriteManyFile as Zi, SandboxConfig as Zn, SandboxTraceOptions as Zr, IntelligenceReportCompareTo as Zt, BranchOptions as _, SessionResultOptions as _i, ProcessInfo as _n, SandboxFleetMachineSpec as _r, FleetDispatchCancelResult as _t, AttachSandboxFleetMachineOptions as a, TerminalStreamHandlers as aa, SendSessionMessageOptions as ai, McpServerConfig as an, SandboxFleetArtifact as ar, FileReadBatchOptions as at, CodeExecutionOptions as b, SnapshotDeleteOutcome as bi, ProcessManager as bn, SandboxFleetOperationsSummary as br, FleetDispatchStreamOptions as bt, BackendInfo as c, BatchBackendStats as ca, SessionBackendCredentials as ci, NetworkConfig as cn, SandboxFleetDispatchFailureClass as cr, FileReadResult as ct, BatchBackend as d, BatchSidecarGroup as da, SessionForkOptions as di, PermissionLevel as dn, SandboxFleetDriverTimings as dr, FileTreeFile as dt, TerminalExitInfo as ea, ScopedTokenScope as ei, JsonValue as en, SandboxCreateReceipt as er, EventStreamOptions as et, BatchResult as f, BatchTaskUsage as fa, SessionInfo as fi, PermissionsManager as fn, SandboxFleetInfo as fr, FileTreeOptions as ft, BatchTaskResult as g, SessionMessageInputPart as gi, Process as gn, SandboxFleetMachineRecord as gr, FileWriteResult as gt, BatchTask as h, parseBackendType as ha, SessionMessage as hi, PreviewLinkWaitOptions as hn, SandboxFleetMachineMeteredUsage as hr, FileUsageResult as ht, AttachGpuLeaseOptions as i, TerminalStreamError as ia, SecretsManager as ii, ListSandboxOptions as in, SandboxEvent as ir, FileInfo as it, CreateSandboxFleetWithCoordinatorOptions as j, TaskSessionCommitResult as ji, PublicTemplateInfo as jn, SandboxFleetWorkspaceSnapshotResult as jr, GPU_LEASE_PROVIDER_NAMES as jt, CreateSandboxFleetOptions as k, SubscriptionInfo as ki, ProvisionStatus as kn, SandboxFleetWorkspaceReconcileResult as kr, ForkIdempotency as kt, BackendManager as l, BatchEvent as la, SessionEventStreamOptions as li, NetworkManager as ln, SandboxFleetDispatchResponse as lr, FileRenameResult as lt, BatchRunRequest as m, BackendType as ma, SessionListOptions as mi, PreviewLinkManager as mn, SandboxFleetMachine as mr, FileUsageOptions as mt, AccessPolicyRule as n, TerminalStream as na, SearchOptions as ni, ListOptions as nn, SandboxDeleteOutcome as nr, ExecOptions as nt, BackendCapabilities as o, TerminalStreamOptions as oa, SendSessionMessageRequest as oi, MintScopedTokenOptions as on, SandboxFleetArtifactSpec as or, FileReadBatchResult as ot, BatchRunOptions as p, PublicBatchRunRequest as pa, SessionInterruptOptions as pi, PreviewLinkInfo as pn, SandboxFleetIntelligenceEnvelope as pr, FileTreeResult as pt, DurablePlanDecisionResult as q, WaitForOptions as qi, RolloutStatus as qn, SandboxTerminals as qr, HostAgentRuntimeBackend as qt, AddUserOptions as r, TerminalStreamAuthFormat as ra, SecretInfo as ri, ListSandboxFleetOptions as rn, SandboxEnvironment as rr, ExecResult as rt, BackendConfig as s, TerminalStreamToken as sa, SentSessionMessage as si, MkdirOptions as sn, SandboxFleetCostEstimate as sr, FileReadError as st, AcceleratorKind as t, TerminalReadyInfo as ta, SearchMatch as ti, ListMessagesOptions as tn, SandboxDeleteAcknowledgement as tr, ExactProcessSpawnOptions as tt, BackendStatus as u, BatchEventDataMap as ua, SessionFailureReason as ui, NonHostAgentDriverConfig as un, SandboxFleetDriverCapability as ur, FileSystem as ut, ChunkedUploadOptions as v, SessionStatus as vi, ProcessListOptions as vn, SandboxFleetManifest as vr, FleetDispatchResultBuffer as vt, CommitTaskSessionOptions as w, SnapshotResult as wi, PromptInputPart as wn, SandboxFleetTraceEvent as wr, FleetExecDispatchResult as wt, CodeExecutionResult as x, SnapshotIdempotency as xi, ProcessSignal as xn, SandboxFleetPolicy as xr, FleetDriveTurnOutcome as xt, ChunkedUploadResult as y, SnapshotDeleteAcknowledgement as yi, ProcessLogEntry as yn, SandboxFleetManifestMachine as yr, FleetDispatchResultBufferOptions as yt, DispatchedSession as z, TeePublicKeyResponse as zi, RenameOptions as zn, SandboxRuntimeCapabilities as zr, GpuLeaseBilling as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",