@tangle-network/sandbox 0.63.16 → 0.63.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-3p-OlQJG.d.ts → agent-run-outcome-DlYhZnhD.d.ts} +1 -1
- package/dist/{chunked-upload-B867njKv.js → chunked-upload-KJyRCAiC.js} +1 -1
- package/dist/{chunked-upload-file-Bs5qcfRB.js → chunked-upload-file-DfiGzqaR.js} +2 -2
- package/dist/{client-Be-_CMPh.js → client-Dl22CVOz.js} +7 -4
- package/dist/{client-MQkP1a3i.d.ts → client-DraGbXEP.d.ts} +7 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-CXtTwK3x.js → collaboration-XHg5BEUI.js} +1 -1
- package/dist/core.d.ts +7 -7
- package/dist/core.js +3 -3
- package/dist/{direct-http2-D8mo1ePx.js → direct-http2-Dq7tq6jV.js} +1 -1
- package/dist/{errors-BJIX8RRM.d.ts → error-classes-BWS1a9HO.d.ts} +2 -2
- package/dist/{errors-Bfhg_Zc6.js → errors-AB5BD3FM.js} +29 -27
- package/dist/{index-YVbORwwO.d.ts → index-xS3mRl69.d.ts} +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +6 -6
- package/dist/intelligence/index.js +1 -1
- package/dist/{interactive-controller-C0bJnKLu.js → interactive-controller-zE6hwv3C.js} +2 -2
- package/dist/{keep-alive-fetch-qPVvvkgJ.js → keep-alive-fetch-CXvfSczd.js} +6 -1
- package/dist/{lines-CINbUZJ6.d.ts → lines-hsXVdk60.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{managed-process-Coh-wv8s.d.ts → managed-process-B-pXdMLC.d.ts} +1 -1
- package/dist/{preview-Dyn4ECT8.d.ts → preview-D8UAF7F9.d.ts} +3 -3
- package/dist/{public-templates-CYURc1KE.d.ts → public-templates-BP3sTaSb.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-C6Y2Hzlv.js → sandbox-BJkpVtLN.js} +483 -336
- package/dist/{sandbox-BAwRXm2a.d.ts → sandbox-DDdPhk2j.d.ts} +3 -3
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DUDjP2F4.js → tangle-BBpguPfj.js} +2 -2
- package/dist/{types-B2SfJtb1.d.ts → types-BxZX2EVj.d.ts} +18 -0
- package/package.json +5 -5
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SandboxSession, m as SandboxTaskSession, n as SandboxInstance } from "../sandbox-
|
|
2
|
-
import { Fn as SandboxFleetParent, Ft as SessionListOptions, Gi as CodeExecutionResult, Ki as CodeLanguage, Nt as SessionInfo, Wi as CodeExecutionOptions, Ya as BackendConfig, ko as BackendType, qi as CodeResultPart } from "../types-
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { g as SandboxSession, m as SandboxTaskSession, n as SandboxInstance } from "../sandbox-DDdPhk2j.js";
|
|
2
|
+
import { Fn as SandboxFleetParent, Ft as SessionListOptions, Gi as CodeExecutionResult, Ki as CodeLanguage, Nt as SessionInfo, Wi as CodeExecutionOptions, Ya as BackendConfig, ko as BackendType, qi as CodeResultPart } from "../types-BxZX2EVj.js";
|
|
3
|
+
import { i as Sandbox } from "../client-DraGbXEP.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-D8UAF7F9.js";
|
|
5
5
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
6
6
|
import { JSONSchema } from "zod/v4/core";
|
|
7
7
|
import { ToolSet } from "ai";
|
package/dist/agent/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-BYHcA72Z.js";
|
|
2
|
-
import { A as assertCurrentBackendType } from "../interactive-controller-
|
|
3
|
-
import {
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
2
|
+
import { A as assertCurrentBackendType } from "../interactive-controller-zE6hwv3C.js";
|
|
3
|
+
import { m as NotFoundError, w as ValidationError, x as StateError } from "../errors-AB5BD3FM.js";
|
|
4
|
+
import { n as Sandbox } from "../client-Dl22CVOz.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-BJkpVtLN.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-D8UAF7F9.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 { Aa as DurablePlanSnapshot, Ba as SandboxEvent, Ca as AgentRunStatus, Sa as AgentQuestionRequest, wa as AgentToolInvocation, xa as AgentApprovalRequirement } from "./types-
|
|
1
|
+
import { Aa as DurablePlanSnapshot, Ba as SandboxEvent, Ca as AgentRunStatus, Sa as AgentQuestionRequest, wa as AgentToolInvocation, xa as AgentApprovalRequirement } from "./types-BxZX2EVj.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 { C as TimeoutError, D as FILE_UPLOAD_SESSION_MAX_BYTES, E as isPayloadTooLargeErrorBody, T as isFileTooLargeErrorBody, _ as QuotaError, b as ServerError, p as NetworkError, t as parseErrorResponse, y as SandboxError } from "./errors-AB5BD3FM.js";
|
|
2
2
|
//#region src/lib/chunked-upload.ts
|
|
3
3
|
/**
|
|
4
4
|
* Chunked upload — the sanctioned SDK path for delivering payloads larger
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as FILE_UPLOAD_SESSION_MAX_BYTES } from "./errors-
|
|
2
|
-
import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-
|
|
1
|
+
import { D as FILE_UPLOAD_SESSION_MAX_BYTES } from "./errors-AB5BD3FM.js";
|
|
2
|
+
import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-KJyRCAiC.js";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { open } from "node:fs/promises";
|
|
5
5
|
//#region src/lib/chunked-upload-file.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as backendTypeSchema } from "./backend-types-D6bYbvMB.js";
|
|
2
|
-
import { A as assertCurrentBackendType, E as encodePromptForWire, I as withProfileHarness, L as withoutCreateOnlyModelFields, N as normalizeRuntimeBackendConfig, O as parseSSEStream, c as requestInteractiveSessionToken, j as foldModelRoutingFields, k as applyRequestedModel } from "./interactive-controller-
|
|
3
|
-
import { C as
|
|
2
|
+
import { A as assertCurrentBackendType, E as encodePromptForWire, I as withProfileHarness, L as withoutCreateOnlyModelFields, N as normalizeRuntimeBackendConfig, O as parseSSEStream, c as requestInteractiveSessionToken, j as foldModelRoutingFields, k as applyRequestedModel } from "./interactive-controller-zE6hwv3C.js";
|
|
3
|
+
import { C as TimeoutError, _ as QuotaError, b as ServerError, f as NON_RETRYABLE_CREATE_QUOTA_REASONS, h as PartialFailureError, i as AuthError, m as NotFoundError, n as parseResponseError, p as NetworkError, r as readResponseJson, t as parseErrorResponse, u as GpuProviderNotConfiguredError, w as ValidationError, y as SandboxError } from "./errors-AB5BD3FM.js";
|
|
4
4
|
import { f as combineAbortSignals } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
5
|
-
import { A as rewrapResponse, C as isRetryableProfileFileMaterializeFailure, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, M as exportTraceBundle, O as normalizeConnection, T as splitInlineProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof } from "./sandbox-
|
|
6
|
-
import { n as fetchWithKeepAlive } from "./keep-alive-fetch-
|
|
5
|
+
import { A as rewrapResponse, C as isRetryableProfileFileMaterializeFailure, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, M as exportTraceBundle, O as normalizeConnection, T as splitInlineProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof } from "./sandbox-BJkpVtLN.js";
|
|
6
|
+
import { n as fetchWithKeepAlive } from "./keep-alive-fetch-CXvfSczd.js";
|
|
7
7
|
import { LinesClient } from "./lines.js";
|
|
8
8
|
import { PublicTemplatesClient } from "./public-templates.js";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -3417,6 +3417,8 @@ var Sandbox = class Sandbox {
|
|
|
3417
3417
|
trustLocalCliAuth;
|
|
3418
3418
|
/** Receives the SDK's timing spans; see `SandboxConfig.onTiming`. */
|
|
3419
3419
|
onTiming;
|
|
3420
|
+
/** See `SandboxConfig.directExec`. */
|
|
3421
|
+
directExec;
|
|
3420
3422
|
_secrets = null;
|
|
3421
3423
|
_sshKeys = null;
|
|
3422
3424
|
_fleets = null;
|
|
@@ -3434,6 +3436,7 @@ var Sandbox = class Sandbox {
|
|
|
3434
3436
|
this.timeoutMs = config.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
3435
3437
|
this.trustLocalCliAuth = config.trustLocalCliAuth === true;
|
|
3436
3438
|
this.onTiming = config.onTiming;
|
|
3439
|
+
this.directExec = config.directExec !== false;
|
|
3437
3440
|
}
|
|
3438
3441
|
/**
|
|
3439
3442
|
* Fleet operations for agent-managed groups of sandboxes.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { $t as FleetAgentResult, An as SandboxFleetMachineRecord, Bn as SandboxFleetToken, Cn as SandboxFleetDispatchResponse, D as SshKeysManager, E as SecretsManager, En as SandboxFleetInfo, F as UsageInfo, Fn as SandboxFleetParent, Gn as SandboxFleetUsage, Ia as IntelligenceReportWindow, Jn as SandboxFleetWorkspaceRestoreResult, Jt as CreateSandboxFleetOptions, La as PromptInputPart, Ln as SandboxFleetPolicy, Ma as IntelligenceReport, Mn as SandboxFleetManifest, N as SandboxIdentity, Na as IntelligenceReportBudget, P as SubscriptionInfo, Pa as IntelligenceReportCompareTo, Pn as SandboxFleetOperationsSummary, Ra as PromptOptions, Ta as CreateIntelligenceReportOptions, Vn as SandboxFleetTraceBundle, Wn as SandboxFleetTraceOptions, Xn as ListSandboxOptions, Xt as CreateSandboxFleetWithCoordinatorOptions, Ya as BackendConfig, Yn as SandboxFleetWorkspaceSnapshotResult, Yt as CreateSandboxFleetTokenOptions, Zt as FleetAgentId, _a as BatchRunOptions, _n as SandboxFleetAgent, a as DeleteMatchingSandboxesOptions, an as FleetExecDispatchOptions, bi as SandboxEnvironment, bn as SandboxFleetArtifactSpec, br as SandboxConfig, cn as FleetPromptDispatchOptions, dn as FleetRunOptions, dt as TokenRefreshHandler, ea as HttpClient, er as SandboxInfo, fn as ListSandboxFleetOptions, ga as BatchResult, gn as ReconcileSandboxFleetsResult, gt as ConversationTurnResult, hi as ExecResult, hn as ReconcileSandboxFleetsOptions, ht as ConversationTurnOptions, i as DeleteMatchingSandboxesFilter, in as FleetDispatchStreamOptions, jn as SandboxFleetMachineSpec, ln as FleetPromptDispatchResult, lt as FleetDriveTurnOutcome, mi as ExecOptions, mn as ReapExpiredSandboxFleetsResult, na as SdkTimingHook, nn as FleetDispatchResultBuffer, o as DeleteMatchingSandboxesResult, on as FleetExecDispatchResult, pn as ReapExpiredSandboxFleetsOptions, qn as SandboxFleetWorkspaceReconcileResult, qt as AttachSandboxFleetMachineOptions, rn as FleetDispatchResultBufferOptions, rr as SandboxRunGeneration, sn as FleetMachineId, tn as FleetDispatchCancelResult, un as FleetRunEvent, ut as FleetDriveTurnRequest, va as BatchRunRequest, vr as CreateRequestOptions, wn as SandboxFleetDriverCapability, wo as BatchEvent, wr as SandboxShapesInfo, xn as SandboxFleetCostEstimate, yn as SandboxFleetArtifact, yr as CreateSandboxOptions, za as PromptResult, zn as SandboxFleetSpend } from "./types-
|
|
1
|
+
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-DDdPhk2j.js";
|
|
2
|
+
import { $t as FleetAgentResult, An as SandboxFleetMachineRecord, Bn as SandboxFleetToken, Cn as SandboxFleetDispatchResponse, D as SshKeysManager, E as SecretsManager, En as SandboxFleetInfo, F as UsageInfo, Fn as SandboxFleetParent, Gn as SandboxFleetUsage, Ia as IntelligenceReportWindow, Jn as SandboxFleetWorkspaceRestoreResult, Jt as CreateSandboxFleetOptions, La as PromptInputPart, Ln as SandboxFleetPolicy, Ma as IntelligenceReport, Mn as SandboxFleetManifest, N as SandboxIdentity, Na as IntelligenceReportBudget, P as SubscriptionInfo, Pa as IntelligenceReportCompareTo, Pn as SandboxFleetOperationsSummary, Ra as PromptOptions, Ta as CreateIntelligenceReportOptions, Vn as SandboxFleetTraceBundle, Wn as SandboxFleetTraceOptions, Xn as ListSandboxOptions, Xt as CreateSandboxFleetWithCoordinatorOptions, Ya as BackendConfig, Yn as SandboxFleetWorkspaceSnapshotResult, Yt as CreateSandboxFleetTokenOptions, Zt as FleetAgentId, _a as BatchRunOptions, _n as SandboxFleetAgent, a as DeleteMatchingSandboxesOptions, an as FleetExecDispatchOptions, bi as SandboxEnvironment, bn as SandboxFleetArtifactSpec, br as SandboxConfig, cn as FleetPromptDispatchOptions, dn as FleetRunOptions, dt as TokenRefreshHandler, ea as HttpClient, er as SandboxInfo, fn as ListSandboxFleetOptions, ga as BatchResult, gn as ReconcileSandboxFleetsResult, gt as ConversationTurnResult, hi as ExecResult, hn as ReconcileSandboxFleetsOptions, ht as ConversationTurnOptions, i as DeleteMatchingSandboxesFilter, in as FleetDispatchStreamOptions, jn as SandboxFleetMachineSpec, ln as FleetPromptDispatchResult, lt as FleetDriveTurnOutcome, mi as ExecOptions, mn as ReapExpiredSandboxFleetsResult, na as SdkTimingHook, nn as FleetDispatchResultBuffer, o as DeleteMatchingSandboxesResult, on as FleetExecDispatchResult, pn as ReapExpiredSandboxFleetsOptions, qn as SandboxFleetWorkspaceReconcileResult, qt as AttachSandboxFleetMachineOptions, rn as FleetDispatchResultBufferOptions, rr as SandboxRunGeneration, sn as FleetMachineId, tn as FleetDispatchCancelResult, un as FleetRunEvent, ut as FleetDriveTurnRequest, va as BatchRunRequest, vr as CreateRequestOptions, wn as SandboxFleetDriverCapability, wo as BatchEvent, wr as SandboxShapesInfo, xn as SandboxFleetCostEstimate, yn as SandboxFleetArtifact, yr as CreateSandboxOptions, za as PromptResult, zn as SandboxFleetSpend } from "./types-BxZX2EVj.js";
|
|
3
3
|
import { d as MintInteractiveSessionTokenOptions, p as ScopedToken } from "./terminal-stream-DgD7GlFi.js";
|
|
4
|
-
import { L as LinesClient } from "./lines-
|
|
5
|
-
import { g as SandboxError } from "./
|
|
6
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
4
|
+
import { L as LinesClient } from "./lines-hsXVdk60.js";
|
|
5
|
+
import { g as SandboxError } from "./error-classes-BWS1a9HO.js";
|
|
6
|
+
import { a as PublicTemplatesClient } from "./public-templates-BP3sTaSb.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { AgentInteractiveSessionRef, AgentProfile } from "@tangle-network/agent-interface";
|
|
9
9
|
|
|
@@ -669,6 +669,8 @@ declare class Sandbox implements HttpClient, ScopedTokenHttpClient {
|
|
|
669
669
|
private readonly trustLocalCliAuth;
|
|
670
670
|
/** Receives the SDK's timing spans; see `SandboxConfig.onTiming`. */
|
|
671
671
|
readonly onTiming: SdkTimingHook | undefined;
|
|
672
|
+
/** See `SandboxConfig.directExec`. */
|
|
673
|
+
readonly directExec: boolean;
|
|
672
674
|
private _secrets;
|
|
673
675
|
private _sshKeys;
|
|
674
676
|
private _fleets;
|
|
@@ -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-XHg5BEUI.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as TimeoutError, p as NetworkError, t as parseErrorResponse } from "./errors-AB5BD3FM.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,10 +1,10 @@
|
|
|
1
|
-
import { _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-
|
|
2
|
-
import { $i as ManagedProcessState, J as PreviewLinkInfo, Ji as ManagedProcessJobs, La as PromptInputPart, Lt as SessionMessageAdmission, Pr as NetworkConfig, Qi as ManagedProcessSpec, Tr as SandboxStatus, X as PreviewLinkWaitOptions, Xi as ManagedProcessRecord, Y as PreviewLinkManager, Yi as ManagedProcessOptions, Zi as ManagedProcessResumeOptions, br as SandboxConfig, co as SandboxEnvRecovery, er as SandboxInfo, gt as ConversationTurnResult, hi as ExecResult, ht as ConversationTurnOptions, lo as SandboxEnvRecoveryView, mi as ExecOptions, yr as CreateSandboxOptions } from "./types-
|
|
3
|
-
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, S as LineReminderPreferences, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, n as LineAgentRolePolicy, p as LineInstanceCreate, q as LineApplicationState, s as LineAttachment, t as Line, w as LineReplyCodeInput, x as LineProvider } from "./lines-
|
|
4
|
-
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./
|
|
5
|
-
import { A as BackendRegistryEntry, C as InstancesClient, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, _ as EnsureInstanceOptions, b as InstanceRecord, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, v as HostedInstance, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-
|
|
6
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
7
|
-
import { t as ManagedProcessClient } from "./managed-process-
|
|
1
|
+
import { _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-DDdPhk2j.js";
|
|
2
|
+
import { $i as ManagedProcessState, J as PreviewLinkInfo, Ji as ManagedProcessJobs, La as PromptInputPart, Lt as SessionMessageAdmission, Pr as NetworkConfig, Qi as ManagedProcessSpec, Tr as SandboxStatus, X as PreviewLinkWaitOptions, Xi as ManagedProcessRecord, Y as PreviewLinkManager, Yi as ManagedProcessOptions, Zi as ManagedProcessResumeOptions, br as SandboxConfig, co as SandboxEnvRecovery, er as SandboxInfo, gt as ConversationTurnResult, hi as ExecResult, ht as ConversationTurnOptions, lo as SandboxEnvRecoveryView, mi as ExecOptions, yr as CreateSandboxOptions } from "./types-BxZX2EVj.js";
|
|
3
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, S as LineReminderPreferences, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, n as LineAgentRolePolicy, p as LineInstanceCreate, q as LineApplicationState, s as LineAttachment, t as Line, w as LineReplyCodeInput, x as LineProvider } from "./lines-hsXVdk60.js";
|
|
4
|
+
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./error-classes-BWS1a9HO.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-DraGbXEP.js";
|
|
6
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BP3sTaSb.js";
|
|
7
|
+
import { t as ManagedProcessClient } from "./managed-process-B-pXdMLC.js";
|
|
8
8
|
|
|
9
9
|
//#region src/core.d.ts
|
|
10
10
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
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 { S as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
1
|
+
import { C as TimeoutError, _ as QuotaError, b as ServerError, g as ProfileFileMountPathError, h as PartialFailureError, i as AuthError, l as FileWriteConflictError, m as NotFoundError, o as CapabilityError, p as NetworkError, w as ValidationError, x as StateError, y as SandboxError } from "./errors-AB5BD3FM.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-Dl22CVOz.js";
|
|
3
|
+
import { S as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-BJkpVtLN.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
6
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-UtPFP0o4.js";
|
|
@@ -105,12 +105,7 @@ function isFileTooLargeErrorBody(value) {
|
|
|
105
105
|
return isSizeLimitErrorBodyFor(value, FILE_TOO_LARGE_CODE);
|
|
106
106
|
}
|
|
107
107
|
//#endregion
|
|
108
|
-
//#region src/
|
|
109
|
-
/**
|
|
110
|
-
* Sandbox SDK Errors
|
|
111
|
-
*
|
|
112
|
-
* Error classes for the Sandbox client SDK.
|
|
113
|
-
*/
|
|
108
|
+
//#region src/error-classes.ts
|
|
114
109
|
/**
|
|
115
110
|
* Base error class for all Sandbox SDK errors.
|
|
116
111
|
*/
|
|
@@ -210,12 +205,6 @@ const NON_RETRYABLE_CREATE_QUOTA_REASONS = new Set([
|
|
|
210
205
|
"CREDIT_EXHAUSTED",
|
|
211
206
|
"EGRESS_LIMIT"
|
|
212
207
|
]);
|
|
213
|
-
function quotaTypeFromResponse(data, reason) {
|
|
214
|
-
const normalizedReason = reason?.trim().toUpperCase();
|
|
215
|
-
if (normalizedReason && NON_RETRYABLE_CREATE_QUOTA_REASONS.has(normalizedReason)) return normalizedReason;
|
|
216
|
-
if (typeof data.quotaType === "string" && data.quotaType.trim()) return data.quotaType;
|
|
217
|
-
return "rate_limit";
|
|
218
|
-
}
|
|
219
208
|
/**
|
|
220
209
|
* The requested capability is unavailable for the account, driver, or sandbox.
|
|
221
210
|
*/
|
|
@@ -242,20 +231,6 @@ var GpuProviderNotConfiguredError = class extends CapabilityError {
|
|
|
242
231
|
this.providers = providers;
|
|
243
232
|
}
|
|
244
233
|
};
|
|
245
|
-
function readGpuProviderRequirements(data) {
|
|
246
|
-
return (Array.isArray(data.providers) ? data.providers : []).flatMap((entry) => {
|
|
247
|
-
if (!isFailureDetail(entry)) return [];
|
|
248
|
-
const provider = asString(entry.provider);
|
|
249
|
-
const state = asString(entry.state);
|
|
250
|
-
const envVars = Array.isArray(entry.envVars) ? entry.envVars : [];
|
|
251
|
-
if (!provider || !state) return [];
|
|
252
|
-
return [{
|
|
253
|
-
provider,
|
|
254
|
-
state,
|
|
255
|
-
envVars: envVars.filter((name) => typeof name === "string")
|
|
256
|
-
}];
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
234
|
/**
|
|
260
235
|
* A multi-resource operation failed for one or more branches.
|
|
261
236
|
*/
|
|
@@ -516,6 +491,33 @@ var ServerError = class extends SandboxError {
|
|
|
516
491
|
this.name = "ServerError";
|
|
517
492
|
}
|
|
518
493
|
};
|
|
494
|
+
//#endregion
|
|
495
|
+
//#region src/errors.ts
|
|
496
|
+
/**
|
|
497
|
+
* Sandbox SDK Errors
|
|
498
|
+
*
|
|
499
|
+
* Error classes for the Sandbox client SDK.
|
|
500
|
+
*/
|
|
501
|
+
function quotaTypeFromResponse(data, reason) {
|
|
502
|
+
const normalizedReason = reason?.trim().toUpperCase();
|
|
503
|
+
if (normalizedReason && NON_RETRYABLE_CREATE_QUOTA_REASONS.has(normalizedReason)) return normalizedReason;
|
|
504
|
+
if (typeof data.quotaType === "string" && data.quotaType.trim()) return data.quotaType;
|
|
505
|
+
return "rate_limit";
|
|
506
|
+
}
|
|
507
|
+
function readGpuProviderRequirements(data) {
|
|
508
|
+
return (Array.isArray(data.providers) ? data.providers : []).flatMap((entry) => {
|
|
509
|
+
if (!isFailureDetail(entry)) return [];
|
|
510
|
+
const provider = asString(entry.provider);
|
|
511
|
+
const state = asString(entry.state);
|
|
512
|
+
const envVars = Array.isArray(entry.envVars) ? entry.envVars : [];
|
|
513
|
+
if (!provider || !state) return [];
|
|
514
|
+
return [{
|
|
515
|
+
provider,
|
|
516
|
+
state,
|
|
517
|
+
envVars: envVars.filter((name) => typeof name === "string")
|
|
518
|
+
}];
|
|
519
|
+
});
|
|
520
|
+
}
|
|
519
521
|
function parseRetryAfterMs(rawValue, data) {
|
|
520
522
|
if (typeof data.retryAfterMs === "number" && Number.isFinite(data.retryAfterMs)) return Math.max(0, data.retryAfterMs);
|
|
521
523
|
if (!rawValue) return void 0;
|
|
@@ -692,4 +694,4 @@ function readResponseJson(response) {
|
|
|
692
694
|
});
|
|
693
695
|
}
|
|
694
696
|
//#endregion
|
|
695
|
-
export { PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE as A,
|
|
697
|
+
export { PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE as A, TimeoutError as C, FILE_UPLOAD_SESSION_MAX_BYTES as D, isPayloadTooLargeErrorBody as E, SANDBOX_FILE_API_ABSOLUTE_ROOTS as M, isProfileFileMountOutsideRoots as N, SANDBOX_PROXY_REQUEST_MAX_BYTES as O, profileFileMountOutsideRootsMessage as P, StreamInterruptedError as S, isFileTooLargeErrorBody as T, QuotaError as _, BranchFanoutExceedsHostError as a, ServerError as b, EgressProxyRecoveryError as c, KeyBudgetExhaustedError as d, NON_RETRYABLE_CREATE_QUOTA_REASONS as f, ProfileFileMountPathError as g, PartialFailureError as h, AuthError as i, SANDBOX_AGENT_HOME as j, FILE_DECODED_WRITE_MAX_BYTES as k, FileWriteConflictError as l, NotFoundError as m, parseResponseError as n, CapabilityError as o, NetworkError as p, readResponseJson as r, EdgeNotReadyError as s, parseErrorResponse as t, GpuProviderNotConfiguredError as u, ResumeEnvRequiredError as v, ValidationError as w, StateError as x, SandboxError as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { ea as HttpClient, yr as CreateSandboxOptions } from "./types-
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-DDdPhk2j.js";
|
|
2
|
+
import { ea as HttpClient, yr as CreateSandboxOptions } from "./types-BxZX2EVj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { $ as BuildControlPlaneMcpConfigOptions, A as InteractivePromptCommand, B as InteractiveStopCommand, C as splitInlineProfileFileMounts, D as SandboxOperationFailedError, E as SandboxOperation, F as InteractiveSessionIncarnationId, G as InteractiveTerminalFrameLog, H as RespondToPermissionOptions, I as InteractiveSessionInfo, J as createInteractiveTerminalSession, K as InteractiveTerminalMetadata, L as InteractiveSessionRef, M as InteractiveSessionHandle, N as InteractiveSessionHandleOptions, O as AgentInteractiveTerminalSession, P as InteractiveSessionHost, Q as SandboxInteractionResult, R as InteractiveSessionStartOptions, S as materializeProfileFileMounts, T as validateDeferredProfileFileMounts, U as agentInteractiveSessionPromptRequestDigest, V as InterruptResult, W as InteractiveTerminalCapture, X as SandboxInteractionConflict, Y as SandboxInteractionCommandResult, Z as SandboxInteractionResolution, _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, at as SandboxMcpServerEntry, b as SplitInlineProfileFileMountsResult, c as TraceExportResult, d as exportTraceBundle, et as BuildSandboxMcpConfigOptions, f as otelTraceIdForTangleTrace, g as SandboxSession, h as RawEvidenceExport, i as WorkspaceImagePublishRequestOptions, it as SandboxMcpEndpoint, j as InteractiveSessionControlClaim, k as InteractiveControlClaimRequest, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, nt as SANDBOX_MCP_SERVER_NAME, o as WorkspaceImages, ot as buildControlPlaneMcpConfig, p as toOtelJson, q as createInteractiveTerminalCapture, r as WorkspaceImagePublishInput, rt as SandboxMcpConfig, s as TraceExportFormat, st as buildSandboxMcpConfig, t as ForkAcknowledgement, tt as CONTROL_PLANE_MCP_SERVER_NAME, u as buildTraceExportPayload, v as MaterializeProfileFileMountsOptions, w as splitInlineProfileSkills, x as SplitInlineProfileSkillsResult, y as MaterializeProfileFileMountsResult, z as InteractiveSessionStartResult } from "./sandbox-
|
|
2
|
-
import { $ as BackendManager, $a as BackendStatus, $i as ManagedProcessState, $n as SandboxConnection, $r as FileTreeOptions, $t as FleetAgentResult, A as ProvisionStatus, Ai as GpuLeaseBilling, An as SandboxFleetMachineRecord, Ao as parseBackendType, Ar as EgressDenial, At as SessionExecutionStatus, B as Process, Ba as SandboxEvent, Bi as GpuLeaseStatus, Bn as SandboxFleetToken, Br as ChunkedUploadResult, Bt as SessionStatus, C as StopOptions, Ci as CreateGpuLeaseOptions, Cn as SandboxFleetDispatchResponse, Co as BatchBackendStats, Cr as SandboxShapePreset, Ct as PublicProfileConflict, Da as DurablePlanDecisionOptions, Di as DriverType, Dn as SandboxFleetIntelligenceEnvelope, Do as BatchTaskUsage, Dr as SandboxResourceUsage, Dt as SessionBackendCredentials, E as SecretsManager, Ea as DurablePlan, Ei as DriverInfo, En as SandboxFleetInfo, Eo as BatchSidecarGroup, Er as SecretBinding, Et as SentSessionMessage, F as UsageInfo, Fa as IntelligenceReportSubjectType, Fi as GpuLeaseProviderName, Fn as SandboxFleetParent, Fr as NetworkManager, Ft as SessionListOptions, G as ProcessSignal, Ga as SandboxTraceOptions, Gn as SandboxFleetUsage, Gr as FileInfo, Gt as TaskSessionProfile, H as ProcessListOptions, Ha as SandboxTraceBundle, Hi as HostAgentRuntimeBackend, Hn as SandboxFleetTraceEvent, Hr as DownloadOptions, Ht as TaskSessionCommitResult, I as WaitForOptions, Ia as IntelligenceReportWindow, Ii as GpuLeaseProviderState, In as SandboxFleetPlacement, Ir as SandboxEgressUsage, It as SessionMessage, J as PreviewLinkInfo, Ja as BackendCapabilities, Ji as ManagedProcessJobs, Jn as SandboxFleetWorkspaceRestoreResult, Jr as FileReadError, Jt as CreateSandboxFleetOptions, K as ProcessSpawnOptions, Ka as TokenUsage, Kn as SandboxFleetWorkspace, Kr as FileReadBatchOptions, Kt as TurnDriveResult, L as DevServerInfo, La as PromptInputPart, Li as GpuLeaseProviderStatus, Ln as SandboxFleetPolicy, Lr as GitAuth, Lt as SessionMessageAdmission, Ma as IntelligenceReport, Mi as GpuLeaseExecOptions, Mn as SandboxFleetManifest, Mr as EgressPolicy, Mt as SessionForkOptions, N as SandboxIdentity, Na as IntelligenceReportBudget, Ni as GpuLeaseExecResult, Nn as SandboxFleetManifestMachine, Nr as MAX_EGRESS_DENIALS_LIMIT, Nt as SessionInfo, O as ProvisionEvent, Oa as DurablePlanDecisionResult, Oi as GPU_LEASE_PROVIDER_NAMES, On as SandboxFleetMachine, Oo as ALL_BACKEND_TYPES, Or as SandboxRuntimeCapabilities, Ot as SessionEventStreamOptions, P as SubscriptionInfo, Pa as IntelligenceReportCompareTo, Pi as GpuLeaseManager, Pn as SandboxFleetOperationsSummary, Pr as NetworkConfig, Pt as SessionInterruptOptions, Q as AddUserOptions, Qa as BackendRuntimeConfigUpdate, Qi as ManagedProcessSpec, Qn as SSHCredentials, Qr as FileTreeFile, Qt as FleetAgentPlacement, R as EnsureDevServerOptions, Ra as PromptOptions, Ri as GpuLeaseProviders, Rn as SandboxFleetProfileRef, Rr as GitConfig, Rt as SessionMessageInputPart, S as SnapshotResult, Si as AttachGpuLeaseOptions, Sn as SandboxFleetDispatchFailureClass, So as PublicBatchRunRequest, Sr as SandboxShape, St as ListMessagesOptions, T as SecretInfo, Ta as CreateIntelligenceReportOptions, Ti as DriverConfig, Tn as SandboxFleetDriverTimings, To as BatchEventDataMap, Tr as SandboxStatus, Tt as SendSessionMessageRequest, U as ProcessLogEntry, Ua as SandboxTraceEvent, Ui as NonHostAgentDriverConfig, Un as SandboxFleetTraceExport, Ur as DownloadProgress, Ut as TaskSessionFileChange, V as ProcessInfo, Va as SandboxIntelligenceEnvelope, Vi as HostAgentDriverConfig, Vn as SandboxFleetTraceBundle, Vr as DeleteOptions, Vt as TaskSessionChanges, W as ProcessManager, Wa as SandboxTraceExport, Wn as SandboxFleetTraceOptions, Wr as DownloadResult, Wt as TaskSessionInfo, X as PreviewLinkWaitOptions, Xa as BackendInfo, Xi as ManagedProcessRecord, Xn as ListSandboxOptions, Xr as FileRenameResult, Xt as CreateSandboxFleetWithCoordinatorOptions, Y as PreviewLinkManager, Ya as BackendConfig, Yi as ManagedProcessOptions, Yn as SandboxFleetWorkspaceSnapshotResult, Yr as FileReadResult, Z as AccessPolicyRule, Za as BackendMcpServerStatus, Zi as ManagedProcessResumeOptions, Zn as SSHCommandDescriptor, Zr as FileSystem, Zt as FleetAgentId, _ as SnapshotIdempotency, _a as BatchRunOptions, _i as PublicTemplateVersionInfo, _n as SandboxFleetAgent, _o as RawEvidenceExportOptions, _r as TeePublicKeyResponse, _t as CreateSessionOptions, a as DeleteMatchingSandboxesOptions, aa as ForkIdempotency, ai as MkdirOptions, an as FleetExecDispatchOptions, ao as SandboxCreateOutcome, ar as SandboxTerminalAttachOptions, at as GitBranch, ba as BatchTaskResult, bi as SandboxEnvironment, bn as SandboxFleetArtifactSpec, bo as RawEvidenceRecordsFile, br as SandboxConfig, bt as DispatchedSession, c as SandboxDeleteAcknowledgement, ca as RolloutChildResult, ci as UploadProgress, cn as FleetPromptDispatchOptions, co as SandboxEnvRecovery, cr as SandboxTerminalManager, ct as GitStatus, d as SandboxOperationInfo, da as RolloutStartResult, di as WriteManyOptions, dn as FleetRunOptions, do as RawEvidenceArchiveManifest, dr as StartupDiagnostics, dt as TokenRefreshHandler, ei as FileTreeResult, en as FleetAgentRunStatus, eo as EffectiveBackend, er as SandboxInfo, et as DirectoryPermission, f as SandboxOperationKind, fa as RolloutStatus, fi as SearchMatch, fn as ListSandboxFleetOptions, fo as RawEvidenceArchiveManifestNative, fr as StartupOperation, ft as CommitTaskSessionOptions, g as SnapshotDeleteOutcome, ga as BatchResult, gi as PublicTemplateInfo, gn as ReconcileSandboxFleetsResult, go as RawEvidenceDirectoryExport, gr as TeePublicKey, gt as ConversationTurnResult, h as SnapshotDeleteAcknowledgement, ha as BatchBackend, hi as ExecResult, hn as ReconcileSandboxFleetsOptions, ho as RawEvidenceBoxExportOptions, hr as TeeAttestationResponse, ht as ConversationTurnOptions, i as DeleteMatchingSandboxesFilter, ia as ForkCounts, ii as ListOptions, in as FleetDispatchStreamOptions, io as RouterRoutingOptions, ir as SandboxRuntimeHealth, it as UpdateUserOptions, j as ProvisionStep, ja as EventStreamOptions, ji as GpuLeaseCommandResult, jn as SandboxFleetMachineSpec, jr as EgressManager, jt as SessionFailureReason, k as ProvisionResult, ka as DurablePlanFollowUpResume, ki as GpuLease, kn as SandboxFleetMachineMeteredUsage, ko as BackendType, kr as StorageConfig, kt as SessionExecutionInfo, l as SandboxDeleteOptions, la as RolloutOptions, li as WriteFileOptions, ln as FleetPromptDispatchResult, lo as SandboxEnvRecoveryView, lr as SandboxTerminalRequestOptions, lt as FleetDriveTurnOutcome, m as SandboxRemovalState, ma as WaitForRolloutOptions, mi as ExecOptions, mn as ReapExpiredSandboxFleetsResult, mo as RawEvidenceBoxDirectoryExport, mr as TeeAttestationReport, mt as CompletedTurnResult, n as DeleteMatchingSandboxOutcome, ni as FileUsageResult, nn as FleetDispatchResultBuffer, no as EffectiveBackendSource, nr as SandboxPortPreviewLink, nt as PermissionsManager, o as DeleteMatchingSandboxesResult, oa as ForkLookupOptions, oi as RenameOptions, oo as SandboxCreateReceipt, or as SandboxTerminalCreateOptions, ot as GitCommit, p as SandboxOperationState, pa as RolloutTurnPart, pi as SearchOptions, pn as ReapExpiredSandboxFleetsOptions, po as RawEvidenceBoxArchiveManifest, pr as TeeAttestationOptions, pt as CompletedTurnPayload, q as ProcessStatus, qa as TurnBackendConfig, qn as SandboxFleetWorkspaceReconcileResult, qr as FileReadBatchResult, qt as AttachSandboxFleetMachineOptions, r as DeleteMatchingSandboxResult, ra as BranchOptions, ri as FileWriteResult, rn as FleetDispatchResultBufferOptions, ro as McpServerConfig, rr as SandboxRunGeneration, rt as SandboxUser, sa as Rollout, si as UploadOptions, sn as FleetMachineId, sr as SandboxTerminalInfo, st as GitDiff, t as InstalledTool, ti as FileUsageOptions, tn as FleetDispatchCancelResult, to as EffectiveBackendProfile, tr as SandboxPortBinding, tt as PermissionLevel, u as SandboxDeleteOutcome, ua as RolloutScorer, ui as WriteManyFile, un as FleetRunEvent, uo as NativeStoreHomeCopy, ur as SandboxTerminals, ut as FleetDriveTurnRequest, v as SnapshotInfo, va as BatchRunRequest, vi as PublishPublicTemplateOptions, vn as SandboxFleetAgentSpec, vo as RawEvidenceNativeFile, vr as CreateRequestOptions, vt as CreateTaskSessionOptions, w as WorkspaceOperationLookup, wi as DockerDriverConfig, wn as SandboxFleetDriverCapability, wo as BatchEvent, wr as SandboxShapesInfo, wt as SendSessionMessageOptions, x as SnapshotRemoteSync, xi as AcceleratorKind, xn as SandboxFleetCostEstimate, xr as SandboxResources, xt as DriveTurnOptions, y as SnapshotOptions, ya as BatchTask, yi as PublishPublicTemplateVersionOptions, yn as SandboxFleetArtifact, yo as RawEvidencePayloadFile, yr as CreateSandboxOptions, yt as DispatchPromptOptions, z as ExactProcessSpawnOptions, za as PromptResult, zi as GpuLeaseProvidersOptions, zn as SandboxFleetSpend, zr as ChunkedUploadOptions, zt as SessionResultOptions } from "./types-
|
|
1
|
+
import { $ as BuildControlPlaneMcpConfigOptions, A as InteractivePromptCommand, B as InteractiveStopCommand, C as splitInlineProfileFileMounts, D as SandboxOperationFailedError, E as SandboxOperation, F as InteractiveSessionIncarnationId, G as InteractiveTerminalFrameLog, H as RespondToPermissionOptions, I as InteractiveSessionInfo, J as createInteractiveTerminalSession, K as InteractiveTerminalMetadata, L as InteractiveSessionRef, M as InteractiveSessionHandle, N as InteractiveSessionHandleOptions, O as AgentInteractiveTerminalSession, P as InteractiveSessionHost, Q as SandboxInteractionResult, R as InteractiveSessionStartOptions, S as materializeProfileFileMounts, T as validateDeferredProfileFileMounts, U as agentInteractiveSessionPromptRequestDigest, V as InterruptResult, W as InteractiveTerminalCapture, X as SandboxInteractionConflict, Y as SandboxInteractionCommandResult, Z as SandboxInteractionResolution, _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, at as SandboxMcpServerEntry, b as SplitInlineProfileFileMountsResult, c as TraceExportResult, d as exportTraceBundle, et as BuildSandboxMcpConfigOptions, f as otelTraceIdForTangleTrace, g as SandboxSession, h as RawEvidenceExport, i as WorkspaceImagePublishRequestOptions, it as SandboxMcpEndpoint, j as InteractiveSessionControlClaim, k as InteractiveControlClaimRequest, l as TraceExportSink, m as SandboxTaskSession, n as SandboxInstance, nt as SANDBOX_MCP_SERVER_NAME, o as WorkspaceImages, ot as buildControlPlaneMcpConfig, p as toOtelJson, q as createInteractiveTerminalCapture, r as WorkspaceImagePublishInput, rt as SandboxMcpConfig, s as TraceExportFormat, st as buildSandboxMcpConfig, t as ForkAcknowledgement, tt as CONTROL_PLANE_MCP_SERVER_NAME, u as buildTraceExportPayload, v as MaterializeProfileFileMountsOptions, w as splitInlineProfileSkills, x as SplitInlineProfileSkillsResult, y as MaterializeProfileFileMountsResult, z as InteractiveSessionStartResult } from "./sandbox-DDdPhk2j.js";
|
|
2
|
+
import { $ as BackendManager, $a as BackendStatus, $i as ManagedProcessState, $n as SandboxConnection, $r as FileTreeOptions, $t as FleetAgentResult, A as ProvisionStatus, Ai as GpuLeaseBilling, An as SandboxFleetMachineRecord, Ao as parseBackendType, Ar as EgressDenial, At as SessionExecutionStatus, B as Process, Ba as SandboxEvent, Bi as GpuLeaseStatus, Bn as SandboxFleetToken, Br as ChunkedUploadResult, Bt as SessionStatus, C as StopOptions, Ci as CreateGpuLeaseOptions, Cn as SandboxFleetDispatchResponse, Co as BatchBackendStats, Cr as SandboxShapePreset, Ct as PublicProfileConflict, Da as DurablePlanDecisionOptions, Di as DriverType, Dn as SandboxFleetIntelligenceEnvelope, Do as BatchTaskUsage, Dr as SandboxResourceUsage, Dt as SessionBackendCredentials, E as SecretsManager, Ea as DurablePlan, Ei as DriverInfo, En as SandboxFleetInfo, Eo as BatchSidecarGroup, Er as SecretBinding, Et as SentSessionMessage, F as UsageInfo, Fa as IntelligenceReportSubjectType, Fi as GpuLeaseProviderName, Fn as SandboxFleetParent, Fr as NetworkManager, Ft as SessionListOptions, G as ProcessSignal, Ga as SandboxTraceOptions, Gn as SandboxFleetUsage, Gr as FileInfo, Gt as TaskSessionProfile, H as ProcessListOptions, Ha as SandboxTraceBundle, Hi as HostAgentRuntimeBackend, Hn as SandboxFleetTraceEvent, Hr as DownloadOptions, Ht as TaskSessionCommitResult, I as WaitForOptions, Ia as IntelligenceReportWindow, Ii as GpuLeaseProviderState, In as SandboxFleetPlacement, Ir as SandboxEgressUsage, It as SessionMessage, J as PreviewLinkInfo, Ja as BackendCapabilities, Ji as ManagedProcessJobs, Jn as SandboxFleetWorkspaceRestoreResult, Jr as FileReadError, Jt as CreateSandboxFleetOptions, K as ProcessSpawnOptions, Ka as TokenUsage, Kn as SandboxFleetWorkspace, Kr as FileReadBatchOptions, Kt as TurnDriveResult, L as DevServerInfo, La as PromptInputPart, Li as GpuLeaseProviderStatus, Ln as SandboxFleetPolicy, Lr as GitAuth, Lt as SessionMessageAdmission, Ma as IntelligenceReport, Mi as GpuLeaseExecOptions, Mn as SandboxFleetManifest, Mr as EgressPolicy, Mt as SessionForkOptions, N as SandboxIdentity, Na as IntelligenceReportBudget, Ni as GpuLeaseExecResult, Nn as SandboxFleetManifestMachine, Nr as MAX_EGRESS_DENIALS_LIMIT, Nt as SessionInfo, O as ProvisionEvent, Oa as DurablePlanDecisionResult, Oi as GPU_LEASE_PROVIDER_NAMES, On as SandboxFleetMachine, Oo as ALL_BACKEND_TYPES, Or as SandboxRuntimeCapabilities, Ot as SessionEventStreamOptions, P as SubscriptionInfo, Pa as IntelligenceReportCompareTo, Pi as GpuLeaseManager, Pn as SandboxFleetOperationsSummary, Pr as NetworkConfig, Pt as SessionInterruptOptions, Q as AddUserOptions, Qa as BackendRuntimeConfigUpdate, Qi as ManagedProcessSpec, Qn as SSHCredentials, Qr as FileTreeFile, Qt as FleetAgentPlacement, R as EnsureDevServerOptions, Ra as PromptOptions, Ri as GpuLeaseProviders, Rn as SandboxFleetProfileRef, Rr as GitConfig, Rt as SessionMessageInputPart, S as SnapshotResult, Si as AttachGpuLeaseOptions, Sn as SandboxFleetDispatchFailureClass, So as PublicBatchRunRequest, Sr as SandboxShape, St as ListMessagesOptions, T as SecretInfo, Ta as CreateIntelligenceReportOptions, Ti as DriverConfig, Tn as SandboxFleetDriverTimings, To as BatchEventDataMap, Tr as SandboxStatus, Tt as SendSessionMessageRequest, U as ProcessLogEntry, Ua as SandboxTraceEvent, Ui as NonHostAgentDriverConfig, Un as SandboxFleetTraceExport, Ur as DownloadProgress, Ut as TaskSessionFileChange, V as ProcessInfo, Va as SandboxIntelligenceEnvelope, Vi as HostAgentDriverConfig, Vn as SandboxFleetTraceBundle, Vr as DeleteOptions, Vt as TaskSessionChanges, W as ProcessManager, Wa as SandboxTraceExport, Wn as SandboxFleetTraceOptions, Wr as DownloadResult, Wt as TaskSessionInfo, X as PreviewLinkWaitOptions, Xa as BackendInfo, Xi as ManagedProcessRecord, Xn as ListSandboxOptions, Xr as FileRenameResult, Xt as CreateSandboxFleetWithCoordinatorOptions, Y as PreviewLinkManager, Ya as BackendConfig, Yi as ManagedProcessOptions, Yn as SandboxFleetWorkspaceSnapshotResult, Yr as FileReadResult, Z as AccessPolicyRule, Za as BackendMcpServerStatus, Zi as ManagedProcessResumeOptions, Zn as SSHCommandDescriptor, Zr as FileSystem, Zt as FleetAgentId, _ as SnapshotIdempotency, _a as BatchRunOptions, _i as PublicTemplateVersionInfo, _n as SandboxFleetAgent, _o as RawEvidenceExportOptions, _r as TeePublicKeyResponse, _t as CreateSessionOptions, a as DeleteMatchingSandboxesOptions, aa as ForkIdempotency, ai as MkdirOptions, an as FleetExecDispatchOptions, ao as SandboxCreateOutcome, ar as SandboxTerminalAttachOptions, at as GitBranch, ba as BatchTaskResult, bi as SandboxEnvironment, bn as SandboxFleetArtifactSpec, bo as RawEvidenceRecordsFile, br as SandboxConfig, bt as DispatchedSession, c as SandboxDeleteAcknowledgement, ca as RolloutChildResult, ci as UploadProgress, cn as FleetPromptDispatchOptions, co as SandboxEnvRecovery, cr as SandboxTerminalManager, ct as GitStatus, d as SandboxOperationInfo, da as RolloutStartResult, di as WriteManyOptions, dn as FleetRunOptions, do as RawEvidenceArchiveManifest, dr as StartupDiagnostics, dt as TokenRefreshHandler, ei as FileTreeResult, en as FleetAgentRunStatus, eo as EffectiveBackend, er as SandboxInfo, et as DirectoryPermission, f as SandboxOperationKind, fa as RolloutStatus, fi as SearchMatch, fn as ListSandboxFleetOptions, fo as RawEvidenceArchiveManifestNative, fr as StartupOperation, ft as CommitTaskSessionOptions, g as SnapshotDeleteOutcome, ga as BatchResult, gi as PublicTemplateInfo, gn as ReconcileSandboxFleetsResult, go as RawEvidenceDirectoryExport, gr as TeePublicKey, gt as ConversationTurnResult, h as SnapshotDeleteAcknowledgement, ha as BatchBackend, hi as ExecResult, hn as ReconcileSandboxFleetsOptions, ho as RawEvidenceBoxExportOptions, hr as TeeAttestationResponse, ht as ConversationTurnOptions, i as DeleteMatchingSandboxesFilter, ia as ForkCounts, ii as ListOptions, in as FleetDispatchStreamOptions, io as RouterRoutingOptions, ir as SandboxRuntimeHealth, it as UpdateUserOptions, j as ProvisionStep, ja as EventStreamOptions, ji as GpuLeaseCommandResult, jn as SandboxFleetMachineSpec, jr as EgressManager, jt as SessionFailureReason, k as ProvisionResult, ka as DurablePlanFollowUpResume, ki as GpuLease, kn as SandboxFleetMachineMeteredUsage, ko as BackendType, kr as StorageConfig, kt as SessionExecutionInfo, l as SandboxDeleteOptions, la as RolloutOptions, li as WriteFileOptions, ln as FleetPromptDispatchResult, lo as SandboxEnvRecoveryView, lr as SandboxTerminalRequestOptions, lt as FleetDriveTurnOutcome, m as SandboxRemovalState, ma as WaitForRolloutOptions, mi as ExecOptions, mn as ReapExpiredSandboxFleetsResult, mo as RawEvidenceBoxDirectoryExport, mr as TeeAttestationReport, mt as CompletedTurnResult, n as DeleteMatchingSandboxOutcome, ni as FileUsageResult, nn as FleetDispatchResultBuffer, no as EffectiveBackendSource, nr as SandboxPortPreviewLink, nt as PermissionsManager, o as DeleteMatchingSandboxesResult, oa as ForkLookupOptions, oi as RenameOptions, oo as SandboxCreateReceipt, or as SandboxTerminalCreateOptions, ot as GitCommit, p as SandboxOperationState, pa as RolloutTurnPart, pi as SearchOptions, pn as ReapExpiredSandboxFleetsOptions, po as RawEvidenceBoxArchiveManifest, pr as TeeAttestationOptions, pt as CompletedTurnPayload, q as ProcessStatus, qa as TurnBackendConfig, qn as SandboxFleetWorkspaceReconcileResult, qr as FileReadBatchResult, qt as AttachSandboxFleetMachineOptions, r as DeleteMatchingSandboxResult, ra as BranchOptions, ri as FileWriteResult, rn as FleetDispatchResultBufferOptions, ro as McpServerConfig, rr as SandboxRunGeneration, rt as SandboxUser, sa as Rollout, si as UploadOptions, sn as FleetMachineId, sr as SandboxTerminalInfo, st as GitDiff, t as InstalledTool, ti as FileUsageOptions, tn as FleetDispatchCancelResult, to as EffectiveBackendProfile, tr as SandboxPortBinding, tt as PermissionLevel, u as SandboxDeleteOutcome, ua as RolloutScorer, ui as WriteManyFile, un as FleetRunEvent, uo as NativeStoreHomeCopy, ur as SandboxTerminals, ut as FleetDriveTurnRequest, v as SnapshotInfo, va as BatchRunRequest, vi as PublishPublicTemplateOptions, vn as SandboxFleetAgentSpec, vo as RawEvidenceNativeFile, vr as CreateRequestOptions, vt as CreateTaskSessionOptions, w as WorkspaceOperationLookup, wi as DockerDriverConfig, wn as SandboxFleetDriverCapability, wo as BatchEvent, wr as SandboxShapesInfo, wt as SendSessionMessageOptions, x as SnapshotRemoteSync, xi as AcceleratorKind, xn as SandboxFleetCostEstimate, xr as SandboxResources, xt as DriveTurnOptions, y as SnapshotOptions, ya as BatchTask, yi as PublishPublicTemplateVersionOptions, yn as SandboxFleetArtifact, yo as RawEvidencePayloadFile, yr as CreateSandboxOptions, yt as DispatchPromptOptions, z as ExactProcessSpawnOptions, za as PromptResult, zi as GpuLeaseProvidersOptions, zn as SandboxFleetSpend, zr as ChunkedUploadOptions, zt as SessionResultOptions } from "./types-BxZX2EVj.js";
|
|
3
3
|
import { _ as TerminalInteractiveSessionIdentity, a as TerminalStreamError, b as TerminalReadyTimings, d as MintInteractiveSessionTokenOptions, f as MintScopedTokenOptions, g as TerminalExitInfo, h as TERMINAL_WS_ECHO_SUBPROTOCOL, i as TerminalStreamBearerToken, l as TerminalStreamToken, m as ScopedTokenScope, n as TerminalStream, o as TerminalStreamHandlers, p as ScopedToken, r as TerminalStreamApiKey, s as TerminalStreamOptions, t as TerminalAttachTimings, u as terminalUpgradeHeadersSupported, v as TerminalOutputMessage, x as TerminalStreamAuthFormat, y as TerminalReadyInfo } from "./terminal-stream-DgD7GlFi.js";
|
|
4
4
|
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as interactiveSessionIdentityDigest, f as InteractiveAttachOptions, g as InteractiveSessionStatus, h as InteractiveRequestOptions, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as InteractiveSessionNotRunningError, m as InteractiveControlClaimOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimAcknowledgement, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as createInteractiveControlHolderId } from "./browser-interactive-control-controller-B6sySQFu.js";
|
|
5
5
|
import { a as InteractiveSessionControllerOptions, i as InteractiveSessionController, n as BrowserInteractiveSessionControllerOptions, o as InteractiveSessionControllerTransport, r as InteractiveAttachRequest, t as BrowserInteractiveSessionController } from "./interactive-controller-BSWoA0YE.js";
|
|
6
|
-
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineVoiceOptions, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, S as LineReminderPreferences, T as LineReplyGate, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, q as LineApplicationState, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-
|
|
7
|
-
import { C as TimeoutError, S as StreamInterruptionReason, _ as SandboxErrorJson, a as EgressProxyRecoveryError, b as StateError, c as GpuProviderRequirement, d as NotFoundError, f as PartialFailureError, g as SandboxError, h as ResumeEnvRequiredError, i as EdgeNotReadyError, l as KeyBudgetExhaustedError, m as QuotaError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, x as StreamInterruptedError, y as ServerError } from "./
|
|
8
|
-
import { A as BackendRegistryEntry, C as InstancesClient, D as ParsedSSEEvent, E as ParseSSEStreamOptions, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, O as parseSSEStream, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, S as InstanceStart, T as SandboxFleetClient, _ as EnsureInstanceOptions, a as Team, b as InstanceRecord, c as SessionBroadcastEvent, d as RunPlacement, f as RunPlacementRecord, g as RunsHttpClient, h as RunsClient, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, l as SessionBroadcastResult, m as RunWaitOptions, n as IntelligenceClient, o as TeamInvitation, p as RunRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as RunOptions, v as HostedInstance, w as SandboxFleet, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-
|
|
9
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
6
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineVoiceOptions, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, S as LineReminderPreferences, T as LineReplyGate, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, q as LineApplicationState, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-hsXVdk60.js";
|
|
7
|
+
import { C as TimeoutError, S as StreamInterruptionReason, _ as SandboxErrorJson, a as EgressProxyRecoveryError, b as StateError, c as GpuProviderRequirement, d as NotFoundError, f as PartialFailureError, g as SandboxError, h as ResumeEnvRequiredError, i as EdgeNotReadyError, l as KeyBudgetExhaustedError, m as QuotaError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, x as StreamInterruptedError, y as ServerError } from "./error-classes-BWS1a9HO.js";
|
|
8
|
+
import { A as BackendRegistryEntry, C as InstancesClient, D as ParsedSSEEvent, E as ParseSSEStreamOptions, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, O as parseSSEStream, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, S as InstanceStart, T as SandboxFleetClient, _ as EnsureInstanceOptions, a as Team, b as InstanceRecord, c as SessionBroadcastEvent, d as RunPlacement, f as RunPlacementRecord, g as RunsHttpClient, h as RunsClient, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, l as SessionBroadcastResult, m as RunWaitOptions, n as IntelligenceClient, o as TeamInvitation, p as RunRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as RunOptions, v as HostedInstance, w as SandboxFleet, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-DraGbXEP.js";
|
|
9
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BP3sTaSb.js";
|
|
10
10
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-DfA_usrZ.js";
|
|
11
11
|
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-CWUW8pqr.js";
|
|
12
|
-
import { t as ManagedProcessClient } from "./managed-process-
|
|
13
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
14
|
-
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-
|
|
12
|
+
import { t as ManagedProcessClient } from "./managed-process-B-pXdMLC.js";
|
|
13
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-DlYhZnhD.js";
|
|
14
|
+
import { b as TangleSandboxClientConfig, h as TangleSandboxClient } from "./index-xS3mRl69.js";
|
|
15
15
|
import { z } from "zod";
|
|
16
16
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
17
17
|
import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as parseBackendType, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-D6bYbvMB.js";
|
|
2
|
-
import { B as deriveAgentResultOutcome, H as projectAgentTerminalRecord, N as normalizeRuntimeBackendConfig, O as parseSSEStream, P as requestedPublicProfileDigest, V as deriveAgentRunOutcome, a as terminalUpgradeHeadersSupported, i as TerminalStreamError, n as InteractiveSessionController, o as TERMINAL_WS_ECHO_SUBPROTOCOL, r as TerminalStream, t as BrowserInteractiveSessionController, z as createAgentRunOutcomeTracker } from "./interactive-controller-
|
|
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 { B as deriveAgentResultOutcome, H as projectAgentTerminalRecord, N as normalizeRuntimeBackendConfig, O as parseSSEStream, P as requestedPublicProfileDigest, V as deriveAgentRunOutcome, a as terminalUpgradeHeadersSupported, i as TerminalStreamError, n as InteractiveSessionController, o as TERMINAL_WS_ECHO_SUBPROTOCOL, r as TerminalStream, t as BrowserInteractiveSessionController, z as createAgentRunOutcomeTracker } from "./interactive-controller-zE6hwv3C.js";
|
|
3
|
+
import { C as TimeoutError, S as StreamInterruptedError, _ as QuotaError, a as BranchFanoutExceedsHostError, b as ServerError, c as EgressProxyRecoveryError, d as KeyBudgetExhaustedError, g as ProfileFileMountPathError, h as PartialFailureError, i as AuthError, l as FileWriteConflictError, m as NotFoundError, o as CapabilityError, p as NetworkError, s as EdgeNotReadyError, u as GpuProviderNotConfiguredError, v as ResumeEnvRequiredError, w as ValidationError, x as StateError, y as SandboxError } from "./errors-AB5BD3FM.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-Dl22CVOz.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 { D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, M as exportTraceBundle, N as otelTraceIdForTangleTrace, P as toOtelJson, S as ManagedProcessClient, T as splitInlineProfileFileMounts, _ as
|
|
6
|
+
import { D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, M as exportTraceBundle, N as otelTraceIdForTangleTrace, P as toOtelJson, S as ManagedProcessClient, T as splitInlineProfileFileMounts, _ as collectAgentFinalMessageText, b as isToolBearingEvent, c as SandboxSession, d as InteractiveTerminalFrameLog, f as createInteractiveTerminalCapture, g as applySandboxEventText, h as SandboxOperationFailedError, j as buildTraceExportPayload, l as InteractiveSessionHandle, m as SandboxOperation, o as WorkspaceImages, p as createInteractiveTerminalSession, s as SandboxTaskSession, t as SandboxInstance, u as agentInteractiveSessionPromptRequestDigest, v as collectAgentResponseText, w as materializeProfileFileMounts, x as MAX_EGRESS_DENIALS_LIMIT, y as getSandboxEventText } from "./sandbox-BJkpVtLN.js";
|
|
7
7
|
import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
8
8
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
9
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-
|
|
9
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-XHg5BEUI.js";
|
|
10
10
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-UtPFP0o4.js";
|
|
11
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
11
|
+
import { s as TangleSandboxClient } from "./tangle-BBpguPfj.js";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
14
14
|
//#region src/confidential.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as TimeoutError, p as NetworkError, t as parseErrorResponse } from "../errors-AB5BD3FM.js";
|
|
2
2
|
//#region src/intelligence/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* `@tangle-network/sandbox/intelligence` — browser-safe typed client for the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as backendTypeSchema } from "./backend-types-D6bYbvMB.js";
|
|
2
|
-
import {
|
|
2
|
+
import { b as ServerError, n as parseResponseError, o as CapabilityError, p as NetworkError, w as ValidationError, y as SandboxError } from "./errors-AB5BD3FM.js";
|
|
3
3
|
import { c as assertInteractiveSessionRef, d as awaitWithAbort, f as combineAbortSignals, i as createBrowserInteractiveSessionControlTransport, o as InteractiveSessionControlController, r as browserInteractiveTerminalEndpoint } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
4
|
-
import { s as uploadChunked } from "./chunked-upload-
|
|
4
|
+
import { s as uploadChunked } from "./chunked-upload-KJyRCAiC.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { AgentExactRunControlRefSchema, AgentExecutionOutcomeSchema, AgentInteractiveSessionAttachSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionRefSchema, AgentRuntimeAttachmentsSchema, DurablePlanSchema, InteractionRequestSchema, PlanContinuationSchema, agentInteractiveSessionControlClaimMatchesRef, agentProfileSchema, canonicalCandidateDigest } from "@tangle-network/agent-interface";
|
|
7
7
|
//#region src/agent-run-outcome-inspection.ts
|
|
@@ -213,7 +213,12 @@ async function fetchWithKeepAlive(url, init, options) {
|
|
|
213
213
|
durMs: ms(performance.now() - startedAt),
|
|
214
214
|
desc: "failed",
|
|
215
215
|
method,
|
|
216
|
-
path: options.path
|
|
216
|
+
path: options.path,
|
|
217
|
+
...capture ? { failure: {
|
|
218
|
+
requestCreated: capture.request !== void 0,
|
|
219
|
+
requestHeadersSent: capture.sentAt !== void 0,
|
|
220
|
+
responseHeadersReceived: capture.headersAt !== void 0
|
|
221
|
+
} } : {}
|
|
217
222
|
});
|
|
218
223
|
throw error;
|
|
219
224
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ya as BackendConfig, yr as CreateSandboxOptions } from "./types-
|
|
1
|
+
import { Ya as BackendConfig, yr as CreateSandboxOptions } from "./types-BxZX2EVj.js";
|
|
2
2
|
|
|
3
3
|
//#region src/line-application.d.ts
|
|
4
4
|
/** Bounded callback request bytes after canonicalization, including JSON framing. */
|
package/dist/lines.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, I as LineVoiceOptions, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, R as LinesHttpClient, S as LineReminderPreferences, T as LineReplyGate, V as profileChannelReference, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-
|
|
1
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, D as LineRespondView, E as LineRespondAgent, F as LineVoice, I as LineVoiceOptions, L as LinesClient, M as LineSenderVerificationStart, N as LineThread, O as LineRole, P as LineTransport, R as LinesHttpClient, S as LineReminderPreferences, T as LineReplyGate, V as profileChannelReference, _ as LineMemberPatch, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, i as LineAllowanceSubject, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, m as LineLimits, n as LineAgentRolePolicy, o as LineAttachOptions, p as LineInstanceCreate, r as LineAllowance, s as LineAttachment, t as Line, u as LineFromConnectionInput, v as LineMemberSpec, w as LineReplyCodeInput, x as LineProvider, y as LineMessage, z as SandboxLines } from "./lines-hsXVdk60.js";
|
|
2
2
|
export { Line, LineAgentRolePolicy, LineAllowance, LineAllowanceSubject, LineApplicationAttachOptions, LineAttachOptions, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineFromConnectionInput, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineLimits, LineMember, LineMemberInstance, LineMemberPatch, LineMemberSpec, LineMessage, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineReplyGate, LineRespondAgent, LineRespondView, LineRole, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LineThread, LineTransport, LineVoice, LineVoiceOptions, LinesClient, LinesHttpClient, SandboxLines, lineInstanceKey, profileChannelReference };
|
package/dist/lines.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ji as ManagedProcessJobs, Qi as ManagedProcessSpec, Xi as ManagedProcessRecord, Yi as ManagedProcessOptions, Zi as ManagedProcessResumeOptions } from "./types-
|
|
1
|
+
import { Ji as ManagedProcessJobs, Qi as ManagedProcessSpec, Xi as ManagedProcessRecord, Yi as ManagedProcessOptions, Zi as ManagedProcessResumeOptions } from "./types-BxZX2EVj.js";
|
|
2
2
|
|
|
3
3
|
//#region src/managed-process.d.ts
|
|
4
4
|
declare class ManagedProcessClient implements ManagedProcessJobs {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { J as PreviewLinkInfo, R as EnsureDevServerOptions } from "./types-
|
|
3
|
-
import { i as Sandbox } from "./client-
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-DDdPhk2j.js";
|
|
2
|
+
import { J as PreviewLinkInfo, R as EnsureDevServerOptions } from "./types-BxZX2EVj.js";
|
|
3
|
+
import { i as Sandbox } from "./client-DraGbXEP.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _i as PublicTemplateVersionInfo, ea as HttpClient, gi as PublicTemplateInfo, vi as PublishPublicTemplateOptions, yi as PublishPublicTemplateVersionOptions } from "./types-
|
|
2
|
-
import { g as SandboxError } from "./
|
|
1
|
+
import { _i as PublicTemplateVersionInfo, ea as HttpClient, gi as PublicTemplateInfo, vi as PublishPublicTemplateOptions, yi as PublishPublicTemplateVersionOptions } from "./types-BxZX2EVj.js";
|
|
2
|
+
import { g as SandboxError } from "./error-classes-BWS1a9HO.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/public-templates.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BP3sTaSb.js";
|
|
2
2
|
export { PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient };
|
package/dist/public-templates.js
CHANGED
package/dist/runtime.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $r as FileTreeOptions, At as SessionExecutionStatus, Ba as SandboxEvent, Br as ChunkedUploadResult, Et as SentSessionMessage, Ht as TaskSessionCommitResult, It as SessionMessage, Kr as FileReadBatchOptions, Lt as SessionMessageAdmission, Nt as SessionInfo, Ot as SessionEventStreamOptions, St as ListMessagesOptions, Tt as SendSessionMessageRequest, Vt as TaskSessionChanges, Wt as TaskSessionInfo, Xr as FileRenameResult, _t as CreateSessionOptions, ci as UploadProgress, cr as SandboxTerminalManager, ei as FileTreeResult, ft as CommitTaskSessionOptions, ir as SandboxRuntimeHealth, kt as SessionExecutionInfo, li as WriteFileOptions, lr as SandboxTerminalRequestOptions, ni as FileUsageResult, oi as RenameOptions, or as SandboxTerminalCreateOptions, qr as FileReadBatchResult, ri as FileWriteResult, sr as SandboxTerminalInfo, ti as FileUsageOptions, tr as SandboxPortBinding, vt as CreateTaskSessionOptions, wt as SendSessionMessageOptions, zr as ChunkedUploadOptions } from "./types-
|
|
1
|
+
import { $r as FileTreeOptions, At as SessionExecutionStatus, Ba as SandboxEvent, Br as ChunkedUploadResult, Et as SentSessionMessage, Ht as TaskSessionCommitResult, It as SessionMessage, Kr as FileReadBatchOptions, Lt as SessionMessageAdmission, Nt as SessionInfo, Ot as SessionEventStreamOptions, St as ListMessagesOptions, Tt as SendSessionMessageRequest, Vt as TaskSessionChanges, Wt as TaskSessionInfo, Xr as FileRenameResult, _t as CreateSessionOptions, ci as UploadProgress, cr as SandboxTerminalManager, ei as FileTreeResult, ft as CommitTaskSessionOptions, ir as SandboxRuntimeHealth, kt as SessionExecutionInfo, li as WriteFileOptions, lr as SandboxTerminalRequestOptions, ni as FileUsageResult, oi as RenameOptions, or as SandboxTerminalCreateOptions, qr as FileReadBatchResult, ri as FileWriteResult, sr as SandboxTerminalInfo, ti as FileUsageOptions, tr as SandboxPortBinding, vt as CreateTaskSessionOptions, wt as SendSessionMessageOptions, zr as ChunkedUploadOptions } from "./types-BxZX2EVj.js";
|
|
2
2
|
import { n as TerminalStream, p as ScopedToken } from "./terminal-stream-DgD7GlFi.js";
|
|
3
3
|
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-B6sySQFu.js";
|
|
4
4
|
import { t as BrowserInteractiveSessionController } from "./interactive-controller-BSWoA0YE.js";
|
|
5
|
-
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./
|
|
6
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
5
|
+
import { C as TimeoutError, _ as SandboxErrorJson, b as StateError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as SandboxFailureDetail, w as ValidationError, y as ServerError } from "./error-classes-BWS1a9HO.js";
|
|
6
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-DlYhZnhD.js";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/chunked-upload.d.ts
|
|
9
9
|
/** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
|
package/dist/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as deriveAgentResultOutcome, H as projectAgentTerminalRecord, V as deriveAgentRunOutcome, d as SandboxRuntimeApi, t as BrowserInteractiveSessionController, z as createAgentRunOutcomeTracker } from "./interactive-controller-
|
|
2
|
-
import {
|
|
1
|
+
import { B as deriveAgentResultOutcome, H as projectAgentTerminalRecord, V as deriveAgentRunOutcome, d as SandboxRuntimeApi, t as BrowserInteractiveSessionController, z as createAgentRunOutcomeTracker } from "./interactive-controller-zE6hwv3C.js";
|
|
2
|
+
import { C as TimeoutError, _ as QuotaError, b as ServerError, g as ProfileFileMountPathError, h as PartialFailureError, i as AuthError, l as FileWriteConflictError, m as NotFoundError, o as CapabilityError, p as NetworkError, w as ValidationError, x as StateError, y as SandboxError } from "./errors-AB5BD3FM.js";
|
|
3
3
|
import { f as combineAbortSignals, n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
4
|
-
import { s as uploadChunked } from "./chunked-upload-
|
|
4
|
+
import { s as uploadChunked } from "./chunked-upload-KJyRCAiC.js";
|
|
5
5
|
//#region src/runtime-client.ts
|
|
6
6
|
const DEFAULT_RUNTIME_TIMEOUT_MS = 3e4;
|
|
7
7
|
function requireToken(token) {
|