@tangle-network/sandbox 0.60.74 → 0.60.77-develop.20261016230332.7f22d61
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 +46 -0
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-eZF8RuUN.d.ts → agent-run-outcome-CTEpjCEZ.d.ts} +1 -1
- package/dist/{chunked-upload-CDrLMO8N.js → chunked-upload-DtIvkKNo.js} +1 -1
- package/dist/{chunked-upload-file-BwbqHWUX.js → chunked-upload-file-DnsHEjg0.js} +1 -1
- package/dist/{client-C7Y6waVg.js → client-CRkHfByN.js} +4 -3
- package/dist/{client-BujziOIc.d.ts → client-Lhxo82x1.d.ts} +4 -4
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-CTbq2OYh.js → collaboration-DaJU5O0E.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/{errors-C8YcR1BL.js → errors-DSJBKmGZ.js} +31 -2
- package/dist/{errors-Bj5DL2ge.d.ts → errors-mPL-qvgF.d.ts} +20 -2
- package/dist/{index-CP9a77KP.d.ts → index-DRto9Ijb.d.ts} +2 -2
- package/dist/index.d.ts +14 -11
- package/dist/index.js +7 -7
- package/dist/intelligence/index.js +1 -1
- package/dist/{interactive-controller-BFbCkMq4.js → interactive-controller-CJ24g8Va.js} +27 -7
- package/dist/{lines-_rRdwxof.d.ts → lines-DodQslsf.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{managed-process-CPHeQONO.d.ts → managed-process-B7WfqKmi.d.ts} +1 -1
- package/dist/{preview-n41aOXde.d.ts → preview-wpGGk0bu.d.ts} +3 -3
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-DfSqEr3f.d.ts → sandbox-CoIGxzm_.d.ts} +11 -10
- package/dist/{sandbox-DGoQMthD.js → sandbox-DzSEprto.js} +59 -15
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-vyeLQFFg.js → tangle-DHFKq9sn.js} +2 -2
- package/dist/{types-Mi83KD0D.d.ts → types-B_QF-iHm.d.ts} +89 -9
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -991,3 +991,49 @@ limited to 64 MiB, individual records to 16 MiB, and event reconstruction retain
|
|
|
991
991
|
most 64 MiB of cumulative part text. Limits and incomplete snapshots never become
|
|
992
992
|
complete coverage. The dedicated Sidecar archive route is required; an older deployment
|
|
993
993
|
returns an error without falling back to the aggregate `rawEvidence()` API.
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
### Prepared durable-plan follow-ups
|
|
997
|
+
|
|
998
|
+
The authenticated `session.plan()` result exposes `sourceTurnId` from that exact
|
|
999
|
+
plan revision, so callers can resolve immutable profile context before deciding.
|
|
1000
|
+
For an isolated secret profile, decide without automatic redispatch:
|
|
1001
|
+
|
|
1002
|
+
```ts
|
|
1003
|
+
const decision = await session.approvePlan(plan.id, {
|
|
1004
|
+
followUp: { mode: "caller" },
|
|
1005
|
+
});
|
|
1006
|
+
// Reject uses session.rejectPlan(feedback, plan.id, theSameOptions).
|
|
1007
|
+
const resume = decision.followUp.resume;
|
|
1008
|
+
if (resume) {
|
|
1009
|
+
// Resolve your immutable source profile using resume.sourceTurnId, then obtain
|
|
1010
|
+
// a new runtime grant. Neither grants nor preparation receipts are persisted
|
|
1011
|
+
// in the durable plan. Reuse the original isolated session creation identity.
|
|
1012
|
+
const backend = {
|
|
1013
|
+
...freshSecretBackend,
|
|
1014
|
+
planContinuation: resume.continuation,
|
|
1015
|
+
interactions: { ...freshSecretBackend.interactions,
|
|
1016
|
+
plan: decision.plan.status === "rejected" },
|
|
1017
|
+
};
|
|
1018
|
+
const pins = await box.prepareSecretProfileRevision({ sessionId: session.id, backend });
|
|
1019
|
+
await session.sendMessage({
|
|
1020
|
+
parts: [{ type: "text", text: "Continue the decided plan." }],
|
|
1021
|
+
turnId: decision.followUp.turnId,
|
|
1022
|
+
ttlMs: modelTurnExecutionTtlMs, // Retain the application's normal execution policy.
|
|
1023
|
+
backend,
|
|
1024
|
+
expectedPublicProfileRequestDigest: pins.expectedPublicProfileRequestDigest,
|
|
1025
|
+
expectedSecretProfileReceipt: pins.expectedSecretProfileReceipt,
|
|
1026
|
+
}, { planFollowUp: resume });
|
|
1027
|
+
}
|
|
1028
|
+
```
|
|
1029
|
+
|
|
1030
|
+
The continuation and interaction controls must be present before preparation;
|
|
1031
|
+
changing them invalidates the public request digest. Admission remains bound to
|
|
1032
|
+
one existing plan, turn, lease, and execution. The returned credential is
|
|
1033
|
+
transient: never persist or log it. An expired or contested lease requires another
|
|
1034
|
+
matching decision request followed by a new grant and preparation. A completed
|
|
1035
|
+
replay returns its execution ID without new admission authority. Caller-mode
|
|
1036
|
+
rows remain outside automatic dispatch after expiry and retry. Older Workers
|
|
1037
|
+
reject the strict decision option before recording a decision; deploy the D1
|
|
1038
|
+
caller-state migration before enabling the option. Ordinary decisions retain
|
|
1039
|
+
automatic dispatch.
|
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-CoIGxzm_.js";
|
|
2
|
+
import { D as CodeExecutionResult, E as CodeExecutionOptions, O as CodeLanguage, ai as SandboxFleetParent, bo as BackendType, ca as SessionInfo, d as BackendConfig, k as CodeResultPart, ua as SessionListOptions } from "../types-B_QF-iHm.js";
|
|
3
|
+
import { i as Sandbox } from "../client-Lhxo82x1.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-wpGGk0bu.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-DjryqUiY.js";
|
|
2
|
-
import { D as assertCurrentBackendType } from "../interactive-controller-
|
|
3
|
-
import {
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
2
|
+
import { D as assertCurrentBackendType } from "../interactive-controller-CJ24g8Va.js";
|
|
3
|
+
import { _ as StateError, b as ValidationError, d as NotFoundError } from "../errors-DSJBKmGZ.js";
|
|
4
|
+
import { n as Sandbox } from "../client-CRkHfByN.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-DzSEprto.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-wpGGk0bu.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 { Br as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, ut as DurablePlanSnapshot } from "./types-B_QF-iHm.js";
|
|
2
2
|
import { InteractionRequest } from "@tangle-network/agent-interface";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as ServerError, h as SandboxError, p as QuotaError, u as NetworkError, x as parseErrorResponse, y as TimeoutError } from "./errors-DSJBKmGZ.js";
|
|
2
2
|
//#region ../../../packages/runtime-contracts/dist/file-limits.js
|
|
3
3
|
const MEBIBYTE$1 = 1024 * 1024;
|
|
4
4
|
10 * MEBIBYTE$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as planCompression, c as FILE_UPLOAD_SESSION_MAX_BYTES, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-
|
|
1
|
+
import { a as planCompression, c as FILE_UPLOAD_SESSION_MAX_BYTES, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-DtIvkKNo.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { open } from "node:fs/promises";
|
|
4
4
|
//#region src/lib/chunked-upload-file.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as backendTypeSchema } from "./backend-types-D6bYbvMB.js";
|
|
2
|
-
import { A as normalizeRuntimeBackendConfig, C as encodePromptForWire, D as assertCurrentBackendType, E as applyRequestedModel, N as withProfileHarness, O as foldModelRoutingFields, T as parseSSEStream, c as requestInteractiveSessionToken } from "./interactive-controller-
|
|
3
|
-
import {
|
|
2
|
+
import { A as normalizeRuntimeBackendConfig, C as encodePromptForWire, D as assertCurrentBackendType, E as applyRequestedModel, N as withProfileHarness, O as foldModelRoutingFields, T as parseSSEStream, c as requestInteractiveSessionToken } from "./interactive-controller-CJ24g8Va.js";
|
|
3
|
+
import { C as readResponseJson, S as parseResponseError, b as ValidationError, d as NotFoundError, f as PartialFailureError, g as ServerError, h as SandboxError, l as NON_RETRYABLE_CREATE_QUOTA_REASONS, p as QuotaError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, x as parseErrorResponse, y as TimeoutError } from "./errors-DSJBKmGZ.js";
|
|
4
4
|
import { f as combineAbortSignals } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
5
|
-
import { A as rewrapResponse, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, N as exportTraceBundle, O as normalizeConnection, T as splitInlineProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, j as fetchWithKeepAlive, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof } from "./sandbox-
|
|
5
|
+
import { A as rewrapResponse, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, N as exportTraceBundle, O as normalizeConnection, T as splitInlineProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, j as fetchWithKeepAlive, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof } from "./sandbox-DzSEprto.js";
|
|
6
6
|
import { LinesClient } from "./lines.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
@@ -3290,6 +3290,7 @@ function isDeployWindowCreateError(cause) {
|
|
|
3290
3290
|
}
|
|
3291
3291
|
function isRetryableCreateError(cause) {
|
|
3292
3292
|
if (cause instanceof NetworkError) return true;
|
|
3293
|
+
if (cause instanceof GpuProviderNotConfiguredError) return false;
|
|
3293
3294
|
if (cause instanceof QuotaError && NON_RETRYABLE_CREATE_QUOTA_REASONS.has(cause.quotaType.toUpperCase())) return false;
|
|
3294
3295
|
return cause instanceof SandboxError && cause.status !== void 0 && RETRYABLE_CREATE_STATUS_CODES.has(cause.status);
|
|
3295
3296
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
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-CoIGxzm_.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, gr as PublishPublicTemplateVersionOptions, hi as SandboxFleetUsage, ho as BatchEvent, 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-B_QF-iHm.js";
|
|
3
3
|
import { d as MintInteractiveSessionTokenOptions, p as ScopedToken } from "./terminal-stream-jdYomM1m.js";
|
|
4
|
-
import {
|
|
5
|
-
import { L as LinesClient } from "./lines-
|
|
4
|
+
import { h as SandboxError } from "./errors-mPL-qvgF.js";
|
|
5
|
+
import { L as LinesClient } from "./lines-DodQslsf.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { AgentInteractiveSessionRef, AgentProfile } from "@tangle-network/agent-interface";
|
|
8
8
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-
|
|
1
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-DaJU5O0E.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as NetworkError, x as parseErrorResponse, y as TimeoutError } from "./errors-DSJBKmGZ.js";
|
|
2
2
|
//#region src/collaboration/client.ts
|
|
3
3
|
const DEFAULT_TIMEOUT_MS = 3e4;
|
|
4
4
|
function normalizeBaseUrl(url) {
|
package/dist/core.d.ts
CHANGED
|
@@ -1,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 {
|
|
3
|
-
import {
|
|
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-CoIGxzm_.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-B_QF-iHm.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-mPL-qvgF.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-DodQslsf.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-Lhxo82x1.js";
|
|
6
|
+
import { t as ManagedProcessClient } from "./managed-process-B7WfqKmi.js";
|
|
7
7
|
|
|
8
8
|
//#region src/core.d.ts
|
|
9
9
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
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-
|
|
3
|
-
import { C as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
1
|
+
import { _ as StateError, b as ValidationError, d as NotFoundError, f as PartialFailureError, g as ServerError, h as SandboxError, o as FileWriteConflictError, p as QuotaError, r as CapabilityError, t as AuthError, u as NetworkError, y as TimeoutError } from "./errors-DSJBKmGZ.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-CRkHfByN.js";
|
|
3
|
+
import { C as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-DzSEprto.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
5
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-Cq6dJLBD.js";
|
|
6
6
|
//#region src/core.ts
|
|
@@ -117,6 +117,34 @@ var CapabilityError = class extends SandboxError {
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
|
+
* No configured GPU provider can take the lease: none is configured, the
|
|
121
|
+
* named one is not, or the provider refused its credential. Status 503, code
|
|
122
|
+
* `GPU_PROVIDER_NOT_CONFIGURED`. The message names every supported provider
|
|
123
|
+
* and the orchestrator variables it needs; `providers` carries the same.
|
|
124
|
+
*/
|
|
125
|
+
var GpuProviderNotConfiguredError = class extends CapabilityError {
|
|
126
|
+
providers;
|
|
127
|
+
constructor(message, providers = [], status = 503, metadata) {
|
|
128
|
+
super(message, "GPU_PROVIDER_NOT_CONFIGURED", status, metadata, "gpu");
|
|
129
|
+
this.name = "GpuProviderNotConfiguredError";
|
|
130
|
+
this.providers = providers;
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
function readGpuProviderRequirements(data) {
|
|
134
|
+
return (Array.isArray(data.providers) ? data.providers : []).flatMap((entry) => {
|
|
135
|
+
if (!isFailureDetail(entry)) return [];
|
|
136
|
+
const provider = asString(entry.provider);
|
|
137
|
+
const state = asString(entry.state);
|
|
138
|
+
const envVars = Array.isArray(entry.envVars) ? entry.envVars : [];
|
|
139
|
+
if (!provider || !state) return [];
|
|
140
|
+
return [{
|
|
141
|
+
provider,
|
|
142
|
+
state,
|
|
143
|
+
envVars: envVars.filter((name) => typeof name === "string")
|
|
144
|
+
}];
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
120
148
|
* A multi-resource operation failed for one or more branches.
|
|
121
149
|
*/
|
|
122
150
|
var PartialFailureError = class extends SandboxError {
|
|
@@ -488,6 +516,7 @@ function parseErrorResponse(status, body, context, headers) {
|
|
|
488
516
|
createFailureDisposition: context?.allPreviousCreateAttemptsRefused === true && (context.method ?? headers?.get("x-tangle-request-method")) === "POST" && (context.path ?? headers?.get("x-tangle-request-path")) === "/v1/sandboxes" && status === 429 && (code === "RATE_LIMIT_EXCEEDED" || code === "QUOTA_EXCEEDED" || code === "PLATFORM_RATE_LIMITED") ? "not-admitted" : void 0
|
|
489
517
|
};
|
|
490
518
|
if (isQuotaCode(code)) return new QuotaError(quotaTypeFromResponse(data, reason), message, data.current, data.limit, metadata, status);
|
|
519
|
+
if (code === "GPU_PROVIDER_NOT_CONFIGURED" || code === "GPU_PROVIDERS_NOT_CONFIGURED") return new GpuProviderNotConfiguredError(message, readGpuProviderRequirements(data), status, metadata);
|
|
491
520
|
if (isCapabilityCode(code)) return new CapabilityError(message, code, status, metadata, readCapability(data, errorObj));
|
|
492
521
|
if (isPartialFailureCode(code)) return new PartialFailureError(message, code, status, metadata, readFailures(data, errorObj));
|
|
493
522
|
if (code === "EGRESS_PROXY_RECOVERY_REQUIRED") return new EgressProxyRecoveryError(message, metadata);
|
|
@@ -496,7 +525,7 @@ function parseErrorResponse(status, body, context, headers) {
|
|
|
496
525
|
return new ResumeEnvRequiredError(message, Array.isArray(keys) ? keys.filter((key) => typeof key === "string") : [], metadata);
|
|
497
526
|
}
|
|
498
527
|
if (code === "BRANCH_FANOUT_EXCEEDS_HOST") {
|
|
499
|
-
const count = (
|
|
528
|
+
const count = (raw) => typeof raw === "number" && Number.isSafeInteger(raw) && raw >= 0 ? raw : void 0;
|
|
500
529
|
return new BranchFanoutExceedsHostError(message, {
|
|
501
530
|
maxChildren: count(data.maxChildren),
|
|
502
531
|
requestedChildren: count(data.requestedChildren)
|
|
@@ -534,4 +563,4 @@ function readResponseJson(response) {
|
|
|
534
563
|
});
|
|
535
564
|
}
|
|
536
565
|
//#endregion
|
|
537
|
-
export { readResponseJson as S,
|
|
566
|
+
export { readResponseJson as C, parseResponseError as S, StateError as _, EgressProxyRecoveryError as a, ValidationError as b, KeyBudgetExhaustedError as c, NotFoundError as d, PartialFailureError as f, ServerError as g, SandboxError as h, EdgeNotReadyError as i, NON_RETRYABLE_CREATE_QUOTA_REASONS as l, ResumeEnvRequiredError as m, BranchFanoutExceedsHostError as n, FileWriteConflictError as o, QuotaError as p, CapabilityError as r, GpuProviderNotConfiguredError as s, AuthError as t, NetworkError as u, StreamInterruptedError as v, parseErrorResponse as x, TimeoutError as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { no as SandboxCreateReceipt } from "./types-B_QF-iHm.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";
|
|
@@ -131,6 +131,24 @@ declare class CapabilityError extends SandboxError {
|
|
|
131
131
|
readonly capability?: string;
|
|
132
132
|
constructor(message: string, code?: string, status?: number, metadata?: SandboxErrorMetadata, capability?: string);
|
|
133
133
|
}
|
|
134
|
+
/** What one supported GPU provider needs, as a refusal reports it. */
|
|
135
|
+
interface GpuProviderRequirement {
|
|
136
|
+
provider: string;
|
|
137
|
+
/** `ready`, `credential-invalid`, `unverified`, `not-configured`, `disabled`. */
|
|
138
|
+
state: string;
|
|
139
|
+
/** Orchestrator environment variables it needs (`A|B`: either). */
|
|
140
|
+
envVars: string[];
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* No configured GPU provider can take the lease: none is configured, the
|
|
144
|
+
* named one is not, or the provider refused its credential. Status 503, code
|
|
145
|
+
* `GPU_PROVIDER_NOT_CONFIGURED`. The message names every supported provider
|
|
146
|
+
* and the orchestrator variables it needs; `providers` carries the same.
|
|
147
|
+
*/
|
|
148
|
+
declare class GpuProviderNotConfiguredError extends CapabilityError {
|
|
149
|
+
readonly providers: GpuProviderRequirement[];
|
|
150
|
+
constructor(message: string, providers?: GpuProviderRequirement[], status?: number, metadata?: SandboxErrorMetadata);
|
|
151
|
+
}
|
|
134
152
|
/**
|
|
135
153
|
* A multi-resource operation failed for one or more branches.
|
|
136
154
|
*/
|
|
@@ -326,4 +344,4 @@ declare class ServerError extends SandboxError {
|
|
|
326
344
|
constructor(message: string, status?: number, metadata?: SandboxErrorMetadata, code?: string);
|
|
327
345
|
}
|
|
328
346
|
//#endregion
|
|
329
|
-
export {
|
|
347
|
+
export { ValidationError as C, InteractiveSessionController as D, InteractiveAttachRequest as E, InteractiveSessionControllerOptions as O, TimeoutError as S, BrowserInteractiveSessionControllerOptions as T, SandboxFailureDetail as _, EgressProxyRecoveryError as a, StreamInterruptedError as b, GpuProviderRequirement as c, NotFoundError as d, PartialFailureError as f, SandboxErrorJson as g, SandboxError as h, EdgeNotReadyError as i, InteractiveSessionControllerTransport as k, KeyBudgetExhaustedError as l, ResumeEnvRequiredError as m, BranchFanoutExceedsHostError as n, FileWriteConflictError as o, QuotaError as p, CapabilityError as r, GpuProviderNotConfiguredError as s, AuthError as t, NetworkError as u, ServerError as v, BrowserInteractiveSessionController as w, StreamInterruptionReason as x, StateError as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { B as CreateSandboxOptions,
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-CoIGxzm_.js";
|
|
2
|
+
import { B as CreateSandboxOptions, Sn as HttpClient } from "./types-B_QF-iHm.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
|
|
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-CoIGxzm_.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, 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 BatchSidecarGroup, _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 BackendType, br as ReconcileSandboxFleetsResult, bt as ExecOptions, c as AttachGpuLeaseOptions, ca as SessionInfo, ci as SandboxFleetProfileRef, cn as GpuLease, co as RawEvidenceNativeFile, cr as ProvisionEvent, ct as DurablePlanDecisionResult, d as BackendConfig, da as SessionMessage, di as SandboxFleetTraceBundle, dn as GpuLeaseExecOptions, 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 BatchEventDataMap, gr as PublishPublicTemplateVersionOptions, gt as EgressPolicy, h as BackendRuntimeConfigUpdate, ha as SessionStatus, hi as SandboxFleetUsage, hn as GpuLeaseProviderState, ho as BatchEvent, 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 RawEvidencePayloadFile, lr as ProvisionResult, lt as DurablePlanFollowUpResume, m as BackendMcpServerStatus, ma as SessionResultOptions, mi as SandboxFleetTraceOptions, mn as GpuLeaseProviderName, mo as BatchBackendStats, 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 RawEvidenceDirectoryExport, or as PromptOptions, ot as DurablePlan, p as BackendManager, pa as SessionMessageInputPart, pi as SandboxFleetTraceExport, pn as GpuLeaseManager, po as PublicBatchRunRequest, 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 RawEvidenceExportOptions, 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 RawEvidenceRecordsFile, ur as ProvisionStatus, v as BatchResult, va as SnapshotIdempotency, vi as SandboxFleetWorkspaceRestoreResult, vn as GpuLeaseProvidersOptions, vo as BatchTaskUsage, 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 parseBackendType, xr as RenameOptions, xt as ExecResult, y as BatchRunOptions, ya as SnapshotInfo, yi as SandboxFleetWorkspaceSnapshotResult, yn as GpuLeaseStatus, yo as ALL_BACKEND_TYPES, 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-B_QF-iHm.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
|
|
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-mPL-qvgF.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-DodQslsf.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-Lhxo82x1.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-B7WfqKmi.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-CTEpjCEZ.js";
|
|
12
|
+
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-DRto9Ijb.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";
|
|
@@ -60,11 +60,12 @@ declare function startTeeAttestationHeartbeat(sandbox: Pick<SandboxInstance, "ge
|
|
|
60
60
|
* Canonical profile objects are already accepted by the sidecar and are
|
|
61
61
|
* forwarded without translation.
|
|
62
62
|
*/
|
|
63
|
-
declare function normalizeRuntimeBackendConfig(backendInput:
|
|
63
|
+
declare function normalizeRuntimeBackendConfig(backendInput: TurnBackendConfig | undefined, options?: {
|
|
64
64
|
allowRuntimeSecrets?: boolean;
|
|
65
|
+
allowPlanContinuation?: boolean;
|
|
65
66
|
}): Record<string, unknown> | undefined;
|
|
66
67
|
/** Digest the exact public backend payload the SDK sends for a profile turn. */
|
|
67
|
-
declare function requestedPublicProfileDigest(backend:
|
|
68
|
+
declare function requestedPublicProfileDigest(backend: TurnBackendConfig): `sha256:${string}`;
|
|
68
69
|
//#endregion
|
|
69
70
|
//#region src/batch.d.ts
|
|
70
71
|
/** Validate and normalize one public batch request. */
|
|
@@ -2436,6 +2437,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2436
2437
|
azure: "azure";
|
|
2437
2438
|
crusoe: "crusoe";
|
|
2438
2439
|
fluidstack: "fluidstack";
|
|
2440
|
+
modal: "modal";
|
|
2439
2441
|
}>>;
|
|
2440
2442
|
accelerator: z.ZodObject<{
|
|
2441
2443
|
kind: z.ZodString;
|
|
@@ -4346,6 +4348,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4346
4348
|
azure: "azure";
|
|
4347
4349
|
crusoe: "crusoe";
|
|
4348
4350
|
fluidstack: "fluidstack";
|
|
4351
|
+
modal: "modal";
|
|
4349
4352
|
}>>;
|
|
4350
4353
|
accelerator: z.ZodObject<{
|
|
4351
4354
|
kind: z.ZodString;
|
|
@@ -4698,4 +4701,4 @@ interface RouterEvalMatrixCaseResult {
|
|
|
4698
4701
|
}
|
|
4699
4702
|
declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
|
|
4700
4703
|
//#endregion
|
|
4701
|
-
export { ALL_BACKEND_TYPES, type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentInteractiveTerminalSession, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentRunOutcome, type AgentRunOutcomeTracker, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendMcpServerStatus, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, type BackendRuntimeConfigUpdate, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, BranchFanoutExceedsHostError, type BranchOptions, BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, BrowserInteractiveSessionController, type BrowserInteractiveSessionControllerOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type ConversationTurnOptions, type ConversationTurnResult, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteMatchingSandboxOutcome, type DeleteMatchingSandboxResult, type DeleteMatchingSandboxesFilter, type DeleteMatchingSandboxesOptions, type DeleteMatchingSandboxesResult, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DownloadResult, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, EdgeNotReadyError, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressDenial, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EnsureInstanceOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetAgentId, type FleetAgentPlacement, type FleetAgentResult, type FleetAgentRunStatus, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type FleetPromptDispatchResult, type FleetRunEvent, type FleetRunOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, HostedInstance, INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InstanceProfile, type InstanceRecord, InstanceRestartingError, type InstanceStart, InstancesClient, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAttachRequest, type InteractiveControlClaimAcknowledgement, type InteractiveControlClaimOptions, type InteractiveControlClaimRequest, type InteractivePromptCommand, type InteractiveRequestOptions, type InteractiveSessionControlClaim, InteractiveSessionControlController, type InteractiveSessionControlControllerOptions, type InteractiveSessionControlTransport, InteractiveSessionController, type InteractiveSessionControllerOptions, type InteractiveSessionControllerTransport, InteractiveSessionHandle, type InteractiveSessionHandleOptions, type InteractiveSessionHost, type InteractiveSessionIdentity, type InteractiveSessionIncarnationId, type InteractiveSessionInfo, InteractiveSessionNotRunningError, type InteractiveSessionRef, type InteractiveSessionStartOptions, type InteractiveSessionStartResult, type InteractiveSessionStatus, type InteractiveStopCommand, type InteractiveTerminalCapture, InteractiveTerminalFrameLog, type InteractiveTerminalMetadata, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, KeyBudgetExhaustedError, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, type Line, type LineAgentRolePolicy, type LineAllowance, type LineAllowanceSubject, type LineApplication, type LineApplicationAttachOptions, type LineApplicationRequest, type LineApplicationResult, type LineApplicationState, type LineApplicationView, type LineAttachOptions, type LineAttachment, type LineAttachmentReauthorization, type LineExecutionKey, type LineFromConnectionInput, type LineImage, type LineInstanceAttachOptions, type LineInstanceCreate, type LineLimits, type LineMember, type LineMemberInstance, type LineMemberPatch, type LineMemberSpec, type LineMessage, type LineNumberInventory, type LineProvider, type LineReminderPreferences, type LineReplyCode, type LineReplyCodeInput, type LineReplyGate, type LineRespondAgent, type LineRespondView, type LineRole, type LineSendInput, type LineSendReceipt, type LineSenderVerification, type LineSenderVerificationStart, type LineThread, type LineTransport, type LineVoice, type LineVoiceOptions, LinesClient, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, ManagedProcessClient, type ManagedProcessJobs, type ManagedProcessOptions, type ManagedProcessRecord, type ManagedProcessResumeOptions, type ManagedProcessSpec, type ManagedProcessState, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintInteractiveSessionTokenOptions, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type ProfileFileDeliveryReport, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicProfileConflict, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type RawEvidenceArchiveManifest, type RawEvidenceDirectoryExport, type RawEvidenceExport, type RawEvidenceExportOptions, type RawEvidenceNativeFile, type RawEvidencePayloadFile, type RawEvidenceRecordsFile, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, ResumeEnvRequiredError, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunOptions, type RunPlacement, type RunPlacementRecord, type RunRecord, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, type RunWaitOptions, RunsClient, type RunsHttpClient, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOptions, type SandboxDeleteOutcome, type SandboxEgressUsage, type SandboxEnvRecovery, type SandboxEnvRecoveryView, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetAgent, type SandboxFleetAgentSpec, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetParent, type SandboxFleetPlacement, type SandboxFleetPolicy, type SandboxFleetProfileRef, type SandboxFleetSpend, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, SandboxLines, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, SandboxOperation, SandboxOperationFailedError, type SandboxOperationInfo, type SandboxOperationKind, type SandboxOperationState, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxRemovalState, type SandboxResourceUsage, type SandboxResources, type SandboxRunGeneration, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxShape, type SandboxShapePreset, type SandboxShapesInfo, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionExecutionInfo, type SessionExecutionStatus, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageAdmission, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotRemoteSync, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartupDiagnostics, type StartupOperation, StateError, type StopOptions, type StorageConfig, StreamInterruptedError, type StreamInterruptionReason, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalAttachTimings, type TerminalExitInfo, type TerminalInteractiveSessionIdentity, type TerminalOutputMessage, type TerminalReadyInfo, type TerminalReadyTimings, TerminalStream, type TerminalStreamApiKey, type TerminalStreamAuthFormat, type TerminalStreamBearerToken, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, browserInteractiveControlHolderId, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createAgentRunOutcomeTracker, createBatchResultAccumulator, createConfidentialSandbox, createInteractiveControlHolderId, createInteractiveTerminalCapture, createInteractiveTerminalSession, createManageSandboxesTool, deriveAgentResultOutcome, deriveAgentRunOutcome, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, agentInteractiveSessionPromptRequestDigest as interactivePromptRequestDigest, interactiveSessionIdentityDigest, isBackendRegistryInteractionKind, isToolBearingEvent, lineInstanceKey, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseLineApplicationRequest, parseLineApplicationResult, parseSSEStream, profileChannelReference, projectAgentTerminalRecord, requestedPublicProfileDigest, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, terminalUpgradeHeadersSupported, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
|
4704
|
+
export { ALL_BACKEND_TYPES, type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentInteractiveTerminalSession, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentRunOutcome, type AgentRunOutcomeTracker, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendMcpServerStatus, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, type BackendRuntimeConfigUpdate, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, BranchFanoutExceedsHostError, type BranchOptions, BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, BrowserInteractiveSessionController, type BrowserInteractiveSessionControllerOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type ConversationTurnOptions, type ConversationTurnResult, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteMatchingSandboxOutcome, type DeleteMatchingSandboxResult, type DeleteMatchingSandboxesFilter, type DeleteMatchingSandboxesOptions, type DeleteMatchingSandboxesResult, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DownloadResult, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionOptions, type DurablePlanDecisionResult, type DurablePlanFollowUpResume, EdgeNotReadyError, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressDenial, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EnsureInstanceOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetAgentId, type FleetAgentPlacement, type FleetAgentResult, type FleetAgentRunStatus, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type FleetPromptDispatchResult, type FleetRunEvent, type FleetRunOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseProviderState, type GpuLeaseProviderStatus, type GpuLeaseProviders, type GpuLeaseProvidersOptions, type GpuLeaseStatus, GpuProviderNotConfiguredError, type GpuProviderRequirement, type HostAgentDriverConfig, type HostAgentRuntimeBackend, HostedInstance, INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InstanceProfile, type InstanceRecord, InstanceRestartingError, type InstanceStart, InstancesClient, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAttachRequest, type InteractiveControlClaimAcknowledgement, type InteractiveControlClaimOptions, type InteractiveControlClaimRequest, type InteractivePromptCommand, type InteractiveRequestOptions, type InteractiveSessionControlClaim, InteractiveSessionControlController, type InteractiveSessionControlControllerOptions, type InteractiveSessionControlTransport, InteractiveSessionController, type InteractiveSessionControllerOptions, type InteractiveSessionControllerTransport, InteractiveSessionHandle, type InteractiveSessionHandleOptions, type InteractiveSessionHost, type InteractiveSessionIdentity, type InteractiveSessionIncarnationId, type InteractiveSessionInfo, InteractiveSessionNotRunningError, type InteractiveSessionRef, type InteractiveSessionStartOptions, type InteractiveSessionStartResult, type InteractiveSessionStatus, type InteractiveStopCommand, type InteractiveTerminalCapture, InteractiveTerminalFrameLog, type InteractiveTerminalMetadata, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, KeyBudgetExhaustedError, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, type Line, type LineAgentRolePolicy, type LineAllowance, type LineAllowanceSubject, type LineApplication, type LineApplicationAttachOptions, type LineApplicationRequest, type LineApplicationResult, type LineApplicationState, type LineApplicationView, type LineAttachOptions, type LineAttachment, type LineAttachmentReauthorization, type LineExecutionKey, type LineFromConnectionInput, type LineImage, type LineInstanceAttachOptions, type LineInstanceCreate, type LineLimits, type LineMember, type LineMemberInstance, type LineMemberPatch, type LineMemberSpec, type LineMessage, type LineNumberInventory, type LineProvider, type LineReminderPreferences, type LineReplyCode, type LineReplyCodeInput, type LineReplyGate, type LineRespondAgent, type LineRespondView, type LineRole, type LineSendInput, type LineSendReceipt, type LineSenderVerification, type LineSenderVerificationStart, type LineThread, type LineTransport, type LineVoice, type LineVoiceOptions, LinesClient, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, ManagedProcessClient, type ManagedProcessJobs, type ManagedProcessOptions, type ManagedProcessRecord, type ManagedProcessResumeOptions, type ManagedProcessSpec, type ManagedProcessState, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintInteractiveSessionTokenOptions, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type ProfileFileDeliveryReport, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicProfileConflict, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type RawEvidenceArchiveManifest, type RawEvidenceDirectoryExport, type RawEvidenceExport, type RawEvidenceExportOptions, type RawEvidenceNativeFile, type RawEvidencePayloadFile, type RawEvidenceRecordsFile, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, ResumeEnvRequiredError, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunOptions, type RunPlacement, type RunPlacementRecord, type RunRecord, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, type RunWaitOptions, RunsClient, type RunsHttpClient, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOptions, type SandboxDeleteOutcome, type SandboxEgressUsage, type SandboxEnvRecovery, type SandboxEnvRecoveryView, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetAgent, type SandboxFleetAgentSpec, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetParent, type SandboxFleetPlacement, type SandboxFleetPolicy, type SandboxFleetProfileRef, type SandboxFleetSpend, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, SandboxLines, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, SandboxOperation, SandboxOperationFailedError, type SandboxOperationInfo, type SandboxOperationKind, type SandboxOperationState, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxRemovalState, type SandboxResourceUsage, type SandboxResources, type SandboxRunGeneration, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxShape, type SandboxShapePreset, type SandboxShapesInfo, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionExecutionInfo, type SessionExecutionStatus, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageAdmission, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotRemoteSync, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartupDiagnostics, type StartupOperation, StateError, type StopOptions, type StorageConfig, StreamInterruptedError, type StreamInterruptionReason, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalAttachTimings, type TerminalExitInfo, type TerminalInteractiveSessionIdentity, type TerminalOutputMessage, type TerminalReadyInfo, type TerminalReadyTimings, TerminalStream, type TerminalStreamApiKey, type TerminalStreamAuthFormat, type TerminalStreamBearerToken, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnBackendConfig, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, browserInteractiveControlHolderId, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createAgentRunOutcomeTracker, createBatchResultAccumulator, createConfidentialSandbox, createInteractiveControlHolderId, createInteractiveTerminalCapture, createInteractiveTerminalSession, createManageSandboxesTool, deriveAgentResultOutcome, deriveAgentRunOutcome, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, agentInteractiveSessionPromptRequestDigest as interactivePromptRequestDigest, interactiveSessionIdentityDigest, isBackendRegistryInteractionKind, isToolBearingEvent, lineInstanceKey, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseLineApplicationRequest, parseLineApplicationResult, parseSSEStream, profileChannelReference, projectAgentTerminalRecord, requestedPublicProfileDigest, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, terminalUpgradeHeadersSupported, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as parseBackendType, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-D6bYbvMB.js";
|
|
2
|
-
import { A as normalizeRuntimeBackendConfig, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, T as parseSSEStream, a as terminalUpgradeHeadersSupported, i as TerminalStreamError, j as requestedPublicProfileDigest, n as InteractiveSessionController, o as TERMINAL_WS_ECHO_SUBPROTOCOL, r as TerminalStream, t as BrowserInteractiveSessionController } from "./interactive-controller-
|
|
3
|
-
import { _ as
|
|
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-
|
|
2
|
+
import { A as normalizeRuntimeBackendConfig, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, T as parseSSEStream, a as terminalUpgradeHeadersSupported, i as TerminalStreamError, j as requestedPublicProfileDigest, n as InteractiveSessionController, o as TERMINAL_WS_ECHO_SUBPROTOCOL, r as TerminalStream, t as BrowserInteractiveSessionController } from "./interactive-controller-CJ24g8Va.js";
|
|
3
|
+
import { _ as StateError, a as EgressProxyRecoveryError, b as ValidationError, c as KeyBudgetExhaustedError, d as NotFoundError, f as PartialFailureError, g as ServerError, h as SandboxError, i as EdgeNotReadyError, 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 StreamInterruptedError, y as TimeoutError } from "./errors-DSJBKmGZ.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-CRkHfByN.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 { C as ManagedProcessClient, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as toOtelJson, M as buildTraceExportPayload, N as exportTraceBundle, P as otelTraceIdForTangleTrace, S as isToolBearingEvent, T as splitInlineProfileFileMounts, _ as SandboxOperationFailedError, b as collectAgentResponseText, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as SandboxOperation, h as createInteractiveTerminalSession, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as applySandboxEventText, w as materializeProfileFileMounts, x as getSandboxEventText, y as collectAgentFinalMessageText } from "./sandbox-
|
|
6
|
+
import { C as ManagedProcessClient, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as toOtelJson, M as buildTraceExportPayload, N as exportTraceBundle, P as otelTraceIdForTangleTrace, S as isToolBearingEvent, T as splitInlineProfileFileMounts, _ as SandboxOperationFailedError, b as collectAgentResponseText, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as SandboxOperation, h as createInteractiveTerminalSession, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as applySandboxEventText, w as materializeProfileFileMounts, x as getSandboxEventText, y as collectAgentFinalMessageText } from "./sandbox-DzSEprto.js";
|
|
7
7
|
import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
8
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-
|
|
8
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-DaJU5O0E.js";
|
|
9
9
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-Cq6dJLBD.js";
|
|
10
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
10
|
+
import { s as TangleSandboxClient } from "./tangle-DHFKq9sn.js";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
13
13
|
//#region src/confidential.ts
|
|
@@ -1482,4 +1482,4 @@ function stripUndefined(value) {
|
|
|
1482
1482
|
return Object.fromEntries(Object.entries(value).filter(([, v]) => v !== void 0).map(([k, v]) => [k, stripUndefined(v)]));
|
|
1483
1483
|
}
|
|
1484
1484
|
//#endregion
|
|
1485
|
-
export { ALL_BACKEND_TYPES, AuthError, BranchFanoutExceedsHostError, BrowserInteractiveSessionControlController, BrowserInteractiveSessionController, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, CollaborationClient, CollaborationFileBridge, DEFAULT_SANDBOX_SIZE, EdgeNotReadyError, EgressProxyRecoveryError, FileWriteConflictError, GPU_LEASE_PROVIDER_NAMES, HostedInstance, INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, Image, ImageBuilder, InstanceRestartingError, InstancesClient, IntelligenceClient, InteractiveSessionControlController, InteractiveSessionController, InteractiveSessionHandle, InteractiveSessionNotRunningError, InteractiveTerminalFrameLog, KeyBudgetExhaustedError, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, QuotaError, ResumeEnvRequiredError, RunsClient, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, Sandbox, SandboxError, SandboxFleet, SandboxFleetClient, SandboxInstance, SandboxLines, SandboxOperation, SandboxOperationFailedError, SandboxSession, SandboxTaskSession, ServerError, StateError, StreamInterruptedError, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, TerminalStream, TerminalStreamError, TimeoutError, ValidationError, WorkspaceImages, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, browserInteractiveControlHolderId, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createAgentRunOutcomeTracker, createBatchResultAccumulator, createConfidentialSandbox, createInteractiveControlHolderId, createInteractiveTerminalCapture, createInteractiveTerminalSession, createManageSandboxesTool, deriveAgentResultOutcome, deriveAgentRunOutcome, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, agentInteractiveSessionPromptRequestDigest as interactivePromptRequestDigest, interactiveSessionIdentityDigest, isBackendRegistryInteractionKind, isToolBearingEvent, lineInstanceKey, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseLineApplicationRequest, parseLineApplicationResult, parseSSEStream, profileChannelReference, projectAgentTerminalRecord, requestedPublicProfileDigest, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, terminalUpgradeHeadersSupported, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
|
1485
|
+
export { ALL_BACKEND_TYPES, AuthError, BranchFanoutExceedsHostError, BrowserInteractiveSessionControlController, BrowserInteractiveSessionController, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, CollaborationClient, CollaborationFileBridge, DEFAULT_SANDBOX_SIZE, EdgeNotReadyError, EgressProxyRecoveryError, FileWriteConflictError, GPU_LEASE_PROVIDER_NAMES, GpuProviderNotConfiguredError, HostedInstance, INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, Image, ImageBuilder, InstanceRestartingError, InstancesClient, IntelligenceClient, InteractiveSessionControlController, InteractiveSessionController, InteractiveSessionHandle, InteractiveSessionNotRunningError, InteractiveTerminalFrameLog, KeyBudgetExhaustedError, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, QuotaError, ResumeEnvRequiredError, RunsClient, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, Sandbox, SandboxError, SandboxFleet, SandboxFleetClient, SandboxInstance, SandboxLines, SandboxOperation, SandboxOperationFailedError, SandboxSession, SandboxTaskSession, ServerError, StateError, StreamInterruptedError, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, TerminalStream, TerminalStreamError, TimeoutError, ValidationError, WorkspaceImages, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, browserInteractiveControlHolderId, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createAgentRunOutcomeTracker, createBatchResultAccumulator, createConfidentialSandbox, createInteractiveControlHolderId, createInteractiveTerminalCapture, createInteractiveTerminalSession, createManageSandboxesTool, deriveAgentResultOutcome, deriveAgentRunOutcome, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, agentInteractiveSessionPromptRequestDigest as interactivePromptRequestDigest, interactiveSessionIdentityDigest, isBackendRegistryInteractionKind, isToolBearingEvent, lineInstanceKey, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseLineApplicationRequest, parseLineApplicationResult, parseSSEStream, profileChannelReference, projectAgentTerminalRecord, requestedPublicProfileDigest, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, terminalUpgradeHeadersSupported, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|