@tangle-network/sandbox 1.0.485 → 1.0.487
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-run-outcome-wmOJkBuu.d.ts → agent-run-outcome-IWbQgIbt.d.ts} +1 -1
- package/dist/{api-request-DfzqU66n.js → api-request-BSleTpab.js} +9 -6
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-BkrBBtE_.js → browser-interactive-control-controller-BfbyLri9.js} +1 -1
- package/dist/{browser-interactive-control-controller-DPZh8xys.d.ts → browser-interactive-control-controller-CNqYrsK-.d.ts} +1 -1
- package/dist/{chunked-upload-C44d_Ao7.js → chunked-upload-C84EiOec.js} +1 -1
- package/dist/{chunked-upload-file-qXxstMmc.js → chunked-upload-file-CtoNGE4S.js} +1 -1
- package/dist/cli-auth-bundle-BZRV0Sjw.js +2 -0
- package/dist/{cli-auth-bundle-B8bx652V-hMsdeLuq.js → cli-auth-bundle-z1X_k0lF-CHfKGrQ-.js} +3 -3
- package/dist/{client-bVAAm37K.js → client-B2_jLjYj.js} +10 -10
- package/dist/{client-D6e4vd90.d.ts → client-CIp8gol6.d.ts} +6 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-DxHWb-GT.js → collaboration-YdSIT2fM.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +6 -6
- package/dist/{direct-http2-DJYOowWN.js → direct-http2-DiJOMM8k.js} +2 -2
- package/dist/{errors-BY7a-Hpw.js → errors-DVjaZqJT.js} +5 -1
- package/dist/{file-download-HPsIahnf.js → file-download-C6BO_rTp.js} +1 -1
- package/dist/gpu-lease/index.js +2 -2
- package/dist/{index-D3uEA1ED.d.ts → index-D7dMz_US.d.ts} +10 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +13 -13
- package/dist/intelligence/index.js +4 -4
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-DtGlf5GF.js → interactive-controller-BM65klVR.js} +6 -6
- package/dist/{interactive-controller-ezfsQCnx.d.ts → interactive-controller-RKI6dXBi.d.ts} +3 -3
- package/dist/{keep-alive-fetch-BQJJVjzW.js → keep-alive-fetch-D76rml5I.js} +1 -1
- package/dist/lib/prepared-evidence.js +1 -1
- package/dist/lib/prepared-process.js +1 -1
- package/dist/{lines-DB6fXGdG.d.ts → lines-DkfkbLSV.d.ts} +1 -1
- package/dist/{lines-BWUWIrxa.js → lines-N7p7PrZ1.js} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-DAJ9tyf-.js → local-cli-auth-CbldA52D.js} +1 -1
- package/dist/{mcp-local-DS4hFmzr.js → mcp-local-BXZul5nd.js} +3 -3
- package/dist/{prepared-evidence-u9A1AZdG.js → prepared-evidence-BMADfSad.js} +1 -1
- package/dist/{prepared-process-CD-MjClN.js → prepared-process-B4DuLmEg.js} +1 -1
- package/dist/{preview-csKniGVD.d.ts → preview-Bf1nPEqQ.d.ts} +3 -3
- package/dist/{public-templates-YC2MMA7v.d.ts → public-templates-maL22HQt.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-C7eYWtMG.js → raw-evidence-archive-B7_0tFYq.js} +3 -3
- package/dist/retry-after-header-DyAWSQ4m.js +24 -0
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-Dnmxn9U3.js → sandbox-BNlmFt8n.js} +140 -87
- package/dist/{secp256k1-B2arMxku.js → secp256k1-DIwypP5B.js} +1 -1
- package/dist/{select-seat-43fsQBjG.js → select-seat-Bm8THMSh.js} +3 -3
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +2 -2
- package/dist/session-gateway/index.js +3 -3
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +2 -2
- package/dist/{tangle-Brz73sjb.js → tangle-Dld1JKjX.js} +6 -6
- package/dist/{terminal-stream-types-BItnV5cg.d.ts → terminal-stream-types-RAsy75gD.d.ts} +2 -0
- package/dist/{trace-id-BTa6Db_2.js → trace-id-BwKjBM-q.js} +1 -1
- package/dist/{types-CD82H77t.d.ts → types-5by8R76_.d.ts} +8 -2
- package/package.json +4 -4
- package/dist/cli-auth-bundle-BtGqWSts.js +0 -2
- package/dist/retry-after-header-BZbs5rig.js +0 -13
- package/dist/sidecar-proxy-error-DVVfeGIP.js +0 -4
- /package/dist/{abi-CQYNCS4F.js → abi-pcDt2Adp.js} +0 -0
- /package/dist/{core-BWiEs9yv.js → core-CBWUEURz.js} +0 -0
- /package/dist/{preview-operations-DYH3y0cn.js → preview-operations-BTHZR1w2.js} +0 -0
- /package/dist/{raw-evidence-export-gCbAD5ZV.js → raw-evidence-export-Dog7W5zP.js} +0 -0
- /package/dist/{sse-parser-DTgSRcZC.js → sse-parser-BCG3iL9j.js} +0 -0
- /package/dist/{utils-fYi8g-M-.js → utils-BvN0Mk3j.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-RAsy75gD.js";
|
|
2
2
|
import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index-V_pXOH3B.js";
|
|
3
3
|
import { r as CliAuthReference } from "./cli-auth-bundle-Dx3AAWdJ.js";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -3358,6 +3358,8 @@ interface WriteManyFile extends Pick<WriteFileOptions, "mode" | "encoding" | "if
|
|
|
3358
3358
|
content: string;
|
|
3359
3359
|
}
|
|
3360
3360
|
interface WriteFileOptions {
|
|
3361
|
+
/** Cancel the write request. */
|
|
3362
|
+
signal?: AbortSignal;
|
|
3361
3363
|
/** Unix mode bits applied after write, e.g. 0o755. */
|
|
3362
3364
|
mode?: number;
|
|
3363
3365
|
encoding?: "utf8" | "base64";
|
|
@@ -3377,9 +3379,13 @@ interface WriteFileOptions {
|
|
|
3377
3379
|
ifAbsent?: boolean;
|
|
3378
3380
|
}
|
|
3379
3381
|
interface WriteManyOptions {
|
|
3382
|
+
/** Cancel file writes and paced retries. */
|
|
3383
|
+
signal?: AbortSignal;
|
|
3384
|
+
/** Absolute deadline (Unix milliseconds) shared by all batches in the operation. */
|
|
3385
|
+
deadlineAt?: number;
|
|
3380
3386
|
/** Delay between batch requests or sequential writes. Default 0. */
|
|
3381
3387
|
paceMs?: number;
|
|
3382
|
-
/**
|
|
3388
|
+
/** Maximum resends per write. The batch transport retains its default when omitted. */
|
|
3383
3389
|
maxRetries?: number;
|
|
3384
3390
|
}
|
|
3385
3391
|
interface FileSystem {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.487",
|
|
4
4
|
"description": "TypeScript SDK for Tangle Sandbox: create cloud sandboxes and run commands and coding agents in them",
|
|
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
157
|
"@repo/shared": "0.0.0",
|
|
158
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
159
159
|
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
160
|
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-19T18:
|
|
163
|
+
"sourceSha": "4ff41a929144ee1fe61c013253eeb73837d9e061",
|
|
164
|
+
"mergedAt": "2026-11-19T18:41:18-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/lib/retry-after-header.mjs
|
|
2
|
-
/** Raw HTTP Retry-After parsing shared by SDK errors and optional prepared-resource pacing. */
|
|
3
|
-
function parseSandboxRetryAfterHeader(rawValue) {
|
|
4
|
-
if (!rawValue) return void 0;
|
|
5
|
-
const trimmed = rawValue.trim();
|
|
6
|
-
if (!trimmed) return void 0;
|
|
7
|
-
const seconds = Number(trimmed);
|
|
8
|
-
if (Number.isFinite(seconds)) return Math.max(0, seconds) * 1e3;
|
|
9
|
-
const targetTs = Date.parse(trimmed);
|
|
10
|
-
if (!Number.isNaN(targetTs)) return Math.max(0, targetTs - Date.now());
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { parseSandboxRetryAfterHeader as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|