@tangle-network/sandbox 0.58.3 → 0.58.5
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 +3 -3
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-CJP18Ip8.d.ts → agent-run-outcome-xCHr2-OU.d.ts} +1 -1
- package/dist/{client-BHItHEg0.js → client-CGy_hRo4.js} +5 -2
- package/dist/{client-BI0_ZUUS.d.ts → client-FSfwsq91.d.ts} +4 -3
- package/dist/core.d.ts +4 -4
- package/dist/core.js +2 -2
- package/dist/{index-BitiSmBp.d.ts → index-D7RBHUmk.d.ts} +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +4 -4
- package/dist/{lines-DLIo-NTB.d.ts → lines-QsZsBO42.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{preview-CVrjEPgk.d.ts → preview-DRouZBdQ.d.ts} +3 -3
- package/dist/{runtime-api-BZg34WGd.js → runtime-api-DZy6PuPe.js} +1 -1
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/dist/{sandbox-B2kuUBn6.js → sandbox-CUTfilZU.js} +41 -46
- package/dist/{sandbox-DyPRgt1M.d.ts → sandbox-Cpfr2SpU.d.ts} +51 -29
- package/dist/session-gateway/index.d.ts +125 -67
- package/dist/session-gateway/index.js +22 -10
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DCjIsZI0.js → tangle-nU1V_G1c.js} +1 -1
- package/dist/{types-_Gn4d93t.d.ts → types-C90H0DjS.d.ts} +4 -0
- package/package.json +4 -4
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as CodeExecutionResult, E as CodeExecutionOptions, Gr as SandboxFleetParent, Ki as SessionListOptions, O as CodeLanguage, Wi as SessionInfo, d as BackendConfig, k as CodeResultPart, za as BackendType } from "../types-
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
4
|
-
import { o as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { _ as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-Cpfr2SpU.js";
|
|
2
|
+
import { D as CodeExecutionResult, E as CodeExecutionOptions, Gr as SandboxFleetParent, Ki as SessionListOptions, O as CodeLanguage, Wi as SessionInfo, d as BackendConfig, k as CodeResultPart, za as BackendType } from "../types-C90H0DjS.js";
|
|
3
|
+
import { i as Sandbox } from "../client-FSfwsq91.js";
|
|
4
|
+
import { o as PreviewAuthorizer } from "../preview-DRouZBdQ.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-BWsftreI.js";
|
|
2
|
-
import { x as assertCurrentBackendType } from "../runtime-api-
|
|
2
|
+
import { x as assertCurrentBackendType } from "../runtime-api-DZy6PuPe.js";
|
|
3
3
|
import { c as NotFoundError, g as ValidationError, m as StateError } from "../errors-BkhlSDW-.js";
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
4
|
+
import { n as Sandbox } from "../client-CGy_hRo4.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-CUTfilZU.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 { a as PreviewAuthorizationRequest, c as PublishAgentPreviewOptions, d as getAgentPreview, f as listAgentPreviews, h as resolveSelfSandbox, i as AgentPreviewOptions, l as assertPreviewId, m as removeAgentPreview, n as servePreviewMcp, o as PreviewAuthorizer, p as publishAgentPreview, r as AgentPreviewError, s as PreviewExecutionContext, t as PREVIEW_TOOLS, u as ensureAgentPreview } from "../preview-
|
|
1
|
+
import { a as PreviewAuthorizationRequest, c as PublishAgentPreviewOptions, d as getAgentPreview, f as listAgentPreviews, h as resolveSelfSandbox, i as AgentPreviewOptions, l as assertPreviewId, m as removeAgentPreview, n as servePreviewMcp, o as PreviewAuthorizer, p as publishAgentPreview, r as AgentPreviewError, s as PreviewExecutionContext, t as PREVIEW_TOOLS, u as ensureAgentPreview } from "../preview-DRouZBdQ.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Er as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, st as DurablePlanSnapshot } from "./types-
|
|
1
|
+
import { Er as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, st as DurablePlanSnapshot } from "./types-C90H0DjS.js";
|
|
2
2
|
import { InteractionRequest } from "@tangle-network/agent-interface";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as normalizeRuntimeBackendConfig, D as ALL_BACKEND_TYPES,
|
|
1
|
+
import { C as normalizeRuntimeBackendConfig, D as ALL_BACKEND_TYPES, _ as encodePromptForWire, b as applyRequestedModel, h as SANDBOX_PROXY_REQUEST_MAX_BYTES, k as backendTypeSchema, v as encodeTextForWire, x as assertCurrentBackendType, y as parseSSEStream } from "./runtime-api-DZy6PuPe.js";
|
|
2
2
|
import { _ as parseErrorResponse, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, p as ServerError, s as NetworkError, t as AuthError } from "./errors-BkhlSDW-.js";
|
|
3
3
|
import { n as combineAbortSignals } from "./abort-signal-CgFhjY_v.js";
|
|
4
|
-
import { A as rewrapResponse, M as exportTraceBundle, O as normalizeConnection, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof, x as requestInteractiveSessionToken } from "./sandbox-
|
|
4
|
+
import { A as rewrapResponse, M as exportTraceBundle, O as normalizeConnection, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof, x as requestInteractiveSessionToken } from "./sandbox-CUTfilZU.js";
|
|
5
5
|
import { LinesClient } from "./lines.js";
|
|
6
6
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -3858,6 +3858,8 @@ var Sandbox = class Sandbox {
|
|
|
3858
3858
|
if (!response.ok) throw parseErrorResponse(response.status, await response.text(), void 0, response.headers);
|
|
3859
3859
|
const raw = await response.json();
|
|
3860
3860
|
if (typeof raw.workspaceCaptureV1 !== "boolean" || typeof raw.nativeSessionCaptureV1 !== "boolean") throw new ServerError("Malformed evidence capability response");
|
|
3861
|
+
const nativeVersion = raw.nativeSessionCaptureVersion;
|
|
3862
|
+
if (nativeVersion !== void 0 && (typeof nativeVersion !== "number" || !Number.isSafeInteger(nativeVersion) || nativeVersion < 1)) throw new ServerError("Malformed native capture protocol version");
|
|
3861
3863
|
const digest = raw.sidecarImageDigest;
|
|
3862
3864
|
const harnesses = raw.nativeSessionCaptureHarnesses === void 0 && raw.nativeSessionCaptureV1 === false ? [] : raw.nativeSessionCaptureHarnesses;
|
|
3863
3865
|
const backendTypes = new Set(ALL_BACKEND_TYPES);
|
|
@@ -3866,6 +3868,7 @@ var Sandbox = class Sandbox {
|
|
|
3866
3868
|
return {
|
|
3867
3869
|
workspaceCaptureV1: raw.workspaceCaptureV1,
|
|
3868
3870
|
nativeSessionCaptureV1: raw.nativeSessionCaptureV1,
|
|
3871
|
+
...typeof nativeVersion === "number" ? { nativeSessionCaptureVersion: nativeVersion } : {},
|
|
3869
3872
|
nativeSessionCaptureHarnesses: harnesses,
|
|
3870
3873
|
...typeof digest === "string" ? { sidecarImageDigest: digest } : {}
|
|
3871
3874
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-
|
|
1
|
+
import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-Cpfr2SpU.js";
|
|
2
2
|
import { l as ScopedToken, s as MintInteractiveSessionTokenOptions } from "./terminal-stream-Bf2stNDX.js";
|
|
3
|
-
import { A as LinesClient } from "./lines-
|
|
4
|
-
import { $n as PublicTemplateVersionInfo, Ar as SandboxFleetArtifactSpec, B as CreateSandboxOptions, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, Dr as SandboxFleetAgent, F as CreateIntelligenceReportOptions, G as DeleteMatchingSandboxesFilter, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Kn as PromptOptions, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Nr as SandboxFleetDispatchResponse, Pi as SecretsManager, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Qn as PublicTemplateInfo, R as CreateSandboxFleetTokenOptions, Rt as FleetDispatchResultBufferOptions, Ta as UsageInfo, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Ut as FleetExecDispatchResult, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, Xr as SandboxFleetToken, Yr as SandboxFleetSpend, Zr as SandboxFleetTraceBundle, _n as IntelligenceReportBudget, _t as ExecOptions, ai as SandboxFleetWorkspaceSnapshotResult, ar as ReconcileSandboxFleetsResult, b as BatchRunRequest, bn as IntelligenceReportWindow, ca as SubscriptionInfo, d as BackendConfig, ei as SandboxFleetTraceOptions, er as PublishPublicTemplateOptions, gn as IntelligenceReport, ia as SshKeysManager, ii as SandboxFleetWorkspaceRestoreResult, ir as ReconcileSandboxFleetsOptions, jr as SandboxFleetCostEstimate, kr as SandboxFleetArtifact, l as AttachSandboxFleetMachineOptions, nr as ReapExpiredSandboxFleetsOptions, oi as SandboxIdentity, q as DeleteMatchingSandboxesResult, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, ri as SandboxFleetWorkspaceReconcileResult, rr as ReapExpiredSandboxFleetsResult, si as SandboxInfo, ti as SandboxFleetUsage, tr as PublishPublicTemplateVersionOptions, v as BatchResult, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, wn as ListSandboxFleetOptions, y as BatchRunOptions, ya as TokenRefreshHandler, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zt as FleetDispatchStreamOptions } from "./types-
|
|
3
|
+
import { A as LinesClient } from "./lines-QsZsBO42.js";
|
|
4
|
+
import { $n as PublicTemplateVersionInfo, Ar as SandboxFleetArtifactSpec, B as CreateSandboxOptions, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, Dr as SandboxFleetAgent, F as CreateIntelligenceReportOptions, G as DeleteMatchingSandboxesFilter, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Kn as PromptOptions, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Nr as SandboxFleetDispatchResponse, Pi as SecretsManager, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Qn as PublicTemplateInfo, R as CreateSandboxFleetTokenOptions, Rt as FleetDispatchResultBufferOptions, Ta as UsageInfo, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Ut as FleetExecDispatchResult, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, Xr as SandboxFleetToken, Yr as SandboxFleetSpend, Zr as SandboxFleetTraceBundle, _n as IntelligenceReportBudget, _t as ExecOptions, ai as SandboxFleetWorkspaceSnapshotResult, ar as ReconcileSandboxFleetsResult, b as BatchRunRequest, bn as IntelligenceReportWindow, ca as SubscriptionInfo, d as BackendConfig, ei as SandboxFleetTraceOptions, er as PublishPublicTemplateOptions, gn as IntelligenceReport, ia as SshKeysManager, ii as SandboxFleetWorkspaceRestoreResult, ir as ReconcileSandboxFleetsOptions, jr as SandboxFleetCostEstimate, kr as SandboxFleetArtifact, l as AttachSandboxFleetMachineOptions, nr as ReapExpiredSandboxFleetsOptions, oi as SandboxIdentity, q as DeleteMatchingSandboxesResult, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, ri as SandboxFleetWorkspaceReconcileResult, rr as ReapExpiredSandboxFleetsResult, si as SandboxInfo, ti as SandboxFleetUsage, tr as PublishPublicTemplateVersionOptions, v as BatchResult, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, wn as ListSandboxFleetOptions, y as BatchRunOptions, ya as TokenRefreshHandler, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zt as FleetDispatchStreamOptions } from "./types-C90H0DjS.js";
|
|
5
5
|
import { f as SandboxError } from "./errors-AVpynVrG.js";
|
|
6
6
|
import { AgentInteractiveSessionRef } from "@tangle-network/agent-interface";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -580,6 +580,7 @@ declare class Sandbox implements HttpClient, ScopedTokenHttpClient {
|
|
|
580
580
|
evidenceCapabilities(): Promise<{
|
|
581
581
|
workspaceCaptureV1: boolean;
|
|
582
582
|
nativeSessionCaptureV1: boolean;
|
|
583
|
+
nativeSessionCaptureVersion?: number;
|
|
583
584
|
nativeSessionCaptureHarnesses: BackendType[];
|
|
584
585
|
sidecarImageDigest?: string;
|
|
585
586
|
}>;
|
package/dist/core.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-
|
|
2
|
-
import { A as LinesClient, B as LineApplicationState, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, N as lineInstanceKey, P as profileChannelReference, R as LineApplicationRequest, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, f as LineMember, l as LineInstanceAttachOptions, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-
|
|
3
|
-
import { B as CreateSandboxOptions, Fn as PreviewLinkManager, Ga as ManagedProcessSpec, Gn as PromptInputPart, Ha as ManagedProcessJobs, In as PreviewLinkWaitOptions, Ji as SessionMessageAdmission, Ka as ManagedProcessState, M as ConversationTurnOptions, N as ConversationTurnResult, Pn as PreviewLinkInfo, Ua as ManagedProcessOptions, Va as ManagedProcessClient, Wa as ManagedProcessRecord, _t as ExecOptions, kn as NetworkConfig, si as SandboxInfo, vr as SandboxConfig, vt as ExecResult, yi as SandboxStatus } from "./types-
|
|
4
|
-
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, d as HostedInstance, f as InstanceProfile, g as InstancesClient, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, m as InstanceRestartingError, p as InstanceRecord, u as EnsureInstanceOptions, w as BackendRegistryInteractionKind } from "./client-
|
|
1
|
+
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-Cpfr2SpU.js";
|
|
2
|
+
import { A as LinesClient, B as LineApplicationState, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, N as lineInstanceKey, P as profileChannelReference, R as LineApplicationRequest, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, f as LineMember, l as LineInstanceAttachOptions, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-QsZsBO42.js";
|
|
3
|
+
import { B as CreateSandboxOptions, Fn as PreviewLinkManager, Ga as ManagedProcessSpec, Gn as PromptInputPart, Ha as ManagedProcessJobs, In as PreviewLinkWaitOptions, Ji as SessionMessageAdmission, Ka as ManagedProcessState, M as ConversationTurnOptions, N as ConversationTurnResult, Pn as PreviewLinkInfo, Ua as ManagedProcessOptions, Va as ManagedProcessClient, Wa as ManagedProcessRecord, _t as ExecOptions, kn as NetworkConfig, si as SandboxInfo, vr as SandboxConfig, vt as ExecResult, yi as SandboxStatus } from "./types-C90H0DjS.js";
|
|
4
|
+
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, d as HostedInstance, f as InstanceProfile, g as InstancesClient, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, m as InstanceRestartingError, p as InstanceRecord, u as EnsureInstanceOptions, w as BackendRegistryInteractionKind } from "./client-FSfwsq91.js";
|
|
5
5
|
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as StateError, h as ServerError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, p as SandboxErrorJson, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-AVpynVrG.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core.d.ts
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, m as StateError, n as CapabilityError, p as ServerError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-BkhlSDW-.js";
|
|
2
|
-
import { _ as backendRegistryInteractionKindSchema, b as parseBackendRegistryResponse, c as InstanceRestartingError, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, l as InstancesClient, n as Sandbox, s as HostedInstance, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-
|
|
3
|
-
import { D as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
2
|
+
import { _ as backendRegistryInteractionKindSchema, b as parseBackendRegistryResponse, c as InstanceRestartingError, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, l as InstancesClient, n as Sandbox, s as HostedInstance, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-CGy_hRo4.js";
|
|
3
|
+
import { D as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-CUTfilZU.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
5
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-DOg7jrnA.js";
|
|
6
6
|
//#region src/core.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as HttpClient, r as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { B as CreateSandboxOptions } from "./types-
|
|
1
|
+
import { n as HttpClient, r as SandboxInstance } from "./sandbox-Cpfr2SpU.js";
|
|
2
|
+
import { B as CreateSandboxOptions } from "./types-C90H0DjS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as SandboxMcpConfig, A as InteractiveStopCommand, B as BrowserInteractiveSessionControllerOptions, C as InteractiveSessionHandleOptions, D as InteractiveSessionRef, E as InteractiveSessionInfo, F as InteractiveTerminalFrameLog, G as SandboxInteractionCommandResult, H as InteractiveSessionController, I as InteractiveTerminalMetadata, J as SandboxInteractionResult, K as SandboxInteractionConflict, L as createInteractiveTerminalCapture, M as RespondToPermissionOptions, N as agentInteractiveSessionPromptRequestDigest, O as InteractiveSessionStartOptions, P as InteractiveTerminalCapture, Q as SANDBOX_MCP_SERVER_NAME, R as createInteractiveTerminalSession, S as InteractiveSessionHandle, T as InteractiveSessionIncarnationId, U as InteractiveSessionControllerOptions, V as InteractiveAttachRequest, W as InteractiveSessionControllerTransport, X as BuildSandboxMcpConfigOptions, Y as BuildControlPlaneMcpConfigOptions, Z as CONTROL_PLANE_MCP_SERVER_NAME, _ as SandboxSession, a as WorkspaceImagePublishRequestOptions, b as InteractivePromptCommand, c as TraceExportFormat, d as buildTraceExportPayload, et as SandboxMcpEndpoint, f as exportTraceBundle, g as RawEvidenceExport, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as InterruptResult, k as InteractiveSessionStartResult, l as TraceExportResult, m as toOtelJson, nt as buildControlPlaneMcpConfig, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, q as SandboxInteractionResolution, r as SandboxInstance, rt as buildSandboxMcpConfig, s as WorkspaceImages, t as ForkAcknowledgement, tt as SandboxMcpServerEntry, u as TraceExportSink, v as AgentInteractiveTerminalSession, w as InteractiveSessionHost, x as InteractiveSessionControlClaim, y as InteractiveControlClaimRequest, z as BrowserInteractiveSessionController } from "./sandbox-Cpfr2SpU.js";
|
|
2
2
|
import { c as MintScopedTokenOptions, d as TERMINAL_WS_ECHO_SUBPROTOCOL, f as TerminalExitInfo, g as TerminalStreamAuthFormat, h as TerminalReadyInfo, i as TerminalStreamOptions, l as ScopedToken, m as TerminalOutputMessage, n as TerminalStreamError, o as TerminalStreamToken, p as TerminalInteractiveSessionIdentity, r as TerminalStreamHandlers, s as MintInteractiveSessionTokenOptions, t as TerminalStream, u as ScopedTokenScope } from "./terminal-stream-Bf2stNDX.js";
|
|
3
3
|
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as InteractiveAttachOptions, f as InteractiveControlClaimAcknowledgement, h as InteractiveSessionStatus, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as createInteractiveControlHolderId, m as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimOptions, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-1m7jgLeg.js";
|
|
4
|
-
import { A as LinesClient, B as LineApplicationState, C as LineRole, D as LineTransport, E as LineThread, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, R as LineApplicationRequest, S as LineRespondView, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-
|
|
5
|
-
import { $ as DownloadOptions, $i as SnapshotDeleteOutcome, $n as PublicTemplateVersionInfo, $r as SandboxFleetTraceExport, $t as GitAuth, A as CommitTaskSessionOptions, Aa as WriteManyFile, Ai as SandboxUser, An as NetworkManager, Ar as SandboxFleetArtifactSpec, At as FileUsageResult, B as CreateSandboxOptions, Ba as parseBackendType, Bi as SessionExecutionInfo, Bn as ProcessLogEntry, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, C as BranchOptions, Ca as UploadOptions, Ci as SandboxTerminalManager, Cn as ListOptions, Cr as SandboxDeleteOptions, Ct as FileReadResult, Da as WaitForRolloutOptions, Di as SandboxTraceEvent, Dn as McpServerConfig, Dr as SandboxFleetAgent, Dt as FileTreeOptions, Ea as WaitForOptions, Ei as SandboxTraceBundle, En as MAX_EGRESS_DENIALS_LIMIT, Er as SandboxEvent, Et as FileTreeFile, F as CreateIntelligenceReportOptions, Fa as BatchSidecarGroup, Fi as SendSessionMessageOptions, Fn as PreviewLinkManager, Fr as SandboxFleetDriverTimings, Ft as FleetAgentRunStatus, G as DeleteMatchingSandboxesFilter, Ga as ManagedProcessSpec, Gi as SessionInterruptOptions, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, H as CreateTaskSessionOptions, Ha as ManagedProcessJobs, Hi as SessionFailureReason, Hn as ProcessSignal, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ia as BatchTaskUsage, Ii as SendSessionMessageRequest, In as PreviewLinkWaitOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, J as DeleteOptions, Ji as SessionMessageAdmission, Jn as ProvisionEvent, Jr as SandboxFleetProfileRef, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Ka as ManagedProcessState, Ki as SessionListOptions, Kn as PromptOptions, Kr as SandboxFleetPlacement, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, La as PublicBatchRunRequest, Li as SentSessionMessage, Ln as Process, Lr as SandboxFleetIntelligenceEnvelope, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Ma as BatchBackendStats, Mi as SearchOptions, Mn as PermissionLevel, Mr as SandboxFleetDispatchFailureClass, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Ni as SecretInfo, Nn as PermissionsManager, Nr as SandboxFleetDispatchResponse, Nt as FleetAgentPlacement, Oa as WorkspaceOperationLookup, Oi as SandboxTraceExport, On as MkdirOptions, Or as SandboxFleetAgentSpec, Ot as FileTreeResult, P as CreateGpuLeaseOptions, Pa as BatchEventDataMap, Pi as SecretsManager, Pn as PreviewLinkInfo, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Q as DispatchedSession, Qi as SnapshotDeleteAcknowledgement, Qn as PublicTemplateInfo, Qr as SandboxFleetTraceEvent, Qt as GPU_LEASE_PROVIDER_NAMES, Ra as ALL_BACKEND_TYPES, Ri as SessionBackendCredentials, Rn as ProcessInfo, Rr as SandboxFleetMachine, Rt as FleetDispatchResultBufferOptions, S as BatchTaskResult, Sa as UpdateUserOptions, Si as SandboxTerminalInfo, Sn as ListMessagesOptions, Sr as SandboxDeleteAcknowledgement, St as FileReadError, T as ChunkedUploadResult, Ta as UsageInfo, Ti as SandboxTerminals, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Tt as FileSystem, U as DeleteMatchingSandboxOutcome, Ua as ManagedProcessOptions, Ui as SessionForkOptions, Un as ProcessSpawnOptions, Ur as SandboxFleetManifestMachine, V as CreateSessionOptions, Va as ManagedProcessClient, Vi as SessionExecutionStatus, Vn as ProcessManager, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, W as DeleteMatchingSandboxResult, Wa as ManagedProcessRecord, Wi as SessionInfo, Wn as ProcessStatus, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, X as DirectoryPermission, Xi as SessionResultOptions, Xn as ProvisionStatus, Xr as SandboxFleetToken, Xt as ForkIdempotency, Y as DevServerInfo, Yi as SessionMessageInputPart, Yn as ProvisionResult, Yr as SandboxFleetSpend, Yt as ForkCounts, Z as DispatchPromptOptions, Zi as SessionStatus, Zn as ProvisionStep, Zr as SandboxFleetTraceBundle, Zt as ForkLookupOptions, _ as BatchBackend, _a as TeePublicKey, _i as SandboxShapePreset, _n as IntelligenceReportBudget, _r as SSHCredentials, _t as ExecOptions, aa as StartupDiagnostics, ai as SandboxFleetWorkspaceSnapshotResult, an as GpuLease, ar as ReconcileSandboxFleetsResult, at as DurablePlan, b as BatchRunRequest, ba as TokenUsage, bi as SandboxTerminalAttachOptions, bn as IntelligenceReportWindow, br as SandboxCreateOutcome, bt as FileReadBatchOptions, c as AttachGpuLeaseOptions, ca as SubscriptionInfo, ci as SandboxIntelligenceEnvelope, cn as GpuLeaseExecOptions, ct as EffectiveBackend, d as BackendConfig, da as TaskSessionFileChange, di as SandboxRemovalState, dn as GpuLeaseProviderName, dr as RolloutOptions, dt as EgressDenial, ea as SnapshotIdempotency, ei as SandboxFleetTraceOptions, en as GitBranch, er as PublishPublicTemplateOptions, et as DownloadProgress, f as BackendInfo, fa as TaskSessionInfo, fi as SandboxResourceUsage, fn as GpuLeaseStatus, fr as RolloutScorer, ft as EgressManager, g as BackendStatus, ga as TeeAttestationResponse, gi as SandboxShape, gn as IntelligenceReport, gr as SSHCommandDescriptor, gt as ExactProcessSpawnOptions, h as BackendRuntimeConfigUpdate, ha as TeeAttestationReport, hi as SandboxRuntimeHealth, hn as InstalledTool, hr as RolloutTurnPart, ht as EventStreamOptions, ii as SandboxFleetWorkspaceRestoreResult, in as GitStatus, ir as ReconcileSandboxFleetsOptions, it as DriverType, j as CompletedTurnResult, ja as WriteManyOptions, ji as SearchMatch, jn as NonHostAgentDriverConfig, jr as SandboxFleetCostEstimate, jt as FileWriteResult, ka as WriteFileOptions, ki as SandboxTraceOptions, kn as NetworkConfig, kr as SandboxFleetArtifact, kt as FileUsageOptions, l as AttachSandboxFleetMachineOptions, la as TaskSessionChanges, li as SandboxPortBinding, ln as GpuLeaseExecResult, lr as Rollout, lt as EffectiveBackendProfile, m as BackendMcpServerStatus, ma as TeeAttestationOptions, mi as SandboxRuntimeCapabilities, mn as HostAgentRuntimeBackend, mr as RolloutStatus, mt as EnsureDevServerOptions, n as AccessPolicyRule, na as SnapshotOptions, ni as SandboxFleetWorkspace, nn as GitConfig, nr as ReapExpiredSandboxFleetsOptions, nt as DriverConfig, oa as StartupOperation, oi as SandboxIdentity, on as GpuLeaseBilling, or as RenameOptions, ot as DurablePlanDecisionResult, p as BackendManager, pa as TaskSessionProfile, pi as SandboxResources, pn as HostAgentDriverConfig, pr as RolloutStartResult, pt as EgressPolicy, q as DeleteMatchingSandboxesResult, qi as SessionMessage, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, r as AddUserOptions, ra as SnapshotResult, ri as SandboxFleetWorkspaceReconcileResult, rn as GitDiff, rr as ReapExpiredSandboxFleetsResult, rt as DriverInfo, sa as StorageConfig, si as SandboxInfo, sn as GpuLeaseCommandResult, t as AcceleratorKind, ta as SnapshotInfo, ti as SandboxFleetUsage, tn as GitCommit, tr as PublishPublicTemplateVersionOptions, tt as DriveTurnOptions, u as BackendCapabilities, ua as TaskSessionCommitResult, ui as SandboxPortPreviewLink, un as GpuLeaseManager, ur as RolloutChildResult, ut as EffectiveBackendSource, v as BatchResult, va as TeePublicKeyResponse, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, w as ChunkedUploadOptions, wa as UploadProgress, wi as SandboxTerminalRequestOptions, wn as ListSandboxFleetOptions, wr as SandboxDeleteOutcome, wt as FileRenameResult, x as BatchTask, xa as TurnDriveResult, xi as SandboxTerminalCreateOptions, xr as SandboxCreateReceipt, xt as FileReadBatchResult, y as BatchRunOptions, ya as TokenRefreshHandler, yi as SandboxStatus, yn as IntelligenceReportSubjectType, yr as SandboxConnection, yt as FileInfo, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zi as SessionEventStreamOptions, zn as ProcessListOptions, zr as SandboxFleetMachineMeteredUsage, zt as FleetDispatchStreamOptions } from "./types-
|
|
6
|
-
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, _ as SandboxFleet, a as Team, b as ParsedSSEEvent, c as SessionBroadcastEvent, d as HostedInstance, f as InstanceProfile, g as InstancesClient, h as InstanceStart, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, l as SessionBroadcastResult, m as InstanceRestartingError, n as IntelligenceClient, o as TeamInvitation, p as InstanceRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as EnsureInstanceOptions, v as SandboxFleetClient, w as BackendRegistryInteractionKind, x as parseSSEStream, y as ParseSSEStreamOptions } from "./client-
|
|
4
|
+
import { A as LinesClient, B as LineApplicationState, C as LineRole, D as LineTransport, E as LineThread, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, R as LineApplicationRequest, S as LineRespondView, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-QsZsBO42.js";
|
|
5
|
+
import { $ as DownloadOptions, $i as SnapshotDeleteOutcome, $n as PublicTemplateVersionInfo, $r as SandboxFleetTraceExport, $t as GitAuth, A as CommitTaskSessionOptions, Aa as WriteManyFile, Ai as SandboxUser, An as NetworkManager, Ar as SandboxFleetArtifactSpec, At as FileUsageResult, B as CreateSandboxOptions, Ba as parseBackendType, Bi as SessionExecutionInfo, Bn as ProcessLogEntry, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, C as BranchOptions, Ca as UploadOptions, Ci as SandboxTerminalManager, Cn as ListOptions, Cr as SandboxDeleteOptions, Ct as FileReadResult, Da as WaitForRolloutOptions, Di as SandboxTraceEvent, Dn as McpServerConfig, Dr as SandboxFleetAgent, Dt as FileTreeOptions, Ea as WaitForOptions, Ei as SandboxTraceBundle, En as MAX_EGRESS_DENIALS_LIMIT, Er as SandboxEvent, Et as FileTreeFile, F as CreateIntelligenceReportOptions, Fa as BatchSidecarGroup, Fi as SendSessionMessageOptions, Fn as PreviewLinkManager, Fr as SandboxFleetDriverTimings, Ft as FleetAgentRunStatus, G as DeleteMatchingSandboxesFilter, Ga as ManagedProcessSpec, Gi as SessionInterruptOptions, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, H as CreateTaskSessionOptions, Ha as ManagedProcessJobs, Hi as SessionFailureReason, Hn as ProcessSignal, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ia as BatchTaskUsage, Ii as SendSessionMessageRequest, In as PreviewLinkWaitOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, J as DeleteOptions, Ji as SessionMessageAdmission, Jn as ProvisionEvent, Jr as SandboxFleetProfileRef, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Ka as ManagedProcessState, Ki as SessionListOptions, Kn as PromptOptions, Kr as SandboxFleetPlacement, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, La as PublicBatchRunRequest, Li as SentSessionMessage, Ln as Process, Lr as SandboxFleetIntelligenceEnvelope, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Ma as BatchBackendStats, Mi as SearchOptions, Mn as PermissionLevel, Mr as SandboxFleetDispatchFailureClass, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Ni as SecretInfo, Nn as PermissionsManager, Nr as SandboxFleetDispatchResponse, Nt as FleetAgentPlacement, Oa as WorkspaceOperationLookup, Oi as SandboxTraceExport, On as MkdirOptions, Or as SandboxFleetAgentSpec, Ot as FileTreeResult, P as CreateGpuLeaseOptions, Pa as BatchEventDataMap, Pi as SecretsManager, Pn as PreviewLinkInfo, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Q as DispatchedSession, Qi as SnapshotDeleteAcknowledgement, Qn as PublicTemplateInfo, Qr as SandboxFleetTraceEvent, Qt as GPU_LEASE_PROVIDER_NAMES, Ra as ALL_BACKEND_TYPES, Ri as SessionBackendCredentials, Rn as ProcessInfo, Rr as SandboxFleetMachine, Rt as FleetDispatchResultBufferOptions, S as BatchTaskResult, Sa as UpdateUserOptions, Si as SandboxTerminalInfo, Sn as ListMessagesOptions, Sr as SandboxDeleteAcknowledgement, St as FileReadError, T as ChunkedUploadResult, Ta as UsageInfo, Ti as SandboxTerminals, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Tt as FileSystem, U as DeleteMatchingSandboxOutcome, Ua as ManagedProcessOptions, Ui as SessionForkOptions, Un as ProcessSpawnOptions, Ur as SandboxFleetManifestMachine, V as CreateSessionOptions, Va as ManagedProcessClient, Vi as SessionExecutionStatus, Vn as ProcessManager, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, W as DeleteMatchingSandboxResult, Wa as ManagedProcessRecord, Wi as SessionInfo, Wn as ProcessStatus, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, X as DirectoryPermission, Xi as SessionResultOptions, Xn as ProvisionStatus, Xr as SandboxFleetToken, Xt as ForkIdempotency, Y as DevServerInfo, Yi as SessionMessageInputPart, Yn as ProvisionResult, Yr as SandboxFleetSpend, Yt as ForkCounts, Z as DispatchPromptOptions, Zi as SessionStatus, Zn as ProvisionStep, Zr as SandboxFleetTraceBundle, Zt as ForkLookupOptions, _ as BatchBackend, _a as TeePublicKey, _i as SandboxShapePreset, _n as IntelligenceReportBudget, _r as SSHCredentials, _t as ExecOptions, aa as StartupDiagnostics, ai as SandboxFleetWorkspaceSnapshotResult, an as GpuLease, ar as ReconcileSandboxFleetsResult, at as DurablePlan, b as BatchRunRequest, ba as TokenUsage, bi as SandboxTerminalAttachOptions, bn as IntelligenceReportWindow, br as SandboxCreateOutcome, bt as FileReadBatchOptions, c as AttachGpuLeaseOptions, ca as SubscriptionInfo, ci as SandboxIntelligenceEnvelope, cn as GpuLeaseExecOptions, ct as EffectiveBackend, d as BackendConfig, da as TaskSessionFileChange, di as SandboxRemovalState, dn as GpuLeaseProviderName, dr as RolloutOptions, dt as EgressDenial, ea as SnapshotIdempotency, ei as SandboxFleetTraceOptions, en as GitBranch, er as PublishPublicTemplateOptions, et as DownloadProgress, f as BackendInfo, fa as TaskSessionInfo, fi as SandboxResourceUsage, fn as GpuLeaseStatus, fr as RolloutScorer, ft as EgressManager, g as BackendStatus, ga as TeeAttestationResponse, gi as SandboxShape, gn as IntelligenceReport, gr as SSHCommandDescriptor, gt as ExactProcessSpawnOptions, h as BackendRuntimeConfigUpdate, ha as TeeAttestationReport, hi as SandboxRuntimeHealth, hn as InstalledTool, hr as RolloutTurnPart, ht as EventStreamOptions, ii as SandboxFleetWorkspaceRestoreResult, in as GitStatus, ir as ReconcileSandboxFleetsOptions, it as DriverType, j as CompletedTurnResult, ja as WriteManyOptions, ji as SearchMatch, jn as NonHostAgentDriverConfig, jr as SandboxFleetCostEstimate, jt as FileWriteResult, ka as WriteFileOptions, ki as SandboxTraceOptions, kn as NetworkConfig, kr as SandboxFleetArtifact, kt as FileUsageOptions, l as AttachSandboxFleetMachineOptions, la as TaskSessionChanges, li as SandboxPortBinding, ln as GpuLeaseExecResult, lr as Rollout, lt as EffectiveBackendProfile, m as BackendMcpServerStatus, ma as TeeAttestationOptions, mi as SandboxRuntimeCapabilities, mn as HostAgentRuntimeBackend, mr as RolloutStatus, mt as EnsureDevServerOptions, n as AccessPolicyRule, na as SnapshotOptions, ni as SandboxFleetWorkspace, nn as GitConfig, nr as ReapExpiredSandboxFleetsOptions, nt as DriverConfig, oa as StartupOperation, oi as SandboxIdentity, on as GpuLeaseBilling, or as RenameOptions, ot as DurablePlanDecisionResult, p as BackendManager, pa as TaskSessionProfile, pi as SandboxResources, pn as HostAgentDriverConfig, pr as RolloutStartResult, pt as EgressPolicy, q as DeleteMatchingSandboxesResult, qi as SessionMessage, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, r as AddUserOptions, ra as SnapshotResult, ri as SandboxFleetWorkspaceReconcileResult, rn as GitDiff, rr as ReapExpiredSandboxFleetsResult, rt as DriverInfo, sa as StorageConfig, si as SandboxInfo, sn as GpuLeaseCommandResult, t as AcceleratorKind, ta as SnapshotInfo, ti as SandboxFleetUsage, tn as GitCommit, tr as PublishPublicTemplateVersionOptions, tt as DriveTurnOptions, u as BackendCapabilities, ua as TaskSessionCommitResult, ui as SandboxPortPreviewLink, un as GpuLeaseManager, ur as RolloutChildResult, ut as EffectiveBackendSource, v as BatchResult, va as TeePublicKeyResponse, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, w as ChunkedUploadOptions, wa as UploadProgress, wi as SandboxTerminalRequestOptions, wn as ListSandboxFleetOptions, wr as SandboxDeleteOutcome, wt as FileRenameResult, x as BatchTask, xa as TurnDriveResult, xi as SandboxTerminalCreateOptions, xr as SandboxCreateReceipt, xt as FileReadBatchResult, y as BatchRunOptions, ya as TokenRefreshHandler, yi as SandboxStatus, yn as IntelligenceReportSubjectType, yr as SandboxConnection, yt as FileInfo, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zi as SessionEventStreamOptions, zn as ProcessListOptions, zr as SandboxFleetMachineMeteredUsage, zt as FleetDispatchStreamOptions } from "./types-C90H0DjS.js";
|
|
6
|
+
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, _ as SandboxFleet, a as Team, b as ParsedSSEEvent, c as SessionBroadcastEvent, d as HostedInstance, f as InstanceProfile, g as InstancesClient, h as InstanceStart, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, l as SessionBroadcastResult, m as InstanceRestartingError, n as IntelligenceClient, o as TeamInvitation, p as InstanceRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as EnsureInstanceOptions, v as SandboxFleetClient, w as BackendRegistryInteractionKind, x as parseSSEStream, y as ParseSSEStreamOptions } from "./client-FSfwsq91.js";
|
|
7
7
|
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as StateError, h as ServerError, i as EgressProxyRecoveryError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, o as KeyBudgetExhaustedError, p as SandboxErrorJson, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-AVpynVrG.js";
|
|
8
8
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-D4u-vv87.js";
|
|
9
9
|
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-C48z7K4r.js";
|
|
10
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
11
|
-
import { o as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-
|
|
10
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-xCHr2-OU.js";
|
|
11
|
+
import { o as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-D7RBHUmk.js";
|
|
12
12
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
13
13
|
import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileFileMount as AgentProfileFileMount$1, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
14
14
|
import { z } from "zod";
|
|
@@ -4448,4 +4448,4 @@ interface RouterEvalMatrixCaseResult {
|
|
|
4448
4448
|
}
|
|
4449
4449
|
declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
|
|
4450
4450
|
//#endregion
|
|
4451
|
-
export { ALL_BACKEND_TYPES, type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentInteractiveTerminalSession, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentRunOutcome, type AgentRunOutcomeTracker, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendMcpServerStatus, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, type BackendRuntimeConfigUpdate, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, BrowserInteractiveSessionController, type BrowserInteractiveSessionControllerOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type ConversationTurnOptions, type ConversationTurnResult, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteMatchingSandboxOutcome, type DeleteMatchingSandboxResult, type DeleteMatchingSandboxesFilter, type DeleteMatchingSandboxesOptions, type DeleteMatchingSandboxesResult, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, EdgeNotReadyError, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressDenial, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EnsureInstanceOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetAgentId, type FleetAgentPlacement, type FleetAgentResult, type FleetAgentRunStatus, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type FleetPromptDispatchResult, type FleetRunEvent, type FleetRunOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, HostedInstance, INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InstanceProfile, type InstanceRecord, InstanceRestartingError, type InstanceStart, InstancesClient, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAttachRequest, type InteractiveControlClaimAcknowledgement, type InteractiveControlClaimOptions, type InteractiveControlClaimRequest, type InteractivePromptCommand, type InteractiveRequestOptions, type InteractiveSessionControlClaim, InteractiveSessionControlController, type InteractiveSessionControlControllerOptions, type InteractiveSessionControlTransport, InteractiveSessionController, type InteractiveSessionControllerOptions, type InteractiveSessionControllerTransport, InteractiveSessionHandle, type InteractiveSessionHandleOptions, type InteractiveSessionHost, type InteractiveSessionIdentity, type InteractiveSessionIncarnationId, type InteractiveSessionInfo, type InteractiveSessionRef, type InteractiveSessionStartOptions, type InteractiveSessionStartResult, type InteractiveSessionStatus, type InteractiveStopCommand, type InteractiveTerminalCapture, InteractiveTerminalFrameLog, type InteractiveTerminalMetadata, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, KeyBudgetExhaustedError, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, type Line, type LineAgentRolePolicy, type LineAllowance, type LineAllowanceSubject, type LineApplication, type LineApplicationRequest, type LineApplicationResult, type LineApplicationState, type LineApplicationView, type LineAttachOptions, type LineAttachment, type LineExecutionKey, type LineFromConnectionInput, type LineInstanceAttachOptions, type LineInstanceCreate, type LineLimits, type LineMember, type LineMemberInstance, type LineMemberPatch, type LineMemberSpec, type LineMessage, type LineNumberInventory, type LineProvider, type LineReminderPreferences, type LineReplyGate, type LineRespondAgent, type LineRespondView, type LineRole, type LineSendInput, type LineSendReceipt, type LineThread, type LineTransport, type LineVoice, type LineVoiceOptions, LinesClient, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, ManagedProcessClient, type ManagedProcessJobs, type ManagedProcessOptions, type ManagedProcessRecord, type ManagedProcessSpec, type ManagedProcessState, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintInteractiveSessionTokenOptions, type MintScopedTokenOptions, type MkdirOptions, type NativeRolloutExport, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type RawEvidenceExport, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, ResumeEnvRequiredError, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOptions, type SandboxDeleteOutcome, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetAgent, type SandboxFleetAgentSpec, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetParent, type SandboxFleetPlacement, type SandboxFleetPolicy, type SandboxFleetProfileRef, type SandboxFleetSpend, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, SandboxLines, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxRemovalState, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxShape, type SandboxShapePreset, type SandboxShapesInfo, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionExecutionInfo, type SessionExecutionStatus, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageAdmission, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalExitInfo, type TerminalInteractiveSessionIdentity, type TerminalOutputMessage, type TerminalReadyInfo, TerminalStream, type TerminalStreamAuthFormat, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, browserInteractiveControlHolderId, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createAgentRunOutcomeTracker, createBatchResultAccumulator, createConfidentialSandbox, createInteractiveControlHolderId, createInteractiveTerminalCapture, createInteractiveTerminalSession, createManageSandboxesTool, deriveAgentResultOutcome, deriveAgentRunOutcome, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, agentInteractiveSessionPromptRequestDigest as interactivePromptRequestDigest, interactiveSessionIdentityDigest, isBackendRegistryInteractionKind, isToolBearingEvent, lineInstanceKey, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseLineApplicationRequest, parseLineApplicationResult, parseSSEStream, profileChannelReference, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
|
4451
|
+
export { ALL_BACKEND_TYPES, type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentInteractiveTerminalSession, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileSecurityPolicy, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentRunCancellationAcknowledgement, type AgentRunCancellationRequest, type AgentRunOutcome, type AgentRunOutcomeTracker, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendMcpServerStatus, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, type BackendRuntimeConfigUpdate, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchResult, type BatchResultAccumulator, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, BrowserInteractiveSessionController, type BrowserInteractiveSessionControllerOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type ConversationTurnOptions, type ConversationTurnResult, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteMatchingSandboxOutcome, type DeleteMatchingSandboxResult, type DeleteMatchingSandboxesFilter, type DeleteMatchingSandboxesOptions, type DeleteMatchingSandboxesResult, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type DurablePlan, type DurablePlanDecisionResult, EdgeNotReadyError, type EffectiveBackend, type EffectiveBackendProfile, type EffectiveBackendSource, type EgressDenial, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EnsureInstanceOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, FileWriteConflictError, type FileWriteResult, type FleetAgentId, type FleetAgentPlacement, type FleetAgentResult, type FleetAgentRunStatus, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetDriveTurnOutcome, type FleetDriveTurnRequest, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type FleetPromptDispatchResult, type FleetRunEvent, type FleetRunOptions, type ForkAcknowledgement, type ForkCounts, type ForkIdempotency, type ForkLookupOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type HostAgentDriverConfig, type HostAgentRuntimeBackend, HostedInstance, INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InstanceProfile, type InstanceRecord, InstanceRestartingError, type InstanceStart, InstancesClient, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAttachOptions, type InteractiveAttachRequest, type InteractiveControlClaimAcknowledgement, type InteractiveControlClaimOptions, type InteractiveControlClaimRequest, type InteractivePromptCommand, type InteractiveRequestOptions, type InteractiveSessionControlClaim, InteractiveSessionControlController, type InteractiveSessionControlControllerOptions, type InteractiveSessionControlTransport, InteractiveSessionController, type InteractiveSessionControllerOptions, type InteractiveSessionControllerTransport, InteractiveSessionHandle, type InteractiveSessionHandleOptions, type InteractiveSessionHost, type InteractiveSessionIdentity, type InteractiveSessionIncarnationId, type InteractiveSessionInfo, type InteractiveSessionRef, type InteractiveSessionStartOptions, type InteractiveSessionStartResult, type InteractiveSessionStatus, type InteractiveStopCommand, type InteractiveTerminalCapture, InteractiveTerminalFrameLog, type InteractiveTerminalMetadata, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, KeyBudgetExhaustedError, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, type Line, type LineAgentRolePolicy, type LineAllowance, type LineAllowanceSubject, type LineApplication, type LineApplicationRequest, type LineApplicationResult, type LineApplicationState, type LineApplicationView, type LineAttachOptions, type LineAttachment, type LineExecutionKey, type LineFromConnectionInput, type LineInstanceAttachOptions, type LineInstanceCreate, type LineLimits, type LineMember, type LineMemberInstance, type LineMemberPatch, type LineMemberSpec, type LineMessage, type LineNumberInventory, type LineProvider, type LineReminderPreferences, type LineReplyGate, type LineRespondAgent, type LineRespondView, type LineRole, type LineSendInput, type LineSendReceipt, type LineThread, type LineTransport, type LineVoice, type LineVoiceOptions, LinesClient, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, MAX_EGRESS_DENIALS_LIMIT, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, ManagedProcessClient, type ManagedProcessJobs, type ManagedProcessOptions, type ManagedProcessRecord, type ManagedProcessSpec, type ManagedProcessState, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintInteractiveSessionTokenOptions, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type Process, type ProcessInfo, type ProcessListOptions, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptInputPart, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type RawEvidenceExport, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RenameOptions, type RespondToPermissionOptions, ResumeEnvRequiredError, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, Sandbox, type SandboxConfig, type SandboxConnection, type SandboxCreateOutcome, type SandboxCreateReceipt, type SandboxDeleteAcknowledgement, type SandboxDeleteOptions, type SandboxDeleteOutcome, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetAgent, type SandboxFleetAgentSpec, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetParent, type SandboxFleetPlacement, type SandboxFleetPolicy, type SandboxFleetProfileRef, type SandboxFleetSpend, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxIdentity, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxInteractionCommandResult, type SandboxInteractionConflict, type SandboxInteractionResolution, type SandboxInteractionResult, SandboxLines, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxRemovalState, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeCapabilities, type SandboxRuntimeHealth, SandboxSession, type SandboxShape, type SandboxShapePreset, type SandboxShapesInfo, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalAttachOptions, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTerminals, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionExecutionInfo, type SessionExecutionStatus, type SessionFailureReason, type SessionForkOptions, type SessionInfo, type SessionInterruptOptions, type SessionListOptions, type SessionMessage, type SessionMessageAdmission, type SessionMessageInputPart, type SessionResultOptions, type SessionStatus, type SnapshotDeleteAcknowledgement, type SnapshotDeleteOutcome, type SnapshotIdempotency, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type SplitInlineProfileSkillsResult, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TERMINAL_WS_ECHO_SUBPROTOCOL, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, type TerminalExitInfo, type TerminalInteractiveSessionIdentity, type TerminalOutputMessage, type TerminalReadyInfo, TerminalStream, type TerminalStreamAuthFormat, TerminalStreamError, type TerminalStreamHandlers, type TerminalStreamOptions, type TerminalStreamToken, TimeoutError, type TokenRefreshHandler, type TokenUsage, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WaitForRolloutOptions, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, type WorkspaceOperationLookup, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, browserInteractiveControlHolderId, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentFinalMessageText, collectAgentResponseText, createAgentRunOutcomeTracker, createBatchResultAccumulator, createConfidentialSandbox, createInteractiveControlHolderId, createInteractiveTerminalCapture, createInteractiveTerminalSession, createManageSandboxesTool, deriveAgentResultOutcome, deriveAgentRunOutcome, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, agentInteractiveSessionPromptRequestDigest as interactivePromptRequestDigest, interactiveSessionIdentityDigest, isBackendRegistryInteractionKind, isToolBearingEvent, lineInstanceKey, manageSandboxesInputSchema, materializeProfileFileMounts, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseBackendType, parseCollaborationDocumentId, parseLineApplicationRequest, parseLineApplicationResult, parseSSEStream, profileChannelReference, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, splitInlineProfileFileMounts, splitInlineProfileSkills, startTeeAttestationHeartbeat, toOtelJson, validateBatchRunRequest, validateDeferredProfileFileMounts };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as normalizeRuntimeBackendConfig, D as ALL_BACKEND_TYPES, E as deriveAgentRunOutcome,
|
|
1
|
+
import { A as parseBackendType, C as normalizeRuntimeBackendConfig, D as ALL_BACKEND_TYPES, E as deriveAgentRunOutcome, T as deriveAgentResultOutcome, k as backendTypeSchema, w as createAgentRunOutcomeTracker, y as parseSSEStream } from "./runtime-api-DZy6PuPe.js";
|
|
2
2
|
import { a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as ValidationError, h as TimeoutError, i as EgressProxyRecoveryError, l as PartialFailureError, m as StateError, n as CapabilityError, o as KeyBudgetExhaustedError, p as ServerError, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-BkhlSDW-.js";
|
|
3
|
-
import { _ as backendRegistryInteractionKindSchema, a as splitInlineProfileSkills, b as parseBackendRegistryResponse, c as InstanceRestartingError, d as SandboxFleetClient, f as runtimeWorkspaceCwdSchema, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, i as splitInlineProfileFileMounts, l as InstancesClient, m as validateBatchRunRequest, n as Sandbox, o as validateDeferredProfileFileMounts, p as createBatchResultAccumulator, r as materializeProfileFileMounts, s as HostedInstance, t as IntelligenceClient, u as SandboxFleet, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-
|
|
3
|
+
import { _ as backendRegistryInteractionKindSchema, a as splitInlineProfileSkills, b as parseBackendRegistryResponse, c as InstanceRestartingError, d as SandboxFleetClient, f as runtimeWorkspaceCwdSchema, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, i as splitInlineProfileFileMounts, l as InstancesClient, m as validateBatchRunRequest, n as Sandbox, o as validateDeferredProfileFileMounts, p as createBatchResultAccumulator, r as materializeProfileFileMounts, s as HostedInstance, t as IntelligenceClient, u as SandboxFleet, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-CGy_hRo4.js";
|
|
4
4
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, c as createInteractiveControlHolderId, l as interactiveSessionIdentityDigest, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-CVGqjPgs.js";
|
|
5
|
-
import { C as collectAgentFinalMessageText, D as ManagedProcessClient, E as isToolBearingEvent, M as exportTraceBundle, N as otelTraceIdForTangleTrace, P as toOtelJson, S as applySandboxEventText, T as getSandboxEventText, _ as InteractiveSessionController, b as TERMINAL_WS_ECHO_SUBPROTOCOL, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as BrowserInteractiveSessionController, h as createInteractiveTerminalSession, j as buildTraceExportPayload, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as TerminalStream, w as collectAgentResponseText, y as TerminalStreamError } from "./sandbox-
|
|
5
|
+
import { C as collectAgentFinalMessageText, D as ManagedProcessClient, E as isToolBearingEvent, M as exportTraceBundle, N as otelTraceIdForTangleTrace, P as toOtelJson, S as applySandboxEventText, T as getSandboxEventText, _ as InteractiveSessionController, b as TERMINAL_WS_ECHO_SUBPROTOCOL, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as BrowserInteractiveSessionController, h as createInteractiveTerminalSession, j as buildTraceExportPayload, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as TerminalStream, w as collectAgentResponseText, y as TerminalStreamError } from "./sandbox-CUTfilZU.js";
|
|
6
6
|
import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
7
7
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CSHswAOI.js";
|
|
8
8
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-DOg7jrnA.js";
|
|
9
|
-
import { t as TangleSandboxClient } from "./tangle-
|
|
9
|
+
import { t as TangleSandboxClient } from "./tangle-nU1V_G1c.js";
|
|
10
10
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
//#region src/confidential.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as CreateSandboxOptions, d as BackendConfig } from "./types-
|
|
1
|
+
import { B as CreateSandboxOptions, d as BackendConfig } from "./types-C90H0DjS.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 LinesClient, C as LineRole, D as LineTransport, E as LineThread, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, S as LineRespondView, T as LineSendReceipt, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, j as LinesHttpClient, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences } from "./lines-
|
|
1
|
+
import { A as LinesClient, C as LineRole, D as LineTransport, E as LineThread, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, S as LineRespondView, T as LineSendReceipt, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, j as LinesHttpClient, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences } from "./lines-QsZsBO42.js";
|
|
2
2
|
export { Line, LineAgentRolePolicy, LineAllowance, LineAllowanceSubject, LineAttachOptions, LineAttachment, LineExecutionKey, LineFromConnectionInput, LineInstanceAttachOptions, LineInstanceCreate, LineLimits, LineMember, LineMemberInstance, LineMemberPatch, LineMemberSpec, LineMessage, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyGate, LineRespondAgent, LineRespondView, LineRole, LineSendInput, LineSendReceipt, LineThread, LineTransport, LineVoice, LineVoiceOptions, LinesClient, LinesHttpClient, SandboxLines, lineInstanceKey, profileChannelReference };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { Pn as PreviewLinkInfo, mt as EnsureDevServerOptions } from "./types-
|
|
3
|
-
import { i as Sandbox } from "./client-
|
|
1
|
+
import { r as SandboxInstance } from "./sandbox-Cpfr2SpU.js";
|
|
2
|
+
import { Pn as PreviewLinkInfo, mt as EnsureDevServerOptions } from "./types-C90H0DjS.js";
|
|
3
|
+
import { i as Sandbox } from "./client-FSfwsq91.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
|
@@ -1699,4 +1699,4 @@ function sessionMessageRequestBody(request) {
|
|
|
1699
1699
|
};
|
|
1700
1700
|
}
|
|
1701
1701
|
//#endregion
|
|
1702
|
-
export { normalizeRuntimeBackendConfig as C, ALL_BACKEND_TYPES as D, deriveAgentRunOutcome as E,
|
|
1702
|
+
export { parseBackendType as A, normalizeRuntimeBackendConfig as C, ALL_BACKEND_TYPES as D, deriveAgentRunOutcome as E, BACKEND_TYPE as O, mergeRuntimeBackendConfig as S, deriveAgentResultOutcome as T, encodePromptForWire as _, waitForRetryAfter as a, applyRequestedModel as b, mintTraceId as c, sessionHeaders as d, uploadChunked as f, FILE_DECODED_WRITE_MAX_BYTES as g, SANDBOX_PROXY_REQUEST_MAX_BYTES as h, sessionMessageRequestBody as i, backendTypeSchema as k, resolveTraceId as l, validateAcceptedDispatchRunRef as m, isRetryableCredentialRefusal as n, TRACE_ID_HEADER as o, resolveDispatchRunIdentity as p, normalizeSessionInfo as r, isTraceId as s, SandboxRuntimeApi as t, appendSessionIdQuery as u, encodeTextForWire as v, createAgentRunOutcomeTracker as w, assertCurrentBackendType as x, parseSSEStream as y };
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as CommitTaskSessionOptions, At as FileUsageResult, Bi as SessionExecutionInfo, Ci as SandboxTerminalManager, Dt as FileTreeOptions, Er as SandboxEvent, Fi as SendSessionMessageOptions, H as CreateTaskSessionOptions, Ii as SendSessionMessageRequest, Ji as SessionMessageAdmission, Li as SentSessionMessage, Ot as FileTreeResult, Si as SandboxTerminalInfo, Sn as ListMessagesOptions, T as ChunkedUploadResult, V as CreateSessionOptions, Vi as SessionExecutionStatus, Wi as SessionInfo, bt as FileReadBatchOptions, fa as TaskSessionInfo, hi as SandboxRuntimeHealth, jt as FileWriteResult, ka as WriteFileOptions, kt as FileUsageOptions, la as TaskSessionChanges, li as SandboxPortBinding, or as RenameOptions, qi as SessionMessage, ua as TaskSessionCommitResult, w as ChunkedUploadOptions, wa as UploadProgress, wi as SandboxTerminalRequestOptions, wt as FileRenameResult, xi as SandboxTerminalCreateOptions, xt as FileReadBatchResult, zi as SessionEventStreamOptions } from "./types-
|
|
1
|
+
import { A as CommitTaskSessionOptions, At as FileUsageResult, Bi as SessionExecutionInfo, Ci as SandboxTerminalManager, Dt as FileTreeOptions, Er as SandboxEvent, Fi as SendSessionMessageOptions, H as CreateTaskSessionOptions, Ii as SendSessionMessageRequest, Ji as SessionMessageAdmission, Li as SentSessionMessage, Ot as FileTreeResult, Si as SandboxTerminalInfo, Sn as ListMessagesOptions, T as ChunkedUploadResult, V as CreateSessionOptions, Vi as SessionExecutionStatus, Wi as SessionInfo, bt as FileReadBatchOptions, fa as TaskSessionInfo, hi as SandboxRuntimeHealth, jt as FileWriteResult, ka as WriteFileOptions, kt as FileUsageOptions, la as TaskSessionChanges, li as SandboxPortBinding, or as RenameOptions, qi as SessionMessage, ua as TaskSessionCommitResult, w as ChunkedUploadOptions, wa as UploadProgress, wi as SandboxTerminalRequestOptions, wt as FileRenameResult, xi as SandboxTerminalCreateOptions, xt as FileReadBatchResult, zi as SessionEventStreamOptions } from "./types-C90H0DjS.js";
|
|
2
2
|
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as StateError, h as ServerError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, p as SandboxErrorJson, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-AVpynVrG.js";
|
|
3
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
3
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-xCHr2-OU.js";
|
|
4
4
|
|
|
5
5
|
//#region src/lib/chunked-upload.d.ts
|
|
6
6
|
/** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
|
package/dist/runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as deriveAgentRunOutcome, T as deriveAgentResultOutcome, f as uploadChunked, t as SandboxRuntimeApi, w as createAgentRunOutcomeTracker } from "./runtime-api-
|
|
1
|
+
import { E as deriveAgentRunOutcome, T as deriveAgentResultOutcome, f as uploadChunked, t as SandboxRuntimeApi, w as createAgentRunOutcomeTracker } from "./runtime-api-DZy6PuPe.js";
|
|
2
2
|
import { a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, m as StateError, n as CapabilityError, p as ServerError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-BkhlSDW-.js";
|
|
3
3
|
import { n as combineAbortSignals } from "./abort-signal-CgFhjY_v.js";
|
|
4
4
|
//#region src/runtime-client.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as normalizeRuntimeBackendConfig, S as mergeRuntimeBackendConfig, T as deriveAgentResultOutcome, _ as encodePromptForWire, a as waitForRetryAfter, b as applyRequestedModel, c as mintTraceId, d as sessionHeaders, f as uploadChunked, h as SANDBOX_PROXY_REQUEST_MAX_BYTES, i as sessionMessageRequestBody, l as resolveTraceId, m as validateAcceptedDispatchRunRef, n as isRetryableCredentialRefusal, o as TRACE_ID_HEADER, p as resolveDispatchRunIdentity, r as normalizeSessionInfo, s as isTraceId, t as SandboxRuntimeApi, u as appendSessionIdQuery, w as createAgentRunOutcomeTracker, x as assertCurrentBackendType, y as parseSSEStream } from "./runtime-api-
|
|
1
|
+
import { C as normalizeRuntimeBackendConfig, O as BACKEND_TYPE, S as mergeRuntimeBackendConfig, T as deriveAgentResultOutcome, _ as encodePromptForWire, a as waitForRetryAfter, b as applyRequestedModel, c as mintTraceId, d as sessionHeaders, f as uploadChunked, h as SANDBOX_PROXY_REQUEST_MAX_BYTES, i as sessionMessageRequestBody, k as backendTypeSchema, l as resolveTraceId, m as validateAcceptedDispatchRunRef, n as isRetryableCredentialRefusal, o as TRACE_ID_HEADER, p as resolveDispatchRunIdentity, r as normalizeSessionInfo, s as isTraceId, t as SandboxRuntimeApi, u as appendSessionIdQuery, w as createAgentRunOutcomeTracker, x as assertCurrentBackendType, y as parseSSEStream } from "./runtime-api-DZy6PuPe.js";
|
|
2
2
|
import { _ as parseErrorResponse, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, m as StateError, n as CapabilityError, p as ServerError, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-BkhlSDW-.js";
|
|
3
3
|
import { c as createInteractiveControlHolderId, d as interactiveSessionControlReleaseResponseSchema, f as interactiveSessionControlValidationResponseSchema, i as createBrowserInteractiveSessionControlTransport, o as InteractiveSessionControlController, p as interactiveSessionStatusResponseSchema, r as browserInteractiveTerminalEndpoint, s as assertInteractiveSessionRef, u as interactiveSessionControlClaimResponseSchema } from "./browser-interactive-control-controller-CVGqjPgs.js";
|
|
4
4
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-CgFhjY_v.js";
|
|
5
5
|
import { SandboxLines } from "./lines.js";
|
|
6
|
-
import { AgentExactRunControlRefSchema, AgentInteractiveSessionAttachSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimRequestSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionPromptCommandSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStartSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentInteractiveSessionStopCommandSchema, AgentRunCancellationAcknowledgementSchema, AgentRunCancellationRequestSchema, InteractionAcknowledgementSchema, InteractionBindingSchema, InteractionRequestSchema, InteractionResponseCommandSchema, InteractionResponseSchema, TerminalInputSchema, TerminalOutputEventSchema, TerminalReplayWindowSchema, TerminalResizeSchema, TerminalSessionRefSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimIsNewer, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionPromptRequestDigest, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentRunCancellationAcknowledgementMatchesRequest, canonicalCandidateDigest, exactAgentInteractiveSessionStart, sha256DigestSchema, terminalSessionUsable } from "@tangle-network/agent-interface";
|
|
6
|
+
import { AgentExactRunControlRefSchema, AgentInteractiveSessionAttachSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimRequestSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionPromptCommandSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStartSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentInteractiveSessionStopCommandSchema, AgentRunCancellationAcknowledgementSchema, AgentRunCancellationRequestSchema, InteractionAcknowledgementSchema, InteractionBindingSchema, InteractionRequestSchema, InteractionResponseCommandSchema, InteractionResponseSchema, TerminalInputSchema, TerminalOutputEventSchema, TerminalReplayWindowSchema, TerminalResizeSchema, TerminalSessionRefSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimIsNewer, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionPromptRequestDigest, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentProfileSchema as agentProfileSchema$1, agentRunCancellationAcknowledgementMatchesRequest, canonicalCandidateDigest, exactAgentInteractiveSessionStart, sha256DigestSchema, terminalSessionUsable } from "@tangle-network/agent-interface";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { AgentInteractiveSessionControlClaimSchema as AgentInteractiveSessionControlClaimSchema$1, AgentInteractiveSessionPromptAcknowledgementSchema as AgentInteractiveSessionPromptAcknowledgementSchema$1, AgentInteractiveSessionRefSchema as AgentInteractiveSessionRefSchema$1, AgentInteractiveSessionStatusSchema, AgentInteractiveSessionStopAcknowledgementSchema as AgentInteractiveSessionStopAcknowledgementSchema$1 } from "@tangle-network/agent-interface/environment-interactive-control";
|
|
9
9
|
import { readTokenCostUsd, readTokenUsage } from "@tangle-network/agent-core";
|
|
@@ -353,6 +353,17 @@ var ManagedProcessClient = class {
|
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
355
|
//#endregion
|
|
356
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-C1v8lTUN.mjs
|
|
357
|
+
const { $schema: _jsonSchemaDialect, ...agentProfileJsonSchema } = z.toJSONSchema(agentProfileSchema$1, {
|
|
358
|
+
io: "input",
|
|
359
|
+
unrepresentable: "any"
|
|
360
|
+
});
|
|
361
|
+
z.globalRegistry.add(agentProfileSchema$1, {
|
|
362
|
+
id: "AgentProfile",
|
|
363
|
+
...agentProfileJsonSchema
|
|
364
|
+
});
|
|
365
|
+
BACKEND_TYPE.OPENCODE, BACKEND_TYPE.CLAUDE_CODE, BACKEND_TYPE.KIMI_CODE, BACKEND_TYPE.CODEX, BACKEND_TYPE.AMP, BACKEND_TYPE.FACTORY_DROIDS, BACKEND_TYPE.PI, BACKEND_TYPE.PRIME, BACKEND_TYPE.HERMES, BACKEND_TYPE.FORGE, BACKEND_TYPE.OPENCLAW, BACKEND_TYPE.NANOCLAW, BACKEND_TYPE.ACP, BACKEND_TYPE.CURSOR, BACKEND_TYPE.CLI_BASE;
|
|
366
|
+
//#endregion
|
|
356
367
|
//#region src/capabilities.ts
|
|
357
368
|
function invalidCapabilities(message) {
|
|
358
369
|
throw new ServerError(`Capability discovery returned ${message}`, 502, {
|
|
@@ -391,6 +402,10 @@ function parseSandboxRuntimeCapabilities(raw) {
|
|
|
391
402
|
if (typeof record.schema === "number" && Number.isInteger(record.schema) && record.schema > 1) return null;
|
|
392
403
|
if (record.schema !== 1) invalidCapabilities(`schema version ${JSON.stringify(record.schema)} — this SDK understands 1`);
|
|
393
404
|
if (typeof record.agentInterface !== "string" || typeof record.sidecarVersion !== "string" || typeof record.image !== "string") invalidCapabilities("a document missing its identity fields");
|
|
405
|
+
const nativeVersion = record.nativeSessionCaptureVersion;
|
|
406
|
+
const nativeHarnesses = record.nativeSessionCaptureHarnesses;
|
|
407
|
+
if (nativeVersion !== void 0 && (typeof nativeVersion !== "number" || !Number.isSafeInteger(nativeVersion) || nativeVersion < 1)) invalidCapabilities("a malformed 'nativeSessionCaptureVersion'");
|
|
408
|
+
if (nativeHarnesses !== void 0 && (!Array.isArray(nativeHarnesses) || nativeHarnesses.some((harness) => !backendTypeSchema.safeParse(harness).success) || new Set(nativeHarnesses).size !== nativeHarnesses.length)) invalidCapabilities("malformed 'nativeSessionCaptureHarnesses'");
|
|
394
409
|
const interactionsValue = record.interactions;
|
|
395
410
|
if (interactionsValue === null || typeof interactionsValue !== "object" || Array.isArray(interactionsValue)) invalidCapabilities("a malformed 'interactions' group");
|
|
396
411
|
const interactionsRecord = interactionsValue;
|
|
@@ -411,6 +426,8 @@ function parseSandboxRuntimeCapabilities(raw) {
|
|
|
411
426
|
]);
|
|
412
427
|
return {
|
|
413
428
|
schema: 1,
|
|
429
|
+
...typeof nativeVersion === "number" ? { nativeSessionCaptureVersion: nativeVersion } : {},
|
|
430
|
+
...Array.isArray(nativeHarnesses) ? { nativeSessionCaptureHarnesses: nativeHarnesses.map((harness) => backendTypeSchema.parse(harness)) } : {},
|
|
414
431
|
agentInterface: record.agentInterface,
|
|
415
432
|
sidecarVersion: record.sidecarVersion,
|
|
416
433
|
image: record.image,
|
|
@@ -3067,10 +3084,6 @@ var SandboxSession = class SandboxSession {
|
|
|
3067
3084
|
async runs() {
|
|
3068
3085
|
return this.box._sessionRuns(this.id);
|
|
3069
3086
|
}
|
|
3070
|
-
/** Export the exact provider session before this sandbox is deleted. */
|
|
3071
|
-
async nativeRollout() {
|
|
3072
|
-
return this.box._sessionNativeRollout(this.id);
|
|
3073
|
-
}
|
|
3074
3087
|
/** Capture the complete attributed native store and process stream before deletion. */
|
|
3075
3088
|
async rawEvidence() {
|
|
3076
3089
|
return this.box._sessionRawEvidence(this.id);
|
|
@@ -8409,45 +8422,6 @@ var SandboxInstance = class SandboxInstance {
|
|
|
8409
8422
|
return normalizeSessionInfo(await response.json());
|
|
8410
8423
|
}
|
|
8411
8424
|
/** @internal — invoked before the sandbox is deleted. */
|
|
8412
|
-
async _sessionNativeRollout(id) {
|
|
8413
|
-
await this.ensureRunning();
|
|
8414
|
-
const response = await this.runtimeFetch(`/agents/sessions/${encodeURIComponent(id)}/native-rollout`);
|
|
8415
|
-
if (!response.ok && response.status !== 404) throw parseErrorResponse(response.status, await response.text(), void 0, response.headers);
|
|
8416
|
-
const decoded = await response.json();
|
|
8417
|
-
if (typeof decoded !== "object" || decoded === null || Array.isArray(decoded)) throw new ServerError("Malformed native rollout response");
|
|
8418
|
-
const raw = decoded;
|
|
8419
|
-
if (raw.status === "unavailable") {
|
|
8420
|
-
if (typeof raw.reason !== "string" || raw.reason.length === 0 || raw.sessionId !== id || typeof raw.backendType !== "string" || !/^[a-z][a-z0-9-]{0,63}$/.test(raw.backendType) || raw.nativeSessionId !== void 0 && (typeof raw.nativeSessionId !== "string" || !/^ses_[A-Za-z0-9_-]{1,124}$/.test(raw.nativeSessionId))) throw new ServerError("Malformed native rollout unavailable response");
|
|
8421
|
-
return raw;
|
|
8422
|
-
}
|
|
8423
|
-
if (raw.status !== "captured" || raw.sessionId !== id || raw.backendType !== "opencode" || raw.format !== "opencode-session-export-json" || typeof raw.contentBase64 !== "string" || !Number.isSafeInteger(raw.sizeBytes) || Number(raw.sizeBytes) < 1 || Number(raw.sizeBytes) > 128 * 1024 * 1024 || typeof raw.sha256 !== "string" || !/^sha256:[a-f0-9]{64}$/.test(raw.sha256) || typeof raw.nativeSessionId !== "string" || !/^ses_[A-Za-z0-9_-]{1,124}$/.test(raw.nativeSessionId)) throw new ServerError("Malformed native rollout response");
|
|
8424
|
-
let binary;
|
|
8425
|
-
try {
|
|
8426
|
-
binary = atob(raw.contentBase64);
|
|
8427
|
-
} catch {
|
|
8428
|
-
throw new ServerError("Malformed native rollout base64 content");
|
|
8429
|
-
}
|
|
8430
|
-
const content = new Uint8Array(binary.length);
|
|
8431
|
-
for (let index = 0; index < binary.length; index += 1) content[index] = binary.charCodeAt(index);
|
|
8432
|
-
if (content.length !== raw.sizeBytes) throw new ServerError("Native rollout byte count mismatch");
|
|
8433
|
-
const subtle = globalThis.crypto?.subtle;
|
|
8434
|
-
if ((subtle ? `sha256:${Array.from(new Uint8Array(await subtle.digest("SHA-256", content)), (byte) => byte.toString(16).padStart(2, "0")).join("")}` : `sha256:${(await import("node:crypto")).createHash("sha256").update(content).digest("hex")}`) !== raw.sha256) throw new ServerError("Native rollout SHA-256 mismatch");
|
|
8435
|
-
let exported;
|
|
8436
|
-
try {
|
|
8437
|
-
exported = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(content));
|
|
8438
|
-
} catch {
|
|
8439
|
-
throw new ServerError("Malformed native rollout content");
|
|
8440
|
-
}
|
|
8441
|
-
const native = typeof exported === "object" && exported !== null && !Array.isArray(exported) ? exported : void 0;
|
|
8442
|
-
const info = native?.info;
|
|
8443
|
-
if (typeof info !== "object" || info === null || Array.isArray(info) || info.id !== raw.nativeSessionId) throw new ServerError("Native rollout session ID mismatch");
|
|
8444
|
-
if (!Array.isArray(native?.messages)) throw new ServerError("Malformed native rollout content");
|
|
8445
|
-
return {
|
|
8446
|
-
...raw,
|
|
8447
|
-
content
|
|
8448
|
-
};
|
|
8449
|
-
}
|
|
8450
|
-
/** @internal — invoked before the sandbox is deleted. */
|
|
8451
8425
|
async _sessionRawEvidence(id) {
|
|
8452
8426
|
await this.ensureRunning();
|
|
8453
8427
|
await this.refresh();
|
|
@@ -8461,7 +8435,28 @@ var SandboxInstance = class SandboxInstance {
|
|
|
8461
8435
|
return record;
|
|
8462
8436
|
}
|
|
8463
8437
|
const completeness = record.completeness;
|
|
8464
|
-
|
|
8438
|
+
const captured = record.status === "captured";
|
|
8439
|
+
const partial = record.status === "partial";
|
|
8440
|
+
const missingReasons = record.missingReasons;
|
|
8441
|
+
const inventory = record.inventory;
|
|
8442
|
+
if (!captured && !partial || record.sessionId !== id || typeof record.backendType !== "string" || record.nativeSessionId !== null && (typeof record.nativeSessionId !== "string" || record.nativeSessionId.length === 0) || record.proofStatus !== "verified" && record.proofStatus !== "unverified" || record.proofStatus === "verified" && (typeof record.containerId !== "string" || !/^[a-f0-9]{64}$/.test(record.containerId) || typeof record.sidecarBundleChecksum !== "string" || !/^sha256:[a-f0-9]{64}$/.test(record.sidecarBundleChecksum)) || typeof record.sidecarImageDigest !== "string" || !/^sha256:[a-f0-9]{64}$/.test(record.sidecarImageDigest) || typeof record.sidecarBundleRevision !== "string" || !/^[a-f0-9]{40}$/.test(record.sidecarBundleRevision) || !Array.isArray(record.nativeRoots) || !Array.isArray(record.files) || !Array.isArray(record.excluded) || !Array.isArray(record.skipped) || !Array.isArray(record.processIo) || !Array.isArray(record.processTerminals) || !Array.isArray(record.events) || !Array.isArray(record.attempts) || !Array.isArray(record.evidenceSources) || !Array.isArray(record.processSources) || !inventory || typeof inventory !== "object" || Array.isArray(inventory) || !Number.isSafeInteger(inventory.skippedEntries) || inventory.skippedEntries !== record.skipped.length || !completeness || typeof completeness.nativeStore !== "boolean" || typeof completeness.processIo !== "boolean" || typeof completeness.events !== "boolean" || !Array.isArray(missingReasons) || missingReasons.some((reason) => typeof reason !== "string" || reason.length === 0) || captured && (completeness.nativeStore !== true || completeness.processIo !== true || completeness.events !== true || record.coverageComplete !== true || missingReasons.length !== 0) || partial && (record.coverageComplete !== false || missingReasons.length === 0)) throw new ServerError("Malformed raw evidence response");
|
|
8443
|
+
for (const skipped of record.skipped) if (!skipped || typeof skipped !== "object" || skipped.rootScope !== "session-home" && skipped.rootScope !== "workspace-session" || typeof skipped.path !== "string" || skipped.path.length === 0 || skipped.path.startsWith("/") || skipped.path.split("/").includes("..") || typeof skipped.reason !== "string" || skipped.reason.length === 0) throw new ServerError("Malformed raw evidence skipped entry");
|
|
8444
|
+
for (const source of record.processSources) {
|
|
8445
|
+
if (typeof source.sourceId !== "string" || source.sourceId.length === 0) throw new ServerError("Malformed raw evidence process source ID");
|
|
8446
|
+
if (!source || typeof source !== "object" || typeof source.contentBase64 !== "string" || !/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(source.contentBase64) || !Number.isSafeInteger(source.sizeBytes) || source.sizeBytes < 0 || typeof source.sha256 !== "string" || !/^sha256:[a-f0-9]{64}$/.test(source.sha256)) throw new ServerError("Malformed raw evidence process source");
|
|
8447
|
+
let binary;
|
|
8448
|
+
try {
|
|
8449
|
+
binary = atob(source.contentBase64);
|
|
8450
|
+
} catch {
|
|
8451
|
+
throw new ServerError("Malformed raw evidence process source base64");
|
|
8452
|
+
}
|
|
8453
|
+
const bytes = new Uint8Array(binary.length);
|
|
8454
|
+
for (let index = 0; index < binary.length; index += 1) bytes[index] = binary.charCodeAt(index);
|
|
8455
|
+
if (bytes.length !== source.sizeBytes) throw new ServerError("Raw evidence process source size mismatch");
|
|
8456
|
+
const subtle = globalThis.crypto?.subtle;
|
|
8457
|
+
const digestBytes = subtle ? new Uint8Array(await subtle.digest("SHA-256", bytes)) : Uint8Array.from((await import("node:crypto")).createHash("sha256").update(bytes).digest());
|
|
8458
|
+
if ("sha256:" + Array.from(digestBytes).map((byte) => byte.toString(16).padStart(2, "0")).join("") !== source.sha256) throw new ServerError("Raw evidence process source SHA-256 mismatch");
|
|
8459
|
+
}
|
|
8465
8460
|
const expected = this.info.captureProof;
|
|
8466
8461
|
if (expected && (record.proofStatus !== "verified" || record.containerId !== expected.containerId || record.sidecarImageDigest !== expected.imageId || record.sidecarBundleRevision !== expected.bundleRevision || record.sidecarBundleChecksum !== expected.bundleChecksum)) throw new ServerError("Raw evidence does not match current container capture proof");
|
|
8467
8462
|
return record;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as TerminalStreamReconnectAuthority, c as MintScopedTokenOptions, h as TerminalReadyInfo, l as ScopedToken, r as TerminalStreamHandlers, t as TerminalStream } from "./terminal-stream-Bf2stNDX.js";
|
|
2
2
|
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as InteractiveAttachOptions, f as InteractiveControlClaimAcknowledgement, h as InteractiveSessionStatus, m as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-1m7jgLeg.js";
|
|
3
|
-
import { M as SandboxLines } from "./lines-
|
|
4
|
-
import { A as CommitTaskSessionOptions, Aa as WriteManyFile, An as NetworkManager, Bi as SessionExecutionInfo, C as BranchOptions, Cr as SandboxDeleteOptions, D as CodeExecutionResult, Da as WaitForRolloutOptions, E as CodeExecutionOptions, Ea as WaitForOptions, Ei as SandboxTraceBundle, Er as SandboxEvent, Fi as SendSessionMessageOptions, Fn as PreviewLinkManager, Gi as SessionInterruptOptions, Gn as PromptInputPart, H as CreateTaskSessionOptions, Ii as SendSessionMessageRequest, Ji as SessionMessageAdmission, Jn as ProvisionEvent, Ki as SessionListOptions, Kn as PromptOptions, Li as SentSessionMessage, M as ConversationTurnOptions, Mi as SearchOptions, N as ConversationTurnResult, Nn as PermissionsManager, O as CodeLanguage, Oa as WorkspaceOperationLookup, Q as DispatchedSession, Qi as SnapshotDeleteAcknowledgement, Sn as ListMessagesOptions, Sr as SandboxDeleteAcknowledgement, Ti as SandboxTerminals, Tt as FileSystem, Ui as SessionForkOptions, V as CreateSessionOptions, Vn as ProcessManager, Wi as SessionInfo, Xi as SessionResultOptions, Xt as ForkIdempotency, Yn as ProvisionResult, Yt as ForkCounts, Z as DispatchPromptOptions, Zr as SandboxFleetTraceBundle, Zt as ForkLookupOptions, _n as IntelligenceReportBudget, _r as SSHCredentials, _t as ExecOptions, aa as StartupDiagnostics, an as GpuLease, at as DurablePlan, bi as SandboxTerminalAttachOptions, bn as IntelligenceReportWindow, cr as ResumeOptions, d as BackendConfig, dr as RolloutOptions, en as GitBranch, fa as TaskSessionInfo, fi as SandboxResourceUsage, ft as EgressManager, ga as TeeAttestationResponse, gi as SandboxShape, gn as IntelligenceReport, gr as SSHCommandDescriptor, hi as SandboxRuntimeHealth, hn as InstalledTool, ht as EventStreamOptions, in as GitStatus, j as CompletedTurnResult, ja as WriteManyOptions, ji as SearchMatch, jt as FileWriteResult, ka as WriteFileOptions, ki as SandboxTraceOptions, la as TaskSessionChanges, li as SandboxPortBinding, lr as Rollout, ma as TeeAttestationOptions, mi as SandboxRuntimeCapabilities, na as SnapshotOptions, ot as DurablePlanDecisionResult, p as BackendManager, pr as RolloutStartResult, qi as SessionMessage, qn as PromptResult, ra as SnapshotResult, rn as GitDiff, rt as DriverInfo, si as SandboxInfo, sr as RestoreSnapshotOptions, ta as SnapshotInfo, tn as GitCommit, tt as DriveTurnOptions, ua as TaskSessionCommitResult, un as GpuLeaseManager, va as TeePublicKeyResponse, vn as IntelligenceReportCompareTo, vt as ExecResult, xa as TurnDriveResult, xn as JsonValue, xr as SandboxCreateReceipt, yi as SandboxStatus, yr as SandboxConnection, zi as SessionEventStreamOptions } from "./types-
|
|
3
|
+
import { M as SandboxLines } from "./lines-QsZsBO42.js";
|
|
4
|
+
import { A as CommitTaskSessionOptions, Aa as WriteManyFile, An as NetworkManager, Bi as SessionExecutionInfo, C as BranchOptions, Cr as SandboxDeleteOptions, D as CodeExecutionResult, Da as WaitForRolloutOptions, E as CodeExecutionOptions, Ea as WaitForOptions, Ei as SandboxTraceBundle, Er as SandboxEvent, Fi as SendSessionMessageOptions, Fn as PreviewLinkManager, Gi as SessionInterruptOptions, Gn as PromptInputPart, H as CreateTaskSessionOptions, Ii as SendSessionMessageRequest, Ji as SessionMessageAdmission, Jn as ProvisionEvent, Ki as SessionListOptions, Kn as PromptOptions, Li as SentSessionMessage, M as ConversationTurnOptions, Mi as SearchOptions, N as ConversationTurnResult, Nn as PermissionsManager, O as CodeLanguage, Oa as WorkspaceOperationLookup, Q as DispatchedSession, Qi as SnapshotDeleteAcknowledgement, Sn as ListMessagesOptions, Sr as SandboxDeleteAcknowledgement, Ti as SandboxTerminals, Tt as FileSystem, Ui as SessionForkOptions, V as CreateSessionOptions, Vn as ProcessManager, Wi as SessionInfo, Xi as SessionResultOptions, Xt as ForkIdempotency, Yn as ProvisionResult, Yt as ForkCounts, Z as DispatchPromptOptions, Zr as SandboxFleetTraceBundle, Zt as ForkLookupOptions, _n as IntelligenceReportBudget, _r as SSHCredentials, _t as ExecOptions, aa as StartupDiagnostics, an as GpuLease, at as DurablePlan, bi as SandboxTerminalAttachOptions, bn as IntelligenceReportWindow, cr as ResumeOptions, d as BackendConfig, dr as RolloutOptions, en as GitBranch, fa as TaskSessionInfo, fi as SandboxResourceUsage, ft as EgressManager, ga as TeeAttestationResponse, gi as SandboxShape, gn as IntelligenceReport, gr as SSHCommandDescriptor, hi as SandboxRuntimeHealth, hn as InstalledTool, ht as EventStreamOptions, in as GitStatus, j as CompletedTurnResult, ja as WriteManyOptions, ji as SearchMatch, jt as FileWriteResult, ka as WriteFileOptions, ki as SandboxTraceOptions, la as TaskSessionChanges, li as SandboxPortBinding, lr as Rollout, ma as TeeAttestationOptions, mi as SandboxRuntimeCapabilities, na as SnapshotOptions, ot as DurablePlanDecisionResult, p as BackendManager, pr as RolloutStartResult, qi as SessionMessage, qn as PromptResult, ra as SnapshotResult, rn as GitDiff, rt as DriverInfo, si as SandboxInfo, sr as RestoreSnapshotOptions, ta as SnapshotInfo, tn as GitCommit, tt as DriveTurnOptions, ua as TaskSessionCommitResult, un as GpuLeaseManager, va as TeePublicKeyResponse, vn as IntelligenceReportCompareTo, vt as ExecResult, xa as TurnDriveResult, xn as JsonValue, xr as SandboxCreateReceipt, yi as SandboxStatus, yr as SandboxConnection, zi as SessionEventStreamOptions } from "./types-C90H0DjS.js";
|
|
5
5
|
import { AgentInteractiveSessionAttach, AgentInteractiveSessionControlClaim, AgentInteractiveSessionControlClaimAcknowledgement, AgentInteractiveSessionControlClaimRequest, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStopAcknowledgement, AgentInteractiveSessionStopCommand, AgentInteractiveTerminalSession, AgentInteractiveTerminalSession as AgentInteractiveTerminalSession$1, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, InteractionAcknowledgement, InteractionData, InteractionRequest, InteractionResponseCommand, TerminalOutputEvent, TerminalReplayWindow, agentInteractiveSessionPromptRequestDigest } from "@tangle-network/agent-interface";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
@@ -404,55 +404,82 @@ declare class InteractiveSessionHandle {
|
|
|
404
404
|
}
|
|
405
405
|
//#endregion
|
|
406
406
|
//#region src/session.d.ts
|
|
407
|
-
type
|
|
408
|
-
|
|
407
|
+
type RawEvidenceAttempt = {
|
|
408
|
+
executionId: string;
|
|
409
|
+
ordinal: number;
|
|
410
|
+
providerSessionId: string;
|
|
411
|
+
nativeSessionIds: string[];
|
|
412
|
+
processIds: string[];
|
|
413
|
+
outcome: "succeeded" | "failed" | "cancelled" | "unknown";
|
|
414
|
+
missingReasons: string[];
|
|
415
|
+
};
|
|
416
|
+
type RawEvidenceExport = ({
|
|
417
|
+
status: "captured" | "partial";
|
|
409
418
|
sessionId: string;
|
|
410
419
|
backendType: string;
|
|
411
|
-
nativeSessionId: string;
|
|
420
|
+
nativeSessionId: string | null;
|
|
412
421
|
proofStatus: "verified" | "unverified";
|
|
413
422
|
containerId?: string;
|
|
414
423
|
sidecarImageDigest: string;
|
|
415
424
|
sidecarBundleRevision: string;
|
|
416
425
|
sidecarBundleChecksum?: string;
|
|
417
426
|
nativeRoots: Array<{
|
|
427
|
+
sourceId?: string;
|
|
418
428
|
rootScope: "session-home" | "workspace-session";
|
|
419
429
|
path: string;
|
|
420
430
|
}>;
|
|
421
431
|
files: Array<Record<string, unknown>>;
|
|
422
432
|
excluded: Array<Record<string, unknown>>;
|
|
433
|
+
skipped: Array<{
|
|
434
|
+
sourceId?: string;
|
|
435
|
+
rootScope: "session-home" | "workspace-session";
|
|
436
|
+
path: string;
|
|
437
|
+
reason: string;
|
|
438
|
+
}>;
|
|
423
439
|
inventory: Record<string, number>;
|
|
424
440
|
processIo: Array<Record<string, unknown>>;
|
|
425
|
-
processTerminals: Array<Record<string, unknown>>;
|
|
441
|
+
processTerminals: Array<Record<string, unknown>>; /** Exact raw spool for every readable provider HOME. */
|
|
442
|
+
processSources: Array<{
|
|
443
|
+
sourceId: string;
|
|
444
|
+
contentBase64: string;
|
|
445
|
+
sizeBytes: number;
|
|
446
|
+
sha256: string;
|
|
447
|
+
}>;
|
|
426
448
|
events: Array<Record<string, unknown>>;
|
|
449
|
+
attempts: RawEvidenceAttempt[];
|
|
450
|
+
evidenceSources: Array<{
|
|
451
|
+
executionId: string;
|
|
452
|
+
sourceId: string;
|
|
453
|
+
backendType: string;
|
|
454
|
+
runtimeHome: string;
|
|
455
|
+
credentialPaths: string[];
|
|
456
|
+
}>;
|
|
457
|
+
completeness: {
|
|
458
|
+
nativeStore: boolean;
|
|
459
|
+
processIo: boolean;
|
|
460
|
+
events: boolean;
|
|
461
|
+
};
|
|
462
|
+
coverageComplete: boolean;
|
|
463
|
+
missingReasons: string[];
|
|
464
|
+
} & ({
|
|
465
|
+
status: "captured";
|
|
466
|
+
nativeSessionId: string | null;
|
|
427
467
|
completeness: {
|
|
428
468
|
nativeStore: true;
|
|
429
469
|
processIo: true;
|
|
430
470
|
events: true;
|
|
431
471
|
};
|
|
432
472
|
coverageComplete: true;
|
|
473
|
+
missingReasons: [];
|
|
433
474
|
} | {
|
|
475
|
+
status: "partial";
|
|
476
|
+
coverageComplete: false;
|
|
477
|
+
})) | {
|
|
434
478
|
status: "unavailable";
|
|
435
479
|
sessionId: string;
|
|
436
480
|
backendType: string;
|
|
437
481
|
reason: string;
|
|
438
482
|
};
|
|
439
|
-
type NativeRolloutExport = {
|
|
440
|
-
status: "captured";
|
|
441
|
-
sessionId: string;
|
|
442
|
-
backendType: "opencode";
|
|
443
|
-
nativeSessionId: string;
|
|
444
|
-
format: "opencode-session-export-json";
|
|
445
|
-
sizeBytes: number;
|
|
446
|
-
sha256: string;
|
|
447
|
-
contentBase64: string;
|
|
448
|
-
content: Uint8Array;
|
|
449
|
-
} | {
|
|
450
|
-
status: "unavailable";
|
|
451
|
-
sessionId: string;
|
|
452
|
-
backendType: string;
|
|
453
|
-
nativeSessionId?: string;
|
|
454
|
-
reason: string;
|
|
455
|
-
};
|
|
456
483
|
/**
|
|
457
484
|
* The subset of `SandboxInstance` a `SandboxSession` drives. Declared here
|
|
458
485
|
* (rather than importing the concrete class) so `session.ts` stays a leaf
|
|
@@ -464,7 +491,6 @@ interface SandboxSessionHost extends InteractiveSessionHost {
|
|
|
464
491
|
_sessionStatus(id: string): Promise<SessionInfo | null>;
|
|
465
492
|
_sessionEvents(id: string, opts?: SessionEventStreamOptions): AsyncGenerator<SandboxEvent>;
|
|
466
493
|
_sessionRuns(id: string): Promise<SessionExecutionInfo[]>;
|
|
467
|
-
_sessionNativeRollout(id: string): Promise<NativeRolloutExport>;
|
|
468
494
|
_sessionRawEvidence(id: string): Promise<RawEvidenceExport>;
|
|
469
495
|
_sessionAdmission(id: string, turnId: string, options?: {
|
|
470
496
|
signal?: AbortSignal;
|
|
@@ -536,8 +562,6 @@ declare class SandboxSession {
|
|
|
536
562
|
* count provider runs without inferring execution from model-written files.
|
|
537
563
|
*/
|
|
538
564
|
runs(): Promise<SessionExecutionInfo[]>;
|
|
539
|
-
/** Export the exact provider session before this sandbox is deleted. */
|
|
540
|
-
nativeRollout(): Promise<NativeRolloutExport>;
|
|
541
565
|
/** Capture the complete attributed native store and process stream before deletion. */
|
|
542
566
|
rawEvidence(): Promise<RawEvidenceExport>;
|
|
543
567
|
/** Read the exact execution admitted for a turn, including server-owned plan follow-ups.
|
|
@@ -2119,8 +2143,6 @@ declare class SandboxInstance {
|
|
|
2119
2143
|
/** @internal — invoked by SandboxSession.status(). */
|
|
2120
2144
|
_sessionStatus(id: string): Promise<SessionInfo | null>;
|
|
2121
2145
|
/** @internal — invoked before the sandbox is deleted. */
|
|
2122
|
-
_sessionNativeRollout(id: string): Promise<NativeRolloutExport>;
|
|
2123
|
-
/** @internal — invoked before the sandbox is deleted. */
|
|
2124
2146
|
_sessionRawEvidence(id: string): Promise<RawEvidenceExport>;
|
|
2125
2147
|
/** @internal — invoked by SandboxSession.runs(). */
|
|
2126
2148
|
_sessionRuns(id: string): Promise<SessionExecutionInfo[]>;
|
|
@@ -2188,4 +2210,4 @@ declare class SandboxInstance {
|
|
|
2188
2210
|
}): Promise<DurablePlanDecisionResult>;
|
|
2189
2211
|
}
|
|
2190
2212
|
//#endregion
|
|
2191
|
-
export {
|
|
2213
|
+
export { SandboxMcpConfig as $, InteractiveStopCommand as A, BrowserInteractiveSessionControllerOptions as B, InteractiveSessionHandleOptions as C, InteractiveSessionRef as D, InteractiveSessionInfo as E, InteractiveTerminalFrameLog as F, SandboxInteractionCommandResult as G, InteractiveSessionController as H, InteractiveTerminalMetadata as I, SandboxInteractionResult as J, SandboxInteractionConflict as K, createInteractiveTerminalCapture as L, RespondToPermissionOptions as M, agentInteractiveSessionPromptRequestDigest as N, InteractiveSessionStartOptions as O, InteractiveTerminalCapture as P, SANDBOX_MCP_SERVER_NAME as Q, createInteractiveTerminalSession as R, InteractiveSessionHandle as S, InteractiveSessionIncarnationId as T, InteractiveSessionControllerOptions as U, InteractiveAttachRequest as V, InteractiveSessionControllerTransport as W, BuildSandboxMcpConfigOptions as X, BuildControlPlaneMcpConfigOptions as Y, CONTROL_PLANE_MCP_SERVER_NAME as Z, SandboxSession as _, WorkspaceImagePublishRequestOptions as a, InteractivePromptCommand as b, TraceExportFormat as c, buildTraceExportPayload as d, SandboxMcpEndpoint as et, exportTraceBundle as f, RawEvidenceExport as g, SandboxTaskSession as h, WorkspaceImagePublishInput as i, InterruptResult as j, InteractiveSessionStartResult as k, TraceExportResult as l, toOtelJson as m, HttpClient as n, buildControlPlaneMcpConfig as nt, WorkspaceImagePublishResult as o, otelTraceIdForTangleTrace as p, SandboxInteractionResolution as q, SandboxInstance as r, buildSandboxMcpConfig as rt, WorkspaceImages as s, ForkAcknowledgement as t, SandboxMcpServerEntry as tt, TraceExportSink as u, AgentInteractiveTerminalSession$1 as v, InteractiveSessionHost as w, InteractiveSessionControlClaim as x, InteractiveControlClaimRequest as y, BrowserInteractiveSessionController as z };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../../../packages/runtime-contracts/dist/session-gateway.d.ts
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Shared session-gateway protocol and connection metrics
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Browser-safe wire contracts. SDK-specific extensions and connection defaults
|
|
6
|
+
* remain with their clients; this module imports no runtime or Node services.
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Message types sent by the client.
|
|
@@ -45,24 +45,16 @@ interface ReplayOptions {
|
|
|
45
45
|
lastEventId?: string;
|
|
46
46
|
/** Execution ID to replay events for */
|
|
47
47
|
executionId?: string;
|
|
48
|
-
/**
|
|
48
|
+
/** Session ID context for replay */
|
|
49
49
|
sessionId?: string;
|
|
50
50
|
}
|
|
51
|
-
interface SubscriptionDenial {
|
|
52
|
-
channel: string;
|
|
53
|
-
reason: string;
|
|
54
|
-
}
|
|
55
|
-
interface SubscriptionAcknowledgement {
|
|
56
|
-
channels: string[];
|
|
57
|
-
denied?: SubscriptionDenial[];
|
|
58
|
-
}
|
|
59
51
|
/**
|
|
60
52
|
* Base fields present on all server messages.
|
|
61
53
|
*/
|
|
62
54
|
interface ServerMessageBase {
|
|
63
55
|
id?: string;
|
|
64
56
|
timestamp?: number;
|
|
65
|
-
/** Monotonic
|
|
57
|
+
/** Monotonic sequence number for gap detection (per session) */
|
|
66
58
|
seq?: number;
|
|
67
59
|
}
|
|
68
60
|
type RuntimeUnavailableReason = "container_mismatch" | "incarnation_transitioning" | "project_provisioning" | "project_degraded" | "project_suspended" | "project_failed" | "project_deprovisioning" | "project_restarting" | "sidecar_starting" | "sidecar_stopped" | "sidecar_suspended";
|
|
@@ -74,15 +66,16 @@ interface RuntimeUnavailableData {
|
|
|
74
66
|
/**
|
|
75
67
|
* Message types sent by the server.
|
|
76
68
|
*/
|
|
77
|
-
type ServerMessage = (ServerMessageBase & {
|
|
69
|
+
type ServerMessage$1 = (ServerMessageBase & {
|
|
78
70
|
type: "connection.established";
|
|
79
71
|
data: {
|
|
80
72
|
sessionId: string;
|
|
81
|
-
hydratedCount?: number;
|
|
82
73
|
};
|
|
83
74
|
}) | (ServerMessageBase & {
|
|
84
75
|
type: "subscribed";
|
|
85
|
-
data:
|
|
76
|
+
data: {
|
|
77
|
+
channels: string[];
|
|
78
|
+
};
|
|
86
79
|
}) | (ServerMessageBase & {
|
|
87
80
|
type: "unsubscribed";
|
|
88
81
|
data: {
|
|
@@ -203,20 +196,6 @@ type ServerMessage = (ServerMessageBase & {
|
|
|
203
196
|
totalDropped: number; /** Hint that client should request a replay */
|
|
204
197
|
suggestReplay: boolean;
|
|
205
198
|
};
|
|
206
|
-
}) | (ServerMessageBase & {
|
|
207
|
-
type: "terminal.input.error";
|
|
208
|
-
data: {
|
|
209
|
-
terminalId: string;
|
|
210
|
-
code: string;
|
|
211
|
-
message: string;
|
|
212
|
-
};
|
|
213
|
-
}) | (ServerMessageBase & {
|
|
214
|
-
type: `project.${string}`;
|
|
215
|
-
channel?: string;
|
|
216
|
-
data: unknown;
|
|
217
|
-
}) | (ServerMessageBase & {
|
|
218
|
-
type: "heartbeat";
|
|
219
|
-
data?: unknown;
|
|
220
199
|
});
|
|
221
200
|
interface PortEventData {
|
|
222
201
|
type: "opened" | "closed";
|
|
@@ -224,31 +203,16 @@ interface PortEventData {
|
|
|
224
203
|
protocol: string;
|
|
225
204
|
processName?: string;
|
|
226
205
|
}
|
|
227
|
-
/**
|
|
228
|
-
* Inbound WebSocket frame. `handleMessage` validates its message type before
|
|
229
|
-
* dispatching it to the typed session protocol.
|
|
230
|
-
*/
|
|
231
|
-
interface RawWireMessage {
|
|
232
|
-
type?: string;
|
|
233
|
-
channel?: string;
|
|
234
|
-
data?: unknown;
|
|
235
|
-
id?: string;
|
|
236
|
-
message?: string;
|
|
237
|
-
code?: string;
|
|
238
|
-
timestamp?: number;
|
|
239
|
-
seq?: number;
|
|
240
|
-
[key: string]: unknown;
|
|
241
|
-
}
|
|
242
|
-
/** Every inbound frame after its message type has been validated. */
|
|
243
|
-
interface NormalizedServerMessage extends RawWireMessage {
|
|
244
|
-
type: string;
|
|
245
|
-
}
|
|
246
206
|
/**
|
|
247
207
|
* Connection state for the WebSocket client.
|
|
248
208
|
*/
|
|
249
209
|
type ConnectionState = "disconnected" | "connecting" | "connected" | "reconnecting";
|
|
250
210
|
/**
|
|
251
211
|
* Connection quality levels based on latency, missed pongs, and reconnection frequency.
|
|
212
|
+
*
|
|
213
|
+
* Current policy: disconnected first; repeated misses/reconnects are poor;
|
|
214
|
+
* one missed pong, >1000 ms latency, or a recent reconnect are degraded.
|
|
215
|
+
* A fresh <100 ms connection is excellent; remaining connected cases are good.
|
|
252
216
|
*/
|
|
253
217
|
type ConnectionQuality = "excellent" | "good" | "degraded" | "poor" | "disconnected";
|
|
254
218
|
/**
|
|
@@ -294,16 +258,22 @@ interface TokenRefreshResult {
|
|
|
294
258
|
/**
|
|
295
259
|
* Event handlers for session gateway events.
|
|
296
260
|
*/
|
|
297
|
-
interface SessionGatewayEventHandlers {
|
|
298
|
-
/** Called after internal processing for every non-duplicate normalized frame. */
|
|
299
|
-
onMessage?: (message: NormalizedServerMessage) => void;
|
|
261
|
+
interface SessionGatewayEventHandlers$1 {
|
|
300
262
|
onConnect?: (sessionId: string) => void;
|
|
301
263
|
onDisconnect?: (code: number, reason: string) => void;
|
|
302
264
|
onReconnect?: () => void;
|
|
303
265
|
onRuntimeConnected?: (sandboxId: string, baseUrl: string) => void;
|
|
304
266
|
onRuntimeDisconnected?: (sandboxId: string, error?: string) => void;
|
|
305
267
|
onRuntimeUnavailable?: (data: RuntimeUnavailableData) => void;
|
|
268
|
+
/**
|
|
269
|
+
* Called when no running container is found for the session.
|
|
270
|
+
* This typically happens when a user returns after their container has expired.
|
|
271
|
+
* The client should trigger reprovisioning or prompt the user.
|
|
272
|
+
*/
|
|
306
273
|
onRuntimeNotFound?: (sessionId: string, containerId: string | undefined, reason: string) => void;
|
|
274
|
+
/**
|
|
275
|
+
* Called when a runtime is fully ready with rich metadata.
|
|
276
|
+
*/
|
|
307
277
|
onRuntimeReady?: (data: {
|
|
308
278
|
sandboxId: string;
|
|
309
279
|
sessionId: string;
|
|
@@ -351,12 +321,29 @@ interface SessionGatewayEventHandlers {
|
|
|
351
321
|
sandboxId?: string;
|
|
352
322
|
error?: string;
|
|
353
323
|
}) => void;
|
|
324
|
+
/**
|
|
325
|
+
* Called when the token is about to expire.
|
|
326
|
+
* The client should call refreshToken() or disconnect.
|
|
327
|
+
* @param secondsRemaining - Seconds until token expires
|
|
328
|
+
*/
|
|
354
329
|
onTokenExpiring?: (secondsRemaining: number) => void;
|
|
330
|
+
/**
|
|
331
|
+
* Called when the token has expired.
|
|
332
|
+
* The client will be disconnected shortly after this event.
|
|
333
|
+
*/
|
|
355
334
|
onTokenExpired?: () => void;
|
|
335
|
+
/**
|
|
336
|
+
* Called when events have been dropped due to WebSocket backpressure.
|
|
337
|
+
* The client should consider requesting a replay to catch up on missed events.
|
|
338
|
+
* @param droppedCount - Number of events dropped since last notification
|
|
339
|
+
* @param since - Timestamp when the notification window started
|
|
340
|
+
* @param totalDropped - Total events dropped in this session
|
|
341
|
+
*/
|
|
356
342
|
onBackpressureWarning?: (droppedCount: number, since: number, totalDropped: number) => void;
|
|
357
343
|
}
|
|
358
344
|
/**
|
|
359
345
|
* Storage interface for replay state persistence.
|
|
346
|
+
* Allows custom storage implementations (localStorage, sessionStorage, memory, etc.)
|
|
360
347
|
*/
|
|
361
348
|
interface ReplayStateStorage {
|
|
362
349
|
getItem(key: string): string | null;
|
|
@@ -365,23 +352,34 @@ interface ReplayStateStorage {
|
|
|
365
352
|
}
|
|
366
353
|
/**
|
|
367
354
|
* Transport mode for event delivery.
|
|
355
|
+
*
|
|
356
|
+
* - "websocket": WebSocket mode - all events via WebSocket (default)
|
|
368
357
|
*/
|
|
369
358
|
type TransportMode = "websocket";
|
|
370
359
|
/**
|
|
371
360
|
* Configuration for SessionGatewayClient.
|
|
372
361
|
*/
|
|
373
|
-
interface SessionGatewayClientConfig {
|
|
362
|
+
interface SessionGatewayClientConfig$1 {
|
|
374
363
|
/** WebSocket URL for the session gateway */
|
|
375
364
|
url: string;
|
|
376
|
-
/**
|
|
365
|
+
/**
|
|
366
|
+
* JWT read token for authentication (required).
|
|
367
|
+
* Obtain from product backend's session creation endpoint.
|
|
368
|
+
*/
|
|
377
369
|
token: string;
|
|
378
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* Callback to refresh the token when it's about to expire.
|
|
372
|
+
* Called when server sends token.expiring event.
|
|
373
|
+
* Return new token and expiry, or throw to disconnect.
|
|
374
|
+
*/
|
|
379
375
|
onTokenRefresh?: () => Promise<TokenRefreshResult>;
|
|
380
|
-
/**
|
|
376
|
+
/** Session ID to connect to */
|
|
381
377
|
sessionId: string;
|
|
382
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* Transport mode for event delivery (default: "websocket").
|
|
380
|
+
*/
|
|
383
381
|
transport?: TransportMode;
|
|
384
|
-
/**
|
|
382
|
+
/** Channels to subscribe to (default: ["*"]) */
|
|
385
383
|
channels?: string[];
|
|
386
384
|
/** Auto-reconnect on disconnect (default: true) */
|
|
387
385
|
autoReconnect?: boolean;
|
|
@@ -403,16 +401,14 @@ interface SessionGatewayClientConfig {
|
|
|
403
401
|
maxDeduplicationSize?: number;
|
|
404
402
|
/** Enable replay state persistence (default: false) */
|
|
405
403
|
enableReplayPersistence?: boolean;
|
|
406
|
-
/** Storage for replay state persistence */
|
|
404
|
+
/** Storage for replay state persistence (default: localStorage if available) */
|
|
407
405
|
replayStorage?: ReplayStateStorage;
|
|
408
406
|
/** Storage key prefix for replay state (default: "session_gateway_") */
|
|
409
407
|
replayStorageKeyPrefix?: string;
|
|
410
408
|
/** Number of latency samples to track for averaging (default: 10) */
|
|
411
409
|
latencyHistorySize?: number;
|
|
412
|
-
/** Maximum wait for `connection.established` (default: 10000 ms) */
|
|
413
|
-
connectionEstablishmentTimeoutMs?: number;
|
|
414
410
|
/** Event handlers */
|
|
415
|
-
handlers?: SessionGatewayEventHandlers;
|
|
411
|
+
handlers?: SessionGatewayEventHandlers$1;
|
|
416
412
|
}
|
|
417
413
|
/**
|
|
418
414
|
* Statistics for the session gateway connection.
|
|
@@ -430,15 +426,77 @@ interface SessionGatewayStats {
|
|
|
430
426
|
metrics: ConnectionMetrics;
|
|
431
427
|
replay: ReplayState;
|
|
432
428
|
}
|
|
433
|
-
/**
|
|
434
|
-
* Default connection metrics.
|
|
435
|
-
*/
|
|
436
|
-
declare const INITIAL_METRICS: ConnectionMetrics;
|
|
437
429
|
/**
|
|
438
430
|
* Calculate connection quality from metrics.
|
|
439
431
|
*/
|
|
440
432
|
declare function calculateConnectionQuality(metrics: ConnectionMetrics, isConnected: boolean): ConnectionQuality;
|
|
441
433
|
//#endregion
|
|
434
|
+
//#region src/session-gateway/types.d.ts
|
|
435
|
+
interface SubscriptionDenial {
|
|
436
|
+
channel: string;
|
|
437
|
+
reason: string;
|
|
438
|
+
}
|
|
439
|
+
interface SubscriptionAcknowledgement {
|
|
440
|
+
channels: string[];
|
|
441
|
+
denied?: SubscriptionDenial[];
|
|
442
|
+
}
|
|
443
|
+
type ServerMessage = Exclude<ServerMessage$1, {
|
|
444
|
+
type: "connection.established" | "subscribed";
|
|
445
|
+
}> | (ServerMessageBase & {
|
|
446
|
+
type: "connection.established";
|
|
447
|
+
data: {
|
|
448
|
+
sessionId: string;
|
|
449
|
+
hydratedCount?: number;
|
|
450
|
+
};
|
|
451
|
+
}) | (ServerMessageBase & {
|
|
452
|
+
type: "subscribed";
|
|
453
|
+
data: SubscriptionAcknowledgement;
|
|
454
|
+
}) | (ServerMessageBase & {
|
|
455
|
+
type: "terminal.input.error";
|
|
456
|
+
data: {
|
|
457
|
+
terminalId: string;
|
|
458
|
+
code: string;
|
|
459
|
+
message: string;
|
|
460
|
+
};
|
|
461
|
+
}) | (ServerMessageBase & {
|
|
462
|
+
type: `project.${string}`;
|
|
463
|
+
channel?: string;
|
|
464
|
+
data: unknown;
|
|
465
|
+
}) | (ServerMessageBase & {
|
|
466
|
+
type: "heartbeat";
|
|
467
|
+
data?: unknown;
|
|
468
|
+
});
|
|
469
|
+
/** Untrusted inbound frame; the client validates its type before dispatch. */
|
|
470
|
+
interface RawWireMessage {
|
|
471
|
+
type?: string;
|
|
472
|
+
channel?: string;
|
|
473
|
+
data?: unknown;
|
|
474
|
+
id?: string;
|
|
475
|
+
message?: string;
|
|
476
|
+
code?: string;
|
|
477
|
+
timestamp?: number;
|
|
478
|
+
seq?: number;
|
|
479
|
+
[key: string]: unknown;
|
|
480
|
+
}
|
|
481
|
+
/** Every inbound frame after its message type has been validated. */
|
|
482
|
+
interface NormalizedServerMessage extends RawWireMessage {
|
|
483
|
+
type: string;
|
|
484
|
+
}
|
|
485
|
+
interface SessionGatewayEventHandlers extends SessionGatewayEventHandlers$1 {
|
|
486
|
+
/** Called after internal processing for every non-duplicate normalized frame. */
|
|
487
|
+
onMessage?: (message: NormalizedServerMessage) => void;
|
|
488
|
+
}
|
|
489
|
+
interface SessionGatewayClientConfig extends Omit<SessionGatewayClientConfig$1, "handlers"> {
|
|
490
|
+
/** Browser session ID embedded in the session-scoped read token. */
|
|
491
|
+
sessionId: string;
|
|
492
|
+
/** Additional subscriptions; server-authorized channels are used by default. */
|
|
493
|
+
channels?: string[];
|
|
494
|
+
/** Maximum wait for `connection.established` (default: 10000 ms). */
|
|
495
|
+
connectionEstablishmentTimeoutMs?: number;
|
|
496
|
+
handlers?: SessionGatewayEventHandlers;
|
|
497
|
+
}
|
|
498
|
+
declare const INITIAL_METRICS: ConnectionMetrics;
|
|
499
|
+
//#endregion
|
|
442
500
|
//#region src/session-gateway/client.d.ts
|
|
443
501
|
declare class SessionGatewayClient {
|
|
444
502
|
private ws;
|
|
@@ -209,19 +209,27 @@ var TokenRefresher = class {
|
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
//#endregion
|
|
212
|
-
//#region
|
|
212
|
+
//#region ../../../packages/runtime-contracts/dist/session-gateway.js
|
|
213
|
+
/**
|
|
214
|
+
* Shared session-gateway protocol and connection metrics
|
|
215
|
+
*
|
|
216
|
+
* Browser-safe wire contracts. SDK-specific extensions and connection defaults
|
|
217
|
+
* remain with their clients; this module imports no runtime or Node services.
|
|
218
|
+
*/
|
|
213
219
|
/**
|
|
214
220
|
* Default connection metrics.
|
|
215
221
|
*/
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
function createConnectionMetrics() {
|
|
223
|
+
return {
|
|
224
|
+
lastPingLatencyMs: null,
|
|
225
|
+
avgPingLatencyMs: null,
|
|
226
|
+
missedPongCount: 0,
|
|
227
|
+
reconnectCount: 0,
|
|
228
|
+
lastPongAt: null,
|
|
229
|
+
lastReconnectAt: null,
|
|
230
|
+
quality: "disconnected"
|
|
231
|
+
};
|
|
232
|
+
}
|
|
225
233
|
/**
|
|
226
234
|
* Calculate connection quality from metrics.
|
|
227
235
|
*/
|
|
@@ -236,6 +244,10 @@ function calculateConnectionQuality(metrics, isConnected) {
|
|
|
236
244
|
return "good";
|
|
237
245
|
}
|
|
238
246
|
//#endregion
|
|
247
|
+
//#region src/session-gateway/types.ts
|
|
248
|
+
/** Browser-safe shared contracts plus the public Sandbox gateway extensions. */
|
|
249
|
+
const INITIAL_METRICS = createConnectionMetrics();
|
|
250
|
+
//#endregion
|
|
239
251
|
//#region src/session-gateway/client.ts
|
|
240
252
|
const CONNECTION_ESTABLISHMENT_TIMEOUT_CODE = 4008;
|
|
241
253
|
const CONNECTION_ERROR_CODE = 4009;
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TangleSandboxClientConfig, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../index-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TangleSandboxClientConfig, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../index-D7RBHUmk.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as JsonResponseParamTypes, d as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as SandboxCreateParamTypes, n as JOB_SANDBOX_CREATE, o as AgentSandboxBlueprintAbi, r as JOB_SANDBOX_DELETE, s as ITangleJobsAbi, t as TangleSandboxClient, u as SandboxCreateResponseParamTypes } from "../tangle-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as JsonResponseParamTypes, d as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as SandboxCreateParamTypes, n as JOB_SANDBOX_CREATE, o as AgentSandboxBlueprintAbi, r as JOB_SANDBOX_DELETE, s as ITangleJobsAbi, t as TangleSandboxClient, u as SandboxCreateResponseParamTypes } from "../tangle-nU1V_G1c.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as parseErrorResponse } from "./errors-BkhlSDW-.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-CUTfilZU.js";
|
|
3
3
|
//#region src/tangle/abi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Tangle Contract ABI Definitions
|
|
@@ -3180,6 +3180,10 @@ interface SandboxResourceUsage {
|
|
|
3180
3180
|
* proxy's SSE header-stripping cannot affect this document.
|
|
3181
3181
|
*/
|
|
3182
3182
|
interface SandboxRuntimeCapabilities {
|
|
3183
|
+
/** Native raw evidence wire version compiled into the serving Sidecar. */
|
|
3184
|
+
nativeSessionCaptureVersion?: number;
|
|
3185
|
+
/** Dispatch providers covered by the serving Sidecar capture boundary. */
|
|
3186
|
+
nativeSessionCaptureHarnesses?: BackendType[];
|
|
3183
3187
|
/** Version of the capability-document shape. This SDK understands 1. */
|
|
3184
3188
|
schema: 1;
|
|
3185
3189
|
/** `@tangle-network/agent-interface` contract compiled into the image. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.5",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"url": "https://github.com/tangle-network/agent-dev-container/issues"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@tangle-network/agent-core": "^0.
|
|
109
|
-
"@tangle-network/agent-interface": "^2.
|
|
108
|
+
"@tangle-network/agent-core": "^0.10.2",
|
|
109
|
+
"@tangle-network/agent-interface": "^2.15.0",
|
|
110
110
|
"zod": "4.6.5"
|
|
111
111
|
},
|
|
112
112
|
"peerDependencies": {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"yjs": "13.6.30",
|
|
150
150
|
"@repo/shared": "0.0.0",
|
|
151
151
|
"@tangle-network/agent-profile-materialize": "0.20.5",
|
|
152
|
-
"@tangle-network/cli-agent-registry": "0.4.
|
|
152
|
+
"@tangle-network/cli-agent-registry": "0.4.15",
|
|
153
153
|
"@tangle-network/runtime-contracts": "0.10.1",
|
|
154
154
|
"@tangle-network/sse-core": "0.0.0"
|
|
155
155
|
},
|