@tangle-network/sandbox 0.23.0-develop.20260814092444.5f93bc1 → 0.23.0
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/{client-QSo4goVc.d.ts → client-CF7SC1l6.d.ts} +2 -2
- package/dist/{client-CLn6Tzx8.js → client-ClR-isrv.js} +2 -3
- package/dist/core.d.ts +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-BBZKkva-.d.ts → index-Cx3hAzB9.d.ts} +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/runtime.d.ts +1 -1
- package/dist/{sandbox-S1ayJN7d.d.ts → sandbox-Bqcme9Sj.d.ts} +1 -29
- package/dist/{sandbox-D2wREqmA.js → sandbox-CEOxB8dH.js} +5 -60
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-CzFPb4Jm.js → tangle-BDdxSi54.js} +1 -1
- package/dist/{types-Dpj6Unaq.d.ts → types-CxkpqFzN.d.ts} +1 -30
- package/package.json +1 -1
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions, x as CodeExecutionResult } from "../types-
|
|
2
|
-
import { n as SandboxInstance } from "../sandbox-
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
1
|
+
import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions, x as CodeExecutionResult } from "../types-CxkpqFzN.js";
|
|
2
|
+
import { n as SandboxInstance } from "../sandbox-Bqcme9Sj.js";
|
|
3
|
+
import { i as Sandbox } from "../client-CF7SC1l6.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 { $
|
|
2
|
-
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance, t as HttpClient } from "./sandbox-
|
|
1
|
+
import { $n as SandboxFleetArtifactSpec, A as CreateSandboxFleetTokenOptions, Ai as TokenRefreshHandler, An as PublishPublicTemplateOptions, Cn as PromptResult, Cr as SandboxFleetWorkspaceRestoreResult, Ct as FleetExecDispatchOptions, D as CreateIntelligenceReportOptions, Dt as FleetPromptDispatchResult, Er as SandboxInfo, Et as FleetPromptDispatchOptions, Fn as ReconcileSandboxFleetsResult, Ii as UsageInfo, Jn as SandboxConfig, Jt as IntelligenceReportCompareTo, Kt as IntelligenceReport, M as CreateSandboxOptions, Mn as ReapExpiredSandboxFleetsOptions, Nn as ReapExpiredSandboxFleetsResult, O as CreateRequestOptions, On as PublicTemplateInfo, Pn as ReconcileSandboxFleetsOptions, Qi as BatchEvent, Qn as SandboxFleetArtifact, Sn as PromptOptions, Sr as SandboxFleetWorkspaceReconcileResult, St as FleetDriveTurnRequest, Tr as SandboxIdentity, Tt as FleetMachineId, Xn as SandboxEnvironment, Xt as IntelligenceReportWindow, Zr as SecretsManager, _t as FleetDispatchCancelResult, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetInfo, br as SandboxFleetUsage, bt as FleetDispatchStreamOptions, dr as SandboxFleetManifest, en as ListSandboxFleetOptions, er as SandboxFleetCostEstimate, f as BatchResult, gr as SandboxFleetTraceBundle, hi as SshKeysManager, hr as SandboxFleetToken, j as CreateSandboxFleetWithCoordinatorOptions, jn as PublishPublicTemplateVersionOptions, k as CreateSandboxFleetOptions, kn as PublicTemplateVersionInfo, lr as SandboxFleetMachineRecord, m as BatchRunRequest, nr as SandboxFleetDispatchResponse, nt as ExecOptions, p as BatchRunOptions, pr as SandboxFleetOperationsSummary, qt as IntelligenceReportBudget, rr as SandboxFleetDriverCapability, rt as ExecResult, tn as ListSandboxOptions, vt as FleetDispatchResultBuffer, wr as SandboxFleetWorkspaceSnapshotResult, wt as FleetExecDispatchResult, xn as PromptInputPart, xt as FleetDriveTurnOutcome, yi as SubscriptionInfo, yr as SandboxFleetTraceOptions, yt as FleetDispatchResultBufferOptions } from "./types-CxkpqFzN.js";
|
|
2
|
+
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance, t as HttpClient } from "./sandbox-Bqcme9Sj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/lib/sse-parser.d.ts
|
|
5
5
|
/**
|
|
@@ -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-Co-Ow_VR.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-D2aWy99l.js";
|
|
3
|
-
import {
|
|
3
|
+
import { g as normalizeConnection, n as createSandboxInstanceFromResponse, r as normalizeStartupDiagnostics, v as exportTraceBundle, x as parseSSEStream } from "./sandbox-CEOxB8dH.js";
|
|
4
4
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/git-policy.js
|
|
@@ -3100,8 +3100,7 @@ var Sandbox = class {
|
|
|
3100
3100
|
expiresAt: data.expiresAt ? new Date(data.expiresAt) : void 0,
|
|
3101
3101
|
error: data.error,
|
|
3102
3102
|
gpuLease: data.gpuLease,
|
|
3103
|
-
startupDiagnostics: normalizeStartupDiagnostics(data.startupDiagnostics) ?? void 0
|
|
3104
|
-
createReceipt: normalizeSandboxCreateReceipt(data.createReceipt) ?? void 0
|
|
3103
|
+
startupDiagnostics: normalizeStartupDiagnostics(data.startupDiagnostics) ?? void 0
|
|
3105
3104
|
};
|
|
3106
3105
|
}
|
|
3107
3106
|
_tokenRefreshHandlers = /* @__PURE__ */ new Set();
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-
|
|
3
|
-
import { i as Sandbox } from "./client-
|
|
1
|
+
import { Er as SandboxInfo, Jn as SandboxConfig, M as CreateSandboxOptions, Pr as SandboxStatus, an as NetworkConfig, dn as PreviewLinkManager, fn as PreviewLinkWaitOptions, nt as ExecOptions, rt as ExecResult, un as PreviewLinkInfo, xn as PromptInputPart } from "./types-CxkpqFzN.js";
|
|
2
|
+
import { a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-Bqcme9Sj.js";
|
|
3
|
+
import { i as Sandbox } from "./client-CF7SC1l6.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, 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 };
|
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-D2aWy99l.js";
|
|
2
|
-
import { n as Sandbox } from "./client-
|
|
3
|
-
import {
|
|
2
|
+
import { n as Sandbox } from "./client-ClR-isrv.js";
|
|
3
|
+
import { i as WorkspaceImages, t as SandboxInstance } from "./sandbox-CEOxB8dH.js";
|
|
4
4
|
export { AuthError, CapabilityError, FileWriteConflictError, NetworkError, NotFoundError, PartialFailureError, QuotaError, Sandbox, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as CreateSandboxOptions } from "./types-
|
|
2
|
-
import { n as SandboxInstance, t as HttpClient } from "./sandbox-
|
|
1
|
+
import { M as CreateSandboxOptions } from "./types-CxkpqFzN.js";
|
|
2
|
+
import { n as SandboxInstance, t as HttpClient } from "./sandbox-Bqcme9Sj.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 EnsureDevServerOptions, $i as
|
|
2
|
-
import { A as BuildSandboxMcpConfigOptions, C as RespondToPermissionOptions, D as SandboxInteractionResolution, E as SandboxInteractionConflict, F as SandboxMcpServerEntry, I as buildControlPlaneMcpConfig, L as buildSandboxMcpConfig, M as SANDBOX_MCP_SERVER_NAME, N as SandboxMcpConfig, O as SandboxInteractionResult, P as SandboxMcpEndpoint, S as InterruptResult, T as SandboxInteractionCommandResult, _ as InteractiveAuthFile, a as WorkspaceImagePublishResult, b as InteractiveSessionInfo, c as TraceExportResult, d as exportTraceBundle, f as otelTraceIdForTangleTrace, g as InteractiveAttachOptions, h as SandboxSession, i as WorkspaceImagePublishRequestOptions, j as CONTROL_PLANE_MCP_SERVER_NAME, k as BuildControlPlaneMcpConfigOptions, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, o as WorkspaceImages, p as toOtelJson, r as WorkspaceImagePublishInput, s as TraceExportFormat, u as buildTraceExportPayload, v as InteractiveSessionHandle, w as StartInteractiveOptions, x as InteractiveSessionStatus, y as InteractiveSessionHost } from "./sandbox-
|
|
3
|
-
import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, 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 } from "./client-
|
|
1
|
+
import { $ as EnsureDevServerOptions, $i as BatchEventDataMap, $n as SandboxFleetArtifactSpec, $r as SendSessionMessageRequest, $t as ListOptions, Ai as TokenRefreshHandler, An as PublishPublicTemplateOptions, Ar as SandboxResourceUsage, At as GitBranch, B as DownloadOptions, Bi as WriteManyFile, Bn as RolloutChildResult, Br as SandboxTerminals, Bt as GpuLeaseManager, Ci as TaskSessionInfo, Cn as PromptResult, Cr as SandboxFleetWorkspaceRestoreResult, Ct as FleetExecDispatchOptions, D as CreateIntelligenceReportOptions, Di as TeeAttestationResponse, Dn as ProvisionStep, Dr as SandboxIntelligenceEnvelope, E as CreateGpuLeaseOptions, Ei as TeeAttestationReport, En as ProvisionStatus, Er as SandboxInfo, Et as FleetPromptDispatchOptions, F as DeleteOptions, Fi as UploadProgress, Fn as ReconcileSandboxFleetsResult, Fr as SandboxTerminalAttachOptions, Ft as GpuLease, G as DriverType, Gi as TerminalStream, Gn as RolloutTurnPart, Gr as SandboxUser, Gt as InstalledTool, H as DriveTurnOptions, Hi as TERMINAL_WS_ECHO_SUBPROTOCOL, Hn as RolloutScorer, Hr as SandboxTraceEvent, Ht as GpuLeaseStatus, I as DevServerInfo, Ii as UsageInfo, In as RenameOptions, Ir as SandboxTerminalCreateOptions, It as GpuLeaseBilling, J as EffectiveBackend, Ji as TerminalStreamHandlers, Jn as SandboxConfig, Jr as SearchMatch, Jt as IntelligenceReportCompareTo, K as DurablePlan, Ki as TerminalStreamAuthFormat, Kn as SSHCommandDescriptor, Kr as ScopedToken, Kt as IntelligenceReport, L as DirectoryPermission, Li as WaitForOptions, Lr as SandboxTerminalInfo, Lt as GpuLeaseCommandResult, M as CreateSandboxOptions, Mi as TurnDriveResult, Mn as ReapExpiredSandboxFleetsOptions, Mr as SandboxRuntimeCapabilities, Mt as GitConfig, N as CreateSessionOptions, Ni as UpdateUserOptions, Nn as ReapExpiredSandboxFleetsResult, Nr as SandboxRuntimeHealth, Nt as GitDiff, O as CreateRequestOptions, Oi as TeePublicKey, On as PublicTemplateInfo, Or as SandboxPortBinding, Ot as GPU_LEASE_PROVIDER_NAMES, P as CreateTaskSessionOptions, Pi as UploadOptions, Pn as ReconcileSandboxFleetsOptions, Pr as SandboxStatus, Pt as GitStatus, Q as EgressPolicy, Qi as BatchEvent, Qn as SandboxFleetArtifact, Qr as SendSessionMessageOptions, Qt as ListMessagesOptions, R as DispatchPromptOptions, Ri as WaitForRolloutOptions, Rr as SandboxTerminalManager, Rt as GpuLeaseExecOptions, Si as TaskSessionFileChange, Sn as PromptOptions, Sr as SandboxFleetWorkspaceReconcileResult, St as FleetDriveTurnRequest, T as CompletedTurnResult, Ti as TeeAttestationOptions, Tn as ProvisionResult, Tr as SandboxIdentity, Tt as FleetMachineId, U as DriverConfig, Ui as TerminalExitInfo, Un as RolloutStartResult, Ur as SandboxTraceExport, Ut as HostAgentDriverConfig, V as DownloadProgress, Vi as WriteManyOptions, Vn as RolloutOptions, Vr as SandboxTraceBundle, Vt as GpuLeaseProviderName, W as DriverInfo, Wi as TerminalReadyInfo, Wn as RolloutStatus, Wr as SandboxTraceOptions, Wt as HostAgentRuntimeBackend, X as EffectiveBackendSource, Xi as TerminalStreamToken, Xn as SandboxEnvironment, Xr as SecretInfo, Xt as IntelligenceReportWindow, Y as EffectiveBackendProfile, Yi as TerminalStreamOptions, Yn as SandboxConnection, Yr as SearchOptions, Yt as IntelligenceReportSubjectType, Z as EgressManager, Zi as BatchBackendStats, Zn as SandboxEvent, Zr as SecretsManager, _ as BranchOptions, _i as StartupOperation, _n as ProcessManager, _r as SandboxFleetTraceEvent, _t as FleetDispatchCancelResult, a as AttachSandboxFleetMachineOptions, ai as SessionInfo, an as NetworkConfig, ar as SandboxFleetInfo, at as FileReadBatchOptions, bi as TaskSessionChanges, bn as ProcessStatus, br as SandboxFleetUsage, bt as FleetDispatchStreamOptions, c as BackendInfo, ci as SessionMessage, cn as PermissionLevel, cr as SandboxFleetMachineMeteredUsage, ct as FileReadResult, d as BatchBackend, di as SessionStatus, dn as PreviewLinkManager, dr as SandboxFleetManifest, dt as FileTreeFile, ea as BatchSidecarGroup, ei as SentSessionMessage, en as ListSandboxFleetOptions, er as SandboxFleetCostEstimate, et as EventStreamOptions, f as BatchResult, fi as SnapshotInfo, fn as PreviewLinkWaitOptions, fr as SandboxFleetManifestMachine, ft as FileTreeOptions, g as BatchTaskResult, gi as StartupDiagnostics, gn as ProcessLogEntry, gr as SandboxFleetTraceBundle, gt as FileWriteResult, h as BatchTask, hn as ProcessListOptions, hr as SandboxFleetToken, ht as FileUsageResult, i as AttachGpuLeaseOptions, ia as parseBackendType, ii as SessionForkOptions, in as MkdirOptions, ir as SandboxFleetDriverTimings, it as FileInfo, j as CreateSandboxFleetWithCoordinatorOptions, ji as TokenUsage, jn as PublishPublicTemplateVersionOptions, jr as SandboxResources, jt as GitCommit, k as CreateSandboxFleetOptions, ki as TeePublicKeyResponse, kn as PublicTemplateVersionInfo, kr as SandboxPortPreviewLink, kt as GitAuth, l as BackendManager, li as SessionMessageInputPart, ln as PermissionsManager, lr as SandboxFleetMachineRecord, lt as FileRenameResult, m as BatchRunRequest, mi as SnapshotResult, mn as ProcessInfo, mr as SandboxFleetPolicy, mt as FileUsageOptions, n as AccessPolicyRule, na as PublicBatchRunRequest, ni as SessionEventStreamOptions, nn as McpServerConfig, nr as SandboxFleetDispatchResponse, nt as ExecOptions, o as BackendCapabilities, oi as SessionInterruptOptions, on as NetworkManager, or as SandboxFleetIntelligenceEnvelope, ot as FileReadBatchResult, p as BatchRunOptions, pi as SnapshotOptions, pn as Process, pr as SandboxFleetOperationsSummary, pt as FileTreeResult, q as DurablePlanDecisionResult, qi as TerminalStreamError, qn as SSHCredentials, qr as ScopedTokenScope, qt as IntelligenceReportBudget, r as AddUserOptions, ra as BackendType, ri as SessionFailureReason, rn as MintScopedTokenOptions, rr as SandboxFleetDriverCapability, rt as ExecResult, s as BackendConfig, si as SessionListOptions, sn as NonHostAgentDriverConfig, sr as SandboxFleetMachine, st as FileReadError, t as AcceleratorKind, ta as BatchTaskUsage, ti as SessionBackendCredentials, tn as ListSandboxOptions, tr as SandboxFleetDispatchFailureClass, tt as ExactProcessSpawnOptions, u as BackendStatus, ui as SessionResultOptions, un as PreviewLinkInfo, ur as SandboxFleetMachineSpec, ut as FileSystem, v as ChunkedUploadOptions, vi as StorageConfig, vn as ProcessSignal, vr as SandboxFleetTraceExport, vt as FleetDispatchResultBuffer, w as CommitTaskSessionOptions, wi as TaskSessionProfile, wn as ProvisionEvent, wr as SandboxFleetWorkspaceSnapshotResult, xi as TaskSessionCommitResult, xn as PromptInputPart, xr as SandboxFleetWorkspace, xt as FleetDriveTurnOutcome, y as ChunkedUploadResult, yi as SubscriptionInfo, yn as ProcessSpawnOptions, yr as SandboxFleetTraceOptions, yt as FleetDispatchResultBufferOptions, z as DispatchedSession, zi as WriteFileOptions, zn as Rollout, zr as SandboxTerminalRequestOptions, zt as GpuLeaseExecResult } from "./types-CxkpqFzN.js";
|
|
2
|
+
import { A as BuildSandboxMcpConfigOptions, C as RespondToPermissionOptions, D as SandboxInteractionResolution, E as SandboxInteractionConflict, F as SandboxMcpServerEntry, I as buildControlPlaneMcpConfig, L as buildSandboxMcpConfig, M as SANDBOX_MCP_SERVER_NAME, N as SandboxMcpConfig, O as SandboxInteractionResult, P as SandboxMcpEndpoint, S as InterruptResult, T as SandboxInteractionCommandResult, _ as InteractiveAuthFile, a as WorkspaceImagePublishResult, b as InteractiveSessionInfo, c as TraceExportResult, d as exportTraceBundle, f as otelTraceIdForTangleTrace, g as InteractiveAttachOptions, h as SandboxSession, i as WorkspaceImagePublishRequestOptions, j as CONTROL_PLANE_MCP_SERVER_NAME, k as BuildControlPlaneMcpConfigOptions, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, o as WorkspaceImages, p as toOtelJson, r as WorkspaceImagePublishInput, s as TraceExportFormat, u as buildTraceExportPayload, v as InteractiveSessionHandle, w as StartInteractiveOptions, x as InteractiveSessionStatus, y as InteractiveSessionHost } from "./sandbox-Bqcme9Sj.js";
|
|
3
|
+
import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, 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 } from "./client-CF7SC1l6.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-Cx3hAzB9.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 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, 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 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 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 WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, 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 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, 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 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 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 WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createBatchResultAccumulator, createConfidentialSandbox, createManageSandboxesTool, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, isToolBearingEvent, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, 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-Co-Ow_VR.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-D2aWy99l.js";
|
|
3
|
-
import { a as splitInlineProfileSkills, c as SandboxFleetClient, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, n as Sandbox, o as validateDeferredProfileFileMounts, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-
|
|
4
|
-
import {
|
|
3
|
+
import { a as splitInlineProfileSkills, c as SandboxFleetClient, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, n as Sandbox, o as validateDeferredProfileFileMounts, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-ClR-isrv.js";
|
|
4
|
+
import { _ as buildTraceExportPayload, a as TERMINAL_WS_ECHO_SUBPROTOCOL, b as toOtelJson, c as SandboxTaskSession, d as applySandboxEventText, f as collectAgentFinalMessageText, h as isToolBearingEvent, i as WorkspaceImages, l as SandboxSession, m as getSandboxEventText, o as TerminalStream, p as collectAgentResponseText, s as TerminalStreamError, t as SandboxInstance, u as InteractiveSessionHandle, v as exportTraceBundle, x as parseSSEStream, y as otelTraceIdForTangleTrace } from "./sandbox-CEOxB8dH.js";
|
|
5
5
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CqPA0kar.js";
|
|
6
|
-
import { t as TangleSandboxClient } from "./tangle-
|
|
6
|
+
import { t as TangleSandboxClient } from "./tangle-BDdxSi54.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
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as SendSessionMessageRequest, Ci as TaskSessionInfo, Fi as UploadProgress, In as RenameOptions, Ir as SandboxTerminalCreateOptions, Lr as SandboxTerminalInfo, N as CreateSessionOptions, Nr as SandboxRuntimeHealth, Or as SandboxPortBinding, P as CreateTaskSessionOptions, Qr as SendSessionMessageOptions, Qt as ListMessagesOptions, Rr as SandboxTerminalManager, ai as SessionInfo, at as FileReadBatchOptions, bi as TaskSessionChanges, ci as SessionMessage, ei as SentSessionMessage, ft as FileTreeOptions, gt as FileWriteResult, ht as FileUsageResult, lt as FileRenameResult, mt as FileUsageOptions, ot as FileReadBatchResult, pt as FileTreeResult, v as ChunkedUploadOptions, w as CommitTaskSessionOptions, xi as TaskSessionCommitResult, y as ChunkedUploadResult, zi as WriteFileOptions, zr as SandboxTerminalRequestOptions } from "./types-CxkpqFzN.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 { $r as SendSessionMessageRequest, Ar as SandboxResourceUsage, At as GitBranch, Bi as WriteManyFile, Br as SandboxTerminals, Bt as GpuLeaseManager, Ci as TaskSessionInfo, Cn as PromptResult, Di as TeeAttestationResponse, Er as SandboxInfo, Fr as SandboxTerminalAttachOptions, Ft as GpuLease, Gi as TerminalStream, Gt as InstalledTool, H as DriveTurnOptions, Ji as TerminalStreamHandlers, Jr as SearchMatch, Jt as IntelligenceReportCompareTo, K as DurablePlan, Kn as SSHCommandDescriptor, Kr as ScopedToken, Kt as IntelligenceReport, Li as WaitForOptions, Ln as RestoreSnapshotOptions, Mi as TurnDriveResult, Mr as SandboxRuntimeCapabilities, N as CreateSessionOptions, Nr as SandboxRuntimeHealth, Nt as GitDiff, Or as SandboxPortBinding, P as CreateTaskSessionOptions, Pr as SandboxStatus, Pt as GitStatus, Qr as SendSessionMessageOptions, Qt as ListMessagesOptions, R as DispatchPromptOptions, Ri as WaitForRolloutOptions, Rn as ResumeOptions, S as CodeLanguage, Sn as PromptOptions, T as CompletedTurnResult, Ti as TeeAttestationOptions, Tn as ProvisionResult, Un as RolloutStartResult, Vi as WriteManyOptions, Vn as RolloutOptions, Vr as SandboxTraceBundle, W as DriverInfo, Wr as SandboxTraceOptions, Xt as IntelligenceReportWindow, Yn as SandboxConnection, Yr as SearchOptions, Z as EgressManager, Zn as SandboxEvent, Zt as JsonValue, _ as BranchOptions, _n as ProcessManager, ai as SessionInfo, b as CodeExecutionOptions, bi as TaskSessionChanges, ci as SessionMessage, dn as PreviewLinkManager, ei as SentSessionMessage, et as EventStreamOptions, fi as SnapshotInfo, gi as StartupDiagnostics, gr as SandboxFleetTraceBundle, gt as FileWriteResult, ii as SessionForkOptions, jt as GitCommit, ki as TeePublicKeyResponse, l as BackendManager, ln as PermissionsManager, mi as SnapshotResult, ni as SessionEventStreamOptions, nt as ExecOptions, oi as SessionInterruptOptions, on as NetworkManager, pi as SnapshotOptions, q as DurablePlanDecisionResult, qn as SSHCredentials, qt as IntelligenceReportBudget, ra as BackendType, rn as MintScopedTokenOptions, rt as ExecResult, s as BackendConfig, si as SessionListOptions, ui as SessionResultOptions, ut as FileSystem, w as CommitTaskSessionOptions, wn as ProvisionEvent, x as CodeExecutionResult, xi as TaskSessionCommitResult, xn as PromptInputPart, z as DispatchedSession, zi as WriteFileOptions, zn as Rollout } from "./types-CxkpqFzN.js";
|
|
2
2
|
import { AgentProfile, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, InteractionAcknowledgement, InteractionData, InteractionRequest, InteractionResponseCommand } from "@tangle-network/agent-interface";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
@@ -728,23 +728,6 @@ declare class SandboxInstance {
|
|
|
728
728
|
* ```
|
|
729
729
|
*/
|
|
730
730
|
startupDiagnostics(): StartupDiagnostics | null;
|
|
731
|
-
/**
|
|
732
|
-
* The platform verdict for the create call that returned this sandbox: did
|
|
733
|
-
* the call allocate the environment, or did it replay an earlier create that
|
|
734
|
-
* carried the same idempotency key.
|
|
735
|
-
*
|
|
736
|
-
* Present only on a freshly created box; `null` for a box resolved by id and
|
|
737
|
-
* `null` when the platform reported no receipt. Delete the environment only
|
|
738
|
-
* on a `created` outcome — every other value permits another caller to hold
|
|
739
|
-
* it, and a delete then destroys work that caller depends on.
|
|
740
|
-
*
|
|
741
|
-
* @example
|
|
742
|
-
* ```typescript
|
|
743
|
-
* const receipt = box.createReceipt();
|
|
744
|
-
* if (receipt?.outcome === "created") await box.delete();
|
|
745
|
-
* ```
|
|
746
|
-
*/
|
|
747
|
-
createReceipt(): SandboxCreateReceipt | null;
|
|
748
731
|
/**
|
|
749
732
|
* Serialize to the public sandbox shape for logs and structured
|
|
750
733
|
* output. Secrets in `connection` (currently `authToken`) are
|
|
@@ -1671,17 +1654,6 @@ declare class SandboxInstance {
|
|
|
1671
1654
|
success: boolean;
|
|
1672
1655
|
sessionId: string;
|
|
1673
1656
|
}>;
|
|
1674
|
-
/**
|
|
1675
|
-
* Parse a sandbox API payload into `SandboxInfo`.
|
|
1676
|
-
*
|
|
1677
|
-
* `carryCreateFacts` supplies the create-time facts a refresh must keep:
|
|
1678
|
-
* the GPU lease, the startup diagnostics, and the create receipt each arrive
|
|
1679
|
-
* once on the create response and are absent from every later payload. They
|
|
1680
|
-
* describe ONE environment's creation, so they travel only when the payload
|
|
1681
|
-
* describes that same environment. A payload for a different sandbox — a
|
|
1682
|
-
* branch child parsed through its parent — passes no carry, or the child
|
|
1683
|
-
* would report its parent's create verdict.
|
|
1684
|
-
*/
|
|
1685
1657
|
private parseInfo;
|
|
1686
1658
|
private sleep;
|
|
1687
1659
|
/**
|
|
@@ -1754,30 +1754,6 @@ function normalizeStartupDiagnostics(raw) {
|
|
|
1754
1754
|
phases
|
|
1755
1755
|
};
|
|
1756
1756
|
}
|
|
1757
|
-
const SANDBOX_CREATE_OUTCOMES = [
|
|
1758
|
-
"created",
|
|
1759
|
-
"idempotent_replay",
|
|
1760
|
-
"unknown"
|
|
1761
|
-
];
|
|
1762
|
-
/**
|
|
1763
|
-
* Normalize the raw `createReceipt` field from a sandbox API response into a
|
|
1764
|
-
* {@link SandboxCreateReceipt}. Returns `null` when the payload is absent or
|
|
1765
|
-
* carries no boolean `idempotencyKeyApplied` — the platform emits the receipt
|
|
1766
|
-
* only on the create response, so most reads have no payload to normalize.
|
|
1767
|
-
*
|
|
1768
|
-
* An outcome this SDK version does not know becomes `unknown`: only a known
|
|
1769
|
-
* `created` proves that the call allocated the environment.
|
|
1770
|
-
*/
|
|
1771
|
-
function normalizeSandboxCreateReceipt(raw) {
|
|
1772
|
-
if (!raw || typeof raw !== "object") return null;
|
|
1773
|
-
const record = raw;
|
|
1774
|
-
const idempotencyKeyApplied = record.idempotencyKeyApplied;
|
|
1775
|
-
if (typeof idempotencyKeyApplied !== "boolean") return null;
|
|
1776
|
-
return {
|
|
1777
|
-
outcome: SANDBOX_CREATE_OUTCOMES.includes(record.outcome) ? record.outcome : "unknown",
|
|
1778
|
-
idempotencyKeyApplied
|
|
1779
|
-
};
|
|
1780
|
-
}
|
|
1781
1757
|
/**
|
|
1782
1758
|
* Replace bearer-secret fields on a `SandboxConnection` with a sentinel
|
|
1783
1759
|
* before serialization. The serialized shape is preserved (so external
|
|
@@ -2273,25 +2249,6 @@ var SandboxInstance = class SandboxInstance {
|
|
|
2273
2249
|
return this.info.startupDiagnostics ?? null;
|
|
2274
2250
|
}
|
|
2275
2251
|
/**
|
|
2276
|
-
* The platform verdict for the create call that returned this sandbox: did
|
|
2277
|
-
* the call allocate the environment, or did it replay an earlier create that
|
|
2278
|
-
* carried the same idempotency key.
|
|
2279
|
-
*
|
|
2280
|
-
* Present only on a freshly created box; `null` for a box resolved by id and
|
|
2281
|
-
* `null` when the platform reported no receipt. Delete the environment only
|
|
2282
|
-
* on a `created` outcome — every other value permits another caller to hold
|
|
2283
|
-
* it, and a delete then destroys work that caller depends on.
|
|
2284
|
-
*
|
|
2285
|
-
* @example
|
|
2286
|
-
* ```typescript
|
|
2287
|
-
* const receipt = box.createReceipt();
|
|
2288
|
-
* if (receipt?.outcome === "created") await box.delete();
|
|
2289
|
-
* ```
|
|
2290
|
-
*/
|
|
2291
|
-
createReceipt() {
|
|
2292
|
-
return this.info.createReceipt ?? null;
|
|
2293
|
-
}
|
|
2294
|
-
/**
|
|
2295
2252
|
* Serialize to the public sandbox shape for logs and structured
|
|
2296
2253
|
* output. Secrets in `connection` (currently `authToken`) are
|
|
2297
2254
|
* redacted so that `JSON.stringify(box)` is safe to ship to log
|
|
@@ -2409,7 +2366,7 @@ var SandboxInstance = class SandboxInstance {
|
|
|
2409
2366
|
throw parseErrorResponse(response.status, body, void 0, response.headers);
|
|
2410
2367
|
}
|
|
2411
2368
|
const data = await response.json();
|
|
2412
|
-
this.info = this.parseInfo(data
|
|
2369
|
+
this.info = this.parseInfo(data);
|
|
2413
2370
|
sandboxStatusObservedAt.set(this, Date.now());
|
|
2414
2371
|
}
|
|
2415
2372
|
/**
|
|
@@ -5701,18 +5658,7 @@ var SandboxInstance = class SandboxInstance {
|
|
|
5701
5658
|
sessionId: data.sessionId ?? opts.sessionId
|
|
5702
5659
|
};
|
|
5703
5660
|
}
|
|
5704
|
-
|
|
5705
|
-
* Parse a sandbox API payload into `SandboxInfo`.
|
|
5706
|
-
*
|
|
5707
|
-
* `carryCreateFacts` supplies the create-time facts a refresh must keep:
|
|
5708
|
-
* the GPU lease, the startup diagnostics, and the create receipt each arrive
|
|
5709
|
-
* once on the create response and are absent from every later payload. They
|
|
5710
|
-
* describe ONE environment's creation, so they travel only when the payload
|
|
5711
|
-
* describes that same environment. A payload for a different sandbox — a
|
|
5712
|
-
* branch child parsed through its parent — passes no carry, or the child
|
|
5713
|
-
* would report its parent's create verdict.
|
|
5714
|
-
*/
|
|
5715
|
-
parseInfo(data, carryCreateFacts) {
|
|
5661
|
+
parseInfo(data) {
|
|
5716
5662
|
const id = data.id ?? this.id;
|
|
5717
5663
|
const incarnation = readFilesystemIncarnationTuple(data);
|
|
5718
5664
|
const incarnationComplete = incarnation.complete;
|
|
@@ -5732,9 +5678,8 @@ var SandboxInstance = class SandboxInstance {
|
|
|
5732
5678
|
lastActivityAt: data.lastActivityAt ? new Date(data.lastActivityAt) : void 0,
|
|
5733
5679
|
expiresAt: data.expiresAt ? new Date(data.expiresAt) : void 0,
|
|
5734
5680
|
error: data.error,
|
|
5735
|
-
gpuLease: data.gpuLease ??
|
|
5736
|
-
startupDiagnostics: normalizeStartupDiagnostics(data.startupDiagnostics) ??
|
|
5737
|
-
createReceipt: normalizeSandboxCreateReceipt(data.createReceipt) ?? carryCreateFacts?.createReceipt
|
|
5681
|
+
gpuLease: data.gpuLease ?? this.info.gpuLease,
|
|
5682
|
+
startupDiagnostics: normalizeStartupDiagnostics(data.startupDiagnostics) ?? this.info?.startupDiagnostics
|
|
5738
5683
|
};
|
|
5739
5684
|
}
|
|
5740
5685
|
sleep(ms) {
|
|
@@ -6612,4 +6557,4 @@ function quoteForShell(value) {
|
|
|
6612
6557
|
return `'${value.replace(/'/g, "'\\''")}'`;
|
|
6613
6558
|
}
|
|
6614
6559
|
//#endregion
|
|
6615
|
-
export {
|
|
6560
|
+
export { buildTraceExportPayload as _, TERMINAL_WS_ECHO_SUBPROTOCOL as a, toOtelJson as b, SandboxTaskSession as c, applySandboxEventText as d, collectAgentFinalMessageText as f, normalizeConnection as g, isToolBearingEvent as h, WorkspaceImages as i, SandboxSession as l, getSandboxEventText as m, createSandboxInstanceFromResponse as n, TerminalStream as o, collectAgentResponseText as p, normalizeStartupDiagnostics as r, TerminalStreamError as s, SandboxInstance as t, InteractiveSessionHandle as u, exportTraceBundle as v, parseSSEStream as x, otelTraceIdForTangleTrace 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-Cx3hAzB9.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-BDdxSi54.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-D2aWy99l.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-CEOxB8dH.js";
|
|
3
3
|
//#region src/tangle/abi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Tangle Contract ABI Definitions
|
|
@@ -2077,28 +2077,6 @@ interface StartupDiagnostics {
|
|
|
2077
2077
|
/** Derived map of operation name → measured duration in milliseconds. */
|
|
2078
2078
|
phases: Record<string, number>;
|
|
2079
2079
|
}
|
|
2080
|
-
/**
|
|
2081
|
-
* What one `create()` call did to the sandbox environment.
|
|
2082
|
-
*
|
|
2083
|
-
* - `created`: the call allocated the environment. The platform states this
|
|
2084
|
-
* only when the create identity belonged to the call alone.
|
|
2085
|
-
* - `idempotent_replay`: the platform returned the environment that an earlier
|
|
2086
|
-
* call with the same idempotency key allocated. The call allocated nothing.
|
|
2087
|
-
* - `unknown`: the platform cannot prove either outcome, so another caller can
|
|
2088
|
-
* hold the environment.
|
|
2089
|
-
*/
|
|
2090
|
-
type SandboxCreateOutcome = "created" | "idempotent_replay" | "unknown";
|
|
2091
|
-
/**
|
|
2092
|
-
* The platform verdict for one create call.
|
|
2093
|
-
*
|
|
2094
|
-
* Delete the environment only on a `created` outcome. `idempotencyKeyApplied`
|
|
2095
|
-
* reports whether the idempotency key selected the environment: a false value
|
|
2096
|
-
* means a retry of the same request allocates a second sandbox.
|
|
2097
|
-
*/
|
|
2098
|
-
interface SandboxCreateReceipt {
|
|
2099
|
-
outcome: SandboxCreateOutcome;
|
|
2100
|
-
idempotencyKeyApplied: boolean;
|
|
2101
|
-
}
|
|
2102
2080
|
/**
|
|
2103
2081
|
* Full sandbox information returned from the API.
|
|
2104
2082
|
*/
|
|
@@ -2138,13 +2116,6 @@ interface SandboxInfo {
|
|
|
2138
2116
|
* directly.
|
|
2139
2117
|
*/
|
|
2140
2118
|
startupDiagnostics?: StartupDiagnostics;
|
|
2141
|
-
/**
|
|
2142
|
-
* The platform verdict for the create call that returned this sandbox.
|
|
2143
|
-
* Present only on the create response. An absent value means the platform
|
|
2144
|
-
* reported no receipt: treat it as `unknown`, never as `created`. Use
|
|
2145
|
-
* {@link SandboxInstance.createReceipt} rather than reading this directly.
|
|
2146
|
-
*/
|
|
2147
|
-
createReceipt?: SandboxCreateReceipt;
|
|
2148
2119
|
/** Resolved egress policy */
|
|
2149
2120
|
egressPolicy?: EgressPolicy;
|
|
2150
2121
|
/** Source of the egress policy */
|
|
@@ -6303,4 +6274,4 @@ interface CodeExecutionOptions {
|
|
|
6303
6274
|
idempotencyKey?: string;
|
|
6304
6275
|
}
|
|
6305
6276
|
//#endregion
|
|
6306
|
-
export { EnsureDevServerOptions as $,
|
|
6277
|
+
export { EnsureDevServerOptions as $, BatchEventDataMap as $i, SandboxFleetArtifactSpec as $n, SendSessionMessageRequest as $r, ListOptions as $t, CreateSandboxFleetTokenOptions as A, TokenRefreshHandler as Ai, PublishPublicTemplateOptions as An, SandboxResourceUsage as Ar, GitBranch as At, DownloadOptions as B, WriteManyFile as Bi, RolloutChildResult as Bn, SandboxTerminals as Br, GpuLeaseManager as Bt, CodeResultPart as C, TaskSessionInfo as Ci, PromptResult as Cn, SandboxFleetWorkspaceRestoreResult as Cr, FleetExecDispatchOptions as Ct, CreateIntelligenceReportOptions as D, TeeAttestationResponse as Di, ProvisionStep as Dn, SandboxIntelligenceEnvelope as Dr, FleetPromptDispatchResult as Dt, CreateGpuLeaseOptions as E, TeeAttestationReport as Ei, ProvisionStatus as En, SandboxInfo as Er, FleetPromptDispatchOptions as Et, DeleteOptions as F, UploadProgress as Fi, ReconcileSandboxFleetsResult as Fn, SandboxTerminalAttachOptions as Fr, GpuLease as Ft, DriverType as G, TerminalStream as Gi, RolloutTurnPart as Gn, SandboxUser as Gr, InstalledTool as Gt, DriveTurnOptions as H, TERMINAL_WS_ECHO_SUBPROTOCOL as Hi, RolloutScorer as Hn, SandboxTraceEvent as Hr, GpuLeaseStatus as Ht, DevServerInfo as I, UsageInfo as Ii, RenameOptions as In, SandboxTerminalCreateOptions as Ir, GpuLeaseBilling as It, EffectiveBackend as J, TerminalStreamHandlers as Ji, SandboxConfig as Jn, SearchMatch as Jr, IntelligenceReportCompareTo as Jt, DurablePlan as K, TerminalStreamAuthFormat as Ki, SSHCommandDescriptor as Kn, ScopedToken as Kr, IntelligenceReport as Kt, DirectoryPermission as L, WaitForOptions as Li, RestoreSnapshotOptions as Ln, SandboxTerminalInfo as Lr, GpuLeaseCommandResult as Lt, CreateSandboxOptions as M, TurnDriveResult as Mi, ReapExpiredSandboxFleetsOptions as Mn, SandboxRuntimeCapabilities as Mr, GitConfig as Mt, CreateSessionOptions as N, UpdateUserOptions as Ni, ReapExpiredSandboxFleetsResult as Nn, SandboxRuntimeHealth as Nr, GitDiff as Nt, CreateRequestOptions as O, TeePublicKey as Oi, PublicTemplateInfo as On, SandboxPortBinding as Or, GPU_LEASE_PROVIDER_NAMES as Ot, CreateTaskSessionOptions as P, UploadOptions as Pi, ReconcileSandboxFleetsOptions as Pn, SandboxStatus as Pr, GitStatus as Pt, EgressPolicy as Q, BatchEvent as Qi, SandboxFleetArtifact as Qn, SendSessionMessageOptions as Qr, ListMessagesOptions as Qt, DispatchPromptOptions as R, WaitForRolloutOptions as Ri, ResumeOptions as Rn, SandboxTerminalManager as Rr, GpuLeaseExecOptions as Rt, CodeLanguage as S, TaskSessionFileChange as Si, PromptOptions as Sn, SandboxFleetWorkspaceReconcileResult as Sr, FleetDriveTurnRequest as St, CompletedTurnResult as T, TeeAttestationOptions as Ti, ProvisionResult as Tn, SandboxIdentity as Tr, FleetMachineId as Tt, DriverConfig as U, TerminalExitInfo as Ui, RolloutStartResult as Un, SandboxTraceExport as Ur, HostAgentDriverConfig as Ut, DownloadProgress as V, WriteManyOptions as Vi, RolloutOptions as Vn, SandboxTraceBundle as Vr, GpuLeaseProviderName as Vt, DriverInfo as W, TerminalReadyInfo as Wi, RolloutStatus as Wn, SandboxTraceOptions as Wr, HostAgentRuntimeBackend as Wt, EffectiveBackendSource as X, TerminalStreamToken as Xi, SandboxEnvironment as Xn, SecretInfo as Xr, IntelligenceReportWindow as Xt, EffectiveBackendProfile as Y, TerminalStreamOptions as Yi, SandboxConnection as Yn, SearchOptions as Yr, IntelligenceReportSubjectType as Yt, EgressManager as Z, BatchBackendStats as Zi, SandboxEvent as Zn, SecretsManager as Zr, JsonValue as Zt, BranchOptions as _, StartupOperation as _i, ProcessManager as _n, SandboxFleetTraceEvent as _r, FleetDispatchCancelResult as _t, AttachSandboxFleetMachineOptions as a, SessionInfo as ai, NetworkConfig as an, SandboxFleetInfo as ar, FileReadBatchOptions as at, CodeExecutionOptions as b, TaskSessionChanges as bi, ProcessStatus as bn, SandboxFleetUsage as br, FleetDispatchStreamOptions as bt, BackendInfo as c, SessionMessage as ci, PermissionLevel as cn, SandboxFleetMachineMeteredUsage as cr, FileReadResult as ct, BatchBackend as d, SessionStatus as di, PreviewLinkManager as dn, SandboxFleetManifest as dr, FileTreeFile as dt, BatchSidecarGroup as ea, SentSessionMessage as ei, ListSandboxFleetOptions as en, SandboxFleetCostEstimate as er, EventStreamOptions as et, BatchResult as f, SnapshotInfo as fi, PreviewLinkWaitOptions as fn, SandboxFleetManifestMachine as fr, FileTreeOptions as ft, BatchTaskResult as g, StartupDiagnostics as gi, ProcessLogEntry as gn, SandboxFleetTraceBundle as gr, FileWriteResult as gt, BatchTask as h, SshKeysManager as hi, ProcessListOptions as hn, SandboxFleetToken as hr, FileUsageResult as ht, AttachGpuLeaseOptions as i, parseBackendType as ia, SessionForkOptions as ii, MkdirOptions as in, SandboxFleetDriverTimings as ir, FileInfo as it, CreateSandboxFleetWithCoordinatorOptions as j, TokenUsage as ji, PublishPublicTemplateVersionOptions as jn, SandboxResources as jr, GitCommit as jt, CreateSandboxFleetOptions as k, TeePublicKeyResponse as ki, PublicTemplateVersionInfo as kn, SandboxPortPreviewLink as kr, GitAuth as kt, BackendManager as l, SessionMessageInputPart as li, PermissionsManager as ln, SandboxFleetMachineRecord as lr, FileRenameResult as lt, BatchRunRequest as m, SnapshotResult as mi, ProcessInfo as mn, SandboxFleetPolicy as mr, FileUsageOptions as mt, AccessPolicyRule as n, PublicBatchRunRequest as na, SessionEventStreamOptions as ni, McpServerConfig as nn, SandboxFleetDispatchResponse as nr, ExecOptions as nt, BackendCapabilities as o, SessionInterruptOptions as oi, NetworkManager as on, SandboxFleetIntelligenceEnvelope as or, FileReadBatchResult as ot, BatchRunOptions as p, SnapshotOptions as pi, Process as pn, SandboxFleetOperationsSummary as pr, FileTreeResult as pt, DurablePlanDecisionResult as q, TerminalStreamError as qi, SSHCredentials as qn, ScopedTokenScope as qr, IntelligenceReportBudget as qt, AddUserOptions as r, BackendType as ra, SessionFailureReason as ri, MintScopedTokenOptions as rn, SandboxFleetDriverCapability as rr, ExecResult as rt, BackendConfig as s, SessionListOptions as si, NonHostAgentDriverConfig as sn, SandboxFleetMachine as sr, FileReadError as st, AcceleratorKind as t, BatchTaskUsage as ta, SessionBackendCredentials as ti, ListSandboxOptions as tn, SandboxFleetDispatchFailureClass as tr, ExactProcessSpawnOptions as tt, BackendStatus as u, SessionResultOptions as ui, PreviewLinkInfo as un, SandboxFleetMachineSpec as ur, FileSystem as ut, ChunkedUploadOptions as v, StorageConfig as vi, ProcessSignal as vn, SandboxFleetTraceExport as vr, FleetDispatchResultBuffer as vt, CommitTaskSessionOptions as w, TaskSessionProfile as wi, ProvisionEvent as wn, SandboxFleetWorkspaceSnapshotResult as wr, FleetExecDispatchResult as wt, CodeExecutionResult as x, TaskSessionCommitResult as xi, PromptInputPart as xn, SandboxFleetWorkspace as xr, FleetDriveTurnOutcome as xt, ChunkedUploadResult as y, SubscriptionInfo as yi, ProcessSpawnOptions as yn, SandboxFleetTraceOptions as yr, FleetDispatchResultBufferOptions as yt, DispatchedSession as z, WriteFileOptions as zi, Rollout as zn, SandboxTerminalRequestOptions as zr, GpuLeaseExecResult as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.23.0
|
|
3
|
+
"version": "0.23.0",
|
|
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",
|