@tangle-network/sandbox 0.63.16 → 0.63.17
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 +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/{agent-run-outcome-3p-OlQJG.d.ts → agent-run-outcome-vMD2ytAY.d.ts} +1 -1
- package/dist/{chunked-upload-B867njKv.js → chunked-upload-KJyRCAiC.js} +1 -1
- package/dist/{chunked-upload-file-Bs5qcfRB.js → chunked-upload-file-DfiGzqaR.js} +2 -2
- package/dist/{client-MQkP1a3i.d.ts → client-BRnWcZb6.d.ts} +7 -5
- package/dist/{client-Be-_CMPh.js → client-Dn_6xvvu.js} +6 -3
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-CXtTwK3x.js → collaboration-XHg5BEUI.js} +1 -1
- package/dist/core.d.ts +7 -7
- package/dist/core.js +3 -3
- package/dist/{errors-BJIX8RRM.d.ts → error-classes-i7w5nzDv.d.ts} +2 -2
- package/dist/{errors-Bfhg_Zc6.js → errors-AB5BD3FM.js} +29 -27
- package/dist/{index-YVbORwwO.d.ts → index--unlpqIN.d.ts} +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +6 -6
- package/dist/intelligence/index.js +1 -1
- package/dist/{interactive-controller-C0bJnKLu.js → interactive-controller-zE6hwv3C.js} +2 -2
- package/dist/{lines-CINbUZJ6.d.ts → lines-BsJeSsJM.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{managed-process-Coh-wv8s.d.ts → managed-process-CRwAzlIE.d.ts} +1 -1
- package/dist/{preview-Dyn4ECT8.d.ts → preview-B3HbVfBv.d.ts} +3 -3
- package/dist/{public-templates-CYURc1KE.d.ts → public-templates-bU_m4Ke5.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-BAwRXm2a.d.ts → sandbox-Dv9Lkxwy.d.ts} +3 -3
- package/dist/{sandbox-C6Y2Hzlv.js → sandbox-WcGbtAjh.js} +482 -335
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DUDjP2F4.js → tangle-B4gr0Zo_.js} +2 -2
- package/dist/{types-B2SfJtb1.d.ts → types-BcKuvP_Y.d.ts} +11 -0
- package/package.json +5 -5
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as ITangleJobsAbi, T as SandboxCreateResponseParamTypes, _ as JOB_SANDBOX_DELETE, a as fetchQuote, b as TangleSandboxClientConfig, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as JOB_SANDBOX_CREATE, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_CHAIN_ID, w as SandboxCreateParamTypes, x as AgentSandboxBlueprintAbi, y as TANGLE_JOBS_CONTRACT } from "../index
|
|
1
|
+
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as ITangleJobsAbi, T as SandboxCreateResponseParamTypes, _ as JOB_SANDBOX_DELETE, a as fetchQuote, b as TangleSandboxClientConfig, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as JOB_SANDBOX_CREATE, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_CHAIN_ID, w as SandboxCreateParamTypes, x as AgentSandboxBlueprintAbi, y as TANGLE_JOBS_CONTRACT } from "../index--unlpqIN.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JobQuoteDetails, JsonResponseParamTypes, OperatorChallenge, OperatorSession, OperatorSessionError, OperatorSessionToken, QuoteDomain, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, SignMessage, SignedQuote, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-B4gr0Zo_.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
1
|
+
import { r as readResponseJson } from "./errors-AB5BD3FM.js";
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-WcGbtAjh.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-B6gap92T.js";
|
|
4
4
|
//#region src/tangle/abi.ts
|
|
5
5
|
/**
|
|
@@ -2721,6 +2721,8 @@ interface HttpClient {
|
|
|
2721
2721
|
getBaseUrl?(): string | undefined;
|
|
2722
2722
|
/** Receives the SDK's timing spans; see `SandboxConfig.onTiming`. */
|
|
2723
2723
|
readonly onTiming?: SdkTimingHook | undefined;
|
|
2724
|
+
/** False keeps exec on the API; see `SandboxConfig.directExec`. */
|
|
2725
|
+
readonly directExec?: boolean;
|
|
2724
2726
|
}
|
|
2725
2727
|
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
2726
2728
|
[key: string]: JsonValue;
|
|
@@ -4662,6 +4664,15 @@ interface SandboxConfig {
|
|
|
4662
4664
|
* A hook that throws is ignored. With no hook the SDK measures nothing.
|
|
4663
4665
|
*/
|
|
4664
4666
|
onTiming?: SdkTimingHook;
|
|
4667
|
+
/**
|
|
4668
|
+
* Send exec-family runtime calls (spawn, exec, terminal) straight to the
|
|
4669
|
+
* sandbox's cell when its connection carries an exec grant (`execHost` and
|
|
4670
|
+
* `execToken`), instead of through the API and the orchestrator. Default
|
|
4671
|
+
* `true`. A command the cell provably never received falls back to the
|
|
4672
|
+
* API, which resumes a stopped sandbox. `false` sends every runtime call
|
|
4673
|
+
* through the API.
|
|
4674
|
+
*/
|
|
4675
|
+
directExec?: boolean;
|
|
4665
4676
|
}
|
|
4666
4677
|
/**
|
|
4667
4678
|
* Status of a sandbox instance.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.17",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
"vitest": "^4.1.11",
|
|
160
160
|
"ws": "^8.20.0",
|
|
161
161
|
"yjs": "13.6.30",
|
|
162
|
-
"@repo/shared": "0.0.0",
|
|
163
162
|
"@products/sandbox-test-utils": "0.0.0",
|
|
163
|
+
"@repo/shared": "0.0.0",
|
|
164
164
|
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
165
165
|
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
166
166
|
"@tangle-network/runtime-contracts": "0.19.0",
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
"@tangle-network/sse-core": "0.0.0"
|
|
169
169
|
},
|
|
170
170
|
"tangleRelease": {
|
|
171
|
-
"sourceSha": "
|
|
172
|
-
"mergedAt": "2026-10-
|
|
171
|
+
"sourceSha": "b98b26382229352a33c628976c743a286f8babac",
|
|
172
|
+
"mergedAt": "2026-10-20T19:38:40-06:00"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"build": "node scripts/build-dist.mjs",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"check-types": "tsc --noEmit && tsc --noEmit -p tsconfig.type-tests.json && tsc --noEmit -p tsconfig.examples.json && node scripts/generate-quickstart-examples.mjs --check",
|
|
178
178
|
"check-examples": "tsc -p tsconfig.examples.json && tsc -p tsconfig.worker-example.json",
|
|
179
179
|
"verify-dist": "bash scripts/verify-dist.sh",
|
|
180
|
-
"test": "vitest run",
|
|
180
|
+
"test": "pnpm run build && vitest run",
|
|
181
181
|
"test:watch": "vitest",
|
|
182
182
|
"test:coverage": "vitest run --coverage",
|
|
183
183
|
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|