@tangle-network/sandbox 1.0.162 → 1.0.164
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 +3 -3
- package/dist/agent/index.js +2 -2
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{client-X0EfXGzX.d.ts → client-iWASK-8n.d.ts} +1 -1
- package/dist/{client-EqkFJstx.js → client-mgyLoJaL.js} +3 -6
- package/dist/{core-D6HUTcWA.js → core-CzxN5uuO.js} +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/core.js +3 -3
- package/dist/{index-Cqjh5kS1.d.ts → index-DTQyjN7Y.d.ts} +5 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/lib/prepared-evidence.js +1 -1
- package/dist/lib/prepared-process.js +1 -1
- package/dist/{prepared-evidence-r46MdJM9.js → prepared-evidence-CrTBMhm9.js} +3 -1
- package/dist/{prepared-process-C-rwZPIZ.js → prepared-process-BD5LvT7P.js} +40 -22
- package/dist/{preview-B7o37y7R.d.ts → preview-o1vDLSew.d.ts} +2 -2
- package/dist/{raw-evidence-archive-CbV1e0UF.js → raw-evidence-archive-0S8tObzw.js} +1 -1
- package/dist/{sandbox-CJaZ2eLs.js → sandbox-DL_OgJqW.js} +47 -43
- package/dist/select-seat-command.d.ts +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-Coo11OLc.js → tangle-CXaHOM45.js} +1 -1
- package/package.json +5 -5
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-
|
|
1
|
+
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-DTQyjN7Y.js";
|
|
2
2
|
import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo, wo as BackendType } from "../types-CCRfg8oS.js";
|
|
3
|
-
import { t as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
3
|
+
import { t as Sandbox } from "../client-iWASK-8n.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-o1vDLSew.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-tBlLJqTb.js";
|
|
2
2
|
import { O as assertCurrentBackendType } from "../interactive-controller-C3DDPykv.js";
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-DL_OgJqW.js";
|
|
4
4
|
import { C as StateError, E as ValidationError, g as NotFoundError } from "../errors-BUzH7U1D.js";
|
|
5
|
-
import { t as Sandbox } from "../client-
|
|
5
|
+
import { t as Sandbox } from "../client-mgyLoJaL.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/agent/instances.ts
|
|
8
8
|
const managers = /* @__PURE__ */ new WeakMap();
|
package/dist/agent/preview.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as publishAgentPreview, a as previewOperationTool, c as AgentPreviewOptions, d as PreviewExecutionContext, f as PublishAgentPreviewOptions, g as listAgentPreviews, h as getAgentPreview, i as PreviewTool, l as PreviewAuthorizationRequest, m as ensureAgentPreview, n as PREVIEW_MCP_ALIAS, o as previewToolsForProfile, p as assertPreviewId, r as PREVIEW_TOOLS, s as AgentPreviewError, t as servePreviewMcp, u as PreviewAuthorizer, v as removeAgentPreview, y as resolveSelfSandbox } from "../preview-
|
|
1
|
+
import { _ as publishAgentPreview, a as previewOperationTool, c as AgentPreviewOptions, d as PreviewExecutionContext, f as PublishAgentPreviewOptions, g as listAgentPreviews, h as getAgentPreview, i as PreviewTool, l as PreviewAuthorizationRequest, m as ensureAgentPreview, n as PREVIEW_MCP_ALIAS, o as previewToolsForProfile, p as assertPreviewId, r as PREVIEW_TOOLS, s as AgentPreviewError, t as servePreviewMcp, u as PreviewAuthorizer, v as removeAgentPreview, y as resolveSelfSandbox } from "../preview-o1vDLSew.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_MCP_ALIAS, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PreviewTool, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, previewOperationTool, previewToolsForProfile, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-DTQyjN7Y.js";
|
|
2
2
|
import { G as AgentProfileConfidential, J as AgentProfileMcpServer, K as AgentProfileConfigValue, U as AgentProfile, X as AgentProfileSeat, Y as AgentProfileMetadata, b as SandboxSizePreset, bt as SandboxError, c as MintInteractiveSessionTokenOptions, k as AgentInteractiveSessionRef, q as AgentProfileFileMount, u as ScopedToken } from "./terminal-stream-types-C6N_wrmY.js";
|
|
3
3
|
import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Bt as SandboxFleetParent, Ci as IntelligenceReportWindow, Di as SandboxEvent, Dn as SandboxResources, Ei as PromptResult, En as SandboxConfig, Et as SandboxFleetCostEstimate, Ft as SandboxFleetMachineRecord, Ga as ExecResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as TurnBackendConfig, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Ri as ConversationTurnOptions, St as SandboxFleetAgent, T as SshKeysManager, Ti as PromptOptions, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xr as HttpClient, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Zr as SdkTimingHook, _o as PublicBatchRunRequestInput, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bt as ReconcileSandboxFleetsOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fi as CreateIntelligenceReportOptions, ft as FleetMachineId, ga as BackendConfig, go as PublicBatchRunRequest, gt as FleetRunOptions, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, po as BatchResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as IntelligenceReportCompareTo, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReport, yn as TeeAttestationReport, yo as BatchEvent, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-CCRfg8oS.js";
|
|
4
4
|
import { t as LinesClient } from "./lines-BbOFiDng.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as normalizeRuntimeBackendConfig, D as applyRequestedModel, E as isBrowserRuntime, H as backendTypeSchema, N as withProfileHarness, O as assertCurrentBackendType, P as withoutCreateOnlyModelFields, S as encodePromptForWire, o as requestInteractiveSessionToken } from "./interactive-controller-C3DDPykv.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
|
|
3
|
-
import { A as normalizeSandboxCreateReceipt, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as
|
|
3
|
+
import { A as normalizeSandboxCreateReceipt, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as normalizeEgressPolicyFields, G as generateIdempotencyKey, H as DEPLOY_WINDOW_RETRY_MS, I as normalizeProxySecretReceipt, J as isRateLimitCreateError, K as isCapacityShortageCreateError, L as normalizeSandboxShape, M as dateOf, N as parseLifecycleTimes, O as isRetryableProfileFileMaterializeFailure, P as normalizeConnection, R as CAPACITY_ETA_MARGIN_MS, T as splitInlineProfileFileMounts, U as createRetryDelayMs, W as extendableDeadline, Y as isRetryableCreateError, d as sandboxLedgerUsd, j as normalizeStartupDiagnostics, k as normalizeCaptureProof, n as createSandboxInstanceFromResponse, o as exportTraceBundle, q as isDeployWindowCreateError, z as CAPACITY_ETA_WAIT_MAX_MS } from "./sandbox-DL_OgJqW.js";
|
|
4
4
|
import { D as isInsideReservedDir, E as ValidationError, F as SANDBOX_AGENT_HOME, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, g as NotFoundError, h as NetworkError, i as readResponseJson, n as parseErrorResponse, r as parseResponseError, x as SandboxError } from "./errors-BUzH7U1D.js";
|
|
5
5
|
import { r as combineAbortSignals, t as abortableSleep } from "./abort-signal-Cu4F2VVz.js";
|
|
6
6
|
import { t as fetchSandboxApi } from "./api-request-DNrodWdz.js";
|
|
@@ -1331,11 +1331,8 @@ var SandboxTransport = class {
|
|
|
1331
1331
|
status: data.status ?? "pending",
|
|
1332
1332
|
connection: normalizeConnection(data.connection),
|
|
1333
1333
|
metadata: data.metadata,
|
|
1334
|
-
createdAt:
|
|
1335
|
-
|
|
1336
|
-
lastActivityAt: data.lastActivityAt ? new Date(data.lastActivityAt) : void 0,
|
|
1337
|
-
...parseStopPhase(data),
|
|
1338
|
-
expiresAt: data.expiresAt ? new Date(data.expiresAt) : void 0,
|
|
1334
|
+
createdAt: dateOf(data.createdAt) ?? /* @__PURE__ */ new Date(),
|
|
1335
|
+
...parseLifecycleTimes(data),
|
|
1339
1336
|
error: data.error,
|
|
1340
1337
|
gpuLease: data.gpuLease,
|
|
1341
1338
|
resources: normalizeSandboxShape(data.resources),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
|
|
2
|
-
import {
|
|
2
|
+
import { X as canonicalAgentProfileDigest } from "./sandbox-DL_OgJqW.js";
|
|
3
3
|
import { E as ValidationError, s as CapabilityError, x as SandboxError } from "./errors-BUzH7U1D.js";
|
|
4
4
|
import { n as awaitWithAbort } from "./abort-signal-Cu4F2VVz.js";
|
|
5
5
|
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-CwJjUmvo-3J2DDPxW.js";
|
package/dist/core.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-
|
|
1
|
+
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-DTQyjN7Y.js";
|
|
2
2
|
import { Ct as ServerError, Dt as TimeoutError, Ot as ValidationError, St as SandboxFailureDetail, _t as ProfileFileMountPathError, bt as SandboxError, gt as PartialFailureError, ht as NotFoundError, it as AuthError, mt as NetworkError, ot as CapabilityError, rt as parseErrorResponse, ut as FileWriteConflictError, vt as QuotaError, wt as StateError, xt as SandboxErrorJson } from "./terminal-stream-types-C6N_wrmY.js";
|
|
3
3
|
import { En as SandboxConfig, Ga as ExecResult, Gr as ManagedProcessOptions, H as PreviewLinkInfo, Ia as WorkspaceImagePublishInput, In as NetworkConfig, Ja as SandboxEnvRecoveryView, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, La as WorkspaceImagePublishResult, Ri as ConversationTurnOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, W as PreviewLinkWaitOptions, Wr as ManagedProcessJobs, Yr as ManagedProcessSpec, an as SandboxInfo, kn as SandboxStatus, oa as SessionMessageAdmission, qa as SandboxEnvRecovery, qr as ManagedProcessState, wi as PromptInputPart, yr as ExecOptions, zi as ConversationTurnResult } from "./types-CCRfg8oS.js";
|
|
4
4
|
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-BbOFiDng.js";
|
|
5
|
-
import { Ct as InstanceRestartingError, Dt as sandboxFailureKind, Et as SandboxFailureKind, St as InstanceRecord, Tt as InstancesClient, _t as gatewaySeatTransport, an as backendRegistryEntrySchema, bt as HostedInstance, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, dt as SeatOwnerReply, en as BackendRegistryCapabilities, ft as SeatOwnerTransport, gt as createSelectSeat, ht as SeatSelectionRequest, in as backendRegistryCapabilitiesSchema, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, mt as SeatSelectionError, nn as BackendRegistryInteractionKind, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, pt as SeatResolutionObservation, rn as BackendRegistryResponse, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, vt as ManagedProcessClient, xt as InstanceProfile, yt as EnsureInstanceOptions } from "./client-
|
|
5
|
+
import { Ct as InstanceRestartingError, Dt as sandboxFailureKind, Et as SandboxFailureKind, St as InstanceRecord, Tt as InstancesClient, _t as gatewaySeatTransport, an as backendRegistryEntrySchema, bt as HostedInstance, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, dt as SeatOwnerReply, en as BackendRegistryCapabilities, ft as SeatOwnerTransport, gt as createSelectSeat, ht as SeatSelectionRequest, in as backendRegistryCapabilitiesSchema, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, mt as SeatSelectionError, nn as BackendRegistryInteractionKind, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, pt as SeatResolutionObservation, rn as BackendRegistryResponse, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, vt as ManagedProcessClient, xt as InstanceProfile, yt as EnsureInstanceOptions } from "./client-iWASK-8n.js";
|
|
6
6
|
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-DVZ9NJM0.js";
|
|
7
7
|
export { AuthError, BackendRegistryCapabilities, BackendRegistryEntry, BackendRegistryInteractionKind, BackendRegistryResponse, CapabilityError, ConversationTurnOptions, ConversationTurnResult, CreateSandboxOptions, CreateSelectSeatOptions, EnsureInstanceOptions, ExecOptions, ExecResult, FileWriteConflictError, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceProfile, InstanceRecord, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, Line, LineAgentRolePolicy, LineApplication, LineApplicationAttachOptions, LineApplicationRequest, LineApplicationResult, LineApplicationState, LineApplicationView, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineMember, LineMemberInstance, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LinesClient, ManagedProcessClient, ManagedProcessJobs, ManagedProcessOptions, ManagedProcessRecord, ManagedProcessResumeOptions, ManagedProcessSpec, ManagedProcessState, NetworkConfig, NetworkError, NotFoundError, PartialFailureError, PreviewLinkInfo, PreviewLinkManager, PreviewLinkWaitOptions, ProfileFileDeliveryReport, ProfileFileMountPathError, PromptInputPart, PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient, QuotaError, Sandbox, SandboxConfig, SandboxEnvRecovery, SandboxEnvRecoveryView, SandboxError, SandboxErrorJson, SandboxFailureDetail, SandboxFailureKind, SandboxInfo, SandboxInstance, SandboxResolvedSeat, SandboxSeatCredentials, SandboxSeatSelectionInput, SandboxStatus, SeatOwnerReply, SeatOwnerTransport, SeatResolutionObservation, SeatSelectionError, SeatSelectionRequest, ServerError, SessionMessageAdmission, StateError, TimeoutError, ValidationError, WorkspaceImagePublishInput, WorkspaceImagePublishRequestOptions, WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, sandboxFailureKind };
|
package/dist/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-
|
|
1
|
+
import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-DL_OgJqW.js";
|
|
2
2
|
import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, d as FileWriteConflictError, g as NotFoundError, h as NetworkError, n as parseErrorResponse, s as CapabilityError, v as ProfileFileMountPathError, x as SandboxError, y as QuotaError } from "./errors-BUzH7U1D.js";
|
|
3
|
-
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-
|
|
3
|
+
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-mgyLoJaL.js";
|
|
4
4
|
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-2fj8i5qd.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
|
-
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-
|
|
6
|
+
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-CzxN5uuO.js";
|
|
7
7
|
export { AuthError, CapabilityError, FileWriteConflictError, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, ProfileFileMountPathError, PublicTemplatePublishError, PublicTemplatesClient, QuotaError, Sandbox, SandboxError, SandboxInstance, SeatSelectionError, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, sandboxFailureKind };
|
|
@@ -1173,6 +1173,8 @@ declare abstract class SandboxProfileCapabilities extends SandboxFileWriteCapabi
|
|
|
1173
1173
|
modelChanged: boolean;
|
|
1174
1174
|
noChanges: boolean;
|
|
1175
1175
|
};
|
|
1176
|
+
/** Prime an oversized unreferenced profile, then POST a revision prepare. */
|
|
1177
|
+
protected postProfileRevision(profile: object | undefined, endpoint: string, body: string): Promise<Record<string, unknown>>;
|
|
1176
1178
|
/**
|
|
1177
1179
|
* Ask the initialized provider to prepare this turn's public native profile
|
|
1178
1180
|
* before admission. Pass both returned expected digests to driveConversationTurn.
|
|
@@ -1319,6 +1321,9 @@ declare abstract class SandboxInteractiveCapabilities extends SandboxPromptCapab
|
|
|
1319
1321
|
_sendInteractivePrompt(id: string, command: InteractivePromptCommand, options?: InteractiveRequestOptions): Promise<AgentInteractiveSessionPromptAcknowledgement>;
|
|
1320
1322
|
/** @internal — delegated to the native interactive operations module. */
|
|
1321
1323
|
_claimInteractiveControl(id: string, request: AgentInteractiveSessionControlClaimRequest, options?: InteractiveControlClaimOptions): Promise<AgentInteractiveSessionControlClaimAcknowledgement>;
|
|
1324
|
+
/** A control claim parsed and checked against this session and sandbox,
|
|
1325
|
+
* as the `{ ref, control }` body the runtime takes. */
|
|
1326
|
+
private controlOf;
|
|
1322
1327
|
/** @internal — delegated to the native interactive operations module. */
|
|
1323
1328
|
_releaseInteractiveControl(id: string, ref: AgentInteractiveSessionRef, control: AgentInteractiveSessionControlClaim, options?: InteractiveRequestOptions): Promise<void>;
|
|
1324
1329
|
/** @internal — delegated to the native interactive operations module. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as SandboxInteractionResult, A as TraceExportResult, B as WorkspaceImages, Ct as CONTROL_PLANE_MCP_SERVER_NAME, D as ForkAcknowledgement, Dt as SandboxMcpServerEntry, Et as SandboxMcpEndpoint, F as toOtelJson, G as SplitInlineProfileFileMountsResult, H as MaterializeProfileFileMountsOptions, I as SandboxTaskSession, J as splitInlineProfileSkills, K as SplitInlineProfileSkillsResult, L as RawEvidenceExport, M as buildTraceExportPayload, N as exportTraceBundle, O as SandboxInstance, Ot as buildControlPlaneMcpConfig, P as otelTraceIdForTangleTrace, Q as SandboxInteractionResolution, R as SandboxSession, St as BuildSandboxMcpConfigOptions, Tt as SandboxMcpConfig, U as MaterializeProfileFileMountsResult, V as ProfileFileDeliveryReport, X as SandboxInteractionCommandResult, Y as validateDeferredProfileFileMounts, Z as SandboxInteractionConflict, _t as createInteractiveTerminalCapture, at as InteractiveSessionHost, bt as SandboxOperationFailedError, ct as InteractiveSessionRef, dt as InteractiveStopCommand, et as InteractiveControlClaimRequest, ft as InterruptResult, gt as InteractiveTerminalMetadata, h as TangleSandboxClient, ht as InteractiveTerminalFrameLog, it as InteractiveSessionHandleOptions, j as TraceExportSink, k as TraceExportFormat, kt as buildSandboxMcpConfig, lt as InteractiveSessionStartOptions, mt as InteractiveTerminalCapture, nt as InteractiveSessionControlClaim, ot as InteractiveSessionIncarnationId, pt as RespondToPermissionOptions, q as splitInlineProfileFileMounts, rt as InteractiveSessionHandle, st as InteractiveSessionInfo, tt as InteractivePromptCommand, ut as InteractiveSessionStartResult, v as TangleSandboxClientConfig, vt as createInteractiveTerminalSession, wt as SANDBOX_MCP_SERVER_NAME, xt as BuildControlPlaneMcpConfigOptions, yt as SandboxOperation, z as WorkspaceImagePublishRequestOptions } from "./index-
|
|
1
|
+
import { $ as SandboxInteractionResult, A as TraceExportResult, B as WorkspaceImages, Ct as CONTROL_PLANE_MCP_SERVER_NAME, D as ForkAcknowledgement, Dt as SandboxMcpServerEntry, Et as SandboxMcpEndpoint, F as toOtelJson, G as SplitInlineProfileFileMountsResult, H as MaterializeProfileFileMountsOptions, I as SandboxTaskSession, J as splitInlineProfileSkills, K as SplitInlineProfileSkillsResult, L as RawEvidenceExport, M as buildTraceExportPayload, N as exportTraceBundle, O as SandboxInstance, Ot as buildControlPlaneMcpConfig, P as otelTraceIdForTangleTrace, Q as SandboxInteractionResolution, R as SandboxSession, St as BuildSandboxMcpConfigOptions, Tt as SandboxMcpConfig, U as MaterializeProfileFileMountsResult, V as ProfileFileDeliveryReport, X as SandboxInteractionCommandResult, Y as validateDeferredProfileFileMounts, Z as SandboxInteractionConflict, _t as createInteractiveTerminalCapture, at as InteractiveSessionHost, bt as SandboxOperationFailedError, ct as InteractiveSessionRef, dt as InteractiveStopCommand, et as InteractiveControlClaimRequest, ft as InterruptResult, gt as InteractiveTerminalMetadata, h as TangleSandboxClient, ht as InteractiveTerminalFrameLog, it as InteractiveSessionHandleOptions, j as TraceExportSink, k as TraceExportFormat, kt as buildSandboxMcpConfig, lt as InteractiveSessionStartOptions, mt as InteractiveTerminalCapture, nt as InteractiveSessionControlClaim, ot as InteractiveSessionIncarnationId, pt as RespondToPermissionOptions, q as splitInlineProfileFileMounts, rt as InteractiveSessionHandle, st as InteractiveSessionInfo, tt as InteractivePromptCommand, ut as InteractiveSessionStartResult, v as TangleSandboxClientConfig, vt as createInteractiveTerminalSession, wt as SANDBOX_MCP_SERVER_NAME, xt as BuildControlPlaneMcpConfigOptions, yt as SandboxOperation, z as WorkspaceImagePublishRequestOptions } from "./index-DTQyjN7Y.js";
|
|
2
2
|
import { At as SandboxCreateReceipt, Ct as ServerError, Dt as TimeoutError, Et as StreamInterruptionReason, N as AgentInteractiveTerminalSession, Ot as ValidationError, P as agentInteractiveSessionPromptRequestDigest, St as SandboxFailureDetail, Tt as StreamInterruptedError, _ as TerminalReadyTimings, _t as ProfileFileMountPathError, a as TerminalStreamOptions, at as BranchFanoutExceedsHostError, b as SandboxSizePreset, bt as SandboxError, c as MintInteractiveSessionTokenOptions, ct as EdgeNotReadyError, d as ScopedTokenScope, dt as GpuProviderNotConfiguredError, f as TERMINAL_WS_ECHO_SUBPROTOCOL, ft as GpuProviderRequirement, g as TerminalReadyInfo, gt as PartialFailureError, h as TerminalOutputMessage, ht as NotFoundError, i as TerminalStreamHandlers, it as AuthError, kt as SandboxCreateOutcome, l as MintScopedTokenOptions, lt as EgressProxyRecoveryError, m as TerminalInteractiveSessionIdentity, mt as NetworkError, n as TerminalStreamApiKey, nt as TerminalStreamError, ot as CapabilityError, p as TerminalExitInfo, pt as KeyBudgetExhaustedError, r as TerminalStreamBearerToken, rt as parseErrorResponse, s as TerminalStreamToken, st as CompliancePlacementError, t as TerminalAttachTimings, u as ScopedToken, ut as FileWriteConflictError, v as TerminalStreamAuthFormat, vt as QuotaError, wt as StateError, xt as SandboxErrorJson, y as SANDBOX_SIZE_PRESET_NAMES, yt as ResumeEnvRequiredError } from "./terminal-stream-types-C6N_wrmY.js";
|
|
3
3
|
import { $ as CreateSandboxFleetOptions, $a as RawEvidenceBoxDirectoryExport, $i as SessionExecutionStatus, $n as FileReadError, $r as ForkCounts, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Aa as ProvisionStatus, Ai as SandboxTraceEvent, An as SandboxShape, Ar as DriverInfo, At as SandboxFleetDriverTimings, B as ProcessSignal, Ba as ProcessStatus, Bi as CreateSessionOptions, Bn as EgressDenial, Br as HostAgentDriverConfig, Bt as SandboxFleetParent, C as WorkspaceOperationLookup, Ca as RouterRoutingOptions, Ci as IntelligenceReportWindow, Cn as TerminalStream, Co as ALL_BACKEND_TYPES, Cr as PublishPublicTemplateVersionOptions, Ct as SandboxFleetAgentSpec, D as ProvisionResult, Da as RolloutScorer, Di as SandboxEvent, Dn as SandboxResources, Do as EffectiveBackendSource, Dr as CreateGpuLeaseOptions, Dt as SandboxFleetDispatchFailureClass, E as ProvisionEvent, Ea as RolloutChildResult, Ei as PromptResult, En as SandboxConfig, Eo as EffectiveBackendProfile, Er as AttachGpuLeaseOptions, Et as SandboxFleetCostEstimate, F as EnsureDevServerOptions, Fa as GpuLeaseStatus, Fi as CommitTaskSessionOptions, Fn as EgressManager, Fr as GpuLeaseExecOptions, Ft as SandboxFleetMachineRecord, G as GitBranch, Ga as ExecResult, Gi as ListMessagesOptions, Gn as ChunkedUploadResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, H as PreviewLinkInfo, Hi as DispatchPromptOptions, Hn as GitAuth, Hr as NonHostAgentDriverConfig, Ht as SandboxFleetPolicy, I as ExactProcessSpawnOptions, Ia as WorkspaceImagePublishInput, Ii as CompletedTurnPayload, In as NetworkConfig, Ir as GpuLeaseExecResult, It as SandboxFleetMachineSpec, J as GitStatus, Ja as SandboxEnvRecoveryView, Ji as SendSessionMessageRequest, Jn as DownloadProgress, Jr as ManagedProcessRecord, Jt as SandboxFleetTraceExport, K as GitCommit, Ki as PublicProfileConflict, Kn as DeleteOptions, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, L as Process, La as WorkspaceImagePublishResult, Li as CompletedTurnResult, Ln as NetworkManager, Lr as GpuLeaseManager, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Mi as SandboxTraceOptions, Mn as SandboxResourceUsage, Mr as GpuLease, Mt as SandboxFleetIntelligenceEnvelope, N as WaitForOptions, Na as GpuLeaseProviderState, Ni as TokenUsage, Nn as SandboxRuntimeCapabilities, Nr as GpuLeaseBilling, Nt as SandboxFleetMachine, O as ProvisionStep, Oa as RolloutStatus, Oi as SandboxIntelligenceEnvelope, On as SandboxShapesInfo, Oo as parseBackendType, Or as DockerDriverConfig, Ot as SandboxFleetDispatchResponse, P as DevServerInfo, Pa as GpuLeaseProviderStatus, Pi as TurnBackendConfig, Pn as StorageConfig, Pr as GpuLeaseCommandResult, Pt as SandboxFleetMachineMeteredUsage, Q as AttachSandboxFleetMachineOptions, Qa as RawEvidenceBoxArchiveManifest, Qi as SessionExecutionInfo, Qn as FileReadBatchResult, Qr as BranchOptions, Qt as SandboxFleetWorkspaceReconcileResult, R as ProcessLogEntry, Ra as ProcessInfo, Ri as ConversationTurnOptions, Rn as SandboxEgressUsage, Rr as GpuLeaseProviders, Rt as SandboxFleetManifestMachine, S as StopOptions, Sa as McpServerConfig, Si as IntelligenceReportSubjectType, Sn as TeePublicKeyResponse, So as BatchTaskUsage, Sr as PublishPublicTemplateOptions, St as SandboxFleetAgent, Ta as SecretInfo, Ti as PromptOptions, Tn as CreateSandboxOptions, To as EffectiveBackend, Tr as AcceleratorKind, Tt as SandboxFleetArtifactSpec, U as PreviewLinkManager, Ui as DispatchedSession, Un as GitConfig, Ut as SandboxFleetProfileRef, V as ProcessSpawnOptions, Va as SessionStatus, Vi as CreateTaskSessionOptions, Vn as MAX_EGRESS_DENIALS_LIMIT, Vr as HostAgentRuntimeBackend, Vt as SandboxFleetPlacement, W as PreviewLinkWaitOptions, Wi as DriveTurnOptions, Wn as ChunkedUploadOptions, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xa as RawEvidenceArchiveManifest, Xi as SessionBackendCredentials, Xn as FileInfo, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Ya as NativeStoreHomeCopy, Yi as SentSessionMessage, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Za as RawEvidenceArchiveManifestNative, Zi as SessionEventStreamOptions, Zn as FileReadBatchOptions, Zt as SandboxFleetWorkspace, _ as SnapshotInfo, _a as BackendInfo, _n as StartupOperation, _o as PublicBatchRunRequestInput, _r as SearchMatch, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, aa as SessionMessage, ai as WaitForRolloutOptions, an as SandboxInfo, ao as RawEvidenceRecordsFile, ar as FileTreeResult, at as FleetAgentRunStatus, b as SnapshotRemoteSync, ba as BackendRuntimeConfigUpdate, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bo as BatchEventDataMap, br as PublicTemplateInfo, bt as ReconcileSandboxFleetsOptions, c as SandboxDeleteOptions, ca as SessionResultOptions, cn as SandboxRunGeneration, cr as FileWriteResult, ct as FleetDispatchResultBufferOptions, d as SandboxOperationKind, da as TaskSessionFileChange, dn as SandboxTerminalCreateOptions, do as declaredSecretBaseToken, dr as RenameOptions, ea as SessionFailureReason, ei as ForkIdempotency, en as SandboxFleetWorkspaceSnapshotResult, eo as RawEvidenceBoxExportOptions, er as FileReadResult, f as SandboxOperationState, fa as TaskSessionInfo, fi as CreateIntelligenceReportOptions, fn as SandboxTerminalInfo, fo as parseDeclaredSecretsEnv, fr as UploadOptions, ft as FleetMachineId, g as SnapshotIdempotency, ga as BackendConfig, gi as DurablePlanFollowUpResume, gn as StartupDiagnostics, gr as WriteManyOptions, gt as FleetRunOptions, h as SnapshotDeleteOutcome, ha as BackendCapabilities, hi as DurablePlanDecisionResult, hn as SandboxTerminals, ho as BatchTaskInput, hr as WriteManyFile, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, ia as SessionListOptions, ii as RolloutStartResult, in as SandboxConnection, io as RawEvidencePayloadFile, ir as FileTreeOptions, it as FleetAgentResult, j as SubscriptionInfo, ja as GPU_LEASE_PROVIDER_NAMES, ji as SandboxTraceExport, jn as SandboxShapePreset, jr as DriverType, jt as SandboxFleetInfo, ka as RolloutTurnPart, ki as SandboxTraceBundle, kn as SandboxStatus, kr as DriverConfig, kt as SandboxFleetDriverCapability, l as SandboxDeleteOutcome, la as TaskSessionChanges, ln as SandboxRuntimeHealth, lo as DECLARED_SECRET_HOSTS_ENV_VAR, lr as ListOptions, lt as FleetDispatchStreamOptions, m as SnapshotDeleteAcknowledgement, ma as TurnDriveResult, mi as DurablePlanDecisionOptions, mn as SandboxTerminalRequestOptions, mo as BatchTaskResult, mr as WriteFileOptions, mt as FleetPromptDispatchResult, n as DeleteMatchingSandboxResult, na as SessionInfo, ni as Rollout, nn as SSHCommandDescriptor, no as RawEvidenceExportOptions, nr as FileSystem, nt as FleetAgentId, oa as SessionMessageAdmission, oi as BatchBackend, on as SandboxPortBinding, or as FileUsageOptions, ot as FleetDispatchCancelResult, p as SandboxRemovalState, pa as TaskSessionProfile, pi as DurablePlan, pn as SandboxTerminalManager, po as BatchResult, pr as UploadProgress, pt as FleetPromptDispatchOptions, q as GitDiff, qa as SandboxEnvRecovery, qi as SendSessionMessageOptions, qn as DownloadOptions, qr as ManagedProcessState, qt as SandboxFleetTraceEvent, r as DeleteMatchingSandboxesFilter, ra as SessionInterruptOptions, ri as RolloutOptions, rn as SSHCredentials, ro as RawEvidenceNativeFile, rr as FileTreeFile, rt as FleetAgentPlacement, s as SandboxDeleteAcknowledgement, sa as SessionMessageInputPart, si as BatchRunOptions, sn as SandboxPortPreviewLink, so as baseProxyToken, sr as FileUsageResult, st as FleetDispatchResultBuffer, t as DeleteMatchingSandboxOutcome, ta as SessionForkOptions, ti as ForkLookupOptions, tn as ListSandboxOptions, to as RawEvidenceDirectoryExport, tr as FileRenameResult, tt as CreateSandboxFleetWithCoordinatorOptions, u as SandboxOperationInfo, ua as TaskSessionCommitResult, un as SandboxTerminalAttachOptions, uo as assertDeclaredSecretsHeld, ur as MkdirOptions, ut as FleetExecDispatchOptions, v as SnapshotOptions, va as BackendManager, vi as EventStreamOptions, vn as TeeAttestationOptions, vo as BatchBackendStats, vr as SearchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wo as BackendType, wr as SandboxEnvironment, wt as SandboxFleetArtifact, x as SnapshotResult, xa as BackendStatus, xi as IntelligenceReportCompareTo, xn as TeePublicKey, xo as BatchSidecarGroup, xr as PublicTemplateVersionInfo, xt as ReconcileSandboxFleetsResult, ya as BackendMcpServerStatus, yi as IntelligenceReport, yn as TeeAttestationReport, yo as BatchEvent, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, z as ProcessManager, za as ProcessListOptions, zi as ConversationTurnResult, zn as EgressPolicy, zr as GpuLeaseProvidersOptions, zt as SandboxFleetOperationsSummary } from "./types-CCRfg8oS.js";
|
|
4
4
|
import { A as LineRespondAgent, B as LineVoiceOptions, C as LineMessage, D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, L as LineThread, M as LineRole, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, R as LineTransport, S as LineMemberSpec, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, c as LineAllowanceSubject, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, j as LineRespondView, k as LineReplyGate, l as LineApplicationAttachOptions, m as LineFromConnectionInput, n as SandboxLines, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, s as LineAllowance, t as LinesClient, u as LineAttachOptions, v as LineLimits, w as LineNumberInventory, x as LineMemberPatch, y as LineMember, z as LineVoice } from "./lines-BbOFiDng.js";
|
|
5
5
|
import { _ as InteractiveSessionStatus, a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as interactiveSessionIdentityDigest, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as InteractiveSessionNotRunningError, m as InteractiveControlClaimOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimAcknowledgement, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as createInteractiveControlHolderId } from "./browser-interactive-control-controller-CxQBcgj3.js";
|
|
6
6
|
import { a as InteractiveSessionControllerOptions, i as InteractiveSessionController, n as BrowserInteractiveSessionControllerOptions, o as InteractiveSessionControllerTransport, r as InteractiveAttachRequest, t as BrowserInteractiveSessionController } from "./interactive-controller-NB7OwefY.js";
|
|
7
|
-
import { $ as ImageBuildClient, $t as IntelligenceClient, A as buildTangleRouterResponsesWebSearchRequest, At as CreateConfidentialSandboxOptions, B as MANAGE_SANDBOXES_TOOL_NAME, Bt as TeeAttestationHeartbeatSample, C as RunTangleRouterEvalMatrixInSandboxOptions, Ct as InstanceRestartingError, D as RouterSearchConfigOptions, Dt as sandboxFailureKind, E as RouterSearchConfig, Et as SandboxFailureKind, F as SANDBOX_SIZE_PRESETS, Ft as validateBatchRunRequest, G as manageSandboxesInputSchema, Gt as ParseSSEStreamOptions, H as ManageSandboxesTool, Ht as BuildProgressEvent, I as resolveSandboxResources, It as normalizeRuntimeBackendConfig, J as collectAgentFinalMessageText, Jt as CreateTeamOptions, K as downloadFile, Kt as ParsedSSEEvent, L as sandboxResourcesForSize, Lt as requestedPublicProfileDigest, M as buildTangleRouterSearchProfile, Mt as generateAttestationNonce, N as fetchTangleRouterSearchConfig, Nt as BatchResultAccumulator, O as TangleSearchProvider, Ot as ConfidentialSandboxResult, P as DEFAULT_SANDBOX_SIZE, Pt as createBatchResultAccumulator, Q as Image, Qt as TeamMember, R as materializeProfileFileMounts, Rt as TeeAttestationHeartbeat, S as RouterImportedRunResponse, St as InstanceRecord, T as runTangleRouterEvalMatrixInSandbox, Tt as InstancesClient, U as ManageSandboxesToolOptions, Ut as ImageSpec, V as ManageSandboxesInput, Vt as startTeeAttestationHeartbeat, W as createManageSandboxesTool, Wt as DEFAULT_MAX_EXECUTION_TTL_MS, X as getSandboxEventText, Xt as Team, Y as collectAgentResponseText, Yt as InviteTeamMemberOptions, Z as isToolBearingEvent, Zt as TeamInvitation, _ as RouterEvalMatrixPayload, _t as gatewaySeatTransport, a as SessionBroadcastEvent, an as backendRegistryEntrySchema, at as generateDockerfile, b as RouterEvalMatrixScenario, bt as HostedInstance, c as RunPlacement, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, d as RunWaitOptions, dt as SeatOwnerReply, en as BackendRegistryCapabilities, et as ImageBuildClientConfig, f as RunsClient, ft as SeatOwnerTransport, g as RouterEvalMatrixHarness, gt as createSelectSeat, h as RouterEvalMatrixCaseResult, ht as SeatSelectionRequest, i as terminalUpgradeHeadersSupported, in as backendRegistryCapabilitiesSchema, it as ImageBuilder, j as buildTangleRouterSearchBackend, jt as createConfidentialSandbox, k as buildTangleRouterEvalMatrixRequest, kt as ConfidentialTeeType, l as RunPlacementRecord, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, m as RouterEvalMatrixAgentProfile, mt as SeatSelectionError, n as SandboxFleetClient, nn as BackendRegistryInteractionKind, nt as ImageBuildOptions, o as SessionBroadcastResult, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, p as RunsHttpClient, pt as SeatResolutionObservation, q as applySandboxEventText, qt as parseSSEStream, r as SandboxFleet, rn as BackendRegistryResponse, rt as ImageBuildResult, s as RunOptions, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, tt as ImageBuildFetchClient, u as RunRecord, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, v as RouterEvalMatrixSandboxBox, vt as ManagedProcessClient, w as RunTangleRouterEvalMatrixInSandboxResult, wt as InstanceStart, x as RouterEvalMatrixSuiteResponse, xt as InstanceProfile, y as RouterEvalMatrixSandboxClient, yt as EnsureInstanceOptions, z as MANAGE_SANDBOXES_PARAMETERS, zt as TeeAttestationHeartbeatOptions } from "./client-
|
|
7
|
+
import { $ as ImageBuildClient, $t as IntelligenceClient, A as buildTangleRouterResponsesWebSearchRequest, At as CreateConfidentialSandboxOptions, B as MANAGE_SANDBOXES_TOOL_NAME, Bt as TeeAttestationHeartbeatSample, C as RunTangleRouterEvalMatrixInSandboxOptions, Ct as InstanceRestartingError, D as RouterSearchConfigOptions, Dt as sandboxFailureKind, E as RouterSearchConfig, Et as SandboxFailureKind, F as SANDBOX_SIZE_PRESETS, Ft as validateBatchRunRequest, G as manageSandboxesInputSchema, Gt as ParseSSEStreamOptions, H as ManageSandboxesTool, Ht as BuildProgressEvent, I as resolveSandboxResources, It as normalizeRuntimeBackendConfig, J as collectAgentFinalMessageText, Jt as CreateTeamOptions, K as downloadFile, Kt as ParsedSSEEvent, L as sandboxResourcesForSize, Lt as requestedPublicProfileDigest, M as buildTangleRouterSearchProfile, Mt as generateAttestationNonce, N as fetchTangleRouterSearchConfig, Nt as BatchResultAccumulator, O as TangleSearchProvider, Ot as ConfidentialSandboxResult, P as DEFAULT_SANDBOX_SIZE, Pt as createBatchResultAccumulator, Q as Image, Qt as TeamMember, R as materializeProfileFileMounts, Rt as TeeAttestationHeartbeat, S as RouterImportedRunResponse, St as InstanceRecord, T as runTangleRouterEvalMatrixInSandbox, Tt as InstancesClient, U as ManageSandboxesToolOptions, Ut as ImageSpec, V as ManageSandboxesInput, Vt as startTeeAttestationHeartbeat, W as createManageSandboxesTool, Wt as DEFAULT_MAX_EXECUTION_TTL_MS, X as getSandboxEventText, Xt as Team, Y as collectAgentResponseText, Yt as InviteTeamMemberOptions, Z as isToolBearingEvent, Zt as TeamInvitation, _ as RouterEvalMatrixPayload, _t as gatewaySeatTransport, a as SessionBroadcastEvent, an as backendRegistryEntrySchema, at as generateDockerfile, b as RouterEvalMatrixScenario, bt as HostedInstance, c as RunPlacement, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, d as RunWaitOptions, dt as SeatOwnerReply, en as BackendRegistryCapabilities, et as ImageBuildClientConfig, f as RunsClient, ft as SeatOwnerTransport, g as RouterEvalMatrixHarness, gt as createSelectSeat, h as RouterEvalMatrixCaseResult, ht as SeatSelectionRequest, i as terminalUpgradeHeadersSupported, in as backendRegistryCapabilitiesSchema, it as ImageBuilder, j as buildTangleRouterSearchBackend, jt as createConfidentialSandbox, k as buildTangleRouterEvalMatrixRequest, kt as ConfidentialTeeType, l as RunPlacementRecord, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, m as RouterEvalMatrixAgentProfile, mt as SeatSelectionError, n as SandboxFleetClient, nn as BackendRegistryInteractionKind, nt as ImageBuildOptions, o as SessionBroadcastResult, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, p as RunsHttpClient, pt as SeatResolutionObservation, q as applySandboxEventText, qt as parseSSEStream, r as SandboxFleet, rn as BackendRegistryResponse, rt as ImageBuildResult, s as RunOptions, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, tt as ImageBuildFetchClient, u as RunRecord, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, v as RouterEvalMatrixSandboxBox, vt as ManagedProcessClient, w as RunTangleRouterEvalMatrixInSandboxResult, wt as InstanceStart, x as RouterEvalMatrixSuiteResponse, xt as InstanceProfile, y as RouterEvalMatrixSandboxClient, yt as EnsureInstanceOptions, z as MANAGE_SANDBOXES_PARAMETERS, zt as TeeAttestationHeartbeatOptions } from "./client-iWASK-8n.js";
|
|
8
8
|
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-BGpRnTPY.js";
|
|
9
9
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-Dslyq85a.js";
|
|
10
10
|
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-Dqcr9p97.js";
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { A as normalizeRuntimeBackendConfig, B as TERMINAL_WS_ECHO_SUBPROTOCOL, G as parseBackendType, H as backendTypeSchema, I as createAgentRunOutcomeTracker, L as deriveAgentResultOutcome, R as deriveAgentRunOutcome, U as isolationPrincipalSchema, V as ALL_BACKEND_TYPES, i as terminalUpgradeHeadersSupported, j as requestedPublicProfileDigest, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as projectAgentTerminalRecord } from "./interactive-controller-C3DDPykv.js";
|
|
2
2
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, k as agentInteractiveSessionPromptRequestDigest, l as createInteractiveControlHolderId, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-BYbNLahH.js";
|
|
3
3
|
import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-C1KpT-wS.js";
|
|
4
|
-
import { C as SandboxOperationFailedError, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, S as SandboxOperation, T as splitInlineProfileFileMounts, _ as collectAgentFinalMessageText, a as buildTraceExportPayload, b as isToolBearingEvent, c as toOtelJson, f as InteractiveSessionHandle, g as applySandboxEventText, h as createInteractiveTerminalSession, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as collectAgentResponseText, w as materializeProfileFileMounts, x as ManagedProcessClient, y as getSandboxEventText } from "./sandbox-
|
|
4
|
+
import { C as SandboxOperationFailedError, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, S as SandboxOperation, T as splitInlineProfileFileMounts, _ as collectAgentFinalMessageText, a as buildTraceExportPayload, b as isToolBearingEvent, c as toOtelJson, f as InteractiveSessionHandle, g as applySandboxEventText, h as createInteractiveTerminalSession, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as collectAgentResponseText, w as materializeProfileFileMounts, x as ManagedProcessClient, y as getSandboxEventText } from "./sandbox-DL_OgJqW.js";
|
|
5
5
|
import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, b as ResumeEnvRequiredError, c as CompliancePlacementError, d as FileWriteConflictError, f as GpuProviderNotConfiguredError, g as NotFoundError, h as NetworkError, l as EdgeNotReadyError, n as parseErrorResponse, o as BranchFanoutExceedsHostError, p as KeyBudgetExhaustedError, s as CapabilityError, t as TerminalStreamError, u as EgressProxyRecoveryError, v as ProfileFileMountPathError, w as StreamInterruptedError, x as SandboxError, y as QuotaError } from "./errors-BUzH7U1D.js";
|
|
6
|
-
import { _ as createBatchResultAccumulator, a as InstancesClient, c as runtimeWorkspaceCwdSchema, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, g as IntelligenceClient, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, n as RunsClient, o as SandboxFleetClient, p as isBackendRegistryInteractionKind, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryEntrySchema, v as validateBatchRunRequest } from "./client-
|
|
6
|
+
import { _ as createBatchResultAccumulator, a as InstancesClient, c as runtimeWorkspaceCwdSchema, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, g as IntelligenceClient, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, n as RunsClient, o as SandboxFleetClient, p as isBackendRegistryInteractionKind, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryEntrySchema, v as validateBatchRunRequest } from "./client-mgyLoJaL.js";
|
|
7
7
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-DIIJHGQY.js";
|
|
8
8
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
9
9
|
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-2fj8i5qd.js";
|
|
10
10
|
import { t as downloadFile } from "./file-download-Bo3IypMO.js";
|
|
11
11
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
12
|
-
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-
|
|
13
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
12
|
+
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-CzxN5uuO.js";
|
|
13
|
+
import { s as TangleSandboxClient } from "./tangle-CXaHOM45.js";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
//#region ../../../packages/runtime-contracts/dist/model-key-proxy.js
|
|
16
16
|
const MANAGED_MODEL_KEY_SENTINEL = "proxy-managed-per-request";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as runPreparedEvidence } from "../prepared-evidence-
|
|
1
|
+
import { t as runPreparedEvidence } from "../prepared-evidence-CrTBMhm9.js";
|
|
2
2
|
export { runPreparedEvidence };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as withPreparedProcessCalls, t as runPreparedProcess } from "../prepared-process-
|
|
1
|
+
import { n as withPreparedProcessCalls, t as runPreparedProcess } from "../prepared-process-BD5LvT7P.js";
|
|
2
2
|
export { runPreparedProcess, withPreparedProcessCalls };
|
|
@@ -36,7 +36,9 @@ async function runPreparedEvidence(request, signal, timeoutMs = 15 * 6e4, { rece
|
|
|
36
36
|
try {
|
|
37
37
|
let response = await request(signal);
|
|
38
38
|
const deadline = Date.now() + timeoutMs;
|
|
39
|
+
let waitMs = 25;
|
|
39
40
|
while (response.status === 202) {
|
|
41
|
+
waitMs = Math.min(waitMs * 2, 1e3);
|
|
40
42
|
const retryAfterMs = respectRetryAfter ? parseSandboxRetryAfterHeader(response.headers.get("retry-after")) : void 0;
|
|
41
43
|
archiveId = await receipt(response, receiptIdField);
|
|
42
44
|
signal?.throwIfAborted();
|
|
@@ -49,7 +51,7 @@ async function runPreparedEvidence(request, signal, timeoutMs = 15 * 6e4, { rece
|
|
|
49
51
|
const timer = setTimeout(() => {
|
|
50
52
|
signal?.removeEventListener("abort", abort);
|
|
51
53
|
resolve();
|
|
52
|
-
}, Math.min(Math.max(
|
|
54
|
+
}, Math.min(Math.max(waitMs, retryAfterMs ?? 0), deadline - Date.now()));
|
|
53
55
|
signal?.addEventListener("abort", abort, { once: true });
|
|
54
56
|
if (signal?.aborted) abort();
|
|
55
57
|
});
|
|
@@ -10,9 +10,12 @@ function processRequests(request, deadline, signal) {
|
|
|
10
10
|
};
|
|
11
11
|
const ask = (target, options, ceiling = 3e4) => {
|
|
12
12
|
const left = remaining(ceiling);
|
|
13
|
+
const hold = options.method === "POST" ? 2e3 : 1e4;
|
|
14
|
+
const wait = Math.min(hold, left - 1e3);
|
|
15
|
+
const tail = options.method === "DELETE" || wait < 1 ? "" : `&wait=${wait}`;
|
|
13
16
|
const timeoutSignal = Number.isFinite(left) ? AbortSignal.timeout(left) : void 0;
|
|
14
17
|
const requestSignal = signal && timeoutSignal ? AbortSignal.any([signal, timeoutSignal]) : signal ?? timeoutSignal;
|
|
15
|
-
return request(target, {
|
|
18
|
+
return request(target + tail, {
|
|
16
19
|
...options,
|
|
17
20
|
...requestSignal ? { signal: requestSignal } : {}
|
|
18
21
|
}, Number.isFinite(left) ? left : 0);
|
|
@@ -59,7 +62,7 @@ async function pollPreparedProcess(transport, target, pid, headers, read) {
|
|
|
59
62
|
if (response.status !== 202) return response;
|
|
60
63
|
const pending = await read(response);
|
|
61
64
|
if (pending.state !== "running" || pending.pid !== pid) throw new Error("Malformed process result receipt");
|
|
62
|
-
await transport.pause(pollDelayMs(poll));
|
|
65
|
+
if (response.headers?.get?.("process-result") !== "pending") await transport.pause(pollDelayMs(poll));
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
68
|
function pollDelayMs(poll) {
|
|
@@ -67,37 +70,52 @@ function pollDelayMs(poll) {
|
|
|
67
70
|
}
|
|
68
71
|
/** One prepare/PID/result transport for SDK, Worker adapters and Node probes. */
|
|
69
72
|
async function runPreparedProcess(request, path, init, timeoutMs = 75e3, read = (response) => response.clone().json()) {
|
|
70
|
-
const
|
|
73
|
+
const deadline = timeoutMs === 0 ? Number.POSITIVE_INFINITY : performance.now() + timeoutMs;
|
|
74
|
+
const transport = processRequests(request, deadline, init.signal);
|
|
71
75
|
const resultBase = path.split("?")[0].replace(/\/spawn$/, "");
|
|
76
|
+
const cancelHeaders = new Headers(init.headers);
|
|
77
|
+
cancelHeaders.set("Content-Type", "application/json");
|
|
78
|
+
const cancel = async (pid) => {
|
|
79
|
+
if (!Number.isSafeInteger(pid) || pid <= 0) return;
|
|
80
|
+
const cleanup = processRequests(request, performance.now() + 5e3);
|
|
81
|
+
try {
|
|
82
|
+
await (await cleanup.ask(`${resultBase}/${pid}`, {
|
|
83
|
+
method: "DELETE",
|
|
84
|
+
headers: cancelHeaders,
|
|
85
|
+
body: JSON.stringify({
|
|
86
|
+
signal: "SIGKILL",
|
|
87
|
+
tree: true
|
|
88
|
+
})
|
|
89
|
+
})).body?.cancel?.();
|
|
90
|
+
await (await pollPreparedProcess(cleanup, `${resultBase}/${pid}?result=1`, pid, init.headers, read)).body?.cancel?.();
|
|
91
|
+
} catch {}
|
|
92
|
+
};
|
|
93
|
+
init.signal?.throwIfAborted();
|
|
94
|
+
const admitted = processRequests(request, deadline).ask(`${path}${path.includes("?") ? "&" : "?"}async=1`, init);
|
|
72
95
|
let pid;
|
|
73
96
|
try {
|
|
74
|
-
const response = await
|
|
97
|
+
const response = await abortable(admitted, init.signal);
|
|
75
98
|
if (response.status < 200 || response.status >= 300) return response;
|
|
99
|
+
if (response.headers?.get?.("process-result") === "complete") return response;
|
|
76
100
|
pid = (await read(response)).data?.pid;
|
|
77
101
|
if (!Number.isSafeInteger(pid) || pid <= 0) throw new Error("Malformed process admission");
|
|
78
102
|
return await pollPreparedProcess(transport, `${resultBase}/${pid}?result=1`, pid, init.headers, read);
|
|
79
103
|
} catch (error) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
if (pid) {
|
|
83
|
-
const cleanup = processRequests(request, performance.now() + 5e3);
|
|
84
|
-
try {
|
|
85
|
-
await (await cleanup.ask(`${resultBase}/${pid}`, {
|
|
86
|
-
method: "DELETE",
|
|
87
|
-
headers: cancelHeaders,
|
|
88
|
-
body: JSON.stringify({
|
|
89
|
-
signal: "SIGKILL",
|
|
90
|
-
tree: true
|
|
91
|
-
})
|
|
92
|
-
})).body?.cancel?.();
|
|
93
|
-
const settled = await pollPreparedProcess(cleanup, `${resultBase}/${pid}?result=1`, pid, init.headers, read);
|
|
94
|
-
if (settled.status !== 200 && settled.status !== 408) throw new Error("Process cancellation settlement unknown");
|
|
95
|
-
await settled.body?.cancel?.();
|
|
96
|
-
} catch {}
|
|
97
|
-
}
|
|
104
|
+
if (pid) await cancel(pid);
|
|
105
|
+
else admitted.then(read).then((body) => cancel(body?.data?.pid), cancel);
|
|
98
106
|
throw error;
|
|
99
107
|
}
|
|
100
108
|
}
|
|
109
|
+
/** `promise`, or the caller's abort reason as soon as the caller aborts. */
|
|
110
|
+
function abortable(promise, signal) {
|
|
111
|
+
if (!signal) return promise;
|
|
112
|
+
let abort;
|
|
113
|
+
const aborted = new Promise((_, reject) => {
|
|
114
|
+
abort = () => reject(signal.reason);
|
|
115
|
+
signal.addEventListener("abort", abort, { once: true });
|
|
116
|
+
});
|
|
117
|
+
return Promise.race([promise, aborted]).finally(() => signal.removeEventListener("abort", abort));
|
|
118
|
+
}
|
|
101
119
|
/** Adapt existing parsed-JSON probe calls without changing their result schema. */
|
|
102
120
|
function withPreparedProcessCalls(call) {
|
|
103
121
|
return async (path, init = {}, timeoutMs = 75e3, ...rest) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as SandboxInstance } from "./index-
|
|
1
|
+
import { O as SandboxInstance } from "./index-DTQyjN7Y.js";
|
|
2
2
|
import { F as EnsureDevServerOptions, H as PreviewLinkInfo } from "./types-CCRfg8oS.js";
|
|
3
|
-
import { t as Sandbox } from "./client-
|
|
3
|
+
import { t as Sandbox } from "./client-iWASK-8n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as verifyDownload } from "./file-download-Bo3IypMO.js";
|
|
2
|
-
import { t as runPreparedEvidence } from "./prepared-evidence-
|
|
2
|
+
import { t as runPreparedEvidence } from "./prepared-evidence-CrTBMhm9.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/lib/raw-evidence-archive.ts
|
|
5
5
|
const digest = z.string().regex(/^sha256:[a-f0-9]{64}$/).transform((value) => `sha256:${value.slice(7)}`);
|
|
@@ -10,7 +10,7 @@ import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-BbS
|
|
|
10
10
|
import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-5DpLmHeN.js";
|
|
11
11
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
12
12
|
import { s as uploadChunked } from "./chunked-upload-NjdTMC2n.js";
|
|
13
|
-
import { t as runPreparedProcess } from "./prepared-process-
|
|
13
|
+
import { t as runPreparedProcess } from "./prepared-process-BD5LvT7P.js";
|
|
14
14
|
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CwJjUmvo-3J2DDPxW.js";
|
|
15
15
|
import "./cli-auth-bundle-Op0k_zIX.js";
|
|
16
16
|
import { n as SandboxLines } from "./lines-2fj8i5qd.js";
|
|
@@ -877,6 +877,17 @@ function parseStopPhase(data) {
|
|
|
877
877
|
...suspendedAt && !Number.isNaN(suspendedAt.getTime()) ? { suspendedAt } : {}
|
|
878
878
|
};
|
|
879
879
|
}
|
|
880
|
+
/** An API body timestamp as a Date; absent stays undefined. */
|
|
881
|
+
const dateOf = (value) => value ? new Date(value) : void 0;
|
|
882
|
+
/** The API sandbox body's lifecycle timestamps and stop phase. */
|
|
883
|
+
function parseLifecycleTimes(data) {
|
|
884
|
+
return {
|
|
885
|
+
startedAt: dateOf(data.startedAt),
|
|
886
|
+
lastActivityAt: dateOf(data.lastActivityAt),
|
|
887
|
+
...parseStopPhase(data),
|
|
888
|
+
expiresAt: dateOf(data.expiresAt)
|
|
889
|
+
};
|
|
890
|
+
}
|
|
880
891
|
//#endregion
|
|
881
892
|
//#region src/sandbox-info.ts
|
|
882
893
|
var SandboxInfoCapabilities = class {
|
|
@@ -1197,11 +1208,8 @@ var SandboxInfoCapabilities = class {
|
|
|
1197
1208
|
connection,
|
|
1198
1209
|
metadata: data.metadata,
|
|
1199
1210
|
captureProof: normalizeCaptureProof(data.captureProof) ?? void 0,
|
|
1200
|
-
createdAt:
|
|
1201
|
-
|
|
1202
|
-
lastActivityAt: data.lastActivityAt ? new Date(data.lastActivityAt) : void 0,
|
|
1203
|
-
...parseStopPhase(data),
|
|
1204
|
-
expiresAt: data.expiresAt ? new Date(data.expiresAt) : void 0,
|
|
1211
|
+
createdAt: dateOf(data.createdAt) ?? local.info.createdAt,
|
|
1212
|
+
...parseLifecycleTimes(data),
|
|
1205
1213
|
error: data.error,
|
|
1206
1214
|
gpuLease: data.gpuLease ?? carryCreateFacts?.gpuLease,
|
|
1207
1215
|
resources: normalizeSandboxShape(data.resources) ?? (id === this.id ? local.info.resources : void 0),
|
|
@@ -7448,6 +7456,17 @@ var SandboxProfileCapabilities = class extends SandboxFileWriteCapabilities {
|
|
|
7448
7456
|
noChanges: !effectiveChanged && desiredKeys.size === 0
|
|
7449
7457
|
};
|
|
7450
7458
|
}
|
|
7459
|
+
/** Prime an oversized unreferenced profile, then POST a revision prepare. */
|
|
7460
|
+
async postProfileRevision(profile, endpoint, body) {
|
|
7461
|
+
if (profile && (!state(this).sessionProfileReferencesSupported || !state(this).profileReferences?.has(profileCacheSha256(profile))) && new TextEncoder().encode(body).length > 1048576) await this.primeProfile(profile, { preserveManagedProfile: true });
|
|
7462
|
+
const response = await this.runtimeFetch(endpoint, {
|
|
7463
|
+
method: "POST",
|
|
7464
|
+
headers: { "Content-Type": "application/json" },
|
|
7465
|
+
body
|
|
7466
|
+
});
|
|
7467
|
+
if (!response.ok) throw await parseResponseError(response);
|
|
7468
|
+
return await response.json();
|
|
7469
|
+
}
|
|
7451
7470
|
/**
|
|
7452
7471
|
* Ask the initialized provider to prepare this turn's public native profile
|
|
7453
7472
|
* before admission. Pass both returned expected digests to driveConversationTurn.
|
|
@@ -7467,14 +7486,7 @@ var SandboxProfileCapabilities = class extends SandboxFileWriteCapabilities {
|
|
|
7467
7486
|
backend: wire.backend,
|
|
7468
7487
|
expectedPublicProfileRequestDigest
|
|
7469
7488
|
});
|
|
7470
|
-
|
|
7471
|
-
const response = await this.runtimeFetch(endpoint, {
|
|
7472
|
-
method: "POST",
|
|
7473
|
-
headers: { "Content-Type": "application/json" },
|
|
7474
|
-
body
|
|
7475
|
-
});
|
|
7476
|
-
if (!response.ok) throw await parseResponseError(response);
|
|
7477
|
-
const receipt = await response.json();
|
|
7489
|
+
const receipt = await this.postProfileRevision(backend.profile, endpoint, body);
|
|
7478
7490
|
const digest = /^sha256:[a-f0-9]{64}$/;
|
|
7479
7491
|
const conflicts = readPublicProfileConflicts(receipt.conflicts);
|
|
7480
7492
|
if (typeof receipt.workspacePlanDigest !== "string" || !digest.test(receipt.workspacePlanDigest) || typeof receipt.materializedDigest !== "string" || !digest.test(receipt.materializedDigest) || typeof receipt.launchDigest !== "string" || !/^[a-f0-9]{64}$/.test(receipt.launchDigest) || conflicts === void 0) throw new ServerError("Public profile preparation returned an invalid receipt", 502, {
|
|
@@ -7508,14 +7520,7 @@ var SandboxProfileCapabilities = class extends SandboxFileWriteCapabilities {
|
|
|
7508
7520
|
expectedPublicProfileRequestDigest,
|
|
7509
7521
|
secret: true
|
|
7510
7522
|
});
|
|
7511
|
-
|
|
7512
|
-
const response = await this.runtimeFetch(endpoint, {
|
|
7513
|
-
method: "POST",
|
|
7514
|
-
headers: { "Content-Type": "application/json" },
|
|
7515
|
-
body
|
|
7516
|
-
});
|
|
7517
|
-
if (!response.ok) throw await parseResponseError(response);
|
|
7518
|
-
const receipt = await response.json();
|
|
7523
|
+
const receipt = await this.postProfileRevision(backend.profile, endpoint, body);
|
|
7519
7524
|
if (typeof receipt.workspacePlanDigest !== "string" || !/^sha256:[a-f0-9]{64}$/.test(receipt.workspacePlanDigest) || typeof receipt.executorReceipt !== "string" || !/^hmac-sha256:[a-f0-9]{64}$/.test(receipt.executorReceipt) || !Array.isArray(receipt.conflicts) || !receipt.conflicts.every((conflict) => typeof conflict === "object" && conflict !== null && typeof conflict.relPath === "string" && typeof conflict.copyRelPath === "string" && (conflict.reason === "existing" || conflict.reason === "symlink"))) throw new ServerError("Secret profile preparation returned an invalid receipt", 502, {
|
|
7520
7525
|
origin: "runtime",
|
|
7521
7526
|
endpoint
|
|
@@ -8677,21 +8682,27 @@ var SandboxInteractiveCapabilities = class extends SandboxPromptCapabilities {
|
|
|
8677
8682
|
});
|
|
8678
8683
|
return acknowledgement;
|
|
8679
8684
|
}
|
|
8680
|
-
/**
|
|
8681
|
-
|
|
8682
|
-
|
|
8685
|
+
/** A control claim parsed and checked against this session and sandbox,
|
|
8686
|
+
* as the `{ ref, control }` body the runtime takes. */
|
|
8687
|
+
controlOf(id, ref, control, action) {
|
|
8683
8688
|
const exactRef = AgentInteractiveSessionRefSchema.parse(ref);
|
|
8684
8689
|
const exactControl = AgentInteractiveSessionControlClaimSchema.parse(control);
|
|
8685
|
-
if (exactRef.run.sessionId !== id) throw new ValidationError(
|
|
8690
|
+
if (exactRef.run.sessionId !== id) throw new ValidationError(`Interactive control ${action} does not belong to the session`);
|
|
8686
8691
|
assertInteractiveRefBelongsToSandbox(exactRef, state(this).interactiveEnvironmentId);
|
|
8687
|
-
if (!agentInteractiveSessionControlClaimMatchesRef(exactRef, exactControl)) throw new ValidationError(
|
|
8692
|
+
if (!agentInteractiveSessionControlClaimMatchesRef(exactRef, exactControl)) throw new ValidationError(`Interactive control ${action} does not match the session ref`);
|
|
8693
|
+
return {
|
|
8694
|
+
ref: exactRef,
|
|
8695
|
+
control: exactControl
|
|
8696
|
+
};
|
|
8697
|
+
}
|
|
8698
|
+
/** @internal — delegated to the native interactive operations module. */
|
|
8699
|
+
async _releaseInteractiveControl(id, ref, control, options) {
|
|
8700
|
+
options?.signal?.throwIfAborted();
|
|
8701
|
+
const claim = this.controlOf(id, ref, control, "release");
|
|
8688
8702
|
const endpoint = `/agents/sessions/${encodeURIComponent(id)}/interactive/control/release`;
|
|
8689
8703
|
const response = await this.runtimeFetch(endpoint, {
|
|
8690
8704
|
method: "POST",
|
|
8691
|
-
body: JSON.stringify(
|
|
8692
|
-
ref: exactRef,
|
|
8693
|
-
control: exactControl
|
|
8694
|
-
}),
|
|
8705
|
+
body: JSON.stringify(claim),
|
|
8695
8706
|
...options?.signal === void 0 ? {} : { signal: options.signal }
|
|
8696
8707
|
});
|
|
8697
8708
|
if (!interactiveSessionControlReleaseResponseSchema.safeParse(await readResponseJson(response)).success) throw new ServerError("Interactive control release response is invalid", 502, {
|
|
@@ -8702,20 +8713,13 @@ var SandboxInteractiveCapabilities = class extends SandboxPromptCapabilities {
|
|
|
8702
8713
|
/** @internal — delegated to the native interactive operations module. */
|
|
8703
8714
|
async _validateInteractiveControl(id, ref, control, options) {
|
|
8704
8715
|
options?.signal?.throwIfAborted();
|
|
8705
|
-
const
|
|
8706
|
-
const exactControl = AgentInteractiveSessionControlClaimSchema.parse(control);
|
|
8707
|
-
if (exactRef.run.sessionId !== id) throw new ValidationError("Interactive control validation does not belong to the session");
|
|
8708
|
-
assertInteractiveRefBelongsToSandbox(exactRef, state(this).interactiveEnvironmentId);
|
|
8709
|
-
if (!agentInteractiveSessionControlClaimMatchesRef(exactRef, exactControl)) throw new ValidationError("Interactive control validation does not match the session ref");
|
|
8716
|
+
const claim = this.controlOf(id, ref, control, "validation");
|
|
8710
8717
|
await this.ensureRunning(options?.signal);
|
|
8711
8718
|
options?.signal?.throwIfAborted();
|
|
8712
8719
|
const endpoint = `/agents/sessions/${encodeURIComponent(id)}/interactive/control/validate`;
|
|
8713
8720
|
const response = await this.runtimeFetch(endpoint, {
|
|
8714
8721
|
method: "POST",
|
|
8715
|
-
body: JSON.stringify(
|
|
8716
|
-
ref: exactRef,
|
|
8717
|
-
control: exactControl
|
|
8718
|
-
}),
|
|
8722
|
+
body: JSON.stringify(claim),
|
|
8719
8723
|
...options?.signal === void 0 ? {} : { signal: options.signal }
|
|
8720
8724
|
});
|
|
8721
8725
|
if (!interactiveSessionControlValidationResponseSchema.safeParse(await readResponseJson(response)).success) throw new ServerError("Interactive control validation response is invalid", 502, {
|
|
@@ -8822,7 +8826,7 @@ var SandboxInteractiveCapabilities = class extends SandboxPromptCapabilities {
|
|
|
8822
8826
|
var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabilities {
|
|
8823
8827
|
/** @internal — invoked before the sandbox is deleted. */
|
|
8824
8828
|
async _sessionExportRawEvidence(id, destination, options) {
|
|
8825
|
-
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-
|
|
8829
|
+
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-0S8tObzw.js");
|
|
8826
8830
|
await this.ensureRunning();
|
|
8827
8831
|
await this.refresh();
|
|
8828
8832
|
return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/sessions/${encodeURIComponent(id)}/raw-evidence/archive?${new URLSearchParams([
|
|
@@ -8853,7 +8857,7 @@ var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabil
|
|
|
8853
8857
|
* and the byte and file bounds are verified before the directory appears.
|
|
8854
8858
|
*/
|
|
8855
8859
|
async exportRawEvidence(destination, options) {
|
|
8856
|
-
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-
|
|
8860
|
+
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-0S8tObzw.js");
|
|
8857
8861
|
await this.ensureRunning();
|
|
8858
8862
|
await this.refresh();
|
|
8859
8863
|
return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/raw-evidence/archive?${new URLSearchParams({
|
|
@@ -11842,4 +11846,4 @@ var SandboxInstance = class SandboxInstance extends SandboxEgressCapabilities {
|
|
|
11842
11846
|
}
|
|
11843
11847
|
};
|
|
11844
11848
|
//#endregion
|
|
11845
|
-
export { normalizeSandboxCreateReceipt as A,
|
|
11849
|
+
export { normalizeSandboxCreateReceipt as A, DEFAULT_CREATE_TIMEOUT_MS as B, SandboxOperationFailedError as C, validateDeferredProfileFileMounts as D, splitInlineProfileSkills as E, normalizeEgressPolicyFields as F, generateIdempotencyKey as G, DEPLOY_WINDOW_RETRY_MS as H, normalizeProxySecretReceipt as I, isRateLimitCreateError as J, isCapacityShortageCreateError as K, normalizeSandboxShape as L, dateOf as M, parseLifecycleTimes as N, isRetryableProfileFileMaterializeFailure as O, normalizeConnection as P, CAPACITY_ETA_MARGIN_MS as R, SandboxOperation as S, splitInlineProfileFileMounts as T, createRetryDelayMs as U, DEFAULT_GPU_CREATE_TIMEOUT_MS as V, extendableDeadline as W, canonicalAgentProfileDigest as X, isRetryableCreateError as Y, collectAgentFinalMessageText as _, buildTraceExportPayload as a, isToolBearingEvent as b, toOtelJson as c, sandboxLedgerUsd as d, InteractiveSessionHandle as f, applySandboxEventText as g, createInteractiveTerminalSession as h, MAX_EGRESS_DENIALS_LIMIT as i, normalizeStartupDiagnostics as j, normalizeCaptureProof as k, SandboxTaskSession as l, createInteractiveTerminalCapture as m, createSandboxInstanceFromResponse as n, exportTraceBundle as o, InteractiveTerminalFrameLog as p, isDeployWindowCreateError as q, WorkspaceImages as r, otelTraceIdForTangleTrace as s, SandboxInstance as t, SandboxSession as u, collectAgentResponseText as v, materializeProfileFileMounts as w, ManagedProcessClient as x, getSandboxEventText as y, CAPACITY_ETA_WAIT_MAX_MS as z };
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_JOBS_CONTRACT, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as TANGLE_CHAIN_ID, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TangleSandboxClientConfig, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-
|
|
1
|
+
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_JOBS_CONTRACT, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as TANGLE_CHAIN_ID, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TangleSandboxClientConfig, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-DTQyjN7Y.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JobQuoteDetails, JsonResponseParamTypes, OperatorChallenge, OperatorSession, OperatorSessionError, OperatorSessionToken, QuoteDomain, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, SignMessage, SignedQuote, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-CXaHOM45.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
1
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-DL_OgJqW.js";
|
|
2
2
|
import { i as readResponseJson } from "./errors-BUzH7U1D.js";
|
|
3
3
|
import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-vaFoyyiO.js";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.164",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -154,14 +154,14 @@
|
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
156
|
"@products/sandbox-test-utils": "0.0.0",
|
|
157
|
-
"@repo/shared": "0.0.0",
|
|
158
157
|
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
159
158
|
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
|
-
"@tangle-network/runtime-contracts": "0.20.0"
|
|
159
|
+
"@tangle-network/runtime-contracts": "0.20.0",
|
|
160
|
+
"@repo/shared": "0.0.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-10-
|
|
163
|
+
"sourceSha": "74bf700b8b74c8f87d5adf3901a0028ce6b23c9e",
|
|
164
|
+
"mergedAt": "2026-10-31T20:07:34-06:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|