@tangle-network/sandbox 0.59.0 → 0.60.0
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 +2 -2
- package/dist/agent/preview.js +54 -4
- package/dist/{agent-run-outcome-C45u1fzK.d.ts → agent-run-outcome-CBaBwtEo.d.ts} +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/{browser-interactive-control-controller-DRBQ-jf0.js → browser-interactive-control-controller-BJf0P_J4.js} +40 -3
- package/dist/{browser-interactive-control-controller-BzR8sFjo.d.ts → browser-interactive-control-controller-C2qVGzQz.d.ts} +7 -2
- package/dist/{cli-auth-bundle-CzmAaefZ.js → cli-auth-bundle-ChOdvrjd.js} +1 -1
- package/dist/{client-BbiV61Yy.js → client-8U6wuUY9.js} +5 -5
- package/dist/{client-DYgEM_h5.d.ts → client-DixtsEVX.d.ts} +4 -4
- package/dist/collaboration/index.js +1 -1
- package/dist/core.d.ts +4 -4
- package/dist/core.js +3 -3
- package/dist/{index-C8Y65I3y.d.ts → index-Cma6Iz3v.d.ts} +2 -2
- package/dist/index.d.ts +10 -9
- package/dist/index.js +8 -8
- package/dist/interactive-control.d.ts +2 -2
- package/dist/interactive-control.js +2 -2
- package/dist/{runtime-api-CACSOP5L.js → interactive-controller-CZpuKFMa.js} +836 -3
- package/dist/interactive-controller-Dghv9yMk.d.ts +40 -0
- package/dist/{lines-VAnaqs-K.d.ts → lines-CqurEIaM.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-ChDP5zu4.js → local-cli-auth-CdIM0B6p.js} +1 -1
- package/dist/{mcp-local-DY1CnWBn.js → mcp-local-BSvH4yAU.js} +1 -1
- package/dist/{preview-3G1piYer.d.ts → preview-BQOsoAEx.d.ts} +19 -6
- package/dist/runtime.d.ts +6 -3
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-D0-Q1vpS.d.ts → sandbox-CJt1v5Cj.d.ts} +9 -40
- package/dist/{sandbox-BJLb1q3b.js → sandbox-DSP2E-3S.js} +58 -854
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-Csb8unvj.js → tangle-DgmZElaI.js} +1 -1
- package/dist/{types-Br35Gfpw.d.ts → types-C8OQ8bzc.d.ts} +3 -2
- package/package.json +4 -4
- package/dist/abort-signal-BpYYr4JT.js +0 -31
- /package/dist/{collaboration-d8Xcvel7.js → collaboration-C1JAl5kE.js} +0 -0
- /package/dist/{line-application-9k30rhb2.js → line-application-DJYY1v8U.js} +0 -0
- /package/dist/{preview-operations-CbTiBE-a.js → preview-operations-BLsclF88.js} +0 -0
- /package/dist/{specs-CnqSWFNT-CHd9ACzP.js → specs-CnqSWFNT-i2wJxPoD.js} +0 -0
- /package/dist/{terminal-stream-CB2DF-qq.d.ts → terminal-stream-C9jxoB07.d.ts} +0 -0
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TangleSandboxClientConfig, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../index-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TangleSandboxClientConfig, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../index-Cma6Iz3v.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as JsonResponseParamTypes, d as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as SandboxCreateParamTypes, n as JOB_SANDBOX_CREATE, o as AgentSandboxBlueprintAbi, r as JOB_SANDBOX_DELETE, s as ITangleJobsAbi, t as TangleSandboxClient, u as SandboxCreateResponseParamTypes } from "../tangle-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as JsonResponseParamTypes, d as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as SandboxCreateParamTypes, n as JOB_SANDBOX_CREATE, o as AgentSandboxBlueprintAbi, r as JOB_SANDBOX_DELETE, s as ITangleJobsAbi, t as TangleSandboxClient, u as SandboxCreateResponseParamTypes } from "../tangle-DgmZElaI.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as parseErrorResponse } from "./errors-CKl_BSlD.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-DSP2E-3S.js";
|
|
3
3
|
//#region src/tangle/abi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Tangle Contract ABI Definitions
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as TerminalStreamHandlers, t as TerminalStream } from "./terminal-stream-
|
|
1
|
+
import { r as TerminalStreamHandlers, t as TerminalStream } from "./terminal-stream-C9jxoB07.js";
|
|
2
2
|
import { t as CliAuthReference } from "./cli-auth-bundle-gs7xEnA1.js";
|
|
3
3
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
4
4
|
import { AgentExactRunControlRef, AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileValidationResult, AgentRuntimeAttachments, HarnessType, ReasoningEffort, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
@@ -3229,7 +3229,8 @@ interface SandboxRuntimeCapabilities {
|
|
|
3229
3229
|
sendPrompt: boolean; /** Send terminal input to the existing TUI. */
|
|
3230
3230
|
input: boolean; /** Resize the existing TUI. */
|
|
3231
3231
|
resize: boolean; /** Stop the exact TUI session. */
|
|
3232
|
-
stop: boolean;
|
|
3232
|
+
stop: boolean; /** Start Claude Code with the CLI's subscription login in its private HOME. */
|
|
3233
|
+
claudeSubscription?: boolean;
|
|
3233
3234
|
};
|
|
3234
3235
|
}
|
|
3235
3236
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
108
|
"@tangle-network/agent-core": "^0.10.2",
|
|
109
|
-
"@tangle-network/agent-interface": "^2.
|
|
109
|
+
"@tangle-network/agent-interface": "^2.16.0",
|
|
110
110
|
"zod": "4.6.5"
|
|
111
111
|
},
|
|
112
112
|
"peerDependencies": {
|
|
@@ -148,10 +148,10 @@
|
|
|
148
148
|
"ws": "^8.20.0",
|
|
149
149
|
"yjs": "13.6.30",
|
|
150
150
|
"@repo/shared": "0.0.0",
|
|
151
|
-
"@tangle-network/agent-profile-materialize": "0.20.5",
|
|
152
151
|
"@tangle-network/cli-agent-registry": "0.4.17",
|
|
152
|
+
"@tangle-network/runtime-contracts": "0.11.0",
|
|
153
153
|
"@tangle-network/sse-core": "0.0.0",
|
|
154
|
-
"@tangle-network/
|
|
154
|
+
"@tangle-network/agent-profile-materialize": "0.20.5"
|
|
155
155
|
},
|
|
156
156
|
"scripts": {
|
|
157
157
|
"build": "node scripts/build-dist.mjs",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region src/lib/abort-signal.ts
|
|
2
|
-
function combineAbortSignals(signals) {
|
|
3
|
-
return AbortSignal.any(signals);
|
|
4
|
-
}
|
|
5
|
-
function awaitWithAbort(work, signal) {
|
|
6
|
-
if (!signal) return work;
|
|
7
|
-
signal.throwIfAborted();
|
|
8
|
-
return new Promise((resolve, reject) => {
|
|
9
|
-
let settled = false;
|
|
10
|
-
const onAbort = () => {
|
|
11
|
-
if (settled) return;
|
|
12
|
-
settled = true;
|
|
13
|
-
signal.removeEventListener("abort", onAbort);
|
|
14
|
-
reject(signal.reason ?? new DOMException("The request was aborted", "AbortError"));
|
|
15
|
-
};
|
|
16
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
17
|
-
work.then((value) => {
|
|
18
|
-
if (settled) return;
|
|
19
|
-
settled = true;
|
|
20
|
-
signal.removeEventListener("abort", onAbort);
|
|
21
|
-
resolve(value);
|
|
22
|
-
}, (cause) => {
|
|
23
|
-
if (settled) return;
|
|
24
|
-
settled = true;
|
|
25
|
-
signal.removeEventListener("abort", onAbort);
|
|
26
|
-
reject(cause);
|
|
27
|
-
});
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { combineAbortSignals as n, awaitWithAbort as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|