@tangle-network/sandbox 0.28.0-develop.20260819005451.8e5ce09 → 0.28.0-develop.20260819041533.576b2f2
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.
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.js +2 -2
- package/dist/{client-BBKAFyDE.js → client-BiSZSmdt.js} +1 -1
- package/dist/{client-CtbXjqd2.d.ts → client-Bt8gTWsD.d.ts} +2 -2
- package/dist/core.d.ts +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-DweQWp1c.d.ts → index-BAhkXUaK.d.ts} +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -18
- package/dist/runtime.d.ts +1 -1
- package/dist/{sandbox-BpmHeBK1.d.ts → sandbox-BE2GsJZ3.d.ts} +16 -3
- package/dist/{sandbox-NvbxFwTv.js → sandbox-BwIaQcE7.js} +108 -17
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DfKDt5Nz.js → tangle-CGzEfYFL.js} +1 -1
- package/dist/{types-jfr4fgD3.d.ts → types-CA5phY-u.d.ts} +54 -8
- package/package.json +3 -3
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-
|
|
2
|
-
import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions,
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
1
|
+
import { g as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-BE2GsJZ3.js";
|
|
2
|
+
import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions, gi as SessionListOptions, mi as SessionInfo, s as BackendConfig, x as CodeExecutionResult } from "../types-CA5phY-u.js";
|
|
3
|
+
import { i as Sandbox } from "../client-Bt8gTWsD.js";
|
|
4
4
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
5
5
|
|
|
6
6
|
//#region src/agent/instances.d.ts
|
package/dist/agent/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as assertCurrentBackendType } from "../runtime-api-CK-4S7oA.js";
|
|
2
2
|
import { d as StateError, o as NotFoundError, p as ValidationError } from "../errors-C6kn-3zt.js";
|
|
3
|
-
import { n as Sandbox } from "../client-
|
|
4
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
3
|
+
import { n as Sandbox } from "../client-BiSZSmdt.js";
|
|
4
|
+
import { t as SandboxInstance } from "../sandbox-BwIaQcE7.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
//#region src/agent/instances.ts
|
|
7
7
|
const managers = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as combineAbortSignals, d as applyRequestedModel, f as assertCurrentBackendType, l as encodePromptForWire, m as backendTypeSchema, o as SANDBOX_PROXY_REQUEST_MAX_BYTES, p as normalizeRuntimeBackendConfig, u as encodeTextForWire } from "./runtime-api-CK-4S7oA.js";
|
|
2
2
|
import { a as NetworkError, f as TimeoutError, l as SandboxError, m as parseErrorResponse, o as NotFoundError, p as ValidationError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as normalizeStartupDiagnostics, n as createSandboxInstanceFromResponse, r as normalizeSandboxCreateReceipt, w as parseSSEStream, x as exportTraceBundle, y as normalizeConnection } from "./sandbox-BwIaQcE7.js";
|
|
4
4
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/backend-registry.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-
|
|
2
|
-
import { $
|
|
1
|
+
import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-BE2GsJZ3.js";
|
|
2
|
+
import { $n as SandboxConfig, A as CreateSandboxFleetTokenOptions, Bn as ReconcileSandboxFleetsResult, Ct as FleetDriveTurnRequest, D as CreateIntelligenceReportOptions, Di as SshKeysManager, Dn as PromptOptions, Dt as FleetPromptDispatchOptions, En as PromptInputPart, Et as FleetMachineId, Fn as PublishPublicTemplateOptions, Fr as SandboxInfo, Hi as TokenRefreshHandler, In as PublishPublicTemplateVersionOptions, Ji as UsageInfo, Ln as ReapExpiredSandboxFleetsOptions, M as CreateSandboxOptions, Mr as SandboxFleetWorkspaceRestoreResult, Nn as PublicTemplateInfo, Nr as SandboxFleetWorkspaceSnapshotResult, O as CreateRequestOptions, On as PromptResult, Or as SandboxFleetTraceOptions, Ot as FleetPromptDispatchResult, Pn as PublicTemplateVersionInfo, Pr as SandboxIdentity, Qt as IntelligenceReportCompareTo, Rn as ReapExpiredSandboxFleetsResult, Sr as SandboxFleetOperationsSummary, St as FleetDriveTurnOutcome, Tr as SandboxFleetTraceBundle, Tt as FleetExecDispatchResult, Xt as IntelligenceReport, Zt as IntelligenceReportBudget, a as AttachSandboxFleetMachineOptions, an as ListSandboxOptions, ar as SandboxEnvironment, br as SandboxFleetManifest, bt as FleetDispatchResultBufferOptions, cr as SandboxFleetArtifactSpec, dr as SandboxFleetDispatchResponse, en as IntelligenceReportWindow, f as BatchResult, fr as SandboxFleetDriverCapability, in as ListSandboxFleetOptions, it as ExecResult, j as CreateSandboxFleetWithCoordinatorOptions, ji as SubscriptionInfo, jr as SandboxFleetWorkspaceReconcileResult, k as CreateSandboxFleetOptions, kr as SandboxFleetUsage, lr as SandboxFleetCostEstimate, m as BatchRunRequest, mr as SandboxFleetInfo, na as BatchEvent, oi as SecretsManager, p as BatchRunOptions, rt as ExecOptions, sr as SandboxFleetArtifact, vr as SandboxFleetMachineRecord, vt as FleetDispatchCancelResult, wr as SandboxFleetToken, wt as FleetExecDispatchOptions, xt as FleetDispatchStreamOptions, yt as FleetDispatchResultBuffer, zn as ReconcileSandboxFleetsOptions } from "./types-CA5phY-u.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/backend-registry.d.ts
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-
|
|
2
|
-
import {
|
|
3
|
-
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, b as backendRegistryEntrySchema, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-
|
|
1
|
+
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-BE2GsJZ3.js";
|
|
2
|
+
import { $n as SandboxConfig, En as PromptInputPart, Fr as SandboxInfo, M as CreateSandboxOptions, Ur as SandboxStatus, _n as PreviewLinkWaitOptions, gn as PreviewLinkManager, hn as PreviewLinkInfo, it as ExecResult, rt as ExecOptions, un as NetworkConfig } from "./types-CA5phY-u.js";
|
|
3
|
+
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, b as backendRegistryEntrySchema, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-Bt8gTWsD.js";
|
|
4
4
|
import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
|
|
5
5
|
export { AuthError, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, FileWriteConflictError, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type PromptInputPart, QuotaError, Sandbox, type SandboxConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, isBackendRegistryInteractionKind, parseBackendRegistryResponse, parseBackendRegistryResponseBody };
|
package/dist/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as NetworkError, c as QuotaError, d as StateError, f as TimeoutError, i as FileWriteConflictError, l as SandboxError, n as CapabilityError, o as NotFoundError, p as ValidationError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
|
|
2
|
-
import { _ as parseBackendRegistryResponseBody, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, m as backendRegistryResponseSchema, n as Sandbox, p as backendRegistryInteractionKindSchema } from "./client-
|
|
3
|
-
import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
2
|
+
import { _ as parseBackendRegistryResponseBody, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, m as backendRegistryResponseSchema, n as Sandbox, p as backendRegistryInteractionKindSchema } from "./client-BiSZSmdt.js";
|
|
3
|
+
import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-BwIaQcE7.js";
|
|
4
4
|
export { AuthError, CapabilityError, FileWriteConflictError, NetworkError, NotFoundError, PartialFailureError, QuotaError, Sandbox, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, isBackendRegistryInteractionKind, parseBackendRegistryResponse, parseBackendRegistryResponseBody };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as HttpClient, r as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { M as CreateSandboxOptions } from "./types-
|
|
1
|
+
import { n as HttpClient, r as SandboxInstance } from "./sandbox-BE2GsJZ3.js";
|
|
2
|
+
import { M as CreateSandboxOptions } from "./types-CA5phY-u.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 { A as BuildControlPlaneMcpConfigOptions, C as InterruptResult, D as SandboxInteractionConflict, E as SandboxInteractionCommandResult, F as SandboxMcpEndpoint, I as SandboxMcpServerEntry, L as buildControlPlaneMcpConfig, M as CONTROL_PLANE_MCP_SERVER_NAME, N as SANDBOX_MCP_SERVER_NAME, O as SandboxInteractionResolution, P as SandboxMcpConfig, R as buildSandboxMcpConfig, S as InteractiveSessionStatus, T as StartInteractiveOptions, _ as InteractiveAttachOptions, a as WorkspaceImagePublishRequestOptions, b as InteractiveSessionHost, c as TraceExportFormat, d as buildTraceExportPayload, f as exportTraceBundle, g as SandboxSession, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as BuildSandboxMcpConfigOptions, k as SandboxInteractionResult, l as TraceExportResult, m as toOtelJson, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, r as SandboxInstance, s as WorkspaceImages, t as ForkAcknowledgement, u as TraceExportSink, v as InteractiveAuthFile, w as RespondToPermissionOptions, x as InteractiveSessionInfo, y as InteractiveSessionHandle } from "./sandbox-
|
|
2
|
-
import { $ as
|
|
3
|
-
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, a as Team, b as backendRegistryEntrySchema, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, l as SessionBroadcastResult, m as parseSSEStream, n as IntelligenceClient, o as TeamInvitation, p as ParsedSSEEvent, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as SandboxFleet, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-
|
|
1
|
+
import { A as BuildControlPlaneMcpConfigOptions, C as InterruptResult, D as SandboxInteractionConflict, E as SandboxInteractionCommandResult, F as SandboxMcpEndpoint, I as SandboxMcpServerEntry, L as buildControlPlaneMcpConfig, M as CONTROL_PLANE_MCP_SERVER_NAME, N as SANDBOX_MCP_SERVER_NAME, O as SandboxInteractionResolution, P as SandboxMcpConfig, R as buildSandboxMcpConfig, S as InteractiveSessionStatus, T as StartInteractiveOptions, _ as InteractiveAttachOptions, a as WorkspaceImagePublishRequestOptions, b as InteractiveSessionHost, c as TraceExportFormat, d as buildTraceExportPayload, f as exportTraceBundle, g as SandboxSession, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as BuildSandboxMcpConfigOptions, k as SandboxInteractionResult, l as TraceExportResult, m as toOtelJson, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, r as SandboxInstance, s as WorkspaceImages, t as ForkAcknowledgement, u as TraceExportSink, v as InteractiveAuthFile, w as RespondToPermissionOptions, x as InteractiveSessionInfo, y as InteractiveSessionHandle } from "./sandbox-BE2GsJZ3.js";
|
|
2
|
+
import { $ as EgressPolicy, $i as WriteManyFile, $n as SandboxConfig, $r as SandboxTraceOptions, $t as IntelligenceReportSubjectType, Ai as StorageConfig, An as ProvisionResult, Ar as SandboxFleetWorkspace, At as ForkIdempotency, B as DownloadOptions, Bi as TeePublicKey, Bn as ReconcileSandboxFleetsResult, Br as SandboxResources, Bt as GpuLeaseBilling, Ci as SnapshotIdempotency, Cn as ProcessSignal, Cr as SandboxFleetPolicy, Ct as FleetDriveTurnRequest, D as CreateIntelligenceReportOptions, Dn as PromptOptions, Dr as SandboxFleetTraceExport, Dt as FleetPromptDispatchOptions, E as CreateGpuLeaseOptions, Ei as SnapshotResult, En as PromptInputPart, Er as SandboxFleetTraceEvent, Et as FleetMachineId, F as DeleteOptions, Fi as TaskSessionInfo, Fn as PublishPublicTemplateOptions, Fr as SandboxInfo, Ft as GitCommit, G as DriverType, Gi as UpdateUserOptions, Gn as RolloutChildResult, Gr as SandboxTerminalCreateOptions, Gt as GpuLeaseProviderName, H as DriveTurnOptions, Hi as TokenRefreshHandler, Hr as SandboxRuntimeHealth, Ht as GpuLeaseExecOptions, I as DevServerInfo, Ii as TaskSessionProfile, In as PublishPublicTemplateVersionOptions, Ir as SandboxIntelligenceEnvelope, It as GitConfig, J as EffectiveBackend, Ji as UsageInfo, Jn as RolloutStartResult, Jr as SandboxTerminalRequestOptions, Jt as HostAgentRuntimeBackend, K as DurablePlan, Ki as UploadOptions, Kn as RolloutOptions, Kr as SandboxTerminalInfo, Kt as GpuLeaseStatus, L as DirectoryPermission, Li as TeeAttestationOptions, Ln as ReapExpiredSandboxFleetsOptions, Lr as SandboxPortBinding, Lt as GitDiff, M as CreateSandboxOptions, Mi as TaskSessionChanges, Mn as ProvisionStep, Mr as SandboxFleetWorkspaceRestoreResult, Mt as GPU_LEASE_PROVIDER_NAMES, N as CreateSessionOptions, Ni as TaskSessionCommitResult, Nn as PublicTemplateInfo, Nr as SandboxFleetWorkspaceSnapshotResult, Nt as GitAuth, O as CreateRequestOptions, Oi as StartupDiagnostics, On as PromptResult, Or as SandboxFleetTraceOptions, P as CreateTaskSessionOptions, Pi as TaskSessionFileChange, Pn as PublicTemplateVersionInfo, Pr as SandboxIdentity, Pt as GitBranch, Q as EgressManager, Qi as WriteFileOptions, Qn as SSHCredentials, Qr as SandboxTraceExport, Qt as IntelligenceReportCompareTo, R as DispatchPromptOptions, Ri as TeeAttestationReport, Rn as ReapExpiredSandboxFleetsResult, Rr as SandboxPortPreviewLink, Rt as GitStatus, Si as SnapshotDeleteOutcome, Sn as ProcessManager, Sr as SandboxFleetOperationsSummary, St as FleetDriveTurnOutcome, T as CompletedTurnResult, Ti as SnapshotOptions, Tn as ProcessStatus, Tr as SandboxFleetTraceBundle, U as DriverConfig, Ui as TokenUsage, Ur as SandboxStatus, Ut as GpuLeaseExecResult, V as DownloadProgress, Vi as TeePublicKeyResponse, Vn as RenameOptions, Vr as SandboxRuntimeCapabilities, Vt as GpuLeaseCommandResult, W as DriverInfo, Wi as TurnDriveResult, Wn as Rollout, Wr as SandboxTerminalAttachOptions, Wt as GpuLeaseManager, X as EffectiveBackendSource, Xi as WaitForRolloutOptions, Xn as RolloutTurnPart, Xr as SandboxTraceBundle, Xt as IntelligenceReport, Y as EffectiveBackendProfile, Yi as WaitForOptions, Yn as RolloutStatus, Yr as SandboxTerminals, Yt as InstalledTool, Z as EgressDenial, Zi as WorkspaceOperationLookup, Zn as SSHCommandDescriptor, Zr as SandboxTraceEvent, Zt as IntelligenceReportBudget, _ as BranchOptions, _a as TerminalStreamToken, _i as SessionMessage, _n as PreviewLinkWaitOptions, _r as SandboxFleetMachineMeteredUsage, _t as FileWriteResult, a as AttachSandboxFleetMachineOptions, aa as BatchTaskUsage, ai as SecretInfo, an as ListSandboxOptions, ar as SandboxEnvironment, at as FileInfo, bi as SessionStatus, bn as ProcessListOptions, br as SandboxFleetManifest, bt as FleetDispatchResultBufferOptions, c as BackendInfo, ca as parseBackendType, ci as SendSessionMessageRequest, cn as MintScopedTokenOptions, cr as SandboxFleetArtifactSpec, ct as FileReadError, d as BatchBackend, da as TerminalReadyInfo, di as SessionEventStreamOptions, dn as NetworkManager, dr as SandboxFleetDispatchResponse, dt as FileSystem, ea as WriteManyOptions, ei as SandboxUser, en as IntelligenceReportWindow, er as SandboxConnection, et as EnsureDevServerOptions, f as BatchResult, fa as TerminalStream, fi as SessionFailureReason, fn as NonHostAgentDriverConfig, fr as SandboxFleetDriverCapability, ft as FileTreeFile, g as BatchTaskResult, ga as TerminalStreamOptions, gi as SessionListOptions, gn as PreviewLinkManager, gr as SandboxFleetMachine, gt as FileUsageResult, h as BatchTask, ha as TerminalStreamHandlers, hi as SessionInterruptOptions, hn as PreviewLinkInfo, hr as SandboxFleetIntelligenceEnvelope, ht as FileUsageOptions, i as AttachGpuLeaseOptions, ia as BatchSidecarGroup, ii as SearchOptions, in as ListSandboxFleetOptions, ir as SandboxDeleteOutcome, it as ExecResult, j as CreateSandboxFleetWithCoordinatorOptions, ji as SubscriptionInfo, jn as ProvisionStatus, jr as SandboxFleetWorkspaceReconcileResult, jt as ForkLookupOptions, k as CreateSandboxFleetOptions, ki as StartupOperation, kn as ProvisionEvent, kr as SandboxFleetUsage, kt as ForkCounts, l as BackendManager, la as TERMINAL_WS_ECHO_SUBPROTOCOL, li as SentSessionMessage, ln as MkdirOptions, lr as SandboxFleetCostEstimate, lt as FileReadResult, m as BatchRunRequest, ma as TerminalStreamError, mi as SessionInfo, mn as PermissionsManager, mr as SandboxFleetInfo, mt as FileTreeResult, n as AccessPolicyRule, na as BatchEvent, ni as ScopedTokenScope, nn as ListMessagesOptions, nr as SandboxCreateReceipt, nt as ExactProcessSpawnOptions, o as BackendCapabilities, oa as PublicBatchRunRequest, oi as SecretsManager, on as MAX_EGRESS_DENIALS_LIMIT, or as SandboxEvent, ot as FileReadBatchOptions, p as BatchRunOptions, pa as TerminalStreamAuthFormat, pi as SessionForkOptions, pn as PermissionLevel, pr as SandboxFleetDriverTimings, pt as FileTreeOptions, q as DurablePlanDecisionResult, qi as UploadProgress, qn as RolloutScorer, qr as SandboxTerminalManager, qt as HostAgentDriverConfig, r as AddUserOptions, ra as BatchEventDataMap, ri as SearchMatch, rn as ListOptions, rr as SandboxDeleteAcknowledgement, rt as ExecOptions, s as BackendConfig, sa as BackendType, si as SendSessionMessageOptions, sn as McpServerConfig, sr as SandboxFleetArtifact, st as FileReadBatchResult, t as AcceleratorKind, ta as BatchBackendStats, ti as ScopedToken, tr as SandboxCreateOutcome, tt as EventStreamOptions, u as BackendStatus, ua as TerminalExitInfo, ui as SessionBackendCredentials, un as NetworkConfig, ur as SandboxFleetDispatchFailureClass, ut as FileRenameResult, v as ChunkedUploadOptions, vi as SessionMessageInputPart, vn as Process, vr as SandboxFleetMachineRecord, vt as FleetDispatchCancelResult, w as CommitTaskSessionOptions, wi as SnapshotInfo, wn as ProcessSpawnOptions, wr as SandboxFleetToken, wt as FleetExecDispatchOptions, xi as SnapshotDeleteAcknowledgement, xn as ProcessLogEntry, xr as SandboxFleetManifestMachine, xt as FleetDispatchStreamOptions, y as ChunkedUploadResult, yi as SessionResultOptions, yn as ProcessInfo, yr as SandboxFleetMachineSpec, yt as FleetDispatchResultBuffer, z as DispatchedSession, zi as TeeAttestationResponse, zn as ReconcileSandboxFleetsOptions, zr as SandboxResourceUsage, zt as GpuLease } from "./types-CA5phY-u.js";
|
|
3
|
+
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, a as Team, b as backendRegistryEntrySchema, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, l as SessionBroadcastResult, m as parseSSEStream, n as IntelligenceClient, o as TeamInvitation, p as ParsedSSEEvent, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as SandboxFleet, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-Bt8gTWsD.js";
|
|
4
4
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-DtRFVx5U.js";
|
|
5
5
|
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-Cp1KYanB.js";
|
|
6
6
|
import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, r as EgressProxyRecoveryError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
|
|
7
|
-
import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-
|
|
7
|
+
import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-BAhkXUaK.js";
|
|
8
8
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
9
9
|
import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileFileMount as AgentProfileFileMount$1, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
10
10
|
import { z } from "zod";
|
|
@@ -4425,4 +4425,4 @@ interface RouterEvalMatrixCaseResult {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
|
|
4427
4427
|
//#endregion
|
|
4428
|
-
export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InteractiveSessionStatus, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOutcome, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalExitInfo, type TerminalReadyInfo, TerminalStream, type TerminalStreamAuthFormat, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isBackendRegistryInteractionKind, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
|
4428
|
+
export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressDenial, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InteractiveSessionStatus, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOutcome, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalExitInfo, type TerminalReadyInfo, TerminalStream, type TerminalStreamAuthFormat, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isBackendRegistryInteractionKind, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h as parseBackendType, m as backendTypeSchema, p as normalizeRuntimeBackendConfig } from "./runtime-api-CK-4S7oA.js";
|
|
2
2
|
import { a as NetworkError, c as QuotaError, d as StateError, f as TimeoutError, i as FileWriteConflictError, l as SandboxError, n as CapabilityError, o as NotFoundError, p as ValidationError, r as EgressProxyRecoveryError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
|
|
3
|
-
import { _ as parseBackendRegistryResponseBody, a as splitInlineProfileSkills, c as SandboxFleetClient, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, m as backendRegistryResponseSchema, n as Sandbox, o as validateDeferredProfileFileMounts, p as backendRegistryInteractionKindSchema, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-
|
|
4
|
-
import { S as
|
|
3
|
+
import { _ as parseBackendRegistryResponseBody, a as splitInlineProfileSkills, c as SandboxFleetClient, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, m as backendRegistryResponseSchema, n as Sandbox, o as validateDeferredProfileFileMounts, p as backendRegistryInteractionKindSchema, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-BiSZSmdt.js";
|
|
4
|
+
import { C as toOtelJson, S as otelTraceIdForTangleTrace, _ as getSandboxEventText, a as WorkspaceImages, b as buildTraceExportPayload, c as TERMINAL_WS_ECHO_SUBPROTOCOL, d as SandboxTaskSession, f as SandboxSession, g as collectAgentResponseText, h as collectAgentFinalMessageText, l as TerminalStream, m as applySandboxEventText, o as GPU_LEASE_PROVIDER_NAMES, p as InteractiveSessionHandle, s as MAX_EGRESS_DENIALS_LIMIT, t as SandboxInstance, u as TerminalStreamError, v as isToolBearingEvent, w as parseSSEStream, x as exportTraceBundle } from "./sandbox-BwIaQcE7.js";
|
|
5
5
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-COCXdRrk.js";
|
|
6
|
-
import { t as TangleSandboxClient } from "./tangle-
|
|
6
|
+
import { t as TangleSandboxClient } from "./tangle-CGzEfYFL.js";
|
|
7
7
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
//#region src/confidential.ts
|
|
@@ -597,20 +597,6 @@ function generateDockerfile(spec) {
|
|
|
597
597
|
return lines.join("\n");
|
|
598
598
|
}
|
|
599
599
|
//#endregion
|
|
600
|
-
//#region src/types.ts
|
|
601
|
-
const GPU_LEASE_PROVIDER_NAMES = [
|
|
602
|
-
"runpod",
|
|
603
|
-
"vast-ai",
|
|
604
|
-
"lambda-labs",
|
|
605
|
-
"tensordock",
|
|
606
|
-
"paperspace",
|
|
607
|
-
"aws",
|
|
608
|
-
"gcp",
|
|
609
|
-
"azure",
|
|
610
|
-
"crusoe",
|
|
611
|
-
"fluidstack"
|
|
612
|
-
];
|
|
613
|
-
//#endregion
|
|
614
600
|
//#region src/manage-sandboxes.ts
|
|
615
601
|
const MANAGE_SANDBOXES_TOOL_NAME = "manageSandboxes";
|
|
616
602
|
const nonEmptyStringSchema = z.string().min(1);
|
|
@@ -1483,4 +1469,4 @@ function stripUndefined(value) {
|
|
|
1483
1469
|
return Object.fromEntries(Object.entries(value).filter(([, v]) => v !== void 0).map(([k, v]) => [k, stripUndefined(v)]));
|
|
1484
1470
|
}
|
|
1485
1471
|
//#endregion
|
|
1486
|
-
export { AuthError, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, CollaborationClient, CollaborationFileBridge, DEFAULT_SANDBOX_SIZE, EgressProxyRecoveryError, FileWriteConflictError, GPU_LEASE_PROVIDER_NAMES, Image, ImageBuilder, IntelligenceClient, InteractiveSessionHandle, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, NetworkError, NotFoundError, PartialFailureError, QuotaError, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, Sandbox, SandboxError, SandboxFleet, SandboxFleetClient, SandboxInstance, SandboxSession, SandboxTaskSession, ServerError, StateError, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, TerminalStream, TerminalStreamError, TimeoutError, ValidationError, WorkspaceImages, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isBackendRegistryInteractionKind, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
|
1472
|
+
export { AuthError, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, CollaborationClient, CollaborationFileBridge, DEFAULT_SANDBOX_SIZE, EgressProxyRecoveryError, FileWriteConflictError, GPU_LEASE_PROVIDER_NAMES, Image, ImageBuilder, IntelligenceClient, InteractiveSessionHandle, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, NetworkError, NotFoundError, PartialFailureError, QuotaError, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, Sandbox, SandboxError, SandboxFleet, SandboxFleetClient, SandboxInstance, SandboxSession, SandboxTaskSession, ServerError, StateError, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, TerminalStream, TerminalStreamError, TimeoutError, ValidationError, WorkspaceImages, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isBackendRegistryInteractionKind, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fi as TaskSessionInfo, Gr as SandboxTerminalCreateOptions, Hr as SandboxRuntimeHealth, Jr as SandboxTerminalRequestOptions, Kr as SandboxTerminalInfo, Lr as SandboxPortBinding, Mi as TaskSessionChanges, N as CreateSessionOptions, Ni as TaskSessionCommitResult, P as CreateTaskSessionOptions, Qi as WriteFileOptions, Vn as RenameOptions, _i as SessionMessage, _t as FileWriteResult, ci as SendSessionMessageRequest, gt as FileUsageResult, ht as FileUsageOptions, li as SentSessionMessage, mi as SessionInfo, mt as FileTreeResult, nn as ListMessagesOptions, ot as FileReadBatchOptions, pt as FileTreeOptions, qi as UploadProgress, qr as SandboxTerminalManager, si as SendSessionMessageOptions, st as FileReadBatchResult, ut as FileRenameResult, v as ChunkedUploadOptions, w as CommitTaskSessionOptions, y as ChunkedUploadResult } from "./types-CA5phY-u.js";
|
|
2
2
|
import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
|
|
3
3
|
|
|
4
4
|
//#region src/lib/chunked-upload.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $i as WriteManyFile, $r as SandboxTraceOptions, An as ProvisionResult, At as ForkIdempotency, Dn as PromptOptions, Ei as SnapshotResult, En as PromptInputPart, Fi as TaskSessionInfo, Fr as SandboxInfo, Ft as GitCommit, H as DriveTurnOptions, Hn as RestoreSnapshotOptions, Hr as SandboxRuntimeHealth, Jn as RolloutStartResult, K as DurablePlan, Kn as RolloutOptions, Li as TeeAttestationOptions, Lr as SandboxPortBinding, Lt as GitDiff, Mi as TaskSessionChanges, N as CreateSessionOptions, Ni as TaskSessionCommitResult, Oi as StartupDiagnostics, On as PromptResult, P as CreateTaskSessionOptions, Pt as GitBranch, Q as EgressManager, Qi as WriteFileOptions, Qn as SSHCredentials, Qt as IntelligenceReportCompareTo, R as DispatchPromptOptions, Rt as GitStatus, S as CodeLanguage, Sn as ProcessManager, T as CompletedTurnResult, Ti as SnapshotOptions, Tr as SandboxFleetTraceBundle, Un as ResumeOptions, Ur as SandboxStatus, Vi as TeePublicKeyResponse, Vr as SandboxRuntimeCapabilities, W as DriverInfo, Wi as TurnDriveResult, Wn as Rollout, Wr as SandboxTerminalAttachOptions, Wt as GpuLeaseManager, Xi as WaitForRolloutOptions, Xr as SandboxTraceBundle, Xt as IntelligenceReport, Yi as WaitForOptions, Yr as SandboxTerminals, Yt as InstalledTool, Zi as WorkspaceOperationLookup, Zn as SSHCommandDescriptor, Zt as IntelligenceReportBudget, _ as BranchOptions, _i as SessionMessage, _t as FileWriteResult, b as CodeExecutionOptions, ci as SendSessionMessageRequest, cn as MintScopedTokenOptions, di as SessionEventStreamOptions, dn as NetworkManager, dt as FileSystem, ea as WriteManyOptions, en as IntelligenceReportWindow, er as SandboxConnection, fa as TerminalStream, gi as SessionListOptions, gn as PreviewLinkManager, ha as TerminalStreamHandlers, hi as SessionInterruptOptions, ii as SearchOptions, it as ExecResult, jt as ForkLookupOptions, kn as ProvisionEvent, kt as ForkCounts, l as BackendManager, li as SentSessionMessage, mi as SessionInfo, mn as PermissionsManager, nn as ListMessagesOptions, nr as SandboxCreateReceipt, or as SandboxEvent, pi as SessionForkOptions, q as DurablePlanDecisionResult, ri as SearchMatch, rr as SandboxDeleteAcknowledgement, rt as ExecOptions, s as BackendConfig, sa as BackendType, si as SendSessionMessageOptions, ti as ScopedToken, tn as JsonValue, tt as EventStreamOptions, w as CommitTaskSessionOptions, wi as SnapshotInfo, x as CodeExecutionResult, xi as SnapshotDeleteAcknowledgement, yi as SessionResultOptions, z as DispatchedSession, zi as TeeAttestationResponse, zr as SandboxResourceUsage, zt as GpuLease } from "./types-CA5phY-u.js";
|
|
2
2
|
import { AgentProfile, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, InteractionAcknowledgement, InteractionData, InteractionRequest, InteractionResponseCommand } from "@tangle-network/agent-interface";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
@@ -821,14 +821,26 @@ declare class SandboxInstance {
|
|
|
821
821
|
*
|
|
822
822
|
* When `attestationNonce` is supplied, the runtime must return evidence bound
|
|
823
823
|
* to that challenge or fail closed if the selected TEE backend cannot support
|
|
824
|
-
* nonce-bound report data.
|
|
824
|
+
* nonce-bound report data. *
|
|
825
|
+
* Throws `CapabilityError` (`TEE_UNSUPPORTED`) when the deployment does not
|
|
826
|
+
* serve the TEE intercept — these paths are answered by a Tangle
|
|
827
|
+
* confidential operator ahead of the sandbox API, which registers no route
|
|
828
|
+
* for them. That refusal is recognised from the API's own unmatched-route
|
|
829
|
+
* answer, so an intermediary that rewrites 404 bodies leaves the ordinary
|
|
830
|
+
* `NotFoundError` in its place rather than the named refusal.
|
|
825
831
|
*/
|
|
826
832
|
getTeeAttestation(options?: TeeAttestationOptions): Promise<TeeAttestationResponse>;
|
|
827
833
|
/**
|
|
828
834
|
* Fetch the TEE-bound public key used for sealed-secret encryption.
|
|
829
835
|
*
|
|
830
836
|
* The returned key includes an attestation report. Verify that report before
|
|
831
|
-
* encrypting secrets to the key.
|
|
837
|
+
* encrypting secrets to the key. *
|
|
838
|
+
* Throws `CapabilityError` (`TEE_UNSUPPORTED`) when the deployment does not
|
|
839
|
+
* serve the TEE intercept — these paths are answered by a Tangle
|
|
840
|
+
* confidential operator ahead of the sandbox API, which registers no route
|
|
841
|
+
* for them. That refusal is recognised from the API's own unmatched-route
|
|
842
|
+
* answer, so an intermediary that rewrites 404 bodies leaves the ordinary
|
|
843
|
+
* `NotFoundError` in its place rather than the named refusal.
|
|
832
844
|
*/
|
|
833
845
|
getTeePublicKey(): Promise<TeePublicKeyResponse>;
|
|
834
846
|
/**
|
|
@@ -1382,6 +1394,7 @@ declare class SandboxInstance {
|
|
|
1382
1394
|
private networkGetConfig;
|
|
1383
1395
|
private egressGet;
|
|
1384
1396
|
private egressUpdate;
|
|
1397
|
+
private egressDenials;
|
|
1385
1398
|
private gpuAttach;
|
|
1386
1399
|
private gpuList;
|
|
1387
1400
|
private gpuExec;
|
|
@@ -1154,6 +1154,37 @@ var SandboxSession = class SandboxSession {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
};
|
|
1156
1156
|
//#endregion
|
|
1157
|
+
//#region src/tangle/tee-intercept.ts
|
|
1158
|
+
/** hono's default unmatched-route body. */
|
|
1159
|
+
const HONO_NOT_FOUND_BODY = "404 Not Found";
|
|
1160
|
+
/**
|
|
1161
|
+
* A 404 carrying hono's own unmatched-route body came from the router.
|
|
1162
|
+
*
|
|
1163
|
+
* hono answers an unmatched route with exactly "404 Not Found", so that body
|
|
1164
|
+
* is the deployment saying it has no such route — which for `/tee` means the
|
|
1165
|
+
* operator intercept is absent, not that the sandbox is missing.
|
|
1166
|
+
* `ensureRunning()` has already confirmed the sandbox at this point, which is
|
|
1167
|
+
* what makes the distinction safe to draw.
|
|
1168
|
+
*/
|
|
1169
|
+
function isRouterNotFound(body) {
|
|
1170
|
+
return body === HONO_NOT_FOUND_BODY;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Request a TEE surface, refusing by name when the deployment cannot serve it.
|
|
1174
|
+
*
|
|
1175
|
+
* Returns the successful response for the caller to parse. Throws
|
|
1176
|
+
* `CapabilityError` when the intercept is absent, and otherwise the same
|
|
1177
|
+
* parsed error every other SDK call throws.
|
|
1178
|
+
*/
|
|
1179
|
+
async function fetchTeeSurface(client, sandboxId, surface, init) {
|
|
1180
|
+
const path = `/v1/sandboxes/${encodeURIComponent(sandboxId)}/tee/${surface}`;
|
|
1181
|
+
const response = await client.fetch(path, init);
|
|
1182
|
+
if (response.ok) return response;
|
|
1183
|
+
const body = await response.text();
|
|
1184
|
+
if (response.status === 404 && isRouterNotFound(body)) throw new CapabilityError(`TEE ${surface} is not served by this deployment. The /tee paths are answered by a Tangle confidential operator that intercepts them before the sandbox API; a sandbox reached through the public API has no such route. Point the client at the operator, or create the sandbox with driver.type "tangle" on a deployment that fronts it.`, "TEE_UNSUPPORTED", 404, void 0, "tee");
|
|
1185
|
+
throw parseErrorResponse(response.status, body, void 0, response.headers);
|
|
1186
|
+
}
|
|
1187
|
+
//#endregion
|
|
1157
1188
|
//#region src/task-session.ts
|
|
1158
1189
|
/** A background task session with isolated changeset operations. */
|
|
1159
1190
|
var SandboxTaskSession = class extends SandboxSession {
|
|
@@ -1483,6 +1514,22 @@ var TerminalStream = class TerminalStream {
|
|
|
1483
1514
|
}
|
|
1484
1515
|
};
|
|
1485
1516
|
//#endregion
|
|
1517
|
+
//#region src/types.ts
|
|
1518
|
+
const GPU_LEASE_PROVIDER_NAMES = [
|
|
1519
|
+
"runpod",
|
|
1520
|
+
"vast-ai",
|
|
1521
|
+
"lambda-labs",
|
|
1522
|
+
"tensordock",
|
|
1523
|
+
"paperspace",
|
|
1524
|
+
"aws",
|
|
1525
|
+
"gcp",
|
|
1526
|
+
"azure",
|
|
1527
|
+
"crusoe",
|
|
1528
|
+
"fluidstack"
|
|
1529
|
+
];
|
|
1530
|
+
/** Largest `limit` the denials route accepts; it rejects anything above. */
|
|
1531
|
+
const MAX_EGRESS_DENIALS_LIMIT = 50;
|
|
1532
|
+
//#endregion
|
|
1486
1533
|
//#region src/workspace-images.ts
|
|
1487
1534
|
const DEFAULT_WORKSPACE_IMAGE_CLIENT_TIMEOUT_MS = 99e4;
|
|
1488
1535
|
const WORKSPACE_IMAGE_REQUEST_ATTEMPTS = 2;
|
|
@@ -2418,20 +2465,21 @@ var SandboxInstance = class SandboxInstance {
|
|
|
2418
2465
|
*
|
|
2419
2466
|
* When `attestationNonce` is supplied, the runtime must return evidence bound
|
|
2420
2467
|
* to that challenge or fail closed if the selected TEE backend cannot support
|
|
2421
|
-
* nonce-bound report data.
|
|
2468
|
+
* nonce-bound report data. *
|
|
2469
|
+
* Throws `CapabilityError` (`TEE_UNSUPPORTED`) when the deployment does not
|
|
2470
|
+
* serve the TEE intercept — these paths are answered by a Tangle
|
|
2471
|
+
* confidential operator ahead of the sandbox API, which registers no route
|
|
2472
|
+
* for them. That refusal is recognised from the API's own unmatched-route
|
|
2473
|
+
* answer, so an intermediary that rewrites 404 bodies leaves the ordinary
|
|
2474
|
+
* `NotFoundError` in its place rather than the named refusal.
|
|
2422
2475
|
*/
|
|
2423
2476
|
async getTeeAttestation(options) {
|
|
2424
2477
|
await this.ensureRunning();
|
|
2425
2478
|
const hasNonce = Boolean(options?.attestationNonce);
|
|
2426
|
-
const
|
|
2479
|
+
const data = await (await fetchTeeSurface(this.client, this.id, "attestation", {
|
|
2427
2480
|
method: hasNonce ? "POST" : "GET",
|
|
2428
2481
|
body: hasNonce ? JSON.stringify({ attestation_nonce: options?.attestationNonce }) : void 0
|
|
2429
|
-
});
|
|
2430
|
-
if (!response.ok) {
|
|
2431
|
-
const body = await response.text();
|
|
2432
|
-
throw parseErrorResponse(response.status, body, void 0, response.headers);
|
|
2433
|
-
}
|
|
2434
|
-
const data = await response.json();
|
|
2482
|
+
})).json();
|
|
2435
2483
|
if (hasNonce) data.attestationNonce = options?.attestationNonce;
|
|
2436
2484
|
this.info = {
|
|
2437
2485
|
...this.info,
|
|
@@ -2447,16 +2495,17 @@ var SandboxInstance = class SandboxInstance {
|
|
|
2447
2495
|
* Fetch the TEE-bound public key used for sealed-secret encryption.
|
|
2448
2496
|
*
|
|
2449
2497
|
* The returned key includes an attestation report. Verify that report before
|
|
2450
|
-
* encrypting secrets to the key.
|
|
2498
|
+
* encrypting secrets to the key. *
|
|
2499
|
+
* Throws `CapabilityError` (`TEE_UNSUPPORTED`) when the deployment does not
|
|
2500
|
+
* serve the TEE intercept — these paths are answered by a Tangle
|
|
2501
|
+
* confidential operator ahead of the sandbox API, which registers no route
|
|
2502
|
+
* for them. That refusal is recognised from the API's own unmatched-route
|
|
2503
|
+
* answer, so an intermediary that rewrites 404 bodies leaves the ordinary
|
|
2504
|
+
* `NotFoundError` in its place rather than the named refusal.
|
|
2451
2505
|
*/
|
|
2452
2506
|
async getTeePublicKey() {
|
|
2453
2507
|
await this.ensureRunning();
|
|
2454
|
-
const
|
|
2455
|
-
if (!response.ok) {
|
|
2456
|
-
const body = await response.text();
|
|
2457
|
-
throw parseErrorResponse(response.status, body, void 0, response.headers);
|
|
2458
|
-
}
|
|
2459
|
-
const data = await response.json();
|
|
2508
|
+
const data = await (await fetchTeeSurface(this.client, this.id, "public-key", { method: "GET" })).json();
|
|
2460
2509
|
this.info = {
|
|
2461
2510
|
...this.info,
|
|
2462
2511
|
metadata: {
|
|
@@ -4606,7 +4655,8 @@ var SandboxInstance = class SandboxInstance {
|
|
|
4606
4655
|
get egress() {
|
|
4607
4656
|
return {
|
|
4608
4657
|
get: () => this.egressGet(),
|
|
4609
|
-
update: (policy) => this.egressUpdate(policy)
|
|
4658
|
+
update: (policy) => this.egressUpdate(policy),
|
|
4659
|
+
denials: (options) => this.egressDenials(options)
|
|
4610
4660
|
};
|
|
4611
4661
|
}
|
|
4612
4662
|
/**
|
|
@@ -4700,6 +4750,47 @@ var SandboxInstance = class SandboxInstance {
|
|
|
4700
4750
|
source: data.source
|
|
4701
4751
|
};
|
|
4702
4752
|
}
|
|
4753
|
+
async egressDenials(options) {
|
|
4754
|
+
const limit = options?.limit;
|
|
4755
|
+
if (limit !== void 0) {
|
|
4756
|
+
if (!Number.isInteger(limit) || limit < 1) throw new ValidationError(`egress denials limit must be a positive integer, got ${limit}`);
|
|
4757
|
+
if (limit > 50) throw new ValidationError(`egress denials limit must be at most 50, got ${limit}`);
|
|
4758
|
+
}
|
|
4759
|
+
const query = limit === void 0 ? "" : `?limit=${encodeURIComponent(limit)}`;
|
|
4760
|
+
const response = await this.client.fetch(`/v1/sandboxes/${encodeURIComponent(this.id)}/egress/denials${query}`);
|
|
4761
|
+
if (!response.ok) {
|
|
4762
|
+
const body = await response.text();
|
|
4763
|
+
throw parseErrorResponse(response.status, body, void 0, response.headers);
|
|
4764
|
+
}
|
|
4765
|
+
let body;
|
|
4766
|
+
try {
|
|
4767
|
+
body = await response.json();
|
|
4768
|
+
} catch (cause) {
|
|
4769
|
+
const error = new ServerError("Egress denials response was malformed: body is not valid JSON", 502);
|
|
4770
|
+
error.cause = cause;
|
|
4771
|
+
throw error;
|
|
4772
|
+
}
|
|
4773
|
+
if (typeof body !== "object" || body === null || Array.isArray(body)) throw new ServerError("Egress denials response was malformed: body is not an object", 502);
|
|
4774
|
+
const raw = body.denials;
|
|
4775
|
+
if (raw === void 0 || raw === null) return [];
|
|
4776
|
+
if (!Array.isArray(raw)) throw new ServerError("Egress denials response was malformed: denials is not a list", 502);
|
|
4777
|
+
const denials = [];
|
|
4778
|
+
for (const [index, entry] of raw.entries()) {
|
|
4779
|
+
const row = entry;
|
|
4780
|
+
if (typeof row !== "object" || row === null || typeof row.host !== "string" || typeof row.rejectedBy !== "string" || typeof row.count !== "number" || !Number.isInteger(row.count) || row.count < 0 || row.lastAt !== void 0 && row.lastAt !== null && typeof row.lastAt !== "string") throw new ServerError(`Egress denials response was malformed: entry ${index} is not a denial`, 502);
|
|
4781
|
+
denials.push(row.lastAt === void 0 || row.lastAt === null ? {
|
|
4782
|
+
host: row.host,
|
|
4783
|
+
rejectedBy: row.rejectedBy,
|
|
4784
|
+
count: row.count
|
|
4785
|
+
} : {
|
|
4786
|
+
host: row.host,
|
|
4787
|
+
rejectedBy: row.rejectedBy,
|
|
4788
|
+
count: row.count,
|
|
4789
|
+
lastAt: row.lastAt
|
|
4790
|
+
});
|
|
4791
|
+
}
|
|
4792
|
+
return denials;
|
|
4793
|
+
}
|
|
4703
4794
|
async gpuAttach(options) {
|
|
4704
4795
|
const response = await this.client.fetch(`/v1/sandboxes/${encodeURIComponent(this.id)}/gpu/leases`, {
|
|
4705
4796
|
method: "POST",
|
|
@@ -6759,4 +6850,4 @@ function quoteForShell(value) {
|
|
|
6759
6850
|
return `'${value.replace(/'/g, "'\\''")}'`;
|
|
6760
6851
|
}
|
|
6761
6852
|
//#endregion
|
|
6762
|
-
export {
|
|
6853
|
+
export { toOtelJson as C, otelTraceIdForTangleTrace as S, getSandboxEventText as _, WorkspaceImages as a, buildTraceExportPayload as b, TERMINAL_WS_ECHO_SUBPROTOCOL as c, SandboxTaskSession as d, SandboxSession as f, collectAgentResponseText as g, collectAgentFinalMessageText as h, normalizeStartupDiagnostics as i, TerminalStream as l, applySandboxEventText as m, createSandboxInstanceFromResponse as n, GPU_LEASE_PROVIDER_NAMES as o, InteractiveSessionHandle as p, normalizeSandboxCreateReceipt as r, MAX_EGRESS_DENIALS_LIMIT as s, SandboxInstance as t, TerminalStreamError as u, isToolBearingEvent as v, parseSSEStream as w, exportTraceBundle as x, normalizeConnection as y };
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -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-
|
|
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-BAhkXUaK.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 };
|
package/dist/tangle/index.js
CHANGED
|
@@ -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-
|
|
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-CGzEfYFL.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TANGLE_MAINNET_RPC, TangleSandboxClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as parseErrorResponse } from "./errors-C6kn-3zt.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-BwIaQcE7.js";
|
|
3
3
|
//#region src/tangle/abi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Tangle Contract ABI Definitions
|
|
@@ -4693,24 +4693,30 @@ interface DriverInfo {
|
|
|
4693
4693
|
available: boolean;
|
|
4694
4694
|
/** Driver version string */
|
|
4695
4695
|
version: string;
|
|
4696
|
-
/**
|
|
4696
|
+
/**
|
|
4697
|
+
* Driver capabilities.
|
|
4698
|
+
*
|
|
4699
|
+
* Every field is required because `GET /v1/sandboxes/{id}/driver` declares
|
|
4700
|
+
* them required on a strict schema, so the API always sends all of them.
|
|
4701
|
+
*/
|
|
4697
4702
|
capabilities: {
|
|
4698
4703
|
/** Checkpoint/restore support */criu: boolean; /** GPU support */
|
|
4699
|
-
gpu: boolean; /**
|
|
4704
|
+
gpu: boolean; /** vsock guest-host socket support. True only for the firecracker driver. */
|
|
4705
|
+
vsock: boolean; /** Filesystem snapshots */
|
|
4700
4706
|
snapshots: boolean; /** Multi-user management */
|
|
4701
4707
|
userManagement: boolean; /** Network isolation */
|
|
4702
4708
|
networkIsolation: boolean;
|
|
4703
4709
|
};
|
|
4710
|
+
/**
|
|
4711
|
+
* Hosts in the fleet backing this driver. Only the host-agent driver has a
|
|
4712
|
+
* registry to count; the other drivers are single-host and omit it.
|
|
4713
|
+
*/
|
|
4714
|
+
hosts?: number;
|
|
4704
4715
|
/** Current capacity */
|
|
4705
4716
|
capacity?: {
|
|
4706
4717
|
available: number;
|
|
4707
4718
|
total: number;
|
|
4708
4719
|
};
|
|
4709
|
-
acceleratorCapacity?: {
|
|
4710
|
-
available: number;
|
|
4711
|
-
total: number;
|
|
4712
|
-
kinds: AcceleratorKind[];
|
|
4713
|
-
};
|
|
4714
4720
|
}
|
|
4715
4721
|
/**
|
|
4716
4722
|
* MCP (Model Context Protocol) server configuration.
|
|
@@ -5016,6 +5022,21 @@ interface EgressPolicy {
|
|
|
5016
5022
|
*/
|
|
5017
5023
|
includeImplicitDomains?: boolean;
|
|
5018
5024
|
}
|
|
5025
|
+
/**
|
|
5026
|
+
* A destination the egress policy refused, with how often it was tried.
|
|
5027
|
+
*/
|
|
5028
|
+
interface EgressDenial {
|
|
5029
|
+
/** Destination host the sandbox tried to reach. */
|
|
5030
|
+
host: string;
|
|
5031
|
+
/** Which rule refused it — the policy layer that produced the denial. */
|
|
5032
|
+
rejectedBy: string;
|
|
5033
|
+
/** How many times this host was refused. */
|
|
5034
|
+
count: number;
|
|
5035
|
+
/** ISO-8601 time of the most recent refusal, when the proxy recorded one. */
|
|
5036
|
+
lastAt?: string;
|
|
5037
|
+
}
|
|
5038
|
+
/** Largest `limit` the denials route accepts; it rejects anything above. */
|
|
5039
|
+
declare const MAX_EGRESS_DENIALS_LIMIT = 50;
|
|
5019
5040
|
/**
|
|
5020
5041
|
* Egress policy manager for runtime egress configuration.
|
|
5021
5042
|
* Access via `sandbox.egress`.
|
|
@@ -5031,6 +5052,13 @@ interface EgressPolicy {
|
|
|
5031
5052
|
* // strict reaches these plus the sandbox's own model endpoint, nothing else.
|
|
5032
5053
|
* await box.egress.update({ mode: "strict", allowDomains: ["api.github.com"] });
|
|
5033
5054
|
* ```
|
|
5055
|
+
*
|
|
5056
|
+
* @example Find out why a request was refused
|
|
5057
|
+
* ```typescript
|
|
5058
|
+
* for (const denial of await box.egress.denials()) {
|
|
5059
|
+
* console.log(`${denial.host} refused by ${denial.rejectedBy}`);
|
|
5060
|
+
* }
|
|
5061
|
+
* ```
|
|
5034
5062
|
*/
|
|
5035
5063
|
interface EgressManager {
|
|
5036
5064
|
/**
|
|
@@ -5054,6 +5082,24 @@ interface EgressManager {
|
|
|
5054
5082
|
policy: EgressPolicy;
|
|
5055
5083
|
source: "sandbox" | "team" | "platform";
|
|
5056
5084
|
}>;
|
|
5085
|
+
/**
|
|
5086
|
+
* Destinations this sandbox tried to reach that its egress policy refused,
|
|
5087
|
+
* newest first.
|
|
5088
|
+
*
|
|
5089
|
+
* The proxy answers a blocked request with a bodyless 403, so code inside
|
|
5090
|
+
* the sandbox cannot tell an allowlist refusal from a broken network. This
|
|
5091
|
+
* is where that reason surfaces.
|
|
5092
|
+
*
|
|
5093
|
+
* Best-effort by design: an empty list means either that nothing was
|
|
5094
|
+
* refused or that the proxy is no longer readable, and the two are not
|
|
5095
|
+
* distinguishable from here.
|
|
5096
|
+
*
|
|
5097
|
+
* @param options.limit - Most denials to return, 1 to
|
|
5098
|
+
* {@link MAX_EGRESS_DENIALS_LIMIT}. Omit to let the server choose.
|
|
5099
|
+
*/
|
|
5100
|
+
denials(options?: {
|
|
5101
|
+
limit?: number;
|
|
5102
|
+
}): Promise<EgressDenial[]>;
|
|
5057
5103
|
}
|
|
5058
5104
|
/**
|
|
5059
5105
|
* Port exposure and runtime network state for a sandbox.
|
|
@@ -6421,4 +6467,4 @@ interface CodeExecutionOptions {
|
|
|
6421
6467
|
idempotencyKey?: string;
|
|
6422
6468
|
}
|
|
6423
6469
|
//#endregion
|
|
6424
|
-
export {
|
|
6470
|
+
export { EgressPolicy as $, WriteManyFile as $i, SandboxConfig as $n, SandboxTraceOptions as $r, IntelligenceReportSubjectType as $t, CreateSandboxFleetTokenOptions as A, StorageConfig as Ai, ProvisionResult as An, SandboxFleetWorkspace as Ar, ForkIdempotency as At, DownloadOptions as B, TeePublicKey as Bi, ReconcileSandboxFleetsResult as Bn, SandboxResources as Br, GpuLeaseBilling as Bt, CodeResultPart as C, SnapshotIdempotency as Ci, ProcessSignal as Cn, SandboxFleetPolicy as Cr, FleetDriveTurnRequest as Ct, CreateIntelligenceReportOptions as D, SshKeysManager as Di, PromptOptions as Dn, SandboxFleetTraceExport as Dr, FleetPromptDispatchOptions as Dt, CreateGpuLeaseOptions as E, SnapshotResult as Ei, PromptInputPart as En, SandboxFleetTraceEvent as Er, FleetMachineId as Et, DeleteOptions as F, TaskSessionInfo as Fi, PublishPublicTemplateOptions as Fn, SandboxInfo as Fr, GitCommit as Ft, DriverType as G, UpdateUserOptions as Gi, RolloutChildResult as Gn, SandboxTerminalCreateOptions as Gr, GpuLeaseProviderName as Gt, DriveTurnOptions as H, TokenRefreshHandler as Hi, RestoreSnapshotOptions as Hn, SandboxRuntimeHealth as Hr, GpuLeaseExecOptions as Ht, DevServerInfo as I, TaskSessionProfile as Ii, PublishPublicTemplateVersionOptions as In, SandboxIntelligenceEnvelope as Ir, GitConfig as It, EffectiveBackend as J, UsageInfo as Ji, RolloutStartResult as Jn, SandboxTerminalRequestOptions as Jr, HostAgentRuntimeBackend as Jt, DurablePlan as K, UploadOptions as Ki, RolloutOptions as Kn, SandboxTerminalInfo as Kr, GpuLeaseStatus as Kt, DirectoryPermission as L, TeeAttestationOptions as Li, ReapExpiredSandboxFleetsOptions as Ln, SandboxPortBinding as Lr, GitDiff as Lt, CreateSandboxOptions as M, TaskSessionChanges as Mi, ProvisionStep as Mn, SandboxFleetWorkspaceRestoreResult as Mr, GPU_LEASE_PROVIDER_NAMES as Mt, CreateSessionOptions as N, TaskSessionCommitResult as Ni, PublicTemplateInfo as Nn, SandboxFleetWorkspaceSnapshotResult as Nr, GitAuth as Nt, CreateRequestOptions as O, StartupDiagnostics as Oi, PromptResult as On, SandboxFleetTraceOptions as Or, FleetPromptDispatchResult as Ot, CreateTaskSessionOptions as P, TaskSessionFileChange as Pi, PublicTemplateVersionInfo as Pn, SandboxIdentity as Pr, GitBranch as Pt, EgressManager as Q, WriteFileOptions as Qi, SSHCredentials as Qn, SandboxTraceExport as Qr, IntelligenceReportCompareTo as Qt, DispatchPromptOptions as R, TeeAttestationReport as Ri, ReapExpiredSandboxFleetsResult as Rn, SandboxPortPreviewLink as Rr, GitStatus as Rt, CodeLanguage as S, SnapshotDeleteOutcome as Si, ProcessManager as Sn, SandboxFleetOperationsSummary as Sr, FleetDriveTurnOutcome as St, CompletedTurnResult as T, SnapshotOptions as Ti, ProcessStatus as Tn, SandboxFleetTraceBundle as Tr, FleetExecDispatchResult as Tt, DriverConfig as U, TokenUsage as Ui, ResumeOptions as Un, SandboxStatus as Ur, GpuLeaseExecResult as Ut, DownloadProgress as V, TeePublicKeyResponse as Vi, RenameOptions as Vn, SandboxRuntimeCapabilities as Vr, GpuLeaseCommandResult as Vt, DriverInfo as W, TurnDriveResult as Wi, Rollout as Wn, SandboxTerminalAttachOptions as Wr, GpuLeaseManager as Wt, EffectiveBackendSource as X, WaitForRolloutOptions as Xi, RolloutTurnPart as Xn, SandboxTraceBundle as Xr, IntelligenceReport as Xt, EffectiveBackendProfile as Y, WaitForOptions as Yi, RolloutStatus as Yn, SandboxTerminals as Yr, InstalledTool as Yt, EgressDenial as Z, WorkspaceOperationLookup as Zi, SSHCommandDescriptor as Zn, SandboxTraceEvent as Zr, IntelligenceReportBudget as Zt, BranchOptions as _, TerminalStreamToken as _a, SessionMessage as _i, PreviewLinkWaitOptions as _n, SandboxFleetMachineMeteredUsage as _r, FileWriteResult as _t, AttachSandboxFleetMachineOptions as a, BatchTaskUsage as aa, SecretInfo as ai, ListSandboxOptions as an, SandboxEnvironment as ar, FileInfo as at, CodeExecutionOptions as b, SessionStatus as bi, ProcessListOptions as bn, SandboxFleetManifest as br, FleetDispatchResultBufferOptions as bt, BackendInfo as c, parseBackendType as ca, SendSessionMessageRequest as ci, MintScopedTokenOptions as cn, SandboxFleetArtifactSpec as cr, FileReadError as ct, BatchBackend as d, TerminalReadyInfo as da, SessionEventStreamOptions as di, NetworkManager as dn, SandboxFleetDispatchResponse as dr, FileSystem as dt, WriteManyOptions as ea, SandboxUser as ei, IntelligenceReportWindow as en, SandboxConnection as er, EnsureDevServerOptions as et, BatchResult as f, TerminalStream as fa, SessionFailureReason as fi, NonHostAgentDriverConfig as fn, SandboxFleetDriverCapability as fr, FileTreeFile as ft, BatchTaskResult as g, TerminalStreamOptions as ga, SessionListOptions as gi, PreviewLinkManager as gn, SandboxFleetMachine as gr, FileUsageResult as gt, BatchTask as h, TerminalStreamHandlers as ha, SessionInterruptOptions as hi, PreviewLinkInfo as hn, SandboxFleetIntelligenceEnvelope as hr, FileUsageOptions as ht, AttachGpuLeaseOptions as i, BatchSidecarGroup as ia, SearchOptions as ii, ListSandboxFleetOptions as in, SandboxDeleteOutcome as ir, ExecResult as it, CreateSandboxFleetWithCoordinatorOptions as j, SubscriptionInfo as ji, ProvisionStatus as jn, SandboxFleetWorkspaceReconcileResult as jr, ForkLookupOptions as jt, CreateSandboxFleetOptions as k, StartupOperation as ki, ProvisionEvent as kn, SandboxFleetUsage as kr, ForkCounts as kt, BackendManager as l, TERMINAL_WS_ECHO_SUBPROTOCOL as la, SentSessionMessage as li, MkdirOptions as ln, SandboxFleetCostEstimate as lr, FileReadResult as lt, BatchRunRequest as m, TerminalStreamError as ma, SessionInfo as mi, PermissionsManager as mn, SandboxFleetInfo as mr, FileTreeResult as mt, AccessPolicyRule as n, BatchEvent as na, ScopedTokenScope as ni, ListMessagesOptions as nn, SandboxCreateReceipt as nr, ExactProcessSpawnOptions as nt, BackendCapabilities as o, PublicBatchRunRequest as oa, SecretsManager as oi, MAX_EGRESS_DENIALS_LIMIT as on, SandboxEvent as or, FileReadBatchOptions as ot, BatchRunOptions as p, TerminalStreamAuthFormat as pa, SessionForkOptions as pi, PermissionLevel as pn, SandboxFleetDriverTimings as pr, FileTreeOptions as pt, DurablePlanDecisionResult as q, UploadProgress as qi, RolloutScorer as qn, SandboxTerminalManager as qr, HostAgentDriverConfig as qt, AddUserOptions as r, BatchEventDataMap as ra, SearchMatch as ri, ListOptions as rn, SandboxDeleteAcknowledgement as rr, ExecOptions as rt, BackendConfig as s, BackendType as sa, SendSessionMessageOptions as si, McpServerConfig as sn, SandboxFleetArtifact as sr, FileReadBatchResult as st, AcceleratorKind as t, BatchBackendStats as ta, ScopedToken as ti, JsonValue as tn, SandboxCreateOutcome as tr, EventStreamOptions as tt, BackendStatus as u, TerminalExitInfo as ua, SessionBackendCredentials as ui, NetworkConfig as un, SandboxFleetDispatchFailureClass as ur, FileRenameResult as ut, ChunkedUploadOptions as v, SessionMessageInputPart as vi, Process as vn, SandboxFleetMachineRecord as vr, FleetDispatchCancelResult as vt, CommitTaskSessionOptions as w, SnapshotInfo as wi, ProcessSpawnOptions as wn, SandboxFleetToken as wr, FleetExecDispatchOptions as wt, CodeExecutionResult as x, SnapshotDeleteAcknowledgement as xi, ProcessLogEntry as xn, SandboxFleetManifestMachine as xr, FleetDispatchStreamOptions as xt, ChunkedUploadResult as y, SessionResultOptions as yi, ProcessInfo as yn, SandboxFleetMachineSpec as yr, FleetDispatchResultBuffer as yt, DispatchedSession as z, TeeAttestationResponse as zi, ReconcileSandboxFleetsOptions as zn, SandboxResourceUsage as zr, GpuLease as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.28.0-develop.
|
|
3
|
+
"version": "0.28.0-develop.20260819041533.576b2f2",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
"ws": "^8.20.0",
|
|
132
132
|
"yjs": "13.6.30",
|
|
133
133
|
"@repo/shared": "0.0.0",
|
|
134
|
-
"@tangle-network/
|
|
135
|
-
"@tangle-network/
|
|
134
|
+
"@tangle-network/cli-agent-registry": "0.3.10",
|
|
135
|
+
"@tangle-network/runtime-contracts": "0.6.1"
|
|
136
136
|
},
|
|
137
137
|
"scripts": {
|
|
138
138
|
"build": "node scripts/build-dist.mjs",
|