A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
release: prepare v0.3.0 (#392)
kt7ef649160cd4
diff --git a/package-lock.json b/package-lock.jsonindex a463d891df..fa7e9f5e83 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "prime-agent",- "version": "0.2.9",+ "version": "0.3.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "prime-agent",- "version": "0.2.9",+ "version": "0.3.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.2.9",+ "@earendil-works/pi-coding-agent": "^0.3.0","get-east-asian-width": "^1.6.0"},"devDependencies": {@@ -5738,10 +5738,10 @@},"packages/agent": {"name": "@earendil-works/pi-agent-core",- "version": "0.2.9",+ "version": "0.3.0","license": "MIT","dependencies": {- "@earendil-works/pi-ai": "^0.2.9",+ "@earendil-works/pi-ai": "^0.3.0","typebox": "^1.1.24"},"devDependencies": {@@ -5768,7 +5768,7 @@},"packages/ai": {"name": "@earendil-works/pi-ai",- "version": "0.2.9",+ "version": "0.3.0","license": "MIT","dependencies": {"@anthropic-ai/sdk": "^0.91.1",@@ -5810,14 +5810,13 @@},"packages/coding-agent": {"name": "@earendil-works/pi-coding-agent",- "version": "0.2.9",+ "version": "0.3.0","hasInstallScript": true,"license": "MIT","dependencies": {- "@earendil-works/pi-agent-core": "^0.2.9",- "@earendil-works/pi-ai": "^0.2.9",- "@earendil-works/pi-tui": "^0.2.9",- "@mariozechner/clipboard": "0.3.9",+ "@earendil-works/pi-agent-core": "^0.3.0",+ "@earendil-works/pi-ai": "^0.3.0",+ "@earendil-works/pi-tui": "^0.3.0","@silvia-odwyer/photon-node": "^0.3.4","chalk": "^5.5.0","cli-highlight": "^2.1.11",@@ -5960,7 +5959,7 @@},"packages/tui": {"name": "@earendil-works/pi-tui",- "version": "0.2.9",+ "version": "0.3.0","license": "MIT","dependencies": {"@types/mime-types": "^3.0.1",diff --git a/package.json b/package.jsonindex 7054a9f199..235c02ddf9 100644--- a/package.json+++ b/package.json@@ -48,9 +48,9 @@"engines": {"node": ">=20.0.0"},- "version": "0.2.9",+ "version": "0.3.0","dependencies": {- "@earendil-works/pi-coding-agent": "^0.2.9",+ "@earendil-works/pi-coding-agent": "^0.3.0","get-east-asian-width": "^1.6.0"},"overrides": {diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.mdindex abccf31906..e8ca8eac15 100644--- a/packages/agent/CHANGELOG.md+++ b/packages/agent/CHANGELOG.md@@ -2,6 +2,8 @@## [Unreleased]+## [0.3.0] - 2026-07-13+## [0.2.9] - 2026-07-13- Changed steering and follow-up queues to preserve grouped messages as an atomic batch.diff --git a/packages/agent/package.json b/packages/agent/package.jsonindex b0034574fd..e2a954389c 100644--- a/packages/agent/package.json+++ b/packages/agent/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-agent-core",- "version": "0.2.9",+ "version": "0.3.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.2.9",+ "@earendil-works/pi-ai": "^0.3.0","typebox": "^1.1.24"},"keywords": [diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.mdindex fde5ca328c..6f5b57c365 100644--- a/packages/ai/CHANGELOG.md+++ b/packages/ai/CHANGELOG.md@@ -2,6 +2,8 @@## [Unreleased]+## [0.3.0] - 2026-07-13+## [0.2.9] - 2026-07-13## [0.2.8] - 2026-07-09diff --git a/packages/ai/package.json b/packages/ai/package.jsonindex f688a21e43..279af6ed60 100644--- a/packages/ai/package.json+++ b/packages/ai/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-ai",- "version": "0.2.9",+ "version": "0.3.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 1e169d6c93..39aa26a57f 100644--- a/packages/coding-agent/CHANGELOG.md+++ b/packages/coding-agent/CHANGELOG.md@@ -2,9 +2,18 @@## [Unreleased]+## [0.3.0] - 2026-07-13++- Changed daemon and headless execution to isolate each root session tree in a recoverable worker process, with protocol-v2 chunked snapshots, compact streaming, attachment-local backpressure, session leases, and unchanged print, JSON, and RPC interfaces.- Added autonomous mode with host-side continuations, configurable limits, and quality gates for evaluator-controlled runs ([#278](https://github.com/PrimeIntellect-ai/prime-agent/pull/278) by [@sethkarten](https://github.com/sethkarten)).- Fixed Prime Inference credential and team-header precedence to prefer `PRIME_API_KEY`, then the Prime CLI config, then `auth.json`.- Fixed aborted autonomous gates leaving detached process trees and supervisor recovery retaining intentionally stopped workers after stale scheduler locks.+- Fixed supervisor replacement surfacing fatal socket errors or recovering roots that were intentionally stopped ([ENG-4526](https://linear.app/primeintellect/issue/ENG-4526/reconnect-daemon-clients-transparently-after-supervisor-replacement)).+- Fixed daemon catch-up snapshots being disposed mid-transfer or triggering resets that cleared drafts, local queues, dialogs, active UI state, or in-flight reasoning traces.+- Fixed compact daemon streams occasionally duplicating the first token of an assistant response.+- Fixed subagent prompts and usage counters flickering or disappearing during daemon resyncs and large parallel runs, and added compact fixed-width recap rows.+- Fixed stale heartbeat jobs reopening sessions after they were archived, deleted, explicitly shut down, concurrently terminated, or lost resident worker ownership ([ENG-4519](https://linear.app/primeintellect/issue/ENG-4519/heartbeats-rebirth-sessions-that-were-previously-killed)).+- Fixed heartbeat starvation by moving durable schedules into per-session artifacts and running them concurrently in their owning resident workers, independent of supervisor replacement ([ENG-4527](https://linear.app/primeintellect/issue/ENG-4527/dispatch-heartbeats-concurrently-across-isolated-session-workers)).## [0.2.9] - 2026-07-13@@ -16,23 +25,18 @@- Added `/btw` and `/side` for one-turn inline side questions that use the current context without changing the main session ([ENG-4509](https://linear.app/primeintellect/issue/ENG-4509/add-btw-and-side-side-question-flows)).- Changed scheduled heartbeat prompts to steer (interrupt the current turn) by default, with a `steer`/`follow_up` delivery mode selectable via `/heartbeat --steer|--follow-up` and the `rlm_heartbeat` skill's `delivery_mode` argument.- Changed the new-chat splash to show only version, model, and cwd metadata and rotate among five example prompts.-- Changed daemon and headless execution to isolate each root session tree in a recoverable worker process, with protocol-v2 chunked snapshots, compact streaming, attachment-local backpressure, session leases, and unchanged print, JSON, and RPC interfaces.- Fixed self-updates losing restored daemon sessions to a socket cleanup race and leaving open session or agents-view windows disconnected.-- Fixed supervisor replacement surfacing fatal socket errors or recovering roots that were intentionally stopped ([ENG-4526](https://linear.app/primeintellect/issue/ENG-4526/reconnect-daemon-clients-transparently-after-supervisor-replacement)).- Changed daemon connection errors to report the failed operation, session identity, recovery steps, socket, and diagnostic log instead of raw protocol reasons.- Changed the Agents View and new-chat splashes to keep one blank row above the butterfly.- Fixed Agents View retrying after an intentional daemon shutdown instead of stopping with restart guidance.-- Fixed daemon catch-up snapshots being disposed mid-transfer or triggering resets that cleared drafts, local queues, dialogs, active UI state, or in-flight reasoning traces.-- Fixed compact daemon streams occasionally duplicating the first token of an assistant response.-- Fixed subagent prompts and usage counters flickering or disappearing during daemon resyncs and large parallel runs, and added compact fixed-width recap rows.-- Fixed stale heartbeat jobs reopening sessions after they were archived, deleted, explicitly shut down, concurrently terminated, or lost resident worker ownership ([ENG-4519](https://linear.app/primeintellect/issue/ENG-4519/heartbeats-rebirth-sessions-that-were-previously-killed)).-- Fixed heartbeat starvation by moving durable schedules into per-session artifacts and running them concurrently in their owning resident workers, independent of supervisor replacement ([ENG-4527](https://linear.app/primeintellect/issue/ENG-4527/dispatch-heartbeats-concurrently-across-isolated-session-workers)).+- Fixed stale heartbeat jobs reopening archived, deleted, or concurrently terminated sessions ([ENG-4519](https://linear.app/primeintellect/issue/ENG-4519/heartbeats-rebirth-sessions-that-were-previously-killed)).- Fixed onboarding blocking normal TUI use by reopening login or model selection after startup ([ENG-4537](https://linear.app/primeintellect/issue/ENG-4537/stop-onboarding-from-gating-normal-tui-use)).- Fixed IPython Bash cells with leading blank lines being labeled and previewed as Python ([ENG-4529](https://linear.app/primeintellect/issue/ENG-4529/leading-newline-before-percentpercentbash-names-tool-call-as-python)).- Fixed recap layout shifts by keeping the previous recap visible until its replacement arrives ([ENG-4533](https://linear.app/primeintellect/issue/ENG-4533/reserve-space-for-recap-to-prevent-layout-shift)).- Changed the new-chat tray to hide shortcut guidance while typing and keep the `agents` link visible.## [0.2.8] - 2026-07-09+- Added built-in Herdr integration that reports agent lifecycle state to Herdr panes automatically, without requiring `herdr integration install pi`.- Changed Escape to interrupt active work with a visible abort notice, double Escape to open the session tree from an empty prompt or clear an idle draft, and `?` to show shortcuts ([ENG-4489](https://linear.app/primeintellect/issue/ENG-4489/rewire-prime-agent-shortcuts-to-match-claude-code-flow)).- Changed new-chat guidance to show concise shell, command, file, and shortcut hints, with Agents View first and `? for shortcuts` after the model and effort ([ENG-4489](https://linear.app/primeintellect/issue/ENG-4489/rewire-prime-agent-shortcuts-to-match-claude-code-flow)).diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.jsonindex db61ed4adf..e0d07a4b08 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.2.9",+ "version": "0.3.0","description": "Coding agent CLI with IPython-backed tools and session management","type": "module","piConfig": {@@ -43,9 +43,9 @@"bundle": "node scripts/bundle.mjs"},"dependencies": {- "@earendil-works/pi-agent-core": "^0.2.9",- "@earendil-works/pi-ai": "^0.2.9",- "@earendil-works/pi-tui": "^0.2.9",+ "@earendil-works/pi-agent-core": "^0.3.0",+ "@earendil-works/pi-ai": "^0.3.0",+ "@earendil-works/pi-tui": "^0.3.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 bb0f5c5a56..c5cb4c7945 100644--- a/packages/tui/CHANGELOG.md+++ b/packages/tui/CHANGELOG.md@@ -2,6 +2,8 @@## [Unreleased]+## [0.3.0] - 2026-07-13+- Fixed fullscreen TUI handoffs temporarily releasing raw input and leaking keyboard-protocol timers, which caused flicker and echoed arrow escape sequences while opening sessions.## [0.2.9] - 2026-07-13diff --git a/packages/tui/package.json b/packages/tui/package.jsonindex f37dc07765..c750ce10b5 100644--- a/packages/tui/package.json+++ b/packages/tui/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-tui",- "version": "0.2.9",+ "version": "0.3.0","description": "Terminal User Interface library with differential rendering for efficient text-based applications","type": "module","main": "dist/index.js",