@tangle-network/sandbox 0.38.1 → 0.39.0

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 (35) hide show
  1. package/dist/agent/index.d.ts +3 -3
  2. package/dist/agent/index.js +4 -4
  3. package/dist/{agent-run-outcome-Bq1aHHPy.d.ts → agent-run-outcome-oEXhCh-O.d.ts} +1 -1
  4. package/dist/auth/index.d.ts +2 -2
  5. package/dist/auth/index.js +2 -1
  6. package/dist/{browser-interactive-control-controller-lRfzpg9t.d.ts → browser-interactive-control-controller-BELrFH4f.d.ts} +1 -1
  7. package/dist/cli-auth-bundle-DUsK57rK.js +25 -0
  8. package/dist/{client-eGeDzgEf.d.ts → client-CXb0D47L.d.ts} +13 -4
  9. package/dist/{client-mqBSqcXd.js → client-CfAcCFQh.js} +98 -13
  10. package/dist/collaboration/index.d.ts +1 -1
  11. package/dist/collaboration/index.js +1 -1
  12. package/dist/{collaboration-DQD9kCdN.js → collaboration-BKHF1SP8.js} +1 -1
  13. package/dist/core.d.ts +4 -4
  14. package/dist/core.js +3 -3
  15. package/dist/{errors-C6kn-3zt.js → errors-DrJySZQG.js} +30 -4
  16. package/dist/{errors-CQOvGddH.d.ts → errors-rp1GiVzL.d.ts} +23 -2
  17. package/dist/{index-Dace0mEd.d.ts → index-B88RBB1S.d.ts} +2 -2
  18. package/dist/{index-Bq_z_u6A.d.ts → index-C_2tEmR1.d.ts} +10 -1
  19. package/dist/index.d.ts +31 -32
  20. package/dist/index.js +7 -7
  21. package/dist/intelligence/index.js +1 -1
  22. package/dist/interactive-control.d.ts +1 -1
  23. package/dist/{local-cli-auth-CJmSpTjk.js → local-cli-auth-BAJuMBZU.js} +7 -5
  24. package/dist/{runtime-api-BcLo4lBU.js → runtime-api-B8uIpISe.js} +27 -3
  25. package/dist/runtime.d.ts +3 -3
  26. package/dist/runtime.js +2 -2
  27. package/dist/{sandbox-mTNH1V-j.js → sandbox-BwUEeVkk.js} +21 -5
  28. package/dist/{sandbox-DdaYTq_N.d.ts → sandbox-EqAbiXhz.d.ts} +11 -4
  29. package/dist/tangle/index.d.ts +1 -1
  30. package/dist/tangle/index.js +1 -1
  31. package/dist/{tangle-DtOSgw8n.js → tangle-BPlbGnxF.js} +2 -2
  32. package/dist/{types-DTDI3kek.d.ts → types-CVrkDpOF.d.ts} +6 -2
  33. package/package.json +5 -5
  34. /package/dist/{index-CMLW3u5K.d.ts → index-BzAxTiqF.d.ts} +0 -0
  35. /package/dist/{terminal-stream-5GNLCsms.d.ts → terminal-stream-CcaBTVg3.d.ts} +0 -0
@@ -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-Dace0mEd.js";
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-B88RBB1S.js";
2
2
  export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig };
@@ -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-DtOSgw8n.js";
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-BPlbGnxF.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
- import { m as parseErrorResponse } from "./errors-C6kn-3zt.js";
2
- import { n as createSandboxInstanceFromResponse } from "./sandbox-mTNH1V-j.js";
1
+ import { h as parseErrorResponse } from "./errors-DrJySZQG.js";
2
+ import { n as createSandboxInstanceFromResponse } from "./sandbox-BwUEeVkk.js";
3
3
  //#region src/tangle/abi.ts
4
4
  /**
5
5
  * Tangle Contract ABI Definitions
@@ -1,6 +1,6 @@
1
- import { r as TerminalStreamHandlers, t as TerminalStream } from "./terminal-stream-5GNLCsms.js";
1
+ import { r as TerminalStreamHandlers, t as TerminalStream } from "./terminal-stream-CcaBTVg3.js";
2
2
  import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
3
- import { AgentExactRunControlRef, AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileValidationResult, HarnessType, ReasoningEffort } from "@tangle-network/agent-interface";
3
+ import { AgentExactRunControlRef, AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileValidationResult, AgentRuntimeAttachments, HarnessType, ReasoningEffort } from "@tangle-network/agent-interface";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
@@ -2537,6 +2537,8 @@ interface PromptOptions {
2537
2537
  *
2538
2538
  * Set `backend.model` for a model override and `backend.profile` for an
2539
2539
  * inline provider-neutral `AgentProfile`.
2540
+ * Same-runtime overrides retain unspecified defaults. Changing the harness,
2541
+ * provider, or base URL replaces the default backend configuration.
2540
2542
  */
2541
2543
  backend?: Partial<BackendConfig>;
2542
2544
  /** Timeout in milliseconds */
@@ -4600,6 +4602,8 @@ interface McpServerConfig {
4600
4602
  * ```
4601
4603
  */
4602
4604
  interface BackendConfig {
4605
+ /** Runtime MCP bindings, separate from the authored profile. Headers may use secret references. */
4606
+ runtimeAttachments?: AgentRuntimeAttachments;
4603
4607
  /** Backend type identifier. Defaults to the platform's configured backend. */
4604
4608
  type?: BackendType;
4605
4609
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.38.1",
3
+ "version": "0.39.0",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -96,7 +96,7 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "@tangle-network/agent-core": "^0.9.6",
99
- "@tangle-network/agent-interface": "^2.0.0",
99
+ "@tangle-network/agent-interface": "^2.6.1",
100
100
  "zod": "4.5.4"
101
101
  },
102
102
  "peerDependencies": {
@@ -135,10 +135,10 @@
135
135
  "vitest": "^4.1.5",
136
136
  "ws": "^8.20.0",
137
137
  "yjs": "13.6.30",
138
- "@tangle-network/cli-agent-registry": "0.3.15",
139
- "@tangle-network/runtime-contracts": "0.6.5",
138
+ "@repo/shared": "0.0.0",
140
139
  "@tangle-network/sse-core": "0.0.0",
141
- "@repo/shared": "0.0.0"
140
+ "@tangle-network/cli-agent-registry": "0.4.0",
141
+ "@tangle-network/runtime-contracts": "0.6.6"
142
142
  },
143
143
  "scripts": {
144
144
  "build": "node scripts/build-dist.mjs",