A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
prepare prime agent v0.9.7 release (#3030)
kt08ff1b2e2794
diff --git a/package-lock.json b/package-lock.jsonindex b609b73762..069e5cf912 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "prime-agent",- "version": "0.9.6",+ "version": "0.9.7","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "prime-agent",- "version": "0.9.6",+ "version": "0.9.7","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.9.6",+ "@earendil-works/pi-coding-agent": "^0.9.7","get-east-asian-width": "^1.6.0"},"devDependencies": {@@ -1275,7 +1275,6 @@"resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.30.0.tgz","integrity": "sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==","license": "MIT",- "peer": true,"dependencies": {"@hono/node-server": "^1.19.9 || ^2.0.5","ajv": "^8.17.1",@@ -3341,7 +3340,6 @@"dev": true,"hasInstallScript": true,"license": "MIT",- "peer": true,"bin": {"esbuild": "bin/esbuild"},@@ -3523,7 +3521,6 @@"resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz","integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==","license": "MIT",- "peer": true,"dependencies": {"accepts": "^2.0.0","body-parser": "^2.2.1",@@ -4010,7 +4007,6 @@"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.7.tgz","integrity": "sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==","license": "MIT",- "peer": true,"engines": {"node": ">=16.9.0"}@@ -4226,7 +4222,6 @@"node_modules/jiti": {"version": "2.7.0","license": "MIT",- "peer": true,"bin": {"jiti": "lib/jiti-cli.mjs"}@@ -6031,7 +6026,6 @@"integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=12"},@@ -6107,7 +6101,6 @@"integrity": "sha512-GQHnkIfxyx1wYCOS/wonik5MVRZU9hi1TEZmzGZSCJB1y9YgoZ8H6itNE/u4suE+yLmOzuE4E5S4TZ/ZX2wcWQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"esbuild": "~0.28.0"},@@ -6267,7 +6260,6 @@"integrity": "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"lightningcss": "^1.32.0","picomatch": "^4.0.5",@@ -6606,7 +6598,6 @@"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz","integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==","license": "MIT",- "peer": true,"funding": {"url": "https://github.com/sponsors/colinhacks"}@@ -6620,10 +6611,10 @@},"packages/agent": {"name": "@earendil-works/pi-agent-core",- "version": "0.9.6",+ "version": "0.9.7","license": "MIT","dependencies": {- "@earendil-works/pi-ai": "^0.9.6",+ "@earendil-works/pi-ai": "^0.9.7","typebox": "^1.3.9"},"devDependencies": {@@ -6654,7 +6645,7 @@},"packages/ai": {"name": "@earendil-works/pi-ai",- "version": "0.9.6",+ "version": "0.9.7","license": "MIT","dependencies": {"@anthropic-ai/sdk": "^0.91.1",@@ -6699,14 +6690,14 @@},"packages/coding-agent": {"name": "@earendil-works/pi-coding-agent",- "version": "0.9.6",+ "version": "0.9.7","hasInstallScript": true,"license": "MIT","dependencies": {"@agentclientprotocol/sdk": "^1.3.0",- "@earendil-works/pi-agent-core": "^0.9.6",- "@earendil-works/pi-ai": "^0.9.6",- "@earendil-works/pi-tui": "^0.9.6",+ "@earendil-works/pi-agent-core": "^0.9.7",+ "@earendil-works/pi-ai": "^0.9.7",+ "@earendil-works/pi-tui": "^0.9.7","@modelcontextprotocol/sdk": "^1.30.0","@silvia-odwyer/photon-node": "^0.3.4","chalk": "^5.5.0",@@ -6836,7 +6827,7 @@},"packages/tui": {"name": "@earendil-works/pi-tui",- "version": "0.9.6",+ "version": "0.9.7","license": "MIT","dependencies": {"get-east-asian-width": "^1.6.0",diff --git a/package.json b/package.jsonindex e8cffac69e..4722574dc0 100644--- a/package.json+++ b/package.json@@ -52,9 +52,9 @@"engines": {"node": ">=22.8.0"},- "version": "0.9.6",+ "version": "0.9.7","dependencies": {- "@earendil-works/pi-coding-agent": "^0.9.6",+ "@earendil-works/pi-coding-agent": "^0.9.7","get-east-asian-width": "^1.6.0"},"overrides": {diff --git a/packages/agent/package.json b/packages/agent/package.jsonindex 5d8e562d59..9c07fd0036 100644--- a/packages/agent/package.json+++ b/packages/agent/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-agent-core",- "version": "0.9.6",+ "version": "0.9.7","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.9.6",+ "@earendil-works/pi-ai": "^0.9.7","typebox": "^1.3.9"},"keywords": [diff --git a/packages/ai/.changes/azure-responses-store-false.md b/packages/ai/.changes/azure-responses-store-false.mddeleted file mode 100644index 3f960dfb22..0000000000--- a/packages/ai/.changes/azure-responses-store-false.md+++ /dev/null@@ -1 +0,0 @@-- Fixed Azure OpenAI Responses requests to send `store: false`, so responses are no longer stored server-side, and to omit `prompt_cache_key` when `cacheRetention` is `"none"`, matching the OpenAI Responses provider.diff --git a/packages/ai/.changes/dead-deps.md b/packages/ai/.changes/dead-deps.mddeleted file mode 100644index e89429da21..0000000000--- a/packages/ai/.changes/dead-deps.md+++ /dev/null@@ -1 +0,0 @@-- Removed the unused `chalk`, `undici`, and `zod-to-json-schema` dependencies.diff --git a/packages/ai/.changes/vertex-gemma4-thinking.md b/packages/ai/.changes/vertex-gemma4-thinking.mddeleted file mode 100644index 734961289f..0000000000--- a/packages/ai/.changes/vertex-gemma4-thinking.md+++ /dev/null@@ -1 +0,0 @@-- Fixed Gemma 4 thinking on Google Vertex: disabled thinking now sends `thinkingLevel: MINIMAL` instead of an unsupported `thinkingBudget: 0`, and reasoning levels map to `MINIMAL` (minimal/low) or `HIGH` (medium/high) like the Google Generative AI provider.diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.mdindex 05d329c233..d493aab089 100644--- a/packages/ai/CHANGELOG.md+++ b/packages/ai/CHANGELOG.md@@ -1,5 +1,11 @@# Changelog+## [0.9.7] - 2026-09-28++- Fixed Azure OpenAI Responses requests to send `store: false`, so responses are no longer stored server-side, and to omit `prompt_cache_key` when `cacheRetention` is `"none"`, matching the OpenAI Responses provider.+- Fixed Gemma 4 thinking on Google Vertex: disabled thinking now sends `thinkingLevel: MINIMAL` instead of an unsupported `thinkingBudget: 0`, and reasoning levels map to `MINIMAL` (minimal/low) or `HIGH` (medium/high) like the Google Generative AI provider.+- Removed the unused `chalk`, `undici`, and `zod-to-json-schema` dependencies.+## [0.9.6] - 2026-09-23- Bumped the Claude Code client version claimed by Anthropic subscription (OAuth) requests from 2.1.261 to 2.1.281: the API gates newer models on the claimed client version and rejects claude-opus-5.5 (and other gated models) with a 400 for anything below 2.280.diff --git a/packages/ai/package.json b/packages/ai/package.jsonindex b72674751b..039ae9aed9 100644--- a/packages/ai/package.json+++ b/packages/ai/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-ai",- "version": "0.9.6",+ "version": "0.9.7","description": "Unified LLM API with automatic model discovery and provider configuration","type": "module","main": "./dist/index.js",diff --git a/packages/coding-agent/.changes/activity-misreport.md b/packages/coding-agent/.changes/activity-misreport.mddeleted file mode 100644index 6188d3c54a..0000000000--- a/packages/coding-agent/.changes/activity-misreport.md+++ /dev/null@@ -1 +0,0 @@-- Fixed old sessions showing as running in the agents view as soon as you open them, even though nothing is running: a session now counts as running only while it is doing work, not while its status summary is out of date.diff --git a/packages/coding-agent/.changes/chat-detail-persist.md b/packages/coding-agent/.changes/chat-detail-persist.mddeleted file mode 100644index addb490fea..0000000000--- a/packages/coding-agent/.changes/chat-detail-persist.md+++ /dev/null@@ -1 +0,0 @@-- Fixed the conversation detail level resetting to Details every time you open, resume, or attach to a chat: the level you pick with Ctrl+O is now saved as the `chatDetail` setting and reused for every chat until you change it. Chats with no saved choice still start at Details.diff --git a/packages/coding-agent/.changes/daemon-guards.md b/packages/coding-agent/.changes/daemon-guards.mddeleted file mode 100644index 9d1d1b37d8..0000000000--- a/packages/coding-agent/.changes/daemon-guards.md+++ /dev/null@@ -1 +0,0 @@-- Changed the daemon to take its supervisor and worker command lists from the protocol command table, and daemon-hosted subagents to take their session options from the same mapping as in-process subagents. No behavior change.diff --git a/packages/coding-agent/.changes/dead-code-1.md b/packages/coding-agent/.changes/dead-code-1.mddeleted file mode 100644index 9e6e314cb2..0000000000--- a/packages/coding-agent/.changes/dead-code-1.md+++ /dev/null@@ -1 +0,0 @@-- Removed unused internal code: the orphaned `core/index.ts` barrel, six uncalled helpers, and eleven unused daemon protocol types.diff --git a/packages/coding-agent/.changes/kernel-framer-linear.md b/packages/coding-agent/.changes/kernel-framer-linear.mddeleted file mode 100644index 4b2c5d5be0..0000000000--- a/packages/coding-agent/.changes/kernel-framer-linear.md+++ /dev/null@@ -1 +0,0 @@-- Fixed host stalls while a kernel cell sends a multi-megabyte display output (such as a large image) or host request: the host now reads kernel output in linear time instead of rescanning the partial line on every pipe chunk.diff --git a/packages/coding-agent/.changes/macos-option-key-bindings.md b/packages/coding-agent/.changes/macos-option-key-bindings.mddeleted file mode 100644index 64deedf397..0000000000--- a/packages/coding-agent/.changes/macos-option-key-bindings.md+++ /dev/null@@ -1 +0,0 @@-- Fixed Option+S not toggling the model selector scope on macOS terminals that type `ß` instead of sending Option as Meta; the character no longer lands in the search field.diff --git a/packages/coding-agent/.changes/remnants-sweep.md b/packages/coding-agent/.changes/remnants-sweep.mddeleted file mode 100644index 7058166ce3..0000000000--- a/packages/coding-agent/.changes/remnants-sweep.md+++ /dev/null@@ -1 +0,0 @@-- Removed unused internal code: parameters that every caller set to the same value, a worker message nothing sends, a never-set ACP meta field, five never-set UI component options, a test-only MCP store option, and four test-only helpers.diff --git a/packages/coding-agent/.changes/revert-harness-crud-pair.md b/packages/coding-agent/.changes/revert-harness-crud-pair.mddeleted file mode 100644index 4179957011..0000000000--- a/packages/coding-agent/.changes/revert-harness-crud-pair.md+++ /dev/null@@ -1,2 +0,0 @@-- Changed the continual-harness kernel surface back to the twelve per-kind CRUD methods on `rlm.harness` (`create_memory`/`update_memory`/`delete_memory` plus the `*_skill`, `*_subagent`, and `*_prompt_note` methods), the `path` spelling of the harness entry grouping, and callable `rlm.harness.record_refinement`/`plan_refinement`, reverting #2154 and #2155 at the user's request.-- Fixed harness state persisted while the grouping was spelled `topic` losing that grouping after the revert: entries migrate to `path` when they load, and rolling back a refinement recorded in that window restores the entry's original grouping.diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.mdindex ed63522046..557d541fba 100644--- a/packages/coding-agent/CHANGELOG.md+++ b/packages/coding-agent/CHANGELOG.md@@ -1,5 +1,17 @@# Changelog+## [0.9.7] - 2026-09-28++- Changed the continual-harness kernel surface back to the twelve per-kind CRUD methods on `rlm.harness` (`create_memory`/`update_memory`/`delete_memory` plus the `*_skill`, `*_subagent`, and `*_prompt_note` methods), the `path` spelling of the harness entry grouping, and callable `rlm.harness.record_refinement`/`plan_refinement`, reverting #2154 and #2155 at the user's request.+- Fixed harness state persisted while the grouping was spelled `topic` losing that grouping after the revert: entries migrate to `path` when they load, and rolling back a refinement recorded in that window restores the entry's original grouping.+- Fixed the conversation detail level resetting to Details every time you open, resume, or attach to a chat: the level you pick with Ctrl+O is now saved as the `chatDetail` setting and reused for every chat until you change it. Chats with no saved choice still start at Details.+- Fixed Option+S not toggling the model selector scope on macOS terminals that type `ß` instead of sending Option as Meta; the character no longer lands in the search field.+- Fixed old sessions showing as running in the agents view as soon as you open them, even though nothing is running: a session now counts as running only while it is doing work, not while its status summary is out of date.+- Fixed host stalls while a kernel cell sends a multi-megabyte display output (such as a large image) or host request: the host now reads kernel output in linear time instead of rescanning the partial line on every pipe chunk.+- Changed the daemon to take its supervisor and worker command lists from the protocol command table, and daemon-hosted subagents to take their session options from the same mapping as in-process subagents. No behavior change.+- Removed unused internal code: parameters that every caller set to the same value, a worker message nothing sends, a never-set ACP meta field, five never-set UI component options, a test-only MCP store option, and four test-only helpers.+- Removed unused internal code: the orphaned `core/index.ts` barrel, six uncalled helpers, and eleven unused daemon protocol types.+## [0.9.6] - 2026-09-23- Added daemon incident notices to the agents view: recent worker crashes, command-timeout bursts, and update restarts surface as a dismissible status line pointing at `prime-agent incident`.diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.jsonindex cd57dee27d..534b67c20e 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.9.6",+ "version": "0.9.7","description": "Coding agent CLI with a persistent Python REPL kernel and session management","type": "module","piConfig": {@@ -46,9 +46,9 @@},"dependencies": {"@agentclientprotocol/sdk": "^1.3.0",- "@earendil-works/pi-agent-core": "^0.9.6",- "@earendil-works/pi-ai": "^0.9.6",- "@earendil-works/pi-tui": "^0.9.6",+ "@earendil-works/pi-agent-core": "^0.9.7",+ "@earendil-works/pi-ai": "^0.9.7",+ "@earendil-works/pi-tui": "^0.9.7","@modelcontextprotocol/sdk": "^1.30.0","@silvia-odwyer/photon-node": "^0.3.4","chalk": "^5.5.0",diff --git a/packages/tui/.changes/dead-deps.md b/packages/tui/.changes/dead-deps.mddeleted file mode 100644index 4879d5ad35..0000000000--- a/packages/tui/.changes/dead-deps.md+++ /dev/null@@ -1 +0,0 @@-- Removed the unused `mime-types` and `@types/mime-types` dependencies.diff --git a/packages/tui/.changes/macos-option-key-bindings.md b/packages/tui/.changes/macos-option-key-bindings.mddeleted file mode 100644index b5d396032e..0000000000--- a/packages/tui/.changes/macos-option-key-bindings.md+++ /dev/null@@ -1 +0,0 @@-- Fixed keybinding matching so a picker can opt in to accept the character macOS types for Option+letter (for example `ß` for Option+S) when the terminal does not send Option as Meta.diff --git a/packages/tui/.changes/remnants-sweep.md b/packages/tui/.changes/remnants-sweep.mddeleted file mode 100644index 1ddd642e7f..0000000000--- a/packages/tui/.changes/remnants-sweep.md+++ /dev/null@@ -1 +0,0 @@-- Moved `chalk` to devDependencies (only tests use it) and removed the unused `@xterm/xterm` devDependency.diff --git a/packages/tui/.changes/stdin-buffer-scan.md b/packages/tui/.changes/stdin-buffer-scan.mddeleted file mode 100644index 08eaac6c08..0000000000--- a/packages/tui/.changes/stdin-buffer-scan.md+++ /dev/null@@ -1 +0,0 @@-- Fixed very large bracketed pastes slowing input handling: the paste end marker is now found without rescanning the whole paste on every chunk.diff --git a/packages/tui/CHANGELOG.md b/packages/tui/CHANGELOG.mdindex 2efe858d8d..b759af4f26 100644--- a/packages/tui/CHANGELOG.md+++ b/packages/tui/CHANGELOG.md@@ -1,5 +1,12 @@# Changelog+## [0.9.7] - 2026-09-28++- Fixed keybinding matching so a picker can opt in to accept the character macOS types for Option+letter (for example `ß` for Option+S) when the terminal does not send Option as Meta.+- Fixed very large bracketed pastes slowing input handling: the paste end marker is now found without rescanning the whole paste on every chunk.+- Moved `chalk` to devDependencies (only tests use it) and removed the unused `@xterm/xterm` devDependency.+- Removed the unused `mime-types` and `@types/mime-types` dependencies.+## [0.9.6] - 2026-09-21- Added a masked option to the Input component (and MenuSearchInput): the rendered line shows one bullet per grapheme while edits and submit keep the real buffer, so secret paste fields never draw the pasted value. The TUI's first consumer is the MCP token paste panel.diff --git a/packages/tui/package.json b/packages/tui/package.jsonindex 723b5821ec..1da3e4ffc0 100644--- a/packages/tui/package.json+++ b/packages/tui/package.json@@ -1,6 +1,6 @@{"name": "@earendil-works/pi-tui",- "version": "0.9.6",+ "version": "0.9.7","description": "Terminal User Interface library with differential rendering for efficient text-based applications","type": "module","main": "dist/index.js",