@tangle-network/sandbox 0.0.0-develop.20260610125345.cbdf7b2 → 0.0.0-develop.20260610200051.84d8326

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.
@@ -668,6 +668,16 @@ interface CreateSandboxOptions {
668
668
  * ```
669
669
  */
670
670
  network?: NetworkConfig;
671
+ /**
672
+ * Egress firewall policy for controlling outbound internet access.
673
+ *
674
+ * When omitted on a team sandbox, the team's default egress policy is
675
+ * inherited. When omitted on a personal sandbox, the platform default
676
+ * (`{ mode: "open" }`) is used.
677
+ *
678
+ * @see {@link EgressPolicy}
679
+ */
680
+ egressPolicy?: EgressPolicy;
671
681
  /**
672
682
  * Git repository to clone at sandbox creation.
673
683
  *
@@ -956,6 +966,10 @@ interface SandboxInfo {
956
966
  expiresAt?: Date;
957
967
  /** Error message if status is 'failed' */
958
968
  error?: string;
969
+ /** Resolved egress policy */
970
+ egressPolicy?: EgressPolicy;
971
+ /** Source of the egress policy */
972
+ egressPolicySource?: "sandbox" | "team" | "platform";
959
973
  }
960
974
  /**
961
975
  * Raw TEE attestation evidence returned by the sandbox runtime.
@@ -1768,6 +1782,53 @@ interface DispatchedSession {
1768
1782
  * dispatch was a no-op (idempotency). */
1769
1783
  alreadyExisted: boolean;
1770
1784
  }
1785
+ /**
1786
+ * Options for `box.driveTurn()` — one settle/poll/dispatch pass over a
1787
+ * detached turn. Inherits the full prompt surface (`backend`, `model`,
1788
+ * `turnId`, …) so the dispatch leg configures the run exactly like
1789
+ * `box.dispatchPrompt()` would.
1790
+ */
1791
+ interface DriveTurnOptions extends DispatchPromptOptions {
1792
+ /** Deterministic session id — required, it is the resume key. Every
1793
+ * tick for the same logical turn MUST pass the same id so a re-invoke
1794
+ * after a crash finds the in-flight session instead of starting a
1795
+ * second agent run. */
1796
+ sessionId: string;
1797
+ /** Turn idempotency key for the platform's completed-turn cache.
1798
+ * Defaults to `sessionId`, which is correct for the one-turn-per-
1799
+ * session shape detached drivers use. */
1800
+ turnId?: string;
1801
+ /** Wall-clock cap in milliseconds, measured from the session's
1802
+ * `startedAt` (falling back to `createdAt`). When a still-running
1803
+ * session exceeds it, `driveTurn` cancels the session and reports
1804
+ * `state: "failed"` — bounding unattended runs that would otherwise
1805
+ * stall forever (e.g. an interactive question nothing will answer).
1806
+ * Omit for no cap. */
1807
+ wallCapMs?: number;
1808
+ }
1809
+ /**
1810
+ * Returned by `box.driveTurn()` — where the detached turn stands after
1811
+ * one pass. Discriminated on `state`:
1812
+ * - `completed` — the turn finished with a text payload; `result` is
1813
+ * the full cached AgentExecutionResult-shape record.
1814
+ * - `running` — the session is queued or executing; re-invoke after a
1815
+ * delay of your choosing.
1816
+ * - `failed` — terminal and deterministic: a failed/cancelled session,
1817
+ * a wall-cap cancellation, or a completed turn that carried no text.
1818
+ * Re-invoking will not change the outcome.
1819
+ */
1820
+ type TurnDriveResult = {
1821
+ state: "completed"; /** Final assistant text of the turn. */
1822
+ text: string; /** The full turn payload (text, toolInvocations, tokenUsage, etc.). */
1823
+ result: Record<string, unknown>;
1824
+ } | {
1825
+ state: "running"; /** When the session began executing, if the runtime reported it. */
1826
+ startedAt?: Date; /** Milliseconds since `startedAt` at the moment of the poll. */
1827
+ elapsedMs?: number;
1828
+ } | {
1829
+ state: "failed"; /** Human-readable reason the turn is deterministically failed. */
1830
+ error: string;
1831
+ };
1771
1832
  /**
1772
1833
  * Scope of a `box.mintScopedToken()` request. Each value narrows the
1773
1834
  * token's authority compared to the full sandbox bearer.
@@ -2669,13 +2730,14 @@ interface DriverInfo {
2669
2730
  * - `"hermes"` — Hermes inference-router agent.
2670
2731
  * - `"forge"` — Forge (forgecode.dev, tailcallhq) multi-provider coding agent.
2671
2732
  * - `"openclaw"` — OpenClaw dispatcher that routes to claude-cli/codex-cli/gemini-cli.
2733
+ * - `"nanoclaw"` — NanoClaw local socket bridge backend.
2672
2734
  * - `"acp"` — Agent Client Protocol bridge — fronts any ACP-compliant
2673
2735
  * agent binary (claude-agent-acp, codex-acp, gemini, openclaw acp).
2674
2736
  * Pick the backing agent via config.subAgent.
2675
2737
  * - `"cursor"` — Cursor Agent SDK local/cloud backend.
2676
2738
  * - `"cli-base"` — Minimal CLI-only (no AI agent).
2677
2739
  */
2678
- type BackendType = "opencode" | "claude-code" | "kimi-code" | "codex" | "amp" | "factory-droids" | "pi" | "hermes" | "forge" | "openclaw" | "acp" | "cursor" | "cli-base";
2740
+ type BackendType = "opencode" | "claude-code" | "kimi-code" | "codex" | "amp" | "factory-droids" | "pi" | "hermes" | "forge" | "openclaw" | "nanoclaw" | "acp" | "cursor" | "cli-base";
2679
2741
  /**
2680
2742
  * MCP (Model Context Protocol) server configuration.
2681
2743
  */
@@ -2924,6 +2986,89 @@ interface NetworkConfig {
2924
2986
  */
2925
2987
  ports?: number[];
2926
2988
  }
2989
+ /**
2990
+ * Egress firewall policy for controlling outbound internet access.
2991
+ *
2992
+ * Applied at sandbox creation and mutable at runtime via `box.egress.update()`.
2993
+ * The policy is enforced by the sandbox-side iron-proxy (layer-7 HTTP/HTTPS
2994
+ * filter) and is independent of `network` (which controls layer-3/4 rules).
2995
+ *
2996
+ * @example Open mode — default, all outbound allowed
2997
+ * ```typescript
2998
+ * egressPolicy: { mode: "open" }
2999
+ * ```
3000
+ *
3001
+ * @example Strict mode — only allowlisted domains
3002
+ * ```typescript
3003
+ * egressPolicy: {
3004
+ * mode: "strict",
3005
+ * allowDomains: ["api.github.com", "pypi.org"],
3006
+ * }
3007
+ * ```
3008
+ *
3009
+ * @example Blocked mode — no outbound internet
3010
+ * ```typescript
3011
+ * egressPolicy: { mode: "blocked" }
3012
+ * ```
3013
+ */
3014
+ interface EgressPolicy {
3015
+ /** Egress mode */
3016
+ mode: "open" | "strict" | "blocked";
3017
+ /**
3018
+ * Additional allowed domains in strict mode.
3019
+ * These are merged with the platform default allowlist.
3020
+ * Ignored in `open` and `blocked` modes.
3021
+ */
3022
+ allowDomains?: string[];
3023
+ /**
3024
+ * Denied domains. Only enforced when the proxy supports denylist transforms.
3025
+ * @deprecated Deferred — not supported by iron-proxy v0.41.
3026
+ */
3027
+ denyDomains?: string[];
3028
+ /**
3029
+ * Allowed CIDR ranges. Only enforced when the proxy supports CIDR passthrough.
3030
+ * @deprecated Deferred — not supported by iron-proxy v0.41.
3031
+ */
3032
+ allowCidrs?: string[];
3033
+ }
3034
+ /**
3035
+ * Egress policy manager for runtime egress configuration.
3036
+ * Access via `sandbox.egress`.
3037
+ *
3038
+ * @example Read current egress policy
3039
+ * ```typescript
3040
+ * const policy = await box.egress.get();
3041
+ * console.log(policy.mode); // "open" | "strict" | "blocked"
3042
+ * ```
3043
+ *
3044
+ * @example Update egress policy at runtime
3045
+ * ```typescript
3046
+ * await box.egress.update({ mode: "strict", allowDomains: ["api.github.com"] });
3047
+ * ```
3048
+ */
3049
+ interface EgressManager {
3050
+ /**
3051
+ * Get the sandbox's current egress policy.
3052
+ *
3053
+ * @returns Resolved egress policy and its source
3054
+ */
3055
+ get(): Promise<{
3056
+ policy: EgressPolicy;
3057
+ source: "sandbox" | "team" | "platform";
3058
+ }>;
3059
+ /**
3060
+ * Update the sandbox's egress policy at runtime.
3061
+ *
3062
+ * The proxy container is restarted to apply the new policy (~2–5s downtime).
3063
+ *
3064
+ * @param policy - New egress policy to apply
3065
+ * @returns Updated policy and source
3066
+ */
3067
+ update(policy: EgressPolicy): Promise<{
3068
+ policy: EgressPolicy;
3069
+ source: "sandbox" | "team" | "platform";
3070
+ }>;
3071
+ }
2927
3072
  /**
2928
3073
  * Network manager for runtime network configuration.
2929
3074
  * Access via `sandbox.network`.
@@ -4806,10 +4951,27 @@ declare class SandboxInstance {
4806
4951
  * ```
4807
4952
  */
4808
4953
  get network(): NetworkManager;
4954
+ /**
4955
+ * Egress policy manager for controlling outbound internet access.
4956
+ *
4957
+ * @example Read current egress policy
4958
+ * ```typescript
4959
+ * const { policy, source } = await box.egress.get();
4960
+ * console.log(policy.mode, source);
4961
+ * ```
4962
+ *
4963
+ * @example Update egress policy at runtime
4964
+ * ```typescript
4965
+ * await box.egress.update({ mode: "strict", allowDomains: ["api.github.com"] });
4966
+ * ```
4967
+ */
4968
+ get egress(): EgressManager;
4809
4969
  private networkUpdate;
4810
4970
  private networkExposePort;
4811
4971
  private networkListUrls;
4812
4972
  private networkGetConfig;
4973
+ private egressGet;
4974
+ private egressUpdate;
4813
4975
  /**
4814
4976
  * Validate CIDR notation (IPv4 and IPv6)
4815
4977
  */
@@ -5161,6 +5323,31 @@ declare class SandboxInstance {
5161
5323
  findCompletedTurn(turnId: string, opts: {
5162
5324
  sessionId: string;
5163
5325
  }): Promise<CompletedTurnResult | null>;
5326
+ /**
5327
+ * Drive a detached turn forward by exactly one settle → poll → dispatch
5328
+ * pass and report where it stands. Built for tick-based callers —
5329
+ * Cloudflare Workflows steps, queue consumers, crons — that re-invoke
5330
+ * on their own schedule instead of holding a stream open. One
5331
+ * invocation never loops, never sleeps, and never keeps a connection
5332
+ * alive past the pass.
5333
+ *
5334
+ * The pass resolves to the first of:
5335
+ * 1. The completed-turn cache has `turnId` → `completed`, or `failed`
5336
+ * when the cached payload carries no text — that result is final,
5337
+ * so a retry cannot improve it.
5338
+ * 2. The session is queued/running → `running`, after enforcing
5339
+ * `wallCapMs`: a session past the cap is cancelled and reported
5340
+ * `failed`.
5341
+ * 3. The session is terminal without a cached turn → settle from the
5342
+ * session result; an unsuccessful result is `failed`.
5343
+ * 4. No session exists → dispatch fire-and-detach (idempotent on
5344
+ * `sessionId`, exactly like `dispatchPrompt`) → `running`.
5345
+ *
5346
+ * `failed` is always deterministic: re-invoking with the same ids
5347
+ * returns the same outcome rather than starting a second agent run, so
5348
+ * callers can treat it as terminal without their own retry bookkeeping.
5349
+ */
5350
+ driveTurn(message: string | PromptInputPart[], opts: DriveTurnOptions): Promise<TurnDriveResult>;
5164
5351
  /**
5165
5352
  * Mint a scoped, time-bounded JWT for direct browser access to this
5166
5353
  * sandbox (Issue #913 Gap 1). Authority is the caller's
@@ -5183,4 +5370,4 @@ declare class SandboxInstance {
5183
5370
  _sessionCancel(id: string): Promise<void>;
5184
5371
  }
5185
5372
  //#endregion
5186
- export { DispatchedSession as $, SandboxStatus as $n, ProcessStatus as $t, BatchEvent as A, SandboxFleetIntelligenceEnvelope as An, ToolsConfig as Ar, IntelligenceReportBudget as At, CodeLanguage as B, SandboxFleetTraceBundle as Bn, AgentProfileMcpServer as Br, MkdirOptions as Bt, AttachSandboxFleetMachineOptions as C, SandboxFleetArtifactSpec as Cn, TaskResult as Cr, GitCommit as Ct, BackendManager as D, SandboxFleetDriverCapability as Dn, TeePublicKey as Dr, GpuType as Dt, BackendInfo as E, SandboxFleetDispatchResponse as En, TeeAttestationResponse as Er, GitStatus as Et, CheckpointInfo as F, SandboxFleetManifest as Fn, WaitForOptions as Fr, ListOptions as Ft, CreateRequestOptions as G, SandboxFleetWorkspace as Gn, AgentProfileResources as Gr, PreviewLinkInfo as Gt, CodeResultPart as H, SandboxFleetTraceExport as Hn, AgentProfilePermissionValue as Hr, NetworkManager as Ht, CheckpointOptions as I, SandboxFleetManifestMachine as In, AgentProfile as Ir, ListSandboxFleetOptions as It, CreateSandboxFleetWithCoordinatorOptions as J, SandboxFleetWorkspaceSnapshotResult as Jn, AgentSubagentProfile as Jr, ProcessInfo as Jt, CreateSandboxFleetOptions as K, SandboxFleetWorkspaceReconcileResult as Kn, AgentProfileValidationIssue as Kr, PreviewLinkManager as Kt, CheckpointResult as L, SandboxFleetOperationsSummary as Ln, AgentProfileCapabilities as Lr, ListSandboxOptions as Lt, BatchResult as M, SandboxFleetMachineMeteredUsage as Mn, UploadOptions as Mr, IntelligenceReportSubjectType as Mt, BatchTask as N, SandboxFleetMachineRecord as Nn, UploadProgress as Nr, IntelligenceReportWindow as Nt, BackendStatus as O, SandboxFleetDriverTimings as On, TeePublicKeyResponse as Or, InstalledTool as Ot, BatchTaskResult as P, SandboxFleetMachineSpec as Pn, UsageInfo as Pr, ListMessagesOptions as Pt, DispatchPromptOptions as Q, SandboxResources as Qn, mergeAgentProfiles as Qr, ProcessSpawnOptions as Qt, CodeExecutionOptions as R, SandboxFleetPolicy as Rn, AgentProfileConfidential as Rr, McpServerConfig as Rt, AddUserOptions as S, SandboxFleetArtifact as Sn, TaskOptions as Sr, GitBranch as St, BackendConfig as T, SandboxFleetDispatchFailureClass as Tn, TeeAttestationReport as Tr, GitDiff as Tt, CompletedTurnResult as U, SandboxFleetTraceOptions as Un, AgentProfilePrompt as Ur, PermissionLevel as Ut, CodeResult as V, SandboxFleetTraceEvent as Vn, AgentProfileModelHints as Vr, NetworkConfig as Vt, CreateIntelligenceReportOptions as W, SandboxFleetUsage as Wn, AgentProfileResourceRef as Wr, PermissionsManager as Wt, DeleteOptions as X, SandboxIntelligenceEnvelope as Xn, defineGitHubResource as Xr, ProcessManager as Xt, CreateSandboxOptions as Y, SandboxInfo as Yn, defineAgentProfile as Yr, ProcessLogEntry as Yt, DirectoryPermission as Z, SandboxPermissionsConfig as Zn, defineInlineResource as Zr, ProcessSignal as Zt, SandboxMcpServerEntry as _, SSHCredentials as _n, SnapshotOptions as _r, FleetPromptDispatchOptions as _t, TraceExportSink as a, ProvisionStatus as an, ScopedToken as ar, EventStreamOptions as at, AcceleratorKind as b, SandboxEnvironment as bn, StorageConfig as br, ForkResult as bt, otelTraceIdForTangleTrace as c, PublicTemplateVersionInfo as cn, SearchOptions as cr, FileInfo as ct, BuildControlPlaneMcpConfigOptions as d, ReapExpiredSandboxFleetsOptions as dn, SessionEventStreamOptions as dr, FleetDispatchResultBuffer as dt, PromptInputPart as en, SandboxTraceBundle as er, DownloadOptions as et, BuildSandboxMcpConfigOptions as f, ReapExpiredSandboxFleetsResult as fn, SessionInfo as fr, FleetDispatchResultBufferOptions as ft, SandboxMcpEndpoint as g, SSHCommandDescriptor as gn, SnapshotInfo as gr, FleetMachineId as gt, SandboxMcpConfig as h, RunCodeOptions as hn, SessionStatus as hr, FleetExecDispatchResult as ht, TraceExportResult as i, ProvisionResult as in, SandboxUser as ir, DriverType as it, BatchOptions as j, SandboxFleetMachine as jn, UpdateUserOptions as jr, IntelligenceReportCompareTo as jt, BackendType as k, SandboxFleetInfo as kn, TokenRefreshHandler as kr, IntelligenceReport as kt, toOtelJson as l, PublishPublicTemplateOptions as ln, SecretInfo as lr, FileSystem as lt, SANDBOX_MCP_SERVER_NAME as m, ReconcileSandboxFleetsResult as mn, SessionMessage as mr, FleetExecDispatchOptions as mt, SandboxInstance as n, PromptResult as nn, SandboxTraceExport as nr, DriverConfig as nt, buildTraceExportPayload as o, ProvisionStep as on, ScopedTokenScope as or, ExecOptions as ot, CONTROL_PLANE_MCP_SERVER_NAME as p, ReconcileSandboxFleetsOptions as pn, SessionListOptions as pr, FleetDispatchStreamOptions as pt, CreateSandboxFleetTokenOptions as q, SandboxFleetWorkspaceRestoreResult as qn, AgentProfileValidationResult as qr, Process as qt, TraceExportFormat as r, ProvisionEvent as rn, SandboxTraceOptions as rr, DriverInfo as rt, exportTraceBundle as s, PublicTemplateInfo as sn, SearchMatch as sr, ExecResult as st, HttpClient as t, PromptOptions as tn, SandboxTraceEvent as tr, DownloadProgress as tt, SandboxSession as u, PublishPublicTemplateVersionOptions as un, SecretsManager as ur, FleetDispatchCancelResult as ut, buildControlPlaneMcpConfig as v, SandboxClientConfig as vn, SnapshotResult as vr, FleetPromptDispatchResult as vt, BackendCapabilities as w, SandboxFleetCostEstimate as wn, TeeAttestationOptions as wr, GitConfig as wt, AccessPolicyRule as x, SandboxEvent as xn, SubscriptionInfo as xr, GitAuth as xt, buildSandboxMcpConfig as y, SandboxConnection as yn, SshKeysManager as yr, ForkOptions as yt, CodeExecutionResult as z, SandboxFleetToken as zn, AgentProfileFileMount as zr, MintScopedTokenOptions as zt };
5373
+ export { DispatchedSession as $, SandboxIntelligenceEnvelope as $n, defineAgentProfile as $r, ProcessManager as $t, BatchEvent as A, SandboxFleetDriverCapability as An, TeePublicKey as Ar, GpuType as At, CodeLanguage as B, SandboxFleetOperationsSummary as Bn, AgentProfile as Br, ListSandboxOptions as Bt, AttachSandboxFleetMachineOptions as C, SandboxEnvironment as Cn, StorageConfig as Cr, ForkResult as Ct, BackendManager as D, SandboxFleetCostEstimate as Dn, TeeAttestationOptions as Dr, GitConfig as Dt, BackendInfo as E, SandboxFleetArtifactSpec as En, TaskResult as Er, GitCommit as Et, CheckpointInfo as F, SandboxFleetMachineMeteredUsage as Fn, UpdateUserOptions as Fr, IntelligenceReportSubjectType as Ft, CreateRequestOptions as G, SandboxFleetTraceExport as Gn, AgentProfileModelHints as Gr, NetworkManager as Gt, CodeResultPart as H, SandboxFleetToken as Hn, AgentProfileConfidential as Hr, MintScopedTokenOptions as Ht, CheckpointOptions as I, SandboxFleetMachineRecord as In, UploadOptions as Ir, IntelligenceReportWindow as It, CreateSandboxFleetWithCoordinatorOptions as J, SandboxFleetWorkspace as Jn, AgentProfileResourceRef as Jr, PreviewLinkInfo as Jt, CreateSandboxFleetOptions as K, SandboxFleetTraceOptions as Kn, AgentProfilePermissionValue as Kr, PermissionLevel as Kt, CheckpointResult as L, SandboxFleetMachineSpec as Ln, UploadProgress as Lr, ListMessagesOptions as Lt, BatchResult as M, SandboxFleetInfo as Mn, TokenRefreshHandler as Mr, IntelligenceReport as Mt, BatchTask as N, SandboxFleetIntelligenceEnvelope as Nn, ToolsConfig as Nr, IntelligenceReportBudget as Nt, BackendStatus as O, SandboxFleetDispatchFailureClass as On, TeeAttestationReport as Or, GitDiff as Ot, BatchTaskResult as P, SandboxFleetMachine as Pn, TurnDriveResult as Pr, IntelligenceReportCompareTo as Pt, DispatchPromptOptions as Q, SandboxInfo as Qn, AgentSubagentProfile as Qr, ProcessLogEntry as Qt, CodeExecutionOptions as R, SandboxFleetManifest as Rn, UsageInfo as Rr, ListOptions as Rt, AddUserOptions as S, SandboxConnection as Sn, SshKeysManager as Sr, ForkOptions as St, BackendConfig as T, SandboxFleetArtifact as Tn, TaskOptions as Tr, GitBranch as Tt, CompletedTurnResult as U, SandboxFleetTraceBundle as Un, AgentProfileFileMount as Ur, MkdirOptions as Ut, CodeResult as V, SandboxFleetPolicy as Vn, AgentProfileCapabilities as Vr, McpServerConfig as Vt, CreateIntelligenceReportOptions as W, SandboxFleetTraceEvent as Wn, AgentProfileMcpServer as Wr, NetworkConfig as Wt, DeleteOptions as X, SandboxFleetWorkspaceRestoreResult as Xn, AgentProfileValidationIssue as Xr, Process as Xt, CreateSandboxOptions as Y, SandboxFleetWorkspaceReconcileResult as Yn, AgentProfileResources as Yr, PreviewLinkManager as Yt, DirectoryPermission as Z, SandboxFleetWorkspaceSnapshotResult as Zn, AgentProfileValidationResult as Zr, ProcessInfo as Zt, SandboxMcpServerEntry as _, ReconcileSandboxFleetsResult as _n, SessionMessage as _r, FleetExecDispatchOptions as _t, TraceExportSink as a, PromptResult as an, SandboxTraceExport as ar, DriverType as at, AcceleratorKind as b, SSHCredentials as bn, SnapshotOptions as br, FleetPromptDispatchOptions as bt, otelTraceIdForTangleTrace as c, ProvisionStatus as cn, ScopedToken as cr, EventStreamOptions as ct, BuildControlPlaneMcpConfigOptions as d, PublicTemplateVersionInfo as dn, SearchOptions as dr, FileInfo as dt, defineGitHubResource as ei, ProcessSignal as en, SandboxPermissionsConfig as er, DownloadOptions as et, BuildSandboxMcpConfigOptions as f, PublishPublicTemplateOptions as fn, SecretInfo as fr, FileSystem as ft, SandboxMcpEndpoint as g, ReconcileSandboxFleetsOptions as gn, SessionListOptions as gr, FleetDispatchStreamOptions as gt, SandboxMcpConfig as h, ReapExpiredSandboxFleetsResult as hn, SessionInfo as hr, FleetDispatchResultBufferOptions as ht, TraceExportResult as i, PromptOptions as in, SandboxTraceEvent as ir, DriverInfo as it, BatchOptions as j, SandboxFleetDriverTimings as jn, TeePublicKeyResponse as jr, InstalledTool as jt, BackendType as k, SandboxFleetDispatchResponse as kn, TeeAttestationResponse as kr, GitStatus as kt, toOtelJson as l, ProvisionStep as ln, ScopedTokenScope as lr, ExecOptions as lt, SANDBOX_MCP_SERVER_NAME as m, ReapExpiredSandboxFleetsOptions as mn, SessionEventStreamOptions as mr, FleetDispatchResultBuffer as mt, SandboxInstance as n, mergeAgentProfiles as ni, ProcessStatus as nn, SandboxStatus as nr, DriveTurnOptions as nt, buildTraceExportPayload as o, ProvisionEvent as on, SandboxTraceOptions as or, EgressManager as ot, CONTROL_PLANE_MCP_SERVER_NAME as p, PublishPublicTemplateVersionOptions as pn, SecretsManager as pr, FleetDispatchCancelResult as pt, CreateSandboxFleetTokenOptions as q, SandboxFleetUsage as qn, AgentProfilePrompt as qr, PermissionsManager as qt, TraceExportFormat as r, PromptInputPart as rn, SandboxTraceBundle as rr, DriverConfig as rt, exportTraceBundle as s, ProvisionResult as sn, SandboxUser as sr, EgressPolicy as st, HttpClient as t, defineInlineResource as ti, ProcessSpawnOptions as tn, SandboxResources as tr, DownloadProgress as tt, SandboxSession as u, PublicTemplateInfo as un, SearchMatch as ur, ExecResult as ut, buildControlPlaneMcpConfig as v, RunCodeOptions as vn, SessionStatus as vr, FleetExecDispatchResult as vt, BackendCapabilities as w, SandboxEvent as wn, SubscriptionInfo as wr, GitAuth as wt, AccessPolicyRule as x, SandboxClientConfig as xn, SnapshotResult as xr, FleetPromptDispatchResult as xt, buildSandboxMcpConfig as y, SSHCommandDescriptor as yn, SnapshotInfo as yr, FleetMachineId as yt, CodeExecutionResult as z, SandboxFleetManifestMachine as zn, WaitForOptions as zr, ListSandboxFleetOptions as zt };