Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,21 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tangle-network/agent-sdk
ref: 3645e7d0a7b7755e16fafa252db4abb7ef4058c7 # @tangle-network/agent-interface@0.40.0
ref: fc00613985c86f917a679c9bf957e6af8cbedb7c # @tangle-network/agent-interface@0.43.0
path: .cohort/agent-sdk
persist-credentials: false

- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tangle-network/agent-eval
ref: 55d2faacc6ba2c92ad21b42b9b607ab16ae0fc7c # v0.140.1
ref: f379f2aa347e416fdb28c151ba54bc93b64e4f65 # v0.142.2
path: .cohort/agent-eval
persist-credentials: false

- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tangle-network/agent-knowledge
ref: b67218f308ff0c8df6fe0cc8d8e47fa6351d0ecb # v7.0.4
ref: c5e2ec6ffc5cd92873ce22740e8ab14a72456d59 # v7.0.7
path: .cohort/agent-knowledge
persist-credentials: false

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,23 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tangle-network/agent-sdk
ref: 3645e7d0a7b7755e16fafa252db4abb7ef4058c7 # @tangle-network/agent-interface@0.40.0
ref: fc00613985c86f917a679c9bf957e6af8cbedb7c # @tangle-network/agent-interface@0.43.0
path: .cohort/agent-sdk
persist-credentials: false

- name: Check out exact Eval release
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tangle-network/agent-eval
ref: 55d2faacc6ba2c92ad21b42b9b607ab16ae0fc7c # v0.140.1
ref: f379f2aa347e416fdb28c151ba54bc93b64e4f65 # v0.142.2
path: .cohort/agent-eval
persist-credentials: false

- name: Check out exact Knowledge release
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tangle-network/agent-knowledge
ref: b67218f308ff0c8df6fe0cc8d8e47fa6351d0ecb # v7.0.4
ref: c5e2ec6ffc5cd92873ce22740e8ab14a72456d59 # v7.0.7
path: .cohort/agent-knowledge
persist-credentials: false

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

## Unreleased

## 0.123.0

### Current shared contracts and honest CLI accounting

- Runtime now develops and publishes against Agent Eval 0.142.2, Agent Interface 0.43.0, Agent Knowledge 7.0.7, the profile materializer 0.10.2, and Sandbox 0.17.2.
- Runtime requires Agent Interface 0.43.x so every package in this release set uses the same profile contract.
- Runtime passes the canonical Agent Interface profile directly through Sandbox now that both packages share the same contract.
- A CLI worker that reports no usage now leaves token and dollar cost unknown instead of recording a measured zero.
- The 0.122.0 agent-graph API, which reached `main` without a published tag, ships in this release.

## 0.122.0

### Agent graphs: loops as data, edges you can audit
Expand Down
5 changes: 5 additions & 0 deletions bench/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.7.0

- Consume Runtime 0.123.0 with Eval 0.142.2, Interface 0.43.0, Knowledge 7.0.7, and Sandbox 0.17.2 as one compatible dependency set.
- Release under a new minor because Interface and Sandbox are pre-1.0 dependencies moving across minor boundaries.

## 0.6.0

- Consume Runtime 0.121.0 with Sandbox 0.16.0 so a clean install no longer requires the superseded Sandbox 0.15 line.
Expand Down
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tangle-network/agent-bench",
"version": "0.6.0",
"version": "0.7.0",
"type": "module",
"description": "Benchmark adapters and execution for agent-runtime across coding, tool-use, RAG, memory, browser, and terminal tasks.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion docs/api/primitive-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Primitive catalog — the never-stale anti-reinvention inventory

> **GENERATED** from `@tangle-network/agent-runtime@0.122.0` and `@tangle-network/agent-eval@0.140.1` 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.123.0` and `@tangle-network/agent-eval@0.142.2` 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

Expand Down
8 changes: 4 additions & 4 deletions docs/canonical-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
Generated signatures and the complete export list live in docs/api/.
Run pnpm docs:freshness after editing this file. -->

> **Version 0.122.0.**
> **Version 0.123.0.**
> [`docs/api/primitive-catalog.md`](./api/primitive-catalog.md) lists every export and import path.
> `agent-eval` must satisfy `>=0.140.1 <0.141.0`.
> `sandbox` must satisfy `>=0.16.0 <0.17.0`.
> Portable profile and tool-part types come from `@tangle-network/agent-interface` `>=0.40.0 <0.41.0`.
> `agent-eval` must satisfy `>=0.142.2 <0.143.0`.
> `sandbox` must satisfy `>=0.17.2 <0.18.0`.
> Portable profile and tool-part types come from `@tangle-network/agent-interface` `>=0.43.0 <0.44.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.
>
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tangle-network/agent-runtime",
"version": "0.122.0",
"version": "0.123.0",
"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": {
Expand Down Expand Up @@ -169,9 +169,9 @@
"license": "MIT",
"packageManager": "pnpm@11.17.0",
"peerDependencies": {
"@tangle-network/agent-eval": ">=0.140.1 <0.141.0",
"@tangle-network/agent-interface": ">=0.40.0 <0.41.0",
"@tangle-network/sandbox": ">=0.16.0 <0.17.0",
"@tangle-network/agent-eval": ">=0.142.2 <0.143.0",
"@tangle-network/agent-interface": ">=0.43.0 <0.44.0",
"@tangle-network/sandbox": ">=0.17.2 <0.18.0",
"playwright": "^1.40.0"
},
"peerDependenciesMeta": {
Expand Down
110 changes: 47 additions & 63 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ allowBuilds:
catalog:
'@arethetypeswrong/cli': 0.18.5
'@types/node': 26.1.1
'@tangle-network/agent-eval': 0.140.1
'@tangle-network/agent-interface': 0.40.0
'@tangle-network/agent-knowledge': 7.0.4
'@tangle-network/agent-profile-materialize': 0.9.4
'@tangle-network/agent-eval': 0.142.2
'@tangle-network/agent-interface': 0.43.0
'@tangle-network/agent-knowledge': 7.0.7
'@tangle-network/agent-profile-materialize': 0.10.2
'@tangle-network/agent-trace-contract': ^1.0.2
'@tangle-network/sandbox': 0.16.0
'@tangle-network/sandbox': 0.17.2
publint: 0.3.22
tsdown: 0.22.14
tsx: 4.23.1
Expand Down
9 changes: 2 additions & 7 deletions src/runtime/environment-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import type {
ExecResult as SandboxExecResult,
SandboxInstance,
} from '@tangle-network/sandbox'
import { profileAsSandboxProfile, sandboxProfileAsProfile } from './sandbox-backend'
import type {
Executor,
ExecutorContext,
Expand Down Expand Up @@ -452,9 +451,7 @@ function createInputFromSandboxOptions(
...(options?.git?.ref ? { gitRef: options.git.ref } : {}),
}
return {
// sandboxProfileAsProfile: sandbox 0.16.0 types this profile against
// interface 0.38; it crosses as data (see sandbox-backend.ts).
...(profile !== undefined ? { profile: sandboxProfileAsProfile(profile) } : {}),
...(profile !== undefined ? { profile } : {}),
...(backend ? { backend } : {}),
...(Object.keys(workspace).length > 0 ? { workspace } : {}),
...(options?.resources ? { resources: options.resources as ResourceRequest } : {}),
Expand Down Expand Up @@ -497,9 +494,7 @@ async function sandboxOptionsFromCreateInput(
backend: {
...baseBackend,
type: backendType,
// profileAsSandboxProfile: reverse hop of the interface 0.38/0.40 skew
// (see sandbox-backend.ts); the profile crosses as data.
profile: profileAsSandboxProfile(profile),
profile,
},
}
}
Expand Down
Loading