@tangle-network/sandbox 1.0.242 → 1.0.244
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 +2 -2
- package/dist/{agent-execution-preparation-CjKTjmJ9.js → agent-execution-preparation-N1ksNIIJ.js} +3 -3
- package/dist/{agent-execution-preparation-receipt-AihkqLnd.js → agent-execution-preparation-receipt-j1Z7Om0k.js} +4 -4
- package/dist/{agent-run-outcome-CUfQje-w.d.ts → agent-run-outcome-ozWNjNhL.d.ts} +2 -2
- package/dist/{api-request-BWT7PYL0.js → api-request-BjSvgUY_.js} +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-B0bioynZ.js → browser-interactive-control-controller-BO15Bwap.js} +14 -14
- package/dist/{browser-interactive-control-controller-D9plWzEP.d.ts → browser-interactive-control-controller-DS7pHEUa.d.ts} +1 -1
- package/dist/{chunked-upload-O-8ZfTgv.js → chunked-upload-B_CfWth1.js} +1 -1
- package/dist/{chunked-upload-file-Cko41h8C.js → chunked-upload-file-16t2BxYx.js} +1 -1
- package/dist/{cli-auth-bundle-C6DtK7GX-DoqlFTT-.js → cli-auth-bundle-C6DtK7GX-D8681c7j.js} +1 -1
- package/dist/cli-auth-bundle-D5ZBMpZ7.js +2 -0
- package/dist/{client-CjekYXSa.js → client-BqsozHqq.js} +8 -8
- package/dist/{client-Tv6glrZu.d.ts → client-CgYnVVB8.d.ts} +5 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-DKC-ShI6.js → collaboration-B1rRNtfI.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{error-catalog-LyHHTFoQ.js → error-catalog-CH_n2ubl.js} +1 -0
- package/dist/{errors-BY-3SBlL.js → errors-LJAXbFuF.js} +1 -1
- package/dist/{file-download-C-u5Ejk6.js → file-download-BQZCoO5d.js} +1 -1
- package/dist/{harness-C5lXV9e5.js → harness--g8UQ5TZ.js} +4 -4
- package/dist/{index-D_q6Yfb-.d.ts → index-CO8UEqXd.d.ts} +5 -5
- package/dist/index.d.ts +9 -9
- package/dist/index.js +12 -12
- 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-9ILeAfX9.js → interactive-controller-Drq_P1i_.js} +7 -7
- package/dist/{interactive-controller-CG6mx72N.d.ts → interactive-controller-mQvTLQaB.d.ts} +3 -3
- package/dist/{lines-BNaFiqBy.js → lines-CIkCYod2.js} +1 -1
- package/dist/{lines-DuXPjPJT.d.ts → lines-Dtgmj3fv.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-DrNihS9-.js → local-cli-auth-wyO74fdb.js} +1 -1
- package/dist/{mcp-local-BAUbr-VS.js → mcp-local-LiNITCkH.js} +2 -2
- package/dist/{preview-C_9PQGix.d.ts → preview-CmzyytTg.d.ts} +3 -3
- package/dist/{profile-schema-C0n0VgmA.js → profile-schema-B11dRfGB.js} +352 -441
- package/dist/{public-templates-CBH6Qrnn.d.ts → public-templates-CL-BhKOA.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-CpPxVqUK.js → raw-evidence-archive-Bg8v2G0F.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-Bu3jceX_.js → sandbox-yHsqmP2_.js} +18 -17
- package/dist/{select-seat--yEFCKqb.js → select-seat-Bn2J3IsQ.js} +5 -5
- 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-BtTPZXhK.js → tangle-DQJLMJo6.js} +3 -3
- package/dist/{terminal-stream-types-DQNUfdKj.d.ts → terminal-stream-types-CbtlD2UT.d.ts} +15 -14
- package/dist/{types-jIqZ_dPk.d.ts → types-7MzBACDM.d.ts} +1 -1
- package/package.json +7 -7
- package/dist/cli-auth-bundle-BinY89CX.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as SandboxError } from "./terminal-stream-types-
|
|
2
|
-
import { Cr as PublishPublicTemplateVersionOptions, Sr as PublishPublicTemplateOptions, Xr as HttpClient, br as PublicTemplateInfo, xr as PublicTemplateVersionInfo } from "./types-
|
|
1
|
+
import { R as SandboxError } from "./terminal-stream-types-CbtlD2UT.js";
|
|
2
|
+
import { Cr as PublishPublicTemplateVersionOptions, Sr as PublishPublicTemplateOptions, Xr as HttpClient, br as PublicTemplateInfo, xr as PublicTemplateVersionInfo } from "./types-7MzBACDM.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-CL-BhKOA.js";
|
|
2
2
|
export { PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient };
|
package/dist/public-templates.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as verifyDownload } from "./file-download-
|
|
1
|
+
import { n as verifyDownload } from "./file-download-BQZCoO5d.js";
|
|
2
2
|
import { t as runPreparedEvidence } from "./prepared-evidence-ibAysmX8.js";
|
|
3
3
|
import { t as rawEvidenceArchiveAttemptSchema } from "./raw-evidence-export-C6Xdl3nC.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 { $i as SessionExecutionStatus, Bi as CreateSessionOptions, Cn as TerminalStream, Di as SandboxEvent, Fi as CommitTaskSessionOptions, Gi as ListMessagesOptions, Gn as ChunkedUploadResult, Ji as SendSessionMessageRequest, Qi as SessionExecutionInfo, Qn as FileReadBatchResult, Vi as CreateTaskSessionOptions, Wn as ChunkedUploadOptions, Xr as HttpClient, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, Zn as FileReadBatchOptions, aa as SessionMessage, ar as FileTreeResult, cr as FileWriteResult, dn as SandboxTerminalCreateOptions, dr as RenameOptions, fa as TaskSessionInfo, fn as SandboxTerminalInfo, ir as FileTreeOptions, la as TaskSessionChanges, ln as SandboxRuntimeHealth, mn as SandboxTerminalRequestOptions, mr as WriteFileOptions, na as SessionInfo, oa as SessionMessageAdmission, on as SandboxPortBinding, or as FileUsageOptions, pn as SandboxTerminalManager, pr as UploadProgress, qi as SendSessionMessageOptions, sr as FileUsageResult, tr as FileRenameResult, ua as TaskSessionCommitResult } from "./types-
|
|
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-CbtlD2UT.js";
|
|
2
|
+
import { $i as SessionExecutionStatus, Bi as CreateSessionOptions, Cn as TerminalStream, Di as SandboxEvent, Fi as CommitTaskSessionOptions, Gi as ListMessagesOptions, Gn as ChunkedUploadResult, Ji as SendSessionMessageRequest, Qi as SessionExecutionInfo, Qn as FileReadBatchResult, Vi as CreateTaskSessionOptions, Wn as ChunkedUploadOptions, Xr as HttpClient, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, Zn as FileReadBatchOptions, aa as SessionMessage, ar as FileTreeResult, cr as FileWriteResult, dn as SandboxTerminalCreateOptions, dr as RenameOptions, fa as TaskSessionInfo, fn as SandboxTerminalInfo, ir as FileTreeOptions, la as TaskSessionChanges, ln as SandboxRuntimeHealth, mn as SandboxTerminalRequestOptions, mr as WriteFileOptions, na as SessionInfo, oa as SessionMessageAdmission, on as SandboxPortBinding, or as FileUsageOptions, pn as SandboxTerminalManager, pr as UploadProgress, qi as SendSessionMessageOptions, sr as FileUsageResult, tr as FileRenameResult, ua as TaskSessionCommitResult } from "./types-7MzBACDM.js";
|
|
3
|
+
import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-DS7pHEUa.js";
|
|
4
|
+
import { t as BrowserInteractiveSessionController } from "./interactive-controller-mQvTLQaB.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-ozWNjNhL.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 { s 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-Drq_P1i_.js";
|
|
2
|
+
import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-BO15Bwap.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-LJAXbFuF.js";
|
|
4
|
+
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-BjSvgUY_.js";
|
|
5
|
+
import { s as uploadChunked } from "./chunked-upload-B_CfWth1.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, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, U 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-
|
|
2
|
-
import { C as boundedIdentifierSchema$1, E as boundedStringSchema$1, g as sha256DigestSchema$1, o as canonicalCandidateDigest$1, s as canonicalCandidateJson$1 } from "./harness
|
|
3
|
-
import { a as ProxySecretReceiptSchema$1, r as agentProfileSchema$1 } from "./profile-schema-
|
|
1
|
+
import { A as requestedPublicProfileDigest, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, U 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-Drq_P1i_.js";
|
|
2
|
+
import { C as boundedIdentifierSchema$1, E as boundedStringSchema$1, g as sha256DigestSchema$1, o as canonicalCandidateDigest$1, s as canonicalCandidateJson$1 } from "./harness--g8UQ5TZ.js";
|
|
3
|
+
import { a as ProxySecretReceiptSchema$1, r as agentProfileSchema$1 } from "./profile-schema-B11dRfGB.js";
|
|
4
4
|
import { t as sha256$1 } from "./sha2-BIoWepwn.js";
|
|
5
|
-
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-
|
|
6
|
-
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-
|
|
7
|
-
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 } from "./errors-
|
|
5
|
+
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-BO15Bwap.js";
|
|
6
|
+
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-N1ksNIIJ.js";
|
|
7
|
+
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 } from "./errors-LJAXbFuF.js";
|
|
8
8
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-CRxC2dlT.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-BjSvgUY_.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, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.js";
|
|
12
|
-
import { c as awaitSdkResend, l as takeSdkTurn, s as uploadChunked } from "./chunked-upload-
|
|
12
|
+
import { c as awaitSdkResend, l as takeSdkTurn, s as uploadChunked } from "./chunked-upload-B_CfWth1.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
|
-
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-C6DtK7GX-
|
|
18
|
-
import "./cli-auth-bundle-
|
|
19
|
-
import { n as SandboxLines } from "./lines-
|
|
20
|
-
import { t as downloadFile } from "./file-download-
|
|
17
|
+
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-C6DtK7GX-D8681c7j.js";
|
|
18
|
+
import "./cli-auth-bundle-D5ZBMpZ7.js";
|
|
19
|
+
import { n as SandboxLines } from "./lines-CIkCYod2.js";
|
|
20
|
+
import { t as downloadFile } from "./file-download-BQZCoO5d.js";
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
23
23
|
import { constants } from "node:fs";
|
|
@@ -27,7 +27,7 @@ import { PART_TEXT, PART_TEXT_SUFFIX, locatePart } from "@tangle-network/agent-c
|
|
|
27
27
|
import { readTokenUsage } from "@tangle-network/agent-core";
|
|
28
28
|
import "@tangle-network/agent-interface/environment-provider";
|
|
29
29
|
import { OTLP_SPAN_KIND, OTLP_STATUS_CODE, msToUnixNano, otlpTraceExport, toOtlpAttributes, toW3CSpanId, toW3CTraceId } from "@tangle-network/agent-trace-contract/otlp";
|
|
30
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
30
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.js
|
|
31
31
|
const AgentInteractiveSessionRunCoordinatesSchema = z.strictObject({
|
|
32
32
|
provider: boundedIdentifierSchema$1,
|
|
33
33
|
environmentId: boundedIdentifierSchema$1,
|
|
@@ -104,7 +104,7 @@ function runCoordinates(run) {
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
107
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/environment-terminal.js
|
|
108
108
|
const terminalDimensionSchema = z.number().int().positive().max(1e4);
|
|
109
109
|
/**
|
|
110
110
|
* Provider-neutral handle for one interactive terminal.
|
|
@@ -5050,6 +5050,7 @@ const ERROR_CATALOG = {
|
|
|
5050
5050
|
UNSUPPORTED: "501 final | This operation is not supported for this runtime, harness or driver. | Choose a runtime or option that supports it.",
|
|
5051
5051
|
UPSTREAM_ERROR: "502 retry | An upstream service failed or answered outside its contract. | Retry with backoff; report the request id if it persists.",
|
|
5052
5052
|
UNAVAILABLE: "503 retry | A dependency or capacity is temporarily unavailable. | Retry after the Retry-After interval.",
|
|
5053
|
+
UPSTREAM_UNAVAILABLE: "503 retry | The sandbox controller did not answer, or answered without a code the catalog knows. | Retry after the Retry-After interval.",
|
|
5053
5054
|
NOT_READY: "503 retry | The target is starting, restarting, recovering or draining. | Retry after the Retry-After interval.",
|
|
5054
5055
|
BACKEND_UNAVAILABLE: "503 retry | The agent backend did not answer. | Retry after the Retry-After interval.",
|
|
5055
5056
|
MESSAGE_RETRIEVAL_UNAVAILABLE: "503 retry | Message storage did not answer. | Retry after the Retry-After interval.",
|
|
@@ -12010,7 +12011,7 @@ var SandboxInteractiveCapabilities = class extends SandboxPromptCapabilities {
|
|
|
12010
12011
|
var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabilities {
|
|
12011
12012
|
/** @internal — invoked before the sandbox is deleted. */
|
|
12012
12013
|
async _sessionExportRawEvidence(id, destination, options) {
|
|
12013
|
-
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-
|
|
12014
|
+
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-Bg8v2G0F.js");
|
|
12014
12015
|
await this.ensureRunning();
|
|
12015
12016
|
await this.refresh();
|
|
12016
12017
|
return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/sessions/${encodeURIComponent(id)}/raw-evidence/archive?${new URLSearchParams([
|
|
@@ -12041,7 +12042,7 @@ var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabil
|
|
|
12041
12042
|
* and the byte and file bounds are verified before the directory appears.
|
|
12042
12043
|
*/
|
|
12043
12044
|
async exportRawEvidence(destination, options) {
|
|
12044
|
-
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-
|
|
12045
|
+
const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-Bg8v2G0F.js");
|
|
12045
12046
|
await this.ensureRunning();
|
|
12046
12047
|
await this.refresh();
|
|
12047
12048
|
return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/raw-evidence/archive?${new URLSearchParams({
|
|
@@ -14141,7 +14142,7 @@ var SandboxFilesystemOperations = class extends DeclaredFilesystemOperations {
|
|
|
14141
14142
|
totalBytes: size,
|
|
14142
14143
|
percentage: 0
|
|
14143
14144
|
});
|
|
14144
|
-
const { uploadChunkedFromFile } = await import("./chunked-upload-file-
|
|
14145
|
+
const { uploadChunkedFromFile } = await import("./chunked-upload-file-16t2BxYx.js");
|
|
14145
14146
|
await uploadChunkedFromFile({ fetch: (path, init) => this.host.runtimeFetch(path, init) }, remotePath, localPath, {
|
|
14146
14147
|
mode: options?.permissions,
|
|
14147
14148
|
onProgress: options?.onProgress ? (progress) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as agentProfileSchema } from "./profile-schema-
|
|
2
|
-
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-
|
|
3
|
-
import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-
|
|
1
|
+
import { r as agentProfileSchema } from "./profile-schema-B11dRfGB.js";
|
|
2
|
+
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-N1ksNIIJ.js";
|
|
3
|
+
import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-LJAXbFuF.js";
|
|
4
4
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-CRxC2dlT.js";
|
|
5
|
-
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-C6DtK7GX-
|
|
6
|
-
import "./cli-auth-bundle-
|
|
5
|
+
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-C6DtK7GX-D8681c7j.js";
|
|
6
|
+
import "./cli-auth-bundle-D5ZBMpZ7.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region ../../../packages/runtime-contracts/dist/seat-selection.js
|
|
9
9
|
/**
|
|
@@ -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-CbtlD2UT.js";
|
|
2
|
+
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-CgYnVVB8.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-LJAXbFuF.js";
|
|
2
|
+
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-Bn2J3IsQ.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-CRxC2dlT.js";
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-BjSvgUY_.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-CO8UEqXd.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,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 BlueprintSandboxClient, 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 BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-DQJLMJo6.js";
|
|
2
2
|
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 { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
-
import { a as readResponseJson } from "./errors-
|
|
3
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
1
|
+
import { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-yHsqmP2_.js";
|
|
2
|
+
import { a as readResponseJson } from "./errors-LJAXbFuF.js";
|
|
3
|
+
import { i as fetchSandboxApi } from "./api-request-BjSvgUY_.js";
|
|
4
4
|
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-BT2q9nkO.js";
|
|
5
5
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
6
6
|
/**
|
|
@@ -919,7 +919,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
919
919
|
}, z.core.$strict>], "type">;
|
|
920
920
|
type BatchEvent = z.infer<typeof batchEventSchema>;
|
|
921
921
|
//#endregion
|
|
922
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
922
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/plan.d.ts
|
|
923
923
|
/**
|
|
924
924
|
* Typed server-originated continuation. Adapters consume this instead of
|
|
925
925
|
* inferring approval from a free-form user message.
|
|
@@ -955,7 +955,7 @@ declare const PlanContinuationSchema: z.ZodObject<{
|
|
|
955
955
|
}, z.core.$strict>;
|
|
956
956
|
type PlanContinuation = z.infer<typeof PlanContinuationSchema>;
|
|
957
957
|
//#endregion
|
|
958
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
958
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/interaction-data.d.ts
|
|
959
959
|
declare const InteractionSecretReferenceSchema: z.ZodObject<{
|
|
960
960
|
kind: z.ZodLiteral<"secret_handle">;
|
|
961
961
|
handleId: z.ZodString;
|
|
@@ -976,7 +976,7 @@ declare const InteractionResolutionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
976
976
|
}, z.core.$strict>], "outcome">;
|
|
977
977
|
type InteractionResolution = z.infer<typeof InteractionResolutionSchema>;
|
|
978
978
|
//#endregion
|
|
979
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
979
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/proxy-secrets.d.ts
|
|
980
980
|
declare const ProxySecretBindingSchema: z.ZodObject<{
|
|
981
981
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
982
982
|
methods: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
@@ -1189,7 +1189,7 @@ declare const ProxySecretCapabilitiesSchema: z.ZodObject<{
|
|
|
1189
1189
|
}, z.core.$strict>;
|
|
1190
1190
|
type ProxySecretCapabilities = z.infer<typeof ProxySecretCapabilitiesSchema>;
|
|
1191
1191
|
//#endregion
|
|
1192
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1192
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/harness.d.ts
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Recognized execution identities, not a deployment's list of installed runners.
|
|
1195
1195
|
* A profile's authored harness remains part of its canonical identity; execution
|
|
@@ -1222,7 +1222,7 @@ declare const harnessTypeSchema: z.ZodEnum<{
|
|
|
1222
1222
|
/** One declaration owns runtime validation and the compile-time vocabulary. */
|
|
1223
1223
|
type HarnessType = z.infer<typeof harnessTypeSchema>;
|
|
1224
1224
|
//#endregion
|
|
1225
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1225
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/agent-profile.d.ts
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Permission policy value for a capability.
|
|
1228
1228
|
*/
|
|
@@ -1700,11 +1700,11 @@ interface AgentProfileValidationResult {
|
|
|
1700
1700
|
normalizedProfile?: AgentProfile;
|
|
1701
1701
|
}
|
|
1702
1702
|
//#endregion
|
|
1703
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1703
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/agent-candidate.d.ts
|
|
1704
1704
|
/** Full SHA-256 digest with an explicit algorithm prefix. */
|
|
1705
1705
|
type Sha256Digest = `sha256:${string}`;
|
|
1706
1706
|
//#endregion
|
|
1707
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1707
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/interaction-fields.d.ts
|
|
1708
1708
|
declare const InteractionAnswerSpecSchema: z.ZodObject<{
|
|
1709
1709
|
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1710
1710
|
type: z.ZodLiteral<"text">;
|
|
@@ -1758,7 +1758,7 @@ declare const InteractionResponseScopeSchema: z.ZodEnum<{
|
|
|
1758
1758
|
persistent: "persistent";
|
|
1759
1759
|
}>;
|
|
1760
1760
|
//#endregion
|
|
1761
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1761
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.d.ts
|
|
1762
1762
|
declare const InteractionSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1763
1763
|
type: z.ZodLiteral<"tool">;
|
|
1764
1764
|
toolName: z.ZodString;
|
|
@@ -1865,13 +1865,13 @@ declare const InteractionAcknowledgementSchema: z.ZodObject<{
|
|
|
1865
1865
|
}, z.core.$strict>;
|
|
1866
1866
|
type InteractionAcknowledgement = z.infer<typeof InteractionAcknowledgementSchema>;
|
|
1867
1867
|
//#endregion
|
|
1868
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1868
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/runtime-attachments.d.ts
|
|
1869
1869
|
/** Runtime-owned bindings do not alter the authored AgentProfile or candidate identity. */
|
|
1870
1870
|
interface AgentRuntimeAttachments {
|
|
1871
1871
|
mcp: Record<string, AgentProfileMcpServer>;
|
|
1872
1872
|
}
|
|
1873
1873
|
//#endregion
|
|
1874
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1874
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/runtime-control.d.ts
|
|
1875
1875
|
/** Provider-neutral coordinates sufficient to recreate control of one run. */
|
|
1876
1876
|
interface AgentRunControlRef {
|
|
1877
1877
|
runId: string;
|
|
@@ -1908,7 +1908,7 @@ interface AgentRunCancellationAcknowledgement {
|
|
|
1908
1908
|
existingRequestDigest?: Sha256Digest;
|
|
1909
1909
|
}
|
|
1910
1910
|
//#endregion
|
|
1911
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1911
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/environment-terminal.d.ts
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Provider-neutral handle for one interactive terminal.
|
|
1914
1914
|
*
|
|
@@ -2027,7 +2027,7 @@ interface AgentTerminalSession {
|
|
|
2027
2027
|
}): AsyncIterable<TerminalOutputEvent>;
|
|
2028
2028
|
}
|
|
2029
2029
|
//#endregion
|
|
2030
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
2030
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.d.ts
|
|
2031
2031
|
/**
|
|
2032
2032
|
* Durable identity of one coding-agent TUI.
|
|
2033
2033
|
*
|
|
@@ -2752,7 +2752,7 @@ interface AgentInteractiveSessionPromptAcknowledgement {
|
|
|
2752
2752
|
existingRequestDigest?: `sha256:${string}`;
|
|
2753
2753
|
}
|
|
2754
2754
|
//#endregion
|
|
2755
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
2755
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.d.ts
|
|
2756
2756
|
/**
|
|
2757
2757
|
* Start one native coding-agent TUI from caller-owned request material.
|
|
2758
2758
|
*
|
|
@@ -3051,7 +3051,7 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
3051
3051
|
}, z.core.$strict>;
|
|
3052
3052
|
type AgentInteractiveSessionStart = z.infer<typeof AgentInteractiveSessionStartSchema>;
|
|
3053
3053
|
//#endregion
|
|
3054
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
3054
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/sandbox-size.d.ts
|
|
3055
3055
|
/**
|
|
3056
3056
|
* Portable sandbox size vocabulary.
|
|
3057
3057
|
*
|
|
@@ -3323,6 +3323,7 @@ declare const ERROR_CATALOG: {
|
|
|
3323
3323
|
readonly UNSUPPORTED: "501 final | This operation is not supported for this runtime, harness or driver. | Choose a runtime or option that supports it.";
|
|
3324
3324
|
readonly UPSTREAM_ERROR: "502 retry | An upstream service failed or answered outside its contract. | Retry with backoff; report the request id if it persists.";
|
|
3325
3325
|
readonly UNAVAILABLE: "503 retry | A dependency or capacity is temporarily unavailable. | Retry after the Retry-After interval.";
|
|
3326
|
+
readonly UPSTREAM_UNAVAILABLE: "503 retry | The sandbox controller did not answer, or answered without a code the catalog knows. | Retry after the Retry-After interval.";
|
|
3326
3327
|
readonly NOT_READY: "503 retry | The target is starting, restarting, recovering or draining. | Retry after the Retry-After interval.";
|
|
3327
3328
|
readonly BACKEND_UNAVAILABLE: "503 retry | The agent backend did not answer. | Retry after the Retry-After interval.";
|
|
3328
3329
|
readonly MESSAGE_RETRIEVAL_UNAVAILABLE: "503 retry | Message storage did not answer. | Retry after the Retry-After interval.";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-CbtlD2UT.js";
|
|
2
2
|
import { t as CliAuthReference } from "./cli-auth-bundle-eUl7Sa1x.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.244",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"@tangle-network/agent-core": "^1.0.3",
|
|
112
|
-
"@tangle-network/agent-interface": "^5.10.
|
|
112
|
+
"@tangle-network/agent-interface": "^5.10.20",
|
|
113
113
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
114
114
|
"tar-stream": "3.2.1",
|
|
115
115
|
"zod": "^4.6.6"
|
|
@@ -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
|
-
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
159
157
|
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
160
|
-
"@
|
|
158
|
+
"@repo/shared": "0.0.0",
|
|
159
|
+
"@tangle-network/runtime-contracts": "0.20.0",
|
|
160
|
+
"@tangle-network/cli-agent-registry": "0.15.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "36de0269d89d57c2fa15580c10b986612c2e4a46",
|
|
164
|
+
"mergedAt": "2026-11-05T03:01:01-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|