@tangle-network/sandbox 0.11.1-develop.20260718200351.2f5db96 → 0.11.1

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,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-XaVF9qK-.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-Dj8LzvId.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-m1lRkQlR.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-DHOkbr5a.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
- import { p as parseErrorResponse } from "./errors-hbpL_-S6.js";
2
- import { n as createSandboxInstanceFromResponse } from "./sandbox-C8WoMyT0.js";
1
+ import { p as parseErrorResponse } from "./errors-Cbs78OlF.js";
2
+ import { t as SandboxInstance } from "./sandbox-DaLPTCRA.js";
3
3
  //#region src/tangle/abi.ts
4
4
  /**
5
5
  * Tangle Contract ABI Definitions
@@ -744,7 +744,7 @@ var TangleSandboxClient = class {
744
744
  attestationNonce: attestationNonceFromOptions(createOptions)
745
745
  };
746
746
  this.sandboxes.set(sandboxId, entry);
747
- return createSandboxInstanceFromResponse(this, sandboxInfoFromEntry(entry));
747
+ return new SandboxInstance(this, sandboxInfoFromEntry(entry));
748
748
  }
749
749
  /**
750
750
  * Get a sandbox by id. Rehydrates from the operator API when configured so
@@ -758,7 +758,7 @@ var TangleSandboxClient = class {
758
758
  throw parseErrorResponse(response.status, body, void 0, response.headers);
759
759
  }
760
760
  const data = await response.json();
761
- return createSandboxInstanceFromResponse(this, sandboxInfoFromEntry(sandboxEntryFromWire(id, data)));
761
+ return new SandboxInstance(this, sandboxInfoFromEntry(sandboxEntryFromWire(id, data)));
762
762
  }
763
763
  /**
764
764
  * Route interception for SandboxInstance lifecycle calls.
@@ -1,4 +1,4 @@
1
- import { AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConnection, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentSubagentProfile, Capability, agentProfileSchema, capabilitySchema, defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
1
+ import { AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConnection, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileValidationIssue, AgentProfileValidationResult, AgentSubagentProfile, defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles } from "@tangle-network/agent-interface";
2
2
 
3
3
  //#region src/types.d.ts
4
4
  type JsonValue = string | number | boolean | null | JsonValue[] | {
@@ -1003,10 +1003,10 @@ interface ExecResult {
1003
1003
  * Options for executing a command.
1004
1004
  */
1005
1005
  interface ExecOptions {
1006
- /** Working directory for the command. It must resolve within the active
1007
- * workspace; paths outside that boundary are rejected. When `sessionId`
1008
- * is set, the runtime resolves the path against that task's isolated
1009
- * workspace. */
1006
+ /** Working directory for the command. When `sessionId` is set the
1007
+ * runtime remaps well-known absolute sandbox paths to the task's
1008
+ * real workspace; without `sessionId`, absolute paths pass through
1009
+ * verbatim and may not resolve to the task's actual filesystem. */
1010
1010
  cwd?: string;
1011
1011
  /** Environment variables */
1012
1012
  env?: Record<string, string>;
@@ -1744,8 +1744,6 @@ interface SessionInfo {
1744
1744
  parentId?: string;
1745
1745
  /** Current lifecycle state. */
1746
1746
  status: SessionStatus;
1747
- /** Most recent execution id, retained after completion for event replay. */
1748
- latestExecutionId?: string;
1749
1747
  /** Backend identifier (e.g. provider name). */
1750
1748
  backend?: string;
1751
1749
  /** Model id the session was created with. */
@@ -1835,19 +1833,17 @@ interface SendSessionMessageOptions {
1835
1833
  timeoutMs?: number;
1836
1834
  signal?: AbortSignal;
1837
1835
  }
1838
- /** Receipt returned after a session message is accepted for processing. */
1836
+ /** Response returned after a session message finishes processing. */
1839
1837
  interface SentSessionMessage {
1840
1838
  info: {
1841
1839
  id: string;
1842
- role: "assistant";
1843
- timestamp: string;
1840
+ role: "user" | "assistant" | "system";
1841
+ timestamp?: string;
1844
1842
  };
1845
- parts: [];
1846
- userMessageId: string;
1847
- processing: true;
1843
+ parts: unknown[];
1848
1844
  }
1849
1845
  /** Canonical portable profile attached to a task session. */
1850
- type TaskSessionProfile = AgentProfile$1 & {
1846
+ type TaskSessionProfile = AgentProfile & {
1851
1847
  name: string;
1852
1848
  };
1853
1849
  /** Options for creating an isolated background task session. */
@@ -2085,24 +2081,21 @@ type TurnDriveResult = {
2085
2081
  * capability tokens for browser-safe runtime access.
2086
2082
  */
2087
2083
  type ScopedTokenScope = "session" | "session-runtime" | "project" | "read-only";
2088
- interface MintScopedTokenBase {
2089
- /** TTL in minutes. Default 5; clamped to [1, 15]. */
2084
+ /**
2085
+ * Options for `box.mintScopedToken()`.
2086
+ */
2087
+ interface MintScopedTokenOptions {
2088
+ /** Scope to mint. `session` and `project` are for SessionGateway streams;
2089
+ * `session-runtime` permits typed files, messages, and terminals for one
2090
+ * session; `read-only` permits read-only runtime requests. */
2091
+ scope: ScopedTokenScope;
2092
+ /** Required when `scope` is `session` or `session-runtime`. */
2093
+ sessionId?: string;
2094
+ /** TTL in minutes. Default 5; clamped to [1, 15]. Browser-side
2095
+ * bearers must be short-lived; pair with `client.onTokenRefresh()`
2096
+ * for long-running consumers. */
2090
2097
  ttlMinutes?: number;
2091
2098
  }
2092
- /** Options for `box.mintScopedToken()`, narrowed by consumer scope. */
2093
- type MintScopedTokenOptions = (MintScopedTokenBase & {
2094
- scope: "session"; /** Client-facing browser session ID. */
2095
- sessionId: string; /** Actual runtime session ID used to filter the sandbox event stream. */
2096
- runtimeSessionId: string;
2097
- }) | (MintScopedTokenBase & {
2098
- scope: "session-runtime";
2099
- sessionId: string;
2100
- runtimeSessionId?: never;
2101
- }) | (MintScopedTokenBase & {
2102
- scope: "project" | "read-only";
2103
- sessionId?: never;
2104
- runtimeSessionId?: never;
2105
- });
2106
2099
  /**
2107
2100
  * Returned by `box.mintScopedToken()`. Use session/project tokens with
2108
2101
  * `SessionGatewayClient`; use session-runtime/read-only tokens with
@@ -3384,7 +3377,7 @@ interface BackendConfig {
3384
3377
  * Use a string for a named provider/backend profile, or an `AgentProfile`
3385
3378
  * object for an inline provider-neutral profile definition.
3386
3379
  */
3387
- profile?: string | AgentProfile$1;
3380
+ profile?: string | AgentProfile;
3388
3381
  /**
3389
3382
  * Model configuration override.
3390
3383
  */
@@ -3640,24 +3633,19 @@ interface EgressPolicy {
3640
3633
  /** Egress mode */
3641
3634
  mode: "open" | "strict" | "blocked";
3642
3635
  /**
3643
- * Allowed domains in strict mode. Platform defaults and credential-derived
3644
- * domains are also included unless `includeImplicitDomains` is false.
3636
+ * Additional allowed domains in strict mode.
3637
+ * These are merged with the platform default allowlist.
3645
3638
  * Ignored in `open` and `blocked` modes.
3646
3639
  */
3647
3640
  allowDomains?: string[];
3648
- /**
3649
- * Include platform and credential-derived domains in strict mode.
3650
- * Defaults to true. Set false when `allowDomains` must be the complete list.
3651
- */
3652
- includeImplicitDomains?: boolean;
3653
3641
  /**
3654
3642
  * Denied domains. Only enforced when the proxy supports denylist transforms.
3655
- * @deprecated Not supported by the current proxy.
3643
+ * @deprecated Deferred — not supported by iron-proxy v0.41.
3656
3644
  */
3657
3645
  denyDomains?: string[];
3658
3646
  /**
3659
3647
  * Allowed CIDR ranges. Only enforced when the proxy supports CIDR passthrough.
3660
- * @deprecated Not supported by the current proxy.
3648
+ * @deprecated Deferred — not supported by iron-proxy v0.41.
3661
3649
  */
3662
3650
  allowCidrs?: string[];
3663
3651
  }
@@ -4008,7 +3996,7 @@ interface BackendManager {
4008
3996
  *
4009
3997
  * Optional while backends adopt the public `AgentProfile` contract.
4010
3998
  */
4011
- validateProfile?(profile: AgentProfile$1): Promise<AgentProfileValidationResult>;
3999
+ validateProfile?(profile: AgentProfile): Promise<AgentProfileValidationResult>;
4012
4000
  /** Restart the backend agent */
4013
4001
  restart(): Promise<void>;
4014
4002
  }
@@ -4041,14 +4029,6 @@ interface ProcessSpawnOptions {
4041
4029
  interface ExactProcessSpawnOptions extends ProcessSpawnOptions {
4042
4030
  /** UTF-8 bytes written before stdin is closed. */
4043
4031
  stdin?: string;
4044
- /**
4045
- * Whether to extend the sandbox runtime environment.
4046
- * Set to `false` when every process input must be supplied explicitly.
4047
- * The executable must then be absolute unless `env.PATH` is supplied.
4048
- *
4049
- * @default true
4050
- */
4051
- inheritEnv?: boolean;
4052
4032
  }
4053
4033
  /**
4054
4034
  * Options for running Python code.
@@ -4097,33 +4077,6 @@ interface ProcessInfo extends ProcessStatus {
4097
4077
  /** Environment variables used */
4098
4078
  env?: Record<string, string>;
4099
4079
  }
4100
- /** A development server started and tracked by the sandbox runtime. */
4101
- interface DevServerInfo {
4102
- /** Supervisor process ID. */
4103
- pid: number;
4104
- /** Detected project family, such as node-npm or rust-cargo. */
4105
- family: string;
4106
- /** Command managed by the runtime. */
4107
- command: string;
4108
- /** Canonical workspace root used for project detection. */
4109
- workspaceRoot: string;
4110
- /** When the managed process started. */
4111
- startedAt: Date;
4112
- /** True when this call started the process; false when it reused one. */
4113
- startedNow: boolean;
4114
- /** True when dependency installation ran before startup. */
4115
- installRan: boolean;
4116
- /** Time spent installing dependencies during this call. */
4117
- installDurationMs: number;
4118
- /** Assigned listening port, once the server is ready. */
4119
- port?: number;
4120
- }
4121
- interface EnsureDevServerOptions {
4122
- /** Agent session whose isolated workspace contains the project. */
4123
- sessionId?: string;
4124
- /** Project directory inside the selected workspace. Defaults to the workspace root. */
4125
- cwd?: string;
4126
- }
4127
4080
  /**
4128
4081
  * A log entry from process stdout/stderr.
4129
4082
  */
@@ -4270,12 +4223,6 @@ interface Process {
4270
4223
  * ```
4271
4224
  */
4272
4225
  interface ProcessManager {
4273
- /**
4274
- * Detect the workspace project and idempotently start its development server.
4275
- * The runtime owns installation, process tracking, port assignment, and
4276
- * stale-Vite compatibility handling.
4277
- */
4278
- ensureDevServer(options?: EnsureDevServerOptions): Promise<DevServerInfo>;
4279
4226
  /**
4280
4227
  * Spawn a process without blocking.
4281
4228
  * Returns immediately with a Process handle.
@@ -5054,4 +5001,4 @@ interface CodeExecutionOptions {
5054
5001
  idempotencyKey?: string;
5055
5002
  }
5056
5003
  //#endregion
5057
- export { DriverType as $, AgentProfileValidationIssue as $i, SandboxFleetArtifactSpec as $n, SendSessionMessageRequest as $r, ListMessagesOptions as $t, CodeResult as A, ToolsConfig as Ai, PublishPublicTemplateVersionOptions as An, SandboxProfileSummary as Ar, GitBranch as At, CreateSandboxOptions as B, WriteManyOptions as Bi, RolloutOptions as Bn, SandboxTerminalRequestOptions as Br, GpuLeaseManager as Bt, BatchTaskUsage as C, TaskSessionProfile as Ci, ProvisionEvent as Cn, SandboxFleetWorkspaceRestoreResult as Cr, FleetExecDispatchOptions as Ct, CodeExecutionOptions as D, TeePublicKey as Di, PublicTemplateInfo as Dn, SandboxPermissionsConfig as Dr, FleetPromptDispatchResult as Dt, ChunkedUploadResult as E, TeeAttestationResponse as Ei, ProvisionStep as En, SandboxIntelligenceEnvelope as Er, FleetPromptDispatchOptions as Et, CreateIntelligenceReportOptions as F, UsageInfo as Fi, RenameOptions as Fn, SandboxRuntimeProfileList as Fr, GpuLease as Ft, DirectoryPermission as G, AgentProfileFileMount as Gi, RunCodeOptions as Gn, SandboxUser as Gr, HostAgentRuntimeBackend as Gt, CreateTaskSessionOptions as H, AgentProfileCapabilities as Hi, RolloutStartResult as Hn, SandboxTraceEvent as Hr, GpuLeaseStatus as Ht, CreateRequestOptions as I, WaitForOptions as Ii, RestoreSnapshotOptions as In, SandboxStatus as Ir, GpuLeaseBilling as It, DownloadOptions as J, AgentProfilePermissionValue as Ji, SandboxClientConfig as Jn, SearchMatch as Jr, IntelligenceReportBudget as Jt, DispatchPromptOptions as K, AgentProfileMcpServer as Ki, SSHCommandDescriptor as Kn, ScopedToken as Kr, InstalledTool as Kt, CreateSandboxFleetOptions as L, WaitForRolloutOptions as Li, ResumeOptions as Ln, SandboxTerminalCreateOptions as Lr, GpuLeaseCommandResult as Lt, CommitTaskSessionOptions as M, UpdateUserOptions as Mi, ReapExpiredSandboxFleetsResult as Mn, SandboxResources as Mr, GitConfig as Mt, CompletedTurnResult as N, UploadOptions as Ni, ReconcileSandboxFleetsOptions as Nn, SandboxRuntimeHealth as Nr, GitDiff as Nt, CodeExecutionResult as O, TeePublicKeyResponse as Oi, PublicTemplateVersionInfo as On, SandboxPortBinding as Or, GPU_LEASE_PROVIDER_NAMES as Ot, CreateGpuLeaseOptions as P, UploadProgress as Pi, ReconcileSandboxFleetsResult as Pn, SandboxRuntimeProfile as Pr, GitStatus as Pt, DriverInfo as Q, AgentProfileSecurityPolicy as Qi, SandboxFleetArtifact as Qn, SendSessionMessageOptions as Qr, JsonValue as Qt, CreateSandboxFleetTokenOptions as R, WriteFileOptions as Ri, Rollout as Rn, SandboxTerminalInfo as Rr, GpuLeaseExecOptions as Rt, BatchTaskResult as S, TaskSessionInfo as Si, PromptResult as Sn, SandboxFleetWorkspaceReconcileResult as Sr, FleetDispatchStreamOptions as St, ChunkedUploadOptions as T, TeeAttestationReport as Ti, ProvisionStatus as Tn, SandboxInfo as Tr, FleetMachineId as Tt, DeleteOptions as U, AgentProfileConfidential as Ui, RolloutStatus as Un, SandboxTraceExport as Ur, GpuType as Ut, CreateSessionOptions as V, AgentProfile$1 as Vi, RolloutScorer as Vn, SandboxTraceBundle as Vr, GpuLeaseProviderName as Vt, DevServerInfo as W, AgentProfileConnection as Wi, RolloutTurnPart as Wn, SandboxTraceOptions as Wr, HostAgentDriverConfig as Wt, DriveTurnOptions as X, AgentProfileResourceRef as Xi, SandboxEnvironment as Xn, SecretInfo as Xr, IntelligenceReportSubjectType as Xt, DownloadProgress as Y, AgentProfilePrompt as Yi, SandboxConnection as Yn, SearchOptions as Yr, IntelligenceReportCompareTo as Yt, DriverConfig as Z, AgentProfileResources as Zi, SandboxEvent as Zn, SecretsManager as Zr, IntelligenceReportWindow as Zt, BatchResult as _, TaskOptions as _i, ProcessSignal as _n, SandboxFleetTraceEvent as _r, FileTreeResult as _t, AttachSandboxFleetMachineOptions as a, defineAgentProfile as aa, SessionListOptions as ai, MkdirOptions as an, SandboxFleetInfo as ar, ExactProcessSpawnOptions as at, BatchSidecarGroup as b, TaskSessionCommitResult as bi, PromptInputPart as bn, SandboxFleetUsage as br, FleetDispatchResultBuffer as bt, BackendInfo as c, mergeAgentProfiles as ca, SessionStatus as ci, NonHostAgentDriverConfig as cn, SandboxFleetMachineMeteredUsage as cr, FileInfo as ct, BackendType as d, SnapshotResult as di, PreviewLinkInfo as dn, SandboxFleetManifest as dr, FileReadError as dt, AgentProfileValidationResult as ea, SentSessionMessage as ei, ListOptions as en, SandboxFleetCostEstimate as er, DurablePlan as et, BatchBackend as f, SshKeysManager as fi, PreviewLinkManager as fn, SandboxFleetManifestMachine as fr, FileReadResult as ft, BatchOptions as g, SubscriptionInfo as gi, ProcessManager as gn, SandboxFleetTraceBundle as gr, FileTreeOptions as gt, BatchEventDataMap as h, StorageConfig as hi, ProcessLogEntry as hn, SandboxFleetToken as hr, FileTreeFile as ht, AttachGpuLeaseOptions as i, capabilitySchema as ia, SessionInfo as ii, MintScopedTokenOptions as in, SandboxFleetDriverTimings as ir, EventStreamOptions as it, CodeResultPart as j, TurnDriveResult as ji, ReapExpiredSandboxFleetsOptions as jn, SandboxResourceUsage as jr, GitCommit as jt, CodeLanguage as k, TokenRefreshHandler as ki, PublishPublicTemplateOptions as kn, SandboxPortPreviewLink as kr, GitAuth as kt, BackendManager as l, validateAgentProfileSecurity as la, SnapshotInfo as li, PermissionLevel as ln, SandboxFleetMachineRecord as lr, FileReadBatchOptions as lt, BatchEvent as m, StartupOperation as mi, ProcessInfo as mn, SandboxFleetPolicy as mr, FileSystem as mt, AccessPolicyRule as n, Capability as na, SessionEventStreamOptions as ni, ListSandboxOptions as nn, SandboxFleetDispatchResponse as nr, EgressPolicy as nt, BackendCapabilities as o, defineGitHubResource as oa, SessionMessage as oi, NetworkConfig as on, SandboxFleetIntelligenceEnvelope as or, ExecOptions as ot, BatchBackendStats as p, StartupDiagnostics as pi, Process as pn, SandboxFleetOperationsSummary as pr, FileRenameResult as pt, DispatchedSession as q, AgentProfileModelHints as qi, SSHCredentials as qn, ScopedTokenScope as qr, IntelligenceReport as qt, AddUserOptions as r, agentProfileSchema as ra, SessionForkOptions as ri, McpServerConfig as rn, SandboxFleetDriverCapability as rr, EnsureDevServerOptions as rt, BackendConfig as s, defineInlineResource as sa, SessionMessageInputPart as si, NetworkManager as sn, SandboxFleetMachine as sr, ExecResult as st, AcceleratorKind as t, AgentSubagentProfile as ta, SessionBackendCredentials as ti, ListSandboxFleetOptions as tn, SandboxFleetDispatchFailureClass as tr, EgressManager as tt, BackendStatus as u, SnapshotOptions as ui, PermissionsManager as un, SandboxFleetMachineSpec as ur, FileReadBatchResult as ut, BatchRunOptions as v, TaskResult as vi, ProcessSpawnOptions as vn, SandboxFleetTraceExport as vr, FileWriteResult as vt, BranchOptions as w, TeeAttestationOptions as wi, ProvisionResult as wn, SandboxFleetWorkspaceSnapshotResult as wr, FleetExecDispatchResult as wt, BatchTask as x, TaskSessionFileChange as xi, PromptOptions as xn, SandboxFleetWorkspace as xr, FleetDispatchResultBufferOptions as xt, BatchRunRequest as y, TaskSessionChanges as yi, ProcessStatus as yn, SandboxFleetTraceOptions as yr, FleetDispatchCancelResult as yt, CreateSandboxFleetWithCoordinatorOptions as z, WriteManyFile as zi, RolloutChildResult as zn, SandboxTerminalManager as zr, GpuLeaseExecResult as zt };
5004
+ export { DurablePlan as $, defineAgentProfile as $i, SandboxFleetDispatchFailureClass as $n, SessionBackendCredentials as $r, ListSandboxFleetOptions as $t, CodeResult as A, UpdateUserOptions as Ai, ReapExpiredSandboxFleetsResult as An, SandboxResources as Ar, GitConfig as At, CreateSandboxOptions as B, AgentProfileCapabilities as Bi, RolloutStartResult as Bn, SandboxTraceEvent as Br, GpuLeaseStatus as Bt, BatchTaskUsage as C, TeeAttestationReport as Ci, ProvisionStatus as Cn, SandboxInfo as Cr, FleetMachineId as Ct, CodeExecutionOptions as D, TokenRefreshHandler as Di, PublishPublicTemplateOptions as Dn, SandboxPortPreviewLink as Dr, GitAuth as Dt, ChunkedUploadResult as E, TeePublicKeyResponse as Ei, PublicTemplateVersionInfo as En, SandboxPortBinding as Er, GPU_LEASE_PROVIDER_NAMES as Et, CreateIntelligenceReportOptions as F, WaitForRolloutOptions as Fi, ResumeOptions as Fn, SandboxTerminalCreateOptions as Fr, GpuLeaseCommandResult as Ft, DispatchPromptOptions as G, AgentProfileModelHints as Gi, SSHCredentials as Gn, ScopedTokenScope as Gr, IntelligenceReport as Gt, CreateTaskSessionOptions as H, AgentProfileConnection as Hi, RolloutTurnPart as Hn, SandboxTraceOptions as Hr, HostAgentDriverConfig as Ht, CreateRequestOptions as I, WriteFileOptions as Ii, Rollout as In, SandboxTerminalInfo as Ir, GpuLeaseExecOptions as It, DownloadProgress as J, AgentProfileResourceRef as Ji, SandboxEnvironment as Jn, SecretInfo as Jr, IntelligenceReportSubjectType as Jt, DispatchedSession as K, AgentProfilePermissionValue as Ki, SandboxClientConfig as Kn, SearchMatch as Kr, IntelligenceReportBudget as Kt, CreateSandboxFleetOptions as L, WriteManyFile as Li, RolloutChildResult as Ln, SandboxTerminalManager as Lr, GpuLeaseExecResult as Lt, CommitTaskSessionOptions as M, UploadProgress as Mi, ReconcileSandboxFleetsResult as Mn, SandboxRuntimeProfile as Mr, GitStatus as Mt, CompletedTurnResult as N, UsageInfo as Ni, RenameOptions as Nn, SandboxRuntimeProfileList as Nr, GpuLease as Nt, CodeExecutionResult as O, ToolsConfig as Oi, PublishPublicTemplateVersionOptions as On, SandboxProfileSummary as Or, GitBranch as Ot, CreateGpuLeaseOptions as P, WaitForOptions as Pi, RestoreSnapshotOptions as Pn, SandboxStatus as Pr, GpuLeaseBilling as Pt, DriverType as Q, AgentSubagentProfile as Qi, SandboxFleetCostEstimate as Qn, SentSessionMessage as Qr, ListOptions as Qt, CreateSandboxFleetTokenOptions as R, WriteManyOptions as Ri, RolloutOptions as Rn, SandboxTerminalRequestOptions as Rr, GpuLeaseManager as Rt, BatchTaskResult as S, TeeAttestationOptions as Si, ProvisionResult as Sn, SandboxFleetWorkspaceSnapshotResult as Sr, FleetExecDispatchResult as St, ChunkedUploadOptions as T, TeePublicKey as Ti, PublicTemplateInfo as Tn, SandboxPermissionsConfig as Tr, FleetPromptDispatchResult as Tt, DeleteOptions as U, AgentProfileFileMount as Ui, RunCodeOptions as Un, SandboxUser as Ur, HostAgentRuntimeBackend as Ut, CreateSessionOptions as V, AgentProfileConfidential as Vi, RolloutStatus as Vn, SandboxTraceExport as Vr, GpuType as Vt, DirectoryPermission as W, AgentProfileMcpServer as Wi, SSHCommandDescriptor as Wn, ScopedToken as Wr, InstalledTool as Wt, DriverConfig as X, AgentProfileValidationIssue as Xi, SandboxFleetArtifact as Xn, SendSessionMessageOptions as Xr, JsonValue as Xt, DriveTurnOptions as Y, AgentProfileResources as Yi, SandboxEvent as Yn, SecretsManager as Yr, IntelligenceReportWindow as Yt, DriverInfo as Z, AgentProfileValidationResult as Zi, SandboxFleetArtifactSpec as Zn, SendSessionMessageRequest as Zr, ListMessagesOptions as Zt, BatchResult as _, TaskSessionChanges as _i, ProcessStatus as _n, SandboxFleetTraceOptions as _r, FleetDispatchCancelResult as _t, AttachSandboxFleetMachineOptions as a, SessionMessageInputPart as ai, NetworkManager as an, SandboxFleetMachine as ar, ExecResult as at, BatchSidecarGroup as b, TaskSessionInfo as bi, PromptResult as bn, SandboxFleetWorkspaceReconcileResult as br, FleetDispatchStreamOptions as bt, BackendInfo as c, SnapshotOptions as ci, PermissionsManager as cn, SandboxFleetMachineSpec as cr, FileReadBatchResult as ct, BackendType as d, StartupDiagnostics as di, Process as dn, SandboxFleetOperationsSummary as dr, FileRenameResult as dt, defineGitHubResource as ea, SessionEventStreamOptions as ei, ListSandboxOptions as en, SandboxFleetDispatchResponse as er, EgressManager as et, BatchBackend as f, StartupOperation as fi, ProcessInfo as fn, SandboxFleetPolicy as fr, FileSystem as ft, BatchOptions as g, TaskResult as gi, ProcessSpawnOptions as gn, SandboxFleetTraceExport as gr, FileWriteResult as gt, BatchEventDataMap as h, TaskOptions as hi, ProcessSignal as hn, SandboxFleetTraceEvent as hr, FileTreeResult as ht, AttachGpuLeaseOptions as i, SessionMessage as ii, NetworkConfig as in, SandboxFleetIntelligenceEnvelope as ir, ExecOptions as it, CodeResultPart as j, UploadOptions as ji, ReconcileSandboxFleetsOptions as jn, SandboxRuntimeHealth as jr, GitDiff as jt, CodeLanguage as k, TurnDriveResult as ki, ReapExpiredSandboxFleetsOptions as kn, SandboxResourceUsage as kr, GitCommit as kt, BackendManager as l, SnapshotResult as li, PreviewLinkInfo as ln, SandboxFleetManifest as lr, FileReadError as lt, BatchEvent as m, SubscriptionInfo as mi, ProcessManager as mn, SandboxFleetTraceBundle as mr, FileTreeOptions as mt, AccessPolicyRule as n, mergeAgentProfiles as na, SessionInfo as ni, MintScopedTokenOptions as nn, SandboxFleetDriverTimings as nr, EventStreamOptions as nt, BackendCapabilities as o, SessionStatus as oi, NonHostAgentDriverConfig as on, SandboxFleetMachineMeteredUsage as or, FileInfo as ot, BatchBackendStats as p, StorageConfig as pi, ProcessLogEntry as pn, SandboxFleetToken as pr, FileTreeFile as pt, DownloadOptions as q, AgentProfilePrompt as qi, SandboxConnection as qn, SearchOptions as qr, IntelligenceReportCompareTo as qt, AddUserOptions as r, SessionListOptions as ri, MkdirOptions as rn, SandboxFleetInfo as rr, ExactProcessSpawnOptions as rt, BackendConfig as s, SnapshotInfo as si, PermissionLevel as sn, SandboxFleetMachineRecord as sr, FileReadBatchOptions as st, AcceleratorKind as t, defineInlineResource as ta, SessionForkOptions as ti, McpServerConfig as tn, SandboxFleetDriverCapability as tr, EgressPolicy as tt, BackendStatus as u, SshKeysManager as ui, PreviewLinkManager as un, SandboxFleetManifestMachine as ur, FileReadResult as ut, BatchRunOptions as v, TaskSessionCommitResult as vi, PromptInputPart as vn, SandboxFleetUsage as vr, FleetDispatchResultBuffer as vt, BranchOptions as w, TeeAttestationResponse as wi, ProvisionStep as wn, SandboxIntelligenceEnvelope as wr, FleetPromptDispatchOptions as wt, BatchTask as x, TaskSessionProfile as xi, ProvisionEvent as xn, SandboxFleetWorkspaceRestoreResult as xr, FleetExecDispatchOptions as xt, BatchRunRequest as y, TaskSessionFileChange as yi, PromptOptions as yn, SandboxFleetWorkspace as yr, FleetDispatchResultBufferOptions as yt, CreateSandboxFleetWithCoordinatorOptions as z, AgentProfile as zi, RolloutScorer as zn, SandboxTraceBundle as zr, GpuLeaseProviderName as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.11.1-develop.20260718200351.2f5db96",
3
+ "version": "0.11.1",
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",
@@ -87,8 +87,8 @@
87
87
  "url": "https://github.com/tangle-network/agent-dev-container/issues"
88
88
  },
89
89
  "dependencies": {
90
- "@tangle-network/agent-core": "0.4.19",
91
- "@tangle-network/agent-interface": "0.31.0"
90
+ "@tangle-network/agent-core": "^0.4.0",
91
+ "@tangle-network/agent-interface": "0.30.0"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "@mastra/core": "^1.36.0",
@@ -131,7 +131,6 @@
131
131
  "build": "tsdown",
132
132
  "build:clean": "tsdown",
133
133
  "check-types": "tsc --noEmit",
134
- "check-examples": "tsc -p tsconfig.examples.json && tsc -p tsconfig.worker-example.json",
135
134
  "verify-dist": "bash scripts/verify-dist.sh",
136
135
  "test": "vitest run",
137
136
  "test:watch": "vitest",