A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
chore(release): prepare v0.6.0 (#614)
Seth Karten7db7b69c60be
diff --git a/package-lock.json b/package-lock.jsonindex f7a9c7c162..77e6dcc0d2 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "prime-agent",- "version": "0.5.1",+ "version": "0.6.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "prime-agent",- "version": "0.5.1",+ "version": "0.6.0","workspaces": ["packages/*","packages/coding-agent/examples/extensions/with-deps",@@ -15,7 +15,7 @@"packages/coding-agent/examples/extensions/sandbox"],"dependencies": {- "@earendil-works/pi-coding-agent": "^0.5.1",+ "@earendil-works/pi-coding-agent": "^0.6.0","get-east-asian-width": "^1.6.0"},"devDependencies": {@@ -5277,10 +5277,10 @@},"packages/agent": {"name": "@earendil-works/pi-agent-core",- "version": "0.5.1",+ "version": "0.6.0","license": "MIT","dependencies": {- "@earendil-works/pi-ai": "^0.5.1",+ "@earendil-works/pi-ai": "^0.6.0","typebox": "^1.1.24"},"devDependencies": {@@ -5307,7 +5307,7 @@},"packages/ai": {"name": "@earendil-works/pi-ai",- "version": "0.5.1",+ "version": "0.6.0","license": "MIT","dependencies": {"@anthropic-ai/sdk": "^0.91.1",@@ -5349,14 +5349,14 @@},"packages/coding-agent": {"name": "@earendil-works/pi-coding-agent",- "version": "0.5.1",+ "version": "0.6.0","hasInstallScript": true,"license": "MIT","dependencies": {"@agentclientprotocol/sdk": "^1.3.0",- "@earendil-works/pi-agent-core": "^0.5.1",- "@earendil-works/pi-ai": "^0.5.1",- "@earendil-works/pi-tui": "^0.5.1",+ "@earendil-works/pi-agent-core": "^0.6.0",+ "@earendil-works/pi-ai": "^0.6.0",+ "@earendil-works/pi-tui": "^0.6.0","@silvia-odwyer/photon-node": "^0.3.4","chalk": "^5.5.0","cli-highlight": "^2.1.11",@@ -5499,7 +5499,7 @@},"packages/tui": {"name": "@earendil-works/pi-tui",- "version": "0.5.1",+ "version": "0.6.0","license": "MIT","dependencies": {"@types/mime-types": "^3.0.1",diff --git a/package.json b/package.jsonindex f0e22f2741..f4a1e4b2ba 100644--- a/package.json+++ b/package.json@@ -48,9 +48,9 @@"engines": {"node": ">=22.8.0"},- "version": "0.5.1",+ "version": "0.6.0","dependencies": {- "@earendil-works/pi-coding-agent": "^0.5.1",+ "@earendil-works/pi-coding-agent": "^0.6.0","get-east-asian-width": "^1.6.0"},"overrides": {diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.mdindex 6af7482aba..59dce3fc2c 100644--- a/packages/agent/CHANGELOG.md+++ b/packages/agent/CHANGELOG.md@@ -2,6 +2,8 @@## [Unreleased]+## [0.6.0] - 2026-08-04+## [0.5.1] - 2026-08-04## [0.5.0] - 2026-08-03diff --git a/packages/agent/package.json b/packages/agent/package.jsonindex 0653068283..34fd16b913 100644--- a/packages/agent/package.json+++ b/packages/agent/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-agent-core",- "version": "0.5.1",+ "version": "0.6.0","description": "General-purpose agent with transport abstraction, state management, and attachment support","type": "module","main": "./dist/index.js",@@ -17,7 +17,7 @@"prepublishOnly": "npm run clean && npm run build"},"dependencies": {- "@earendil-works/pi-ai": "^0.5.1",+ "@earendil-works/pi-ai": "^0.6.0","typebox": "^1.1.24"},"keywords": [diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.mdindex 9282bb523e..7b3f82ebb3 100644--- a/packages/ai/CHANGELOG.md+++ b/packages/ai/CHANGELOG.md@@ -2,6 +2,10 @@## [Unreleased]+## [0.6.0] - 2026-08-04++### Removed+- Removed the groq `qwen/qwen3-32b` reasoning-effort special case and its test; groq delisted the model, which broke CI catalog regeneration.## [0.5.1] - 2026-08-04diff --git a/packages/ai/package.json b/packages/ai/package.jsonindex 091495be81..4410fcb279 100644--- a/packages/ai/package.json+++ b/packages/ai/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-ai",- "version": "0.5.1",+ "version": "0.6.0","description": "Unified LLM API with automatic model discovery and provider configuration","type": "module","main": "./dist/index.js",diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.mdindex e5ece3a80b..fa23bb517a 100644--- a/packages/coding-agent/CHANGELOG.md+++ b/packages/coding-agent/CHANGELOG.md@@ -2,11 +2,33 @@## [Unreleased]+## [0.6.0] - 2026-08-04++### Breaking Changes++- Changed `rlm(...)` to return at task admission instead of waiting for the child to finish. It now yields a spawn handle (`rlm_child_id`, `name`, `session_dir`, `model`); `RLMResult` and its final answer, usage, and model-fallback warning are gone. A child reports back with `agent_message.send(..., receiver_role="parent")`, which arrives as an ordinary prompt and starts a parent turn. Code that read `result.answer`, or treated `asyncio.gather(...)` over `rlm(...)` as fan-in, must be updated.+- Changed `agent_message.send` to role-addressed delivery: pass `receiver_role` (`"parent"`, `"sibling"`, `"child"`) plus `receiver_name` for siblings and children. The old positional `send(target, message)` form no longer works, and the separate `roster()` call is now `agent_message.list_agents()`.+- Narrowed agent reach to the nuclear family: an agent may message or observe only its parent, siblings, and direct children. Top-level sessions are siblings of one another, so agent-to-agent between them still works; grandchildren and cousins must be reached by relaying through the intermediate child. Users are unaffected and still see every session.+- Requesting an unavailable subagent model now fails the spawn instead of silently falling back to the parent's model with a warning.+- Bumped the daemon schema revision to 13 for the parent-edge, depth, naming, and passivation wire changes; older clients and daemons are rejected cleanly at connect.+### Added-- Added `--mode acp`: prime-agent now runs as an Agent Client Protocol agent over NDJSON on stdio, driving an `AgentConnection` in-process. IPython surfaces as an ACP `execute` tool call carrying its cell source, and capabilities ACP has no native concept for (subagents, autonomous gate state, rich IPython MIME output, compaction) travel in a namespaced `ai.primeintellect.prime-agent` `_meta` envelope that vanilla ACP clients ignore.+- Added `--mode acp`: Prime Agent now runs as an [Agent Client Protocol](https://agentclientprotocol.com) agent over NDJSON on stdio, driving an `AgentConnection` in-process. IPython surfaces as an ACP `execute` tool call carrying its cell source, and capabilities ACP has no native concept for (subagents, autonomous gate state, rich IPython output, compaction, goals, heartbeats, continual-harness refinement) travel in a namespaced `ai.primeintellect.prime-agent` `_meta` envelope that vanilla ACP clients ignore. Documented in `docs/acp.md`.+- Added `/rlm-max-depth` to view or set the recursion cap for the current chat, with `--global` to change the default for new sessions.+- Added recursive navigation to the agents view: drill into any session's children and back out again, with each chat showing its own depth.+- Added a family roster via `agent_message.list_agents()`, listing parent, siblings, and children with name, id, depth, and status, including family members currently on disk.+- Added sibling-unique agent names, enforced at spawn and rename against loaded and unloaded sessions alike. The same name may be reused at different depths.+- Added an `idleEvictionMinutes` setting (default 90, `off` to disable) controlling idle eviction and passivation.-- Added missing argument hints to /name, /model, /export, and /import in autocomplete.+### Changed++- Changed finished subagents to stay on disk until something touches them, so memory scales with the active frontier rather than every subagent ever spawned. Lists show them without loading them, and attach, message, or transcript read wakes them on demand.+- Changed sessions to persist their parent edge and derived RLM depth, so tree position no longer has to be inferred from whatever happens to be in memory.+- Changed the supervisor to stop worker processes whose whole session tree has been idle past the threshold, and to passivate individually idle children inside still-busy workers.+- Replaced the child-agent inspector with a single subagent summary line under the prompt that opens the agents view scoped to that session's children.++### Fixed- Fixed `stop` and `rename` rejecting custom daemon socket options.- Fixed SIGINT in print mode leaving the session active until liveness reclaim.@@ -14,6 +36,7 @@- Fixed agents-view fallback notices and scoped live sessions surviving transient refresh failures across chat returns.- Fixed stopping completed subagents deleting their retained sessions.- Fixed silent or cancelled RLM children leaving parents without a terminal status notice.+- Added missing argument hints to `/name`, `/model`, `/export`, and `/import` in autocomplete.## [0.5.1] - 2026-08-04diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.jsonindex 1999fdd8a8..60a7e9c9c5 100644--- a/packages/coding-agent/package.json+++ b/packages/coding-agent/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-coding-agent",- "version": "0.5.1",+ "version": "0.6.0","description": "Coding agent CLI with IPython-backed tools and session management","type": "module","piConfig": {@@ -48,9 +48,9 @@},"dependencies": {"@agentclientprotocol/sdk": "^1.3.0",- "@earendil-works/pi-agent-core": "^0.5.1",- "@earendil-works/pi-ai": "^0.5.1",- "@earendil-works/pi-tui": "^0.5.1",+ "@earendil-works/pi-agent-core": "^0.6.0",+ "@earendil-works/pi-ai": "^0.6.0",+ "@earendil-works/pi-tui": "^0.6.0","@silvia-odwyer/photon-node": "^0.3.4","chalk": "^5.5.0","cli-highlight": "^2.1.11",diff --git a/packages/tui/CHANGELOG.md b/packages/tui/CHANGELOG.mdindex 052f3e04ce..02ebeeee25 100644--- a/packages/tui/CHANGELOG.md+++ b/packages/tui/CHANGELOG.md@@ -2,6 +2,8 @@## [Unreleased]+## [0.6.0] - 2026-08-04+## [0.5.1] - 2026-08-04## [0.5.0] - 2026-08-03diff --git a/packages/tui/package.json b/packages/tui/package.jsonindex c1d31c78c8..3772547ff3 100644--- a/packages/tui/package.json+++ b/packages/tui/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-tui",- "version": "0.5.1",+ "version": "0.6.0","description": "Terminal User Interface library with differential rendering for efficient text-based applications","type": "module","main": "dist/index.js",