@tangle-network/sandbox 1.0.336 → 1.0.337

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.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/dist/agent/index.d.ts +4 -4
  3. package/dist/agent/index.js +5 -5
  4. package/dist/agent/preview.d.ts +1 -1
  5. package/dist/agent/preview.js +1 -1
  6. package/dist/{agent-run-outcome-Cybd-m28.d.ts → agent-run-outcome-rT05CaY9.d.ts} +1 -1
  7. package/dist/{api-request-wlhgtcea.js → api-request-eyWxsFut.js} +2 -2
  8. package/dist/{browser-interactive-control-controller-o_LzX2TC.d.ts → browser-interactive-control-controller-45o0sl7B.d.ts} +1 -1
  9. package/dist/{browser-interactive-control-controller-MU7_6ULe.js → browser-interactive-control-controller-C_Dfvg3I.js} +1 -1
  10. package/dist/{chunked-upload-file-C4IP7e-e.js → chunked-upload-file-CWBAcU-r.js} +1 -1
  11. package/dist/{chunked-upload-PC8BNzoP.js → chunked-upload-wSXiVX7I.js} +1 -1
  12. package/dist/{client-5hw0MqBq.js → client-DXLTkppv.js} +5 -5
  13. package/dist/{client-Cv3Uslvn.d.ts → client-H_cy-nPd.d.ts} +5 -5
  14. package/dist/collaboration/index.js +1 -1
  15. package/dist/{collaboration-DCg_W9Kn.js → collaboration-D2y1XXOs.js} +2 -2
  16. package/dist/core.d.ts +6 -6
  17. package/dist/core.js +5 -5
  18. package/dist/{error-catalog-DPxKJnpi.js → error-catalog-CNOtcM0v.js} +1 -1
  19. package/dist/{errors-CHMFBW4p.js → errors-vuyhjefs.js} +1 -1
  20. package/dist/{file-download-DMk59Y2d.js → file-download-CdYQq4-A.js} +1 -1
  21. package/dist/gpu-lease/index.js +1 -1
  22. package/dist/{index-CuUyy_-_.d.ts → index-BOBO9J8y.d.ts} +5 -5
  23. package/dist/index.d.ts +9 -9
  24. package/dist/index.js +149 -11
  25. package/dist/intelligence/index.js +3 -3
  26. package/dist/interactive-control.d.ts +1 -1
  27. package/dist/interactive-control.js +1 -1
  28. package/dist/{interactive-controller-Bvi5m77Z.d.ts → interactive-controller-DGChFmrO.d.ts} +3 -3
  29. package/dist/{interactive-controller-D44tnoy7.js → interactive-controller-DOA7q5dz.js} +4 -4
  30. package/dist/{lines-BVWdK4Gb.d.ts → lines-D1YpNgeL.d.ts} +1 -1
  31. package/dist/{lines-lpmGFgOZ.js → lines-vZDk8YYb.js} +1 -1
  32. package/dist/lines.d.ts +1 -1
  33. package/dist/lines.js +1 -1
  34. package/dist/{mcp-local-CW_v3696.js → mcp-local-Q7I9M_CU.js} +2 -2
  35. package/dist/{preview-Bwfuk4YU.d.ts → preview-B45MzEE6.d.ts} +3 -3
  36. package/dist/{public-templates-zphoMOzL.d.ts → public-templates-mpkfRTBh.d.ts} +2 -2
  37. package/dist/public-templates.d.ts +1 -1
  38. package/dist/public-templates.js +1 -1
  39. package/dist/{raw-evidence-archive-C1-BRfUA.js → raw-evidence-archive-DM5sTcFG.js} +1 -1
  40. package/dist/runtime.d.ts +5 -5
  41. package/dist/runtime.js +5 -5
  42. package/dist/{sandbox-DN8Qk8p1.js → sandbox-BG5j4oiW.js} +12 -150
  43. package/dist/{select-seat-CFbaliNa.js → select-seat-LICdfnzm.js} +1 -1
  44. package/dist/select-seat-command.d.ts +2 -2
  45. package/dist/select-seat-command.js +2 -2
  46. package/dist/session-gateway/index.js +1 -1
  47. package/dist/tangle/index.d.ts +1 -1
  48. package/dist/tangle/index.js +1 -1
  49. package/dist/{tangle-CJmK3uL3.js → tangle-JWJOAn4f.js} +3 -3
  50. package/dist/{terminal-stream-types-PYRsYyUN.d.ts → terminal-stream-types-CygV-MYy.d.ts} +1 -1
  51. package/dist/{types-59X83OFN.d.ts → types-CGw0JyYZ.d.ts} +1 -1
  52. package/package.json +6 -6
@@ -1,5 +1,5 @@
1
- import { C as SandboxError, O as ValidationError } from "./errors-CHMFBW4p.js";
2
- import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-CFbaliNa.js";
1
+ import { C as SandboxError, O as ValidationError } from "./errors-vuyhjefs.js";
2
+ import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-LICdfnzm.js";
3
3
  import { spawn } from "node:child_process";
4
4
  //#region src/select-seat-command.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as combineAbortSignals } from "../abort-signal-BsriwJ8L.js";
2
- import { i as fetchSandboxApi } from "../api-request-wlhgtcea.js";
2
+ import { i as fetchSandboxApi } from "../api-request-eyWxsFut.js";
3
3
  import "../sidecar-proxy-error-DTdbCbUM.js";
4
4
  import { t as parseSSEStream } from "../sse-parser-BCG3iL9j.js";
5
5
  import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
@@ -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-CuUyy_-_.js";
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-BOBO9J8y.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 };
@@ -1,3 +1,3 @@
1
- import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-CJmK3uL3.js";
1
+ import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-JWJOAn4f.js";
2
2
  import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.js";
3
3
  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,6 +1,6 @@
1
- import { H as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-DN8Qk8p1.js";
2
- import { a as readResponseJson } from "./errors-CHMFBW4p.js";
3
- import { i as fetchSandboxApi } from "./api-request-wlhgtcea.js";
1
+ import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-BG5j4oiW.js";
2
+ import { a as readResponseJson } from "./errors-vuyhjefs.js";
3
+ import { i as fetchSandboxApi } from "./api-request-eyWxsFut.js";
4
4
  import { t as ITangleJobsAbi } from "./abi-pcDt2Adp.js";
5
5
  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-BvN0Mk3j.js";
6
6
  //#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
@@ -1218,7 +1218,7 @@ declare const ERROR_CATALOG: {
1218
1218
  readonly PLACEMENT_WARMING: "503 retry | The cell's controller has just started and has not heard a host yet. | Retry after the Retry-After interval.";
1219
1219
  readonly HOST_UNAVAILABLE: "503 retry | The host did not answer; the sandbox and its files remain. | Retry after the Retry-After interval.";
1220
1220
  readonly HOST_PRESSURE: "503 retry | The host was too busy to create the sandbox and created nothing. | Retry after the Retry-After interval.";
1221
- readonly HOST_AGENT_RESTARTING: "503 retry | The sandbox's host agent is inside a planned restart; the sandbox and its files remain. | Retry after the Retry-After interval.";
1221
+ readonly HOST_AGENT_RESTARTING: "503 retry | The sandbox's host agent is inside a planned restart and this request reached nothing; the sandbox and its files remain. | Resend it, whatever its method, after the Retry-After interval until the body's retryUntil.";
1222
1222
  readonly IN_BOX_DOCKER_UNAVAILABLE: "503 retry | Docker inside the sandbox is not available. | Retry, or create the sandbox with in-box Docker enabled.";
1223
1223
  readonly NO_IP: "503 retry | The sandbox has no network address yet. | Retry after the Retry-After interval.";
1224
1224
  readonly ROUTE_LOOKUP_FAILED: "503 retry | The host could not look up the sandbox route. | Retry after the Retry-After interval.";
@@ -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-PYRsYyUN.js";
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-CygV-MYy.js";
2
2
  import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, I as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments, z as PlanContinuation } from "./index-Dxxq7J79.js";
3
3
  import { r as CliAuthReference } from "./cli-auth-bundle-DTAVpYLy.js";
4
4
  import { z } from "zod";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "1.0.336",
3
+ "version": "1.0.337",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
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
- "@repo/shared": "0.0.0",
158
- "@tangle-network/runtime-contracts": "0.20.0",
159
157
  "@tangle-network/agent-profile-materialize": "0.27.1",
160
- "@tangle-network/cli-agent-registry": "0.15.0"
158
+ "@tangle-network/runtime-contracts": "0.20.0",
159
+ "@tangle-network/cli-agent-registry": "0.15.0",
160
+ "@repo/shared": "0.0.0"
161
161
  },
162
162
  "tangleRelease": {
163
- "sourceSha": "0be2b59c7d6938b2433649be9d0f9d65f333f235",
164
- "mergedAt": "2026-11-09T03:25:19-08:00"
163
+ "sourceSha": "911bbcc2a0301cc7b868a7c8ed7698bb285c5881",
164
+ "mergedAt": "2026-11-09T04:04:28-08:00"
165
165
  },
166
166
  "scripts": {
167
167
  "build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",