@tangle-network/sandbox 1.0.424 → 1.0.425
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +5 -5
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +1 -1
- package/dist/{agent-run-outcome-D-lxNAXy.d.ts → agent-run-outcome-CK0EAb4r.d.ts} +1 -1
- package/dist/{api-request-C-5K0vGI.js → api-request-KNV1jqcT.js} +2 -2
- package/dist/{browser-interactive-control-controller-4Whvbr-1.d.ts → browser-interactive-control-controller-COUctLZ8.d.ts} +1 -1
- package/dist/{browser-interactive-control-controller-lIGPhN1d.js → browser-interactive-control-controller-DLoubiPW.js} +1 -1
- package/dist/{chunked-upload-B3a7JG2m.js → chunked-upload-DuXDFxxJ.js} +1 -1
- package/dist/{chunked-upload-file-BmvRKCv1.js → chunked-upload-file-BNeuzLOo.js} +1 -1
- package/dist/{client-D6AttaC6.js → client-DCUieMvT.js} +35 -5
- package/dist/{client-NcdgrHfL.d.ts → client-DjYyhD5_.d.ts} +21 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-C5N6238z.js → collaboration-Ck6ZABGs.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{error-catalog-Cg0XFEtd.js → error-catalog-C8FDdk83.js} +1 -0
- package/dist/{errors-BJk4E5x7.js → errors-DNmfKxwE.js} +1 -1
- package/dist/{file-download-BZv9h3zc.js → file-download-I463VYUJ.js} +1 -1
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{index-B9M5GOY_.d.ts → index-B68BPokk.d.ts} +5 -5
- package/dist/index.d.ts +10 -10
- package/dist/index.js +11 -11
- package/dist/intelligence/index.js +3 -3
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-DMEjRnWD.d.ts → interactive-controller-DAPt9LNe.d.ts} +3 -3
- package/dist/{interactive-controller-ja9Zp2ko.js → interactive-controller-DK6Hs0VD.js} +4 -4
- package/dist/{lines-CzXtswdI.js → lines-DjZMcB7V.js} +1 -1
- package/dist/{lines-DuXKA12c.d.ts → lines-tXVYuxcS.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{mcp-local-DfRZSG10.js → mcp-local-B2_YBQaL.js} +2 -2
- package/dist/{preview-DV2hf-fJ.d.ts → preview-fUoK3vZl.d.ts} +3 -3
- package/dist/{public-templates-WlOykqRp.d.ts → public-templates-BQqwUuBI.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-DAhLHzK6.js → raw-evidence-archive-0GpUrTKO.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-BQBq7suQ.js → sandbox-Djh3VGp9.js} +21 -14
- package/dist/{select-seat-BiL-Hst3.js → select-seat-BbTGujaf.js} +1 -1
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +2 -2
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-D0a7ah0P.js → tangle-T8iEAqQN.js} +3 -3
- package/dist/{terminal-stream-types-BOsaBihS.d.ts → terminal-stream-types-08G0jrQV.d.ts} +1 -0
- package/dist/{types-sJfK_b40.d.ts → types-0z7Id2gz.d.ts} +26 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as requestedPublicProfileDigest, F as createAgentRunOutcomeTracker, G as parseBackendType, H as backendTypeSchema, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, U as isolationPrincipalSchema, V as ALL_BACKEND_TYPES, i as terminalUpgradeHeadersSupported, k as normalizeRuntimeBackendConfig, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as TERMINAL_WS_ECHO_SUBPROTOCOL } from "./interactive-controller-
|
|
1
|
+
import { A as requestedPublicProfileDigest, F as createAgentRunOutcomeTracker, G as parseBackendType, H as backendTypeSchema, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, U as isolationPrincipalSchema, V as ALL_BACKEND_TYPES, i as terminalUpgradeHeadersSupported, k as normalizeRuntimeBackendConfig, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as TERMINAL_WS_ECHO_SUBPROTOCOL } from "./interactive-controller-DK6Hs0VD.js";
|
|
2
2
|
import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-BuXg-MCu.js";
|
|
3
|
-
import { A as isMaterializerHarness, C as materializeProfileFileMounts, D as HARNESS_LAUNCH_MATERIALIZE_OPTIONS, E as validateDeferredProfileFileMounts, M as SandboxOperation, N as SandboxOperationFailedError, O as ProfileUnsupportedError, S as ManagedProcessClient, T as splitInlineProfileSkills, _ 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, j as materializeProfile, k as enforceWorkspacePlanSupport, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, tt as runtimeWorkspaceCwdSchema, u as SandboxSession, v as collectAgentResponseText, w as splitInlineProfileFileMounts, y as getSandboxEventText } from "./sandbox-
|
|
4
|
-
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-
|
|
5
|
-
import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, S as ResumeEnvRequiredError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, d as CompliancePlacementError, f as EdgeNotReadyError, g as KeyBudgetExhaustedError, h as GpuProviderNotConfiguredError, l as BranchFanoutExceedsHostError, m as FileWriteConflictError, o as responseMetadata, p as EgressProxyRecoveryError, r as parseErrorResponse, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-
|
|
6
|
-
import { _ as validateBatchRunRequest, a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, g as createBatchResultAccumulator, h as IntelligenceClient, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, n as RunsClient, o as SandboxFleetClient, p as parseBackendRegistryResponse, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-
|
|
7
|
-
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-
|
|
8
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-
|
|
3
|
+
import { A as isMaterializerHarness, C as materializeProfileFileMounts, D as HARNESS_LAUNCH_MATERIALIZE_OPTIONS, E as validateDeferredProfileFileMounts, M as SandboxOperation, N as SandboxOperationFailedError, O as ProfileUnsupportedError, S as ManagedProcessClient, T as splitInlineProfileSkills, _ 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, j as materializeProfile, k as enforceWorkspacePlanSupport, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, tt as runtimeWorkspaceCwdSchema, u as SandboxSession, v as collectAgentResponseText, w as splitInlineProfileFileMounts, y as getSandboxEventText } from "./sandbox-Djh3VGp9.js";
|
|
4
|
+
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-DLoubiPW.js";
|
|
5
|
+
import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, S as ResumeEnvRequiredError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, d as CompliancePlacementError, f as EdgeNotReadyError, g as KeyBudgetExhaustedError, h as GpuProviderNotConfiguredError, l as BranchFanoutExceedsHostError, m as FileWriteConflictError, o as responseMetadata, p as EgressProxyRecoveryError, r as parseErrorResponse, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-DNmfKxwE.js";
|
|
6
|
+
import { _ as validateBatchRunRequest, a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, g as createBatchResultAccumulator, h as IntelligenceClient, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, n as RunsClient, o as SandboxFleetClient, p as parseBackendRegistryResponse, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-DCUieMvT.js";
|
|
7
|
+
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-KNV1jqcT.js";
|
|
8
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-Ck6ZABGs.js";
|
|
9
9
|
import "./file-transfer-DOSTbUSR.js";
|
|
10
10
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
11
|
-
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-
|
|
12
|
-
import { t as downloadFile } from "./file-download-
|
|
11
|
+
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-DjZMcB7V.js";
|
|
12
|
+
import { t as downloadFile } from "./file-download-I463VYUJ.js";
|
|
13
13
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
14
14
|
import { a as parseLineApplicationResult, i as parseLineApplicationRequest, n as LINE_APPLICATION_REPLY_MAX_CHARS, o as sandboxFailureKind, r as LINE_APPLICATION_REQUEST_MAX_BYTES, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-CBWUEURz.js";
|
|
15
|
-
import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-
|
|
16
|
-
import { s as BlueprintSandboxClient } from "./tangle-
|
|
15
|
+
import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-BbTGujaf.js";
|
|
16
|
+
import { s as BlueprintSandboxClient } from "./tangle-T8iEAqQN.js";
|
|
17
17
|
import { z } from "zod";
|
|
18
18
|
//#region ../../../packages/runtime-contracts/dist/model-key-proxy.js
|
|
19
19
|
const MANAGED_MODEL_KEY_SENTINEL = "proxy-managed-per-request";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse, u as CapabilityError } from "../errors-
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
3
|
-
import { n as verifyDownload } from "../file-download-
|
|
1
|
+
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse, u as CapabilityError } from "../errors-DNmfKxwE.js";
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-KNV1jqcT.js";
|
|
3
|
+
import { n as verifyDownload } from "../file-download-I463VYUJ.js";
|
|
4
4
|
import { t as rawEvidenceArchiveAttemptSchema } from "../raw-evidence-export-Dog7W5zP.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/intelligence/run-session-capture.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, n as BrowserInteractiveSessionControlControllerOptions, r as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-
|
|
1
|
+
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, n as BrowserInteractiveSessionControlControllerOptions, r as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-COUctLZ8.js";
|
|
2
2
|
export { BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, type InteractiveSessionIdentity, InteractiveSessionNotRunningError, browserInteractiveControlHolderId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-
|
|
1
|
+
import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-DLoubiPW.js";
|
|
2
2
|
export { BrowserInteractiveSessionControlController, InteractiveSessionNotRunningError, browserInteractiveControlHolderId };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as TerminalStreamReconnectAuthority, u as ScopedToken } from "./terminal-stream-types-
|
|
1
|
+
import { o as TerminalStreamReconnectAuthority, u as ScopedToken } from "./terminal-stream-types-08G0jrQV.js";
|
|
2
2
|
import { u as AgentInteractiveSessionRef } from "./index-B4OJkmmC.js";
|
|
3
|
-
import { en as TerminalStream } from "./types-
|
|
4
|
-
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, g as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-
|
|
3
|
+
import { en as TerminalStream } from "./types-0z7Id2gz.js";
|
|
4
|
+
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, g as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-COUctLZ8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/interactive-controller.d.ts
|
|
7
7
|
/** The request fields supplied by an attach caller before control is claimed. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as boundedIdentifierSchema, T as boundedJsonSchema, o as canonicalCandidateDigest } from "./harness-Dq3XGyYd.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
|
|
3
|
-
import { B as PlanContinuationSchema, D as agentInteractiveSessionControlClaimMatchesRef, P as AgentExactRunControlRefSchema, R as AgentExecutionOutcomeSchema, U as InteractionRequestSchema, c as assertInteractiveSessionRef, h as AgentInteractiveSessionAttachSchema, i as createBrowserInteractiveSessionControlTransport, o as InteractiveSessionControlController, r as browserInteractiveTerminalEndpoint, v as AgentInteractiveSessionControlClaimSchema, x as AgentInteractiveSessionRefSchema, z as DurablePlanSchema } from "./browser-interactive-control-controller-
|
|
4
|
-
import { O as ValidationError, _ as NetworkError, i as parseResponseError, s as retryWhen, t as TerminalStreamError, u as CapabilityError, w as ServerError } from "./errors-
|
|
3
|
+
import { B as PlanContinuationSchema, D as agentInteractiveSessionControlClaimMatchesRef, P as AgentExactRunControlRefSchema, R as AgentExecutionOutcomeSchema, U as InteractionRequestSchema, c as assertInteractiveSessionRef, h as AgentInteractiveSessionAttachSchema, i as createBrowserInteractiveSessionControlTransport, o as InteractiveSessionControlController, r as browserInteractiveTerminalEndpoint, v as AgentInteractiveSessionControlClaimSchema, x as AgentInteractiveSessionRefSchema, z as DurablePlanSchema } from "./browser-interactive-control-controller-DLoubiPW.js";
|
|
4
|
+
import { O as ValidationError, _ as NetworkError, i as parseResponseError, s as retryWhen, t as TerminalStreamError, u as CapabilityError, w as ServerError } from "./errors-DNmfKxwE.js";
|
|
5
5
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
6
|
-
import { n as SDK_TIMEOUTS } from "./api-request-
|
|
7
|
-
import { c as uploadChunked, l as awaitSdkResend } from "./chunked-upload-
|
|
6
|
+
import { n as SDK_TIMEOUTS } from "./api-request-KNV1jqcT.js";
|
|
7
|
+
import { c as uploadChunked, l as awaitSdkResend } from "./chunked-upload-DuXDFxxJ.js";
|
|
8
8
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as ValidationError, r as parseErrorResponse } from "./errors-
|
|
1
|
+
import { O as ValidationError, r as parseErrorResponse } from "./errors-DNmfKxwE.js";
|
|
2
2
|
//#region src/line-identity.ts
|
|
3
3
|
/**
|
|
4
4
|
* The instance key that serves one member: `keyPrefix` plus the first 32 hex
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ha as BackendConfig, nn as CreateSandboxOptions } from "./types-0z7Id2gz.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 LineRespondAgent, B as LineVoiceOptions, C as LineMessage, D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, I as LineSenderVerificationStart, L as LineThread, M as LineRole, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, R as LineTransport, S as LineMemberSpec, T as LineProvider, V as LinesHttpClient, _ 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, 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-
|
|
1
|
+
import { A as LineRespondAgent, B as LineVoiceOptions, C as LineMessage, D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, I as LineSenderVerificationStart, L as LineThread, M as LineRole, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, R as LineTransport, S as LineMemberSpec, T as LineProvider, V as LinesHttpClient, _ 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, 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-tXVYuxcS.js";
|
|
2
2
|
export { Line, LineAgentRolePolicy, LineAllowance, LineAllowanceSubject, LineApplicationAttachOptions, LineAttachOptions, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineFromConnectionInput, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineLimits, LineMember, LineMemberInstance, LineMemberPatch, LineMemberSpec, LineMessage, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineReplyGate, LineRespondAgent, LineRespondView, LineRole, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LineThread, LineTransport, LineVoice, LineVoiceOptions, LinesClient, LinesHttpClient, SandboxLines, lineInstanceKey, profileChannelReference };
|
package/dist/lines.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-
|
|
1
|
+
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-DjZMcB7V.js";
|
|
2
2
|
export { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./api-request-
|
|
1
|
+
import "./api-request-KNV1jqcT.js";
|
|
2
2
|
import { u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.js";
|
|
3
3
|
import { a as listAgentPreviews, i as getAgentPreview, o as publishAgentPreview, r as ensureAgentPreview, s as removeAgentPreview, t as AgentPreviewError } from "./preview-operations-BTHZR1w2.js";
|
|
4
4
|
//#region \0rolldown/runtime.js
|
|
@@ -396,7 +396,7 @@ async function createMcpServer(box, options = {}) {
|
|
|
396
396
|
const { bindings, handlers } = bindToolSpecs(box, options);
|
|
397
397
|
const server = new serverModule.Server({
|
|
398
398
|
name: options.name ?? "tangle-sandbox",
|
|
399
|
-
version: options.version ?? "1.0.
|
|
399
|
+
version: options.version ?? "1.0.425"
|
|
400
400
|
}, { capabilities: { tools: {} } });
|
|
401
401
|
server.setRequestHandler(typesModule.ListToolsRequestSchema, async () => ({ tools: bindings.map(({ spec: s }) => ({
|
|
402
402
|
name: s.name,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as SandboxInstance } from "./index-
|
|
2
|
-
import { f as EnsureDevServerOptions, y as PreviewLinkInfo } from "./types-
|
|
3
|
-
import { t as Sandbox } from "./client-
|
|
1
|
+
import { O as SandboxInstance } from "./index-B68BPokk.js";
|
|
2
|
+
import { f as EnsureDevServerOptions, y as PreviewLinkInfo } from "./types-0z7Id2gz.js";
|
|
3
|
+
import { t as Sandbox } from "./client-DjYyhD5_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as SandboxError } from "./terminal-stream-types-
|
|
2
|
-
import {
|
|
1
|
+
import { R as SandboxError } from "./terminal-stream-types-08G0jrQV.js";
|
|
2
|
+
import { Qn as PublishPublicTemplateVersionOptions, Xn as PublicTemplateVersionInfo, Yn as PublicTemplateInfo, Zn as PublishPublicTemplateOptions, xr as HttpClient } from "./types-0z7Id2gz.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/public-templates.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BQqwUuBI.js";
|
|
2
2
|
export { PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient };
|
package/dist/public-templates.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as SandboxError, a as readResponseJson } from "./errors-
|
|
1
|
+
import { C as SandboxError, a as readResponseJson } from "./errors-DNmfKxwE.js";
|
|
2
2
|
import { n as combineAbortSignals } from "./abort-signal-BsriwJ8L.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/public-templates.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as verifyDownload } from "./file-download-
|
|
1
|
+
import { n as verifyDownload } from "./file-download-I463VYUJ.js";
|
|
2
2
|
import { t as runPreparedEvidence } from "./prepared-evidence-DIFfn4Ki.js";
|
|
3
3
|
import { t as rawEvidenceArchiveAttemptSchema } from "./raw-evidence-export-Dog7W5zP.js";
|
|
4
4
|
import { z } from "zod";
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, q as ValidationError, u as ScopedToken, w as CapabilityError, z as SandboxErrorJson } from "./terminal-stream-types-
|
|
2
|
-
import {
|
|
3
|
-
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-
|
|
4
|
-
import { t as BrowserInteractiveSessionController } from "./interactive-controller-
|
|
5
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
1
|
+
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, q as ValidationError, u as ScopedToken, w as CapabilityError, z as SandboxErrorJson } from "./terminal-stream-types-08G0jrQV.js";
|
|
2
|
+
import { An as FileRenameResult, Bi as CreateTaskSessionOptions, Bn as RenameOptions, Bt as SandboxRuntimeHealth, Dn as FileReadBatchResult, En as FileReadBatchOptions, Fn as FileUsageOptions, Gt as SandboxTerminalRequestOptions, Hn as UploadProgress, Ht as SandboxTerminalCreateOptions, In as FileUsageResult, Ji as SentSessionMessage, Ki as SendSessionMessageOptions, Ln as FileWriteResult, Lt as SandboxPortBinding, Nn as FileTreeOptions, Pi as CommitTaskSessionOptions, Pn as FileTreeResult, Qi as SessionExecutionStatus, Ti as SandboxEvent, Un as WriteFileOptions, Ut as SandboxTerminalInfo, Wi as ListMessagesOptions, Wt as SandboxTerminalManager, Xi as SessionEventStreamOptions, Zi as SessionExecutionInfo, aa as SessionMessageAdmission, bn as ChunkedUploadResult, ca as TaskSessionChanges, da as TaskSessionInfo, en as TerminalStream, ia as SessionMessage, la as TaskSessionCommitResult, qi as SendSessionMessageRequest, ta as SessionInfo, xr as HttpClient, yn as ChunkedUploadOptions, zi as CreateSessionOptions } from "./types-0z7Id2gz.js";
|
|
3
|
+
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-COUctLZ8.js";
|
|
4
|
+
import { t as BrowserInteractiveSessionController } from "./interactive-controller-DAPt9LNe.js";
|
|
5
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-CK0EAb4r.js";
|
|
6
6
|
|
|
7
7
|
//#region src/lib/chunked-upload.d.ts
|
|
8
8
|
/** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
|
package/dist/runtime.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, c as SandboxRuntimeApi, t as BrowserInteractiveSessionController } from "./interactive-controller-
|
|
2
|
-
import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-
|
|
3
|
-
import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-
|
|
4
|
-
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-
|
|
5
|
-
import { c as uploadChunked } from "./chunked-upload-
|
|
1
|
+
import { F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, c as SandboxRuntimeApi, t as BrowserInteractiveSessionController } from "./interactive-controller-DK6Hs0VD.js";
|
|
2
|
+
import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-DLoubiPW.js";
|
|
3
|
+
import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-DNmfKxwE.js";
|
|
4
|
+
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-KNV1jqcT.js";
|
|
5
|
+
import { c as uploadChunked } from "./chunked-upload-DuXDFxxJ.js";
|
|
6
6
|
//#region src/runtime-client.ts
|
|
7
7
|
function requireToken(token) {
|
|
8
8
|
const value = token.trim();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-
|
|
1
|
+
import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-DK6Hs0VD.js";
|
|
2
2
|
import { C as boundedIdentifierSchema, E as boundedStringSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, s as canonicalCandidateJson } from "./harness-Dq3XGyYd.js";
|
|
3
3
|
import { a as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
|
|
4
|
-
import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-
|
|
4
|
+
import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-DLoubiPW.js";
|
|
5
5
|
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-CemN5Bl6.js";
|
|
6
|
-
import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, T as StateError, _ as NetworkError, a as readResponseJson, b as ProfileFileMountPathError, c as AuthError, f as EdgeNotReadyError, i as parseResponseError, n as isTransientWrite, o as responseMetadata, r as parseErrorResponse, s as retryWhen, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-
|
|
6
|
+
import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, T as StateError, _ as NetworkError, a as readResponseJson, b as ProfileFileMountPathError, c as AuthError, f as EdgeNotReadyError, i as parseResponseError, n as isTransientWrite, o as responseMetadata, r as parseErrorResponse, s as retryWhen, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-DNmfKxwE.js";
|
|
7
7
|
import { t as parseSandboxRetryAfterHeader } from "./retry-after-header-BZbs5rig.js";
|
|
8
8
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
9
9
|
import { a as backoffDelayMs, o as isUndelivered, r as abortableSleep } from "./retry-policy-oW3_ljoc.js";
|
|
10
|
-
import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-
|
|
10
|
+
import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-KNV1jqcT.js";
|
|
11
11
|
import { a as SANDBOX_PROXY_REQUEST_MAX_BYTES, c as PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE, d as isProfileFileMountOutsideRoots, f as profileFileMountOutsideRootsMessage, l as SANDBOX_AGENT_HOME, o as FILE_OPERATION_LIMITS, t as isInsideReservedDir, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.js";
|
|
12
|
-
import { c as uploadChunked, l as awaitSdkResend, u as takeSdkTurn } from "./chunked-upload-
|
|
12
|
+
import { c as uploadChunked, l as awaitSdkResend, u as takeSdkTurn } from "./chunked-upload-DuXDFxxJ.js";
|
|
13
13
|
import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
|
|
14
14
|
import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-DTdbCbUM.js";
|
|
15
15
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
16
16
|
import { t as runPreparedProcess } from "./prepared-process-DQ_68Ofg.js";
|
|
17
17
|
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-DuY2E2FD-7ByGEdOv.js";
|
|
18
18
|
import "./cli-auth-bundle-Vc_wO6gp.js";
|
|
19
|
-
import { n as SandboxLines } from "./lines-
|
|
20
|
-
import { t as downloadFile } from "./file-download-
|
|
19
|
+
import { n as SandboxLines } from "./lines-DjZMcB7V.js";
|
|
20
|
+
import { t as downloadFile } from "./file-download-I463VYUJ.js";
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
23
23
|
import { constants } from "node:fs";
|
|
@@ -3720,6 +3720,7 @@ const ERROR_CATALOG = {
|
|
|
3720
3720
|
COMPLIANCE_CAPACITY_UNAVAILABLE: "503 retry | No verified compliance-scope host can take this sandbox now. | Retry after the Retry-After interval.",
|
|
3721
3721
|
CPU_FEATURES_UNAVAILABLE: "503 final | No verified host has capacity with the required CPU features. | Retry when matching capacity is available; the platform does not substitute an incompatible CPU.",
|
|
3722
3722
|
FIRECRACKER_IMAGE_UNAVAILABLE: "503 final | No host carries the requested Firecracker image. | Choose an image whose runtimes include firecracker in `environments list`, or set runtime: docker.",
|
|
3723
|
+
FIRECRACKER_IMAGE_BUILDING: "503 retry | The requested Firecracker image is being prepared on a host and is not ready yet; the build keeps running. | Send the same create again after the Retry-After interval, which is the remaining build estimate.",
|
|
3723
3724
|
PLACEMENT_WARMING: "503 retry | The cell's controller has just started and has not heard a host yet. | Retry after the Retry-After interval.",
|
|
3724
3725
|
HOST_UNAVAILABLE: "503 retry | The host did not answer; the sandbox and its files remain. | Retry after the Retry-After interval.",
|
|
3725
3726
|
HOST_LOST: "503 retry | The sandbox's host was destroyed; any run unfinished on it is gone. | Resume the sandbox or create another, then run the turn again.",
|
|
@@ -10449,7 +10450,7 @@ var SandboxInteractiveCapabilities = class extends SandboxPromptCapabilities {
|
|
|
10449
10450
|
var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabilities {
|
|
10450
10451
|
/** @internal — invoked before the sandbox is deleted. */
|
|
10451
10452
|
async _sessionExportRawEvidence(id, destination, options) {
|
|
10452
|
-
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-
|
|
10453
|
+
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-0GpUrTKO.js");
|
|
10453
10454
|
await this.ensureRunning();
|
|
10454
10455
|
await this.refresh();
|
|
10455
10456
|
return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/sessions/${encodeURIComponent(id)}/raw-evidence/archive?${new URLSearchParams([
|
|
@@ -10480,7 +10481,7 @@ var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabil
|
|
|
10480
10481
|
* and the byte and file bounds are verified before the directory appears.
|
|
10481
10482
|
*/
|
|
10482
10483
|
async exportRawEvidence(destination, options) {
|
|
10483
|
-
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-
|
|
10484
|
+
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-0GpUrTKO.js");
|
|
10484
10485
|
await this.ensureRunning();
|
|
10485
10486
|
await this.refresh();
|
|
10486
10487
|
return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/raw-evidence/archive?${new URLSearchParams({
|
|
@@ -12281,7 +12282,7 @@ var SandboxEgressCapabilities = class extends SandboxTraceCapabilities {
|
|
|
12281
12282
|
get egress() {
|
|
12282
12283
|
return {
|
|
12283
12284
|
get: () => state(this).egressOperations.egressGet(),
|
|
12284
|
-
update: (policy) => state(this).egressOperations.egressUpdate(policy),
|
|
12285
|
+
update: (policy, options) => state(this).egressOperations.egressUpdate(policy, options),
|
|
12285
12286
|
denials: (options) => state(this).egressOperations.egressDenials(options),
|
|
12286
12287
|
activity: (options) => state(this).egressOperations.egressActivity(options),
|
|
12287
12288
|
usage: (options) => state(this).egressOperations.egressUsage(options)
|
|
@@ -12314,13 +12315,19 @@ var SandboxEgressOperations = class {
|
|
|
12314
12315
|
const data = await readResponseJson(await this.host.fetch(`/v1/sandboxes/${encodeURIComponent(this.host.id())}`));
|
|
12315
12316
|
return {
|
|
12316
12317
|
policy: data.egressPolicy ?? { mode: "open" },
|
|
12317
|
-
source: data.egressPolicySource ?? "platform"
|
|
12318
|
+
source: data.egressPolicySource ?? "platform",
|
|
12319
|
+
updatedAt: data.egressPolicyUpdatedAt ?? null
|
|
12318
12320
|
};
|
|
12319
12321
|
}
|
|
12320
|
-
async egressUpdate(policy) {
|
|
12322
|
+
async egressUpdate(policy, options = {}) {
|
|
12323
|
+
const { signal, expectedUpdatedAt } = options;
|
|
12321
12324
|
const data = await readResponseJson(await this.host.fetch(`/v1/sandboxes/${encodeURIComponent(this.host.id())}/egress`, {
|
|
12322
12325
|
method: "PATCH",
|
|
12323
|
-
|
|
12326
|
+
signal,
|
|
12327
|
+
body: JSON.stringify(expectedUpdatedAt === void 0 ? policy : {
|
|
12328
|
+
...policy,
|
|
12329
|
+
expectedUpdatedAt
|
|
12330
|
+
})
|
|
12324
12331
|
}));
|
|
12325
12332
|
this.host.adoptPolicy(data.egressPolicy, data.source);
|
|
12326
12333
|
return {
|
|
@@ -12565,7 +12572,7 @@ var SandboxFilesystemOperations = class extends DeclaredFilesystemOperations {
|
|
|
12565
12572
|
totalBytes: size,
|
|
12566
12573
|
percentage: 0
|
|
12567
12574
|
});
|
|
12568
|
-
const { uploadChunkedFromFile } = await import("./chunked-upload-file-
|
|
12575
|
+
const { uploadChunkedFromFile } = await import("./chunked-upload-file-BNeuzLOo.js");
|
|
12569
12576
|
await uploadChunkedFromFile({ fetch: (path, init) => this.host.runtimeFetch(path, init) }, remotePath, localPath, {
|
|
12570
12577
|
mode: options?.permissions,
|
|
12571
12578
|
onProgress: options?.onProgress ? (progress) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
|
|
2
2
|
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-CemN5Bl6.js";
|
|
3
|
-
import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-
|
|
3
|
+
import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-DNmfKxwE.js";
|
|
4
4
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
5
5
|
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-DuY2E2FD-7ByGEdOv.js";
|
|
6
6
|
import "./cli-auth-bundle-Vc_wO6gp.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as SandboxError } from "./terminal-stream-types-
|
|
2
|
-
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-
|
|
1
|
+
import { R as SandboxError } from "./terminal-stream-types-08G0jrQV.js";
|
|
2
|
+
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-DjYyhD5_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/select-seat-command.d.ts
|
|
5
5
|
/** Public reply bound; the owner prints one metadata object. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as SandboxError, O as ValidationError } from "./errors-
|
|
2
|
-
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-
|
|
1
|
+
import { C as SandboxError, O as ValidationError } from "./errors-DNmfKxwE.js";
|
|
2
|
+
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-BbTGujaf.js";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/select-seat-command.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as combineAbortSignals } from "../abort-signal-BsriwJ8L.js";
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-KNV1jqcT.js";
|
|
3
3
|
import "../sidecar-proxy-error-DTdbCbUM.js";
|
|
4
4
|
import { t as parseSSEStream } from "../sse-parser-BCG3iL9j.js";
|
|
5
5
|
import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
|
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_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, 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 TANGLE_JOBS_CONTRACT, 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_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, 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 TANGLE_JOBS_CONTRACT, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-B68BPokk.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, BlueprintSandboxClientConfig, 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, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-T8iEAqQN.js";
|
|
2
2
|
import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.js";
|
|
3
3
|
export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
-
import { a as readResponseJson } from "./errors-
|
|
3
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
1
|
+
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-Djh3VGp9.js";
|
|
2
|
+
import { a as readResponseJson } from "./errors-DNmfKxwE.js";
|
|
3
|
+
import { i as fetchSandboxApi } from "./api-request-KNV1jqcT.js";
|
|
4
4
|
import { t as ITangleJobsAbi } from "./abi-pcDt2Adp.js";
|
|
5
5
|
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-BvN0Mk3j.js";
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
@@ -1271,6 +1271,7 @@ declare const ERROR_CATALOG: {
|
|
|
1271
1271
|
readonly COMPLIANCE_CAPACITY_UNAVAILABLE: "503 retry | No verified compliance-scope host can take this sandbox now. | Retry after the Retry-After interval.";
|
|
1272
1272
|
readonly CPU_FEATURES_UNAVAILABLE: "503 final | No verified host has capacity with the required CPU features. | Retry when matching capacity is available; the platform does not substitute an incompatible CPU.";
|
|
1273
1273
|
readonly FIRECRACKER_IMAGE_UNAVAILABLE: "503 final | No host carries the requested Firecracker image. | Choose an image whose runtimes include firecracker in `environments list`, or set runtime: docker.";
|
|
1274
|
+
readonly FIRECRACKER_IMAGE_BUILDING: "503 retry | The requested Firecracker image is being prepared on a host and is not ready yet; the build keeps running. | Send the same create again after the Retry-After interval, which is the remaining build estimate.";
|
|
1274
1275
|
readonly PLACEMENT_WARMING: "503 retry | The cell's controller has just started and has not heard a host yet. | Retry after the Retry-After interval.";
|
|
1275
1276
|
readonly HOST_UNAVAILABLE: "503 retry | The host did not answer; the sandbox and its files remain. | Retry after the Retry-After interval.";
|
|
1276
1277
|
readonly HOST_LOST: "503 retry | The sandbox's host was destroyed; any run unfinished on it is gone. | Resume the sandbox or create another, then run the turn again.";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-08G0jrQV.js";
|
|
2
2
|
import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index-B4OJkmmC.js";
|
|
3
3
|
import { r as CliAuthReference } from "./cli-auth-bundle-CaNRN3Nc.js";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -2547,6 +2547,15 @@ interface SnapshotInfo {
|
|
|
2547
2547
|
/** Upload state, when the API reports it. */
|
|
2548
2548
|
remoteSync?: SnapshotRemoteSync;
|
|
2549
2549
|
}
|
|
2550
|
+
/** One row of `client.listSnapshots()`: a snapshot of a sandbox you own, recently deleted ones included. */
|
|
2551
|
+
interface AccountSnapshotInfo extends SnapshotInfo {
|
|
2552
|
+
/** False once the sandbox is deleted; its snapshots stay restorable until `removeAfter`. */
|
|
2553
|
+
sandboxExists: boolean;
|
|
2554
|
+
/** When a deleted sandbox's snapshots are removed; null while it exists. */
|
|
2555
|
+
removeAfter: Date | null;
|
|
2556
|
+
/** False for platform captures, which do not count toward your snapshot limit. */
|
|
2557
|
+
countsTowardLimit: boolean;
|
|
2558
|
+
}
|
|
2550
2559
|
//#endregion
|
|
2551
2560
|
//#region src/types/branch.d.ts
|
|
2552
2561
|
/**
|
|
@@ -3785,15 +3794,27 @@ interface NetworkConfig {
|
|
|
3785
3794
|
* }
|
|
3786
3795
|
* ```
|
|
3787
3796
|
*/
|
|
3797
|
+
/** Options for {@link EgressManager.update}. */
|
|
3798
|
+
interface EgressUpdateOptions {
|
|
3799
|
+
/** Abort the request. */
|
|
3800
|
+
signal?: AbortSignal;
|
|
3801
|
+
/**
|
|
3802
|
+
* `get().updatedAt`: write only if the policy is unchanged since, else a 409
|
|
3803
|
+
* StateError with code CONFLICT. Omitted: unconditional.
|
|
3804
|
+
*/
|
|
3805
|
+
expectedUpdatedAt?: string | null;
|
|
3806
|
+
}
|
|
3788
3807
|
interface EgressManager {
|
|
3789
3808
|
/**
|
|
3790
3809
|
* Get the sandbox's current egress policy.
|
|
3791
3810
|
*
|
|
3792
|
-
* @returns Resolved egress policy and
|
|
3811
|
+
* @returns Resolved egress policy, its source, and when it last changed
|
|
3812
|
+
* (null: never written), to pass to `update` as `expectedUpdatedAt`
|
|
3793
3813
|
*/
|
|
3794
3814
|
get(): Promise<{
|
|
3795
3815
|
policy: EgressPolicy;
|
|
3796
3816
|
source: "sandbox" | "team" | "platform";
|
|
3817
|
+
updatedAt: string | null;
|
|
3797
3818
|
}>;
|
|
3798
3819
|
/**
|
|
3799
3820
|
* Update the sandbox's egress policy at runtime.
|
|
@@ -3801,9 +3822,10 @@ interface EgressManager {
|
|
|
3801
3822
|
* The proxy container is restarted to apply the new policy (~2–5s downtime).
|
|
3802
3823
|
*
|
|
3803
3824
|
* @param policy - New egress policy to apply
|
|
3825
|
+
* @param options - {@link EgressUpdateOptions}
|
|
3804
3826
|
* @returns Updated policy and source
|
|
3805
3827
|
*/
|
|
3806
|
-
update(policy: EgressPolicy): Promise<{
|
|
3828
|
+
update(policy: EgressPolicy, options?: EgressUpdateOptions): Promise<{
|
|
3807
3829
|
policy: EgressPolicy;
|
|
3808
3830
|
source: "sandbox" | "team" | "platform";
|
|
3809
3831
|
}>;
|
|
@@ -5734,4 +5756,4 @@ interface SecretsManager {
|
|
|
5734
5756
|
}): Promise<void>;
|
|
5735
5757
|
}
|
|
5736
5758
|
//#endregion
|
|
5737
|
-
export { SandboxFleetAgent as $,
|
|
5759
|
+
export { SandboxFleetAgent as $, assertDeclaredSecretsHeld as $a, SessionFailureReason as $i, SandboxEnvironment as $n, StopOptions as $r, TeePublicKeyResponse as $t, CreateSandboxFleetOptions as A, RolloutTurnPart as Aa, SandboxTraceExport as Ai, FileRenameResult as An, WaitForRolloutOptions as Ar, SandboxFleetWorkspaceRestoreResult as At, FleetDispatchStreamOptions as B, ProcessListOptions as Ba, CreateTaskSessionOptions as Bi, RenameOptions as Bn, SandboxDeleteOutcome as Br, SandboxRuntimeHealth as Bt, GitCommit as C, SecretBindingOptions as Ca, PromptOptions as Ci, DownloadProgress as Cn, BranchOptions as Cr, SandboxFleetTraceBundle as Ct, FleetDriveTurnRequest as D, RolloutChildResult as Da, SandboxOomKillEvent as Di, FileReadBatchResult as Dn, Rollout as Dr, SandboxFleetUsage as Dt, FleetDriveTurnOutcome as E, SandboxRuntime as Ea, SandboxIntelligenceEnvelope as Ei, FileReadBatchOptions as En, ForkLookupOptions as Er, SandboxFleetTraceOptions as Et, FleetAgentResult as F, GpuLeaseProviderStatus as Fa, CompletedTurnPayload as Fi, FileUsageOptions as Fn, DeleteMatchingSandboxesOptions as Fr, SandboxConnection as Ft, FleetPromptDispatchResult as G, CodeResultPart as Ga, PublicProfileConflict as Gi, WriteManyOptions as Gn, SnapshotDeleteAcknowledgement as Gr, SandboxTerminalRequestOptions as Gt, FleetExecDispatchResult as H, SessionStatus as Ha, DispatchedSession as Hi, UploadProgress as Hn, SandboxOperationKind as Hr, SandboxTerminalCreateOptions as Ht, FleetAgentRunStatus as I, GpuLeaseStatus as Ia, CompletedTurnResult as Ii, FileUsageResult as In, DeleteMatchingSandboxesResult as Ir, SandboxInfo as It, ListSandboxFleetOptions as J, SandboxEnvRecovery as Ja, SentSessionMessage as Ji, ExecOptions as Jn, SnapshotInfo as Jr, StartupOperation as Jt, FleetRunEvent as K, ExecResult as Ka, SendSessionMessageOptions as Ki, SearchMatch as Kn, SnapshotDeleteOutcome as Kr, SandboxTerminals as Kt, FleetDispatchCancelResult as L, RetainedWorkspaceFile as La, ConversationTurnOptions as Li, FileWriteResult as Ln, RestoreSnapshotOptions as Lr, SandboxPortBinding as Lt, CreateSandboxFleetWithCoordinatorOptions as M, GPU_LEASE_PROVIDER_NAMES as Ma, TokenUsage as Mi, FileTreeFile as Mn, DeleteMatchingSandboxOutcome as Mr, ListSandboxOptions as Mt, FleetAgentId as N, GpuLeaseProviderName as Na, TurnBackendConfig as Ni, FileTreeOptions as Nn, DeleteMatchingSandboxResult as Nr, SSHCommandDescriptor as Nt, TokenRefreshHandler as O, RolloutScorer as Oa, SandboxTraceBundle as Oi, FileReadError as On, RolloutOptions as Or, SandboxFleetWorkspace as Ot, FleetAgentPlacement as P, GpuLeaseProviderState as Pa, CommitTaskSessionOptions as Pi, FileTreeResult as Pn, DeleteMatchingSandboxesFilter as Pr, SSHCredentials as Pt, ReconcileSandboxFleetsResult as Q, DECLARED_SECRET_HOSTS_ENV_VAR as Qa, SessionExecutionStatus as Qi, PublishPublicTemplateVersionOptions as Qn, SnapshotResult as Qr, TeePublicKey as Qt, FleetDispatchResultBuffer as R, RetainedWorkspacePublication as Ra, ConversationTurnResult as Ri, ListOptions as Rn, SandboxDeleteAcknowledgement as Rr, SandboxPortPreviewLink as Rt, GitBranch as S, RouterRoutingOptions as Sa, PromptInputPart as Si, DownloadOptions as Sn, SdkTimingHook as Sr, SandboxFleetToken as St, GitStatus as T, SANDBOX_RUNTIMES as Ta, SandboxEvent as Ti, FileInfo as Tn, ForkIdempotency as Tr, SandboxFleetTraceExport as Tt, FleetMachineId as U, CodeExecutionResult as Ua, DriveTurnOptions as Ui, WriteFileOptions as Un, SandboxOperationState as Ur, SandboxTerminalInfo as Ut, FleetExecDispatchOptions as V, ProcessStatus as Va, DispatchPromptOptions as Vi, UploadOptions as Vn, SandboxOperationInfo as Vr, SandboxTerminalAttachOptions as Vt, FleetPromptDispatchOptions as W, CodeLanguage as Wa, ListMessagesOptions as Wi, WriteManyFile as Wn, SandboxRemovalState as Wr, SandboxTerminalManager as Wt, ReapExpiredSandboxFleetsResult as X, baseProxyToken as Xa, SessionEventStreamOptions as Xi, PublicTemplateVersionInfo as Xn, SnapshotProvenance as Xr, TeeAttestationReport as Xt, ReapExpiredSandboxFleetsOptions as Y, SandboxEnvRecoveryView as Ya, SessionBackendCredentials as Yi, PublicTemplateInfo as Yn, SnapshotOptions as Yr, TeeAttestationOptions as Yt, ReconcileSandboxFleetsOptions as Z, InteractionResolutionAcknowledgement as Za, SessionExecutionInfo as Zi, PublishPublicTemplateOptions as Zn, SnapshotRemoteSync as Zr, TeeAttestationResponse as Zt, ProcessSignal as _, BackendManager as _a, IntelligenceReport as _i, GitAuth as _n, ManagedProcessResumeOptions as _r, SandboxFleetParent as _t, ProvisionStep as a, SessionMessageAdmission as aa, BatchRunOptions as ai, SandboxShapesInfo as an, EffectiveBackendProfile as ao, DriverType as ar, SandboxFleetDispatchResponse as at, PreviewLinkManager as b, BackendStatus as ba, IntelligenceReportSubjectType as bi, ChunkedUploadResult as bn, ManagedProcessSpec as br, SandboxFleetProfileRef as bt, SubscriptionInfo as c, TaskSessionChanges as ca, AgentRunStatus as ci, SandboxShapePreset as cn, GpuLeaseCommandResult as cr, SandboxFleetInfo as ct, DevServerInfo as d, TaskSessionInfo as da, DurablePlan as di, NetworkConfig as dn, GpuLeaseManager as dr, SandboxFleetMachineMeteredUsage as dt, SessionForkOptions as ea, WorkspaceOperationLookup as ei, TerminalStream as en, declaredSecretBaseToken as eo, AcceleratorKind as er, SandboxFleetAgentSpec as et, EnsureDevServerOptions as f, TaskSessionProfile as fa, DurablePlanDecisionOptions as fi, NetworkManager as fn, GpuLeaseProviders as fr, SandboxFleetMachineRecord as ft, ProcessManager as g, BackendInfo as ga, EventStreamOptions as gi, MAX_EGRESS_DENIALS_LIMIT as gn, ManagedProcessOptions as gr, SandboxFleetOperationsSummary as gt, ProcessLogEntry as h, BackendConfig as ha, DurablePlanSnapshot as hi, EgressDenial as hn, ManagedProcessJobs as hr, SandboxFleetManifestMachine as ht, ProvisionResult as i, SessionMessage as ia, BatchBackend as ii, SandboxResources as in, EffectiveBackend as io, DriverInfo as ir, SandboxFleetDispatchFailureClass as it, CreateSandboxFleetTokenOptions as j, ProvisionStatus as ja, SandboxTraceOptions as ji, FileSystem as jn, AccountSnapshotInfo as jr, SandboxFleetWorkspaceSnapshotResult as jt, AttachSandboxFleetMachineOptions as k, RolloutStatus as ka, SandboxTraceEvent as ki, FileReadResult as kn, RolloutStartResult as kr, SandboxFleetWorkspaceReconcileResult as kt, UsageInfo as l, TaskSessionCommitResult as la, AgentToolInvocation as li, EgressManager as ln, GpuLeaseExecOptions as lr, SandboxFleetIntelligenceEnvelope as lt, Process as m, BackendCapabilities as ma, DurablePlanFollowUpResume as mi, EgressPolicy as mn, CodeExecutionOptions as mr, SandboxFleetManifest as mt, SshKeysManager as n, SessionInterruptOptions as na, SandboxRuntimeCapabilities as ni, CreateSandboxOptions as nn, ALL_BACKEND_TYPES as no, CreateGpuLeaseOptions as nr, SandboxFleetArtifactSpec as nt, ResumeOptions as o, SessionMessageInputPart as oa, AgentApprovalRequirement as oi, SandboxStatus as on, EffectiveBackendSource as oo, GpuLease as or, SandboxFleetDriverCapability as ot, ExactProcessSpawnOptions as p, TurnDriveResult as pa, DurablePlanDecisionResult as pi, SandboxEgressUsage as pn, GpuLeaseProvidersOptions as pr, SandboxFleetMachineSpec as pt, FleetRunOptions as q, WriteFileRequest as qa, SendSessionMessageRequest as qi, SearchOptions as qn, SnapshotIdempotency as qr, StartupDiagnostics as qt, ProvisionEvent as r, SessionListOptions as ra, StorageConfig as ri, SandboxConfig as rn, BackendType as ro, DriverConfig as rr, SandboxFleetCostEstimate as rt, SandboxIdentity as s, SessionResultOptions as sa, AgentQuestionRequest as si, SandboxShape as sn, parseBackendType as so, GpuLeaseBilling as sr, SandboxFleetDriverTimings as st, SecretsManager as t, SessionInfo as ta, SandboxResourceUsage as ti, CreateRequestOptions as tn, parseDeclaredSecretsEnv as to, AttachGpuLeaseOptions as tr, SandboxFleetArtifact as tt, WaitForOptions as u, TaskSessionFileChange as ua, CreateIntelligenceReportOptions as ui, EgressUpdateOptions as un, GpuLeaseExecResult as ur, SandboxFleetMachine as ut, ProcessSpawnOptions as v, BackendMcpServerStatus as va, IntelligenceReportBudget as vi, GitConfig as vn, ManagedProcessState as vr, SandboxFleetPlacement as vt, GitDiff as w, SecretInfo as wa, PromptResult as wi, DownloadResult as wn, ForkCounts as wr, SandboxFleetTraceEvent as wt, PreviewLinkWaitOptions as x, McpServerConfig as xa, IntelligenceReportWindow as xi, DeleteOptions as xn, HttpClient as xr, SandboxFleetSpend as xt, PreviewLinkInfo as y, BackendRuntimeConfigUpdate as ya, IntelligenceReportCompareTo as yi, ChunkedUploadOptions as yn, ManagedProcessRecord as yr, SandboxFleetPolicy as yt, FleetDispatchResultBufferOptions as z, ProcessInfo as za, CreateSessionOptions as zi, MkdirOptions as zn, SandboxDeleteOptions as zr, SandboxRunGeneration as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.425",
|
|
4
4
|
"description": "TypeScript SDK for Tangle Sandbox: create cloud sandboxes and run commands and coding agents in them",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
"vitest": "^4.1.12",
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
|
+
"@products/sandbox-test-utils": "0.0.0",
|
|
156
157
|
"@repo/shared": "0.0.0",
|
|
158
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
157
159
|
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
158
|
-
"@
|
|
159
|
-
"@tangle-network/runtime-contracts": "0.20.0",
|
|
160
|
-
"@tangle-network/agent-profile-materialize": "0.27.1"
|
|
160
|
+
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "6aff3be689017f16245ef66af8ffd540fabcde78",
|
|
164
|
+
"mergedAt": "2026-11-16T12:46:21-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
|