@tangle-network/sandbox 0.59.0 → 0.60.1
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-Cs5H4B3s.d.ts} +2 -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-BRocAWYy.js} +5 -5
- package/dist/{client-DYgEM_h5.d.ts → client-DGwZ0Swl.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-CcMKzCk4.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-DV1HT3NR.js} +850 -8
- package/dist/interactive-controller-Dghv9yMk.d.ts +40 -0
- package/dist/{lines-VAnaqs-K.d.ts → lines-CHK_7gLO.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-DNx_ik7Y.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-BsEk7BTy.d.ts} +9 -40
- package/dist/{sandbox-BJLb1q3b.js → sandbox-BsJecVCj.js} +61 -855
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-Csb8unvj.js → tangle-DKaBCad0.js} +1 -1
- package/dist/{types-Br35Gfpw.d.ts → types-BQlqLwrK.d.ts} +7 -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-CcMKzCk4.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-DKaBCad0.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-BsJecVCj.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";
|
|
@@ -2615,6 +2615,8 @@ interface PromptResult {
|
|
|
2615
2615
|
error?: string;
|
|
2616
2616
|
/** Machine-readable error code from the runtime, e.g. `empty_visible_output`. */
|
|
2617
2617
|
errorCode?: string;
|
|
2618
|
+
/** Native HTTP failure status when the provider reported it. */
|
|
2619
|
+
statusCode?: number;
|
|
2618
2620
|
/** Tool calls the agent made this run, including failures (`isError`). */
|
|
2619
2621
|
toolInvocations?: AgentToolInvocation[];
|
|
2620
2622
|
/** Set when `status === "blocked_on_approval"`. */
|
|
@@ -3229,7 +3231,8 @@ interface SandboxRuntimeCapabilities {
|
|
|
3229
3231
|
sendPrompt: boolean; /** Send terminal input to the existing TUI. */
|
|
3230
3232
|
input: boolean; /** Resize the existing TUI. */
|
|
3231
3233
|
resize: boolean; /** Stop the exact TUI session. */
|
|
3232
|
-
stop: boolean;
|
|
3234
|
+
stop: boolean; /** Start Claude Code with the CLI's subscription login in its private HOME. */
|
|
3235
|
+
claudeSubscription?: boolean;
|
|
3233
3236
|
};
|
|
3234
3237
|
}
|
|
3235
3238
|
/**
|
|
@@ -3293,6 +3296,8 @@ interface SessionFailureReason {
|
|
|
3293
3296
|
message: string;
|
|
3294
3297
|
/** Machine-readable code when the runtime classified the failure. */
|
|
3295
3298
|
code?: string;
|
|
3299
|
+
/** Native HTTP failure status when the provider reported it. */
|
|
3300
|
+
statusCode?: number;
|
|
3296
3301
|
/** Execution whose failure this describes. */
|
|
3297
3302
|
executionId?: string;
|
|
3298
3303
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.1",
|
|
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": {
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
"yjs": "13.6.30",
|
|
150
150
|
"@repo/shared": "0.0.0",
|
|
151
151
|
"@tangle-network/agent-profile-materialize": "0.20.5",
|
|
152
|
+
"@tangle-network/runtime-contracts": "0.11.0",
|
|
152
153
|
"@tangle-network/cli-agent-registry": "0.4.17",
|
|
153
|
-
"@tangle-network/sse-core": "0.0.0"
|
|
154
|
-
"@tangle-network/runtime-contracts": "0.11.0"
|
|
154
|
+
"@tangle-network/sse-core": "0.0.0"
|
|
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
|