@tangle-network/sandbox 1.0.151 → 1.0.153

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 (41) hide show
  1. package/dist/agent/index.d.ts +4 -4
  2. package/dist/agent/index.js +3 -3
  3. package/dist/agent/preview.d.ts +1 -1
  4. package/dist/agent/preview.js +1 -1
  5. package/dist/{agent-run-outcome-YZOY61uG.d.ts → agent-run-outcome-CbQYfrfR.d.ts} +2 -2
  6. package/dist/auth/index.js +2 -2
  7. package/dist/{browser-interactive-control-controller-CRCRI6x5.js → browser-interactive-control-controller-C6GiIQZF.js} +15 -15
  8. package/dist/{browser-interactive-control-controller-DdtXzO5r.d.ts → browser-interactive-control-controller-CP5PDJK8.d.ts} +1 -1
  9. package/dist/{cli-auth-bundle-DF3PK8iC-DrtpxJ_t.js → cli-auth-bundle-D8Wu1H1c-CIFKakKy.js} +39 -33
  10. package/dist/cli-auth-bundle-N92SqZUI.js +2 -0
  11. package/dist/{client-CXoRiPqY.d.ts → client-COEPtvS9.d.ts} +5 -5
  12. package/dist/{client-BpDtlFDQ.js → client-QgAgHDT4.js} +6 -10
  13. package/dist/{core-vjPhSRwO.js → core-DHgXejOs.js} +4 -4
  14. package/dist/core.d.ts +6 -6
  15. package/dist/core.js +3 -3
  16. package/dist/{harness-BhAJqO2u.js → harness-DMaNgn0S.js} +4 -4
  17. package/dist/{index-Vn_rYk5C.d.ts → index-Xfxbbfh8.d.ts} +5 -5
  18. package/dist/index.d.ts +9 -9
  19. package/dist/index.js +7 -7
  20. package/dist/interactive-control.d.ts +1 -1
  21. package/dist/interactive-control.js +1 -1
  22. package/dist/{interactive-controller-C1UItRXC.js → interactive-controller-BVsAnr6o.js} +4 -4
  23. package/dist/{interactive-controller-gJULGNKn.d.ts → interactive-controller-CNwiIdK5.d.ts} +3 -3
  24. package/dist/{lines-9g9dTW5t.d.ts → lines-Bfy9d9L9.d.ts} +1 -1
  25. package/dist/lines.d.ts +1 -1
  26. package/dist/{local-cli-auth-9-yeJf61.js → local-cli-auth-or4kRYUS.js} +1 -1
  27. package/dist/{preview-D-uzBtP0.d.ts → preview-DKr-qLk6.d.ts} +3 -3
  28. package/dist/{profile-schema-Y5Xl8aOt.js → profile-schema-C1KpT-wS.js} +13 -16
  29. package/dist/{public-templates-DAp2vpqB.d.ts → public-templates-B5x_-DED.d.ts} +2 -2
  30. package/dist/public-templates.d.ts +1 -1
  31. package/dist/runtime.d.ts +5 -5
  32. package/dist/runtime.js +2 -2
  33. package/dist/{sandbox-DSq5wR-6.js → sandbox-bWRanOKP.js} +192 -40
  34. package/dist/select-seat-command.d.ts +1 -1
  35. package/dist/tangle/index.d.ts +1 -1
  36. package/dist/tangle/index.js +1 -1
  37. package/dist/{tangle-CZxvfOpr.js → tangle-EconMBgP.js} +1 -1
  38. package/dist/{terminal-stream-types-5kBchrj3.d.ts → terminal-stream-types-D0caxkTH.d.ts} +14 -14
  39. package/dist/{types-CeTsbEjb.d.ts → types-D11H6atN.d.ts} +9 -3
  40. package/package.json +6 -6
  41. package/dist/cli-auth-bundle-D6NcQKP9.js +0 -2
@@ -1,4 +1,4 @@
1
- import { $ as ProxySecretReceipt, At as SandboxCreateReceipt, G as AgentProfileConfidential, L as AgentExactRunControlRef, Q as ReasoningEffort, U as AgentProfile, V as InteractionRequest, W as AgentProfileCapabilities, Z as AgentProfileValidationResult, a as TerminalStreamOptions, b as SandboxSizePreset, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings, tt as PlanContinuation, x as AgentRuntimeAttachments } from "./terminal-stream-types-5kBchrj3.js";
1
+ import { $ as ProxySecretReceipt, At as SandboxCreateReceipt, G as AgentProfileConfidential, L as AgentExactRunControlRef, Q as ReasoningEffort, U as AgentProfile, V as InteractionRequest, W as AgentProfileCapabilities, Z as AgentProfileValidationResult, a as TerminalStreamOptions, b as SandboxSizePreset, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings, tt as PlanContinuation, x as AgentRuntimeAttachments } from "./terminal-stream-types-D0caxkTH.js";
2
2
  import { t as CliAuthReference } from "./cli-auth-bundle-COQ25k3d.js";
3
3
  import { z } from "zod";
4
4
  //#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
@@ -3185,7 +3185,11 @@ interface PromptResult {
3185
3185
  durationMs: number;
3186
3186
  /** Token usage */
3187
3187
  usage?: TokenUsage;
3188
- /** The harness's own model-cost estimate at its own prices, not a charge. */
3188
+ /**
3189
+ * What the Platform ledger charged this sandbox's model calls during the
3190
+ * turn (Router-billed), read when the turn ended. Undefined when the ledger
3191
+ * cannot be read or another turn on the same box overlapped this one.
3192
+ */
3189
3193
  costUsd?: number;
3190
3194
  /**
3191
3195
  * A bounded turn's upstream model calls as the runtime's model proxy
@@ -3728,6 +3732,8 @@ interface HttpClient {
3728
3732
  timeoutMs?: number;
3729
3733
  }): Promise<Response>;
3730
3734
  getApiKey?(): string | undefined;
3735
+ /** Fetch a Platform API path with this client's key (the billing ledger). */
3736
+ platformFetch?(path: string, options?: RequestInit): Promise<Response>;
3731
3737
  getBaseUrl?(): string | undefined;
3732
3738
  /** Receives the SDK's timing spans; see `SandboxConfig.onTiming`. */
3733
3739
  readonly onTiming?: SdkTimingHook | undefined;
@@ -6623,7 +6629,7 @@ interface FleetAgentResult extends SandboxFleetAgent {
6623
6629
  /**
6624
6630
  * What the Platform has charged this agent's sandbox, its model calls and
6625
6631
  * compute, read from the ledger when the run finished. Set only for an agent
6626
- * alone on its sandbox; `result.costUsd` is the harness's own estimate.
6632
+ * alone on its sandbox; `result.costUsd` is its turn's model charges alone.
6627
6633
  */
6628
6634
  costUsd?: number;
6629
6635
  durationMs: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "1.0.151",
3
+ "version": "1.0.153",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "dependencies": {
111
111
  "@tangle-network/agent-core": "^1.0.0",
112
- "@tangle-network/agent-interface": "^5.10.9",
112
+ "@tangle-network/agent-interface": "^5.10.13",
113
113
  "@tangle-network/agent-trace-contract": "^2.2.0",
114
114
  "tar-stream": "3.2.1",
115
115
  "zod": "^4.6.6"
@@ -153,15 +153,15 @@
153
153
  "vitest": "^4.1.12",
154
154
  "ws": "^8.22.0",
155
155
  "yjs": "13.6.33",
156
+ "@tangle-network/agent-profile-materialize": "0.27.1",
157
+ "@repo/shared": "0.0.0",
156
158
  "@products/sandbox-test-utils": "0.0.0",
157
159
  "@tangle-network/cli-agent-registry": "0.15.0",
158
- "@repo/shared": "0.0.0",
159
- "@tangle-network/agent-profile-materialize": "0.27.1",
160
160
  "@tangle-network/runtime-contracts": "0.20.0"
161
161
  },
162
162
  "tangleRelease": {
163
- "sourceSha": "92b8ac3234515337008cf66f2715c4c5661453a5",
164
- "mergedAt": "2026-10-31T03:47:48-06:00"
163
+ "sourceSha": "99d6aca102608d03c0496f5a031e3f6ae5aa37e7",
164
+ "mergedAt": "2026-10-31T06:25:35-06:00"
165
165
  },
166
166
  "scripts": {
167
167
  "build": "node scripts/build-dist.mjs",
@@ -1,2 +0,0 @@
1
- import "./cli-auth-bundle-DF3PK8iC-DrtpxJ_t.js";
2
- export {};