From 34fc68b513b200f296f17fdba16a7ea240c38d9b Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Tue, 15 Sep 2026 20:40:31 -0700 Subject: [PATCH] fix(sandbox): support the 0.40 SDK cohort --- CHANGELOG.md | 6 ++++++ bench/CHANGELOG.md | 4 ++++ bench/package.json | 2 +- docs/api/primitive-catalog.md | 2 +- docs/canonical-api.md | 4 ++-- package.json | 4 ++-- pnpm-lock.yaml | 14 +++++++------- pnpm-workspace.yaml | 2 +- .../fixtures/agent-improvement-proposal.json | 10 +++++----- .../agent-profile-improvement-proposal.json | 6 +++--- 10 files changed, 32 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 374c6d8b..0b35993d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.229.1 + +Allow Sandbox 0.40.x beside Runtime without a consumer dependency override. +The supported range is now `>=0.36.4 <0.41.0`. +The existing package checks exercise the oldest supported release and the 0.40 release line. + ## 0.229.0 - A settlement can now say whether a sandbox child's own harness transcript survived diff --git a/bench/CHANGELOG.md b/bench/CHANGELOG.md index a23276ee..b23db25a 100644 --- a/bench/CHANGELOG.md +++ b/bench/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.13.1 + +Allow Sandbox 0.40.x and consume Runtime 0.229.1 through the published dependency ranges. + ## 0.13.0 Remove the SWE and quant research campaign drivers, their historical fixtures, and the campaign-specific rollout ledger bridge from the source package. diff --git a/bench/package.json b/bench/package.json index 474aecd5..d29f8383 100644 --- a/bench/package.json +++ b/bench/package.json @@ -1,6 +1,6 @@ { "name": "@tangle-network/agent-bench", - "version": "0.13.0", + "version": "0.13.1", "type": "module", "description": "Benchmark adapters and execution for agent-runtime across coding, tool-use, RAG, memory, browser, and terminal tasks.", "repository": { diff --git a/docs/api/primitive-catalog.md b/docs/api/primitive-catalog.md index b0a563f5..acc5bc64 100644 --- a/docs/api/primitive-catalog.md +++ b/docs/api/primitive-catalog.md @@ -7,7 +7,7 @@ # Primitive catalog — the never-stale anti-reinvention inventory -> **GENERATED** from `@tangle-network/agent-runtime@0.229.0` and `@tangle-network/agent-eval@0.182.0` by `scripts/gen-primitive-catalog.mjs`. Do NOT hand-edit — run `pnpm run docs:api`. This is the mechanical companion to the JUDGMENT in `canonical-api.md` (§2 decision table + §1.5 AgentProfile law): that doc says WHICH primitive to reach for and what NOT to build; this catalog proves WHAT exists. Per-symbol signatures + `file:line` live in the per-module pages under `docs/api/`. +> **GENERATED** from `@tangle-network/agent-runtime@0.229.1` and `@tangle-network/agent-eval@0.182.0` by `scripts/gen-primitive-catalog.mjs`. Do NOT hand-edit — run `pnpm run docs:api`. This is the mechanical companion to the JUDGMENT in `canonical-api.md` (§2 decision table + §1.5 AgentProfile law): that doc says WHICH primitive to reach for and what NOT to build; this catalog proves WHAT exists. Per-symbol signatures + `file:line` live in the per-module pages under `docs/api/`. ## 1. agent-runtime — own public surface diff --git a/docs/canonical-api.md b/docs/canonical-api.md index 3fc009a2..42e73991 100644 --- a/docs/canonical-api.md +++ b/docs/canonical-api.md @@ -4,10 +4,10 @@ Generated signatures and the complete export list live in docs/api/. Run pnpm docs:freshness after editing this file. --> -> **Version 0.229.0.** +> **Version 0.229.1.** > [`docs/api/primitive-catalog.md`](./api/primitive-catalog.md) lists every export and import path. > `agent-eval` must satisfy `>=0.182.0 <0.183.0`. -> `sandbox` must satisfy `>=0.36.4 <0.40.0`. +> `sandbox` must satisfy `>=0.36.4 <0.41.0`. > Portable profile and tool-part types come from `@tangle-network/agent-interface` `^2.6.0`. > > **`./kernel` is the execution kernel**: `package.json` maps it to `src/runtime/index.ts`. Everything below labelled `/kernel` lives there — the recursive atom (`Scope`/`Supervisor`), the executor registry, budget conservation, the finalizer seam, analyst wiring, and the round-synchronous loop. diff --git a/package.json b/package.json index 9ed4e73a..289d99e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tangle-network/agent-runtime", - "version": "0.229.0", + "version": "0.229.1", "description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.", "homepage": "https://github.com/tangle-network/agent-runtime#readme", "repository": { @@ -157,7 +157,7 @@ "peerDependencies": { "@tangle-network/agent-eval": ">=0.182.0 <0.183.0", "@tangle-network/agent-interface": "^2.6.0", - "@tangle-network/sandbox": ">=0.36.4 <0.40.0" + "@tangle-network/sandbox": ">=0.36.4 <0.41.0" }, "dependencies": { "@tangle-network/agent-core": "catalog:", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f313eb4e..56dc6c99 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ catalogs: specifier: ^1.0.2 version: 1.0.2 '@tangle-network/sandbox': - specifier: '>=0.36.4 <0.40.0' - version: 0.39.0 + specifier: '>=0.36.4 <0.41.0' + version: 0.40.2 '@types/node': specifier: 26.4.0 version: 26.4.0 @@ -86,7 +86,7 @@ importers: version: 2.6.0 '@tangle-network/sandbox': specifier: 'catalog:' - version: 0.39.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4))(viem@2.54.6(typescript@6.0.3)(zod@4.5.4)) + version: 0.40.2(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4))(viem@2.54.6(typescript@6.0.3)(zod@4.5.4)) '@types/node': specifier: 'catalog:' version: 26.4.0 @@ -146,7 +146,7 @@ importers: version: link:.. '@tangle-network/sandbox': specifier: 'catalog:' - version: 0.39.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4))(viem@2.54.6(typescript@6.0.3)(zod@4.5.4)) + version: 0.40.2(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4))(viem@2.54.6(typescript@6.0.3)(zod@4.5.4)) devDependencies: '@arethetypeswrong/cli': specifier: 'catalog:' @@ -1324,8 +1324,8 @@ packages: '@tangle-network/agent-trace-contract@1.0.2': resolution: {integrity: sha512-v7uMh56jkEp4vckevEU9xKsIatbs5dqzGPp69dFLSSXUVit0RP6VD6EANMXVlTCUk+6wVKBLHJx23XspVCEiIA==} - '@tangle-network/sandbox@0.39.0': - resolution: {integrity: sha512-UWfttDh+oAOC4qpvhPB+gjpsX4KORJ8vzpSFmqRCRYsP1SEYLgk2F7RFO3yTe1G3s3MM/AU6muGswoPAxJxtHQ==} + '@tangle-network/sandbox@0.40.2': + resolution: {integrity: sha512-QvniJ2OuEG0AAxOolb+tUiFtzDBvI6/FdOpEKgvjeDue6elLsRB+dCF+3TFtBVwu9kgC0IrSIYLBKV/TXMW9UQ==} peerDependencies: '@mastra/core': ^1.36.0 '@modelcontextprotocol/sdk': ^1.30.0 @@ -3610,7 +3610,7 @@ snapshots: '@tangle-network/agent-trace-contract@1.0.2': {} - '@tangle-network/sandbox@0.39.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4))(viem@2.54.6(typescript@6.0.3)(zod@4.5.4))': + '@tangle-network/sandbox@0.40.2(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4))(viem@2.54.6(typescript@6.0.3)(zod@4.5.4))': dependencies: '@tangle-network/agent-core': 0.9.6(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.5.4)) '@tangle-network/agent-interface': 2.8.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 012f54e2..eff75a43 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -28,7 +28,7 @@ catalog: '@tangle-network/agent-knowledge': ^17.0.1 '@tangle-network/agent-profile-materialize': '>=0.19.0 <0.20.0' '@tangle-network/agent-trace-contract': ^1.0.2 - '@tangle-network/sandbox': '>=0.36.4 <0.40.0' + '@tangle-network/sandbox': '>=0.36.4 <0.41.0' publint: 0.3.24 tsdown: 0.22.14 tsx: 4.23.12 diff --git a/src/testing/fixtures/agent-improvement-proposal.json b/src/testing/fixtures/agent-improvement-proposal.json index 04676d99..006d951c 100644 --- a/src/testing/fixtures/agent-improvement-proposal.json +++ b/src/testing/fixtures/agent-improvement-proposal.json @@ -1,6 +1,6 @@ { "changedSurfaces": ["prompt"], - "digest": "sha256:d919d82d0c32b394f2aa10eedeba5a6c96c03efc21e4c0035d6482938124fadf", + "digest": "sha256:ad8cbb157420f0c25f8f7184d18c38643f66e80cb639f648e9ed63fedf1a986d", "evaluation": { "decision": { "contributingChecks": [ @@ -4882,7 +4882,7 @@ ], "metadata": { "fixture": "agent-improvement-proposal", - "runtimeVersion": "0.229.0" + "runtimeVersion": "0.229.1" }, "objectives": [ { @@ -4993,8 +4993,8 @@ "baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09", "candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693", "kind": "agent-eval-loop", - "recordDigest": "sha256:5decf029a05932d379bcdfcfe1732ff756ec74f722afd834b86c1bd9351a9b3e", - "runId": "agent-runtime-0.229.0-proposal-fixture", + "recordDigest": "sha256:9e85c341ea207ffe55e0b1d9beefe606ce61a082f0436e6f5b1db264adfe88cb", + "runId": "agent-runtime-0.229.1-proposal-fixture", "schema": "agent-candidate-experiment" } }, @@ -5021,5 +5021,5 @@ ], "kind": "agent-improvement-proposal", "proposedAt": "2026-07-10T01:00:00.000Z", - "runId": "agent-runtime-0.229.0-proposal-fixture" + "runId": "agent-runtime-0.229.1-proposal-fixture" } diff --git a/src/testing/fixtures/agent-profile-improvement-proposal.json b/src/testing/fixtures/agent-profile-improvement-proposal.json index bb507851..21842ca2 100644 --- a/src/testing/fixtures/agent-profile-improvement-proposal.json +++ b/src/testing/fixtures/agent-profile-improvement-proposal.json @@ -1,6 +1,6 @@ { "changedSurfaces": ["prompt", "skills"], - "digest": "sha256:3847ba4ead8ca34693e05a04196e93819183c6e6e17eadf927de17870d45288a", + "digest": "sha256:939d035fdbe13bfda0ee192d281a5291089cc8089ac7154bab6534bac6dc4f18", "evaluation": { "decision": { "contributingChecks": [ @@ -1715,7 +1715,7 @@ ], "metadata": { "fixture": "agent-profile-improvement-proposal", - "runtimeVersion": "0.229.0" + "runtimeVersion": "0.229.1" }, "objectives": [ { @@ -1826,7 +1826,7 @@ "baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704", "candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9", "kind": "agent-eval-loop", - "recordDigest": "sha256:eeda522856de67fbb34f9a9221bba1429b2f769b6dedaefc7c103bf1008802a9", + "recordDigest": "sha256:a6f1e5ecc066b07b032f65f177e275165474c7737130f49dd8b8f755b42f728f", "runId": "profile-improvement-1", "schema": "agent-profile-improvement-experiment" }