@tangle-network/sandbox 0.60.82 → 0.60.84
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 +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-sIqEbCm0.d.ts → agent-run-outcome-t4YB-M3R.d.ts} +1 -1
- package/dist/{client-CKEyHoVW.d.ts → client-8qpE2rDI.d.ts} +4 -4
- package/dist/core.d.ts +6 -6
- package/dist/{errors-DWKVg7WE.d.ts → errors-DtQPTnqm.d.ts} +1 -1
- package/dist/{index-CotUDVyX.d.ts → index-CrOKqIcs.d.ts} +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/{lines-Z9AzX2gE.d.ts → lines-EGmJbdDU.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{managed-process-BgFDlZjA.d.ts → managed-process-C4hYjOOD.d.ts} +1 -1
- package/dist/{preview-bKMfz9z_.d.ts → preview-HePhtWQw.d.ts} +3 -3
- package/dist/runtime.d.ts +3 -3
- package/dist/{sandbox-CvhRLsfV.d.ts → sandbox-AeLQuwb4.d.ts} +3 -3
- package/dist/session-gateway/index.d.ts +2 -3
- package/dist/session-gateway/index.js +26 -26
- package/dist/tangle/index.d.ts +1 -1
- package/dist/{types-p3MzqqWy.d.ts → types-Zl7vIatu.d.ts} +5 -0
- package/package.json +5 -5
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SandboxSession, m as SandboxTaskSession, n as SandboxInstance } from "../sandbox-
|
|
2
|
-
import { D as CodeExecutionResult, E as CodeExecutionOptions, O as CodeLanguage, ai as SandboxFleetParent, ca as SessionInfo, d as BackendConfig, k as CodeResultPart, ua as SessionListOptions, xo as BackendType } from "../types-
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { g as SandboxSession, m as SandboxTaskSession, n as SandboxInstance } from "../sandbox-AeLQuwb4.js";
|
|
2
|
+
import { D as CodeExecutionResult, E as CodeExecutionOptions, O as CodeLanguage, ai as SandboxFleetParent, ca as SessionInfo, d as BackendConfig, k as CodeResultPart, ua as SessionListOptions, xo as BackendType } from "../types-Zl7vIatu.js";
|
|
3
|
+
import { i as Sandbox } from "../client-8qpE2rDI.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-HePhtWQw.js";
|
|
5
5
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
6
6
|
import { JSONSchema } from "zod/v4/core";
|
|
7
7
|
import { ToolSet } from "ai";
|
package/dist/agent/preview.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as publishAgentPreview, a as previewOperationTool, c as AgentPreviewOptions, d as PreviewExecutionContext, f as PublishAgentPreviewOptions, g as listAgentPreviews, h as getAgentPreview, i as PreviewTool, l as PreviewAuthorizationRequest, m as ensureAgentPreview, n as PREVIEW_MCP_ALIAS, o as previewToolsForProfile, p as assertPreviewId, r as PREVIEW_TOOLS, s as AgentPreviewError, t as servePreviewMcp, u as PreviewAuthorizer, v as removeAgentPreview, y as resolveSelfSandbox } from "../preview-
|
|
1
|
+
import { _ as publishAgentPreview, a as previewOperationTool, c as AgentPreviewOptions, d as PreviewExecutionContext, f as PublishAgentPreviewOptions, g as listAgentPreviews, h as getAgentPreview, i as PreviewTool, l as PreviewAuthorizationRequest, m as ensureAgentPreview, n as PREVIEW_MCP_ALIAS, o as previewToolsForProfile, p as assertPreviewId, r as PREVIEW_TOOLS, s as AgentPreviewError, t as servePreviewMcp, u as PreviewAuthorizer, v as removeAgentPreview, y as resolveSelfSandbox } from "../preview-HePhtWQw.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_MCP_ALIAS, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PreviewTool, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, previewOperationTool, previewToolsForProfile, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Br as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, ut as DurablePlanSnapshot } from "./types-
|
|
1
|
+
import { Br as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, ut as DurablePlanSnapshot } from "./types-Zl7vIatu.js";
|
|
2
2
|
import { InteractionRequest } from "@tangle-network/agent-interface";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { B as CreateSandboxOptions, Ba as TokenRefreshHandler, Bt as FleetDispatchResultBuffer, En as IntelligenceReportCompareTo, F as CreateIntelligenceReportOptions, Ft as FleetAgentId, G as DeleteMatchingSandboxesFilter, Gr as SandboxFleetCostEstimate, Gt as FleetExecDispatchOptions, Ht as FleetDispatchStreamOptions, I as CreateRequestOptions, Ii as SandboxShapesInfo, Jr as SandboxFleetDriverCapability, Jt as FleetPromptDispatchOptions, K as DeleteMatchingSandboxesOptions, Kt as FleetExecDispatchResult, L as CreateSandboxFleetOptions, Lt as FleetAgentResult, M as ConversationTurnOptions, Mn as ListSandboxFleetOptions, N as ConversationTurnResult, Nn as ListSandboxOptions, Nr as SandboxConfig, On as IntelligenceReportWindow, Qi as SecretsManager, R as CreateSandboxFleetTokenOptions, Sn as HttpClient, Tn as IntelligenceReportBudget, Ur as SandboxFleetArtifact, Ut as FleetDriveTurnOutcome, Vr as SandboxFleetAgent, Vt as FleetDispatchResultBufferOptions, Wr as SandboxFleetArtifactSpec, Wt as FleetDriveTurnRequest, Xr as SandboxFleetInfo, Xt as FleetRunEvent, Yt as FleetPromptDispatchResult, Zt as FleetRunOptions, _i as SandboxFleetWorkspaceReconcileResult, _r as ReapExpiredSandboxFleetsOptions, ai as SandboxFleetParent, ar as PromptInputPart, b as BatchRunRequest, bi as SandboxIdentity, br as ReconcileSandboxFleetsResult, bt as ExecOptions, d as BackendConfig, di as SandboxFleetTraceBundle, ei as SandboxFleetMachineRecord, eo as SdkTimingHook, go as BatchEvent, gr as PublishPublicTemplateVersionOptions, hi as SandboxFleetUsage, hr as PublishPublicTemplateOptions, ii as SandboxFleetOperationsSummary, ji as SandboxRunGeneration, ka as SubscriptionInfo, l as AttachSandboxFleetMachineOptions, li as SandboxFleetSpend, mi as SandboxFleetTraceOptions, mr as PublicTemplateVersionInfo, ni as SandboxFleetManifest, or as PromptOptions, pr as PublicTemplateInfo, q as DeleteMatchingSandboxesResult, qa as UsageInfo, qr as SandboxFleetDispatchResponse, qt as FleetMachineId, si as SandboxFleetPolicy, sr as PromptResult, ti as SandboxFleetMachineSpec, ui as SandboxFleetToken, v as BatchResult, vi as SandboxFleetWorkspaceRestoreResult, vr as ReapExpiredSandboxFleetsResult, wa as SshKeysManager, wn as IntelligenceReport, xi as SandboxInfo, xt as ExecResult, y as BatchRunOptions, yi as SandboxFleetWorkspaceSnapshotResult, yr as ReconcileSandboxFleetsOptions, z as CreateSandboxFleetWithCoordinatorOptions, zr as SandboxEnvironment, zt as FleetDispatchCancelResult } from "./types-
|
|
1
|
+
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-AeLQuwb4.js";
|
|
2
|
+
import { B as CreateSandboxOptions, Ba as TokenRefreshHandler, Bt as FleetDispatchResultBuffer, En as IntelligenceReportCompareTo, F as CreateIntelligenceReportOptions, Ft as FleetAgentId, G as DeleteMatchingSandboxesFilter, Gr as SandboxFleetCostEstimate, Gt as FleetExecDispatchOptions, Ht as FleetDispatchStreamOptions, I as CreateRequestOptions, Ii as SandboxShapesInfo, Jr as SandboxFleetDriverCapability, Jt as FleetPromptDispatchOptions, K as DeleteMatchingSandboxesOptions, Kt as FleetExecDispatchResult, L as CreateSandboxFleetOptions, Lt as FleetAgentResult, M as ConversationTurnOptions, Mn as ListSandboxFleetOptions, N as ConversationTurnResult, Nn as ListSandboxOptions, Nr as SandboxConfig, On as IntelligenceReportWindow, Qi as SecretsManager, R as CreateSandboxFleetTokenOptions, Sn as HttpClient, Tn as IntelligenceReportBudget, Ur as SandboxFleetArtifact, Ut as FleetDriveTurnOutcome, Vr as SandboxFleetAgent, Vt as FleetDispatchResultBufferOptions, Wr as SandboxFleetArtifactSpec, Wt as FleetDriveTurnRequest, Xr as SandboxFleetInfo, Xt as FleetRunEvent, Yt as FleetPromptDispatchResult, Zt as FleetRunOptions, _i as SandboxFleetWorkspaceReconcileResult, _r as ReapExpiredSandboxFleetsOptions, ai as SandboxFleetParent, ar as PromptInputPart, b as BatchRunRequest, bi as SandboxIdentity, br as ReconcileSandboxFleetsResult, bt as ExecOptions, d as BackendConfig, di as SandboxFleetTraceBundle, ei as SandboxFleetMachineRecord, eo as SdkTimingHook, go as BatchEvent, gr as PublishPublicTemplateVersionOptions, hi as SandboxFleetUsage, hr as PublishPublicTemplateOptions, ii as SandboxFleetOperationsSummary, ji as SandboxRunGeneration, ka as SubscriptionInfo, l as AttachSandboxFleetMachineOptions, li as SandboxFleetSpend, mi as SandboxFleetTraceOptions, mr as PublicTemplateVersionInfo, ni as SandboxFleetManifest, or as PromptOptions, pr as PublicTemplateInfo, q as DeleteMatchingSandboxesResult, qa as UsageInfo, qr as SandboxFleetDispatchResponse, qt as FleetMachineId, si as SandboxFleetPolicy, sr as PromptResult, ti as SandboxFleetMachineSpec, ui as SandboxFleetToken, v as BatchResult, vi as SandboxFleetWorkspaceRestoreResult, vr as ReapExpiredSandboxFleetsResult, wa as SshKeysManager, wn as IntelligenceReport, xi as SandboxInfo, xt as ExecResult, y as BatchRunOptions, yi as SandboxFleetWorkspaceSnapshotResult, yr as ReconcileSandboxFleetsOptions, z as CreateSandboxFleetWithCoordinatorOptions, zr as SandboxEnvironment, zt as FleetDispatchCancelResult } from "./types-Zl7vIatu.js";
|
|
3
3
|
import { d as MintInteractiveSessionTokenOptions, p as ScopedToken } from "./terminal-stream-jdYomM1m.js";
|
|
4
|
-
import { h as SandboxError } from "./errors-
|
|
5
|
-
import { L as LinesClient } from "./lines-
|
|
4
|
+
import { h as SandboxError } from "./errors-DtQPTnqm.js";
|
|
5
|
+
import { L as LinesClient } from "./lines-EGmJbdDU.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { AgentInteractiveSessionRef, AgentProfile } from "@tangle-network/agent-interface";
|
|
8
8
|
|
package/dist/core.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-
|
|
2
|
-
import { B as CreateSandboxOptions, Bn as ManagedProcessState, Fn as ManagedProcessJobs, In as ManagedProcessOptions, Jn as PreviewLinkInfo, Li as SandboxStatus, Ln as ManagedProcessRecord, M as ConversationTurnOptions, N as ConversationTurnResult, Nr as SandboxConfig, Rn as ManagedProcessResumeOptions, Un as NetworkConfig, Xn as PreviewLinkWaitOptions, Yn as PreviewLinkManager, ar as PromptInputPart, bt as ExecOptions, fa as SessionMessageAdmission, io as SandboxEnvRecoveryView, ro as SandboxEnvRecovery, xi as SandboxInfo, xt as ExecResult, zn as ManagedProcessSpec } from "./types-
|
|
3
|
-
import { C as ValidationError, S as TimeoutError, _ as SandboxFailureDetail, d as NotFoundError, f as PartialFailureError, g as SandboxErrorJson, h as SandboxError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, t as AuthError, u as NetworkError, v as ServerError, y as StateError } from "./errors-
|
|
4
|
-
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, S as LineReminderPreferences, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, n as LineAgentRolePolicy, p as LineInstanceCreate, q as LineApplicationState, s as LineAttachment, t as Line, w as LineReplyCodeInput, x as LineProvider } from "./lines-
|
|
5
|
-
import { A as BackendRegistryEntry, C as InstancesClient, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, _ as EnsureInstanceOptions, b as InstanceRecord, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, v as HostedInstance, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-
|
|
6
|
-
import { t as ManagedProcessClient } from "./managed-process-
|
|
1
|
+
import { _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-AeLQuwb4.js";
|
|
2
|
+
import { B as CreateSandboxOptions, Bn as ManagedProcessState, Fn as ManagedProcessJobs, In as ManagedProcessOptions, Jn as PreviewLinkInfo, Li as SandboxStatus, Ln as ManagedProcessRecord, M as ConversationTurnOptions, N as ConversationTurnResult, Nr as SandboxConfig, Rn as ManagedProcessResumeOptions, Un as NetworkConfig, Xn as PreviewLinkWaitOptions, Yn as PreviewLinkManager, ar as PromptInputPart, bt as ExecOptions, fa as SessionMessageAdmission, io as SandboxEnvRecoveryView, ro as SandboxEnvRecovery, xi as SandboxInfo, xt as ExecResult, zn as ManagedProcessSpec } from "./types-Zl7vIatu.js";
|
|
3
|
+
import { C as ValidationError, S as TimeoutError, _ as SandboxFailureDetail, d as NotFoundError, f as PartialFailureError, g as SandboxErrorJson, h as SandboxError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, t as AuthError, u as NetworkError, v as ServerError, y as StateError } from "./errors-DtQPTnqm.js";
|
|
4
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, S as LineReminderPreferences, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, n as LineAgentRolePolicy, p as LineInstanceCreate, q as LineApplicationState, s as LineAttachment, t as Line, w as LineReplyCodeInput, x as LineProvider } from "./lines-EGmJbdDU.js";
|
|
5
|
+
import { A as BackendRegistryEntry, C as InstancesClient, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, _ as EnsureInstanceOptions, b as InstanceRecord, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, v as HostedInstance, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-8qpE2rDI.js";
|
|
6
|
+
import { t as ManagedProcessClient } from "./managed-process-C4hYjOOD.js";
|
|
7
7
|
|
|
8
8
|
//#region src/core.d.ts
|
|
9
9
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { no as SandboxCreateReceipt } from "./types-
|
|
1
|
+
import { no as SandboxCreateReceipt } from "./types-Zl7vIatu.js";
|
|
2
2
|
import { c as TerminalStreamReconnectAuthority, n as TerminalStream, p as ScopedToken } from "./terminal-stream-jdYomM1m.js";
|
|
3
3
|
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, h as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-rpTbyvAS.js";
|
|
4
4
|
import { AgentInteractiveSessionRef } from "@tangle-network/agent-interface";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { B as CreateSandboxOptions, Sn as HttpClient } from "./types-
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-AeLQuwb4.js";
|
|
2
|
+
import { B as CreateSandboxOptions, Sn as HttpClient } from "./types-Zl7vIatu.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as BuildControlPlaneMcpConfigOptions, A as InteractivePromptCommand, B as InteractiveStopCommand, C as splitInlineProfileFileMounts, D as SandboxOperationFailedError, E as SandboxOperation, F as InteractiveSessionIncarnationId, G as InteractiveTerminalFrameLog, H as RespondToPermissionOptions, I as InteractiveSessionInfo, J as createInteractiveTerminalSession, K as InteractiveTerminalMetadata, L as InteractiveSessionRef, M as InteractiveSessionHandle, N as InteractiveSessionHandleOptions, O as AgentInteractiveTerminalSession, P as InteractiveSessionHost, Q as SandboxInteractionResult, R as InteractiveSessionStartOptions, S as materializeProfileFileMounts, T as validateDeferredProfileFileMounts, U as agentInteractiveSessionPromptRequestDigest, V as InterruptResult, W as InteractiveTerminalCapture, X as SandboxInteractionConflict, Y as SandboxInteractionCommandResult, Z as SandboxInteractionResolution, _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, at as SandboxMcpServerEntry, b as SplitInlineProfileFileMountsResult, c as TraceExportResult, d as exportTraceBundle, et as BuildSandboxMcpConfigOptions, f as otelTraceIdForTangleTrace, g as SandboxSession, h as RawEvidenceExport, i as WorkspaceImagePublishRequestOptions, it as SandboxMcpEndpoint, j as InteractiveSessionControlClaim, k as InteractiveControlClaimRequest, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, nt as SANDBOX_MCP_SERVER_NAME, o as WorkspaceImages, ot as buildControlPlaneMcpConfig, p as toOtelJson, q as createInteractiveTerminalCapture, r as WorkspaceImagePublishInput, rt as SandboxMcpConfig, s as TraceExportFormat, st as buildSandboxMcpConfig, t as ForkAcknowledgement, tt as CONTROL_PLANE_MCP_SERVER_NAME, u as buildTraceExportPayload, v as MaterializeProfileFileMountsOptions, w as splitInlineProfileSkills, x as SplitInlineProfileSkillsResult, y as MaterializeProfileFileMountsResult, z as InteractiveSessionStartResult } from "./sandbox-
|
|
2
|
-
import { $ as DownloadOptions, $a as WriteManyOptions, $i as SendSessionMessageOptions, $n as ProcessListOptions, $r as SandboxFleetMachineMeteredUsage, $t as ForkIdempotency, A as CommitTaskSessionOptions, Aa as TaskSessionChanges, Ai as SandboxResources, An as ListMessagesOptions, Ar as RolloutTurnPart, At as FileTreeOptions, B as CreateSandboxOptions, Ba as TokenRefreshHandler, Bi as SandboxTerminalInfo, Bn as ManagedProcessState, Br as SandboxEvent, Bt as FleetDispatchResultBuffer, C as BranchOptions, Ca as SnapshotResult, Ci as SandboxOperationInfo, Cn as InstalledTool, Ct as FileReadBatchOptions, Da as StopOptions, Di as SandboxPortPreviewLink, Dn as IntelligenceReportSubjectType, Dr as RolloutScorer, Dt as FileRenameResult, Ea as StartupOperation, Ei as SandboxPortBinding, En as IntelligenceReportCompareTo, Er as RolloutOptions, Et as FileReadResult, F as CreateIntelligenceReportOptions, Fa as TeeAttestationOptions, Fi as SandboxShapePreset, Fn as ManagedProcessJobs, Fr as SandboxDeleteAcknowledgement, Ft as FleetAgentId, G as DeleteMatchingSandboxesFilter, Ga as UploadOptions, Gi as SandboxTraceEvent, Gn as NonHostAgentDriverConfig, Gr as SandboxFleetCostEstimate, Gt as FleetExecDispatchOptions, H as CreateTaskSessionOptions, Ha as TurnBackendConfig, Hi as SandboxTerminalRequestOptions, Hn as MkdirOptions, Hr as SandboxFleetAgentSpec, Ht as FleetDispatchStreamOptions, I as CreateRequestOptions, Ia as TeeAttestationReport, Ii as SandboxShapesInfo, In as ManagedProcessOptions, Ir as SandboxDeleteOptions, It as FleetAgentPlacement, J as DeleteOptions, Ja as WaitForOptions, Ji as SandboxUser, Jn as PreviewLinkInfo, Jr as SandboxFleetDriverCapability, Jt as FleetPromptDispatchOptions, K as DeleteMatchingSandboxesOptions, Ka as UploadProgress, Ki as SandboxTraceExport, Kn as PermissionLevel, Kr as SandboxFleetDispatchFailureClass, L as CreateSandboxFleetOptions, La as TeeAttestationResponse, Li as SandboxStatus, Ln as ManagedProcessRecord, Lr as SandboxDeleteOutcome, Lt as FleetAgentResult, M as ConversationTurnOptions, Ma as TaskSessionFileChange, Mi as SandboxRuntimeCapabilities, Mn as ListSandboxFleetOptions, Mr as SSHCredentials, Mt as FileUsageOptions, N as ConversationTurnResult, Na as TaskSessionInfo, Ni as SandboxRuntimeHealth, Nn as ListSandboxOptions, Nr as SandboxConfig, Nt as FileUsageResult, Oa as StorageConfig, Oi as SandboxRemovalState, On as IntelligenceReportWindow, Or as RolloutStartResult, Ot as FileSystem, P as CreateGpuLeaseOptions, Pa as TaskSessionProfile, Pi as SandboxShape, Pn as MAX_EGRESS_DENIALS_LIMIT, Pr as SandboxConnection, Pt as FileWriteResult, Q as DispatchedSession, Qa as WriteManyFile, Qi as SecretsManager, Qn as ProcessInfo, Qr as SandboxFleetMachine, Qt as ForkCounts, Ra as TeePublicKey, Ri as SandboxTerminalAttachOptions, Rn as ManagedProcessResumeOptions, Rr as SandboxEgressUsage, Rt as FleetAgentRunStatus, S as BatchTaskResult, Sa as SnapshotRemoteSync, Si as SandboxIntelligenceEnvelope, So as parseBackendType, St as FileInfo, T as ChunkedUploadResult, Ta as StartupDiagnostics, Ti as SandboxOperationState, Tn as IntelligenceReportBudget, Tr as RolloutChildResult, Tt as FileReadError, U as DeleteMatchingSandboxOutcome, Ua as TurnDriveResult, Ui as SandboxTerminals, Un as NetworkConfig, Ur as SandboxFleetArtifact, Ut as FleetDriveTurnOutcome, V as CreateSessionOptions, Va as TokenUsage, Vi as SandboxTerminalManager, Vn as McpServerConfig, Vr as SandboxFleetAgent, Vt as FleetDispatchResultBufferOptions, W as DeleteMatchingSandboxResult, Wa as UpdateUserOptions, Wi as SandboxTraceBundle, Wn as NetworkManager, Wr as SandboxFleetArtifactSpec, Wt as FleetDriveTurnRequest, X as DirectoryPermission, Xa as WorkspaceOperationLookup, Xi as SearchOptions, Xn as PreviewLinkWaitOptions, Xr as SandboxFleetInfo, Xt as FleetRunEvent, Y as DevServerInfo, Ya as WaitForRolloutOptions, Yi as SearchMatch, Yn as PreviewLinkManager, Yr as SandboxFleetDriverTimings, Yt as FleetPromptDispatchResult, Z as DispatchPromptOptions, Za as WriteFileOptions, Zi as SecretInfo, Zn as Process, Zr as SandboxFleetIntelligenceEnvelope, Zt as FleetRunOptions, _ as BatchBackend, _a as SnapshotDeleteOutcome, _i as SandboxFleetWorkspaceReconcileResult, _n as GpuLeaseProviders, _o as BatchEventDataMap, _r as ReapExpiredSandboxFleetsOptions, _t as EnsureDevServerOptions, aa as SessionExecutionStatus, ai as SandboxFleetParent, an as GitConfig, ao as RawEvidenceArchiveManifest, ar as PromptInputPart, at as DriverType, b as BatchRunRequest, ba as SnapshotOptions, bi as SandboxIdentity, bn as HostAgentDriverConfig, bo as ALL_BACKEND_TYPES, br as ReconcileSandboxFleetsResult, bt as ExecOptions, c as AttachGpuLeaseOptions, ca as SessionInfo, ci as SandboxFleetProfileRef, cn as GpuLease, co as RawEvidenceExportOptions, cr as ProvisionEvent, ct as DurablePlanDecisionResult, d as BackendConfig, da as SessionMessage, di as SandboxFleetTraceBundle, dn as GpuLeaseExecOptions, do as RawEvidenceRecordsFile, dr as ProvisionStep, dt as EffectiveBackend, ea as SendSessionMessageRequest, ei as SandboxFleetMachineRecord, en as ForkLookupOptions, er as ProcessLogEntry, et as DownloadProgress, f as BackendInfo, fa as SessionMessageAdmission, fi as SandboxFleetTraceEvent, fn as GpuLeaseExecResult, fr as PublicProfileConflict, ft as EffectiveBackendProfile, g as BackendStatus, ga as SnapshotDeleteAcknowledgement, gi as SandboxFleetWorkspace, gn as GpuLeaseProviderStatus, go as BatchEvent, gr as PublishPublicTemplateVersionOptions, gt as EgressPolicy, h as BackendRuntimeConfigUpdate, ha as SessionStatus, hi as SandboxFleetUsage, hn as GpuLeaseProviderState, ho as BatchBackendStats, hr as PublishPublicTemplateOptions, ht as EgressManager, ia as SessionExecutionInfo, ii as SandboxFleetOperationsSummary, in as GitCommit, io as SandboxEnvRecoveryView, ir as ProcessStatus, it as DriverInfo, j as CompletedTurnResult, ja as TaskSessionCommitResult, ji as SandboxRunGeneration, jn as ListOptions, jr as SSHCommandDescriptor, jt as FileTreeResult, ka as SubscriptionInfo, ki as SandboxResourceUsage, kr as RolloutStatus, kt as FileTreeFile, l as AttachSandboxFleetMachineOptions, la as SessionInterruptOptions, li as SandboxFleetSpend, ln as GpuLeaseBilling, lo as RawEvidenceNativeFile, lr as ProvisionResult, lt as DurablePlanFollowUpResume, m as BackendMcpServerStatus, ma as SessionResultOptions, mi as SandboxFleetTraceOptions, mn as GpuLeaseProviderName, mo as PublicBatchRunRequest, mr as PublicTemplateVersionInfo, mt as EgressDenial, n as AccessPolicyRule, na as SessionBackendCredentials, ni as SandboxFleetManifest, nn as GitAuth, no as SandboxCreateReceipt, nr as ProcessSignal, nt as DriveTurnOptions, oa as SessionFailureReason, oi as SandboxFleetPlacement, on as GitDiff, oo as RawEvidenceArchiveManifestNative, or as PromptOptions, ot as DurablePlan, p as BackendManager, pa as SessionMessageInputPart, pi as SandboxFleetTraceExport, pn as GpuLeaseManager, pr as PublicTemplateInfo, pt as EffectiveBackendSource, q as DeleteMatchingSandboxesResult, qa as UsageInfo, qi as SandboxTraceOptions, qn as PermissionsManager, qr as SandboxFleetDispatchResponse, qt as FleetMachineId, r as AddUserOptions, ra as SessionEventStreamOptions, ri as SandboxFleetManifestMachine, rn as GitBranch, ro as SandboxEnvRecovery, rr as ProcessSpawnOptions, rt as DriverConfig, sa as SessionForkOptions, si as SandboxFleetPolicy, sn as GitStatus, so as RawEvidenceDirectoryExport, sr as PromptResult, st as DurablePlanDecisionOptions, t as AcceleratorKind, ta as SentSessionMessage, ti as SandboxFleetMachineSpec, tn as GPU_LEASE_PROVIDER_NAMES, to as SandboxCreateOutcome, tr as ProcessManager, tt as DownloadResult, u as BackendCapabilities, ua as SessionListOptions, ui as SandboxFleetToken, un as GpuLeaseCommandResult, uo as RawEvidencePayloadFile, ur as ProvisionStatus, v as BatchResult, va as SnapshotIdempotency, vi as SandboxFleetWorkspaceRestoreResult, vn as GpuLeaseProvidersOptions, vo as BatchSidecarGroup, vr as ReapExpiredSandboxFleetsResult, vt as EventStreamOptions, w as ChunkedUploadOptions, wi as SandboxOperationKind, wn as IntelligenceReport, wr as Rollout, wt as FileReadBatchResult, x as BatchTask, xi as SandboxInfo, xn as HostAgentRuntimeBackend, xo as BackendType, xr as RenameOptions, xt as ExecResult, y as BatchRunOptions, ya as SnapshotInfo, yi as SandboxFleetWorkspaceSnapshotResult, yn as GpuLeaseStatus, yo as BatchTaskUsage, yr as ReconcileSandboxFleetsOptions, yt as ExactProcessSpawnOptions, z as CreateSandboxFleetWithCoordinatorOptions, za as TeePublicKeyResponse, zi as SandboxTerminalCreateOptions, zn as ManagedProcessSpec, zr as SandboxEnvironment, zt as FleetDispatchCancelResult } from "./types-
|
|
1
|
+
import { $ as BuildControlPlaneMcpConfigOptions, A as InteractivePromptCommand, B as InteractiveStopCommand, C as splitInlineProfileFileMounts, D as SandboxOperationFailedError, E as SandboxOperation, F as InteractiveSessionIncarnationId, G as InteractiveTerminalFrameLog, H as RespondToPermissionOptions, I as InteractiveSessionInfo, J as createInteractiveTerminalSession, K as InteractiveTerminalMetadata, L as InteractiveSessionRef, M as InteractiveSessionHandle, N as InteractiveSessionHandleOptions, O as AgentInteractiveTerminalSession, P as InteractiveSessionHost, Q as SandboxInteractionResult, R as InteractiveSessionStartOptions, S as materializeProfileFileMounts, T as validateDeferredProfileFileMounts, U as agentInteractiveSessionPromptRequestDigest, V as InterruptResult, W as InteractiveTerminalCapture, X as SandboxInteractionConflict, Y as SandboxInteractionCommandResult, Z as SandboxInteractionResolution, _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, at as SandboxMcpServerEntry, b as SplitInlineProfileFileMountsResult, c as TraceExportResult, d as exportTraceBundle, et as BuildSandboxMcpConfigOptions, f as otelTraceIdForTangleTrace, g as SandboxSession, h as RawEvidenceExport, i as WorkspaceImagePublishRequestOptions, it as SandboxMcpEndpoint, j as InteractiveSessionControlClaim, k as InteractiveControlClaimRequest, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, nt as SANDBOX_MCP_SERVER_NAME, o as WorkspaceImages, ot as buildControlPlaneMcpConfig, p as toOtelJson, q as createInteractiveTerminalCapture, r as WorkspaceImagePublishInput, rt as SandboxMcpConfig, s as TraceExportFormat, st as buildSandboxMcpConfig, t as ForkAcknowledgement, tt as CONTROL_PLANE_MCP_SERVER_NAME, u as buildTraceExportPayload, v as MaterializeProfileFileMountsOptions, w as splitInlineProfileSkills, x as SplitInlineProfileSkillsResult, y as MaterializeProfileFileMountsResult, z as InteractiveSessionStartResult } from "./sandbox-AeLQuwb4.js";
|
|
2
|
+
import { $ as DownloadOptions, $a as WriteManyOptions, $i as SendSessionMessageOptions, $n as ProcessListOptions, $r as SandboxFleetMachineMeteredUsage, $t as ForkIdempotency, A as CommitTaskSessionOptions, Aa as TaskSessionChanges, Ai as SandboxResources, An as ListMessagesOptions, Ar as RolloutTurnPart, At as FileTreeOptions, B as CreateSandboxOptions, Ba as TokenRefreshHandler, Bi as SandboxTerminalInfo, Bn as ManagedProcessState, Br as SandboxEvent, Bt as FleetDispatchResultBuffer, C as BranchOptions, Ca as SnapshotResult, Ci as SandboxOperationInfo, Cn as InstalledTool, Ct as FileReadBatchOptions, Da as StopOptions, Di as SandboxPortPreviewLink, Dn as IntelligenceReportSubjectType, Dr as RolloutScorer, Dt as FileRenameResult, Ea as StartupOperation, Ei as SandboxPortBinding, En as IntelligenceReportCompareTo, Er as RolloutOptions, Et as FileReadResult, F as CreateIntelligenceReportOptions, Fa as TeeAttestationOptions, Fi as SandboxShapePreset, Fn as ManagedProcessJobs, Fr as SandboxDeleteAcknowledgement, Ft as FleetAgentId, G as DeleteMatchingSandboxesFilter, Ga as UploadOptions, Gi as SandboxTraceEvent, Gn as NonHostAgentDriverConfig, Gr as SandboxFleetCostEstimate, Gt as FleetExecDispatchOptions, H as CreateTaskSessionOptions, Ha as TurnBackendConfig, Hi as SandboxTerminalRequestOptions, Hn as MkdirOptions, Hr as SandboxFleetAgentSpec, Ht as FleetDispatchStreamOptions, I as CreateRequestOptions, Ia as TeeAttestationReport, Ii as SandboxShapesInfo, In as ManagedProcessOptions, Ir as SandboxDeleteOptions, It as FleetAgentPlacement, J as DeleteOptions, Ja as WaitForOptions, Ji as SandboxUser, Jn as PreviewLinkInfo, Jr as SandboxFleetDriverCapability, Jt as FleetPromptDispatchOptions, K as DeleteMatchingSandboxesOptions, Ka as UploadProgress, Ki as SandboxTraceExport, Kn as PermissionLevel, Kr as SandboxFleetDispatchFailureClass, L as CreateSandboxFleetOptions, La as TeeAttestationResponse, Li as SandboxStatus, Ln as ManagedProcessRecord, Lr as SandboxDeleteOutcome, Lt as FleetAgentResult, M as ConversationTurnOptions, Ma as TaskSessionFileChange, Mi as SandboxRuntimeCapabilities, Mn as ListSandboxFleetOptions, Mr as SSHCredentials, Mt as FileUsageOptions, N as ConversationTurnResult, Na as TaskSessionInfo, Ni as SandboxRuntimeHealth, Nn as ListSandboxOptions, Nr as SandboxConfig, Nt as FileUsageResult, Oa as StorageConfig, Oi as SandboxRemovalState, On as IntelligenceReportWindow, Or as RolloutStartResult, Ot as FileSystem, P as CreateGpuLeaseOptions, Pa as TaskSessionProfile, Pi as SandboxShape, Pn as MAX_EGRESS_DENIALS_LIMIT, Pr as SandboxConnection, Pt as FileWriteResult, Q as DispatchedSession, Qa as WriteManyFile, Qi as SecretsManager, Qn as ProcessInfo, Qr as SandboxFleetMachine, Qt as ForkCounts, Ra as TeePublicKey, Ri as SandboxTerminalAttachOptions, Rn as ManagedProcessResumeOptions, Rr as SandboxEgressUsage, Rt as FleetAgentRunStatus, S as BatchTaskResult, Sa as SnapshotRemoteSync, Si as SandboxIntelligenceEnvelope, So as parseBackendType, St as FileInfo, T as ChunkedUploadResult, Ta as StartupDiagnostics, Ti as SandboxOperationState, Tn as IntelligenceReportBudget, Tr as RolloutChildResult, Tt as FileReadError, U as DeleteMatchingSandboxOutcome, Ua as TurnDriveResult, Ui as SandboxTerminals, Un as NetworkConfig, Ur as SandboxFleetArtifact, Ut as FleetDriveTurnOutcome, V as CreateSessionOptions, Va as TokenUsage, Vi as SandboxTerminalManager, Vn as McpServerConfig, Vr as SandboxFleetAgent, Vt as FleetDispatchResultBufferOptions, W as DeleteMatchingSandboxResult, Wa as UpdateUserOptions, Wi as SandboxTraceBundle, Wn as NetworkManager, Wr as SandboxFleetArtifactSpec, Wt as FleetDriveTurnRequest, X as DirectoryPermission, Xa as WorkspaceOperationLookup, Xi as SearchOptions, Xn as PreviewLinkWaitOptions, Xr as SandboxFleetInfo, Xt as FleetRunEvent, Y as DevServerInfo, Ya as WaitForRolloutOptions, Yi as SearchMatch, Yn as PreviewLinkManager, Yr as SandboxFleetDriverTimings, Yt as FleetPromptDispatchResult, Z as DispatchPromptOptions, Za as WriteFileOptions, Zi as SecretInfo, Zn as Process, Zr as SandboxFleetIntelligenceEnvelope, Zt as FleetRunOptions, _ as BatchBackend, _a as SnapshotDeleteOutcome, _i as SandboxFleetWorkspaceReconcileResult, _n as GpuLeaseProviders, _o as BatchEventDataMap, _r as ReapExpiredSandboxFleetsOptions, _t as EnsureDevServerOptions, aa as SessionExecutionStatus, ai as SandboxFleetParent, an as GitConfig, ao as RawEvidenceArchiveManifest, ar as PromptInputPart, at as DriverType, b as BatchRunRequest, ba as SnapshotOptions, bi as SandboxIdentity, bn as HostAgentDriverConfig, bo as ALL_BACKEND_TYPES, br as ReconcileSandboxFleetsResult, bt as ExecOptions, c as AttachGpuLeaseOptions, ca as SessionInfo, ci as SandboxFleetProfileRef, cn as GpuLease, co as RawEvidenceExportOptions, cr as ProvisionEvent, ct as DurablePlanDecisionResult, d as BackendConfig, da as SessionMessage, di as SandboxFleetTraceBundle, dn as GpuLeaseExecOptions, do as RawEvidenceRecordsFile, dr as ProvisionStep, dt as EffectiveBackend, ea as SendSessionMessageRequest, ei as SandboxFleetMachineRecord, en as ForkLookupOptions, er as ProcessLogEntry, et as DownloadProgress, f as BackendInfo, fa as SessionMessageAdmission, fi as SandboxFleetTraceEvent, fn as GpuLeaseExecResult, fr as PublicProfileConflict, ft as EffectiveBackendProfile, g as BackendStatus, ga as SnapshotDeleteAcknowledgement, gi as SandboxFleetWorkspace, gn as GpuLeaseProviderStatus, go as BatchEvent, gr as PublishPublicTemplateVersionOptions, gt as EgressPolicy, h as BackendRuntimeConfigUpdate, ha as SessionStatus, hi as SandboxFleetUsage, hn as GpuLeaseProviderState, ho as BatchBackendStats, hr as PublishPublicTemplateOptions, ht as EgressManager, ia as SessionExecutionInfo, ii as SandboxFleetOperationsSummary, in as GitCommit, io as SandboxEnvRecoveryView, ir as ProcessStatus, it as DriverInfo, j as CompletedTurnResult, ja as TaskSessionCommitResult, ji as SandboxRunGeneration, jn as ListOptions, jr as SSHCommandDescriptor, jt as FileTreeResult, ka as SubscriptionInfo, ki as SandboxResourceUsage, kr as RolloutStatus, kt as FileTreeFile, l as AttachSandboxFleetMachineOptions, la as SessionInterruptOptions, li as SandboxFleetSpend, ln as GpuLeaseBilling, lo as RawEvidenceNativeFile, lr as ProvisionResult, lt as DurablePlanFollowUpResume, m as BackendMcpServerStatus, ma as SessionResultOptions, mi as SandboxFleetTraceOptions, mn as GpuLeaseProviderName, mo as PublicBatchRunRequest, mr as PublicTemplateVersionInfo, mt as EgressDenial, n as AccessPolicyRule, na as SessionBackendCredentials, ni as SandboxFleetManifest, nn as GitAuth, no as SandboxCreateReceipt, nr as ProcessSignal, nt as DriveTurnOptions, oa as SessionFailureReason, oi as SandboxFleetPlacement, on as GitDiff, oo as RawEvidenceArchiveManifestNative, or as PromptOptions, ot as DurablePlan, p as BackendManager, pa as SessionMessageInputPart, pi as SandboxFleetTraceExport, pn as GpuLeaseManager, pr as PublicTemplateInfo, pt as EffectiveBackendSource, q as DeleteMatchingSandboxesResult, qa as UsageInfo, qi as SandboxTraceOptions, qn as PermissionsManager, qr as SandboxFleetDispatchResponse, qt as FleetMachineId, r as AddUserOptions, ra as SessionEventStreamOptions, ri as SandboxFleetManifestMachine, rn as GitBranch, ro as SandboxEnvRecovery, rr as ProcessSpawnOptions, rt as DriverConfig, sa as SessionForkOptions, si as SandboxFleetPolicy, sn as GitStatus, so as RawEvidenceDirectoryExport, sr as PromptResult, st as DurablePlanDecisionOptions, t as AcceleratorKind, ta as SentSessionMessage, ti as SandboxFleetMachineSpec, tn as GPU_LEASE_PROVIDER_NAMES, to as SandboxCreateOutcome, tr as ProcessManager, tt as DownloadResult, u as BackendCapabilities, ua as SessionListOptions, ui as SandboxFleetToken, un as GpuLeaseCommandResult, uo as RawEvidencePayloadFile, ur as ProvisionStatus, v as BatchResult, va as SnapshotIdempotency, vi as SandboxFleetWorkspaceRestoreResult, vn as GpuLeaseProvidersOptions, vo as BatchSidecarGroup, vr as ReapExpiredSandboxFleetsResult, vt as EventStreamOptions, w as ChunkedUploadOptions, wi as SandboxOperationKind, wn as IntelligenceReport, wr as Rollout, wt as FileReadBatchResult, x as BatchTask, xi as SandboxInfo, xn as HostAgentRuntimeBackend, xo as BackendType, xr as RenameOptions, xt as ExecResult, y as BatchRunOptions, ya as SnapshotInfo, yi as SandboxFleetWorkspaceSnapshotResult, yn as GpuLeaseStatus, yo as BatchTaskUsage, yr as ReconcileSandboxFleetsOptions, yt as ExactProcessSpawnOptions, z as CreateSandboxFleetWithCoordinatorOptions, za as TeePublicKeyResponse, zi as SandboxTerminalCreateOptions, zn as ManagedProcessSpec, zr as SandboxEnvironment, zt as FleetDispatchCancelResult } from "./types-Zl7vIatu.js";
|
|
3
3
|
import { _ as TerminalInteractiveSessionIdentity, a as TerminalStreamError, b as TerminalReadyTimings, d as MintInteractiveSessionTokenOptions, f as MintScopedTokenOptions, g as TerminalExitInfo, h as TERMINAL_WS_ECHO_SUBPROTOCOL, i as TerminalStreamBearerToken, l as TerminalStreamToken, m as ScopedTokenScope, n as TerminalStream, o as TerminalStreamHandlers, p as ScopedToken, r as TerminalStreamApiKey, s as TerminalStreamOptions, t as TerminalAttachTimings, u as terminalUpgradeHeadersSupported, v as TerminalOutputMessage, x as TerminalStreamAuthFormat, y as TerminalReadyInfo } from "./terminal-stream-jdYomM1m.js";
|
|
4
4
|
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as interactiveSessionIdentityDigest, f as InteractiveAttachOptions, g as InteractiveSessionStatus, h as InteractiveRequestOptions, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as InteractiveSessionNotRunningError, m as InteractiveControlClaimOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimAcknowledgement, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as createInteractiveControlHolderId } from "./browser-interactive-control-controller-rpTbyvAS.js";
|
|
5
|
-
import { C as ValidationError, D as InteractiveSessionController, E as InteractiveAttachRequest, O as InteractiveSessionControllerOptions, S as TimeoutError, T as BrowserInteractiveSessionControllerOptions, _ as SandboxFailureDetail, a as EgressProxyRecoveryError, b as StreamInterruptedError, c as GpuProviderRequirement, d as NotFoundError, f as PartialFailureError, g as SandboxErrorJson, h as SandboxError, i as EdgeNotReadyError, k as InteractiveSessionControllerTransport, l as KeyBudgetExhaustedError, m as ResumeEnvRequiredError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as ServerError, w as BrowserInteractiveSessionController, x as StreamInterruptionReason, y as StateError } from "./errors-
|
|
6
|
-
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineVoiceOptions, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, S as LineReminderPreferences, T as LineReplyGate, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, q as LineApplicationState, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-
|
|
7
|
-
import { A as BackendRegistryEntry, C as InstancesClient, D as ParsedSSEEvent, E as ParseSSEStreamOptions, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, O as parseSSEStream, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, S as InstanceStart, T as SandboxFleetClient, _ as EnsureInstanceOptions, a as Team, b as InstanceRecord, c as SessionBroadcastEvent, d as RunPlacement, f as RunPlacementRecord, g as RunsHttpClient, h as RunsClient, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, l as SessionBroadcastResult, m as RunWaitOptions, n as IntelligenceClient, o as TeamInvitation, p as RunRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as RunOptions, v as HostedInstance, w as SandboxFleet, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-
|
|
5
|
+
import { C as ValidationError, D as InteractiveSessionController, E as InteractiveAttachRequest, O as InteractiveSessionControllerOptions, S as TimeoutError, T as BrowserInteractiveSessionControllerOptions, _ as SandboxFailureDetail, a as EgressProxyRecoveryError, b as StreamInterruptedError, c as GpuProviderRequirement, d as NotFoundError, f as PartialFailureError, g as SandboxErrorJson, h as SandboxError, i as EdgeNotReadyError, k as InteractiveSessionControllerTransport, l as KeyBudgetExhaustedError, m as ResumeEnvRequiredError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as ServerError, w as BrowserInteractiveSessionController, x as StreamInterruptionReason, y as StateError } from "./errors-DtQPTnqm.js";
|
|
6
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineVoiceOptions, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, S as LineReminderPreferences, T as LineReplyGate, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, q as LineApplicationState, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-EGmJbdDU.js";
|
|
7
|
+
import { A as BackendRegistryEntry, C as InstancesClient, D as ParsedSSEEvent, E as ParseSSEStreamOptions, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, O as parseSSEStream, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, S as InstanceStart, T as SandboxFleetClient, _ as EnsureInstanceOptions, a as Team, b as InstanceRecord, c as SessionBroadcastEvent, d as RunPlacement, f as RunPlacementRecord, g as RunsHttpClient, h as RunsClient, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, l as SessionBroadcastResult, m as RunWaitOptions, n as IntelligenceClient, o as TeamInvitation, p as RunRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as RunOptions, v as HostedInstance, w as SandboxFleet, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-8qpE2rDI.js";
|
|
8
8
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-DO7GVpk_.js";
|
|
9
9
|
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-DZ27pdB8.js";
|
|
10
|
-
import { t as ManagedProcessClient } from "./managed-process-
|
|
11
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
12
|
-
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-
|
|
10
|
+
import { t as ManagedProcessClient } from "./managed-process-C4hYjOOD.js";
|
|
11
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-t4YB-M3R.js";
|
|
12
|
+
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-CrOKqIcs.js";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
15
15
|
import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as CreateSandboxOptions, d as BackendConfig } from "./types-
|
|
1
|
+
import { B as CreateSandboxOptions, d as BackendConfig } from "./types-Zl7vIatu.js";
|
|
2
2
|
|
|
3
3
|
//#region src/line-application.d.ts
|
|
4
4
|
/** Bounded callback request bytes after canonicalization, including JSON framing. */
|
package/dist/lines.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, I as LineVoiceOptions, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, R as LinesHttpClient, S as LineReminderPreferences, T as LineReplyGate, V as profileChannelReference, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-
|
|
1
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, I as LineVoiceOptions, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, R as LinesHttpClient, S as LineReminderPreferences, T as LineReplyGate, V as profileChannelReference, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-EGmJbdDU.js";
|
|
2
2
|
export { Line, LineAgentRolePolicy, LineAllowance, LineAllowanceSubject, LineApplicationAttachOptions, LineAttachOptions, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineFromConnectionInput, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineLimits, LineMember, LineMemberInstance, LineMemberPatch, LineMemberSpec, LineMessage, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineReplyGate, LineRespondAgent, LineRespondView, LineRole, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LineThread, LineTransport, LineVoice, LineVoiceOptions, LinesClient, LinesHttpClient, SandboxLines, lineInstanceKey, profileChannelReference };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fn as ManagedProcessJobs, In as ManagedProcessOptions, Ln as ManagedProcessRecord, Rn as ManagedProcessResumeOptions, zn as ManagedProcessSpec } from "./types-
|
|
1
|
+
import { Fn as ManagedProcessJobs, In as ManagedProcessOptions, Ln as ManagedProcessRecord, Rn as ManagedProcessResumeOptions, zn as ManagedProcessSpec } from "./types-Zl7vIatu.js";
|
|
2
2
|
|
|
3
3
|
//#region src/managed-process.d.ts
|
|
4
4
|
declare class ManagedProcessClient implements ManagedProcessJobs {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { Jn as PreviewLinkInfo, _t as EnsureDevServerOptions } from "./types-
|
|
3
|
-
import { i as Sandbox } from "./client-
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-AeLQuwb4.js";
|
|
2
|
+
import { Jn as PreviewLinkInfo, _t as EnsureDevServerOptions } from "./types-Zl7vIatu.js";
|
|
3
|
+
import { i as Sandbox } from "./client-8qpE2rDI.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $i as SendSessionMessageOptions, A as CommitTaskSessionOptions, Aa as TaskSessionChanges, An as ListMessagesOptions, At as FileTreeOptions, Bi as SandboxTerminalInfo, Br as SandboxEvent, Ct as FileReadBatchOptions, Dt as FileRenameResult, Ei as SandboxPortBinding, H as CreateTaskSessionOptions, Hi as SandboxTerminalRequestOptions, Ka as UploadProgress, Mt as FileUsageOptions, Na as TaskSessionInfo, Ni as SandboxRuntimeHealth, Nt as FileUsageResult, Pt as FileWriteResult, T as ChunkedUploadResult, V as CreateSessionOptions, Vi as SandboxTerminalManager, Za as WriteFileOptions, aa as SessionExecutionStatus, ca as SessionInfo, da as SessionMessage, ea as SendSessionMessageRequest, fa as SessionMessageAdmission, ia as SessionExecutionInfo, ja as TaskSessionCommitResult, jt as FileTreeResult, ra as SessionEventStreamOptions, ta as SentSessionMessage, w as ChunkedUploadOptions, wt as FileReadBatchResult, xr as RenameOptions, zi as SandboxTerminalCreateOptions } from "./types-
|
|
1
|
+
import { $i as SendSessionMessageOptions, A as CommitTaskSessionOptions, Aa as TaskSessionChanges, An as ListMessagesOptions, At as FileTreeOptions, Bi as SandboxTerminalInfo, Br as SandboxEvent, Ct as FileReadBatchOptions, Dt as FileRenameResult, Ei as SandboxPortBinding, H as CreateTaskSessionOptions, Hi as SandboxTerminalRequestOptions, Ka as UploadProgress, Mt as FileUsageOptions, Na as TaskSessionInfo, Ni as SandboxRuntimeHealth, Nt as FileUsageResult, Pt as FileWriteResult, T as ChunkedUploadResult, V as CreateSessionOptions, Vi as SandboxTerminalManager, Za as WriteFileOptions, aa as SessionExecutionStatus, ca as SessionInfo, da as SessionMessage, ea as SendSessionMessageRequest, fa as SessionMessageAdmission, ia as SessionExecutionInfo, ja as TaskSessionCommitResult, jt as FileTreeResult, ra as SessionEventStreamOptions, ta as SentSessionMessage, w as ChunkedUploadOptions, wt as FileReadBatchResult, xr as RenameOptions, zi as SandboxTerminalCreateOptions } from "./types-Zl7vIatu.js";
|
|
2
2
|
import { n as TerminalStream, p as ScopedToken } from "./terminal-stream-jdYomM1m.js";
|
|
3
3
|
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-rpTbyvAS.js";
|
|
4
|
-
import { C as ValidationError, S as TimeoutError, _ as SandboxFailureDetail, d as NotFoundError, f as PartialFailureError, g as SandboxErrorJson, h as SandboxError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, t as AuthError, u as NetworkError, v as ServerError, w as BrowserInteractiveSessionController, y as StateError } from "./errors-
|
|
5
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
4
|
+
import { C as ValidationError, S as TimeoutError, _ as SandboxFailureDetail, d as NotFoundError, f as PartialFailureError, g as SandboxErrorJson, h as SandboxError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, t as AuthError, u as NetworkError, v as ServerError, w as BrowserInteractiveSessionController, y as StateError } from "./errors-DtQPTnqm.js";
|
|
5
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-t4YB-M3R.js";
|
|
6
6
|
|
|
7
7
|
//#region src/lib/chunked-upload.d.ts
|
|
8
8
|
/** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as CliAuthReference } from "./cli-auth-bundle-ODe06Ts7.js";
|
|
2
|
-
import { $a as WriteManyOptions, $i as SendSessionMessageOptions, $t as ForkIdempotency, A as CommitTaskSessionOptions, Aa as TaskSessionChanges, An as ListMessagesOptions, Br as SandboxEvent, C as BranchOptions, Ca as SnapshotResult, Ci as SandboxOperationInfo, Cn as InstalledTool, Cr as ResumeOptions, D as CodeExecutionResult, Da as StopOptions, E as CodeExecutionOptions, Ei as SandboxPortBinding, En as IntelligenceReportCompareTo, Er as RolloutOptions, Fa as TeeAttestationOptions, Fr as SandboxDeleteAcknowledgement, H as CreateTaskSessionOptions, Ha as TurnBackendConfig, Ir as SandboxDeleteOptions, Ja as WaitForOptions, La as TeeAttestationResponse, Li as SandboxStatus, M as ConversationTurnOptions, Mi as SandboxRuntimeCapabilities, Mr as SSHCredentials, N as ConversationTurnResult, Na as TaskSessionInfo, Ni as SandboxRuntimeHealth, O as CodeLanguage, On as IntelligenceReportWindow, Or as RolloutStartResult, Ot as FileSystem, Pi as SandboxShape, Pr as SandboxConnection, Pt as FileWriteResult, Q as DispatchedSession, Qa as WriteManyFile, Qt as ForkCounts, Ri as SandboxTerminalAttachOptions, Sn as HttpClient, Sr as RestoreSnapshotOptions, Ta as StartupDiagnostics, Ti as SandboxOperationState, Tn as IntelligenceReportBudget, Ua as TurnDriveResult, Ui as SandboxTerminals, V as CreateSessionOptions, Wi as SandboxTraceBundle, Wn as NetworkManager, Xa as WorkspaceOperationLookup, Xi as SearchOptions, Ya as WaitForRolloutOptions, Yi as SearchMatch, Yn as PreviewLinkManager, Z as DispatchPromptOptions, Za as WriteFileOptions, ar as PromptInputPart, ba as SnapshotOptions, bt as ExecOptions, ca as SessionInfo, cn as GpuLease, co as RawEvidenceExportOptions, cr as ProvisionEvent, ct as DurablePlanDecisionResult, d as BackendConfig, da as SessionMessage, di as SandboxFleetTraceBundle, ea as SendSessionMessageRequest, en as ForkLookupOptions, fa as SessionMessageAdmission, fo as WorkspaceImagePublishResult$1, fr as PublicProfileConflict, ga as SnapshotDeleteAcknowledgement, ht as EgressManager, ia as SessionExecutionInfo, in as GitCommit, io as SandboxEnvRecoveryView, it as DriverInfo, j as CompletedTurnResult, ja as TaskSessionCommitResult, jr as SSHCommandDescriptor, ki as SandboxResourceUsage, kn as JsonValue, la as SessionInterruptOptions, lr as ProvisionResult, ma as SessionResultOptions, no as SandboxCreateReceipt, nt as DriveTurnOptions, on as GitDiff, or as PromptOptions, ot as DurablePlan, p as BackendManager, pn as GpuLeaseManager, po as InteractionResolutionAcknowledgement, qi as SandboxTraceOptions, qn as PermissionsManager, ra as SessionEventStreamOptions, rn as GitBranch, ro as SandboxEnvRecovery, sa as SessionForkOptions, sn as GitStatus, so as RawEvidenceDirectoryExport, sr as PromptResult, st as DurablePlanDecisionOptions, ta as SentSessionMessage, tr as ProcessManager, ua as SessionListOptions, vt as EventStreamOptions, wi as SandboxOperationKind, wn as IntelligenceReport, wr as Rollout, xa as SnapshotProvenance, xi as SandboxInfo, xt as ExecResult, ya as SnapshotInfo, za as TeePublicKeyResponse } from "./types-
|
|
2
|
+
import { $a as WriteManyOptions, $i as SendSessionMessageOptions, $t as ForkIdempotency, A as CommitTaskSessionOptions, Aa as TaskSessionChanges, An as ListMessagesOptions, Br as SandboxEvent, C as BranchOptions, Ca as SnapshotResult, Ci as SandboxOperationInfo, Cn as InstalledTool, Cr as ResumeOptions, D as CodeExecutionResult, Da as StopOptions, E as CodeExecutionOptions, Ei as SandboxPortBinding, En as IntelligenceReportCompareTo, Er as RolloutOptions, Fa as TeeAttestationOptions, Fr as SandboxDeleteAcknowledgement, H as CreateTaskSessionOptions, Ha as TurnBackendConfig, Ir as SandboxDeleteOptions, Ja as WaitForOptions, La as TeeAttestationResponse, Li as SandboxStatus, M as ConversationTurnOptions, Mi as SandboxRuntimeCapabilities, Mr as SSHCredentials, N as ConversationTurnResult, Na as TaskSessionInfo, Ni as SandboxRuntimeHealth, O as CodeLanguage, On as IntelligenceReportWindow, Or as RolloutStartResult, Ot as FileSystem, Pi as SandboxShape, Pr as SandboxConnection, Pt as FileWriteResult, Q as DispatchedSession, Qa as WriteManyFile, Qt as ForkCounts, Ri as SandboxTerminalAttachOptions, Sn as HttpClient, Sr as RestoreSnapshotOptions, Ta as StartupDiagnostics, Ti as SandboxOperationState, Tn as IntelligenceReportBudget, Ua as TurnDriveResult, Ui as SandboxTerminals, V as CreateSessionOptions, Wi as SandboxTraceBundle, Wn as NetworkManager, Xa as WorkspaceOperationLookup, Xi as SearchOptions, Ya as WaitForRolloutOptions, Yi as SearchMatch, Yn as PreviewLinkManager, Z as DispatchPromptOptions, Za as WriteFileOptions, ar as PromptInputPart, ba as SnapshotOptions, bt as ExecOptions, ca as SessionInfo, cn as GpuLease, co as RawEvidenceExportOptions, cr as ProvisionEvent, ct as DurablePlanDecisionResult, d as BackendConfig, da as SessionMessage, di as SandboxFleetTraceBundle, ea as SendSessionMessageRequest, en as ForkLookupOptions, fa as SessionMessageAdmission, fo as WorkspaceImagePublishResult$1, fr as PublicProfileConflict, ga as SnapshotDeleteAcknowledgement, ht as EgressManager, ia as SessionExecutionInfo, in as GitCommit, io as SandboxEnvRecoveryView, it as DriverInfo, j as CompletedTurnResult, ja as TaskSessionCommitResult, jr as SSHCommandDescriptor, ki as SandboxResourceUsage, kn as JsonValue, la as SessionInterruptOptions, lr as ProvisionResult, ma as SessionResultOptions, no as SandboxCreateReceipt, nt as DriveTurnOptions, on as GitDiff, or as PromptOptions, ot as DurablePlan, p as BackendManager, pn as GpuLeaseManager, po as InteractionResolutionAcknowledgement, qi as SandboxTraceOptions, qn as PermissionsManager, ra as SessionEventStreamOptions, rn as GitBranch, ro as SandboxEnvRecovery, sa as SessionForkOptions, sn as GitStatus, so as RawEvidenceDirectoryExport, sr as PromptResult, st as DurablePlanDecisionOptions, ta as SentSessionMessage, tr as ProcessManager, ua as SessionListOptions, vt as EventStreamOptions, wi as SandboxOperationKind, wn as IntelligenceReport, wr as Rollout, xa as SnapshotProvenance, xi as SandboxInfo, xt as ExecResult, ya as SnapshotInfo, za as TeePublicKeyResponse } from "./types-Zl7vIatu.js";
|
|
3
3
|
import { c as TerminalStreamReconnectAuthority, f as MintScopedTokenOptions, n as TerminalStream, o as TerminalStreamHandlers, p as ScopedToken, y as TerminalReadyInfo } from "./terminal-stream-jdYomM1m.js";
|
|
4
4
|
import { f as InteractiveAttachOptions, g as InteractiveSessionStatus, h as InteractiveRequestOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-rpTbyvAS.js";
|
|
5
|
-
import { E as InteractiveAttachRequest, h as SandboxError } from "./errors-
|
|
6
|
-
import { z as SandboxLines } from "./lines-
|
|
5
|
+
import { E as InteractiveAttachRequest, h as SandboxError } from "./errors-DtQPTnqm.js";
|
|
6
|
+
import { z as SandboxLines } from "./lines-EGmJbdDU.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { AgentInteractiveSessionAttach, AgentInteractiveSessionControlClaim, AgentInteractiveSessionControlClaimAcknowledgement, AgentInteractiveSessionControlClaimRequest, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStopAcknowledgement, AgentInteractiveSessionStopCommand, AgentInteractiveTerminalSession, AgentInteractiveTerminalSession as AgentInteractiveTerminalSession$1, AgentProfile, AgentProfileFileMount, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, InteractionAcknowledgement, InteractionData, InteractionRequest, InteractionResponseCommand, TerminalOutputEvent, TerminalReplayWindow, agentInteractiveSessionPromptRequestDigest } from "@tangle-network/agent-interface";
|
|
9
9
|
|
|
@@ -431,7 +431,7 @@ interface SessionGatewayStats {
|
|
|
431
431
|
*/
|
|
432
432
|
declare function calculateConnectionQuality(metrics: ConnectionMetrics, isConnected: boolean): ConnectionQuality;
|
|
433
433
|
//#endregion
|
|
434
|
-
//#region ../../../packages/sdk/dist/client-
|
|
434
|
+
//#region ../../../packages/sdk/dist/client-C_E_mxfN.d.ts
|
|
435
435
|
//#region src/session-gateway/core-types.d.ts
|
|
436
436
|
interface SubscriptionDenial {
|
|
437
437
|
channel: string;
|
|
@@ -498,13 +498,12 @@ interface SessionGatewayClientConfig$2 extends Omit<SessionGatewayClientConfig,
|
|
|
498
498
|
} //#endregion
|
|
499
499
|
//#region src/session-gateway/core.d.ts
|
|
500
500
|
declare class SessionGatewayClientCore {
|
|
501
|
+
#private;
|
|
501
502
|
private readonly initialMetrics;
|
|
502
503
|
private ws;
|
|
503
|
-
private readonly config;
|
|
504
504
|
private readonly handlers;
|
|
505
505
|
private readonly replayStateStore;
|
|
506
506
|
private readonly tokenRefresher;
|
|
507
|
-
private currentToken;
|
|
508
507
|
private state;
|
|
509
508
|
private connectedAt;
|
|
510
509
|
private hasConnectedBefore;
|
|
@@ -33,7 +33,7 @@ function calculateConnectionQuality(metrics, isConnected) {
|
|
|
33
33
|
return "good";
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region ../../../packages/sdk/dist/client-
|
|
36
|
+
//#region ../../../packages/sdk/dist/client-CGwxRfro.js
|
|
37
37
|
function invokeClientCallback(name, callback, onError) {
|
|
38
38
|
try {
|
|
39
39
|
callback();
|
|
@@ -84,6 +84,8 @@ var ConnectionWaiters = class {
|
|
|
84
84
|
this.waiters.clear();
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
+
/** Browser-safe session gateway contracts for both SDK clients. */
|
|
88
|
+
const INITIAL_METRICS$1 = createConnectionMetrics();
|
|
87
89
|
const DEFAULT_CONFIG = {
|
|
88
90
|
transport: "websocket",
|
|
89
91
|
channels: [],
|
|
@@ -231,18 +233,16 @@ var TokenRefresher = class {
|
|
|
231
233
|
}
|
|
232
234
|
}
|
|
233
235
|
};
|
|
234
|
-
/** Browser-safe session gateway contracts for both SDK clients. */
|
|
235
|
-
const INITIAL_METRICS$1 = createConnectionMetrics();
|
|
236
236
|
const CONNECTION_ESTABLISHMENT_TIMEOUT_CODE = 4008;
|
|
237
237
|
const CONNECTION_ERROR_CODE = 4009;
|
|
238
238
|
const CONNECTION_ERROR_REASON = "WebSocket connection error";
|
|
239
239
|
var SessionGatewayClientCore = class {
|
|
240
240
|
ws = null;
|
|
241
|
-
config;
|
|
241
|
+
#config;
|
|
242
242
|
handlers;
|
|
243
243
|
replayStateStore;
|
|
244
244
|
tokenRefresher;
|
|
245
|
-
currentToken;
|
|
245
|
+
#currentToken;
|
|
246
246
|
state = "disconnected";
|
|
247
247
|
connectedAt = null;
|
|
248
248
|
hasConnectedBefore = false;
|
|
@@ -278,7 +278,7 @@ var SessionGatewayClientCore = class {
|
|
|
278
278
|
this.connectionMetrics = { ...initialMetrics };
|
|
279
279
|
if (!config.token.trim()) throw new Error("Session gateway token must not be empty");
|
|
280
280
|
const replayStorage = resolveReplayStorage(config.replayStorage);
|
|
281
|
-
this
|
|
281
|
+
this.#config = {
|
|
282
282
|
url: config.url,
|
|
283
283
|
sessionId: config.sessionId,
|
|
284
284
|
token: config.token,
|
|
@@ -299,11 +299,11 @@ var SessionGatewayClientCore = class {
|
|
|
299
299
|
connectionEstablishmentTimeoutMs: config.connectionEstablishmentTimeoutMs ?? DEFAULT_CONFIG.connectionEstablishmentTimeoutMs
|
|
300
300
|
};
|
|
301
301
|
this.handlers = config.handlers ?? {};
|
|
302
|
-
this.connectionWaiters = new ConnectionWaiters(this
|
|
303
|
-
this.replayStateStore = new ReplayStateStore(this
|
|
302
|
+
this.connectionWaiters = new ConnectionWaiters(this.#config.connectionEstablishmentTimeoutMs);
|
|
303
|
+
this.replayStateStore = new ReplayStateStore(this.#config.enableReplayPersistence, replayStorage, this.#config.replayStorageKeyPrefix, this.#config.url, this.#config.sessionId);
|
|
304
304
|
this.tokenRefresher = new TokenRefresher(config.onTokenRefresh, (token) => this.updateToken(token), this.handlers.onError);
|
|
305
|
-
this
|
|
306
|
-
if (this
|
|
305
|
+
this.#currentToken = config.token;
|
|
306
|
+
if (this.#config.enableReplayPersistence) this.loadReplayState();
|
|
307
307
|
}
|
|
308
308
|
/**
|
|
309
309
|
* Connect to the session gateway.
|
|
@@ -316,8 +316,8 @@ var SessionGatewayClientCore = class {
|
|
|
316
316
|
this.connectWebSocket();
|
|
317
317
|
}
|
|
318
318
|
connectWebSocket() {
|
|
319
|
-
const url = new URL(this
|
|
320
|
-
url.searchParams.set("token", this
|
|
319
|
+
const url = new URL(this.#config.url);
|
|
320
|
+
url.searchParams.set("token", this.#currentToken);
|
|
321
321
|
this.connectionEstablishedForSocket = false;
|
|
322
322
|
const socket = new WebSocket(url.toString());
|
|
323
323
|
this.ws = socket;
|
|
@@ -466,14 +466,14 @@ var SessionGatewayClientCore = class {
|
|
|
466
466
|
*/
|
|
467
467
|
updateToken(token) {
|
|
468
468
|
if (!token.trim()) throw new Error("Session gateway token must not be empty");
|
|
469
|
-
this
|
|
469
|
+
this.#currentToken = token;
|
|
470
470
|
if (this.state === "connected" && this.ws) this.ws.close(1e3, "Token refreshed");
|
|
471
471
|
}
|
|
472
472
|
/**
|
|
473
473
|
* Get the current auth token.
|
|
474
474
|
*/
|
|
475
475
|
getToken() {
|
|
476
|
-
return this
|
|
476
|
+
return this.#currentToken;
|
|
477
477
|
}
|
|
478
478
|
setState(state) {
|
|
479
479
|
if (this.state !== state) {
|
|
@@ -510,7 +510,7 @@ var SessionGatewayClientCore = class {
|
|
|
510
510
|
this.ws = null;
|
|
511
511
|
this.connectionEstablishedForSocket = false;
|
|
512
512
|
this.cleanup();
|
|
513
|
-
if (this
|
|
513
|
+
if (this.#config.autoReconnect && this.reconnectAttempts < this.#config.maxReconnectAttempts) {
|
|
514
514
|
this.setState("reconnecting");
|
|
515
515
|
if (this.state === "reconnecting") this.scheduleReconnect();
|
|
516
516
|
} else {
|
|
@@ -555,14 +555,14 @@ var SessionGatewayClientCore = class {
|
|
|
555
555
|
}
|
|
556
556
|
if ("id" in message && message.id) {
|
|
557
557
|
const eventId = message.id;
|
|
558
|
-
if (this
|
|
558
|
+
if (this.#config.enableDeduplication) {
|
|
559
559
|
if (this.processedEventIds.has(eventId)) {
|
|
560
560
|
this.duplicatesSkipped++;
|
|
561
561
|
return;
|
|
562
562
|
}
|
|
563
563
|
this.processedEventIds.add(eventId);
|
|
564
|
-
if (this.processedEventIds.size > this
|
|
565
|
-
const entriesToRemove = Math.floor(this
|
|
564
|
+
if (this.processedEventIds.size > this.#config.maxDeduplicationSize) {
|
|
565
|
+
const entriesToRemove = Math.floor(this.#config.maxDeduplicationSize * .1);
|
|
566
566
|
let removed = 0;
|
|
567
567
|
for (const oldId of this.processedEventIds) {
|
|
568
568
|
if (removed >= entriesToRemove) break;
|
|
@@ -585,7 +585,7 @@ var SessionGatewayClientCore = class {
|
|
|
585
585
|
if (this.lastPingSentAt) {
|
|
586
586
|
const latency = now - this.lastPingSentAt;
|
|
587
587
|
this.pingLatencyHistory.push(latency);
|
|
588
|
-
if (this.pingLatencyHistory.length > this
|
|
588
|
+
if (this.pingLatencyHistory.length > this.#config.latencyHistorySize) this.pingLatencyHistory.shift();
|
|
589
589
|
this.updateConnectionMetrics(latency, now);
|
|
590
590
|
}
|
|
591
591
|
}
|
|
@@ -719,7 +719,7 @@ var SessionGatewayClientCore = class {
|
|
|
719
719
|
return this.connectionWaiters.wait();
|
|
720
720
|
}
|
|
721
721
|
restoreSubscriptions() {
|
|
722
|
-
const channels = this
|
|
722
|
+
const channels = this.#config.channels;
|
|
723
723
|
const replayOptions = {};
|
|
724
724
|
if (this.lastEventId) replayOptions.lastEventId = this.lastEventId;
|
|
725
725
|
if (this.currentExecutionId) replayOptions.executionId = this.currentExecutionId;
|
|
@@ -743,7 +743,7 @@ var SessionGatewayClientCore = class {
|
|
|
743
743
|
this.stopPingInterval();
|
|
744
744
|
this.pingInterval = setInterval(() => {
|
|
745
745
|
this.sendPing();
|
|
746
|
-
}, this
|
|
746
|
+
}, this.#config.pingIntervalMs);
|
|
747
747
|
}
|
|
748
748
|
stopPingInterval() {
|
|
749
749
|
if (this.pingInterval) {
|
|
@@ -754,14 +754,14 @@ var SessionGatewayClientCore = class {
|
|
|
754
754
|
sendPing() {
|
|
755
755
|
if (this.ws?.readyState !== WebSocket.OPEN) return;
|
|
756
756
|
const timeSinceLastPong = this.lastPongAt ? Date.now() - this.lastPongAt : 0;
|
|
757
|
-
if (this.lastPongAt && timeSinceLastPong > this
|
|
757
|
+
if (this.lastPongAt && timeSinceLastPong > this.#config.pongTimeoutMs) {
|
|
758
758
|
this.missedPongCount++;
|
|
759
759
|
this.connectionMetrics = {
|
|
760
760
|
...this.connectionMetrics,
|
|
761
761
|
missedPongCount: this.missedPongCount
|
|
762
762
|
};
|
|
763
763
|
this.updateConnectionQuality();
|
|
764
|
-
if (this.missedPongCount >= this
|
|
764
|
+
if (this.missedPongCount >= this.#config.maxMissedPongs) {
|
|
765
765
|
this.ws?.close(4e3, "Pong timeout - connection unresponsive");
|
|
766
766
|
return;
|
|
767
767
|
}
|
|
@@ -776,8 +776,8 @@ var SessionGatewayClientCore = class {
|
|
|
776
776
|
missedPongCount: this.missedPongCount
|
|
777
777
|
};
|
|
778
778
|
this.updateConnectionQuality();
|
|
779
|
-
if (this.missedPongCount >= this
|
|
780
|
-
}, this
|
|
779
|
+
if (this.missedPongCount >= this.#config.maxMissedPongs) this.ws?.close(4e3, "Pong timeout - connection unresponsive");
|
|
780
|
+
}, this.#config.pongTimeoutMs);
|
|
781
781
|
}
|
|
782
782
|
clearPongTimeout() {
|
|
783
783
|
if (this.pongTimeout) {
|
|
@@ -788,7 +788,7 @@ var SessionGatewayClientCore = class {
|
|
|
788
788
|
scheduleReconnect() {
|
|
789
789
|
if (this.reconnectTimer) return;
|
|
790
790
|
this.reconnectAttempts++;
|
|
791
|
-
const delay = Math.min(this
|
|
791
|
+
const delay = Math.min(this.#config.initialReconnectDelayMs * 2 ** (this.reconnectAttempts - 1), this.#config.maxReconnectDelayMs);
|
|
792
792
|
const jitter = delay * .3 * (Math.random() * 2 - 1);
|
|
793
793
|
this.reconnectTimer = setTimeout(() => {
|
|
794
794
|
this.reconnectTimer = null;
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as ITangleJobsAbi, T as SandboxCreateResponseParamTypes, _ as JOB_SANDBOX_DELETE, a as fetchQuote, b as TangleSandboxClientConfig, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as JOB_SANDBOX_CREATE, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_CHAIN_ID, w as SandboxCreateParamTypes, x as AgentSandboxBlueprintAbi, y as TANGLE_JOBS_CONTRACT } from "../index-
|
|
1
|
+
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as ITangleJobsAbi, T as SandboxCreateResponseParamTypes, _ as JOB_SANDBOX_DELETE, a as fetchQuote, b as TangleSandboxClientConfig, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as JOB_SANDBOX_CREATE, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_CHAIN_ID, w as SandboxCreateParamTypes, x as AgentSandboxBlueprintAbi, y as TANGLE_JOBS_CONTRACT } from "../index-CrOKqIcs.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JobQuoteDetails, JsonResponseParamTypes, OperatorChallenge, OperatorSession, OperatorSessionError, OperatorSessionToken, QuoteDomain, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, SignMessage, SignedQuote, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1916,6 +1916,11 @@ interface CreateSandboxOptions {
|
|
|
1916
1916
|
* container image reference such as `"python:3.12-slim"`, or an image ID
|
|
1917
1917
|
* returned by the SDK image builder.
|
|
1918
1918
|
*
|
|
1919
|
+
* Container images run on the Docker runtime. A create that also sets
|
|
1920
|
+
* `driver.runtimeBackend: "firecracker"` boots the platform microVM rootfs,
|
|
1921
|
+
* so an image reference there is refused with `UNSUPPORTED_FOR_RUNTIME`
|
|
1922
|
+
* (HTTP 400). `fromSnapshot` is refused the same way on Firecracker.
|
|
1923
|
+
*
|
|
1919
1924
|
* @example
|
|
1920
1925
|
* ```typescript
|
|
1921
1926
|
* environment: "python:3.12-slim"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.84",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -154,17 +154,17 @@
|
|
|
154
154
|
"vitest": "^4.1.11",
|
|
155
155
|
"ws": "^8.20.0",
|
|
156
156
|
"yjs": "13.6.30",
|
|
157
|
-
"@products/sandbox-test-utils": "0.0.0",
|
|
158
157
|
"@repo/shared": "0.0.0",
|
|
158
|
+
"@products/sandbox-test-utils": "0.0.0",
|
|
159
159
|
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
160
|
-
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
161
160
|
"@tangle-network/runtime-contracts": "0.19.0",
|
|
162
161
|
"@tangle-network/sdk": "4.0.16",
|
|
162
|
+
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
163
163
|
"@tangle-network/sse-core": "0.0.0"
|
|
164
164
|
},
|
|
165
165
|
"tangleRelease": {
|
|
166
|
-
"sourceSha": "
|
|
167
|
-
"mergedAt": "2026-10-
|
|
166
|
+
"sourceSha": "6054a6b4fa0850907066c6b0fccddbd20a54e093",
|
|
167
|
+
"mergedAt": "2026-10-18T02:59:16-06:00"
|
|
168
168
|
},
|
|
169
169
|
"scripts": {
|
|
170
170
|
"build": "node scripts/build-dist.mjs",
|