@tangle-network/sandbox 0.63.14 → 0.63.15
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/README.md +2 -0
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +2 -2
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-NGVlqzE7.d.ts → agent-run-outcome-BEhKOjQ4.d.ts} +1 -1
- package/dist/{client-DEBDRCXn.js → client-Be-_CMPh.js} +1 -1
- package/dist/{client-8Bjza8AJ.d.ts → client-WJoyg-v9.d.ts} +5 -5
- package/dist/core.d.ts +7 -7
- package/dist/core.js +2 -2
- package/dist/{errors-Dv5aUoWZ.d.ts → errors-DqX66FDy.d.ts} +1 -1
- package/dist/{index-CqLHOYX0.d.ts → index-Dhorsvdh.d.ts} +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +18 -3
- package/dist/{lines-CR8IQQUF.d.ts → lines-D_9Qpc4b.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{managed-process-BmE85APA.d.ts → managed-process-BGwa4-_A.d.ts} +1 -1
- package/dist/{preview-BJS9YgwI.d.ts → preview-QwdE17Ut.d.ts} +3 -3
- package/dist/{public-templates-DZ5wsgul.d.ts → public-templates-BGYdLtCV.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/runtime.d.ts +3 -3
- package/dist/{sandbox-CfJjUwaf.js → sandbox-C6Y2Hzlv.js} +2 -15
- package/dist/{sandbox-3Nh_iGm2.d.ts → sandbox-CDPa6RUB.d.ts} +3 -3
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-Kc_U6co9.js → tangle-DUDjP2F4.js} +1 -1
- package/dist/{types-DrkzZH4E.d.ts → types-DXeFdLYg.d.ts} +5981 -5929
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -961,6 +961,8 @@ pnpm --filter @tangle-network/sandbox build
|
|
|
961
961
|
pnpm --filter @tangle-network/sandbox verify-dist
|
|
962
962
|
```
|
|
963
963
|
|
|
964
|
+
Public type definitions live in `src/types/` by capability; `src/types.ts` preserves the existing import path. For a type split, run `node products/sandbox/sdk/scripts/check-type-capabilities.mjs <base-ref>` from the repository root to compare every moved declaration and report module sizes. Compare two emitted declaration trees with `node products/sandbox/sdk/scripts/verify-declarations.mjs <after-dist> --compare <before-dist>`. The report separates raw artifact bytes from declaration and import identity; it preserves JSDoc and overload order.
|
|
965
|
+
|
|
964
966
|
## License
|
|
965
967
|
|
|
966
968
|
MIT
|
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 {
|
|
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-CDPa6RUB.js";
|
|
2
|
+
import { La as SessionInfo, Qa as BackendConfig, di as CodeLanguage, en as SandboxFleetParent, fi as CodeResultPart, ko as BackendType, li as CodeExecutionOptions, ui as CodeExecutionResult, za as SessionListOptions } from "../types-DXeFdLYg.js";
|
|
3
|
+
import { i as Sandbox } from "../client-WJoyg-v9.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-QwdE17Ut.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/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-BYHcA72Z.js";
|
|
2
2
|
import { A as assertCurrentBackendType } from "../interactive-controller-C0bJnKLu.js";
|
|
3
3
|
import { d as NotFoundError, v as StateError, x as ValidationError } from "../errors-Bfhg_Zc6.js";
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
4
|
+
import { n as Sandbox } from "../client-Be-_CMPh.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-C6Y2Hzlv.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/agent/instances.ts
|
|
8
8
|
const managers = /* @__PURE__ */ new WeakMap();
|
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-QwdE17Ut.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 {
|
|
1
|
+
import { Bi as AgentApprovalRequirement, Hi as AgentRunStatus, Ui as AgentToolInvocation, Vi as AgentQuestionRequest, Yi as DurablePlanSnapshot, aa as SandboxEvent } from "./types-DXeFdLYg.js";
|
|
2
2
|
import { InteractionRequest } from "@tangle-network/agent-interface";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
@@ -2,7 +2,7 @@ import { r as backendTypeSchema } from "./backend-types-D6bYbvMB.js";
|
|
|
2
2
|
import { A as assertCurrentBackendType, E as encodePromptForWire, I as withProfileHarness, L as withoutCreateOnlyModelFields, N as normalizeRuntimeBackendConfig, O as parseSSEStream, c as requestInteractiveSessionToken, j as foldModelRoutingFields, k as applyRequestedModel } from "./interactive-controller-C0bJnKLu.js";
|
|
3
3
|
import { C as parseResponseError, S as parseErrorResponse, _ as ServerError, b as TimeoutError, d as NotFoundError, f as PartialFailureError, g as SandboxError, l as NON_RETRYABLE_CREATE_QUOTA_REASONS, m as QuotaError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, w as readResponseJson, x as ValidationError } from "./errors-Bfhg_Zc6.js";
|
|
4
4
|
import { f as combineAbortSignals } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
5
|
-
import { A as
|
|
5
|
+
import { A as rewrapResponse, C as isRetryableProfileFileMaterializeFailure, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, M as exportTraceBundle, O as normalizeConnection, T as splitInlineProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof } from "./sandbox-C6Y2Hzlv.js";
|
|
6
6
|
import { n as fetchWithKeepAlive } from "./keep-alive-fetch-qPVvvkgJ.js";
|
|
7
7
|
import { LinesClient } from "./lines.js";
|
|
8
8
|
import { PublicTemplatesClient } from "./public-templates.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { $
|
|
1
|
+
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-CDPa6RUB.js";
|
|
2
|
+
import { $i as IntelligenceReportCompareTo, $t as SandboxFleetOperationsSummary, At as FleetRunOptions, Bt as SandboxFleetCostEstimate, Ct as FleetDispatchStreamOptions, D as SshKeysManager, Dt as FleetPromptDispatchOptions, E as SecretsManager, Et as FleetMachineId, F as UsageInfo, Fi as BatchResult, Ft as ReconcileSandboxFleetsResult, Gt as SandboxFleetInfo, Ht as SandboxFleetDispatchResponse, Ii as BatchRunOptions, It as SandboxFleetAgent, Li as BatchRunRequest, Ln as CreateRequestOptions, Mt as ReapExpiredSandboxFleetsOptions, N as SandboxIdentity, Nr as ExecOptions, Nt as ReapExpiredSandboxFleetsResult, Ot as FleetPromptDispatchResult, P as SubscriptionInfo, Pr as ExecResult, Pt as ReconcileSandboxFleetsOptions, Qa as BackendConfig, Qi as IntelligenceReportBudget, Rn as CreateSandboxOptions, Rt as SandboxFleetArtifact, Sn as SandboxRunGeneration, St as FleetDispatchResultBufferOptions, Tt as FleetExecDispatchResult, Un as SandboxShapesInfo, Ut as SandboxFleetDriverCapability, Wi as CreateIntelligenceReportOptions, Xt as SandboxFleetMachineSpec, Yt as SandboxFleetMachineRecord, Zi as IntelligenceReport, Zt as SandboxFleetManifest, _a as ConversationTurnResult, a as DeleteMatchingSandboxesOptions, an as SandboxFleetToken, bt as FleetDispatchCancelResult, dt as TokenRefreshHandler, en as SandboxFleetParent, fn as SandboxFleetWorkspaceReconcileResult, ft as AttachSandboxFleetMachineOptions, ga as ConversationTurnOptions, gt as FleetAgentId, hn as ListSandboxOptions, ht as CreateSandboxFleetWithCoordinatorOptions, i as DeleteMatchingSandboxesFilter, ia as PromptResult, in as SandboxFleetSpend, jt as ListSandboxFleetOptions, kt as FleetRunEvent, ln as SandboxFleetTraceOptions, lt as FleetDriveTurnOutcome, mn as SandboxFleetWorkspaceSnapshotResult, mt as CreateSandboxFleetTokenOptions, na as PromptInputPart, nn as SandboxFleetPolicy, o as DeleteMatchingSandboxesResult, on as SandboxFleetTraceBundle, pn as SandboxFleetWorkspaceRestoreResult, pt as CreateSandboxFleetOptions, ra as PromptOptions, ta as IntelligenceReportWindow, un as SandboxFleetUsage, ut as FleetDriveTurnRequest, vt as FleetAgentResult, wo as BatchEvent, wt as FleetExecDispatchOptions, xi as SdkTimingHook, xt as FleetDispatchResultBuffer, yi as HttpClient, yn as SandboxInfo, zn as SandboxConfig, zr as SandboxEnvironment, zt as SandboxFleetArtifactSpec } from "./types-DXeFdLYg.js";
|
|
3
3
|
import { d as MintInteractiveSessionTokenOptions, p as ScopedToken } from "./terminal-stream-DgD7GlFi.js";
|
|
4
|
-
import { L as LinesClient } from "./lines-
|
|
5
|
-
import { g as SandboxError } from "./errors-
|
|
6
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
4
|
+
import { L as LinesClient } from "./lines-D_9Qpc4b.js";
|
|
5
|
+
import { g as SandboxError } from "./errors-DqX66FDy.js";
|
|
6
|
+
import { a as PublicTemplatesClient } from "./public-templates-BGYdLtCV.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { AgentInteractiveSessionRef, AgentProfile } from "@tangle-network/agent-interface";
|
|
9
9
|
|
package/dist/core.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-
|
|
2
|
-
import {
|
|
3
|
-
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-
|
|
4
|
-
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./errors-
|
|
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 { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
7
|
-
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-CDPa6RUB.js";
|
|
2
|
+
import { $n as NetworkConfig, J as PreviewLinkInfo, Nr as ExecOptions, Pr as ExecResult, Rn as CreateSandboxOptions, Va as SessionMessageAdmission, Wn as SandboxStatus, X as PreviewLinkWaitOptions, Y as PreviewLinkManager, _a as ConversationTurnResult, _i as ManagedProcessSpec, co as SandboxEnvRecovery, ga as ConversationTurnOptions, gi as ManagedProcessResumeOptions, hi as ManagedProcessRecord, lo as SandboxEnvRecoveryView, mi as ManagedProcessOptions, na as PromptInputPart, pi as ManagedProcessJobs, vi as ManagedProcessState, yn as SandboxInfo, zn as SandboxConfig } from "./types-DXeFdLYg.js";
|
|
3
|
+
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-D_9Qpc4b.js";
|
|
4
|
+
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./errors-DqX66FDy.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-WJoyg-v9.js";
|
|
6
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BGYdLtCV.js";
|
|
7
|
+
import { t as ManagedProcessClient } from "./managed-process-BGwa4-_A.js";
|
|
8
8
|
|
|
9
9
|
//#region src/core.d.ts
|
|
10
10
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as ServerError, b as TimeoutError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as StateError, x as ValidationError } from "./errors-Bfhg_Zc6.js";
|
|
2
|
-
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, v as parseBackendRegistryResponseBody } from "./client-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, v as parseBackendRegistryResponseBody } from "./client-Be-_CMPh.js";
|
|
3
|
+
import { S as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-C6Y2Hzlv.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
6
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-UtPFP0o4.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import {
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-CDPa6RUB.js";
|
|
2
|
+
import { Rn as CreateSandboxOptions, yi as HttpClient } from "./types-DXeFdLYg.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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
|
|
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-CDPa6RUB.js";
|
|
2
|
+
import { $ as BackendManager, $a as BackendInfo, $i as IntelligenceReportCompareTo, $n as NetworkConfig, $r as GpuLeaseManager, $t as SandboxFleetOperationsSummary, A as ProvisionStatus, Aa as SentSessionMessage, Ai as RolloutStartResult, An as StartupDiagnostics, Ao as parseBackendType, Ar as WriteManyOptions, At as FleetRunOptions, B as Process, Ba as SessionMessage, Bn as SandboxResources, Br as AcceleratorKind, Bt as SandboxFleetCostEstimate, C as StopOptions, Ca as EffectiveBackend, Ci as ForkCounts, Cn as SandboxRuntimeHealth, Co as BatchBackendStats, Cr as ListOptions, Ct as FleetDispatchStreamOptions, Da as PublicProfileConflict, Di as RolloutChildResult, Dn as SandboxTerminalManager, Do as BatchTaskUsage, Dr as UploadProgress, Dt as FleetPromptDispatchOptions, E as SecretsManager, Ea as ListMessagesOptions, Ei as Rollout, En as SandboxTerminalInfo, Eo as BatchSidecarGroup, Er as UploadOptions, Et as FleetMachineId, F as UsageInfo, Fa as SessionFailureReason, Fi as BatchResult, Fn as TeePublicKey, Fr as PublicTemplateInfo, Ft as ReconcileSandboxFleetsResult, G as ProcessSignal, Ga as TaskSessionChanges, Gi as DurablePlan, Gn as SecretBinding, Gr as DriverInfo, Gt as SandboxFleetInfo, H as ProcessListOptions, Ha as SessionMessageInputPart, Hn as SandboxShapePreset, Hr as CreateGpuLeaseOptions, Ht as SandboxFleetDispatchResponse, I as WaitForOptions, Ia as SessionForkOptions, Ii as BatchRunOptions, In as TeePublicKeyResponse, Ir as PublicTemplateVersionInfo, It as SandboxFleetAgent, J as PreviewLinkInfo, Ja as TaskSessionInfo, Ji as DurablePlanFollowUpResume, Jn as StorageConfig, Jr as GpuLease, Jt as SandboxFleetMachineMeteredUsage, K as ProcessSpawnOptions, Ka as TaskSessionCommitResult, Ki as DurablePlanDecisionOptions, Kn as SandboxResourceUsage, Kr as DriverType, Kt as SandboxFleetIntelligenceEnvelope, L as DevServerInfo, La as SessionInfo, Li as BatchRunRequest, Ln as CreateRequestOptions, Lr as PublishPublicTemplateOptions, Lt as SandboxFleetAgentSpec, Ma as SessionEventStreamOptions, Mi as RolloutTurnPart, Mn as TeeAttestationOptions, Mr as SearchOptions, Mt as ReapExpiredSandboxFleetsOptions, N as SandboxIdentity, Na as SessionExecutionInfo, Ni as WaitForRolloutOptions, Nn as TeeAttestationReport, Nr as ExecOptions, Nt as ReapExpiredSandboxFleetsResult, O as ProvisionEvent, Oa as SendSessionMessageOptions, Oi as RolloutOptions, On as SandboxTerminalRequestOptions, Oo as ALL_BACKEND_TYPES, Or as WriteFileOptions, Ot as FleetPromptDispatchResult, P as SubscriptionInfo, Pa as SessionExecutionStatus, Pi as BatchBackend, Pn as TeeAttestationResponse, Pr as ExecResult, Pt as ReconcileSandboxFleetsOptions, Q as AddUserOptions, Qa as BackendConfig, Qi as IntelligenceReportBudget, Qn as MAX_EGRESS_DENIALS_LIMIT, Qr as GpuLeaseExecResult, Qt as SandboxFleetManifestMachine, R as EnsureDevServerOptions, Ra as SessionInterruptOptions, Ri as BatchTask, Rn as CreateSandboxOptions, Rr as PublishPublicTemplateVersionOptions, Rt as SandboxFleetArtifact, S as SnapshotResult, Sa as DriveTurnOptions, Si as BranchOptions, Sn as SandboxRunGeneration, So as PublicBatchRunRequest, Sr as FileWriteResult, St as FleetDispatchResultBufferOptions, T as SecretInfo, Ta as EffectiveBackendSource, Ti as ForkLookupOptions, Tn as SandboxTerminalCreateOptions, To as BatchEventDataMap, Tr as RenameOptions, U as ProcessLogEntry, Ua as SessionResultOptions, Un as SandboxShapesInfo, Ur as DockerDriverConfig, Ut as SandboxFleetDriverCapability, V as ProcessInfo, Va as SessionMessageAdmission, Vn as SandboxShape, Vr as AttachGpuLeaseOptions, Vt as SandboxFleetDispatchFailureClass, W as ProcessManager, Wa as SessionStatus, Wi as CreateIntelligenceReportOptions, Wn as SandboxStatus, Wr as DriverConfig, Wt as SandboxFleetDriverTimings, X as PreviewLinkWaitOptions, Xa as TurnDriveResult, Xi as EventStreamOptions, Xn as EgressManager, Xr as GpuLeaseCommandResult, Xt as SandboxFleetMachineSpec, Y as PreviewLinkManager, Ya as TaskSessionProfile, Yn as EgressDenial, Yr as GpuLeaseBilling, Yt as SandboxFleetMachineRecord, Z as AccessPolicyRule, Za as BackendCapabilities, Zi as IntelligenceReport, Zn as EgressPolicy, Zr as GpuLeaseExecOptions, Zt as SandboxFleetManifest, _ as SnapshotIdempotency, _a as ConversationTurnResult, _i as ManagedProcessSpec, _n as SSHCredentials, _o as RawEvidenceExportOptions, _r as FileTreeFile, _t as FleetAgentPlacement, a as DeleteMatchingSandboxesOptions, aa as SandboxEvent, ai as GpuLeaseStatus, an as SandboxFleetToken, ao as SandboxCreateOutcome, ar as ChunkedUploadResult, at as GitBranch, ba as DispatchPromptOptions, bn as SandboxPortBinding, bo as RawEvidenceRecordsFile, br as FileUsageOptions, bt as FleetDispatchCancelResult, c as SandboxDeleteAcknowledgement, ca as SandboxTraceEvent, ci as NonHostAgentDriverConfig, cn as SandboxFleetTraceExport, co as SandboxEnvRecovery, cr as DownloadProgress, ct as GitStatus, d as SandboxOperationInfo, da as TokenUsage, dn as SandboxFleetWorkspace, do as RawEvidenceArchiveManifest, dr as FileReadBatchOptions, dt as TokenRefreshHandler, ea as IntelligenceReportSubjectType, ei as GpuLeaseProviderName, en as SandboxFleetParent, eo as BackendMcpServerStatus, er as NetworkManager, et as DirectoryPermission, f as SandboxOperationKind, fa as TurnBackendConfig, fn as SandboxFleetWorkspaceReconcileResult, fo as RawEvidenceArchiveManifestNative, fr as FileReadBatchResult, ft as AttachSandboxFleetMachineOptions, g as SnapshotDeleteOutcome, ga as ConversationTurnOptions, gi as ManagedProcessResumeOptions, gn as SSHCommandDescriptor, go as RawEvidenceDirectoryExport, gr as FileSystem, gt as FleetAgentId, h as SnapshotDeleteAcknowledgement, ha as CompletedTurnResult, hi as ManagedProcessRecord, hn as ListSandboxOptions, ho as RawEvidenceBoxExportOptions, hr as FileRenameResult, ht as CreateSandboxFleetWithCoordinatorOptions, i as DeleteMatchingSandboxesFilter, ia as PromptResult, ii as GpuLeaseProvidersOptions, in as SandboxFleetSpend, io as RouterRoutingOptions, ir as ChunkedUploadOptions, it as UpdateUserOptions, j as ProvisionStep, ja as SessionBackendCredentials, ji as RolloutStatus, jn as StartupOperation, jr as SearchMatch, jt as ListSandboxFleetOptions, k as ProvisionResult, ka as SendSessionMessageRequest, ki as RolloutScorer, kn as SandboxTerminals, ko as BackendType, kr as WriteManyFile, kt as FleetRunEvent, l as SandboxDeleteOptions, la as SandboxTraceExport, ln as SandboxFleetTraceOptions, lo as SandboxEnvRecoveryView, lr as DownloadResult, lt as FleetDriveTurnOutcome, m as SandboxRemovalState, ma as CompletedTurnPayload, mi as ManagedProcessOptions, mn as SandboxFleetWorkspaceSnapshotResult, mo as RawEvidenceBoxDirectoryExport, mr as FileReadResult, n as DeleteMatchingSandboxOutcome, na as PromptInputPart, ni as GpuLeaseProviderStatus, nn as SandboxFleetPolicy, no as BackendStatus, nr as GitAuth, nt as PermissionsManager, o as DeleteMatchingSandboxesResult, oa as SandboxIntelligenceEnvelope, oi as HostAgentDriverConfig, on as SandboxFleetTraceBundle, oo as SandboxCreateReceipt, or as DeleteOptions, ot as GitCommit, p as SandboxOperationState, pa as CommitTaskSessionOptions, pi as ManagedProcessJobs, pn as SandboxFleetWorkspaceRestoreResult, po as RawEvidenceBoxArchiveManifest, pr as FileReadError, pt as CreateSandboxFleetOptions, q as ProcessStatus, qa as TaskSessionFileChange, qi as DurablePlanDecisionResult, qn as SandboxRuntimeCapabilities, qr as GPU_LEASE_PROVIDER_NAMES, qt as SandboxFleetMachine, r as DeleteMatchingSandboxResult, ra as PromptOptions, ri as GpuLeaseProviders, rn as SandboxFleetProfileRef, ro as McpServerConfig, rr as GitConfig, rt as SandboxUser, sa as SandboxTraceBundle, si as HostAgentRuntimeBackend, sn as SandboxFleetTraceEvent, sr as DownloadOptions, st as GitDiff, t as InstalledTool, ta as IntelligenceReportWindow, ti as GpuLeaseProviderState, tn as SandboxFleetPlacement, to as BackendRuntimeConfigUpdate, tr as SandboxEgressUsage, tt as PermissionLevel, u as SandboxDeleteOutcome, ua as SandboxTraceOptions, un as SandboxFleetUsage, uo as NativeStoreHomeCopy, ur as FileInfo, ut as FleetDriveTurnRequest, v as SnapshotInfo, va as CreateSessionOptions, vi as ManagedProcessState, vn as SandboxConnection, vo as RawEvidenceNativeFile, vr as FileTreeOptions, vt as FleetAgentResult, w as WorkspaceOperationLookup, wa as EffectiveBackendProfile, wi as ForkIdempotency, wn as SandboxTerminalAttachOptions, wo as BatchEvent, wr as MkdirOptions, wt as FleetExecDispatchOptions, x as SnapshotRemoteSync, xa as DispatchedSession, xn as SandboxPortPreviewLink, xr as FileUsageResult, xt as FleetDispatchResultBuffer, y as SnapshotOptions, ya as CreateTaskSessionOptions, yn as SandboxInfo, yo as RawEvidencePayloadFile, yr as FileTreeResult, yt as FleetAgentRunStatus, z as ExactProcessSpawnOptions, za as SessionListOptions, zi as BatchTaskResult, zn as SandboxConfig, zr as SandboxEnvironment, zt as SandboxFleetArtifactSpec } from "./types-DXeFdLYg.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-DgD7GlFi.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-B6sySQFu.js";
|
|
5
5
|
import { a as InteractiveSessionControllerOptions, i as InteractiveSessionController, n as BrowserInteractiveSessionControllerOptions, o as InteractiveSessionControllerTransport, r as InteractiveAttachRequest, t as BrowserInteractiveSessionController } from "./interactive-controller-BSWoA0YE.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-
|
|
7
|
-
import { C as TimeoutError, S as StreamInterruptionReason, _ as SandboxErrorJson, a as EgressProxyRecoveryError, b as StateError, c as GpuProviderRequirement, d as NotFoundError, f as PartialFailureError, g as SandboxError, h as ResumeEnvRequiredError, i as EdgeNotReadyError, l as KeyBudgetExhaustedError, m as QuotaError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, x as StreamInterruptedError, y as ServerError } from "./errors-
|
|
8
|
-
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-
|
|
9
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
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-D_9Qpc4b.js";
|
|
7
|
+
import { C as TimeoutError, S as StreamInterruptionReason, _ as SandboxErrorJson, a as EgressProxyRecoveryError, b as StateError, c as GpuProviderRequirement, d as NotFoundError, f as PartialFailureError, g as SandboxError, h as ResumeEnvRequiredError, i as EdgeNotReadyError, l as KeyBudgetExhaustedError, m as QuotaError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, x as StreamInterruptedError, y as ServerError } from "./errors-DqX66FDy.js";
|
|
8
|
+
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-WJoyg-v9.js";
|
|
9
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BGYdLtCV.js";
|
|
10
10
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-DfA_usrZ.js";
|
|
11
11
|
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-CWUW8pqr.js";
|
|
12
|
-
import { t as ManagedProcessClient } from "./managed-process-
|
|
13
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
14
|
-
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-
|
|
12
|
+
import { t as ManagedProcessClient } from "./managed-process-BGwa4-_A.js";
|
|
13
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-BEhKOjQ4.js";
|
|
14
|
+
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-Dhorsvdh.js";
|
|
15
15
|
import { z } from "zod";
|
|
16
16
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
17
17
|
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";
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as parseBackendType, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-D6bYbvMB.js";
|
|
2
2
|
import { B as deriveAgentResultOutcome, H as projectAgentTerminalRecord, N as normalizeRuntimeBackendConfig, O as parseSSEStream, P as requestedPublicProfileDigest, V as deriveAgentRunOutcome, a as terminalUpgradeHeadersSupported, i as TerminalStreamError, n as InteractiveSessionController, o as TERMINAL_WS_ECHO_SUBPROTOCOL, r as TerminalStream, t as BrowserInteractiveSessionController, z as createAgentRunOutcomeTracker } from "./interactive-controller-C0bJnKLu.js";
|
|
3
3
|
import { _ as ServerError, a as EgressProxyRecoveryError, b as TimeoutError, c as KeyBudgetExhaustedError, d as NotFoundError, f as PartialFailureError, g as SandboxError, h as ResumeEnvRequiredError, i as EdgeNotReadyError, m as QuotaError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as StateError, x as ValidationError, y as StreamInterruptedError } from "./errors-Bfhg_Zc6.js";
|
|
4
|
-
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, c as SandboxFleetClient, d as validateBatchRunRequest, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, l as runtimeWorkspaceCwdSchema, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, r as RunsClient, s as SandboxFleet, t as IntelligenceClient, u as createBatchResultAccumulator, v as parseBackendRegistryResponseBody } from "./client-
|
|
4
|
+
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, c as SandboxFleetClient, d as validateBatchRunRequest, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, l as runtimeWorkspaceCwdSchema, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, r as RunsClient, s as SandboxFleet, t as IntelligenceClient, u as createBatchResultAccumulator, v as parseBackendRegistryResponseBody } from "./client-Be-_CMPh.js";
|
|
5
5
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as createInteractiveControlHolderId, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
6
|
-
import {
|
|
6
|
+
import { D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, M as exportTraceBundle, N as otelTraceIdForTangleTrace, P as toOtelJson, S as ManagedProcessClient, T as splitInlineProfileFileMounts, _ as applySandboxEventText, b as getSandboxEventText, c as SandboxTaskSession, d as agentInteractiveSessionPromptRequestDigest, f as InteractiveTerminalFrameLog, g as SandboxOperationFailedError, h as SandboxOperation, j as buildTraceExportPayload, l as SandboxSession, m as createInteractiveTerminalSession, o as WorkspaceImages, p as createInteractiveTerminalCapture, s as MAX_EGRESS_DENIALS_LIMIT, t as SandboxInstance, u as InteractiveSessionHandle, v as collectAgentFinalMessageText, w as materializeProfileFileMounts, x as isToolBearingEvent, y as collectAgentResponseText } from "./sandbox-C6Y2Hzlv.js";
|
|
7
7
|
import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
8
8
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
9
9
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CXtTwK3x.js";
|
|
10
10
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-UtPFP0o4.js";
|
|
11
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
11
|
+
import { s as TangleSandboxClient } from "./tangle-DUDjP2F4.js";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
14
14
|
//#region src/confidential.ts
|
|
@@ -135,6 +135,21 @@ function startTeeAttestationHeartbeat(sandbox, options = {}) {
|
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
//#endregion
|
|
138
|
+
//#region src/types/drivers.ts
|
|
139
|
+
const GPU_LEASE_PROVIDER_NAMES = [
|
|
140
|
+
"runpod",
|
|
141
|
+
"vast-ai",
|
|
142
|
+
"lambda-labs",
|
|
143
|
+
"tensordock",
|
|
144
|
+
"paperspace",
|
|
145
|
+
"aws",
|
|
146
|
+
"gcp",
|
|
147
|
+
"azure",
|
|
148
|
+
"crusoe",
|
|
149
|
+
"fluidstack",
|
|
150
|
+
"modal"
|
|
151
|
+
];
|
|
152
|
+
//#endregion
|
|
138
153
|
//#region src/image.ts
|
|
139
154
|
function isFetchClient(client) {
|
|
140
155
|
return typeof client.fetch === "function";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qa as BackendConfig, Rn as CreateSandboxOptions } from "./types-DXeFdLYg.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-D_9Qpc4b.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 {
|
|
1
|
+
import { _i as ManagedProcessSpec, gi as ManagedProcessResumeOptions, hi as ManagedProcessRecord, mi as ManagedProcessOptions, pi as ManagedProcessJobs } from "./types-DXeFdLYg.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 {
|
|
3
|
-
import { i as Sandbox } from "./client-
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-CDPa6RUB.js";
|
|
2
|
+
import { J as PreviewLinkInfo, R as EnsureDevServerOptions } from "./types-DXeFdLYg.js";
|
|
3
|
+
import { i as Sandbox } from "./client-WJoyg-v9.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as SandboxError } from "./errors-
|
|
1
|
+
import { Fr as PublicTemplateInfo, Ir as PublicTemplateVersionInfo, Lr as PublishPublicTemplateOptions, Rr as PublishPublicTemplateVersionOptions, yi as HttpClient } from "./types-DXeFdLYg.js";
|
|
2
|
+
import { g as SandboxError } from "./errors-DqX66FDy.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/public-templates.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BGYdLtCV.js";
|
|
2
2
|
export { PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient };
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Aa as SentSessionMessage, Ba as SessionMessage, Cn as SandboxRuntimeHealth, Dn as SandboxTerminalManager, Dr as UploadProgress, Ea as ListMessagesOptions, En as SandboxTerminalInfo, Ga as TaskSessionChanges, Ja as TaskSessionInfo, Ka as TaskSessionCommitResult, La as SessionInfo, Ma as SessionEventStreamOptions, Na as SessionExecutionInfo, Oa as SendSessionMessageOptions, On as SandboxTerminalRequestOptions, Or as WriteFileOptions, Pa as SessionExecutionStatus, Sr as FileWriteResult, Tn as SandboxTerminalCreateOptions, Tr as RenameOptions, Va as SessionMessageAdmission, aa as SandboxEvent, ar as ChunkedUploadResult, bn as SandboxPortBinding, br as FileUsageOptions, dr as FileReadBatchOptions, fr as FileReadBatchResult, hr as FileRenameResult, ir as ChunkedUploadOptions, ka as SendSessionMessageRequest, pa as CommitTaskSessionOptions, va as CreateSessionOptions, vr as FileTreeOptions, xr as FileUsageResult, ya as CreateTaskSessionOptions, yr as FileTreeResult } from "./types-DXeFdLYg.js";
|
|
2
2
|
import { n as TerminalStream, p as ScopedToken } from "./terminal-stream-DgD7GlFi.js";
|
|
3
3
|
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-B6sySQFu.js";
|
|
4
4
|
import { t as BrowserInteractiveSessionController } from "./interactive-controller-BSWoA0YE.js";
|
|
5
|
-
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./errors-
|
|
6
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
5
|
+
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./errors-DqX66FDy.js";
|
|
6
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-BEhKOjQ4.js";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/chunked-upload.d.ts
|
|
9
9
|
/** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
|
|
@@ -4131,20 +4131,7 @@ var SandboxTaskSession = class extends SandboxSession {
|
|
|
4131
4131
|
}
|
|
4132
4132
|
};
|
|
4133
4133
|
//#endregion
|
|
4134
|
-
//#region src/types.ts
|
|
4135
|
-
const GPU_LEASE_PROVIDER_NAMES = [
|
|
4136
|
-
"runpod",
|
|
4137
|
-
"vast-ai",
|
|
4138
|
-
"lambda-labs",
|
|
4139
|
-
"tensordock",
|
|
4140
|
-
"paperspace",
|
|
4141
|
-
"aws",
|
|
4142
|
-
"gcp",
|
|
4143
|
-
"azure",
|
|
4144
|
-
"crusoe",
|
|
4145
|
-
"fluidstack",
|
|
4146
|
-
"modal"
|
|
4147
|
-
];
|
|
4134
|
+
//#region src/types/network.ts
|
|
4148
4135
|
/** Largest `limit` the denials route accepts; it rejects anything above. */
|
|
4149
4136
|
const MAX_EGRESS_DENIALS_LIMIT = 50;
|
|
4150
4137
|
//#endregion
|
|
@@ -10143,4 +10130,4 @@ function quoteForShell(value) {
|
|
|
10143
10130
|
return `'${value.replace(/'/g, "'\\''")}'`;
|
|
10144
10131
|
}
|
|
10145
10132
|
//#endregion
|
|
10146
|
-
export {
|
|
10133
|
+
export { rewrapResponse as A, isRetryableProfileFileMaterializeFailure as C, validateDeferredProfileFileMounts as D, splitInlineProfileSkills as E, exportTraceBundle as M, otelTraceIdForTangleTrace as N, normalizeConnection as O, toOtelJson as P, ManagedProcessClient as S, splitInlineProfileFileMounts as T, applySandboxEventText as _, normalizeStartupDiagnostics as a, getSandboxEventText as b, SandboxTaskSession as c, agentInteractiveSessionPromptRequestDigest as d, InteractiveTerminalFrameLog as f, SandboxOperationFailedError as g, SandboxOperation as h, normalizeSandboxCreateReceipt as i, buildTraceExportPayload as j, normalizeSandboxShape as k, SandboxSession as l, createInteractiveTerminalSession as m, createSandboxInstanceFromResponse as n, WorkspaceImages as o, createInteractiveTerminalCapture as p, normalizeCaptureProof as r, MAX_EGRESS_DENIALS_LIMIT as s, SandboxInstance as t, InteractiveSessionHandle as u, collectAgentFinalMessageText as v, materializeProfileFileMounts as w, isToolBearingEvent as x, collectAgentResponseText as y };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as CliAuthReference } from "./cli-auth-bundle-BKsrsbxy.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as BackendManager, $i as IntelligenceReportCompareTo, $r as GpuLeaseManager, Aa as SentSessionMessage, Ai as RolloutStartResult, An as StartupDiagnostics, Ar as WriteManyOptions, Ba as SessionMessage, C as StopOptions, Ci as ForkCounts, Cn as SandboxRuntimeHealth, Da as PublicProfileConflict, Ea as ListMessagesOptions, Ei as Rollout, Ga as TaskSessionChanges, Gi as DurablePlan, Gr as DriverInfo, I as WaitForOptions, Ia as SessionForkOptions, In as TeePublicKeyResponse, Ja as TaskSessionInfo, Jr as GpuLease, Ka as TaskSessionCommitResult, Ki as DurablePlanDecisionOptions, Kn as SandboxResourceUsage, La as SessionInfo, M as ResumeOptions, Ma as SessionEventStreamOptions, Mn as TeeAttestationOptions, Mr as SearchOptions, Na as SessionExecutionInfo, Ni as WaitForRolloutOptions, Nr as ExecOptions, O as ProvisionEvent, Oa as SendSessionMessageOptions, Oi as RolloutOptions, Or as WriteFileOptions, Pn as TeeAttestationResponse, Pr as ExecResult, Qa as BackendConfig, Qi as IntelligenceReportBudget, Ra as SessionInterruptOptions, S as SnapshotResult, Sa as DriveTurnOptions, Si as BranchOptions, Sr as FileWriteResult, Ti as ForkLookupOptions, Ua as SessionResultOptions, Va as SessionMessageAdmission, Vn as SandboxShape, W as ProcessManager, Wn as SandboxStatus, Xa as TurnDriveResult, Xi as EventStreamOptions, Xn as EgressManager, Y as PreviewLinkManager, Zi as IntelligenceReport, _a as ConversationTurnResult, _n as SSHCredentials, _o as RawEvidenceExportOptions, aa as SandboxEvent, at as GitBranch, b as SnapshotProvenance, ba as DispatchPromptOptions, bi as JsonValue, bn as SandboxPortBinding, c as SandboxDeleteAcknowledgement, co as SandboxEnvRecovery, ct as GitStatus, d as SandboxOperationInfo, di as CodeLanguage, er as NetworkManager, f as SandboxOperationKind, fa as TurnBackendConfig, ga as ConversationTurnOptions, gn as SSHCommandDescriptor, go as RawEvidenceDirectoryExport, gr as FileSystem, h as SnapshotDeleteAcknowledgement, ha as CompletedTurnResult, ho as RawEvidenceBoxExportOptions, ia as PromptResult, jr as SearchMatch, k as ProvisionResult, ka as SendSessionMessageRequest, kn as SandboxTerminals, kr as WriteManyFile, l as SandboxDeleteOptions, li as CodeExecutionOptions, lo as SandboxEnvRecoveryView, mo as RawEvidenceBoxDirectoryExport, na as PromptInputPart, nt as PermissionsManager, on as SandboxFleetTraceBundle, oo as SandboxCreateReceipt, ot as GitCommit, p as SandboxOperationState, pa as CommitTaskSessionOptions, qi as DurablePlanDecisionResult, qn as SandboxRuntimeCapabilities, ra as PromptOptions, s as RestoreSnapshotOptions, sa as SandboxTraceBundle, so as WorkspaceImagePublishResult$1, st as GitDiff, t as InstalledTool, ta as IntelligenceReportWindow, ua as SandboxTraceOptions, ui as CodeExecutionResult, v as SnapshotInfo, va as CreateSessionOptions, vn as SandboxConnection, w as WorkspaceOperationLookup, wi as ForkIdempotency, wn as SandboxTerminalAttachOptions, xa as DispatchedSession, xo as InteractionResolutionAcknowledgement, y as SnapshotOptions, ya as CreateTaskSessionOptions, yi as HttpClient, yn as SandboxInfo, za as SessionListOptions } from "./types-DXeFdLYg.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-DgD7GlFi.js";
|
|
4
4
|
import { f as InteractiveAttachOptions, g as InteractiveSessionStatus, h as InteractiveRequestOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-B6sySQFu.js";
|
|
5
5
|
import { r as InteractiveAttachRequest } from "./interactive-controller-BSWoA0YE.js";
|
|
6
|
-
import { z as SandboxLines } from "./lines-
|
|
7
|
-
import { g as SandboxError } from "./errors-
|
|
6
|
+
import { z as SandboxLines } from "./lines-D_9Qpc4b.js";
|
|
7
|
+
import { g as SandboxError } from "./errors-DqX66FDy.js";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
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";
|
|
10
10
|
|
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-Dhorsvdh.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 };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-DUDjP2F4.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as readResponseJson } from "./errors-Bfhg_Zc6.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-C6Y2Hzlv.js";
|
|
3
3
|
import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-B6gap92T.js";
|
|
4
4
|
//#region src/tangle/abi.ts
|
|
5
5
|
/**
|