@tangle-network/sandbox 1.0.215 → 1.0.217
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-CP2N40aT.d.ts → agent-run-outcome-DW_S8f-u.d.ts} +2 -2
- package/dist/{api-request-BKzR6BJ4.js → api-request-DQDDEboS.js} +1 -1
- package/dist/{browser-interactive-control-controller-7wyaNSvi.d.ts → browser-interactive-control-controller-s9d82qc9.d.ts} +1 -1
- package/dist/{chunked-upload-D6ZCQ-iN.js → chunked-upload-4QOzIF2U.js} +1 -1
- package/dist/{chunked-upload-file-D3YxQdAl.js → chunked-upload-file-FxIlaF8n.js} +1 -1
- package/dist/{client-DiLd0XGB.d.ts → client-CSMb6fHz.d.ts} +23 -6
- package/dist/{client-DBfpAz8x.js → client-LvvTha4r.js} +5 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-BgSGO1KD.js → collaboration-Bv22hvgZ.js} +1 -1
- package/dist/{core-HKoYifvH.js → core-BsRFBN3r.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{errors-CNszZUZ2.js → errors-Bh1udpJ0.js} +2 -0
- package/dist/{file-download-DrzpcvdM.js → file-download-B9UceD-P.js} +1 -1
- package/dist/{index-DyFU9hy7.d.ts → index-DB4MbfIb.d.ts} +5 -5
- package/dist/index.d.ts +10 -10
- package/dist/index.js +49 -10
- package/dist/intelligence/index.js +3 -3
- package/dist/interactive-control.d.ts +1 -1
- package/dist/{interactive-controller-BzObb8aT.d.ts → interactive-controller-Cl9Ablmg.d.ts} +3 -3
- package/dist/{interactive-controller-C-CuPVMA.js → interactive-controller-DzlxPT5W.js} +2 -2
- package/dist/{lines-D0dHQ3X5.d.ts → lines-DXdAUnUf.d.ts} +1 -1
- package/dist/{lines-DHOIUO-t.js → lines-DvSNh5dD.js} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{mcp-local-YFGnFNBR.js → mcp-local--rG6M9v8.js} +2 -2
- package/dist/{preview-CrXG9Y8a.d.ts → preview-DhFcCERz.d.ts} +3 -3
- package/dist/{public-templates-Ba-DTf2O.d.ts → public-templates-D0QpNlni.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-DrgeV9_0.js → raw-evidence-archive-BqN1_X-V.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +4 -4
- package/dist/{sandbox-CUPiQpiD.js → sandbox-Bx8gRv4K.js} +3383 -123
- package/dist/select-seat-command.d.ts +1 -1
- package/dist/select-seat-command.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-Bo9s-kSv.js → tangle-DxqIEFfE.js} +2 -2
- package/dist/{terminal-stream-types-DeH8FF0d.d.ts → terminal-stream-types-B74nb8jV.d.ts} +3 -1
- package/dist/{types-BE70nj5h.d.ts → types-DzB-PS9p.d.ts} +1 -1
- package/package.json +6 -6
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-DB4MbfIb.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-DxqIEFfE.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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as readResponseJson } from "./errors-
|
|
1
|
+
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-Bx8gRv4K.js";
|
|
2
|
+
import { a as readResponseJson } from "./errors-Bh1udpJ0.js";
|
|
3
3
|
import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-CK-x8vXj.js";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
5
5
|
/**
|
|
@@ -99,6 +99,7 @@ declare const ERROR_CATALOG: {
|
|
|
99
99
|
readonly SESSION_CREDENTIAL_NOT_RETAINED: "409 final | A restored session's model credential is not kept in session storage. | Send the model credential with the turn.";
|
|
100
100
|
readonly interaction_kind_unsupported: "400 final | The turn asks for an interaction kind this harness cannot originate. | Drop the interaction toggle or choose a harness that supports it.";
|
|
101
101
|
readonly invalid_attachment: "400 final | An attachment has no url or path, or content the harness cannot take. | Fix the attachment the message names, then send the turn again.";
|
|
102
|
+
readonly PROFILE_UNSUPPORTED: "422 final | The profile asks for controls its harness cannot run, so no box is worth starting. | Remove the controls the message names, or choose a harness that runs them.";
|
|
102
103
|
readonly PROFILE_NOT_CACHED: "409 final | The turn names a profile by hash that this runtime does not hold. | Send the full profile object instead of its hash.";
|
|
103
104
|
readonly MODEL_CALL_LIMIT_REACHED: "400 final | The bounded turn needed more model calls than it allowed. | Raise the turn's model-call limit or split the task.";
|
|
104
105
|
readonly MODEL_CALL_LIMIT_UNSUPPORTED: "400 final | This harness's model calls cannot be counted, so a call limit cannot hold. | Drop the limit or choose a harness that supports it.";
|
|
@@ -113,6 +114,7 @@ declare const ERROR_CATALOG: {
|
|
|
113
114
|
readonly COMPLIANCE_NOT_ENTITLED: "403 final | The account is not entitled to the requested compliance placement. | Enable the compliance plan for the account, or create without it.";
|
|
114
115
|
readonly COMPLIANCE_CELL_UNAVAILABLE: "503 final | No cell serves the requested compliance placement. | Choose another region or compliance mode, or ask the operator.";
|
|
115
116
|
readonly NETWORK_ERROR: "503 retry | The request did not reach the platform, or its answer was lost. | Check connectivity, then retry; a keyed create joins its earlier attempt.";
|
|
117
|
+
readonly EXECUTION_INTERRUPTED: "503 retry | The sandbox runtime restarted during the run, before the run produced a terminal event; the run cannot resume. | Run the turn again.";
|
|
116
118
|
readonly STREAM_INTERRUPTED: "503 retry | The execution's stream ended without its terminal event; its outcome is unknown. | Rejoin with its executionId and lastEventId, or read the session status.";
|
|
117
119
|
readonly PUBLIC_PROFILE_PIN_REFUSED: "400 final | The runtime refused the pinned public profile revision this turn named. | Send the turn with the revision and digest the profile has now.";
|
|
118
120
|
readonly model_credential_refused: "403 final | The account owner refused the model credential for this seat. | Reconnect or replace that seat's credential, or choose another seat.";
|
|
@@ -2821,4 +2823,4 @@ interface TerminalStreamOptions {
|
|
|
2821
2823
|
mintMs?: number;
|
|
2822
2824
|
}
|
|
2823
2825
|
//#endregion
|
|
2824
|
-
export {
|
|
2826
|
+
export { HarnessType as $, AgentInteractiveSessionStatus as A, SandboxCreateOutcome as At, InteractionAcknowledgement as B, AgentInteractiveSessionAttach as C, SandboxFailureDetail as Ct, AgentInteractiveSessionPromptAcknowledgement as D, StreamInterruptionReason as Dt, AgentInteractiveSessionControlClaimRequest as E, StreamInterruptedError as Et, TerminalOutputEvent as F, AgentProfileConfidential as G, InteractionResponseCommand as H, TerminalReplayWindow as I, AgentProfileMcpServer as J, AgentProfileConfigValue as K, AgentExactRunControlRef as L, AgentInteractiveSessionStopCommand as M, AgentInteractiveTerminalSession as N, AgentInteractiveSessionPromptCommand as O, TimeoutError as Ot, agentInteractiveSessionPromptRequestDigest as P, ReasoningEffort as Q, AgentRunCancellationAcknowledgement as R, AgentInteractiveSessionStart as S, SandboxErrorJson as St, AgentInteractiveSessionControlClaimAcknowledgement as T, StateError as Tt, AgentProfile as U, InteractionRequest as V, AgentProfileCapabilities as W, AgentProfileSeat as X, AgentProfileMetadata as Y, AgentProfileValidationResult as Z, TerminalReadyTimings as _, PartialFailureError as _t, TerminalStreamOptions as a, AuthError as at, SandboxSizePreset as b, ResumeEnvRequiredError as bt, MintInteractiveSessionTokenOptions as c, CompliancePlacementError as ct, ScopedTokenScope as d, FileWriteConflictError as dt, ProxySecretReceipt as et, TERMINAL_WS_ECHO_SUBPROTOCOL as f, GpuProviderNotConfiguredError as ft, TerminalReadyInfo as g, NotFoundError as gt, TerminalOutputMessage as h, NetworkError as ht, TerminalStreamHandlers as i, parseErrorResponse as it, AgentInteractiveSessionStopAcknowledgement as j, SandboxCreateReceipt as jt, AgentInteractiveSessionRef as k, ValidationError as kt, MintScopedTokenOptions as l, EdgeNotReadyError as lt, TerminalInteractiveSessionIdentity as m, KeyBudgetExhaustedError as mt, TerminalStreamApiKey as n, PlanContinuation as nt, TerminalStreamReconnectAuthority as o, BranchFanoutExceedsHostError as ot, TerminalExitInfo as p, GpuProviderRequirement as pt, AgentProfileFileMount as q, TerminalStreamBearerToken as r, TerminalStreamError as rt, TerminalStreamToken as s, CapabilityError as st, TerminalAttachTimings as t, InteractionData as tt, ScopedToken as u, EgressProxyRecoveryError as ut, TerminalStreamAuthFormat as v, ProfileFileMountPathError as vt, AgentInteractiveSessionControlClaim as w, ServerError as wt, AgentRuntimeAttachments as x, SandboxError as xt, SANDBOX_SIZE_PRESET_NAMES as y, QuotaError as yt, AgentRunCancellationRequest as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as AgentProfileConfidential, L as AgentExactRunControlRef, Q as ReasoningEffort, U as AgentProfile, V as InteractionRequest, W as AgentProfileCapabilities, Z as AgentProfileValidationResult, a as TerminalStreamOptions, b as SandboxSizePreset, et as ProxySecretReceipt, g as TerminalReadyInfo, i as TerminalStreamHandlers, jt as SandboxCreateReceipt, nt as PlanContinuation, s as TerminalStreamToken, t as TerminalAttachTimings, x as AgentRuntimeAttachments } from "./terminal-stream-types-B74nb8jV.js";
|
|
2
2
|
import { t as CliAuthReference } from "./cli-auth-bundle-Wg3x2hd2.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.217",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -154,14 +154,14 @@
|
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
156
|
"@products/sandbox-test-utils": "0.0.0",
|
|
157
|
-
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
158
|
-
"@tangle-network/runtime-contracts": "0.20.0",
|
|
159
157
|
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
|
-
"@
|
|
158
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
159
|
+
"@repo/shared": "0.0.0",
|
|
160
|
+
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "3bc3d64be9b12d08edf405a6676d35f7299dc586",
|
|
164
|
+
"mergedAt": "2026-11-04T05:38:37-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|