@tangle-network/sandbox 1.0.232 → 1.0.233
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-BJChICex.js +18 -0
- package/dist/agent-execution-preparation-receipt-BIFxqyr5.js +250 -0
- package/dist/{agent-run-outcome-MsLkgPNu.d.ts → agent-run-outcome-B0nURFpG.d.ts} +3 -2
- package/dist/{api-request-B0BPgzdp.js → api-request-dyabkosT.js} +4 -4
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-Bf-DbRCA.js → browser-interactive-control-controller-BM2p1dBp.js} +4 -250
- package/dist/{browser-interactive-control-controller-D17JJ8B0.d.ts → browser-interactive-control-controller-CcUjQEfa.d.ts} +1 -1
- package/dist/{chunked-upload-BGwaw5np.js → chunked-upload-BlvgxPWx.js} +3 -3
- package/dist/{chunked-upload-file-BnV8qgwV.js → chunked-upload-file-DOeLpMO0.js} +2 -2
- package/dist/cli-auth-bundle-BLAtE6Dc.js +2 -0
- package/dist/{client-CgZADtPk.js → client-BS-PR_-j.js} +14 -13
- package/dist/{client-BTpWpGs-.d.ts → client-DlTDphmI.d.ts} +7 -7
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-DneF_7bo.js → collaboration-Dz20mN9a.js} +2 -2
- package/dist/core-CUZyz-U8.js +161 -0
- package/dist/core.d.ts +6 -6
- package/dist/core.js +6 -5
- package/dist/{direct-http2-B5bdFrtg.js → direct-http2-Bgb2lHte.js} +1 -1
- package/dist/{errors-dK3-2RCh.js → errors-nXGKGVFe.js} +2 -2
- package/dist/{file-download-CUNdbymj.js → file-download-BjkrYzy_.js} +1 -1
- package/dist/{index-CHP8U613.d.ts → index-DE5n6mot.d.ts} +6 -6
- package/dist/index.d.ts +11 -11
- package/dist/index.js +14 -13
- package/dist/intelligence/index.d.ts +41 -109
- package/dist/intelligence/index.js +60 -73
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-Bs7VQ04W.js → interactive-controller-DDPdZa2H.js} +9 -6
- package/dist/{interactive-controller-DbNjY09X.d.ts → interactive-controller-sEU_J6Bc.d.ts} +3 -3
- package/dist/lib/prepared-evidence.js +1 -1
- package/dist/lib/prepared-process.js +1 -1
- package/dist/{lines-DtssoioA.js → lines-CSGBHEjR.js} +1 -1
- package/dist/{lines-n-mBURry.d.ts → lines-qvpmwN_2.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-8Ndf1jRw.js → local-cli-auth-CO0byocv.js} +1 -1
- package/dist/{mcp-local-tA5cB3zq.js → mcp-local-Dz_Sehz0.js} +4 -4
- package/dist/{prepared-evidence-DBE_xYjq.js → prepared-evidence-ibAysmX8.js} +2 -2
- package/dist/{prepared-process-B1kSkhn-.js → prepared-process-DQ_68Ofg.js} +2 -2
- package/dist/{preview-BHee3FzP.d.ts → preview-BC_wLaA2.d.ts} +3 -3
- package/dist/{public-templates-ZrUJ507X.d.ts → public-templates-WuvmbvzY.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-Cfy_3_3y.js → raw-evidence-archive-Cz4j8VMw.js} +2 -2
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-DOvm9OvM.js → sandbox-OyCRplrI.js} +27 -38
- package/dist/{secp256k1-DZM5U2gv.js → secp256k1-ZiYFbGjz.js} +1 -1
- package/dist/{core-Cxww35JL.js → select-seat-B4Y-7vIq.js} +40 -171
- package/dist/select-seat-command.d.ts +9 -3
- package/dist/select-seat-command.js +69 -57
- package/dist/session-gateway/index.js +4 -4
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DFmy_0hM.js → tangle-Crxw_6V-.js} +5 -5
- package/dist/{types-CuMa305b.d.ts → types-Cs5eJzOK.d.ts} +6 -2
- package/package.json +3 -3
- package/dist/cli-auth-bundle-DvmJ71bO.js +0 -2
- /package/dist/{abort-signal-C0_9B1Hm.js → abort-signal-CRxC2dlT.js} +0 -0
- /package/dist/{cli-auth-bundle-C6DtK7GX-Cjs6D-9c.js → cli-auth-bundle-C6DtK7GX-mBUPER0R.js} +0 -0
- /package/dist/{cli-auth-bundle-BE_EfLUx.d.ts → cli-auth-bundle-CjSu4D9W.d.ts} +0 -0
- /package/dist/{error-catalog-CGhVLVNq.js → error-catalog-CAbzw67O.js} +0 -0
- /package/dist/{file-transfer-CSL53pv9.js → file-transfer-DOSTbUSR.js} +0 -0
- /package/dist/{index-DsX2pOIn.d.ts → index-C-_HY5NY.d.ts} +0 -0
- /package/dist/{index-D0zHNMSe.d.ts → index-o31uwAkX.d.ts} +0 -0
- /package/dist/{keep-alive-fetch-C2DX2_rG.js → keep-alive-fetch-sGVP8skk.js} +0 -0
- /package/dist/{preview-operations-BBF0BNuZ.js → preview-operations-DWL78boI.js} +0 -0
- /package/dist/{retry-after-header-Bt-XvU-x.js → retry-after-header-BZbs5rig.js} +0 -0
- /package/dist/{retry-policy-CI5tyUGr.js → retry-policy-oW3_ljoc.js} +0 -0
- /package/dist/{sidecar-proxy-error-CeNM5eJj.js → sidecar-proxy-error-DTdbCbUM.js} +0 -0
- /package/dist/{sse-parser-CBQzZvkZ.js → sse-parser-BCG3iL9j.js} +0 -0
- /package/dist/{terminal-stream-types-NBdVKKFu.d.ts → terminal-stream-types-eE97lZ-5.d.ts} +0 -0
- /package/dist/{utils-DqiOGAK5.js → utils-BT2q9nkO.js} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { D as ValidationError, S as SandboxError } from "./errors-
|
|
1
|
+
import { D as ValidationError, S as SandboxError } from "./errors-nXGKGVFe.js";
|
|
2
|
+
import { n as SEAT_OWNER_MAX_RESPONSE_BYTES } from "./select-seat-B4Y-7vIq.js";
|
|
2
3
|
import { spawn } from "node:child_process";
|
|
3
4
|
//#region src/select-seat-command.ts
|
|
4
5
|
/**
|
|
@@ -17,7 +18,7 @@ import { spawn } from "node:child_process";
|
|
|
17
18
|
* @packageDocumentation
|
|
18
19
|
*/
|
|
19
20
|
/** Public reply bound; the owner prints one metadata object. */
|
|
20
|
-
const SEAT_COMMAND_MAX_RESPONSE_BYTES =
|
|
21
|
+
const SEAT_COMMAND_MAX_RESPONSE_BYTES = SEAT_OWNER_MAX_RESPONSE_BYTES;
|
|
21
22
|
const SEAT_COMMAND_TIMEOUT_MS = 3e4;
|
|
22
23
|
/** The owner command's exit contract: 0 selected, 75 capacity refusal, 78 permanent route refusal. */
|
|
23
24
|
const EXIT_STATUS = {
|
|
@@ -25,66 +26,77 @@ const EXIT_STATUS = {
|
|
|
25
26
|
75: 503,
|
|
26
27
|
78: 400
|
|
27
28
|
};
|
|
29
|
+
var SeatOwnerCommandError = class extends SandboxError {
|
|
30
|
+
constructor(message, exitCode = null, terminationSignal = null) {
|
|
31
|
+
super(message, {
|
|
32
|
+
code: "SEAT_SELECTION_UNCONFIRMED",
|
|
33
|
+
status: 502
|
|
34
|
+
});
|
|
35
|
+
this.exitCode = exitCode;
|
|
36
|
+
this.terminationSignal = terminationSignal;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
28
39
|
function commandSeatTransport(options) {
|
|
29
40
|
const [program, ...args] = options.command;
|
|
30
41
|
if (program === void 0 || options.command.some((part) => typeof part !== "string" || part.length === 0)) throw new ValidationError("Seat selection requires a configured account command");
|
|
31
42
|
const timeoutMs = options.timeoutMs ?? 3e4;
|
|
32
|
-
return (request, signal) =>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
43
|
+
return (request, signal) => {
|
|
44
|
+
const payload = JSON.stringify(request);
|
|
45
|
+
if (Buffer.byteLength(payload) > 8388608) return Promise.reject(new ValidationError("The account owner request exceeded its public bound"));
|
|
46
|
+
return new Promise((resolve, reject) => {
|
|
47
|
+
signal?.throwIfAborted();
|
|
48
|
+
const child = spawn(program, args, {
|
|
49
|
+
env: options.env ?? process.env,
|
|
50
|
+
shell: false,
|
|
51
|
+
stdio: [
|
|
52
|
+
"pipe",
|
|
53
|
+
"pipe",
|
|
54
|
+
"pipe"
|
|
55
|
+
]
|
|
56
|
+
});
|
|
57
|
+
let settled = false;
|
|
58
|
+
let size = 0;
|
|
59
|
+
const chunks = [];
|
|
60
|
+
const finish = (error, reply = null) => {
|
|
61
|
+
if (settled) return;
|
|
62
|
+
settled = true;
|
|
63
|
+
clearTimeout(timer);
|
|
64
|
+
signal?.removeEventListener("abort", abort);
|
|
65
|
+
if (error) {
|
|
66
|
+
child.kill("SIGKILL");
|
|
67
|
+
reject(error);
|
|
68
|
+
} else if (reply) resolve(reply);
|
|
69
|
+
};
|
|
70
|
+
const fail = (message, code = null, signal = null) => finish(new SeatOwnerCommandError(message, code, signal));
|
|
71
|
+
const abort = () => finish(signal?.reason instanceof Error ? signal.reason : /* @__PURE__ */ new Error("aborted"));
|
|
72
|
+
signal?.addEventListener("abort", abort, { once: true });
|
|
73
|
+
const timer = setTimeout(() => fail("The account owner command timed out"), timeoutMs);
|
|
74
|
+
child.stderr.resume();
|
|
75
|
+
child.stdin.on("error", () => fail("The account owner command refused its request"));
|
|
76
|
+
child.stdout.on("data", (chunk) => {
|
|
77
|
+
size += chunk.length;
|
|
78
|
+
if (size > SEAT_COMMAND_MAX_RESPONSE_BYTES) return fail("The account owner exceeded its public response bound");
|
|
79
|
+
chunks.push(chunk);
|
|
80
|
+
});
|
|
81
|
+
child.on("error", () => fail("The account owner command could not start"));
|
|
82
|
+
child.on("close", (code, terminationSignal) => {
|
|
83
|
+
const status = code === null ? void 0 : EXIT_STATUS[code];
|
|
84
|
+
if (status === void 0) return fail("The account owner could not establish eligible capacity", code, terminationSignal);
|
|
85
|
+
let body;
|
|
86
|
+
try {
|
|
87
|
+
body = JSON.parse(Buffer.concat(chunks).toString("utf8"));
|
|
88
|
+
} catch {
|
|
89
|
+
return finish(new ValidationError("The account owner returned invalid JSON"));
|
|
90
|
+
}
|
|
91
|
+
finish(null, {
|
|
92
|
+
ok: status === 200,
|
|
93
|
+
status,
|
|
94
|
+
body
|
|
95
|
+
});
|
|
84
96
|
});
|
|
97
|
+
child.stdin.end(payload);
|
|
85
98
|
});
|
|
86
|
-
|
|
87
|
-
});
|
|
99
|
+
};
|
|
88
100
|
}
|
|
89
101
|
//#endregion
|
|
90
|
-
export { SEAT_COMMAND_MAX_RESPONSE_BYTES, SEAT_COMMAND_TIMEOUT_MS, commandSeatTransport };
|
|
102
|
+
export { SEAT_COMMAND_MAX_RESPONSE_BYTES, SEAT_COMMAND_TIMEOUT_MS, SeatOwnerCommandError, commandSeatTransport };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as combineAbortSignals } from "../abort-signal-
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
3
|
-
import "../sidecar-proxy-error-
|
|
4
|
-
import { t as parseSSEStream } from "../sse-parser-
|
|
1
|
+
import { n as combineAbortSignals } from "../abort-signal-CRxC2dlT.js";
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-dyabkosT.js";
|
|
3
|
+
import "../sidecar-proxy-error-DTdbCbUM.js";
|
|
4
|
+
import { t as parseSSEStream } from "../sse-parser-BCG3iL9j.js";
|
|
5
5
|
import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/session-gateway.js
|
|
7
7
|
/**
|
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-DE5n6mot.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-Crxw_6V-.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,7 +1,7 @@
|
|
|
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-
|
|
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-
|
|
1
|
+
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-OyCRplrI.js";
|
|
2
|
+
import { a as readResponseJson } from "./errors-nXGKGVFe.js";
|
|
3
|
+
import { i as fetchSandboxApi } from "./api-request-dyabkosT.js";
|
|
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
|
/**
|
|
7
7
|
* Tangle blueprint wire contract shared by the orchestrator's Tangle driver and
|
|
@@ -2717,7 +2717,7 @@ function isAddressEqual(a, b) {
|
|
|
2717
2717
|
//#region ../../../node_modules/.pnpm/viem@2.57.11_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
2718
2718
|
async function recoverPublicKey({ hash, signature }) {
|
|
2719
2719
|
const hashHex = isHex(hash) ? hash : toHex(hash);
|
|
2720
|
-
const { secp256k1 } = await import("./secp256k1-
|
|
2720
|
+
const { secp256k1 } = await import("./secp256k1-ZiYFbGjz.js");
|
|
2721
2721
|
return `0x${(() => {
|
|
2722
2722
|
if (typeof signature === "object" && "r" in signature && "s" in signature) {
|
|
2723
2723
|
const { r, s, v, yParity } = signature;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as InteractionRequest, Dt as AgentProfileConfidential, Et as AgentProfileCapabilities, It as ProxySecretReceipt, Nt as AgentProfileValidationResult, Pt as ReasoningEffort, Rt as PlanContinuation, Tt as AgentProfile, Z as BatchBackendInput, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, nt as SandboxSizePreset, q as SandboxCreateReceipt, rt as AgentRuntimeAttachments, s as TerminalStreamToken, t as TerminalAttachTimings, yt as AgentExactRunControlRef } from "./terminal-stream-types-
|
|
2
|
-
import { t as CliAuthReference } from "./cli-auth-bundle-
|
|
1
|
+
import { Ct as InteractionRequest, Dt as AgentProfileConfidential, Et as AgentProfileCapabilities, It as ProxySecretReceipt, Nt as AgentProfileValidationResult, Pt as ReasoningEffort, Rt as PlanContinuation, Tt as AgentProfile, Z as BatchBackendInput, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, nt as SandboxSizePreset, q as SandboxCreateReceipt, rt as AgentRuntimeAttachments, s as TerminalStreamToken, t as TerminalAttachTimings, yt as AgentExactRunControlRef } from "./terminal-stream-types-eE97lZ-5.js";
|
|
2
|
+
import { t as CliAuthReference } from "./cli-auth-bundle-CjSu4D9W.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
|
5
5
|
/** This distribution's backend vocabulary. Gemini is only a backing transport, not a direct backend. */
|
|
@@ -2043,6 +2043,8 @@ interface PromptResult {
|
|
|
2043
2043
|
response?: string;
|
|
2044
2044
|
/** Error message when the run did not succeed */
|
|
2045
2045
|
error?: string;
|
|
2046
|
+
/** Failure metadata; the consuming provider validates its owning interface schema. */
|
|
2047
|
+
failure?: Readonly<Record<string, unknown>>;
|
|
2046
2048
|
/** Machine-readable error code from the runtime, e.g. `empty_visible_output`. */
|
|
2047
2049
|
errorCode?: string;
|
|
2048
2050
|
/** Native HTTP failure status when the provider reported it. */
|
|
@@ -4534,6 +4536,8 @@ interface CreateSandboxOptions {
|
|
|
4534
4536
|
ownerContext?: "inherit" | "isolated";
|
|
4535
4537
|
/** Require proven native session capture on the selected host. */
|
|
4536
4538
|
requireNativeSessionCapture?: boolean;
|
|
4539
|
+
/** Internal-owned ephemeral workspaces only; incompatible with capture or retained paths. */
|
|
4540
|
+
sessionCapture?: "discard";
|
|
4537
4541
|
/**
|
|
4538
4542
|
* Optional environment or container image override.
|
|
4539
4543
|
* Omit this field to use the server's default image.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.233",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "182382617cc538d30d0be31e52989e254a5cba8a",
|
|
164
|
+
"mergedAt": "2026-11-04T17:38:12-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|