@tangle-network/sandbox 1.0.255 → 1.0.257
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 +5 -5
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +1 -1
- package/dist/{agent-run-outcome-_WiyZ7bA.d.ts → agent-run-outcome-MAe7_H3W.d.ts} +2 -2
- package/dist/{api-request-v3vwqnyU.js → api-request-mCHGHzK4.js} +2 -2
- package/dist/{browser-interactive-control-controller-DS7pHEUa.d.ts → browser-interactive-control-controller-Bg7mWDLX.d.ts} +1 -1
- package/dist/{browser-interactive-control-controller-3C2Q02Pr.js → browser-interactive-control-controller-BlytXl7p.js} +1 -1
- package/dist/{chunked-upload-DghS4NcV.js → chunked-upload-D2S7tOJO.js} +1 -1
- package/dist/{chunked-upload-file-DAF94AqK.js → chunked-upload-file-CfuaCSja.js} +1 -1
- package/dist/{client-DwxKZt7o.d.ts → client-BHFiXEbD.d.ts} +35 -35
- package/dist/{client-CRdudgz_.js → client-eTVLZVif.js} +5 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-BqXAJkba.js → collaboration-yCQDEv6g.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{error-catalog-CH_n2ubl.js → error-catalog-CWtp7Yg1.js} +1 -0
- package/dist/{errors-C4YhW-wf.js → errors-C0S3TzhR.js} +1 -1
- package/dist/{file-download-CB0_5puA.js → file-download-eolEOS2q.js} +1 -1
- package/dist/{index-DpiwU0xF.d.ts → index-BD6WUbYn.d.ts} +5 -5
- package/dist/index.d.ts +9 -9
- package/dist/index.js +11 -11
- package/dist/intelligence/index.js +3 -3
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-BADgU7KA.d.ts → interactive-controller-B8kWmCQk.d.ts} +3 -3
- package/dist/{interactive-controller-Ct9E5jFI.js → interactive-controller-DZdunJmQ.js} +4 -4
- package/dist/{lines-BsGfDXqH.d.ts → lines-BENsM2VO.d.ts} +1 -1
- package/dist/{lines-0uTV6QCT.js → lines-NECw0OhS.js} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{mcp-local-BnDW5YXe.js → mcp-local-B3Xmnwgv.js} +2 -2
- package/dist/{preview-DYfda_GI.d.ts → preview-CpgTplqO.d.ts} +3 -3
- package/dist/{public-templates-X_oIyZXW.d.ts → public-templates-D5usZjs3.d.ts} +4 -4
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-NsHlYsny.js → raw-evidence-archive-D5tGsYDr.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-uxal0u8q.js → sandbox-DcB01yf0.js} +24 -21
- package/dist/{select-seat-C8k25FUQ.js → select-seat-C-wBHEpm.js} +1 -1
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +2 -2
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-C-qPySdG.js → tangle-Ca3Uft_E.js} +5 -4
- package/dist/{terminal-stream-types-CbtlD2UT.d.ts → terminal-stream-types-DLaXWiSA.d.ts} +1 -0
- package/dist/{types-DOJeAuvO.d.ts → types-CVWyS23f.d.ts} +1 -1
- package/package.json +5 -5
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-
|
|
2
|
-
import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo, no as BackendType } from "../types-
|
|
3
|
-
import { t as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-BD6WUbYn.js";
|
|
2
|
+
import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo, no as BackendType } from "../types-CVWyS23f.js";
|
|
3
|
+
import { t as Sandbox } from "../client-BHFiXEbD.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-CpgTplqO.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
|
-
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-
|
|
2
|
-
import { D as assertCurrentBackendType } from "../interactive-controller-
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
4
|
-
import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-
|
|
5
|
-
import { t as Sandbox } from "../client-
|
|
1
|
+
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-B3Xmnwgv.js";
|
|
2
|
+
import { D as assertCurrentBackendType } from "../interactive-controller-DZdunJmQ.js";
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-DcB01yf0.js";
|
|
4
|
+
import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-C0S3TzhR.js";
|
|
5
|
+
import { t as Sandbox } from "../client-eTVLZVif.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-CpgTplqO.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 };
|
package/dist/agent/preview.js
CHANGED
|
@@ -66,7 +66,7 @@ async function servePreviewMcp(request, config) {
|
|
|
66
66
|
if (typeof config.authorize !== "function") throw new Error("Preview MCP requires a host authorization callback");
|
|
67
67
|
const tools = config.tools ?? PREVIEW_TOOLS;
|
|
68
68
|
if (!tools.length || tools.some((tool) => !PREVIEW_TOOLS.includes(tool))) throw new Error("Preview MCP requires an explicit nonempty preview-only tool grant");
|
|
69
|
-
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-
|
|
69
|
+
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-B3Xmnwgv.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
|
|
70
70
|
const handle = await createMcpServer(config.box, {
|
|
71
71
|
name: "tangle-previews",
|
|
72
72
|
sessionId: config.sessionId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Tt as InteractionRequest } from "./terminal-stream-types-
|
|
2
|
-
import { Di as SandboxEvent, _i as DurablePlanSnapshot, ci as AgentApprovalRequirement, di as AgentToolInvocation, li as AgentQuestionRequest, ui as AgentRunStatus } from "./types-
|
|
1
|
+
import { Tt as InteractionRequest } from "./terminal-stream-types-DLaXWiSA.js";
|
|
2
|
+
import { Di as SandboxEvent, _i as DurablePlanSnapshot, ci as AgentApprovalRequirement, di as AgentToolInvocation, li as AgentQuestionRequest, ui as AgentRunStatus } from "./types-CVWyS23f.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
5
5
|
interface AgentRunOutcome {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as catalogEntry, t as ERROR_CATALOG } from "./error-catalog-
|
|
1
|
+
import { r as catalogEntry, t as ERROR_CATALOG } from "./error-catalog-CWtp7Yg1.js";
|
|
2
2
|
import { t as parseSandboxRetryAfterHeader } from "./retry-after-header-BZbs5rig.js";
|
|
3
3
|
import { c as retryBudget, n as SANDBOX_API_RETRY_SCOPE, o as isUndelivered, r as abortableSleep, s as planResend } from "./retry-policy-oW3_ljoc.js";
|
|
4
4
|
//#region src/lib/response-rewrap.mjs
|
|
@@ -30,7 +30,7 @@ function rewrapResponse(original, headers, body = original.body) {
|
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/lib/api-request.mjs
|
|
32
32
|
/** The package version tsdown.config.ts defines; unbuilt source reports 0.0.0. */
|
|
33
|
-
const SDK_VERSION = "1.0.
|
|
33
|
+
const SDK_VERSION = "1.0.257";
|
|
34
34
|
function withRequestContextHeaders(response, path, method, body = response.body) {
|
|
35
35
|
const headers = new Headers(response.headers);
|
|
36
36
|
headers.set("x-tangle-request-path", path);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as AgentInteractiveSessionControlClaimAcknowledgement, ft as AgentInteractiveSessionRef, i as TerminalStreamHandlers, lt as AgentInteractiveSessionControlClaimRequest, ot as AgentInteractiveSessionAttach, pt as AgentInteractiveSessionStatus, st as AgentInteractiveSessionControlClaim } from "./terminal-stream-types-
|
|
1
|
+
import { ct as AgentInteractiveSessionControlClaimAcknowledgement, ft as AgentInteractiveSessionRef, i as TerminalStreamHandlers, lt as AgentInteractiveSessionControlClaimRequest, ot as AgentInteractiveSessionAttach, pt as AgentInteractiveSessionStatus, st as AgentInteractiveSessionControlClaim } from "./terminal-stream-types-DLaXWiSA.js";
|
|
2
2
|
|
|
3
3
|
//#region src/interactive-types.d.ts
|
|
4
4
|
/** Cancellation for an interactive SDK request. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as boundedIdentifierSchema, D as isBoundedEventContentJson, E as boundedStringSchema, S as boundedEventContentStringSchema, T as boundedJsonSchema, _ as CONTRACT_MAX_ARRAY_LENGTH, b as boundedEventContentJsonSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, w as boundedJsonRecordSchema, x as boundedEventContentRecordSchema, y as CONTRACT_MAX_STRING_LENGTH } from "./harness--g8UQ5TZ.js";
|
|
2
2
|
import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-j1Z7Om0k.js";
|
|
3
3
|
import { t as awaitWithAbort } from "./abort-signal-CRxC2dlT.js";
|
|
4
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
4
|
+
import { i as fetchSandboxApi } from "./api-request-mCHGHzK4.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as SandboxError, n as isTransientWrite, r as parseErrorResponse } from "./errors-
|
|
1
|
+
import { C as SandboxError, n as isTransientWrite, r as parseErrorResponse } from "./errors-C0S3TzhR.js";
|
|
2
2
|
import { c as retryBudget, i as awaitResend, n as SANDBOX_API_RETRY_SCOPE, r as abortableSleep } from "./retry-policy-oW3_ljoc.js";
|
|
3
3
|
import { i as FILE_UPLOAD_SESSION_MAX_BYTES, n as isFileTooLargeErrorBody, r as isPayloadTooLargeErrorBody } from "./file-transfer-DOSTbUSR.js";
|
|
4
4
|
//#region src/lib/sdk-retry.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as FILE_UPLOAD_SESSION_MAX_BYTES } from "./file-transfer-DOSTbUSR.js";
|
|
2
|
-
import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-
|
|
2
|
+
import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-D2S7tOJO.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,8 +1,8 @@
|
|
|
1
|
-
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-
|
|
2
|
-
import { At as AgentProfileConfigValue, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ht as BatchEvent, Lt as HarnessType, Mt as AgentProfileMcpServer, Nt as AgentProfileMetadata, Pt as AgentProfileSeat, R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, ft as AgentInteractiveSessionRef, it as SandboxSizePreset, jt as AgentProfileFileMount, kt as AgentProfileConfidential, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-
|
|
3
|
-
import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Bt as SandboxFleetParent, Ci as IntelligenceReportWindow, Di as SandboxEvent, Dn as SandboxResources, Ei as PromptResult, En as SandboxConfig, Et as SandboxFleetCostEstimate, Ft as SandboxFleetMachineRecord, Ga as ExecResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as TurnBackendConfig, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Ri as ConversationTurnOptions, St as SandboxFleetAgent, T as SshKeysManager, Ti as PromptOptions, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xr as HttpClient, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Zr as SdkTimingHook, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bt as ReconcileSandboxFleetsOptions, c as SandboxDeleteOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fi as CreateIntelligenceReportOptions, ft as FleetMachineId, ga as BackendConfig, gt as FleetRunOptions, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, s as SandboxDeleteAcknowledgement, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as IntelligenceReportCompareTo, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReport, yn as TeeAttestationReport, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-
|
|
4
|
-
import { t as LinesClient } from "./lines-
|
|
5
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-BD6WUbYn.js";
|
|
2
|
+
import { At as AgentProfileConfigValue, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ht as BatchEvent, Lt as HarnessType, Mt as AgentProfileMcpServer, Nt as AgentProfileMetadata, Pt as AgentProfileSeat, R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, ft as AgentInteractiveSessionRef, it as SandboxSizePreset, jt as AgentProfileFileMount, kt as AgentProfileConfidential, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-DLaXWiSA.js";
|
|
3
|
+
import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Bt as SandboxFleetParent, Ci as IntelligenceReportWindow, Di as SandboxEvent, Dn as SandboxResources, Ei as PromptResult, En as SandboxConfig, Et as SandboxFleetCostEstimate, Ft as SandboxFleetMachineRecord, Ga as ExecResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as TurnBackendConfig, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Ri as ConversationTurnOptions, St as SandboxFleetAgent, T as SshKeysManager, Ti as PromptOptions, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xr as HttpClient, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Zr as SdkTimingHook, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bt as ReconcileSandboxFleetsOptions, c as SandboxDeleteOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fi as CreateIntelligenceReportOptions, ft as FleetMachineId, ga as BackendConfig, gt as FleetRunOptions, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, s as SandboxDeleteAcknowledgement, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as IntelligenceReportCompareTo, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReport, yn as TeeAttestationReport, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-CVWyS23f.js";
|
|
4
|
+
import { t as LinesClient } from "./lines-BENsM2VO.js";
|
|
5
|
+
import { a as PublicTemplatesClient } from "./public-templates-D5usZjs3.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/backend-registry.d.ts
|
|
@@ -1730,8 +1730,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1730
1730
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1731
1731
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
1732
1732
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1733
|
-
api: "api";
|
|
1734
1733
|
cli: "cli";
|
|
1734
|
+
api: "api";
|
|
1735
1735
|
}>>;
|
|
1736
1736
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
1737
1737
|
"api-key": "api-key";
|
|
@@ -1819,8 +1819,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1819
1819
|
name: z.ZodOptional<z.ZodString>;
|
|
1820
1820
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1821
1821
|
role: z.ZodOptional<z.ZodEnum<{
|
|
1822
|
-
coordinator: "coordinator";
|
|
1823
1822
|
worker: "worker";
|
|
1823
|
+
coordinator: "coordinator";
|
|
1824
1824
|
}>>;
|
|
1825
1825
|
}, z.core.$strict>>;
|
|
1826
1826
|
fleetId: z.ZodOptional<z.ZodString>;
|
|
@@ -2142,8 +2142,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2142
2142
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2143
2143
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
2144
2144
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2145
|
-
api: "api";
|
|
2146
2145
|
cli: "cli";
|
|
2146
|
+
api: "api";
|
|
2147
2147
|
}>>;
|
|
2148
2148
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
2149
2149
|
"api-key": "api-key";
|
|
@@ -2231,8 +2231,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2231
2231
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2232
2232
|
workspace: z.ZodOptional<z.ZodObject<{
|
|
2233
2233
|
mode: z.ZodEnum<{
|
|
2234
|
-
isolated: "isolated";
|
|
2235
2234
|
shared: "shared";
|
|
2235
|
+
isolated: "isolated";
|
|
2236
2236
|
}>;
|
|
2237
2237
|
id: z.ZodOptional<z.ZodString>;
|
|
2238
2238
|
quotaMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2564,8 +2564,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2564
2564
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2565
2565
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
2566
2566
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2567
|
-
api: "api";
|
|
2568
2567
|
cli: "cli";
|
|
2568
|
+
api: "api";
|
|
2569
2569
|
}>>;
|
|
2570
2570
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
2571
2571
|
"api-key": "api-key";
|
|
@@ -2971,8 +2971,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2971
2971
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2972
2972
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
2973
2973
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2974
|
-
api: "api";
|
|
2975
2974
|
cli: "cli";
|
|
2975
|
+
api: "api";
|
|
2976
2976
|
}>>;
|
|
2977
2977
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
2978
2978
|
"api-key": "api-key";
|
|
@@ -3060,8 +3060,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3060
3060
|
name: z.ZodOptional<z.ZodString>;
|
|
3061
3061
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3062
3062
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3063
|
-
coordinator: "coordinator";
|
|
3064
3063
|
worker: "worker";
|
|
3064
|
+
coordinator: "coordinator";
|
|
3065
3065
|
}>>;
|
|
3066
3066
|
}, z.core.$strict>>;
|
|
3067
3067
|
fleetId: z.ZodOptional<z.ZodString>;
|
|
@@ -3383,8 +3383,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3383
3383
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3384
3384
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
3385
3385
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
3386
|
-
api: "api";
|
|
3387
3386
|
cli: "cli";
|
|
3387
|
+
api: "api";
|
|
3388
3388
|
}>>;
|
|
3389
3389
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
3390
3390
|
"api-key": "api-key";
|
|
@@ -3472,8 +3472,8 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3472
3472
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3473
3473
|
workspace: z.ZodOptional<z.ZodObject<{
|
|
3474
3474
|
mode: z.ZodEnum<{
|
|
3475
|
-
isolated: "isolated";
|
|
3476
3475
|
shared: "shared";
|
|
3476
|
+
isolated: "isolated";
|
|
3477
3477
|
}>;
|
|
3478
3478
|
id: z.ZodOptional<z.ZodString>;
|
|
3479
3479
|
quotaMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3486,13 +3486,13 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3486
3486
|
}, z.core.$strict>;
|
|
3487
3487
|
}, z.core.$strict>, z.ZodObject<{
|
|
3488
3488
|
action: z.ZodEnum<{
|
|
3489
|
-
|
|
3490
|
-
delete: "delete";
|
|
3489
|
+
cost: "cost";
|
|
3491
3490
|
usage: "usage";
|
|
3491
|
+
intelligence: "intelligence";
|
|
3492
|
+
delete: "delete";
|
|
3492
3493
|
manifest: "manifest";
|
|
3494
|
+
list: "list";
|
|
3493
3495
|
trace: "trace";
|
|
3494
|
-
intelligence: "intelligence";
|
|
3495
|
-
cost: "cost";
|
|
3496
3496
|
createWorkspaceSnapshot: "createWorkspaceSnapshot";
|
|
3497
3497
|
reconcileWorkspace: "reconcileWorkspace";
|
|
3498
3498
|
}>;
|
|
@@ -3505,14 +3505,14 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3505
3505
|
sandboxId: z.ZodString;
|
|
3506
3506
|
status: z.ZodOptional<z.ZodString>;
|
|
3507
3507
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3508
|
-
coordinator: "coordinator";
|
|
3509
3508
|
worker: "worker";
|
|
3509
|
+
coordinator: "coordinator";
|
|
3510
3510
|
}>>;
|
|
3511
3511
|
driverType: z.ZodOptional<z.ZodEnum<{
|
|
3512
3512
|
docker: "docker";
|
|
3513
3513
|
firecracker: "firecracker";
|
|
3514
|
-
"host-agent": "host-agent";
|
|
3515
3514
|
tangle: "tangle";
|
|
3515
|
+
"host-agent": "host-agent";
|
|
3516
3516
|
}>>;
|
|
3517
3517
|
environment: z.ZodOptional<z.ZodString>;
|
|
3518
3518
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -3894,8 +3894,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3894
3894
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3895
3895
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
3896
3896
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
3897
|
-
api: "api";
|
|
3898
3897
|
cli: "cli";
|
|
3898
|
+
api: "api";
|
|
3899
3899
|
}>>;
|
|
3900
3900
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
3901
3901
|
"api-key": "api-key";
|
|
@@ -3983,8 +3983,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3983
3983
|
name: z.ZodOptional<z.ZodString>;
|
|
3984
3984
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3985
3985
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3986
|
-
coordinator: "coordinator";
|
|
3987
3986
|
worker: "worker";
|
|
3987
|
+
coordinator: "coordinator";
|
|
3988
3988
|
}>>;
|
|
3989
3989
|
}, z.core.$strict>>;
|
|
3990
3990
|
fleetId: z.ZodOptional<z.ZodString>;
|
|
@@ -4306,8 +4306,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4306
4306
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4307
4307
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
4308
4308
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
4309
|
-
api: "api";
|
|
4310
4309
|
cli: "cli";
|
|
4310
|
+
api: "api";
|
|
4311
4311
|
}>>;
|
|
4312
4312
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
4313
4313
|
"api-key": "api-key";
|
|
@@ -4395,8 +4395,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4395
4395
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4396
4396
|
workspace: z.ZodOptional<z.ZodObject<{
|
|
4397
4397
|
mode: z.ZodEnum<{
|
|
4398
|
-
isolated: "isolated";
|
|
4399
4398
|
shared: "shared";
|
|
4399
|
+
isolated: "isolated";
|
|
4400
4400
|
}>;
|
|
4401
4401
|
id: z.ZodOptional<z.ZodString>;
|
|
4402
4402
|
quotaMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4728,8 +4728,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4728
4728
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4729
4729
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
4730
4730
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
4731
|
-
api: "api";
|
|
4732
4731
|
cli: "cli";
|
|
4732
|
+
api: "api";
|
|
4733
4733
|
}>>;
|
|
4734
4734
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
4735
4735
|
"api-key": "api-key";
|
|
@@ -5135,8 +5135,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5135
5135
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5136
5136
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
5137
5137
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
5138
|
-
api: "api";
|
|
5139
5138
|
cli: "cli";
|
|
5139
|
+
api: "api";
|
|
5140
5140
|
}>>;
|
|
5141
5141
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
5142
5142
|
"api-key": "api-key";
|
|
@@ -5224,8 +5224,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5224
5224
|
name: z.ZodOptional<z.ZodString>;
|
|
5225
5225
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5226
5226
|
role: z.ZodOptional<z.ZodEnum<{
|
|
5227
|
-
coordinator: "coordinator";
|
|
5228
5227
|
worker: "worker";
|
|
5228
|
+
coordinator: "coordinator";
|
|
5229
5229
|
}>>;
|
|
5230
5230
|
}, z.core.$strict>>;
|
|
5231
5231
|
fleetId: z.ZodOptional<z.ZodString>;
|
|
@@ -5547,8 +5547,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5547
5547
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5548
5548
|
maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
|
|
5549
5549
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
5550
|
-
api: "api";
|
|
5551
5550
|
cli: "cli";
|
|
5551
|
+
api: "api";
|
|
5552
5552
|
}>>;
|
|
5553
5553
|
authMode: z.ZodOptional<z.ZodEnum<{
|
|
5554
5554
|
"api-key": "api-key";
|
|
@@ -5636,8 +5636,8 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5636
5636
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5637
5637
|
workspace: z.ZodOptional<z.ZodObject<{
|
|
5638
5638
|
mode: z.ZodEnum<{
|
|
5639
|
-
isolated: "isolated";
|
|
5640
5639
|
shared: "shared";
|
|
5640
|
+
isolated: "isolated";
|
|
5641
5641
|
}>;
|
|
5642
5642
|
id: z.ZodOptional<z.ZodString>;
|
|
5643
5643
|
quotaMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5650,13 +5650,13 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5650
5650
|
}, z.core.$strict>;
|
|
5651
5651
|
}, z.core.$strict>, z.ZodObject<{
|
|
5652
5652
|
action: z.ZodEnum<{
|
|
5653
|
-
|
|
5654
|
-
delete: "delete";
|
|
5653
|
+
cost: "cost";
|
|
5655
5654
|
usage: "usage";
|
|
5655
|
+
intelligence: "intelligence";
|
|
5656
|
+
delete: "delete";
|
|
5656
5657
|
manifest: "manifest";
|
|
5658
|
+
list: "list";
|
|
5657
5659
|
trace: "trace";
|
|
5658
|
-
intelligence: "intelligence";
|
|
5659
|
-
cost: "cost";
|
|
5660
5660
|
createWorkspaceSnapshot: "createWorkspaceSnapshot";
|
|
5661
5661
|
reconcileWorkspace: "reconcileWorkspace";
|
|
5662
5662
|
}>;
|
|
@@ -5669,14 +5669,14 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5669
5669
|
sandboxId: z.ZodString;
|
|
5670
5670
|
status: z.ZodOptional<z.ZodString>;
|
|
5671
5671
|
role: z.ZodOptional<z.ZodEnum<{
|
|
5672
|
-
coordinator: "coordinator";
|
|
5673
5672
|
worker: "worker";
|
|
5673
|
+
coordinator: "coordinator";
|
|
5674
5674
|
}>>;
|
|
5675
5675
|
driverType: z.ZodOptional<z.ZodEnum<{
|
|
5676
5676
|
docker: "docker";
|
|
5677
5677
|
firecracker: "firecracker";
|
|
5678
|
-
"host-agent": "host-agent";
|
|
5679
5678
|
tangle: "tangle";
|
|
5679
|
+
"host-agent": "host-agent";
|
|
5680
5680
|
}>>;
|
|
5681
5681
|
environment: z.ZodOptional<z.ZodString>;
|
|
5682
5682
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { D as assertCurrentBackendType, E as applyRequestedModel, M as withProfileHarness, N as withoutCreateOnlyModelFields, T as isBrowserRuntime, V as backendTypeSchema, k as normalizeRuntimeBackendConfig, o as requestInteractiveSessionToken, x as encodePromptForWire } from "./interactive-controller-
|
|
1
|
+
import { D as assertCurrentBackendType, E as applyRequestedModel, M as withProfileHarness, N as withoutCreateOnlyModelFields, T as isBrowserRuntime, V as backendTypeSchema, k as normalizeRuntimeBackendConfig, o as requestInteractiveSessionToken, x as encodePromptForWire } from "./interactive-controller-DZdunJmQ.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-B11dRfGB.js";
|
|
3
|
-
import { $ as isDeployWindowCreateError, B as parseLifecycleTimes, D as splitInlineProfileSkills, E as splitInlineProfileFileMounts, F as normalizeCaptureProof, G as CAPACITY_ETA_MARGIN_MS, H as normalizeEgressPolicyFields, I as normalizeSandboxCreateReceipt, J as awaitCreateResend, K as CAPACITY_ETA_WAIT_MAX_MS, L as normalizeStartupDiagnostics, O as validateDeferredProfileFileMounts, Q as isCapacityShortageCreateError, U as normalizeProxySecretReceipt, V as normalizeConnection, W as normalizeSandboxShape, X as extendableDeadline, Y as createRetryDelayMs, Z as generateIdempotencyKey, d as sandboxLedgerUsd, et as isRateLimitCreateError, k as isRetryableProfileFileMaterializeFailure, n as createSandboxInstanceFromResponse, o as exportTraceBundle, q as DEPLOY_WINDOW_RETRY_MS, tt as isRetryableCreateError, x as deleteSandbox, z as dateOf } from "./sandbox-
|
|
4
|
-
import { C as SandboxError, D as TimeoutError, O as ValidationError, _ as NetworkError, a as readResponseJson, c as AuthError, i as parseResponseError, r as parseErrorResponse, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-
|
|
3
|
+
import { $ as isDeployWindowCreateError, B as parseLifecycleTimes, D as splitInlineProfileSkills, E as splitInlineProfileFileMounts, F as normalizeCaptureProof, G as CAPACITY_ETA_MARGIN_MS, H as normalizeEgressPolicyFields, I as normalizeSandboxCreateReceipt, J as awaitCreateResend, K as CAPACITY_ETA_WAIT_MAX_MS, L as normalizeStartupDiagnostics, O as validateDeferredProfileFileMounts, Q as isCapacityShortageCreateError, U as normalizeProxySecretReceipt, V as normalizeConnection, W as normalizeSandboxShape, X as extendableDeadline, Y as createRetryDelayMs, Z as generateIdempotencyKey, d as sandboxLedgerUsd, et as isRateLimitCreateError, k as isRetryableProfileFileMaterializeFailure, n as createSandboxInstanceFromResponse, o as exportTraceBundle, q as DEPLOY_WINDOW_RETRY_MS, tt as isRetryableCreateError, x as deleteSandbox, z as dateOf } from "./sandbox-DcB01yf0.js";
|
|
4
|
+
import { C as SandboxError, D as TimeoutError, O as ValidationError, _ as NetworkError, a as readResponseJson, c as AuthError, i as parseResponseError, r as parseErrorResponse, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-C0S3TzhR.js";
|
|
5
5
|
import { n as combineAbortSignals } from "./abort-signal-CRxC2dlT.js";
|
|
6
6
|
import { r as abortableSleep, t as RETRY_POLICY } from "./retry-policy-oW3_ljoc.js";
|
|
7
|
-
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-
|
|
7
|
+
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-mCHGHzK4.js";
|
|
8
8
|
import { l as SANDBOX_AGENT_HOME, t as isInsideReservedDir } from "./file-transfer-DOSTbUSR.js";
|
|
9
9
|
import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
|
|
10
10
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
11
|
-
import { t as LinesClient } from "./lines-
|
|
11
|
+
import { t as LinesClient } from "./lines-NECw0OhS.js";
|
|
12
12
|
import { PublicTemplatesClient } from "./public-templates.js";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
//#region ../../../packages/runtime-contracts/dist/git-policy.js
|
|
@@ -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-yCQDEv6g.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-
|
|
2
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
1
|
+
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-C0S3TzhR.js";
|
|
2
|
+
import { i as fetchSandboxApi } from "./api-request-mCHGHzK4.js";
|
|
3
3
|
//#region src/collaboration/client.ts
|
|
4
4
|
function normalizeBaseUrl(url) {
|
|
5
5
|
return url.replace(/\/+$/, "");
|
package/dist/core.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-
|
|
2
|
-
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-
|
|
3
|
-
import { En as SandboxConfig, Ga as ExecResult, Gr as ManagedProcessOptions, H as PreviewLinkInfo, Ia as WorkspaceImagePublishInput, In as NetworkConfig, Ja as SandboxEnvRecoveryView, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, La as WorkspaceImagePublishResult, Ri as ConversationTurnOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, W as PreviewLinkWaitOptions, Wr as ManagedProcessJobs, Yr as ManagedProcessSpec, an as SandboxInfo, kn as SandboxStatus, oa as SessionMessageAdmission, qa as SandboxEnvRecovery, qr as ManagedProcessState, wi as PromptInputPart, yr as ExecOptions, zi as ConversationTurnResult } from "./types-
|
|
4
|
-
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-
|
|
5
|
-
import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-
|
|
6
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-BD6WUbYn.js";
|
|
2
|
+
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-DLaXWiSA.js";
|
|
3
|
+
import { En as SandboxConfig, Ga as ExecResult, Gr as ManagedProcessOptions, H as PreviewLinkInfo, Ia as WorkspaceImagePublishInput, In as NetworkConfig, Ja as SandboxEnvRecoveryView, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, La as WorkspaceImagePublishResult, Ri as ConversationTurnOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, W as PreviewLinkWaitOptions, Wr as ManagedProcessJobs, Yr as ManagedProcessSpec, an as SandboxInfo, kn as SandboxStatus, oa as SessionMessageAdmission, qa as SandboxEnvRecovery, qr as ManagedProcessState, wi as PromptInputPart, yr as ExecOptions, zi as ConversationTurnResult } from "./types-CVWyS23f.js";
|
|
4
|
+
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-BENsM2VO.js";
|
|
5
|
+
import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-BHFiXEbD.js";
|
|
6
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-D5usZjs3.js";
|
|
7
7
|
export { AuthError, BackendRegistryCapabilities, BackendRegistryEntry, BackendRegistryInteractionKind, BackendRegistryResponse, CapabilityError, ConversationTurnOptions, ConversationTurnResult, CreateSandboxOptions, CreateSelectSeatOptions, EnsureInstanceOptions, ExecOptions, ExecResult, FileWriteConflictError, GatewaySeatTransportOptions, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceProfile, InstanceRecord, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, Line, LineAgentRolePolicy, LineApplication, LineApplicationAttachOptions, LineApplicationRequest, LineApplicationResult, LineApplicationState, LineApplicationView, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineMember, LineMemberInstance, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LinesClient, ManagedProcessClient, ManagedProcessJobs, ManagedProcessOptions, ManagedProcessRecord, ManagedProcessResumeOptions, ManagedProcessSpec, ManagedProcessState, NetworkConfig, NetworkError, NotFoundError, PartialFailureError, PreviewLinkInfo, PreviewLinkManager, PreviewLinkWaitOptions, ProfileFileDeliveryReport, ProfileFileMountPathError, PromptInputPart, PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient, QuotaError, Sandbox, SandboxConfig, SandboxEnvRecovery, SandboxEnvRecoveryView, SandboxError, SandboxErrorJson, SandboxFailureDetail, SandboxFailureKind, SandboxInfo, SandboxInstance, SandboxResolvedSeat, SandboxSeatCredentials, SandboxSeatSelectionInput, SandboxStatus, SeatOwnerReply, SeatOwnerTransport, SeatResolutionObservation, SeatSelectionError, SeatSelectionRequest, ServerError, SessionMessageAdmission, StateError, TimeoutError, ValidationError, WorkspaceImagePublishInput, WorkspaceImagePublishRequestOptions, WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
|
package/dist/core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, o as responseMetadata, r as parseErrorResponse, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-
|
|
3
|
-
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-
|
|
4
|
-
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-
|
|
1
|
+
import { S as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-DcB01yf0.js";
|
|
2
|
+
import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, o as responseMetadata, r as parseErrorResponse, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-C0S3TzhR.js";
|
|
3
|
+
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-eTVLZVif.js";
|
|
4
|
+
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-NECw0OhS.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
6
|
import { a as parseLineApplicationResult, i as parseLineApplicationRequest, n as LINE_APPLICATION_REPLY_MAX_CHARS, o as sandboxFailureKind, r as LINE_APPLICATION_REQUEST_MAX_BYTES, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-CTkHtpap.js";
|
|
7
|
-
import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-
|
|
7
|
+
import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-C-wBHEpm.js";
|
|
8
8
|
export { AuthError, CapabilityError, FileWriteConflictError, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, ProfileFileMountPathError, PublicTemplatePublishError, PublicTemplatesClient, QuotaError, Sandbox, SandboxError, SandboxInstance, SeatSelectionError, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
|
|
@@ -16,6 +16,7 @@ const ERROR_CATALOG = {
|
|
|
16
16
|
EGRESS_PROXY_RECOVERY_REQUIRED: "409 final | The egress proxy lost the credentials it serves. | Recreate the sandbox to rematerialize its egress credentials.",
|
|
17
17
|
EGRESS_PROXY_SECRETS_UNAVAILABLE: "409 final | The egress proxy rebuild found no value for secrets the box still references. | Send the missing secrets the response names in one retry, or recreate the sandbox.",
|
|
18
18
|
EGRESS_IN_PLACE_RELOAD_UNAVAILABLE: "409 final | The egress proxy cannot be re-keyed without a restart. | Re-key once no agent turn is streaming, allowing a proxy restart.",
|
|
19
|
+
NATIVE_CREDENTIAL_SEAT_SWITCH_UNSUPPORTED: "409 final | The sandbox was created with a different subscription seat; a live box cannot switch seats. | Grant the seat the box was created with, or create a new sandbox naming the new seat.",
|
|
19
20
|
EXPIRED: "410 final | The token, decision or grant has expired. | Request a new one.",
|
|
20
21
|
PAYLOAD_TOO_LARGE: "413 final | The body or artifact is over its size limit. | Send a smaller body, or split it.",
|
|
21
22
|
NOT_CONNECTED: "424 final | A required integration connection is missing. | Connect the integration the message names, then retry.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as HOST_AGENT_RESTART_KINDS, r as catalogEntry, t as ERROR_CATALOG } from "./error-catalog-
|
|
1
|
+
import { n as HOST_AGENT_RESTART_KINDS, r as catalogEntry, t as ERROR_CATALOG } from "./error-catalog-CWtp7Yg1.js";
|
|
2
2
|
import { t as parseSandboxRetryAfterHeader } from "./retry-after-header-BZbs5rig.js";
|
|
3
3
|
//#region src/error-classes.ts
|
|
4
4
|
const STATUS_CODE = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as bytesToHex, t as sha256 } from "./sha2-BIoWepwn.js";
|
|
2
|
-
import { O as ValidationError } from "./errors-
|
|
2
|
+
import { O as ValidationError } from "./errors-C0S3TzhR.js";
|
|
3
3
|
//#region src/lib/file-download.ts
|
|
4
4
|
function downloadBounds(options) {
|
|
5
5
|
for (const [name, value] of Object.entries({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Dt as AgentProfile, Et as InteractionResponseCommand, R as SandboxError, Rt as ProxySecretReceipt, St as AgentRunCancellationRequest, Tt as InteractionRequest, Y as SandboxCreateReceipt, at as AgentInteractiveSessionStart, ct as AgentInteractiveSessionControlClaimAcknowledgement, dt as AgentInteractiveSessionPromptCommand, ft as AgentInteractiveSessionRef, g as TerminalReadyInfo, gt as AgentInteractiveTerminalSession, ht as AgentInteractiveSessionStopCommand, i as TerminalStreamHandlers, jt as AgentProfileFileMount, l as MintScopedTokenOptions, lt as AgentInteractiveSessionControlClaimRequest, mt as AgentInteractiveSessionStopAcknowledgement, o as TerminalStreamReconnectAuthority, ot as AgentInteractiveSessionAttach, st as AgentInteractiveSessionControlClaim, u as ScopedToken, ut as AgentInteractiveSessionPromptAcknowledgement, vt as TerminalOutputEvent, wt as InteractionAcknowledgement, xt as AgentRunCancellationAcknowledgement, yt as TerminalReplayWindow, zt as InteractionData } from "./terminal-stream-types-
|
|
2
|
-
import { $r as ForkCounts, An as SandboxShape, Ar as DriverInfo, Bi as CreateSessionOptions, C as WorkspaceOperationLookup, Ci as IntelligenceReportWindow, Cn as TerminalStream, D as ProvisionResult, Di as SandboxEvent, E as ProvisionEvent, Ei as PromptResult, Fi as CommitTaskSessionOptions, Fn as EgressManager, G as GitBranch, Ga as ExecResult, Gi as ListMessagesOptions, Ha as CodeExecutionResult, Hi as DispatchPromptOptions, Ia as WorkspaceImagePublishInput, J as GitStatus, Ja as SandboxEnvRecoveryView, Ji as SendSessionMessageRequest, K as GitCommit, Ka as WriteFileRequest, Ki as PublicProfileConflict, Kt as SandboxFleetTraceBundle, La as WorkspaceImagePublishResult, Li as CompletedTurnResult, Ln as NetworkManager, Lr as GpuLeaseManager, Mi as SandboxTraceOptions, Mn as SandboxResourceUsage, Mr as GpuLease, N as WaitForOptions, Nn as SandboxRuntimeCapabilities, Pi as TurnBackendConfig, Qi as SessionExecutionInfo, Qr as BranchOptions, Ri as ConversationTurnOptions, S as StopOptions, Sn as TeePublicKeyResponse, Ti as PromptOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, Ua as CodeLanguage, Ui as DispatchedSession, Ur as CodeExecutionOptions, Vi as CreateTaskSessionOptions, Wi as DriveTurnOptions, Xa as InteractionResolutionAcknowledgement, Xr as HttpClient, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, _ as SnapshotInfo, _r as SearchMatch, aa as SessionMessage, ai as WaitForRolloutOptions, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, c as SandboxDeleteOptions, ca as SessionResultOptions, cr as FileWriteResult, d as SandboxOperationKind, ei as ForkIdempotency, f as SandboxOperationState, fa as TaskSessionInfo, ga as BackendConfig, gn as StartupDiagnostics, gr as WriteManyOptions, hi as DurablePlanDecisionResult, hn as SandboxTerminals, hr as WriteManyFile, ia as SessionListOptions, ii as RolloutStartResult, in as SandboxConnection, k as ResumeOptions, ki as SandboxTraceBundle, kn as SandboxStatus, la as TaskSessionChanges, ln as SandboxRuntimeHealth, m as SnapshotDeleteAcknowledgement, ma as TurnDriveResult, mi as DurablePlanDecisionOptions, mr as WriteFileOptions, na as SessionInfo, ni as Rollout, nn as SSHCommandDescriptor, nr as FileSystem, o as RestoreSnapshotOptions, oa as SessionMessageAdmission, on as SandboxPortBinding, pi as DurablePlan, q as GitDiff, qa as SandboxEnvRecovery, qi as SendSessionMessageOptions, ra as SessionInterruptOptions, ri as RolloutOptions, rn as SSHCredentials, s as SandboxDeleteAcknowledgement, ta as SessionForkOptions, ti as ForkLookupOptions, u as SandboxOperationInfo, ua as TaskSessionCommitResult, un as SandboxTerminalAttachOptions, v as SnapshotOptions, va as BackendManager, vi as EventStreamOptions, vn as TeeAttestationOptions, vr as SearchOptions, wi as PromptInputPart, x as SnapshotResult, xi as IntelligenceReportCompareTo, y as SnapshotProvenance, yi as IntelligenceReport, yr as ExecOptions, z as ProcessManager, zi as ConversationTurnResult } from "./types-
|
|
1
|
+
import { Dt as AgentProfile, Et as InteractionResponseCommand, R as SandboxError, Rt as ProxySecretReceipt, St as AgentRunCancellationRequest, Tt as InteractionRequest, Y as SandboxCreateReceipt, at as AgentInteractiveSessionStart, ct as AgentInteractiveSessionControlClaimAcknowledgement, dt as AgentInteractiveSessionPromptCommand, ft as AgentInteractiveSessionRef, g as TerminalReadyInfo, gt as AgentInteractiveTerminalSession, ht as AgentInteractiveSessionStopCommand, i as TerminalStreamHandlers, jt as AgentProfileFileMount, l as MintScopedTokenOptions, lt as AgentInteractiveSessionControlClaimRequest, mt as AgentInteractiveSessionStopAcknowledgement, o as TerminalStreamReconnectAuthority, ot as AgentInteractiveSessionAttach, st as AgentInteractiveSessionControlClaim, u as ScopedToken, ut as AgentInteractiveSessionPromptAcknowledgement, vt as TerminalOutputEvent, wt as InteractionAcknowledgement, xt as AgentRunCancellationAcknowledgement, yt as TerminalReplayWindow, zt as InteractionData } from "./terminal-stream-types-DLaXWiSA.js";
|
|
2
|
+
import { $r as ForkCounts, An as SandboxShape, Ar as DriverInfo, Bi as CreateSessionOptions, C as WorkspaceOperationLookup, Ci as IntelligenceReportWindow, Cn as TerminalStream, D as ProvisionResult, Di as SandboxEvent, E as ProvisionEvent, Ei as PromptResult, Fi as CommitTaskSessionOptions, Fn as EgressManager, G as GitBranch, Ga as ExecResult, Gi as ListMessagesOptions, Ha as CodeExecutionResult, Hi as DispatchPromptOptions, Ia as WorkspaceImagePublishInput, J as GitStatus, Ja as SandboxEnvRecoveryView, Ji as SendSessionMessageRequest, K as GitCommit, Ka as WriteFileRequest, Ki as PublicProfileConflict, Kt as SandboxFleetTraceBundle, La as WorkspaceImagePublishResult, Li as CompletedTurnResult, Ln as NetworkManager, Lr as GpuLeaseManager, Mi as SandboxTraceOptions, Mn as SandboxResourceUsage, Mr as GpuLease, N as WaitForOptions, Nn as SandboxRuntimeCapabilities, Pi as TurnBackendConfig, Qi as SessionExecutionInfo, Qr as BranchOptions, Ri as ConversationTurnOptions, S as StopOptions, Sn as TeePublicKeyResponse, Ti as PromptOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, Ua as CodeLanguage, Ui as DispatchedSession, Ur as CodeExecutionOptions, Vi as CreateTaskSessionOptions, Wi as DriveTurnOptions, Xa as InteractionResolutionAcknowledgement, Xr as HttpClient, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, _ as SnapshotInfo, _r as SearchMatch, aa as SessionMessage, ai as WaitForRolloutOptions, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, c as SandboxDeleteOptions, ca as SessionResultOptions, cr as FileWriteResult, d as SandboxOperationKind, ei as ForkIdempotency, f as SandboxOperationState, fa as TaskSessionInfo, ga as BackendConfig, gn as StartupDiagnostics, gr as WriteManyOptions, hi as DurablePlanDecisionResult, hn as SandboxTerminals, hr as WriteManyFile, ia as SessionListOptions, ii as RolloutStartResult, in as SandboxConnection, k as ResumeOptions, ki as SandboxTraceBundle, kn as SandboxStatus, la as TaskSessionChanges, ln as SandboxRuntimeHealth, m as SnapshotDeleteAcknowledgement, ma as TurnDriveResult, mi as DurablePlanDecisionOptions, mr as WriteFileOptions, na as SessionInfo, ni as Rollout, nn as SSHCommandDescriptor, nr as FileSystem, o as RestoreSnapshotOptions, oa as SessionMessageAdmission, on as SandboxPortBinding, pi as DurablePlan, q as GitDiff, qa as SandboxEnvRecovery, qi as SendSessionMessageOptions, ra as SessionInterruptOptions, ri as RolloutOptions, rn as SSHCredentials, s as SandboxDeleteAcknowledgement, ta as SessionForkOptions, ti as ForkLookupOptions, u as SandboxOperationInfo, ua as TaskSessionCommitResult, un as SandboxTerminalAttachOptions, v as SnapshotOptions, va as BackendManager, vi as EventStreamOptions, vn as TeeAttestationOptions, vr as SearchOptions, wi as PromptInputPart, x as SnapshotResult, xi as IntelligenceReportCompareTo, y as SnapshotProvenance, yi as IntelligenceReport, yr as ExecOptions, z as ProcessManager, zi as ConversationTurnResult } from "./types-CVWyS23f.js";
|
|
3
3
|
import { c as RawEvidenceDirectoryExport, l as RawEvidenceExportOptions, o as RawEvidenceBoxDirectoryExport, p as RawEvidenceUnavailable, r as RawEvidenceArchiveManifest, s as RawEvidenceBoxExportOptions } from "./raw-evidence-export-C0ieFpi2.js";
|
|
4
4
|
import { t as CliAuthReference } from "./cli-auth-bundle-eUl7Sa1x.js";
|
|
5
|
-
import { n as SandboxLines } from "./lines-
|
|
6
|
-
import { _ as InteractiveSessionStatus, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-
|
|
7
|
-
import { r as InteractiveAttachRequest } from "./interactive-controller-
|
|
5
|
+
import { n as SandboxLines } from "./lines-BENsM2VO.js";
|
|
6
|
+
import { _ as InteractiveSessionStatus, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-Bg7mWDLX.js";
|
|
7
|
+
import { r as InteractiveAttachRequest } from "./interactive-controller-B8kWmCQk.js";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { OtlpTraceExport } from "@tangle-network/agent-trace-contract/otlp";
|
|
10
10
|
|