@tangle-network/sandbox 1.0.255 → 1.0.257

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 (50) hide show
  1. package/dist/agent/index.d.ts +4 -4
  2. package/dist/agent/index.js +5 -5
  3. package/dist/agent/preview.d.ts +1 -1
  4. package/dist/agent/preview.js +1 -1
  5. package/dist/{agent-run-outcome-_WiyZ7bA.d.ts → agent-run-outcome-MAe7_H3W.d.ts} +2 -2
  6. package/dist/{api-request-v3vwqnyU.js → api-request-mCHGHzK4.js} +2 -2
  7. package/dist/{browser-interactive-control-controller-DS7pHEUa.d.ts → browser-interactive-control-controller-Bg7mWDLX.d.ts} +1 -1
  8. package/dist/{browser-interactive-control-controller-3C2Q02Pr.js → browser-interactive-control-controller-BlytXl7p.js} +1 -1
  9. package/dist/{chunked-upload-DghS4NcV.js → chunked-upload-D2S7tOJO.js} +1 -1
  10. package/dist/{chunked-upload-file-DAF94AqK.js → chunked-upload-file-CfuaCSja.js} +1 -1
  11. package/dist/{client-DwxKZt7o.d.ts → client-BHFiXEbD.d.ts} +35 -35
  12. package/dist/{client-CRdudgz_.js → client-eTVLZVif.js} +5 -5
  13. package/dist/collaboration/index.js +1 -1
  14. package/dist/{collaboration-BqXAJkba.js → collaboration-yCQDEv6g.js} +2 -2
  15. package/dist/core.d.ts +6 -6
  16. package/dist/core.js +5 -5
  17. package/dist/{error-catalog-CH_n2ubl.js → error-catalog-CWtp7Yg1.js} +1 -0
  18. package/dist/{errors-C4YhW-wf.js → errors-C0S3TzhR.js} +1 -1
  19. package/dist/{file-download-CB0_5puA.js → file-download-eolEOS2q.js} +1 -1
  20. package/dist/{index-DpiwU0xF.d.ts → index-BD6WUbYn.d.ts} +5 -5
  21. package/dist/index.d.ts +9 -9
  22. package/dist/index.js +11 -11
  23. package/dist/intelligence/index.js +3 -3
  24. package/dist/interactive-control.d.ts +1 -1
  25. package/dist/interactive-control.js +1 -1
  26. package/dist/{interactive-controller-BADgU7KA.d.ts → interactive-controller-B8kWmCQk.d.ts} +3 -3
  27. package/dist/{interactive-controller-Ct9E5jFI.js → interactive-controller-DZdunJmQ.js} +4 -4
  28. package/dist/{lines-BsGfDXqH.d.ts → lines-BENsM2VO.d.ts} +1 -1
  29. package/dist/{lines-0uTV6QCT.js → lines-NECw0OhS.js} +1 -1
  30. package/dist/lines.d.ts +1 -1
  31. package/dist/lines.js +1 -1
  32. package/dist/{mcp-local-BnDW5YXe.js → mcp-local-B3Xmnwgv.js} +2 -2
  33. package/dist/{preview-DYfda_GI.d.ts → preview-CpgTplqO.d.ts} +3 -3
  34. package/dist/{public-templates-X_oIyZXW.d.ts → public-templates-D5usZjs3.d.ts} +4 -4
  35. package/dist/public-templates.d.ts +1 -1
  36. package/dist/public-templates.js +1 -1
  37. package/dist/{raw-evidence-archive-NsHlYsny.js → raw-evidence-archive-D5tGsYDr.js} +1 -1
  38. package/dist/runtime.d.ts +5 -5
  39. package/dist/runtime.js +5 -5
  40. package/dist/{sandbox-uxal0u8q.js → sandbox-DcB01yf0.js} +24 -21
  41. package/dist/{select-seat-C8k25FUQ.js → select-seat-C-wBHEpm.js} +1 -1
  42. package/dist/select-seat-command.d.ts +2 -2
  43. package/dist/select-seat-command.js +2 -2
  44. package/dist/session-gateway/index.js +1 -1
  45. package/dist/tangle/index.d.ts +1 -1
  46. package/dist/tangle/index.js +1 -1
  47. package/dist/{tangle-C-qPySdG.js → tangle-Ca3Uft_E.js} +5 -4
  48. package/dist/{terminal-stream-types-CbtlD2UT.d.ts → terminal-stream-types-DLaXWiSA.d.ts} +1 -0
  49. package/dist/{types-DOJeAuvO.d.ts → types-CVWyS23f.d.ts} +1 -1
  50. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
- import { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-uxal0u8q.js";
2
- import { a as readResponseJson } from "./errors-C4YhW-wf.js";
3
- import { i as fetchSandboxApi } from "./api-request-v3vwqnyU.js";
1
+ import { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-DcB01yf0.js";
2
+ import { a as readResponseJson } from "./errors-C0S3TzhR.js";
3
+ import { i as fetchSandboxApi } from "./api-request-mCHGHzK4.js";
4
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
  /**
@@ -1344,7 +1344,8 @@ var BlueprintSandboxClient = class {
1344
1344
  status: 501,
1345
1345
  headers: { "Content-Type": "application/json" }
1346
1346
  });
1347
- const deleteMatch = path.split("?")[0].match(/^\/v1\/sandboxes\/([^/]+)$/);
1347
+ const [pathname = ""] = path.split("?", 1);
1348
+ const deleteMatch = pathname.match(/^\/v1\/sandboxes\/([^/]+)$/);
1348
1349
  if (deleteMatch && method === "DELETE") {
1349
1350
  const id = decodeURIComponent(requirePathGroup(deleteMatch, 1));
1350
1351
  const encoded = this.chain.encodeSandboxIdInputs(id);
@@ -3308,6 +3308,7 @@ declare const ERROR_CATALOG: {
3308
3308
  readonly EGRESS_PROXY_RECOVERY_REQUIRED: "409 final | The egress proxy lost the credentials it serves. | Recreate the sandbox to rematerialize its egress credentials.";
3309
3309
  readonly EGRESS_PROXY_SECRETS_UNAVAILABLE: "409 final | The egress proxy rebuild found no value for secrets the box still references. | Send the missing secrets the response names in one retry, or recreate the sandbox.";
3310
3310
  readonly EGRESS_IN_PLACE_RELOAD_UNAVAILABLE: "409 final | The egress proxy cannot be re-keyed without a restart. | Re-key once no agent turn is streaming, allowing a proxy restart.";
3311
+ readonly NATIVE_CREDENTIAL_SEAT_SWITCH_UNSUPPORTED: "409 final | The sandbox was created with a different subscription seat; a live box cannot switch seats. | Grant the seat the box was created with, or create a new sandbox naming the new seat.";
3311
3312
  readonly EXPIRED: "410 final | The token, decision or grant has expired. | Request a new one.";
3312
3313
  readonly PAYLOAD_TOO_LARGE: "413 final | The body or artifact is over its size limit. | Send a smaller body, or split it.";
3313
3314
  readonly NOT_CONNECTED: "424 final | A required integration connection is missing. | Connect the integration the message names, then retry.";
@@ -1,4 +1,4 @@
1
- import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-CbtlD2UT.js";
1
+ import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-DLaXWiSA.js";
2
2
  import { t as CliAuthReference } from "./cli-auth-bundle-eUl7Sa1x.js";
3
3
  import { z } from "zod";
4
4
  //#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "1.0.255",
3
+ "version": "1.0.257",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -153,15 +153,15 @@
153
153
  "vitest": "^4.1.12",
154
154
  "ws": "^8.22.0",
155
155
  "yjs": "13.6.33",
156
- "@repo/shared": "0.0.0",
157
156
  "@products/sandbox-test-utils": "0.0.0",
158
- "@tangle-network/cli-agent-registry": "0.15.0",
157
+ "@repo/shared": "0.0.0",
159
158
  "@tangle-network/agent-profile-materialize": "0.27.1",
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": "c9c94777cfcfd997fa2b5913e42c8c622fcd0850",
164
- "mergedAt": "2026-11-05T14:40:47-08:00"
163
+ "sourceSha": "a8b063becd35c2262c7a81a20194c61dd2113f62",
164
+ "mergedAt": "2026-11-05T15:01:37-08:00"
165
165
  },
166
166
  "scripts": {
167
167
  "build": "node scripts/build-dist.mjs",