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

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 { D as CodeExecutionOptions, O as CodeExecutionResult, j as CodeResultPart, k as CodeLanguage } from "../types-GCqqVbu5.js";
2
- import { n as SandboxInstance } from "../sandbox-BfCcV3M4.js";
3
- import { i as SandboxClient } from "../client-D8aRlF_N.js";
1
+ import { D as CodeExecutionOptions, O as CodeExecutionResult, j as CodeResultPart, k as CodeLanguage } from "../types-DACKEpON.js";
2
+ import { n as SandboxInstance } from "../sandbox-C0qo2TZO.js";
3
+ import { i as SandboxClient } from "../client-L4c2I5tL.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,5 +1,5 @@
1
- import { $n as SandboxFleetArtifactSpec, An as PublishPublicTemplateVersionOptions, Ar as SandboxProfileSummary, B as CreateSandboxOptions, Cr as SandboxFleetWorkspaceRestoreResult, Ct as FleetExecDispatchOptions, Dn as PublicTemplateInfo, Dt as FleetPromptDispatchResult, Et as FleetPromptDispatchOptions, F as CreateIntelligenceReportOptions, Fi as UsageInfo, I as CreateRequestOptions, Jn as SandboxClientConfig, Jt as IntelligenceReportBudget, L as CreateSandboxFleetOptions, Mn as ReapExpiredSandboxFleetsResult, Nn as ReconcileSandboxFleetsOptions, On as PublicTemplateVersionInfo, Pn as ReconcileSandboxFleetsResult, Qn as SandboxFleetArtifact, R as CreateSandboxFleetTokenOptions, Sn as PromptResult, Sr as SandboxFleetWorkspaceReconcileResult, St as FleetDispatchStreamOptions, Tr as SandboxInfo, Tt as FleetMachineId, Xn as SandboxEnvironment, Yt as IntelligenceReportCompareTo, Zr as SecretsManager, Zt as IntelligenceReportWindow, _ as BatchResult, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetInfo, bn as PromptInputPart, br as SandboxFleetUsage, bt as FleetDispatchResultBuffer, dr as SandboxFleetManifest, er as SandboxFleetCostEstimate, fi as SshKeysManager, g as BatchOptions, gi as SubscriptionInfo, gr as SandboxFleetTraceBundle, hr as SandboxFleetToken, jn as ReapExpiredSandboxFleetsOptions, ki as TokenRefreshHandler, kn as PublishPublicTemplateOptions, lr as SandboxFleetMachineRecord, m as BatchEvent, nn as ListSandboxOptions, nr as SandboxFleetDispatchResponse, ot as ExecOptions, pr as SandboxFleetOperationsSummary, qt as IntelligenceReport, rr as SandboxFleetDriverCapability, st as ExecResult, tn as ListSandboxFleetOptions, v as BatchRunOptions, wr as SandboxFleetWorkspaceSnapshotResult, wt as FleetExecDispatchResult, x as BatchTask, xn as PromptOptions, xt as FleetDispatchResultBufferOptions, y as BatchRunRequest, yr as SandboxFleetTraceOptions, yt as FleetDispatchCancelResult, z as CreateSandboxFleetWithCoordinatorOptions } from "./types-GCqqVbu5.js";
2
- import { a as TraceExportSink, i as TraceExportResult, n as SandboxInstance, t as HttpClient } from "./sandbox-BfCcV3M4.js";
1
+ import { $n as SandboxFleetArtifactSpec, An as PublishPublicTemplateVersionOptions, Ar as SandboxProfileSummary, B as CreateSandboxOptions, Cr as SandboxFleetWorkspaceRestoreResult, Ct as FleetExecDispatchOptions, Dn as PublicTemplateInfo, Dt as FleetPromptDispatchResult, Et as FleetPromptDispatchOptions, F as CreateIntelligenceReportOptions, Fi as UsageInfo, I as CreateRequestOptions, Jn as SandboxClientConfig, Jt as IntelligenceReportBudget, L as CreateSandboxFleetOptions, Mn as ReapExpiredSandboxFleetsResult, Nn as ReconcileSandboxFleetsOptions, On as PublicTemplateVersionInfo, Pn as ReconcileSandboxFleetsResult, Qn as SandboxFleetArtifact, R as CreateSandboxFleetTokenOptions, Sn as PromptResult, Sr as SandboxFleetWorkspaceReconcileResult, St as FleetDispatchStreamOptions, Tr as SandboxInfo, Tt as FleetMachineId, Xn as SandboxEnvironment, Yt as IntelligenceReportCompareTo, Zr as SecretsManager, Zt as IntelligenceReportWindow, _ as BatchResult, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetInfo, bn as PromptInputPart, br as SandboxFleetUsage, bt as FleetDispatchResultBuffer, dr as SandboxFleetManifest, er as SandboxFleetCostEstimate, fi as SshKeysManager, g as BatchOptions, gi as SubscriptionInfo, gr as SandboxFleetTraceBundle, hr as SandboxFleetToken, jn as ReapExpiredSandboxFleetsOptions, ki as TokenRefreshHandler, kn as PublishPublicTemplateOptions, lr as SandboxFleetMachineRecord, m as BatchEvent, nn as ListSandboxOptions, nr as SandboxFleetDispatchResponse, ot as ExecOptions, pr as SandboxFleetOperationsSummary, qt as IntelligenceReport, rr as SandboxFleetDriverCapability, st as ExecResult, tn as ListSandboxFleetOptions, v as BatchRunOptions, wr as SandboxFleetWorkspaceSnapshotResult, wt as FleetExecDispatchResult, x as BatchTask, xn as PromptOptions, xt as FleetDispatchResultBufferOptions, y as BatchRunRequest, yr as SandboxFleetTraceOptions, yt as FleetDispatchCancelResult, z as CreateSandboxFleetWithCoordinatorOptions } from "./types-DACKEpON.js";
2
+ import { a as TraceExportSink, i as TraceExportResult, n as SandboxInstance, t as HttpClient } from "./sandbox-C0qo2TZO.js";
3
3
 
4
4
  //#region src/lib/sse-parser.d.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { c as encodeTextForWire, i as SANDBOX_PROXY_REQUEST_MAX_BYTES, o as combineAbortSignals, s as encodePromptForWire } from "./runtime-api-fqaQ3CN2.js";
2
- import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, o as PartialFailureError, p as parseErrorResponse, t as AuthError } from "./errors-Cbs78OlF.js";
3
- import { f as exportTraceBundle, h as parseSSEStream, n as createSandboxInstanceFromResponse, r as normalizeStartupDiagnostics, u as normalizeConnection } from "./sandbox-RpcTSijL.js";
1
+ import { c as encodeTextForWire, i as SANDBOX_PROXY_REQUEST_MAX_BYTES, o as combineAbortSignals, s as encodePromptForWire } from "./runtime-api-r8vQVMe4.js";
2
+ import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, o as PartialFailureError, p as parseErrorResponse, t as AuthError } from "./errors-hbpL_-S6.js";
3
+ import { f as exportTraceBundle, h as parseSSEStream, n as createSandboxInstanceFromResponse, r as normalizeStartupDiagnostics, u as normalizeConnection } from "./sandbox-C8WoMyT0.js";
4
4
  //#region src/resources.ts
5
5
  /**
6
6
  * Compute tiers, ordered smallest → largest. Defined HERE (not imported from
@@ -1,2 +1,2 @@
1
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-DDnuTcZd.js";
1
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-CeNQA9H_.js";
2
2
  export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
@@ -1,4 +1,4 @@
1
- import { d as TimeoutError, i as NetworkError, p as parseErrorResponse } from "./errors-Cbs78OlF.js";
1
+ import { d as TimeoutError, i as NetworkError, p as parseErrorResponse } from "./errors-hbpL_-S6.js";
2
2
  //#region src/collaboration/client.ts
3
3
  const DEFAULT_TIMEOUT_MS = 3e4;
4
4
  function normalizeBaseUrl(url) {
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as CreateSandboxOptions, Ir as SandboxStatus, Jn as SandboxClientConfig, Tr as SandboxInfo, dn as PreviewLinkInfo, fn as PreviewLinkManager, on as NetworkConfig, ot as ExecOptions, st as ExecResult } from "./types-GCqqVbu5.js";
2
- import { n as SandboxInstance } from "./sandbox-BfCcV3M4.js";
3
- import { i as SandboxClient } from "./client-D8aRlF_N.js";
4
- import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-ntvaf0_F.js";
1
+ import { B as CreateSandboxOptions, Ir as SandboxStatus, Jn as SandboxClientConfig, Tr as SandboxInfo, dn as PreviewLinkInfo, fn as PreviewLinkManager, on as NetworkConfig, ot as ExecOptions, st as ExecResult } from "./types-DACKEpON.js";
2
+ import { n as SandboxInstance } from "./sandbox-C0qo2TZO.js";
3
+ import { i as SandboxClient } from "./client-L4c2I5tL.js";
4
+ import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-B-8AMQdY.js";
5
5
  export { AuthError, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, QuotaError, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError };
package/dist/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, s as QuotaError, t as AuthError, u as StateError } from "./errors-Cbs78OlF.js";
2
- import { t as SandboxInstance } from "./sandbox-RpcTSijL.js";
3
- import { n as SandboxClient } from "./client-C8zjvgpm.js";
1
+ import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, s as QuotaError, t as AuthError, u as StateError } from "./errors-hbpL_-S6.js";
2
+ import { t as SandboxInstance } from "./sandbox-C8WoMyT0.js";
3
+ import { n as SandboxClient } from "./client-yksqE5VH.js";
4
4
  export { AuthError, CapabilityError, NetworkError, NotFoundError, PartialFailureError, QuotaError, SandboxClient as Sandbox, SandboxClient, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError };
@@ -52,7 +52,7 @@ declare class NotFoundError extends SandboxError {
52
52
  readonly resourceType: string;
53
53
  /** The resource ID that was not found */
54
54
  readonly resourceId: string;
55
- constructor(resourceType: string, resourceId: string, metadata?: SandboxErrorMetadata);
55
+ constructor(resourceType: string, resourceId: string, metadata?: SandboxErrorMetadata, message?: string, code?: string);
56
56
  }
57
57
  /**
58
58
  * Account quota or rate limit exceeded.
@@ -51,8 +51,8 @@ var NotFoundError = class extends SandboxError {
51
51
  resourceType;
52
52
  /** The resource ID that was not found */
53
53
  resourceId;
54
- constructor(resourceType, resourceId, metadata) {
55
- super(`${resourceType} not found: ${resourceId}`, "NOT_FOUND", 404, metadata);
54
+ constructor(resourceType, resourceId, metadata, message = `${resourceType} not found: ${resourceId}`, code = "NOT_FOUND") {
55
+ super(message, code, 404, metadata);
56
56
  this.name = "NotFoundError";
57
57
  this.resourceType = resourceType;
58
58
  this.resourceId = resourceId;
@@ -257,7 +257,7 @@ function parseErrorResponse(status, body, context, headers) {
257
257
  switch (status) {
258
258
  case 400: return new ValidationError(message, data.fields, metadata, code);
259
259
  case 401: return new AuthError(message, metadata);
260
- case 404: return new NotFoundError(data.resourceType || "Resource", data.resourceId || "unknown", metadata);
260
+ case 404: return new NotFoundError(data.resourceType || "Resource", data.resourceId || "unknown", metadata, message, code);
261
261
  case 408: return new TimeoutError(data.timeoutMs || 3e4, message, metadata);
262
262
  case 409: return new StateError(message, data.currentState || "unknown", data.requiredState, metadata, code);
263
263
  case 429: return new QuotaError(data.quotaType || "rate_limit", message, data.current, data.limit, metadata);
@@ -1,5 +1,5 @@
1
- import { B as CreateSandboxOptions } from "./types-GCqqVbu5.js";
2
- import { n as SandboxInstance, t as HttpClient } from "./sandbox-BfCcV3M4.js";
1
+ import { B as CreateSandboxOptions } from "./types-DACKEpON.js";
2
+ import { n as SandboxInstance, t as HttpClient } from "./sandbox-C0qo2TZO.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 DriverType, $i as AgentProfileValidationIssue, $n as SandboxFleetArtifactSpec, $r as SendSessionMessageRequest, $t as ListMessagesOptions, A as CodeResult, Ai as ToolsConfig, An as PublishPublicTemplateVersionOptions, Ar as SandboxProfileSummary, At as GitBranch, B as CreateSandboxOptions, Bi as WriteManyOptions, Bn as RolloutOptions, Br as SandboxTerminalRequestOptions, Bt as GpuLeaseManager, C as BatchTaskUsage, Ci as TaskSessionProfile, Cn as ProvisionEvent, Cr as SandboxFleetWorkspaceRestoreResult, Ct as FleetExecDispatchOptions, Di as TeePublicKey, Dn as PublicTemplateInfo, Dr as SandboxPermissionsConfig, E as ChunkedUploadResult, Ei as TeeAttestationResponse, En as ProvisionStep, Er as SandboxIntelligenceEnvelope, Et as FleetPromptDispatchOptions, F as CreateIntelligenceReportOptions, Fi as UsageInfo, Fn as RenameOptions, Fr as SandboxRuntimeProfileList, Ft as GpuLease, G as DirectoryPermission, Gi as AgentProfileFileMount, Gn as RunCodeOptions, Gr as SandboxUser, Gt as HostAgentRuntimeBackend, H as CreateTaskSessionOptions, Hi as AgentProfileCapabilities, Hn as RolloutStartResult, Hr as SandboxTraceEvent, Ht as GpuLeaseStatus, I as CreateRequestOptions, Ii as WaitForOptions, Ir as SandboxStatus, It as GpuLeaseBilling, J as DownloadOptions, Ji as AgentProfilePermissionValue, Jn as SandboxClientConfig, Jr as SearchMatch, Jt as IntelligenceReportBudget, K as DispatchPromptOptions, Ki as AgentProfileMcpServer, Kn as SSHCommandDescriptor, Kr as ScopedToken, Kt as InstalledTool, L as CreateSandboxFleetOptions, Li as WaitForRolloutOptions, Lr as SandboxTerminalCreateOptions, Lt as GpuLeaseCommandResult, M as CommitTaskSessionOptions, Mi as UpdateUserOptions, Mn as ReapExpiredSandboxFleetsResult, Mr as SandboxResources, Mt as GitConfig, N as CompletedTurnResult, Ni as UploadOptions, Nn as ReconcileSandboxFleetsOptions, Nr as SandboxRuntimeHealth, Nt as GitDiff, Oi as TeePublicKeyResponse, On as PublicTemplateVersionInfo, Or as SandboxPortBinding, Ot as GPU_LEASE_PROVIDER_NAMES, P as CreateGpuLeaseOptions, Pi as UploadProgress, Pn as ReconcileSandboxFleetsResult, Pr as SandboxRuntimeProfile, Pt as GitStatus, Q as DriverInfo, Qi as AgentProfileSecurityPolicy, Qn as SandboxFleetArtifact, Qr as SendSessionMessageOptions, Ri as WriteFileOptions, Rn as Rollout, Rr as SandboxTerminalInfo, Rt as GpuLeaseExecOptions, S as BatchTaskResult, Si as TaskSessionInfo, Sn as PromptResult, Sr as SandboxFleetWorkspaceReconcileResult, St as FleetDispatchStreamOptions, T as ChunkedUploadOptions, Ti as TeeAttestationReport, Tn as ProvisionStatus, Tr as SandboxInfo, Tt as FleetMachineId, U as DeleteOptions, Ui as AgentProfileConfidential, Un as RolloutStatus, Ur as SandboxTraceExport, Ut as GpuType, V as CreateSessionOptions, Vi as AgentProfile, Vn as RolloutScorer, Vr as SandboxTraceBundle, Vt as GpuLeaseProviderName, W as DevServerInfo, Wi as AgentProfileConnection, Wn as RolloutTurnPart, Wr as SandboxTraceOptions, Wt as HostAgentDriverConfig, X as DriveTurnOptions, Xi as AgentProfileResourceRef, Xn as SandboxEnvironment, Xr as SecretInfo, Xt as IntelligenceReportSubjectType, Y as DownloadProgress, Yi as AgentProfilePrompt, Yn as SandboxConnection, Yr as SearchOptions, Yt as IntelligenceReportCompareTo, Z as DriverConfig, Zi as AgentProfileResources, Zn as SandboxEvent, Zr as SecretsManager, Zt as IntelligenceReportWindow, _ as BatchResult, _i as TaskOptions, _n as ProcessSignal, _r as SandboxFleetTraceEvent, _t as FileTreeResult, a as AttachSandboxFleetMachineOptions, aa as defineAgentProfile, ai as SessionListOptions, an as MkdirOptions, ar as SandboxFleetInfo, at as ExactProcessSpawnOptions, b as BatchSidecarGroup, bi as TaskSessionCommitResult, br as SandboxFleetUsage, bt as FleetDispatchResultBuffer, c as BackendInfo, ca as mergeAgentProfiles, ci as SessionStatus, cn as NonHostAgentDriverConfig, cr as SandboxFleetMachineMeteredUsage, ct as FileInfo, d as BackendType, di as SnapshotResult, dn as PreviewLinkInfo, dr as SandboxFleetManifest, dt as FileReadError, ea as AgentProfileValidationResult, ei as SentSessionMessage, en as ListOptions, er as SandboxFleetCostEstimate, f as BatchBackend, fn as PreviewLinkManager, fr as SandboxFleetManifestMachine, ft as FileReadResult, g as BatchOptions, gi as SubscriptionInfo, gn as ProcessManager, gr as SandboxFleetTraceBundle, gt as FileTreeOptions, h as BatchEventDataMap, hi as StorageConfig, hn as ProcessLogEntry, hr as SandboxFleetToken, ht as FileTreeFile, i as AttachGpuLeaseOptions, ia as capabilitySchema, ii as SessionInfo, in as MintScopedTokenOptions, ir as SandboxFleetDriverTimings, it as EventStreamOptions, ji as TurnDriveResult, jn as ReapExpiredSandboxFleetsOptions, jr as SandboxResourceUsage, jt as GitCommit, ki as TokenRefreshHandler, kn as PublishPublicTemplateOptions, kr as SandboxPortPreviewLink, kt as GitAuth, l as BackendManager, la as validateAgentProfileSecurity, li as SnapshotInfo, ln as PermissionLevel, lr as SandboxFleetMachineRecord, lt as FileReadBatchOptions, m as BatchEvent, mi as StartupOperation, mn as ProcessInfo, mr as SandboxFleetPolicy, mt as FileSystem, n as AccessPolicyRule, na as Capability, ni as SessionEventStreamOptions, nn as ListSandboxOptions, nr as SandboxFleetDispatchResponse, nt as EgressPolicy, o as BackendCapabilities, oa as defineGitHubResource, oi as SessionMessage, on as NetworkConfig, or as SandboxFleetIntelligenceEnvelope, ot as ExecOptions, p as BatchBackendStats, pi as StartupDiagnostics, pn as Process, pr as SandboxFleetOperationsSummary, pt as FileRenameResult, q as DispatchedSession, qi as AgentProfileModelHints, qn as SSHCredentials, qr as ScopedTokenScope, qt as IntelligenceReport, r as AddUserOptions, ra as agentProfileSchema, ri as SessionForkOptions, rn as McpServerConfig, rr as SandboxFleetDriverCapability, rt as EnsureDevServerOptions, s as BackendConfig, sa as defineInlineResource, si as SessionMessageInputPart, sn as NetworkManager, sr as SandboxFleetMachine, st as ExecResult, t as AcceleratorKind, ta as AgentSubagentProfile, ti as SessionBackendCredentials, tn as ListSandboxFleetOptions, tr as SandboxFleetDispatchFailureClass, tt as EgressManager, u as BackendStatus, ui as SnapshotOptions, un as PermissionsManager, ur as SandboxFleetMachineSpec, ut as FileReadBatchResult, v as BatchRunOptions, vi as TaskResult, vn as ProcessSpawnOptions, vr as SandboxFleetTraceExport, vt as FileWriteResult, w as BranchOptions, wi as TeeAttestationOptions, wn as ProvisionResult, wr as SandboxFleetWorkspaceSnapshotResult, x as BatchTask, xi as TaskSessionFileChange, xn as PromptOptions, xr as SandboxFleetWorkspace, xt as FleetDispatchResultBufferOptions, y as BatchRunRequest, yi as TaskSessionChanges, yn as ProcessStatus, yr as SandboxFleetTraceOptions, yt as FleetDispatchCancelResult, z as CreateSandboxFleetWithCoordinatorOptions, zi as WriteManyFile, zn as RolloutChildResult, zr as SandboxTerminalManager, zt as GpuLeaseExecResult } from "./types-GCqqVbu5.js";
2
- import { C as SandboxMcpConfig, D as buildSandboxMcpConfig, E as buildControlPlaneMcpConfig, S as SANDBOX_MCP_SERVER_NAME, T as SandboxMcpServerEntry, _ as RespondToPermissionOptions, a as TraceExportSink, b as BuildSandboxMcpConfigOptions, c as otelTraceIdForTangleTrace, d as SandboxSession, f as InteractiveAuthFile, g as InterruptResult, h as InteractiveSessionInfo, i as TraceExportResult, l as toOtelJson, m as InteractiveSessionHost, n as SandboxInstance, o as buildTraceExportPayload, p as InteractiveSessionHandle, r as TraceExportFormat, s as exportTraceBundle, u as SandboxTaskSession, v as StartInteractiveOptions, w as SandboxMcpEndpoint, x as CONTROL_PLANE_MCP_SERVER_NAME, y as BuildControlPlaneMcpConfigOptions } from "./sandbox-BfCcV3M4.js";
3
- import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, i as SandboxClient, 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-D8aRlF_N.js";
1
+ import { $ as DriverType, $i as AgentProfileValidationIssue, $n as SandboxFleetArtifactSpec, $r as SendSessionMessageRequest, $t as ListMessagesOptions, A as CodeResult, Ai as ToolsConfig, An as PublishPublicTemplateVersionOptions, Ar as SandboxProfileSummary, At as GitBranch, B as CreateSandboxOptions, Bi as WriteManyOptions, Bn as RolloutOptions, Br as SandboxTerminalRequestOptions, Bt as GpuLeaseManager, C as BatchTaskUsage, Ci as TaskSessionProfile, Cn as ProvisionEvent, Cr as SandboxFleetWorkspaceRestoreResult, Ct as FleetExecDispatchOptions, Di as TeePublicKey, Dn as PublicTemplateInfo, Dr as SandboxPermissionsConfig, E as ChunkedUploadResult, Ei as TeeAttestationResponse, En as ProvisionStep, Er as SandboxIntelligenceEnvelope, Et as FleetPromptDispatchOptions, F as CreateIntelligenceReportOptions, Fi as UsageInfo, Fn as RenameOptions, Fr as SandboxRuntimeProfileList, Ft as GpuLease, G as DirectoryPermission, Gi as AgentProfileFileMount, Gn as RunCodeOptions, Gr as SandboxUser, Gt as HostAgentRuntimeBackend, H as CreateTaskSessionOptions, Hi as AgentProfileCapabilities, Hn as RolloutStartResult, Hr as SandboxTraceEvent, Ht as GpuLeaseStatus, I as CreateRequestOptions, Ii as WaitForOptions, Ir as SandboxStatus, It as GpuLeaseBilling, J as DownloadOptions, Ji as AgentProfilePermissionValue, Jn as SandboxClientConfig, Jr as SearchMatch, Jt as IntelligenceReportBudget, K as DispatchPromptOptions, Ki as AgentProfileMcpServer, Kn as SSHCommandDescriptor, Kr as ScopedToken, Kt as InstalledTool, L as CreateSandboxFleetOptions, Li as WaitForRolloutOptions, Lr as SandboxTerminalCreateOptions, Lt as GpuLeaseCommandResult, M as CommitTaskSessionOptions, Mi as UpdateUserOptions, Mn as ReapExpiredSandboxFleetsResult, Mr as SandboxResources, Mt as GitConfig, N as CompletedTurnResult, Ni as UploadOptions, Nn as ReconcileSandboxFleetsOptions, Nr as SandboxRuntimeHealth, Nt as GitDiff, Oi as TeePublicKeyResponse, On as PublicTemplateVersionInfo, Or as SandboxPortBinding, Ot as GPU_LEASE_PROVIDER_NAMES, P as CreateGpuLeaseOptions, Pi as UploadProgress, Pn as ReconcileSandboxFleetsResult, Pr as SandboxRuntimeProfile, Pt as GitStatus, Q as DriverInfo, Qi as AgentProfileSecurityPolicy, Qn as SandboxFleetArtifact, Qr as SendSessionMessageOptions, Ri as WriteFileOptions, Rn as Rollout, Rr as SandboxTerminalInfo, Rt as GpuLeaseExecOptions, S as BatchTaskResult, Si as TaskSessionInfo, Sn as PromptResult, Sr as SandboxFleetWorkspaceReconcileResult, St as FleetDispatchStreamOptions, T as ChunkedUploadOptions, Ti as TeeAttestationReport, Tn as ProvisionStatus, Tr as SandboxInfo, Tt as FleetMachineId, U as DeleteOptions, Ui as AgentProfileConfidential, Un as RolloutStatus, Ur as SandboxTraceExport, Ut as GpuType, V as CreateSessionOptions, Vi as AgentProfile, Vn as RolloutScorer, Vr as SandboxTraceBundle, Vt as GpuLeaseProviderName, W as DevServerInfo, Wi as AgentProfileConnection, Wn as RolloutTurnPart, Wr as SandboxTraceOptions, Wt as HostAgentDriverConfig, X as DriveTurnOptions, Xi as AgentProfileResourceRef, Xn as SandboxEnvironment, Xr as SecretInfo, Xt as IntelligenceReportSubjectType, Y as DownloadProgress, Yi as AgentProfilePrompt, Yn as SandboxConnection, Yr as SearchOptions, Yt as IntelligenceReportCompareTo, Z as DriverConfig, Zi as AgentProfileResources, Zn as SandboxEvent, Zr as SecretsManager, Zt as IntelligenceReportWindow, _ as BatchResult, _i as TaskOptions, _n as ProcessSignal, _r as SandboxFleetTraceEvent, _t as FileTreeResult, a as AttachSandboxFleetMachineOptions, aa as defineAgentProfile, ai as SessionListOptions, an as MkdirOptions, ar as SandboxFleetInfo, at as ExactProcessSpawnOptions, b as BatchSidecarGroup, bi as TaskSessionCommitResult, br as SandboxFleetUsage, bt as FleetDispatchResultBuffer, c as BackendInfo, ca as mergeAgentProfiles, ci as SessionStatus, cn as NonHostAgentDriverConfig, cr as SandboxFleetMachineMeteredUsage, ct as FileInfo, d as BackendType, di as SnapshotResult, dn as PreviewLinkInfo, dr as SandboxFleetManifest, dt as FileReadError, ea as AgentProfileValidationResult, ei as SentSessionMessage, en as ListOptions, er as SandboxFleetCostEstimate, f as BatchBackend, fn as PreviewLinkManager, fr as SandboxFleetManifestMachine, ft as FileReadResult, g as BatchOptions, gi as SubscriptionInfo, gn as ProcessManager, gr as SandboxFleetTraceBundle, gt as FileTreeOptions, h as BatchEventDataMap, hi as StorageConfig, hn as ProcessLogEntry, hr as SandboxFleetToken, ht as FileTreeFile, i as AttachGpuLeaseOptions, ia as capabilitySchema, ii as SessionInfo, in as MintScopedTokenOptions, ir as SandboxFleetDriverTimings, it as EventStreamOptions, ji as TurnDriveResult, jn as ReapExpiredSandboxFleetsOptions, jr as SandboxResourceUsage, jt as GitCommit, ki as TokenRefreshHandler, kn as PublishPublicTemplateOptions, kr as SandboxPortPreviewLink, kt as GitAuth, l as BackendManager, la as validateAgentProfileSecurity, li as SnapshotInfo, ln as PermissionLevel, lr as SandboxFleetMachineRecord, lt as FileReadBatchOptions, m as BatchEvent, mi as StartupOperation, mn as ProcessInfo, mr as SandboxFleetPolicy, mt as FileSystem, n as AccessPolicyRule, na as Capability, ni as SessionEventStreamOptions, nn as ListSandboxOptions, nr as SandboxFleetDispatchResponse, nt as EgressPolicy, o as BackendCapabilities, oa as defineGitHubResource, oi as SessionMessage, on as NetworkConfig, or as SandboxFleetIntelligenceEnvelope, ot as ExecOptions, p as BatchBackendStats, pi as StartupDiagnostics, pn as Process, pr as SandboxFleetOperationsSummary, pt as FileRenameResult, q as DispatchedSession, qi as AgentProfileModelHints, qn as SSHCredentials, qr as ScopedTokenScope, qt as IntelligenceReport, r as AddUserOptions, ra as agentProfileSchema, ri as SessionForkOptions, rn as McpServerConfig, rr as SandboxFleetDriverCapability, rt as EnsureDevServerOptions, s as BackendConfig, sa as defineInlineResource, si as SessionMessageInputPart, sn as NetworkManager, sr as SandboxFleetMachine, st as ExecResult, t as AcceleratorKind, ta as AgentSubagentProfile, ti as SessionBackendCredentials, tn as ListSandboxFleetOptions, tr as SandboxFleetDispatchFailureClass, tt as EgressManager, u as BackendStatus, ui as SnapshotOptions, un as PermissionsManager, ur as SandboxFleetMachineSpec, ut as FileReadBatchResult, v as BatchRunOptions, vi as TaskResult, vn as ProcessSpawnOptions, vr as SandboxFleetTraceExport, vt as FileWriteResult, w as BranchOptions, wi as TeeAttestationOptions, wn as ProvisionResult, wr as SandboxFleetWorkspaceSnapshotResult, x as BatchTask, xi as TaskSessionFileChange, xn as PromptOptions, xr as SandboxFleetWorkspace, xt as FleetDispatchResultBufferOptions, y as BatchRunRequest, yi as TaskSessionChanges, yn as ProcessStatus, yr as SandboxFleetTraceOptions, yt as FleetDispatchCancelResult, z as CreateSandboxFleetWithCoordinatorOptions, zi as WriteManyFile, zn as RolloutChildResult, zr as SandboxTerminalManager, zt as GpuLeaseExecResult } from "./types-DACKEpON.js";
2
+ import { C as SANDBOX_MCP_SERVER_NAME, D as buildControlPlaneMcpConfig, E as SandboxMcpServerEntry, O as buildSandboxMcpConfig, S as CONTROL_PLANE_MCP_SERVER_NAME, T as SandboxMcpEndpoint, _ as InterruptResult, a as TraceExportSink, b as BuildControlPlaneMcpConfigOptions, c as otelTraceIdForTangleTrace, d as SandboxSession, f as InteractiveAuthFile, g as InteractiveSessionStatus, h as InteractiveSessionInfo, i as TraceExportResult, l as toOtelJson, m as InteractiveSessionHost, n as SandboxInstance, o as buildTraceExportPayload, p as InteractiveSessionHandle, r as TraceExportFormat, s as exportTraceBundle, u as SandboxTaskSession, v as RespondToPermissionOptions, w as SandboxMcpConfig, x as BuildSandboxMcpConfigOptions, y as StartInteractiveOptions } from "./sandbox-C0qo2TZO.js";
3
+ import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, i as SandboxClient, 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-L4c2I5tL.js";
4
4
  import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-CyHojkuA.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-DKzapw-9.js";
6
- import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-ntvaf0_F.js";
7
- import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-B_9PUXLN.js";
6
+ import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-B-8AMQdY.js";
7
+ import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-XaVF9qK-.js";
8
8
 
9
9
  //#region src/attestation-heartbeat.d.ts
10
10
  interface TeeAttestationHeartbeatSample {
@@ -1386,4 +1386,4 @@ interface RouterEvalMatrixCaseResult {
1386
1386
  }
1387
1387
  declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
1388
1388
  //#endregion
1389
- 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 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 BatchOptions, type BatchResult, 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 CodeResult, 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 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 FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, 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 GpuType, 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 InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, 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 Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, 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 RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, 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 SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxProfileSummary, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeHealth, type SandboxRuntimeProfile, type SandboxRuntimeProfileList, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, 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 SessionForkOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, 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, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, agentProfileSchema, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, capabilitySchema, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, materializeProfileFileMounts, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, splitInlineProfileFileMounts, startTeeAttestationHeartbeat, toOtelJson, validateAgentProfileSecurity, validateDeferredProfileFileMounts };
1389
+ 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 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 BatchOptions, type BatchResult, 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 CodeResult, 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 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 FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, 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 GpuType, 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 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 Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, 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 RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, 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 SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxProfileSummary, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeHealth, type SandboxRuntimeProfile, type SandboxRuntimeProfileList, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, 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 SessionForkOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, 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, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, agentProfileSchema, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, capabilitySchema, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, materializeProfileFileMounts, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, splitInlineProfileFileMounts, startTeeAttestationHeartbeat, toOtelJson, validateAgentProfileSecurity, validateDeferredProfileFileMounts };
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { d as serializeForSidecar, l as normalizeRuntimeBackendConfig } from "./runtime-api-fqaQ3CN2.js";
2
- import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as StateError } from "./errors-Cbs78OlF.js";
3
- import { a as SandboxSession, c as collectAgentResponseText, d as buildTraceExportPayload, f as exportTraceBundle, h as parseSSEStream, i as SandboxTaskSession, l as getSandboxEventText, m as toOtelJson, o as InteractiveSessionHandle, p as otelTraceIdForTangleTrace, s as applySandboxEventText, t as SandboxInstance } from "./sandbox-RpcTSijL.js";
4
- import { a as validateDeferredProfileFileMounts, c as DEFAULT_SANDBOX_SIZE, d as resolveSandboxResources, f as sandboxResourcesForSize, i as splitInlineProfileFileMounts, l as SANDBOX_SIZE_PRESETS, n as SandboxClient, o as SandboxFleet, r as materializeProfileFileMounts, s as SandboxFleetClient, t as IntelligenceClient, u as SANDBOX_SIZE_PRESET_NAMES } from "./client-C8zjvgpm.js";
5
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-DDnuTcZd.js";
6
- import { t as TangleSandboxClient } from "./tangle-BU24fDBA.js";
1
+ import { d as serializeForSidecar, l as normalizeRuntimeBackendConfig } from "./runtime-api-r8vQVMe4.js";
2
+ import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as StateError } from "./errors-hbpL_-S6.js";
3
+ import { a as SandboxSession, c as collectAgentResponseText, d as buildTraceExportPayload, f as exportTraceBundle, h as parseSSEStream, i as SandboxTaskSession, l as getSandboxEventText, m as toOtelJson, o as InteractiveSessionHandle, p as otelTraceIdForTangleTrace, s as applySandboxEventText, t as SandboxInstance } from "./sandbox-C8WoMyT0.js";
4
+ import { a as validateDeferredProfileFileMounts, c as DEFAULT_SANDBOX_SIZE, d as resolveSandboxResources, f as sandboxResourcesForSize, i as splitInlineProfileFileMounts, l as SANDBOX_SIZE_PRESETS, n as SandboxClient, o as SandboxFleet, r as materializeProfileFileMounts, s as SandboxFleetClient, t as IntelligenceClient, u as SANDBOX_SIZE_PRESET_NAMES } from "./client-yksqE5VH.js";
5
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CeNQA9H_.js";
6
+ import { t as TangleSandboxClient } from "./tangle-m1lRkQlR.js";
7
7
  import { agentProfileSchema, capabilitySchema, defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
8
8
  //#region src/confidential.ts
9
9
  function generateAttestationNonce(bytes = 32) {
@@ -1,4 +1,4 @@
1
- import { d as TimeoutError, i as NetworkError, p as parseErrorResponse } from "../errors-Cbs78OlF.js";
1
+ import { d as TimeoutError, i as NetworkError, p as parseErrorResponse } from "../errors-hbpL_-S6.js";
2
2
  //#region src/intelligence/index.ts
3
3
  /**
4
4
  * `@tangle-network/sandbox/intelligence` — browser-safe typed client for the
@@ -1,4 +1,4 @@
1
- import { c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, p as parseErrorResponse, s as QuotaError } from "./errors-Cbs78OlF.js";
1
+ import { c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, p as parseErrorResponse, s as QuotaError } from "./errors-hbpL_-S6.js";
2
2
  //#region src/backend-config.ts
3
3
  const LEGACY_QUESTION_ALIAS_KEY = ["question", "Channel"].join("");
4
4
  function normalizeRuntimeModelOverride(model) {
@@ -665,6 +665,7 @@ function normalizeSessionInfo(raw) {
665
665
  "failed",
666
666
  "cancelled"
667
667
  ].includes(status) ? status : "running",
668
+ latestExecutionId: typeof raw.latestExecutionId === "string" && raw.latestExecutionId.length > 0 ? raw.latestExecutionId : void 0,
668
669
  backend: typeof raw.backendType === "string" ? raw.backendType : typeof raw.backend === "string" ? raw.backend : void 0,
669
670
  model: typeof raw.model === "string" ? raw.model : void 0,
670
671
  promptCount: typeof raw.promptCount === "number" ? raw.promptCount : void 0,
package/dist/runtime.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { $r as SendSessionMessageRequest, $t as ListMessagesOptions, Br as SandboxTerminalRequestOptions, E as ChunkedUploadResult, Fn as RenameOptions, Fr as SandboxRuntimeProfileList, H as CreateTaskSessionOptions, Lr as SandboxTerminalCreateOptions, M as CommitTaskSessionOptions, Nr as SandboxRuntimeHealth, Or as SandboxPortBinding, Pi as UploadProgress, Qr as SendSessionMessageOptions, Ri as WriteFileOptions, Rr as SandboxTerminalInfo, Si as TaskSessionInfo, T as ChunkedUploadOptions, V as CreateSessionOptions, _t as FileTreeResult, bi as TaskSessionCommitResult, ei as SentSessionMessage, gt as FileTreeOptions, ii as SessionInfo, lt as FileReadBatchOptions, oi as SessionMessage, pt as FileRenameResult, ut as FileReadBatchResult, vt as FileWriteResult, yi as TaskSessionChanges, zr as SandboxTerminalManager } from "./types-GCqqVbu5.js";
2
- import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-ntvaf0_F.js";
1
+ import { $r as SendSessionMessageRequest, $t as ListMessagesOptions, Br as SandboxTerminalRequestOptions, E as ChunkedUploadResult, Fn as RenameOptions, Fr as SandboxRuntimeProfileList, H as CreateTaskSessionOptions, Lr as SandboxTerminalCreateOptions, M as CommitTaskSessionOptions, Nr as SandboxRuntimeHealth, Or as SandboxPortBinding, Pi as UploadProgress, Qr as SendSessionMessageOptions, Ri as WriteFileOptions, Rr as SandboxTerminalInfo, Si as TaskSessionInfo, T as ChunkedUploadOptions, V as CreateSessionOptions, _t as FileTreeResult, bi as TaskSessionCommitResult, ei as SentSessionMessage, gt as FileTreeOptions, ii as SessionInfo, lt as FileReadBatchOptions, oi as SessionMessage, pt as FileRenameResult, ut as FileReadBatchResult, vt as FileWriteResult, yi as TaskSessionChanges, zr as SandboxTerminalManager } from "./types-DACKEpON.js";
2
+ import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-B-8AMQdY.js";
3
3
 
4
4
  //#region src/lib/chunked-upload.d.ts
5
5
  /** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
package/dist/runtime.js CHANGED
@@ -1,5 +1,5 @@
1
- import { o as combineAbortSignals, r as uploadChunked, t as SandboxRuntimeApi } from "./runtime-api-fqaQ3CN2.js";
2
- import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, s as QuotaError, t as AuthError, u as StateError } from "./errors-Cbs78OlF.js";
1
+ import { o as combineAbortSignals, r as uploadChunked, t as SandboxRuntimeApi } from "./runtime-api-r8vQVMe4.js";
2
+ import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, s as QuotaError, t as AuthError, u as StateError } from "./errors-hbpL_-S6.js";
3
3
  //#region src/runtime-client.ts
4
4
  const DEFAULT_RUNTIME_TIMEOUT_MS = 3e4;
5
5
  function requireToken(token) {
@@ -1,4 +1,5 @@
1
- import { $r as SendSessionMessageRequest, $t as ListMessagesOptions, At as GitBranch, Bi as WriteManyOptions, Bn as RolloutOptions, Bt as GpuLeaseManager, Cn as ProvisionEvent, D as CodeExecutionOptions, Ei as TeeAttestationResponse, Fr as SandboxRuntimeProfileList, Ft as GpuLease, H as CreateTaskSessionOptions, Hn as RolloutStartResult, Ii as WaitForOptions, In as RestoreSnapshotOptions, Ir as SandboxStatus, Jr as SearchMatch, Jt as IntelligenceReportBudget, K as DispatchPromptOptions, Kn as SSHCommandDescriptor, Kr as ScopedToken, Kt as InstalledTool, Li as WaitForRolloutOptions, Ln as ResumeOptions, M as CommitTaskSessionOptions, N as CompletedTurnResult, Nr as SandboxRuntimeHealth, Nt as GitDiff, O as CodeExecutionResult, Oi as TeePublicKeyResponse, Or as SandboxPortBinding, Pt as GitStatus, Q as DriverInfo, Qr as SendSessionMessageOptions, Qt as JsonValue, Ri as WriteFileOptions, Rn as Rollout, Si as TaskSessionInfo, Sn as PromptResult, Tr as SandboxInfo, V as CreateSessionOptions, Vr as SandboxTraceBundle, Wr as SandboxTraceOptions, X as DriveTurnOptions, Yn as SandboxConnection, Yr as SearchOptions, Yt as IntelligenceReportCompareTo, Zn as SandboxEvent, Zt as IntelligenceReportWindow, _i as TaskOptions, ai as SessionListOptions, bi as TaskSessionCommitResult, bn as PromptInputPart, di as SnapshotResult, ei as SentSessionMessage, et as DurablePlan, fn as PreviewLinkManager, gn as ProcessManager, gr as SandboxFleetTraceBundle, ii as SessionInfo, in as MintScopedTokenOptions, it as EventStreamOptions, ji as TurnDriveResult, jr as SandboxResourceUsage, jt as GitCommit, k as CodeLanguage, l as BackendManager, li as SnapshotInfo, mt as FileSystem, ni as SessionEventStreamOptions, oi as SessionMessage, ot as ExecOptions, pi as StartupDiagnostics, q as DispatchedSession, qn as SSHCredentials, qt as IntelligenceReport, ri as SessionForkOptions, s as BackendConfig, sn as NetworkManager, st as ExecResult, tt as EgressManager, ui as SnapshotOptions, un as PermissionsManager, vi as TaskResult, vt as FileWriteResult, w as BranchOptions, wi as TeeAttestationOptions, wn as ProvisionResult, xn as PromptOptions, yi as TaskSessionChanges, zi as WriteManyFile, zr as SandboxTerminalManager } from "./types-GCqqVbu5.js";
1
+ import { $r as SendSessionMessageRequest, $t as ListMessagesOptions, At as GitBranch, Bi as WriteManyOptions, Bn as RolloutOptions, Bt as GpuLeaseManager, Cn as ProvisionEvent, D as CodeExecutionOptions, Ei as TeeAttestationResponse, Fr as SandboxRuntimeProfileList, Ft as GpuLease, H as CreateTaskSessionOptions, Hn as RolloutStartResult, Ii as WaitForOptions, In as RestoreSnapshotOptions, Ir as SandboxStatus, Jr as SearchMatch, Jt as IntelligenceReportBudget, K as DispatchPromptOptions, Kn as SSHCommandDescriptor, Kr as ScopedToken, Kt as InstalledTool, Li as WaitForRolloutOptions, Ln as ResumeOptions, M as CommitTaskSessionOptions, N as CompletedTurnResult, Nr as SandboxRuntimeHealth, Nt as GitDiff, O as CodeExecutionResult, Oi as TeePublicKeyResponse, Or as SandboxPortBinding, Pt as GitStatus, Q as DriverInfo, Qr as SendSessionMessageOptions, Qt as JsonValue, Ri as WriteFileOptions, Rn as Rollout, Si as TaskSessionInfo, Sn as PromptResult, Tr as SandboxInfo, V as CreateSessionOptions, Vr as SandboxTraceBundle, Wr as SandboxTraceOptions, X as DriveTurnOptions, Yn as SandboxConnection, Yr as SearchOptions, Yt as IntelligenceReportCompareTo, Zn as SandboxEvent, Zt as IntelligenceReportWindow, _i as TaskOptions, ai as SessionListOptions, bi as TaskSessionCommitResult, bn as PromptInputPart, di as SnapshotResult, ei as SentSessionMessage, et as DurablePlan, fn as PreviewLinkManager, gn as ProcessManager, gr as SandboxFleetTraceBundle, ii as SessionInfo, in as MintScopedTokenOptions, it as EventStreamOptions, ji as TurnDriveResult, jr as SandboxResourceUsage, jt as GitCommit, k as CodeLanguage, l as BackendManager, li as SnapshotInfo, mt as FileSystem, ni as SessionEventStreamOptions, oi as SessionMessage, ot as ExecOptions, pi as StartupDiagnostics, q as DispatchedSession, qn as SSHCredentials, qt as IntelligenceReport, ri as SessionForkOptions, s as BackendConfig, sn as NetworkManager, st as ExecResult, tt as EgressManager, ui as SnapshotOptions, un as PermissionsManager, vi as TaskResult, vt as FileWriteResult, w as BranchOptions, wi as TeeAttestationOptions, wn as ProvisionResult, xn as PromptOptions, yi as TaskSessionChanges, zi as WriteManyFile, zr as SandboxTerminalManager } from "./types-DACKEpON.js";
2
+ import { AgentProfile } from "@tangle-network/agent-interface";
2
3
 
3
4
  //#region src/mcp.d.ts
4
5
  /**
@@ -112,18 +113,6 @@ declare function buildControlPlaneMcpConfig(options: BuildControlPlaneMcpConfigO
112
113
  };
113
114
  //#endregion
114
115
  //#region src/interactive.d.ts
115
- /**
116
- * Interactive harness sessions on the public SDK.
117
- *
118
- * `box.session(id).interactive()` returns a handle that spawns a coding
119
- * harness's native interactive TUI in the sandbox (start), drives it with
120
- * prompts (sendPrompt), and tears it down (stop). The live framebuffer is
121
- * streamed over the WebSocket at the returned `streamUrl` (the secured
122
- * `/terminals/:id/ws` pixel lane) — open it with your terminal/xterm client.
123
- *
124
- * This is the public SDK surface of the Session Protocol Gateway; it rides the
125
- * same secured runtime routes as the rest of the SDK.
126
- */
127
116
  /** CLI auth file materialized into the harness's auth home before launch. */
128
117
  interface InteractiveAuthFile {
129
118
  path: string;
@@ -131,7 +120,12 @@ interface InteractiveAuthFile {
131
120
  mode?: number;
132
121
  }
133
122
  interface StartInteractiveOptions {
134
- /** Harness with a native interactive TUI: "claude-code" | "codex" | "kimi-code". */
123
+ /**
124
+ * Harness with a native interactive TUI (bare binary launches it): e.g.
125
+ * "claude-code", "codex", "opencode", "kimi-code", "factory-droids",
126
+ * "forge", "pi", "amp", "hermes". The sidecar's harness registry is the
127
+ * authority; it rejects harnesses without a TUI entrypoint (e.g. "cursor").
128
+ */
135
129
  harness: string;
136
130
  model?: string;
137
131
  apiKey?: string;
@@ -142,6 +136,20 @@ interface StartInteractiveOptions {
142
136
  cols?: number;
143
137
  rows?: number;
144
138
  authFiles?: InteractiveAuthFile[];
139
+ /**
140
+ * Canonical agent profile (persona, skills, tool policy, MCP). When set, the
141
+ * sidecar materializes it into `cwd` before spawning the TUI, so the
142
+ * interactive session runs AS the configured agent rather than a bare harness.
143
+ * Omit to launch the harness's default TUI.
144
+ */
145
+ profile?: AgentProfile;
146
+ /**
147
+ * Opening message the TUI submits on its own once ready (via the harness's
148
+ * prompt launch arg). Use this to start the agent working immediately instead
149
+ * of writing keystrokes after start — a TUI drops input sent before it is
150
+ * ready to read. Omit for a session that opens idle.
151
+ */
152
+ initialPrompt?: string;
145
153
  }
146
154
  interface InteractiveSessionInfo {
147
155
  sessionId: string;
@@ -154,6 +162,28 @@ interface InteractiveSessionInfo {
154
162
  */
155
163
  streamUrl: string;
156
164
  }
165
+ /**
166
+ * Snapshot of an interactive session's lifecycle: still running, or exited
167
+ * with its exit code (served from the sidecar's bounded exit tombstone).
168
+ * `status()` returns `null` when the sidecar no longer knows the id — never
169
+ * started, tombstone evicted, or superseded by a restart under the same id.
170
+ */
171
+ type InteractiveSessionStatus = {
172
+ state: "running";
173
+ sessionId: string;
174
+ harness: string;
175
+ startedAt: string;
176
+ streamUrl: string;
177
+ } | {
178
+ state: "exited";
179
+ sessionId: string;
180
+ harness: string;
181
+ startedAt: string;
182
+ endedAt: string;
183
+ exitCode?: number;
184
+ exitSignal?: string; /** "exited" = the process ended on its own; "stopped" = explicit stop(). */
185
+ reason: "exited" | "stopped";
186
+ };
157
187
  /** Decision passed to `respondToPermission`. */
158
188
  interface RespondToPermissionOptions {
159
189
  /** The human's decision for the awaiting permission interaction. */
@@ -178,6 +208,13 @@ interface InteractiveSessionHost {
178
208
  _startInteractive(id: string, options: StartInteractiveOptions): Promise<InteractiveSessionInfo>;
179
209
  _sendInteractivePrompt(id: string, prompt: string): Promise<void>;
180
210
  _stopInteractive(id: string): Promise<void>;
211
+ /**
212
+ * Optional so adding it does not break existing implementers of this exported
213
+ * interface (a required addition is a breaking change; this is additive). A
214
+ * host that omits it makes `InteractiveSessionHandle.status()` reject with a
215
+ * clear "not supported" error instead of failing to compile downstream.
216
+ */
217
+ _interactiveStatus?(id: string): Promise<InteractiveSessionStatus | null>;
181
218
  }
182
219
  /**
183
220
  * Handle for one session's interactive harness. Obtained via
@@ -191,12 +228,19 @@ declare class InteractiveSessionHandle {
191
228
  /**
192
229
  * Spawn the harness's interactive TUI for this session. Returns the
193
230
  * `streamUrl` to attach a terminal client to. Throws if the harness has no
194
- * interactive entrypoint (e.g. opencode), the binary is not installed, or a
195
- * session is already running for this id.
231
+ * interactive entrypoint (e.g. cursor, which is SDK-only), the binary is
232
+ * not installed, or a session is already running for this id.
196
233
  */
197
234
  start(options: StartInteractiveOptions): Promise<InteractiveSessionInfo>;
198
235
  /** Inject a prompt as keystrokes into the live harness (submitted on send). */
199
236
  sendPrompt(prompt: string): Promise<void>;
237
+ /**
238
+ * Observe the session: running, exited (with its exit code), or `null`
239
+ * when the sidecar no longer knows the id. Poll this to detect completion —
240
+ * an interactive session has no structured result stream, so the exit
241
+ * tombstone is the completion signal.
242
+ */
243
+ status(): Promise<InteractiveSessionStatus | null>;
200
244
  /** Stop the interactive harness and reap its PTY. */
201
245
  stop(): Promise<void>;
202
246
  }
@@ -212,7 +256,7 @@ interface SandboxSessionHost extends InteractiveSessionHost {
212
256
  prompt(message: string | PromptInputPart[], options?: PromptOptions): Promise<PromptResult>;
213
257
  _sessionStatus(id: string): Promise<SessionInfo | null>;
214
258
  _sessionEvents(id: string, opts?: SessionEventStreamOptions): AsyncGenerator<SandboxEvent>;
215
- _sessionResult(id: string): Promise<PromptResult>;
259
+ _sessionResult(id: string, session?: SessionInfo): Promise<PromptResult>;
216
260
  _sessionCancel(id: string): Promise<void>;
217
261
  _sessionDelete(id: string): Promise<void>;
218
262
  _sessionSendMessage(id: string, request: SendSessionMessageRequest, options?: SendSessionMessageOptions): Promise<SentSessionMessage>;
@@ -263,9 +307,10 @@ declare class SandboxSession {
263
307
  */
264
308
  events(opts?: SessionEventStreamOptions): AsyncGenerator<SandboxEvent>;
265
309
  /**
266
- * Await the session's terminal result. Polls status + drains events
267
- * until the session reaches a terminal state, then returns the
268
- * aggregated `PromptResult`.
310
+ * Await the session's terminal result. Reads status and drains events
311
+ * from the latest execution until the session reaches a terminal state,
312
+ * then returns the aggregated `PromptResult`. Event replay makes this safe
313
+ * to call after the execution has already finished.
269
314
  *
270
315
  * Use this to wait for a session that was started by another caller
271
316
  * (e.g. `dispatchPrompt`).
@@ -283,8 +328,10 @@ declare class SandboxSession {
283
328
  */
284
329
  prompt(message: string | PromptInputPart[], opts?: PromptOptions): Promise<PromptResult>;
285
330
  /**
286
- * Send a structured message through the session message endpoint. Model and
287
- * message identifiers are translated to the runtime's wire names by the SDK.
331
+ * Submit a structured message through the session message endpoint. The
332
+ * returned receipt confirms admission; follow progress with `events()` or
333
+ * await the terminal response with `result()`. Model and message identifiers
334
+ * are translated to the runtime's wire names by the SDK.
288
335
  */
289
336
  sendMessage(request: SendSessionMessageRequest, options?: SendSessionMessageOptions): Promise<SentSessionMessage>;
290
337
  /**
@@ -1533,7 +1580,7 @@ declare class SandboxInstance {
1533
1580
  /** @internal — invoked by SandboxSession.events(). */
1534
1581
  _sessionEvents(id: string, opts?: SessionEventStreamOptions, stopOnTurnTerminal?: boolean): AsyncGenerator<SandboxEvent>;
1535
1582
  /** @internal — invoked by SandboxSession.result(). */
1536
- _sessionResult(id: string): Promise<PromptResult>;
1583
+ _sessionResult(id: string, knownSession?: SessionInfo): Promise<PromptResult>;
1537
1584
  /**
1538
1585
  * @internal — invoked by SandboxSession.cancel(). Void-returning alias of
1539
1586
  * `_interrupt`: both abort the in-flight execution via `POST /{id}/abort`
@@ -1546,6 +1593,8 @@ declare class SandboxInstance {
1546
1593
  _startInteractive(id: string, options: StartInteractiveOptions): Promise<InteractiveSessionInfo>;
1547
1594
  /** @internal — invoked by InteractiveSessionHandle.sendPrompt(). */
1548
1595
  _sendInteractivePrompt(id: string, prompt: string): Promise<void>;
1596
+ /** @internal — invoked by InteractiveSessionHandle.status(). */
1597
+ _interactiveStatus(id: string): Promise<InteractiveSessionStatus | null>;
1549
1598
  /** @internal — invoked by InteractiveSessionHandle.stop(). */
1550
1599
  _stopInteractive(id: string): Promise<void>;
1551
1600
  /** @internal — invoked by SandboxSession.respondToPermission(). */
@@ -1570,4 +1619,4 @@ declare class SandboxInstance {
1570
1619
  }): Promise<DurablePlan>;
1571
1620
  }
1572
1621
  //#endregion
1573
- export { SandboxMcpConfig as C, buildSandboxMcpConfig as D, buildControlPlaneMcpConfig as E, SANDBOX_MCP_SERVER_NAME as S, SandboxMcpServerEntry as T, RespondToPermissionOptions as _, TraceExportSink as a, BuildSandboxMcpConfigOptions as b, otelTraceIdForTangleTrace as c, SandboxSession as d, InteractiveAuthFile as f, InterruptResult as g, InteractiveSessionInfo as h, TraceExportResult as i, toOtelJson as l, InteractiveSessionHost as m, SandboxInstance as n, buildTraceExportPayload as o, InteractiveSessionHandle as p, TraceExportFormat as r, exportTraceBundle as s, HttpClient as t, SandboxTaskSession as u, StartInteractiveOptions as v, SandboxMcpEndpoint as w, CONTROL_PLANE_MCP_SERVER_NAME as x, BuildControlPlaneMcpConfigOptions as y };
1622
+ export { SANDBOX_MCP_SERVER_NAME as C, buildControlPlaneMcpConfig as D, SandboxMcpServerEntry as E, buildSandboxMcpConfig as O, CONTROL_PLANE_MCP_SERVER_NAME as S, SandboxMcpEndpoint as T, InterruptResult as _, TraceExportSink as a, BuildControlPlaneMcpConfigOptions as b, otelTraceIdForTangleTrace as c, SandboxSession as d, InteractiveAuthFile as f, InteractiveSessionStatus as g, InteractiveSessionInfo as h, TraceExportResult as i, toOtelJson as l, InteractiveSessionHost as m, SandboxInstance as n, buildTraceExportPayload as o, InteractiveSessionHandle as p, TraceExportFormat as r, exportTraceBundle as s, HttpClient as t, SandboxTaskSession as u, RespondToPermissionOptions as v, SandboxMcpConfig as w, BuildSandboxMcpConfigOptions as x, StartInteractiveOptions as y };
@@ -1,5 +1,5 @@
1
- import { l as normalizeRuntimeBackendConfig, n as normalizeSessionInfo, o as combineAbortSignals, r as uploadChunked, s as encodePromptForWire, t as SandboxRuntimeApi, u as normalizeRuntimeModelOverride } from "./runtime-api-fqaQ3CN2.js";
2
- import { c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, p as parseErrorResponse, s as QuotaError, t as AuthError, u as StateError } from "./errors-Cbs78OlF.js";
1
+ import { l as normalizeRuntimeBackendConfig, n as normalizeSessionInfo, o as combineAbortSignals, r as uploadChunked, s as encodePromptForWire, t as SandboxRuntimeApi, u as normalizeRuntimeModelOverride } from "./runtime-api-r8vQVMe4.js";
2
+ import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, p as parseErrorResponse, s as QuotaError, t as AuthError, u as StateError } from "./errors-hbpL_-S6.js";
3
3
  import { addTokenUsage, readTokenCostUsd, readTokenUsage } from "@tangle-network/agent-core";
4
4
  //#region src/lib/sse-parser.ts
5
5
  /**
@@ -434,8 +434,8 @@ var InteractiveSessionHandle = class {
434
434
  /**
435
435
  * Spawn the harness's interactive TUI for this session. Returns the
436
436
  * `streamUrl` to attach a terminal client to. Throws if the harness has no
437
- * interactive entrypoint (e.g. opencode), the binary is not installed, or a
438
- * session is already running for this id.
437
+ * interactive entrypoint (e.g. cursor, which is SDK-only), the binary is
438
+ * not installed, or a session is already running for this id.
439
439
  */
440
440
  start(options) {
441
441
  return this.host._startInteractive(this.sessionId, options);
@@ -444,6 +444,16 @@ var InteractiveSessionHandle = class {
444
444
  sendPrompt(prompt) {
445
445
  return this.host._sendInteractivePrompt(this.sessionId, prompt);
446
446
  }
447
+ /**
448
+ * Observe the session: running, exited (with its exit code), or `null`
449
+ * when the sidecar no longer knows the id. Poll this to detect completion —
450
+ * an interactive session has no structured result stream, so the exit
451
+ * tombstone is the completion signal.
452
+ */
453
+ status() {
454
+ if (!this.host._interactiveStatus) return Promise.reject(/* @__PURE__ */ new Error("Interactive session status is not supported by this host"));
455
+ return this.host._interactiveStatus(this.sessionId);
456
+ }
447
457
  /** Stop the interactive harness and reap its PTY. */
448
458
  stop() {
449
459
  return this.host._stopInteractive(this.sessionId);
@@ -509,9 +519,10 @@ var SandboxSession = class SandboxSession {
509
519
  return this.box._sessionEvents(this.id, opts);
510
520
  }
511
521
  /**
512
- * Await the session's terminal result. Polls status + drains events
513
- * until the session reaches a terminal state, then returns the
514
- * aggregated `PromptResult`.
522
+ * Await the session's terminal result. Reads status and drains events
523
+ * from the latest execution until the session reaches a terminal state,
524
+ * then returns the aggregated `PromptResult`. Event replay makes this safe
525
+ * to call after the execution has already finished.
515
526
  *
516
527
  * Use this to wait for a session that was started by another caller
517
528
  * (e.g. `dispatchPrompt`).
@@ -541,8 +552,10 @@ var SandboxSession = class SandboxSession {
541
552
  });
542
553
  }
543
554
  /**
544
- * Send a structured message through the session message endpoint. Model and
545
- * message identifiers are translated to the runtime's wire names by the SDK.
555
+ * Submit a structured message through the session message endpoint. The
556
+ * returned receipt confirms admission; follow progress with `events()` or
557
+ * await the terminal response with `result()`. Model and message identifiers
558
+ * are translated to the runtime's wire names by the SDK.
546
559
  */
547
560
  async sendMessage(request, options) {
548
561
  return this.box._sessionSendMessage(this.id, request, options);
@@ -3092,6 +3105,7 @@ var SandboxInstance = class SandboxInstance {
3092
3105
  args,
3093
3106
  cwd: options?.cwd,
3094
3107
  env: options?.env,
3108
+ inheritEnv: options?.inheritEnv,
3095
3109
  timeoutMs: options?.timeoutMs,
3096
3110
  stdin: options?.stdin,
3097
3111
  blocking: false
@@ -4567,7 +4581,11 @@ var SandboxInstance = class SandboxInstance {
4567
4581
  };
4568
4582
  }
4569
4583
  if (info) {
4570
- const result = await this._sessionResult(opts.sessionId);
4584
+ if (!info.latestExecutionId) return {
4585
+ state: "failed",
4586
+ error: `session ${opts.sessionId} ${info.status}: no execution result is available`
4587
+ };
4588
+ const result = await this._sessionResult(opts.sessionId, info);
4571
4589
  const settled = settleTurnDrive({ ...result });
4572
4590
  if (settled.state === "awaiting_plan_decision") return settled;
4573
4591
  if (!result.success) return {
@@ -4645,8 +4663,17 @@ var SandboxInstance = class SandboxInstance {
4645
4663
  }
4646
4664
  }
4647
4665
  /** @internal — invoked by SandboxSession.result(). */
4648
- async _sessionResult(id) {
4666
+ async _sessionResult(id, knownSession) {
4649
4667
  const startTime = Date.now();
4668
+ const session = knownSession ?? await this._sessionStatus(id);
4669
+ if (!session) throw new NotFoundError("Session", id, {
4670
+ origin: "runtime",
4671
+ endpoint: `/agents/sessions/${encodeURIComponent(id)}`
4672
+ });
4673
+ if (!session.latestExecutionId) throw new StateError(`Session ${id} has no execution result to await`, session.status, "session with an admitted execution", {
4674
+ origin: "runtime",
4675
+ endpoint: `/agents/sessions/${encodeURIComponent(id)}`
4676
+ }, "SESSION_EXECUTION_MISSING");
4650
4677
  let response;
4651
4678
  let runError;
4652
4679
  let runErrorCode;
@@ -4657,7 +4684,10 @@ var SandboxInstance = class SandboxInstance {
4657
4684
  let question;
4658
4685
  let plan;
4659
4686
  let terminalReached = false;
4660
- for await (const event of this._sessionEvents(id, void 0, true)) {
4687
+ for await (const event of this._sessionEvents(id, {
4688
+ since: "0",
4689
+ executionId: session.latestExecutionId
4690
+ }, true)) {
4661
4691
  response = applySandboxEventText(response, event);
4662
4692
  if (event.type === "result" || event.type === "done") {
4663
4693
  const data = event.data;
@@ -4747,6 +4777,22 @@ var SandboxInstance = class SandboxInstance {
4747
4777
  throw parseErrorResponse(response.status, body, void 0, response.headers);
4748
4778
  }
4749
4779
  }
4780
+ /** @internal — invoked by InteractiveSessionHandle.status(). */
4781
+ async _interactiveStatus(id) {
4782
+ await this.ensureRunning();
4783
+ const response = await this.runtimeFetch(`/agents/sessions/${encodeURIComponent(id)}/interactive`, { method: "GET" });
4784
+ if (response.status === 404) return null;
4785
+ if (!response.ok) {
4786
+ const body = await response.text();
4787
+ throw parseErrorResponse(response.status, body, void 0, response.headers);
4788
+ }
4789
+ const data = (await response.json())?.data;
4790
+ if (!data || data.state !== "running" && data.state !== "exited") throw new ServerError("Interactive status response missing data", 502, {
4791
+ endpoint: `/agents/sessions/${encodeURIComponent(id)}/interactive`,
4792
+ origin: "runtime"
4793
+ });
4794
+ return data;
4795
+ }
4750
4796
  /** @internal — invoked by InteractiveSessionHandle.stop(). */
4751
4797
  async _stopInteractive(id) {
4752
4798
  await this.ensureRunning();
@@ -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-B_9PUXLN.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-XaVF9qK-.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-BU24fDBA.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-m1lRkQlR.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-Cbs78OlF.js";
2
- import { n as createSandboxInstanceFromResponse } from "./sandbox-RpcTSijL.js";
1
+ import { p as parseErrorResponse } from "./errors-hbpL_-S6.js";
2
+ import { n as createSandboxInstanceFromResponse } from "./sandbox-C8WoMyT0.js";
3
3
  //#region src/tangle/abi.ts
4
4
  /**
5
5
  * Tangle Contract ABI Definitions
@@ -1,4 +1,4 @@
1
- import { AgentProfile, 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 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";
2
2
 
3
3
  //#region src/types.d.ts
4
4
  type JsonValue = string | number | boolean | null | JsonValue[] | {
@@ -1744,6 +1744,8 @@ 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;
1747
1749
  /** Backend identifier (e.g. provider name). */
1748
1750
  backend?: string;
1749
1751
  /** Model id the session was created with. */
@@ -1833,17 +1835,19 @@ interface SendSessionMessageOptions {
1833
1835
  timeoutMs?: number;
1834
1836
  signal?: AbortSignal;
1835
1837
  }
1836
- /** Response returned after a session message finishes processing. */
1838
+ /** Receipt returned after a session message is accepted for processing. */
1837
1839
  interface SentSessionMessage {
1838
1840
  info: {
1839
1841
  id: string;
1840
- role: "user" | "assistant" | "system";
1841
- timestamp?: string;
1842
+ role: "assistant";
1843
+ timestamp: string;
1842
1844
  };
1843
- parts: unknown[];
1845
+ parts: [];
1846
+ userMessageId: string;
1847
+ processing: true;
1844
1848
  }
1845
1849
  /** Canonical portable profile attached to a task session. */
1846
- type TaskSessionProfile = AgentProfile & {
1850
+ type TaskSessionProfile = AgentProfile$1 & {
1847
1851
  name: string;
1848
1852
  };
1849
1853
  /** Options for creating an isolated background task session. */
@@ -3380,7 +3384,7 @@ interface BackendConfig {
3380
3384
  * Use a string for a named provider/backend profile, or an `AgentProfile`
3381
3385
  * object for an inline provider-neutral profile definition.
3382
3386
  */
3383
- profile?: string | AgentProfile;
3387
+ profile?: string | AgentProfile$1;
3384
3388
  /**
3385
3389
  * Model configuration override.
3386
3390
  */
@@ -3636,19 +3640,24 @@ interface EgressPolicy {
3636
3640
  /** Egress mode */
3637
3641
  mode: "open" | "strict" | "blocked";
3638
3642
  /**
3639
- * Additional allowed domains in strict mode.
3640
- * These are merged with the platform default allowlist.
3643
+ * Allowed domains in strict mode. Platform defaults and credential-derived
3644
+ * domains are also included unless `includeImplicitDomains` is false.
3641
3645
  * Ignored in `open` and `blocked` modes.
3642
3646
  */
3643
3647
  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;
3644
3653
  /**
3645
3654
  * Denied domains. Only enforced when the proxy supports denylist transforms.
3646
- * @deprecated Deferred — not supported by iron-proxy v0.41.
3655
+ * @deprecated Not supported by the current proxy.
3647
3656
  */
3648
3657
  denyDomains?: string[];
3649
3658
  /**
3650
3659
  * Allowed CIDR ranges. Only enforced when the proxy supports CIDR passthrough.
3651
- * @deprecated Deferred — not supported by iron-proxy v0.41.
3660
+ * @deprecated Not supported by the current proxy.
3652
3661
  */
3653
3662
  allowCidrs?: string[];
3654
3663
  }
@@ -3999,7 +4008,7 @@ interface BackendManager {
3999
4008
  *
4000
4009
  * Optional while backends adopt the public `AgentProfile` contract.
4001
4010
  */
4002
- validateProfile?(profile: AgentProfile): Promise<AgentProfileValidationResult>;
4011
+ validateProfile?(profile: AgentProfile$1): Promise<AgentProfileValidationResult>;
4003
4012
  /** Restart the backend agent */
4004
4013
  restart(): Promise<void>;
4005
4014
  }
@@ -4032,6 +4041,14 @@ interface ProcessSpawnOptions {
4032
4041
  interface ExactProcessSpawnOptions extends ProcessSpawnOptions {
4033
4042
  /** UTF-8 bytes written before stdin is closed. */
4034
4043
  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;
4035
4052
  }
4036
4053
  /**
4037
4054
  * Options for running Python code.
@@ -5037,4 +5054,4 @@ interface CodeExecutionOptions {
5037
5054
  idempotencyKey?: string;
5038
5055
  }
5039
5056
  //#endregion
5040
- 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 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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.11.1-develop.20260718074816.556b29e",
3
+ "version": "0.11.1-develop.20260718200351.2f5db96",
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.0",
91
- "@tangle-network/agent-interface": "0.30.0"
90
+ "@tangle-network/agent-core": "0.4.19",
91
+ "@tangle-network/agent-interface": "0.31.0"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "@mastra/core": "^1.36.0",