@tangle-network/sandbox 0.10.3 → 0.10.5-develop.20260713235503.8f2cefc

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.
@@ -1254,18 +1254,19 @@ interface PromptOptions {
1254
1254
  /** AbortSignal for cancellation */
1255
1255
  signal?: AbortSignal;
1256
1256
  /**
1257
- * Stable execution id for cross-process reconnect. When passed, the same
1258
- * id on a retry lands on the same substrate execution — the platform
1259
- * replays its buffered event stream instead of spawning a duplicate run.
1260
- * Forwarded as the `X-Execution-ID` header. Omit to let the SDK extract
1261
- * one from the response stream's `execution.started` event (in-call
1262
- * reconnect only).
1257
+ * Stable execution id for tracing a first dispatch or selecting an existing
1258
+ * execution for replay. Forwarded as `X-Execution-ID` on a first dispatch.
1259
+ * When combined with `lastEventId`, the SDK replays the existing execution
1260
+ * without sending the prompt again. An execution ID alone does not make a
1261
+ * repeated POST idempotent; use `turnId` for application-level retries.
1262
+ * Omit to let the SDK read the id from `execution.started` for in-call
1263
+ * reconnects.
1263
1264
  */
1264
1265
  executionId?: string;
1265
1266
  /**
1266
- * Last event id the caller has already acknowledged. The substrate
1267
- * replays strictly after this id on reconnect. Forwarded as the
1268
- * `Last-Event-ID` header. Omit on first attempt.
1267
+ * Last event id the caller has already acknowledged. Requires `executionId`;
1268
+ * the SDK replays strictly after this id without dispatching a new prompt.
1269
+ * Omit on the first attempt.
1269
1270
  */
1270
1271
  lastEventId?: string;
1271
1272
  /**
@@ -1724,6 +1725,10 @@ interface SessionListOptions {
1724
1725
  }
1725
1726
  /** Options for creating a runtime agent session. */
1726
1727
  interface CreateSessionOptions {
1728
+ /** Stable caller-supplied idempotency key. Repeating create with the same
1729
+ * id returns the existing session without creating another workspace or
1730
+ * backend session. Omit to let the runtime mint a random id. */
1731
+ sessionId?: string;
1727
1732
  title?: string;
1728
1733
  parentId?: string;
1729
1734
  backend: BackendConfig;
@@ -2018,18 +2023,18 @@ type TurnDriveResult = {
2018
2023
  error: string;
2019
2024
  };
2020
2025
  /**
2021
- * Scope of a `box.mintScopedToken()` request. Each value narrows the token's
2022
- * authority compared to the full sandbox bearer. `session-runtime` permits
2023
- * only typed message, workspace-file, and terminal operations for one session.
2026
+ * Scope of a `box.mintScopedToken()` request. `session` and `project` mint
2027
+ * SessionGateway read tokens. `session-runtime` and `read-only` mint sidecar
2028
+ * capability tokens for browser-safe runtime access.
2024
2029
  */
2025
2030
  type ScopedTokenScope = "session" | "session-runtime" | "project" | "read-only";
2026
2031
  /**
2027
2032
  * Options for `box.mintScopedToken()`.
2028
2033
  */
2029
2034
  interface MintScopedTokenOptions {
2030
- /** Scope to mint. `session` narrows to a single session id; `project`
2031
- * grants read access to the whole sandbox; `read-only` is a project
2032
- * scope without prompt-dispatch capabilities. */
2035
+ /** Scope to mint. `session` and `project` are for SessionGateway streams;
2036
+ * `session-runtime` permits typed files, messages, and terminals for one
2037
+ * session; `read-only` permits read-only runtime requests. */
2033
2038
  scope: ScopedTokenScope;
2034
2039
  /** Required when `scope` is `session` or `session-runtime`. */
2035
2040
  sessionId?: string;
@@ -2039,18 +2044,17 @@ interface MintScopedTokenOptions {
2039
2044
  ttlMinutes?: number;
2040
2045
  }
2041
2046
  /**
2042
- * Returned by `box.mintScopedToken()`. The token verifies against the
2043
- * same sidecar middleware that already gates ProductTokenIssuer-issued
2044
- * JWTs — no new sidecar surface.
2047
+ * Returned by `box.mintScopedToken()`. Use session/project tokens with
2048
+ * `SessionGatewayClient`; use session-runtime/read-only tokens with
2049
+ * `SandboxRuntimeClient`.
2045
2050
  */
2046
2051
  interface ScopedToken {
2047
- /** Bearer token (JWT). Send as `Authorization: Bearer <token>` or
2048
- * via the `EventSource` URL with token query param. */
2052
+ /** Bearer token (JWT) for the consumer selected by `scope`. */
2049
2053
  token: string;
2050
2054
  /** When the token expires. */
2051
2055
  expiresAt: Date;
2052
- /** The runtime's direct edge URL. Matches `SandboxConnection.runtimeUrl`
2053
- * (the SDK's canonical public name for this URL). */
2056
+ /** The runtime's direct edge URL. Use with runtime scopes; session/project
2057
+ * tokens instead connect to the Sandbox API's `/session` WebSocket. */
2054
2058
  runtimeUrl: string;
2055
2059
  /** Browser-safe Sandbox API proxy base for terminal and runtime requests. */
2056
2060
  sidecarProxyUrl: string;
@@ -2582,7 +2586,7 @@ interface SandboxFleetArtifactSpec {
2582
2586
  */
2583
2587
  path: string;
2584
2588
  label?: string;
2585
- /** Maximum allowed artifact content size in bytes. Defaults to 5 MiB. */
2589
+ /** Maximum allowed artifact content size in bytes. Defaults to 10 MiB. */
2586
2590
  maxBytes?: number;
2587
2591
  }
2588
2592
  interface SandboxFleetArtifact extends SandboxFleetArtifactSpec {
@@ -2915,6 +2919,100 @@ interface BranchOptions {
2915
2919
  */
2916
2920
  metadata?: Record<string, unknown>;
2917
2921
  }
2922
+ /**
2923
+ * One message part of the agent turn sent to every rollout child.
2924
+ * `type` selects the part kind (e.g. `"text"`); the remaining fields are
2925
+ * validated structurally by the child's agent runtime.
2926
+ */
2927
+ type RolloutTurnPart = {
2928
+ type: string;
2929
+ } & Record<string, unknown>;
2930
+ /**
2931
+ * How each rollout child is scored after its turn completes.
2932
+ *
2933
+ * `command` runs inside the child's sandbox: exit 0 passes and stdout is
2934
+ * parsed as the numeric score (highest score wins). A non-zero exit records
2935
+ * the exit code with no score; exit 0 with non-numeric stdout is reported as
2936
+ * a per-child error rather than silently ranking score-less.
2937
+ */
2938
+ type RolloutScorer = {
2939
+ type: "none";
2940
+ } | {
2941
+ type: "command";
2942
+ command: string;
2943
+ };
2944
+ /**
2945
+ * Options for {@link SandboxInstance.rollout} — speculative rollouts.
2946
+ */
2947
+ interface RolloutOptions {
2948
+ /** Number of copy-on-write children to branch (1–8). */
2949
+ n: number;
2950
+ /** The agent-turn message parts sent identically to every child. */
2951
+ parts: RolloutTurnPart[];
2952
+ /** Optional per-child scorer. Defaults to no scoring. */
2953
+ scorer?: RolloutScorer;
2954
+ }
2955
+ /**
2956
+ * Rollout lifecycle. `partial` means some children produced results while
2957
+ * others failed or timed out — failed children appear as error entries,
2958
+ * never dropped.
2959
+ */
2960
+ type RolloutStatus = "running" | "completed" | "partial" | "failed";
2961
+ /** One child's outcome inside a rollout. */
2962
+ interface RolloutChildResult {
2963
+ /** The child sandbox id — a first-class sandbox the caller may keep. */
2964
+ sandboxId: string;
2965
+ /** Final assistant text of the turn. Absent when the turn failed. */
2966
+ output?: string;
2967
+ /** Why this child produced no usable result (turn failure or timeout). */
2968
+ error?: string;
2969
+ /** Scorer command exit code. Present only when the scorer ran. */
2970
+ exitCode?: number;
2971
+ /** Parsed scorer stdout. Present only when the scorer exited 0 with a number. */
2972
+ score?: number;
2973
+ /** Wall-clock duration of this child's turn (and scorer) in ms. */
2974
+ durationMs: number;
2975
+ }
2976
+ /**
2977
+ * Immediate response of `POST /v1/sandboxes/{id}/rollouts`: the children
2978
+ * exist and their turns are running. Poll {@link SandboxInstance.getRollout}
2979
+ * (or use {@link SandboxInstance.waitForRollout}) for results.
2980
+ */
2981
+ interface RolloutStartResult {
2982
+ rolloutId: string;
2983
+ status: RolloutStatus;
2984
+ /** Child sandbox ids, in branch order. */
2985
+ children: string[];
2986
+ /** Time the copy-on-write branch of all children took, in ms. */
2987
+ materializeTimeMs?: number;
2988
+ /** Per-child wall-clock turn deadline the server applied, in ms. */
2989
+ turnTimeoutMs?: number;
2990
+ }
2991
+ /** Full poll-state of a rollout. */
2992
+ interface Rollout extends RolloutStartResult {
2993
+ /** One entry per child once the rollout settles; empty while running. */
2994
+ results: RolloutChildResult[];
2995
+ /** Child sandboxId with the highest numeric score (command scorer only). */
2996
+ winner?: string;
2997
+ /** Rollout-level failure, distinct from per-child errors. */
2998
+ error?: string;
2999
+ createdAt?: string;
3000
+ updatedAt?: string;
3001
+ }
3002
+ /**
3003
+ * Options for {@link SandboxInstance.waitForRollout}.
3004
+ */
3005
+ interface WaitForRolloutOptions {
3006
+ /**
3007
+ * Timeout in milliseconds (default: 360000). Should exceed the server's
3008
+ * per-child turn deadline (`ROLLOUT_TURN_TIMEOUT_MS`, default 300000).
3009
+ */
3010
+ timeoutMs?: number;
3011
+ /** Poll interval in milliseconds (default: 2000). */
3012
+ pollIntervalMs?: number;
3013
+ /** AbortSignal for cancellation. */
3014
+ signal?: AbortSignal;
3015
+ }
2918
3016
  /**
2919
3017
  * Infrastructure driver identifier.
2920
3018
  *
@@ -4325,6 +4423,13 @@ interface FileWriteResult {
4325
4423
  /** Encoding echoed by runtimes that include it in write responses. */
4326
4424
  encoding?: "utf8" | "base64";
4327
4425
  }
4426
+ /** Metadata returned after a successful file or directory rename. */
4427
+ interface FileRenameResult {
4428
+ /** Previous path, relative to the workspace when applicable. */
4429
+ sourcePath: string;
4430
+ /** New path, relative to the workspace when applicable. */
4431
+ destinationPath: string;
4432
+ }
4328
4433
  /**
4329
4434
  * Options for uploading files.
4330
4435
  */
@@ -4396,6 +4501,11 @@ interface DeleteOptions {
4396
4501
  /** Agent session whose workspace and change history receive the deletion. */
4397
4502
  sessionId?: string;
4398
4503
  }
4504
+ /** Options for {@link FileSystem.rename}. */
4505
+ interface RenameOptions {
4506
+ /** Agent session whose workspace and change history receive the rename. */
4507
+ sessionId?: string;
4508
+ }
4399
4509
  /**
4400
4510
  * File system operations for sandboxes. Access via `sandbox.fs`.
4401
4511
  *
@@ -4640,6 +4750,27 @@ interface FileSystem {
4640
4750
  * ```
4641
4751
  */
4642
4752
  delete(path: string, options?: DeleteOptions): Promise<void>;
4753
+ /**
4754
+ * Rename a file or directory inside the sandbox without transferring its contents.
4755
+ * An existing regular file or symbolic link at the destination is replaced atomically.
4756
+ * Replacing a non-empty directory fails, as does moving across filesystems.
4757
+ *
4758
+ * @param sourcePath - Current path
4759
+ * @param destinationPath - New path
4760
+ * @param options - Session workspace options
4761
+ * @returns The resolved source and destination paths
4762
+ * @throws NotFoundError if the source or destination parent does not exist
4763
+ * @throws Error if the destination is a non-empty directory or the paths span filesystems
4764
+ *
4765
+ * @example
4766
+ * ```typescript
4767
+ * await box.fs.rename(
4768
+ * "/workspace/assets/logo.tmp",
4769
+ * "/workspace/assets/logo.png",
4770
+ * );
4771
+ * ```
4772
+ */
4773
+ rename(sourcePath: string, destinationPath: string, options?: RenameOptions): Promise<FileRenameResult>;
4643
4774
  /**
4644
4775
  * Create a directory.
4645
4776
  *
@@ -4749,4 +4880,4 @@ interface CodeExecutionOptions {
4749
4880
  idempotencyKey?: string;
4750
4881
  }
4751
4882
  //#endregion
4752
- export { EventStreamOptions as $, SandboxFleetPolicy as $n, StartupOperation as $r, NetworkConfig as $t, CommitTaskSessionOptions as A, AgentProfileMcpServer as Ai, RunCodeOptions as An, SandboxUser as Ar, GpuLeaseCommandResult as At, CreateTaskSessionOptions as B, defineGitHubResource as Bi, SandboxFleetDispatchFailureClass as Bn, SessionBackendCredentials as Br, IntelligenceReport as Bt, BatchTaskUsage as C, WriteManyFile as Ci, PublishPublicTemplateVersionOptions as Cn, SandboxTerminalInfo as Cr, GitBranch as Ct, CodeLanguage as D, AgentProfileConfidential as Di, ReconcileSandboxFleetsResult as Dn, SandboxTraceEvent as Dr, GitStatus as Dt, CodeExecutionResult as E, AgentProfileCapabilities as Ei, ReconcileSandboxFleetsOptions as En, SandboxTraceBundle as Er, GitDiff as Et, CreateSandboxFleetOptions as F, AgentProfileResources as Fi, SandboxEnvironment as Fn, SecretInfo as Fr, GpuLeaseStatus as Ft, DownloadOptions as G, SandboxFleetIntelligenceEnvelope as Gn, SessionMessage as Gr, JsonValue as Gt, DirectoryPermission as H, mergeAgentProfiles as Hi, SandboxFleetDriverCapability as Hn, SessionForkOptions as Hr, IntelligenceReportCompareTo as Ht, CreateSandboxFleetTokenOptions as I, AgentProfileValidationIssue as Ii, SandboxEvent as In, SecretsManager as Ir, GpuType as It, DriverConfig as J, SandboxFleetMachineRecord as Jn, SnapshotInfo as Jr, ListSandboxFleetOptions as Jt, DownloadProgress as K, SandboxFleetMachine as Kn, SessionMessageInputPart as Kr, ListMessagesOptions as Kt, CreateSandboxFleetWithCoordinatorOptions as L, AgentProfileValidationResult as Li, SandboxFleetArtifact as Ln, SendSessionMessageOptions as Lr, HostAgentDriverConfig as Lt, CreateGpuLeaseOptions as M, AgentProfilePermissionValue as Mi, SSHCredentials as Mn, ScopedTokenScope as Mr, GpuLeaseExecResult as Mt, CreateIntelligenceReportOptions as N, AgentProfilePrompt as Ni, SandboxClientConfig as Nn, SearchMatch as Nr, GpuLeaseManager as Nt, CodeResult as O, AgentProfileConnection as Oi, RestoreSnapshotOptions as On, SandboxTraceExport as Or, GpuLease as Ot, CreateRequestOptions as P, AgentProfileResourceRef as Pi, SandboxConnection as Pn, SearchOptions as Pr, GpuLeaseProviderName as Pt, EgressPolicy as Q, SandboxFleetOperationsSummary as Qn, StartupDiagnostics as Qr, MkdirOptions as Qt, CreateSandboxOptions as R, AgentSubagentProfile as Ri, SandboxFleetArtifactSpec as Rn, SendSessionMessageRequest as Rr, HostAgentRuntimeBackend as Rt, BatchTaskResult as S, WriteFileOptions as Si, PublishPublicTemplateOptions as Sn, SandboxTerminalCreateOptions as Sr, GitAuth as St, CodeExecutionOptions as T, AgentProfile as Ti, ReapExpiredSandboxFleetsResult as Tn, SandboxTerminalRequestOptions as Tr, GitConfig as Tt, DispatchPromptOptions as U, SandboxFleetDriverTimings as Un, SessionInfo as Ur, IntelligenceReportSubjectType as Ut, DeleteOptions as V, defineInlineResource as Vi, SandboxFleetDispatchResponse as Vn, SessionEventStreamOptions as Vr, IntelligenceReportBudget as Vt, DispatchedSession as W, SandboxFleetInfo as Wn, SessionListOptions as Wr, IntelligenceReportWindow as Wt, DriverType as X, SandboxFleetManifest as Xn, SnapshotResult as Xr, McpServerConfig as Xt, DriverInfo as Y, SandboxFleetMachineSpec as Yn, SnapshotOptions as Yr, ListSandboxOptions as Yt, EgressManager as Z, SandboxFleetManifestMachine as Zn, SshKeysManager as Zr, MintScopedTokenOptions as Zt, BatchResult as _, UpdateUserOptions as _i, ProvisionResult as _n, SandboxResources as _r, FleetExecDispatchResult as _t, AttachSandboxFleetMachineOptions as a, TaskSessionCommitResult as ai, PreviewLinkManager as an, SandboxFleetUsage as ar, FileReadError as at, BatchSidecarGroup as b, UsageInfo as bi, PublicTemplateInfo as bn, SandboxRuntimeProfileList as br, FleetPromptDispatchResult as bt, BackendInfo as c, TaskSessionProfile as ci, ProcessLogEntry as cn, SandboxFleetWorkspaceRestoreResult as cr, FileTreeFile as ct, BackendType as d, TeeAttestationResponse as di, ProcessSpawnOptions as dn, SandboxIntelligenceEnvelope as dr, FileWriteResult as dt, StorageConfig as ei, NetworkManager as en, SandboxFleetToken as er, ExecOptions as et, BatchBackend as f, TeePublicKey as fi, ProcessStatus as fn, SandboxPermissionsConfig as fr, FleetDispatchCancelResult as ft, BatchOptions as g, TurnDriveResult as gi, ProvisionEvent as gn, SandboxResourceUsage as gr, FleetExecDispatchOptions as gt, BatchEventDataMap as h, ToolsConfig as hi, PromptResult as hn, SandboxProfileSummary as hr, FleetDispatchStreamOptions as ht, AttachGpuLeaseOptions as i, TaskSessionChanges as ii, PreviewLinkInfo as in, SandboxFleetTraceOptions as ir, FileReadBatchResult as it, CompletedTurnResult as j, AgentProfileModelHints as ji, SSHCommandDescriptor as jn, ScopedToken as jr, GpuLeaseExecOptions as jt, CodeResultPart as k, AgentProfileFileMount as ki, ResumeOptions as kn, SandboxTraceOptions as kr, GpuLeaseBilling as kt, BackendManager as l, TeeAttestationOptions as li, ProcessManager as ln, SandboxFleetWorkspaceSnapshotResult as lr, FileTreeOptions as lt, BatchEvent as m, TokenRefreshHandler as mi, PromptOptions as mn, SandboxPortPreviewLink as mr, FleetDispatchResultBufferOptions as mt, AccessPolicyRule as n, TaskOptions as ni, PermissionLevel as nn, SandboxFleetTraceEvent as nr, FileInfo as nt, BackendCapabilities as o, TaskSessionFileChange as oi, Process as on, SandboxFleetWorkspace as or, FileReadResult as ot, BatchBackendStats as p, TeePublicKeyResponse as pi, PromptInputPart as pn, SandboxPortBinding as pr, FleetDispatchResultBuffer as pt, DriveTurnOptions as q, SandboxFleetMachineMeteredUsage as qn, SessionStatus as qr, ListOptions as qt, AddUserOptions as r, TaskResult as ri, PermissionsManager as rn, SandboxFleetTraceExport as rr, FileReadBatchOptions as rt, BackendConfig as s, TaskSessionInfo as si, ProcessInfo as sn, SandboxFleetWorkspaceReconcileResult as sr, FileSystem as st, AcceleratorKind as t, SubscriptionInfo as ti, NonHostAgentDriverConfig as tn, SandboxFleetTraceBundle as tr, ExecResult as tt, BackendStatus as u, TeeAttestationReport as ui, ProcessSignal as un, SandboxInfo as ur, FileTreeResult as ut, BatchRunOptions as v, UploadOptions as vi, ProvisionStatus as vn, SandboxRuntimeHealth as vr, FleetMachineId as vt, BranchOptions as w, WriteManyOptions as wi, ReapExpiredSandboxFleetsOptions as wn, SandboxTerminalManager as wr, GitCommit as wt, BatchTask as x, WaitForOptions as xi, PublicTemplateVersionInfo as xn, SandboxStatus as xr, GPU_LEASE_PROVIDER_NAMES as xt, BatchRunRequest as y, UploadProgress as yi, ProvisionStep as yn, SandboxRuntimeProfile as yr, FleetPromptDispatchOptions as yt, CreateSessionOptions as z, defineAgentProfile as zi, SandboxFleetCostEstimate as zn, SentSessionMessage as zr, InstalledTool as zt };
4883
+ export { EventStreamOptions as $, SandboxFleetInfo as $n, SessionListOptions as $r, MkdirOptions as $t, CommitTaskSessionOptions as A, WaitForOptions as Ai, RestoreSnapshotOptions as An, SandboxStatus as Ar, GpuLeaseBilling as At, CreateTaskSessionOptions as B, AgentProfileMcpServer as Bi, SSHCommandDescriptor as Bn, ScopedToken as Br, InstalledTool as Bt, BatchTaskUsage as C, TokenRefreshHandler as Ci, PublishPublicTemplateOptions as Cn, SandboxPortPreviewLink as Cr, GitAuth as Ct, CodeLanguage as D, UploadOptions as Di, ReconcileSandboxFleetsOptions as Dn, SandboxRuntimeHealth as Dr, GitDiff as Dt, CodeExecutionResult as E, UpdateUserOptions as Ei, ReapExpiredSandboxFleetsResult as En, SandboxResources as Er, GitConfig as Et, CreateSandboxFleetOptions as F, AgentProfile as Fi, RolloutScorer as Fn, SandboxTraceBundle as Fr, GpuLeaseProviderName as Ft, DownloadOptions as G, AgentProfileResources as Gi, SandboxEvent as Gn, SecretsManager as Gr, IntelligenceReportWindow as Gt, DirectoryPermission as H, AgentProfilePermissionValue as Hi, SandboxClientConfig as Hn, SearchMatch as Hr, IntelligenceReportBudget as Ht, CreateSandboxFleetTokenOptions as I, AgentProfileCapabilities as Ii, RolloutStartResult as In, SandboxTraceEvent as Ir, GpuLeaseStatus as It, DriverConfig as J, AgentSubagentProfile as Ji, SandboxFleetCostEstimate as Jn, SentSessionMessage as Jr, ListOptions as Jt, DownloadProgress as K, AgentProfileValidationIssue as Ki, SandboxFleetArtifact as Kn, SendSessionMessageOptions as Kr, JsonValue as Kt, CreateSandboxFleetWithCoordinatorOptions as L, AgentProfileConfidential as Li, RolloutStatus as Ln, SandboxTraceExport as Lr, GpuType as Lt, CreateGpuLeaseOptions as M, WriteFileOptions as Mi, Rollout as Mn, SandboxTerminalInfo as Mr, GpuLeaseExecOptions as Mt, CreateIntelligenceReportOptions as N, WriteManyFile as Ni, RolloutChildResult as Nn, SandboxTerminalManager as Nr, GpuLeaseExecResult as Nt, CodeResult as O, UploadProgress as Oi, ReconcileSandboxFleetsResult as On, SandboxRuntimeProfile as Or, GitStatus as Ot, CreateRequestOptions as P, WriteManyOptions as Pi, RolloutOptions as Pn, SandboxTerminalRequestOptions as Pr, GpuLeaseManager as Pt, EgressPolicy as Q, mergeAgentProfiles as Qi, SandboxFleetDriverTimings as Qn, SessionInfo as Qr, MintScopedTokenOptions as Qt, CreateSandboxOptions as R, AgentProfileConnection as Ri, RolloutTurnPart as Rn, SandboxTraceOptions as Rr, HostAgentDriverConfig as Rt, BatchTaskResult as S, TeePublicKeyResponse as Si, PublicTemplateVersionInfo as Sn, SandboxPortBinding as Sr, GPU_LEASE_PROVIDER_NAMES as St, CodeExecutionOptions as T, TurnDriveResult as Ti, ReapExpiredSandboxFleetsOptions as Tn, SandboxResourceUsage as Tr, GitCommit as Tt, DispatchPromptOptions as U, AgentProfilePrompt as Ui, SandboxConnection as Un, SearchOptions as Ur, IntelligenceReportCompareTo as Ut, DeleteOptions as V, AgentProfileModelHints as Vi, SSHCredentials as Vn, ScopedTokenScope as Vr, IntelligenceReport as Vt, DispatchedSession as W, AgentProfileResourceRef as Wi, SandboxEnvironment as Wn, SecretInfo as Wr, IntelligenceReportSubjectType as Wt, DriverType as X, defineGitHubResource as Xi, SandboxFleetDispatchResponse as Xn, SessionEventStreamOptions as Xr, ListSandboxOptions as Xt, DriverInfo as Y, defineAgentProfile as Yi, SandboxFleetDispatchFailureClass as Yn, SessionBackendCredentials as Yr, ListSandboxFleetOptions as Yt, EgressManager as Z, defineInlineResource as Zi, SandboxFleetDriverCapability as Zn, SessionForkOptions as Zr, McpServerConfig as Zt, BatchResult as _, TaskSessionProfile as _i, ProvisionEvent as _n, SandboxFleetWorkspaceRestoreResult as _r, FleetExecDispatchOptions as _t, AttachSandboxFleetMachineOptions as a, SnapshotResult as ai, PreviewLinkInfo as an, SandboxFleetManifest as ar, FileReadError as at, BatchSidecarGroup as b, TeeAttestationResponse as bi, ProvisionStep as bn, SandboxIntelligenceEnvelope as br, FleetPromptDispatchOptions as bt, BackendInfo as c, StartupOperation as ci, ProcessInfo as cn, SandboxFleetPolicy as cr, FileSystem as ct, BackendType as d, TaskOptions as di, ProcessSignal as dn, SandboxFleetTraceEvent as dr, FileTreeResult as dt, SessionMessage as ei, NetworkConfig as en, SandboxFleetIntelligenceEnvelope as er, ExecOptions as et, BatchBackend as f, TaskResult as fi, ProcessSpawnOptions as fn, SandboxFleetTraceExport as fr, FileWriteResult as ft, BatchOptions as g, TaskSessionInfo as gi, PromptResult as gn, SandboxFleetWorkspaceReconcileResult as gr, FleetDispatchStreamOptions as gt, BatchEventDataMap as h, TaskSessionFileChange as hi, PromptOptions as hn, SandboxFleetWorkspace as hr, FleetDispatchResultBufferOptions as ht, AttachGpuLeaseOptions as i, SnapshotOptions as ii, PermissionsManager as in, SandboxFleetMachineSpec as ir, FileReadBatchResult as it, CompletedTurnResult as j, WaitForRolloutOptions as ji, ResumeOptions as jn, SandboxTerminalCreateOptions as jr, GpuLeaseCommandResult as jt, CodeResultPart as k, UsageInfo as ki, RenameOptions as kn, SandboxRuntimeProfileList as kr, GpuLease as kt, BackendManager as l, StorageConfig as li, ProcessLogEntry as ln, SandboxFleetToken as lr, FileTreeFile as lt, BatchEvent as m, TaskSessionCommitResult as mi, PromptInputPart as mn, SandboxFleetUsage as mr, FleetDispatchResultBuffer as mt, AccessPolicyRule as n, SessionStatus as ni, NonHostAgentDriverConfig as nn, SandboxFleetMachineMeteredUsage as nr, FileInfo as nt, BackendCapabilities as o, SshKeysManager as oi, PreviewLinkManager as on, SandboxFleetManifestMachine as or, FileReadResult as ot, BatchBackendStats as p, TaskSessionChanges as pi, ProcessStatus as pn, SandboxFleetTraceOptions as pr, FleetDispatchCancelResult as pt, DriveTurnOptions as q, AgentProfileValidationResult as qi, SandboxFleetArtifactSpec as qn, SendSessionMessageRequest as qr, ListMessagesOptions as qt, AddUserOptions as r, SnapshotInfo as ri, PermissionLevel as rn, SandboxFleetMachineRecord as rr, FileReadBatchOptions as rt, BackendConfig as s, StartupDiagnostics as si, Process as sn, SandboxFleetOperationsSummary as sr, FileRenameResult as st, AcceleratorKind as t, SessionMessageInputPart as ti, NetworkManager as tn, SandboxFleetMachine as tr, ExecResult as tt, BackendStatus as u, SubscriptionInfo as ui, ProcessManager as un, SandboxFleetTraceBundle as ur, FileTreeOptions as ut, BatchRunOptions as v, TeeAttestationOptions as vi, ProvisionResult as vn, SandboxFleetWorkspaceSnapshotResult as vr, FleetExecDispatchResult as vt, BranchOptions as w, ToolsConfig as wi, PublishPublicTemplateVersionOptions as wn, SandboxProfileSummary as wr, GitBranch as wt, BatchTask as x, TeePublicKey as xi, PublicTemplateInfo as xn, SandboxPermissionsConfig as xr, FleetPromptDispatchResult as xt, BatchRunRequest as y, TeeAttestationReport as yi, ProvisionStatus as yn, SandboxInfo as yr, FleetMachineId as yt, CreateSessionOptions as z, AgentProfileFileMount as zi, RunCodeOptions as zn, SandboxUser as zr, HostAgentRuntimeBackend as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.10.3",
3
+ "version": "0.10.5-develop.20260713235503.8f2cefc",
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",