实现编码工作流自主优化
为prime-agent打分
给出您宝贵的评分:
手机端可长按图片保存,分享到朋友圈 / 社群
使用 prime-agent,你可以:
面向编码工作流与长时自主任务的自改进 RLM 智能体,可持续迭代优化能力,完成各类复杂自动化作业。
用户评论 (0)
2026年08月11日
2026年08月07日
2026年08月06日
2026年11月02日
2026年11月02日
v0.10.2
2026年10月29日
nightly
2026年10月02日
Current build: v0.10.2-beta.12
Source commit: 9083398
Updated: 2026-10-28T02:39:19Z
The rolling nightly channel. beta.json names the current build; older versioned assets may remain.
详细ChangeLogv0.10.1
2026年10月22日
main-candidate-r9
2026年10月22日
Eval-only candidate tarball of origin/main tip 0487afe (carrying #3689 tool lifecycle events, #3410 no-op ban, #3685 compaction outstanding-work) for the async-discipline-eval round-9 re-baseline. Not a release channel artifact; tarball built from 0487afe on ubuntu:22.04 (glibc 2.34 max), sha256 0fd10745938e9442f7104a89fb51992730de7272e21a774608c1ad603eaddd70.
详细ChangeLogautobg-candidate-3692
2026年10月21日
Eval-only candidate tarball of PR #3692 head (auto-background inline bash). Not a release channel artifact; tarball is built from 2c35e3b on ubuntu:22.04 (glibc 2.34 max).
详细ChangeLogv0.10.0
2026年10月10日
v0.9.8
2026年09月30日
- Fixed Codex subscription model discovery to claim the current stable Codex CLI release (0.159.0, up from 0.153.4): ChatGPT gates the discovery endpoint on
client_version, and the stale pin hid GPT-6 Sol and Luna fromrlmsubagent delegation andfind_models()while the/modelpicker kept offering them (#2544). - Fixed the model picker showing a stale model list for up to a minute when opened without a search term (Ctrl+L or plain
/model); it now always refreshes the catalog on open (#2504 by @sirouk).
v0.9.7
2026年09月29日
- Changed the continual-harness kernel surface back to the twelve per-kind CRUD methods on
rlm.harness(create_memory/update_memory/delete_memoryplus the*_skill,*_subagent, and*_prompt_notemethods), thepathspelling of the harness entry grouping, and callablerlm.harness.record_refinement/plan_refinement, reverting #2154 and #2155 at the user's request. - Fixed harness state persisted while the grouping was spelled
topiclosing that grouping after the revert: entries migrate topathwhen 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
chatDetailsetting 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.tsbarrel, six uncalled helpers, and eleven unused daemon protocol types.
v0.9.6
2026年09月24日
- 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. - The Anthropic subscription-auth warning now names the risk: subscription requests identify as Claude Code, which may violate Anthropic's terms and can get the account restricted or banned; an API key avoids the risk.
- Branch summaries now run through the
auxiliaryModelsetting, not just refinement and compaction passes. Branch summarization fires at a tree-navigation context boundary and the summarizer uses its own prompt prefix, so running it on the session model paid full input price at context peak for a one-off call outside the session's cached prefix. The summary falls back to the session model when the setting is unset, unusable, or its context window cannot hold the branch the summary covers plus the reserve the summary call needs. - Capped the spawning cell source attached to kernel host requests at 2KB with a truncation marker, so oversized cells stop re-shipping their full source on every spawn/progress-note/collect round trip and in each child's persisted spawnCode.
- Changed bundled model and MCP catalog assets to be generated during build and release instead of committed snapshots.
- Added bundled model and MCP catalog snapshots with hourly background refresh and last-good disk caches.
- Compaction summaries now run through the
auxiliaryModelsetting, not just refinement passes. Compaction fires at context peak and the summarizer uses its own prompt prefix (a different system prompt and no tools), so it cannot hit the session's cached prefix: on the session model the summary re-reads its whole input at peak price, plus a one-shot 1.25x cache write on Anthropic-style providers, and on OpenAI-style providers its divergent prefix still rides the session'sprompt_cache_key, which is the documented way to depress hit rates. Routing throughauxiliaryModelmoves that call off the session model. The summary falls back to the session model when the setting is unset or unusable. - Compaction summaries no longer request the session's thinking level. Summarizing is transcription rather than reasoning, and with no reasoning requested the summary call stays cheap and cannot trip an invalid reasoning effort on the summary model.
- Context-tree rebuilds (top-bar cost refresh, /context) now reuse a per-file parse cache keyed by file size and mtime instead of re-reading every finished child session on each refresh.
- Cleaned up contract hygiene in the agent family surfaces:
agent_observerows now carry the shared familystatus(running/idle/inactive) plus a separate typed liveactivity, the publicturn_endandmessage_updateevents are typed as assistant-only, Ctrl+C in the standalone config selector is remappable through the keybinding config, and the daemon revision catalog, agents-view emptiness comment, andpi-agentREADME no longer state facts the code contradicts. - Fixed quota parks restored after their wake time: a daemon wake or restart now keeps the park count so
retry.provider.waitForUsage.maxParksstill bounds re-parking, and the stale wake job is settled by the resumed session instead of lingering. - Bumped the daemon schema revision for the structured update-restart error info, so mismatched daemon and CLI builds around that change are detected by the self-update checks.
- Fixed agents-view roster summaries going stale when a session's spawn code changed while every other summary field stayed the same.
- Added
prime-agent incidentto reconstruct daemon incidents from logs into an operator timeline (supervisor events, session anomalies, recovery actions) with--since/--untilwindow and--sessionfilters. - The daemon supervisor, both daemon clients and the agents view now share the daemon protocol module's response and session-summary guards. The agents view now rejects a session summary that has no working directory instead of accepting it as complete (the daemon has always required it).
- Fixed session switches fetching the full transcript twice: a switch consumes the streamed replacement snapshot instead of refetching, so the history crosses the wire once when switching to a large session, while a switch whose replacement stream fails or never lands still reloads the transcript.
- Fixed a session switch reading a replacement snapshot streamed for another session (an earlier switch's late stream, or another client's switch on the same daemon session) as its own transcript, and made the switch wait end when the connection closes terminally or a re-attach resync delivers the requested session, instead of relaying its timeout.
- Prime Inference login and agent trace uploads now share one set of HTTP helpers (request timeout, error-body parsing, field readers). A Prime Inference request that is still waiting on its timeout no longer keeps the process alive on its own.
- Reduced per-model-request CPU cost by fingerprinting a bounded turn-body subset (model identity, shaping options, system prompt, message count, last message, tool schemas) instead of re-serializing the full request body, with the tool-schema digest memoized per session.
- Reduced event-flood CPU on busy workers: child update previews now collapse only the trailing ~200 chars of the streaming message (O(L²) → O(200) per streamed child message) with per-child update emits capped at ~1/s, roster flushes coalesce into a 250ms window and recompose only trigger-marked sessions (lifecycle mutations still flush everything on the next tick), top-bar cost refreshes from session status are throttled to 1/s (agent_end and attach stay unthrottled), and recap summarizer model calls are capped at 4 concurrent fleet-wide with the most recently active session admitted first.
- Fixed the daemon worker client keeping a stale socket after a failed or timed-out connect, so the next connect attempt on that client threw "already connected" instead of opening a fresh socket.
- Fixed a bridge write into a dead or stopped owned session worker (write EPIPE) crashing the whole CLI frontend: pipe errors are now absorbed so the existing worker close-based recovery (failing pending RPC commands and relaunching) runs instead.
- Fixed RPC commands that arrive while the worker bridge is down being reported failed ("uncertain and was not replayed") and then replayed to the replacement worker anyway: a command is now tracked as pending only once it is actually written to a worker, so buffered commands replay exactly once and commands that reached a dead worker fail exactly once.
- Fixed a worker that closed its stdin read end while staying alive hanging the frontend forever: the absorbed bridge EPIPE now kills the worker so the crash-recovery loop (failure responses, relaunch from the recovery descriptor) runs, and commands that were only buffered are failed when no recovery can replay them.
- Fixed
rlm.delete_subagentholding a deleted child's session name until its background unwind finished: the name now frees at the delete receipt, so a replacement child can be spawned immediately under the same name. - Fixed
rlm.collectthrowingNo direct RLM child matcheswhen a requested target was deleted moments earlier: collect now returns a settledcancelledenvelope for just-deleted targets immediately, without spending the timeout budget. - Fixed a daemon-mode respawn under a just-deleted child's name failing the name check: the delete receipt now frees the child's session name in the daemon catalog too — and the daemon host's runtime-boundary re-assert honors the same freed ids the spawn admission forwarded, instead of only the parent session's local run map.
- Fixed
rlm.collectresolving a reused child name to the previous generation'scancelledenvelope while the new child's delete was still in preflight: the selector now reports no match until the delete settles. - Fixed
rlm.collectthrowingNo direct RLM child matcheswhen a live child's background unwind had already finished before the parent collected it: the accepted delete now leaves a tombstone, so its settledcancelledenvelope stays addressable by child id and session name until the parent session is disposed. - Fixed
rlm.collectfor retained children deleted without an active run: a retained completed child or a daemon-hydrated child that never had a run now leaves the same delete tombstone as a live child, so collect answers with the settledcancelledenvelope its delete receipt promised, and a still-pending run-less delete blocks a reused selector instead of resolving to the previous generation's envelope. - Fixed
rlm.collectresolving a reused child name to the previous generation'scancelledenvelope while a live daemon-hydrated run-less replacement owns the name, including one whose delete failed and left it resident for a retry: the selector now reports no match until that replacement is deleted, matching the existing delete-preflight convention. - Fixed a Python cell raising an exception with a huge message restarting the kernel through protocol repair: error text and traceback entries are now capped at 1 Mi characters with a truncation marker, like result text, so the error is reported in the cell.
- Fixed an oversized
host_requestpayload (for example a huge skill-call argument) tearing the kernel protocol and restarting the kernel:rlm.host_request()now raisesValueErrorin the calling cell, likeemit()does for display payloads. - Fixed a stale background
bash()completion notice waking the model after it had already read the finished handle's result in the same turn (#2372). - Fixed kernel startup re-running the Python skill sync and rewriting the venv marker on every session when a skill depended on a sibling skill; such venvs now take the same zero-cost warm-start path as any other synced venv.
- Reduced Python kernel snapshot cost: auto-snapshots serialize each variable exactly once into a length-framed payload instead of a second whole-namespace dump (and no prefix re-dump at the aggregate cap), compaction re-serializes each variable once (bounded by the per-variable cap) and prunes only the ones that still measure oversized, so a value shrunk in place or redefined after an earlier snapshot is never deleted on a stale size, and a resumed kernel skips the auto-snapshot that would rewrite the just-restored namespace until a real cell changes it.
- Changed live Prime Inference catalog refreshes to rebuild each model's thinking levels and reasoning compat from the route's declared parameters, so stale bundled templates no longer override what the gateway actually accepts.
- Fixed the stored Prime team selection being hidden whenever the API key came from a runtime or environment override: an ambient PRIME_API_KEY supplies the key, never the team, so the stored login's team still scopes the credentialed catalog and private-model fetches and team-private internal routes keep appearing in the model picker.
- Fixed Prime Inference team headers having two owners: the provider layer no longer reads
team_idfrom the Prime CLI profile (~/.prime/config.json), so a runtime orPRIME_API_KEYcredential that deliberately has no saved Agent team stays team-less instead of inheriting an unrelated CLI team. The agent's auth storage stays the single source forX-Prime-Team-ID(saved team orPRIME_TEAM_ID). - Fixed shell-command credentials (
!commandAPI keys and header values) caching failures forever: a command that resolved to nothing is now retried on the next lookup, so a locked keychain or a transient failure no longer disables the credential for the lifetime of the process. - Fixed proxy streaming: a truncated response now ends with an error instead of leaving the turn waiting forever, and the service tier setting is now sent through the proxy like it is for direct provider calls.
- Fixed a queued prompt disappearing from the interactive queued-messages area while its own pre-turn compaction runs; it now stays visible there (as a "Starting" entry) until the turn begins.
- Added
/tierto show or set the session service tier (default, flex, priority, auto), aDefault service tierrow in/settingsthat also applies to the running session, and a footer badge for any non-default tier (RES-1326). - Folded the twelve per-kind continual-harness CRUD methods into three:
rlm.harness.create_memory(title, content, kind=...),rlm.harness.update_memory(id, title, content, kind=...), andrlm.harness.delete_memory(id, kind=...). Prompt notes, skills, and subagent specs are subtypes of memory, sokindselects them; it defaults tomemory, only skill entries acceptreference/arguments, the nine removed names raise an error naming their replacement, and the positional-kindcreate/update/deletemethods are removed as well. - Renamed the harness entry grouping from
pathtotopicin the kernel API, the refinement planner schema, and the harness digest; state files written before the rename still load, and saves keep writing the grouping under both names while older builds can still reach the shared global store. - Removed
rlm.harness.record_refinementandplan_refinementfrom the model-facing kernel surface. The refinement engine already records an event for every refinement it applies, so the manual call only duplicated those events or added unverified ones. Reading stays unchanged throughrlm.get_harness_state().refinementsand the harness overview; the old name now raises an error explaining that events are recorded automatically. - Provider retries now add +/-25% jitter to their computed exponential backoff so concurrent sessions spread out during a shared outage instead of retrying in lockstep; server Retry-After waits are still honored exactly.
- Cut redundant broadcast work under streaming and fleet load: the supervisor now compares roster rows against their last published serialization so repair pulls, snapshot applies, and staleness sweeps no longer re-broadcast identical entries to every subscriber; child update dedup compares fields instead of building and serializing a full snapshot per streamed delta (the prompt label is computed once per run); and queue updates serialize the snapshot once instead of twice per mutation.
- Fixed provider safety-filter failures (e.g. content_filter) being auto-retried: they are permanent rejections.
- Stopped fanning supervisor heartbeat lists, scheduled-job wake recomputes, and cron-store mutations out to every worker, client, and artifact path: worker heartbeat snapshots refresh per reporting worker, the wake timer arms from a cached aggregate (a changed stale-while-revalidate refresh re-arms it), heartbeats_changed pushes reach only clients that track heartbeats (by scheduled-job command or the heartbeat_catalog attach capability; daemon-side lookups now also resolve paused and cancelled passive jobs), and cron-store mutations lock just the paths they write with one fsync and non-blocking retries.
- Added
prime-agent sessions, a one-line-per-agent operator table (status, activity, staleness, last error, usage) rendered client-side from the existing daemon session summaries. - Runtime extension discovery now applies the same rules as package resource discovery: entries matched by a
.gitignore,.ignoreor.fdignorefile in the extensions directory, dot entries andnode_modulesare skipped, so a directory excluded from package discovery is no longer loaded at runtime. - Ignore-file parsing, extension entry-point resolution, resource path expansion and path containment checks now each have one implementation instead of two to four copies, so the loaders can no longer drift apart.
- Fixed unclear blocked-update warnings: the refusal now names the blocking session, and the report now says to run
prime-agent shutdown, then runprime-agentto restart and apply the update. - Fixed
shutdown --forcefailing with "Daemon shutdown admission was lost" when slow daemon scans delayed the admission lease refresh. - Changed agent trace uploads to report every scheduled upload and retry wait, and to expose when the startup catch-up and in-flight uploads have finished.
- Added
PRIME_AGENT_PROBE_TIMEOUT_SECONDSso an install can override the executable probe deadline that otherwise defaults to 60 seconds. - Changed the daemon worker supervisor monitor to report when each availability check settles, so its recovery behavior is observable instead of timing-dependent.
- Fixed inline pickers drawing two stacked separator rules when an empty placeholder child preceded the search box, which also cost the list a visible row.
- The per-service accounts menu (open /mcp and select a connected service) is rebuilt as a static choice list in the onboarding-choice visual language: "Accounts — Cloudflare" became "Cloudflare MCP" with the service description moved above the options (muted, wrapped, capped at three lines), the no-op search box and the account-name row are gone, and the rows are
Reconnect,Disconnect <account>andAdd another account— one reconnect/disconnect pair per account, labelled with the connection id, with no right-hand status column. Reconnect runs the existing re-verify path and never disconnects; Disconnect keeps the store-locked removal and its durable◆ Disconnectedentry (ENG-6108). - The /mcp catalog picker shows the "Connect" trailing status in the plain text colour instead of the accent purple, and the "No matching services" empty state now has one blank row above the shortcuts line and starts in the same column as the row labels.
- Fixed alias ("Add another account") MCP connections always registering an OAuth provider: per-account connection ids now follow the same catalog classification as their parent service, so a second account of a paste-a-key token service (or a requires-setup or otherwise non-OAuth service) is never offered a browser login whose stored grant dispatch would reject. The account keeps its parent's token-based treatment instead — a pasted
mcp_static_tokenstored under the account's ownmcp:<connectionId>key makes it dispatchable and verifiable exactly like the first account — and an account of a public no-auth service stays credential-free rather than being reclassified as OAuth (ENG-6108). - The MCP service surface (/plugins picker, mcp host handlers, system-prompt inventory) now advertises only one-click DCR or user token/key connectors (2026-09-15 final catalog cut): the user-own-app OAuth path (GitLab, Miro, Supabase, Vercel, monday.com, ZoomInfo, …), the 32 local stdio adapters and the url-only tenant templates were removed from the shipped catalog, so the picker no longer surfaces providers Prime cannot connect with one-click auth or a user token/api key (ENG-6108).
- Removed the duplicate sentence under an MCP connect entry: the
◆ Connected <service> · <n> tools verifiedheader now stands alone, and the body keeps only what the header omits (added account, verification issue and next step, deferred activation). - Added the same durable feedback for MCP disconnects: a successful
/pluginsdisconnect,/mcp logout <name>, or/logoutof an integration now leaves a muted◆ Disconnected <service>entry in the chat, with the removal scope and account on expand. A failed or partial removal keeps its honest warning and records nothing. - Added a bundled
mcpskill that teaches catalog search, connection checks, schema inspection, generic tool calls, and error handling for any MCP service. - Added discovery APIs to the pre-imported
mcpmodule:list_plugins,search_plugins,list_connections,search_tools, anddescribe_tool, with bounded pages, complete-or-fail tool discovery, isolated schema copies, and no credentials or raw provider errors in inventory results. - Removed the bespoke Linear and Notion Python integration packages; those services now use the generic
mcpmodule and connection records like every other service. - Hardened MCP endpoint verification so an unresponsive server can never hang it: fetches, response bodies, and session-termination cleanup are now bounded by an abort signal with a cleanup grace deadline, and connection-record writes create the store file exclusively so a first writer cannot wipe another process's records, requeueing failed writes until they commit (ENG-6108).
- Fixed MCP verification and background probes so they can no longer overwrite an in-flight login's account claim; every verification write is compared against the record and credential snapshot it was computed from.
- Added an honest "Login in progress" state for accounts with an active login attempt, replacing the misleading missing-credential Reconnect across the service picker, connection inventory, and host actions; a second Connect or Verify waits while Remove stays available.
- Made reserved built-in names conflict-aware: an equivalent user declaration keeps working, while a disabled or conflicting same-name entry now shows an explicit conflict or disabled state instead of a Connected card that cannot dispatch.
- Restricted installed-account repair to its exact saved connection id at its durable approved endpoint, so changed catalog URLs are never silently followed and a pending placeholder alone is not treated as approval.
- Changed unreviewed imported OAuth entries to offer an explicit Connect attempt (with an unverified notice) instead of a blanket metadata-review block, while keeping real API-key, setup-required, and registered-client restrictions.
- Ordered the service catalog so connected accounts and ready-to-connect services appear first, with every service still searchable and visible.
- Added optional per-server OAuth client identity settings (
oauthClientId,oauthClientSecretEnvVar,oauthClientMetadataUrl,oauthScopes), wired through one shared provider factory into both login and refresh registrations; a configured secret environment variable that is missing or empty fails closed before any network request. - Changed the kernel runtime readiness check to require the MCP discovery methods (list_plugins, search_plugins, list_connections, search_tools, describe_tool), so a stale cached kernel venv is rebuilt instead of silently accepted (ENG-6108).
- MCP account logins and the /login and /logout service selectors now mount inline under the chat through the same auth-panel surface as provider logins (#2331) instead of centered overlay popups: the guarded staged OAuth dialog, the mcp-connections tab, and the /mcp login route replace the prompt area with stacked closers, focus restore, and terminal-rows-aware list sizing (ENG-6108).
- Paste-a-key MCP services are now connectable from the TUI: selecting a requires-setup token service (GitHub, PagerDuty, the Zoom endpoints, and the other catalog token services) opens an inline masked paste panel on the same inline surface as the OAuth login panel, prompts exactly ONCE for the service's single credential (labelled from the field, e.g. "GitHub personal access token"; alternative field names for the same credential share one prompt), and stores the result in the agent credential store (auth.json under the same
mcp:<connectionId>key OAuth uses) with an explicitmcp_static_tokencredential shape — never settings.json, never a status line, log, or transcript entry (ENG-6108). - The picker row for a pasteable service now reads as an action ("Enter paste token") instead of a dead-end hint, and an account picker for a stored token service keeps a "Paste a new token" row so a rejected or rotated token gets a new paste rather than a re-verify of the same value (ENG-6108).
- Catalog token services accept the stored pasted token as a credential source alongside the settings env var: eligibility,
mcp.configdispatch (acredentialSource: "static-token"marker; the kernel attachesAuthorization: Bearerfrom the endpoint-bound stored credential only), and verification all consume one shared usability rule (typed, endpoint-bound, non-empty bearer). Every fail-closed rule is kept — setup field ids are never read as env vars, credentials bind to the exact connection id and endpoint, reserved/shadowed names still fail, and an unset env var with no stored credential still reports setup_required. A service whose upstream collects more than one distinct credential (the catalog cuts those at import; a local source could still declare one) is not pasteable and stays honest setup_required instead of collecting values the single-bearer runtime would never send (ENG-6108). - Token-service verification uses the stored pasted token for the real MCP handshake: success records the same durable "Connected · N tools verified" entry as OAuth, a rejected or failed verification reports unverified ("Token saved for , but connection verification did not complete: …") and never claims Connected, and a token rotated or removed mid-probe discards the result instead of marking the new token verified (ENG-6108).
- Reworked the generic MCP OAuth engine: SDK-standard client-auth-method negotiation (client_secret_basic/post/none), full RFC 7591 registration responses with persisted DCR client identity/secret and expiry, client-initiated metadata (SEP-991, configured client-metadata URL as client id when advertised), SEP-835 scope precedence (configured > protected-resource > omit, never a server-wide join), RFC 9728 origin-level resource audiences for pathful endpoints (Notion/Slack shape) with audience-pinned refresh binding, bounded and cancellable discovery/registration/token requests, and sanitized typed OAuth errors (ENG-6108, PR2256).
- Hardened MCP account recovery so no edge can silently strand a credential: logging out an account now removes a credential-only integration even when no connection record exists, a failed commit or its failed rollback now reports an explicit recovery-required state instead of claiming nothing changed, an ordinary login that wrote the account key mid-flight is never clobbered or deleted by a concurrent staged login, and one-shot store operations settle cleanly when the file lock itself cannot be acquired (ENG-6108).
- Staged MCP logins now move their credential to the account key with a disk-authoritative compare-and-set under the auth backend's own file lock (set-if-absent move, exact-own restore, remove-only-if-matching): a bystander credential written by another process can no longer be overwritten or deleted by a get/set race across instances, and disconnects whose record save fails after the logout report the honest partial state (logged out, change not saved, retry to finish) instead of claiming the account is still connected (ENG-6108).
- The generic /logout route now delegates an MCP account logout to one shared store-locked operation (verified credential deletion plus pending-attempt cancellation under the store->auth ordering, before the route touches auth): a concurrent finalize can never re-create the credential after the logout, a failed verified auth removal fails the whole operation and cancels nothing, completed account records are preserved (honest unbound/Reconnect state), and staged keys map back only through their recorded attempt nonce — never a blind split (ENG-6108).
- A staged-key logout (a login attempt's pending credential selected in /logout) now cancels the attempt — invalidating its reservation nonce so the in-flight login can neither finalize nor delete the record — while preserving the account shell record and never touching another client's ordinary-login credential on the real key; the route reports it state-neutrally ("This login attempt is no longer current; manage the account from /plugins") instead of claiming Logged out or Connected (ENG-6108).
- Every user-facing MCP OAuth login (initial /plugins connect, error-state reconnect, add account, /mcp login, the generic /login service options, and the config menu) now routes through ONE guarded host operation: the account is claimed under the connection store's file lock first (a nonce claim on existing records, a pending reservation for fresh ids — even credential-only legacy accounts, whose current on-disk grant identity is captured), the OAuth credential always stages under a per-attempt key, and a guarded finalize commits it with a full-identity compare-and-swap (set-if-absent for fresh accounts, replace-only-if-matching for intentional replacements) that consumes the attempt nonce and marks the record pending-verification; a cancelled or failed login releases the claim without touching the existing account, a failed record write restores the PREVIOUS credential under the same lock, and a concurrent logout cancels the attempt so a late OAuth callback can never reactivate or clobber the account (ENG-6108).
- Fixed explicit MCP logins disconnecting connected accounts, false login-success results, and unguarded OAuth fallback paths. Cancelled logins keep account settings available for reconnect or removal.
- Catalog MCP entries without OAuth now fail closed: only explicitly public no-auth, setup-ready rows are eligible for credential-free dispatch, and an expired grant without a refresh token, a wrong-type, or an empty-access credential is no longer treated as authenticated; a configured bearer env var is the only credential source when set (ENG-6108).
- The MCP service catalog cap now always keeps installed connections — including entries whose descriptor is still in a source — and reports explicitly when installed connections alone exceed the cap (ENG-6108).
- Added
/pluginsand bare/mcpas a searchable external-service picker showing honest connection states (Connect, Connected with verified tool counts, Reconnect, Needs verification, Requires setup, Disabled), with connect via browser OAuth, automatic post-login verification, and disconnect (ENG-6108). - Added kernel host requests
mcp.list_plugins,mcp.search_plugins, andmcp.list_connectionsexposing the supported-service catalog and the user's actual connections, with strict status filtering, bounded limits, and honestnextCursorpagination (ENG-6108). - Added local MCP connection records (
~/.prime/agent/mcp-connections.json) separatingconnectionIdfrom catalogserviceIdand binding verification to the endpoint; a stored token alone now reports as pending, never Connected (ENG-6108). - Connected catalog services (Linear, Notion) are now served through the generic Python
mcproute (system-prompt inventory +mcp.config), so per-service wrappers are no longer required for dispatch (ENG-6108). - Changed MCP connection verification to run through the official @modelcontextprotocol/sdk client with explicit session termination, fixed safe failure categories (no endpoint URLs or server text persisted), and queued activation at the next turn/compaction boundary so a login during streaming never asks for a manual /reload (ENG-6108).
- Changed connection records to use file-locked read-modify-write writes with unique temp files, and bound every verification result to the grant it verified so a stale probe can never mark a rotated or disconnected account Connected (ENG-6108).
- Bound every stored MCP credential to its endpoint for catalog services and user servers alike: unbound or cross-endpoint grants are refused before any token fetch or probe, surface as Reconnect with a fixed category, and are excluded from dispatch; the OAuth registry reset hook now re-runs a full atomic provider reconciliation so catalog providers survive refresh and removed user overrides restore in one pass (ENG-6108).
- Verification guards now re-read fresh auth.json state at persist time, so a probe finishing after another client logs out or rotates the grant can never persist a stale Connected record (ENG-6108).
- mcp.connect reports connected only after a verified handshake (with tool count) and maps handshake failures honestly; stdio servers managed through settings can be disabled from /plugins instead of showing a fake disconnect (ENG-6108).
- Wired the /plugins picker and the mcp host handlers to one shared catalog resolver: the merged built-in SERVICE_CATALOG plus settings-declared local sources (mcpCatalogSources, ~-expanded, missing-file and duplicate-id diagnostics, total cap), with unreviewed imported entries surfacing as candidates rather than one-click Connect and user-placed local files connectable through the login dialog (ENG-6108).
- Added per-account connections: adding an account allocates a distinct connection id (its own credential key, record, and OAuth provider), the account picker reconnects or disconnects the chosen account, and per-account ids stay dispatchable through the same integrations, inventory, and verification machinery (ENG-6108).
- Account ids are allocated through a durable, file-lock-atomic reservation written before the login starts: cross-process races produce exactly one winner, configured user/catalog ids are never taken, and a cancelled login releases only its own pending marker (ownership-validated), so a late callback cannot remove or resurrect another client's account (ENG-6108).
- Service cards aggregate every account of a service: all account ids are listed and searchable, the inventory emits one row per account with its own status, and a remaining account keeps its service visible and manageable after the default account disconnects; connections whose optional catalog source vanished keep a pinned definition at the recorded endpoint (ENG-6108).
- Pending accounts retry verification explicitly without a relogin, error accounts keep Reconnect, every account has an explicit Remove action, and a login whose verification result could not be saved reports pending instead of a false Connected; one unreadable local catalog source no longer blocks startup — built-ins and other sources survive with a visible diagnostic (ENG-6108).
- Account logins stage their OAuth credential under a per-attempt key and commit it to the real account only through a lock-guarded finalize that validates the attempt nonce: cancelled, replaced, or failed-write reservations never receive a late credential, and reservation callbacks resolve only after the durable record write commits (ENG-6108).
- Every per-account status now flows through one computed helper (credential binding, expiry, and record combined): the plugin aggregate, the connection inventory, and the account picker agree, so stale Connected records surface as Reconnect; catalog metadata aliases are part of the search surface again (ENG-6108).
- Account-removal transactions now run under one store lock with finalize: disconnects delete the credential and the record atomically (removeAccount), a failed finalize write compensates its credential move under the same lock, and every one-shot store callback settles exactly once — batched reserves in a failing write all resolve false with no hang, no ghost, and a working retry (ENG-6108).
- Changed the MCP catalog and account pickers to match the compact inline model and provider pickers, with searchable single-line rows, selected connection details, explicit action hints, and preserved editor drafts.
- Clarified local-server disable and settings-only HTTP actions, preserved explicit verification and saved-data cleanup, and hid unsupported OAuth account actions for settings-managed connections.
- The MCP service surface (/plugins picker, mcp host handlers, system-prompt inventory) now advertises only zero-app self-serve connectors (2026-09-14 product decision): providers that require a provider-registered OAuth client (Figma, Slack, Gmail, Google Calendar/Drive, MongoDB Atlas) or whose self-serve path stayed unverified (Shopify, HubSpot, LogRocket, and others) were removed from the shipped catalog, so the picker no longer surfaces providers Prime cannot connect without a vendor-registered OAuth app (ENG-6108).
- Collapsed a service's /mcp accounts menu to exactly one Reconnect, one Disconnect, and one Add-another-account row: with several accounts, Enter on Reconnect or Disconnect opens a second inline picker that lists the accounts, and picking one runs the action on that connection id only (Esc or left there returns to the accounts menu without acting). Left arrow from a service's accounts page now navigates back to the /mcp catalog, remounted fresh; Esc still closes the whole chain and left in the catalog itself stays inert.
- Changed MCP connect outcomes ("Connected Linear (12 tools verified)" and its saved-but-unverified variants) from transient status lines into persistent chat entries styled like harness refinement notices: a purple
◆ Connected <service> · <n> tools verifiedheader over the existing wording, account and activation details on expand, and the same durable record when a mid-turn connect activates at the next safe boundary. - Fixed paste-a-key connection outcomes rendering as a malformed-message error, named the service instead of the picked row, told rejected tokens how to recover, and tightened the accounts menu spacing and selection bar.
- Fixed duplicated rows and scroll counters in the MCP service picker: multi-line catalog descriptions are flattened so a rendered line is always exactly one terminal line.
- Fixed the /mcp picker chrome from live testing: the scroll counter aligns with the row indent, one blank line separates the list from the description line in catalog and accounts mode, and every inline picker opens with exactly one separator rule between the chat view and the picker (a titled panel draws the rule above its title; a headerless panel keeps the bordered search's top border as that rule, never both).
- Changed Enter on an account row in the accounts picker to re-verify the account instead of disconnecting it; only the explicit Remove row removes, and the accounts search now matches only the fields that distinguish rows (account label and connection id) instead of the description text every row shares.
- Reworked the picker search ranking: exact/prefix/word-start/substring matches on label, service id, and aliases rank far above description and setup-hint text, scattered subsequence hits no longer qualify, and a query that matches nothing shows the "No matching services" empty state — searching "vercel" against a catalog without Vercel now returns zero rows instead of eight unrelated connectors.
- Fixed the /mcp and /plugins service-catalog picker: the selected connector now gets exactly one fixed description line with the shortcuts directly underneath (no blank separator, no viewport-driven description resize), the visible row window rebuilds from current state on every render so frames can never disagree about which rows are visible or selected, and the scroll counter stays honest — it counts every rendered row, which is the shipped catalog plus installed connections pinned from records (75 + 2 = 77 for the ENG-6108 cut).
- Kept the /mcp picker open after every connect, disconnect, reconnect, paste, or add-account action instead of dropping to the prompt: the chain re-enters the right surface (that service's accounts menu while it still owns an account, otherwise the catalog), rebuilt from the live catalog and connection store so a removed account is gone and a fresh one shows. Esc still closes the whole picker, and an action that cannot proceed reports its status and never re-opens.
- Fixed Escape and Ctrl+C while steering messages are queued: the active run aborts and all queued user steering messages now start together in one new agent turn, preserving order and consuming the queue; an empty queue stays abort-only and the steering mode setting is unchanged.
- Private worker framing now decodes large frames in linear time across socket chunks: delivered chunks are kept as-is and a completed frame's bytes are joined exactly once, and consumed chunks are skipped via a head cursor with amortized compaction instead of being shifted off the queue one per chunk, so a multi-MB frame arriving in small writes can no longer pin the event loop.
- Fixed no-skill kernel bootstrap calls (postinstall, runtime-bootstrap) wiping the recorded Python skill map from the .bootstrap-version marker, which forced the next real session to re-sync every skill: a no-skill call now leaves the recorded skill set untouched and only skill-syncing callers rewrite the marker.
- Classified Windows worker named pipes as worker sockets in
prime-agent ps, so worker pipes are no longer listed as daemons. - Made the collapsed summary/header rows clickable in fullscreen chats: tools and IPython cells, agent messages, refinement and compaction/branch summaries, skill and injected-prompt cards, bash and shell blocks (including inside side-question popups), collapsible errors, startup resource sections, and custom messages toggle only the clicked item; Ctrl+O still resets all conversation detail globally.
- Harness digest ranking and harness search now weigh matched query terms by document frequency (tf-idf style), so rare distinctive terms rank above entries dense in ubiquitous words.
- Sped up first-run installs by skipping pip/setuptools/wheel seeding when creating the kernel Python venv; every kernel package is installed with
uv pip, so the seeded tools were never used. - Reduced Python kernel startup time by deferring the event-loop import stack (asyncio plus the shell tool's heavy stdlib imports) until after the ready event, with no protocol or behavior changes.
- Fixed harness digest re-delivery busting the provider prompt cache: cold boundaries (resume, context rebuild, post-compaction head) now compare a harness state fingerprint instead of the rendered digest text, so unchanged harness state no longer re-delivers a digest that turn-drifted relevance terms made look stale; the compaction summary carries the fingerprint for the same skip rule, and ranked digests break score ties on stable identifier order instead of
updated_atrecency so an unrelated entry update can no longer reshuffle the visible window. - Fixed: compaction, branch, and refine summaries now label each serialized tool result with its tool name, so parallel tool calls can be paired with their results.
- Fixed: failed tool results are marked as errors in the label, keeping failure attribution visible in summaries.
- Fixed: serialized tool calls now carry a sequential
#Nprefix and results repeat the matching index, so repeated calls of the same tool pair unambiguously. - Fixed the kernel stderr log (
kernel-stderr.login the session artifact directory) being created world-readable: the log is now owner-only (0600), and its directory is created owner-only (0700) when the kernel manager creates it, matching the kernel state snapshot and the other private session artifacts, because kernel stderr can carry exception payloads. - Corrected the documented defaults in
docs/settings.mdanddocs/themes.md: unset thinking starts atmedium(notxhigh), the default theme isprime/light(notdark),transportdefaults toauto(notsse, andwebsocket-cachedis a valid value), and the removedcollapseChangelogsetting is no longer documented. - Chats now start at the middle conversation-detail level (edit diffs expanded, thinking visible, tool output still summarized) instead of the most-collapsed overview; Ctrl+O keeps cycling overview -> details -> all unchanged.
- Added a pre-push guard hook that refuses mirror-like pushes and remote branch deletions to real GitHub remotes, with an opt-out via PRIME_AGENT_ALLOW_MIRROR_PUSH=1.
- Fixed opening an agent from Agents View during a daemon auto-update failing with "Daemon is preparing an update restart": the open now waits through the update restart (bounded) and reconnects once the daemon returns, with a notice that it waited instead of a hard failure.
- Fixed
heartbeats_listtiming out on busy daemons: the supervisor now answers from a shared in-memory scheduled-jobs snapshot (one in-flight disk scan serves every concurrent catalog request, heartbeat mutations drop the snapshot, aged snapshots refresh in the background), and sibling name scans no longer hold the serialized ledger queue that scheduled-catalog topology reads wait on. - Fixed an unhandled error on the kernel child stderr pipe crashing the daemon worker: the stream now records a kernel diagnostic like stdin and stdout instead of reaching the daemon uncaughtException handler and exiting with every hosted session.
- Fixed short-lived sessions re-paying the whole Python kernel skill sync or wiping and rebuilding the venv after being killed mid-sync: the bootstrap version marker is now written atomically and persisted incrementally (base first, then after every installed skill), so the next session resumes only the remaining skills instead of starting over.
- Fixed spawn name reservations releasing before admission was durable, which let two parallel same-name spawns both admit and write duplicate ledger edges that made child selectors ambiguous.
- Added model and reasoning effort pickers for ACP clients such as Zed, with model-specific effort options.
- Reduced daemon disk churn: the scheduled-jobs catalog now re-parses only when its file changes, instead of on every heartbeat and agents-view poll and two to three times per mutation.
- Fixed worker CPU growing with session size: roster heartbeat flushes no longer re-walk every message for the latest-activity timestamp, no longer re-compose and re-serialize unchanged session summaries each cycle, and the heartbeats list no longer builds a full session summary per registered job per poll. Unchanged sessions reuse their last composed roster entry; any live-state change (new message, streaming, bash, compaction, verdict, or registration flag) still recomposes and publishes the same wire delta as before.
- Timer-driven goal and autonomous continuations now pause while background
bash()handles are still running instead of re-prompting the waiting agent: the last handle settling is the wake-up (its completion notice is delivered first, then the held continuation resumes behind it without spending continuation budget while it waits), and the kernel now notifies the host when its live background handles settle or the kernel tears down. - Added the
/speed [on|off]session command: toggles a compact footer readout of model output tok/sec (latest response plus session average), computed from existing stream events with no provider protocol changes. - Harness store writes now validate entry shape before persisting:
rlm.harnesscreate/update/upsert calls reject non-string or emptytitle/content, empty or non-string ids, malformed paths, non-dictreference/arguments/metadata, and skill entries without a valid Python reference, with a clear error naming the entry and the violated entry field; refinement events reject non-string triggers and invalidchanges/ids./refineand rollback edits reject the same shapes throughvalidateEdit. - The harness digest and refine overview now skip malformed persisted entries and refinement events (non-object events plus events with non-string ids, triggers, change elements, or outcomes, labeled by bounded type instead of value) with a
harness: skipped malformed entry <id> (...)diagnostic line instead of crashing session creation, so a single corrupt store entry can no longer brick every session and child spawn. - Added an
imageModelsetting that routes image-attaching turns to an image-capable model when the session or subagent model is text-only. - Image turns on a text-only session model now fail with an actionable error naming
imageModelinstead of silently dropping the images when the setting is unset or unusable. - Attached TUI windows now recover automatically when the daemon restarts: a shutdown close polls the same socket path for the reconnect window (60s by default) and then re-attaches the session and refreshes the transcript instead of dying; if the daemon stays gone, the saved-transcript message remains.
- Daemon update restarts now announce the update close reason on every attached window, so all windows (not just the one running /update) restore their sessions.
- A one-line banner reports restart recoveries, and warns to restart the window when the restarted daemon is newer than this window's binary.
- Fixed withdrawn background command completion notices silently dropping parked next-turn messages: cancelling a queued turn now re-parks its undelivered prefix records, so deferred context (kernel state restore notices, goal context, deferred RLM child terminal notices) is delivered on the next turn instead of being lost.
- Changed the session catalog scan to count tool-result (and extension-role) message entries from their serialized header instead of parsing their payloads, cutting the CPU a cold scan spends on transcripts whose tool output dwarfs everything else.
- Parked quota-blocked sessions now resume from a wake that survives aborts, restarts, and daemon-delivered wakes instead of clearing the park or stalling the resume, and a park no longer fails an active goal: the goal resumes with the task at the wake.
- Catalog metadata updates (renaming a saved session, archiving a stopped worker, marking a recovered session interrupted) no longer parse the whole transcript: each appends a single line after validating the session header, so routine actions on multi-MB sessions avoid the full-load stall and memory spike. A missing or header-invalid session file now fails the update with a clear error instead of being recreated or silently rewritten as a fresh session. The interruption notice stays advisory during worker recovery: a notice that cannot be written is logged, and recovery still reaps orphaned processes and resolves its journal.
- Changed the daemon to start its session catalog process on demand: the catalog is no longer spawned at supervisor boot, so an idle daemon keeps one fewer compiled runtime resident. The catalog spawns on the first session-file operation (agents view,
list --all, session rename/delete/archive) and stays resident once started. - Changed session context assembly to carry only the newest harness digest: older digest custom messages are skipped when the context is built, a fresh cold-boundary digest replaces the copies it supersedes instead of stacking, and a compaction head's digest snapshot yields to any digest appended after the compaction. Persisted transcripts are unchanged; the newest digest remains authoritative.
- Cached the active branch path in the session manager, so per-turn compaction checks and context-usage updates no longer rebuild the whole leaf-to-root path after every assistant message.
SessionManager.getBranch()now returns the live shared branch array (public API): repeated reads return the same array object and straight-line appends extend it in place. Callers must treat it as read-only and take.slice()for a snapshot;session_before_compactalready passes a snapshot.- Fixed compaction summaries drifting behind the retained conversation: the summarizer now receives the newest kept-tail assistant text as a
<recent-state-anchor>and the in-context[compaction-summary]prefix states that the retained messages below are authoritative. - Fixed compaction file lists compounding through repeated summaries:
<read-files>/<modified-files>blocks are stripped from the previous summary before the update prompt (entry details plus the fresh append remain the single source), and the combined file lists are capped at 6000 characters, dropping read-only entries first. - New request timing diagnostics:
PI_REQUEST_TIMING=1(or settingsrequestTiming: true) logs the phase timeline for each request made by the agent stream - prompt-built, request-sent (with body bytes), first-byte, first-token, stream-done - to~/.prime/agent/logs/agent.jsonlundercoding-agent.request-timing, so a longWaitingstate can be attributed to client-side build, upload, provider prefill, or a prompt-cache miss (summary usage shows cacheRead/cacheWrite). Zero overhead when disabled. - Added a session-start
[python-skills-unavailable]notice when a pre-imported Python skill fails to import into the kernel. The report names each failed skill import and its import error so the model learns before its first call instead of from the unavailable-skill placeholder, in both the TUI and headless sessions. - Fixed kernel REPL protocol output that could buffer unbounded memory in the host: Python-level stdout/stderr writes now ship as 64 Ki-char frames, oversized result reprs are capped at 1 Mi chars with a marker, oversized display payloads fail the cell, and the host repairs a kernel that streams an oversized protocol line.
v0.9.5
2026年09月16日
-
Removed the inactive-session collapse (Alt+I): inactive sessions always render in the agents view, and search remains the filter.
-
Changed the default Prime Inference model from GLM 5.2 to GLM 5.3.
-
Changed Agents View session statistics to use muted secondary text while preserving the available details (ENG-6000).
-
Changed Agents View session search to inline editable text without an input background or border (ENG-6001).
-
Changed refinement delivery to preserve the provider prefix cache: applying a refinement no longer rebuilds or swaps the system prompt. Applied edits now reach the model as a durable in-context
[auto-refinement]/[user-refinement]/[self-refinement]notice at the apply boundary (zero-applied-edit refinements emit nothing, and the notice never starts a turn), and the harness digest moved from the system prompt to cold context boundaries: fresh sessions start with a digest message, post-compaction head messages render the digest before the summary on both compaction paths, and resumes append a fresh digest only when it no longer matches disk state. -
Fixed prompt templates altering literal dollar sequences and expanding placeholders inside user arguments.
-
Fixed automatic compaction and recovery for LiteLLM maximum-context rejections.
-
Fixed active goals stalling after manual compaction.
-
Added the recorded model to inactive session rows in the agents view instead of showing '-'.
-
Fixed Amazon Bedrock requests failing to load the provider in packaged CLI installations.
-
Fixed Bedrock provider failures losing structured error severity and worker context in the shared CLI log.
-
Fixed refinement and side questions disabling reasoning when the session uses it, while respecting the selected model's supported thinking levels.
-
Removed fixed output caps from refinement with reasoning enabled, while respecting the model's output limit and reserving context space for the prompt.
-
Fixed long refinements exceeding the context window or being rejected prematurely, keeping recent conversation text and space for the response.
-
Changed recursive subagent spawning to the explicit
await rlm.spawn(...)call; therlmobject is no longer callable and calling it raises an error namingrlm.spawn. -
Changed
rlm.spawnto require an explicitnamekeyword argument for every spawned child. -
Unified all machine-injected user-channel messages under one bracket grammar: agent messages now open with
[agent-message from <relationship>:<name>], heartbeats with[heartbeat: <schedule> run#<n>](previously the raw prompt with no marker), background shell completions with[bash-done pid:<pid> exit:<code>](dropping the standing BashHandle hint), RLM child notices with[child-exited: ...]/[child-failed ...], goal context with[goal: <kind>], kernel state notices with[python-state]/[python-state-restored], autonomous status and continuations with[autonomous-status: on|off]/[autonomous-continuation(: gate-failed)], post-update restore notices with[update-complete], and compaction/branch/harness-digest blocks with[compaction-summary]/[branch-summary]/[harness-digest]. Machine data (message ids, endpoints, pids, schedules) lives in message details, detection keys on customType instead of text regexes, and old-format persisted transcripts still parse. -
Removed
agent_message.list_agents();agent_observe.list_agents()is now the single family roster and lists inactive parents, siblings, and children with arelationshipfield. -
/autonomous onnow accepts the same budget flags as the--autonomous-*CLI options (--max-continuations,--max-turns,--max-tokens,--timeout-ms,--gate,--gate-retries,--gate-timeout-ms), so interactive runs use a user-defined budget instead of always stopping after the default three continuations. The CLI spellings work as aliases and quoted gate commands are supported. Numeric values accept,/_digit separators, and the four budget limits acceptunlimitedto remove that cap. Named budget flags define the whole budget: unnamed limits become unlimited, so/autonomous on --max-tokens 100,000is bounded only by that token budget (plus gates); with no budget flags, the configured or default limits still apply. The status text now reports the time budget, configured gates, unlimited limits, and comma-grouped numbers. -
Added subcommand autocomplete to /traces, suggesting status, on, off, preview, upload, upload-current, upload-all, and login after the command.
-
Changed the agents view model column to show the bare model name, stripping provider paths embedded in the model id.
-
Changed the subagents bar to count running, idle, and inactive agents across the whole subagent subtree instead of only direct children.
-
Background command completion notices are now withdrawn when the agent already read the result: reading a finished
bash()handle from a live cell (awaiting it, or callingpoll(),output(), ortail()) drops a notice that is still queued and stops one that was not sent yet. Reads that no cell receives, such as a detached watcher polling between turns, still leave the notice in place, so an unread completion wakes an idle session exactly as before, and a delivered notice is never retracted. The queue and transcript label for these messages is now "Background command finished" instead of "Shell message received". -
Changed
/btwside questions to declare the session's tools without allowing their use: the request now matches the main conversation's cached prefix byte for byte (tools included), any tool call gets an error result instead of executing, and the side thread's first turn explains that it is a/btwside conversation with tools deactivated. -
Fixed
/btwside questions discarding the main conversation's prompt cache by lowering the reasoning level: side questions now keep the session's thinking level, so providers whose cache keys include thinking parameters reuse the cached conversation. -
Changed refinement notices to show a spaced purple status line and softer semantic summary in overview and details, with full change counts and diffs in all output.
-
Added expandable Title and Description diffs with the same red and green backgrounds as file edits, preserving other fields and failure details.
-
Changed successful compaction notices to show a purple Context compacted header and softer summary preview, with the full summary and token/focus metadata in all output.
-
Fixed refinement notices to stay purple across themes and avoid extra blank lines before following prose.
-
Changed model, provider, and MCP pickers to compact inline lists with responsive search and keyboard navigation.
-
Added selected-model catalog prices for input, cached input, and output per million tokens.
-
Split the configuration menu into separate single-purpose pickers and dropped the tab bar and tab navigation; each command opens only its own picker.
-
Changed model rows to right-align the provider label with a require sign in hint beside it, and to list signed-in providers first with Prime Inference pinned on top when signed in.
-
Added per-model effort squares to the models picker; left/right adjusts the highlighted model's reasoning level and Enter applies the model and effort together.
-
Fixed the models picker search to keep signed-in providers above unsigned matches, with Prime Inference pinned on top of the signed-in group.
-
Softened the selected row highlight in menu pickers: the selection background blends toward the editor surface and the selected label renders bold instead of accent-colored.
-
Refined the effort squares: clusters align across rows with arrow hints on the highlighted row, spaced squares in a stronger purple, and the selected level labeled beside them.
-
Folded the USD per million tokens unit into the model detail header line and left clear whitespace at the end of the detail block.
-
Rounded model picker token prices to at most three decimals, showing sub-$0.001 rates as <0.001 instead of a misleading $0.
-
Centered the models picker effort cluster near the row midpoint with square glyphs; fills render light gray and reserve the saturated purple for the highlighted row.
-
Removed the explanatory title and subtitle lines from the model, provider, and MCP pickers; the search row now leads each picker.
-
Moved the model detail pricing unit onto the price row as "dollars per 1 million tokens" and left the provider/model line bare.
-
Fixed the effort cluster so changing the level never shifts the row; the level label renders in a fixed-width cell sized to the longest supported level name.
-
Refined the model picker effort marks to the larger medium-square glyphs, softened the effort purple, and shortened the pricing unit to "$ / 1M tokens".
-
Dropped the provider/model-id line from the inline model detail block; the prices now follow the list row directly.
-
Settled the effort marks on the filled ■ and empty □ squares, the largest square pair the terminal fonts cover.
-
Tightened the effort square spacing; the squares now render edge to edge and the cluster stays centered.
-
Fixed model selection retaining focus until the model and explicitly selected effort finish applying, preserving the default effort when it is untouched.
-
Fixed arrow keys editing model searches and removed the unused configuration-tab binding.
-
Moved muted conversation detail status directly above the prompt beside an ellipsized recap, with one blank line separating the row from the chat.
-
Showed model IDs with colon-separated lowercase effort and context usage in the bottom-right tray.
-
Kept fast mode beside model and effort, renamed session navigation to manage, and removed the repeated shortcut guide hint below the prompt.
-
Hid the tray and subagents summary while pickers are open and showed depth only for subagent sessions.
-
Kept slash command autocomplete completion-only: Tab or Enter completes the command, and pressing Enter again runs it.
-
Removed unsolicited feature-discovery tips during agent runs and example prompts from the startup splash and editor.
-
Removed the extra blank line above recap and detail status when no extension widget is shown.
-
Kept the tray and subagent summary visible during slash-command autocomplete while hiding them for actual pickers.
-
Renamed conversation detail states to Collapsed mode, Details mode, and Expanded mode.
-
Prevented hidden subagent summaries from taking focus while a picker is open.
-
Changed the agents view to hide abandoned empty saved sessions consistently during search, simplify model labels, and keep secondary metadata quiet.
-
Changed the agents list to separate the splash from search, bold the shared column headings, mute populated status groups, and omit the global scope label.
-
Changed idle and inactive rows to share one bold status circle distinguished by color, keeping the animated mark for running rows and sub-agent expansion available through its keybinding.
-
Replaced chat and agents splash logos with a compact solid butterfly beside centered runtime metadata, with a text heading in narrow terminals.
-
Changed the agents header to show three metadata lines: title and version, agent counts, and the working directory globally or numeric depth in nested views; retained the nested back breadcrumb and chat model line.
-
Removed duplicate prompt suggestions from chat and agents headers.
-
Fixed empty-state search feedback while replying to or renaming an agent.
-
Changed assistant message body text to a new dimmed
mdBodytheme color, easing the wall of bright default-foreground text while headings, links, and code keep their styling. -
Changed prime-theme inline code to a darker neutral (#c8c8cd) so it stays distinct from the dimmed body text.
-
Added a three-stage Ctrl+O cycle for overview, thinking and file diffs, and all output, replacing the separate Ctrl+J and Ctrl+T conversation shortcuts without changing saved traces.
-
Changed thinking rows to stay hidden in overview and appear as dim text without a repeated heading in the other detail modes, including newly streamed thinking.
-
Changed collapsed tool-call previews to render plain and dim instead of green or syntax-highlighted code, with dim line counts and durations, while expanded blocks keep full highlighting.
-
Changed decorative bold text in the conversation surface to normal weight, keeping bold only where it marks state or a single critical item (selected rows, active tabs, the login verification code).
-
Changed the conversation row hierarchy: event-row trailing detail (agent-message participants, tool command previews, line counts, durations) renders dim while leading labels keep their colors.
-
Changed background shell completions to update identifiable command rows, with compact fallback notices and full notifications shown once at their original conversation position in all output.
-
Replaced repeated conversation detail shortcut hints with a status label showing the current detail mode and configurable expand or collapse shortcut.
-
Changed expanded file diffs to start at the normal chat inset while preserving code indentation and diff gutters.
-
Changed sent and received agent messages to keep compact notices in overview and details, show full bodies only in all output, and use the shared detail cycle instead of a separate Ctrl+P toggle.
-
Fixed spacing after background shell completions and matched unique literal assignment-only shell launches to their completion notices.
-
Fixed multiline Python string colors across source lines and narrow wrapping, kept embedded string content out of collapsed code previews, and preserved statements after closing quotes.
-
Changed expanded Python cells to nest input directly under the summary, align marked output beneath it, and separate full tool and message blocks.
-
Fixed unwanted gaps between compact tool and agent-message rows when empty assistant messages or hidden thinking appear between them.
-
Fixed missing separation between refinement notices and subsequent collapsed background shell completions.
-
Fixed custom themes without
mdBody, large expanded agent messages, and slow or unmatched shell completions caused by malformed launch arguments or blank lines. -
Removed obsolete thinking-visibility settings and unused transcript heading and hint state.
-
Fixed indefinitely animated shell rows after ambiguous completion notifications while keeping unmatched results at their original timeline position.
-
Added xAI Grok subscription authentication through the existing
/loginmenu for all bundled tool models, with auth changes applied to the current session. -
Changed the agents view subagent expand/collapse control: the arrow now sits on the always-visible subagent summary line instead of hiding on the session row.
-
Changed the agents view hint tray to describe the arrow keys in context —
→ open,→ expand/→ collapseon a subagent summary line, and← parentonly inside an agent scope — in place of the?actions hint. -
Added standalone macOS and Linux release archives that run without Node, npm, or Bun, including the Python runtime sources and application assets.
-
Changed new installations to prefer verified compiled releases on supported machines, with Node installation available for other systems.
-
Fixed reinstalling the same compiled release to restore its assets without modifying files used by existing processes.
-
Fixed installation to preserve a public command replaced by another installer during download.
-
Fixed terminal hangups leaving an installation lock behind.
-
Fixed installing older releases that only provide npm packages through the default installer, including when an npm command already exists.
-
Fixed interrupted compiled updates discarding the existing rollback target.
-
Fixed reinstalling or upgrading through the installer after an incompatible compiled executable falls back to Node.
-
Fixed interrupted fresh installations leaving a broken command.
-
Fixed installer downloads to require HTTPS and reject redirects to insecure protocols.
-
Changed macOS installation guidance to use the published installer until browser downloads are signed and notarized.
-
Added migration from global npm installations to compiled releases during the next launch after an update, preserving settings and a Node fallback when migration cannot run.
-
Fixed migration to preserve a newer compiled installation activated by a competing update.
-
Fixed automatic migration delaying daemon startup, reusing incompatible compiled releases, and replacing a concurrent npm command.
-
Fixed automatic migration blocking informational and automated launches, hiding installer progress, suppressing retries after cancellation, and silently deferring invalid compiled releases.
-
Fixed migration from scoped global npm packages to compiled installations.
-
Fixed background and informational launches starting migration downloads after the public command had already switched to a compiled installation.
-
Fixed unsupported hosts attempting compiled migration downloads instead of quietly continuing with Node.js.
-
Fixed Prime Agent production credentials and team selection to stay independent of Prime CLI configuration, with validated CLI credential reuse only during explicit login.
-
Fixed explicit Prime CLI credential import for the default SDK services factory.
-
Added verified updates and offline rollback for compiled Prime Agent installations, preserving sessions and restarting with the activated release.
-
Fixed normal interruptions during rollback losing the release needed to undo that rollback.
-
Fixed malformed compiled-release metadata causing unnecessary npm reinstalls and daemon restarts.
-
Fixed interrupted compiled activation recovering the exact rollback target before another lifecycle change.
-
Added conservative cleanup for abandoned installer staging and inactive managed releases while retaining live or uncertain releases.
-
Fixed direct and planned rollback rejecting inconsistent release metadata, assets, paths, and executable versions before activation.
-
Fixed failed activation recovery discarding the state needed to retry restoring the previous release.
-
Fixed damaged compiled installations blocking repair and rollback to a healthy retained release.
-
Fixed rollback planning after interrupted activation and provided repair guidance for older retained installers without recovery support.
-
Fixed stalled executable checks holding the installer lock indefinitely during installation, rollback, or activation recovery.
-
Fixed update guidance directing repairable compiled installations to a manual download instead of the update command.
-
Fixed OpenCode compaction, refinement, and branch summaries failing because requests omitted the conversation identity.
-
Sped up roster and family resolution by caching the RLM spawn ledger's replayed edges behind a file-stat guard: unchanged files reuse the cached edges instead of re-reading and re-parsing the whole ledger, while any writer's append (this process or another daemon) still forces a fresh replay.
-
Fixed slow agents-view updates and searches in large session catalogs, while keeping streamed sessions and status ages current.
-
Sped up opening long live sessions: events arriving during the snapshot load now replay incrementally instead of each one triggering a full transcript re-transfer.
-
Capped resync and settings-rebuild transcript renders to the recent tail, matching the initial open.
-
Stopped the chat from re-fetching the whole transcript when a live event lands between attach and the first render.
-
Fixed event ordering and snapshot recovery when opening busy sessions, switching sessions, or reconnecting, while preserving live updates in headless modes.
-
Fixed snapshot transfers continuing after a session closes.
-
Limited memory retained by live updates while a slow snapshot loads.
-
Fixed
heartbeats_listfailing with "Cannot list heartbeats while session worker is starting" by awaiting in-flight worker launches before enumerating heartbeats. -
Bounded the global
heartbeats_liststartup wait and stopped waiting on client-owned launches, so private session startups no longer stall the catalog past the caller's request timeout. -
Bounded the session-scoped
heartbeats_listforward so a stuck worker fails inside the caller's request budget instead of hanging until the client transport timeout. -
Fixed re-opened sessions rendering an empty transcript until the next message when a transient control-plane failure interrupted the initial render.
-
Fixed one unrenderable message aborting the whole transcript rebuild during a session resync.
-
Fixed orphaned session workers retrying supervisor resurrection forever when no replacement can come up: they now exit gracefully after a bounded supervisor-lost window, closing active sessions first.
-
Fixed a crash when returning to the agents view while a chat is still loading.
-
Fixed shutdown being ignored after returning to the agents view during stalled chat startup.
-
Removed heartbeat catalog loading from the wait when opening or leaving a chat.
-
Fixed a kernel pipe write error (write EPIPE) crashing the whole session worker: pipe errors are now recorded as kernel diagnostics while the pending write rejects cleanly.
-
Added
rlm.collect, a typed non-steering fan-in for subagent results: it awaits direct children's runs with a bounded timeout and returns per-child result envelopes (status, settled, answer preview, error, duration, tool count) without growing the parent's message queue. -
Fixed agent-spawned shells hanging on interactive prompts: git commit/rebase without -m, credential asks, and pagers now fail fast or no-op because GIT_EDITOR, EDITOR, VISUAL, PAGER, and related variables default to non-interactive values.
-
No-argument slash commands now show a
Usage: /<command>error when given arguments instead of silently sending the text to the model; the input is preserved for editing. -
Formatting-only: applied biome's line-wrapping to
daemon-mode.tsso the pre-commit hook no longer leaves working-tree drift after every commit. -
Fixed non-worker draft discards to be best-effort: teardown failures are logged instead of exiting the daemon, an in-flight attach keeps its draft alive, and get_rlm_children returns the merged roster (resident plus passivated children) that the attach snapshot advertises.
-
Autonomous mode now holds timer-driven continuations while subagents run, mirroring the goal continuation gate: child replies and exit notices wake the parent, so idle status-check turns no longer consume continuation budget. The held continuation is delivered when descendants settle, and a configurable keep-alive valve (default one continuation per 25 minutes of continuous subagent activity,
/autonomous on --subagent-keep-alive-ms <n>,0disables) lets the parent check for hung children. -
Escaping the onboarding splash or failing its login no longer permanently skips onboarding; the guide reruns on the next launch until a model is configured.
-
Added a bounded wait-for-usage mode: quota/subscription failures (429s, usage limits) now wait for recovery with exponential-backoff pings (1s doubling to a 5m ceiling, jittered), resume exactly at provider-reported reset times, and stop at configurable attempt/duration bounds instead of killing the session mid-turn.
-
Added transient-unavailability waits: after quick retries are exhausted on 5xx/overload/network (and 404 routing blips) failures, the session pings with the same bounded backoff instead of giving up.
-
Added an opt-in
providerBackupModelsetting that routes failed turns to a user-defined backup model while the primary is quota-blocked or unavailable, with an explicit status-line indicator, session-logged primary->backup->primary transitions, and automatic return to the primary on recovery. -
Non-interactive CLI boots no longer hang on stdin: the boot-time piped-stdin read gives up after a short idle window (PI_STDIN_TIMEOUT_MS, default 250ms) instead of waiting forever on a pipe a daemon worker, agent harness, or CI runner holds open without ever writing or closing it,
--resumeof a session from another project fails fast without a TTY instead of blocking on a fork confirmation,daemon attachwithout a TTY reports an error instead of waiting for terminal input, and the deprecation-warning keypress wait is skipped without a TTY. -
Fixed model cycling being unreachable from the interactive UI: Alt+M / Shift+Alt+M now cycle scoped models (previously documented as Ctrl+P, which actually toggles message expansion), and all docs and the startup banner now name the real keys.
-
Typo'd slash commands now fail fast with a suggested correction instead of being sent to the model as a prompt; genuine messages that merely start with a slash still pass through.
-
Fixed goal token accounting regressing across compaction context rebuilds: the same goal's usage counter can no longer move backwards when a summary navigation reloads a stale persisted state, and a stale active snapshot can no longer revive a goal whose budget gate already fired.
-
Fixed compaction summaries dropping the tail of tool results: truncated tool output now keeps the last 500 characters so errors and log tails survive compaction.
-
Fixed compaction summaries never recording kernel-performed file edits: ipython tool results now contribute their structured edit diffs to the tracked file operations, so
<modified-files>reflects the default toolset's edits. -
Added an
auxiliaryModelsetting ("provider/id") that routes refinement LLM passes (auto-refine review and refinement planning) to a different model. These passes use their own prompt prefixes, so running them on the session model evicts the provider's prompt-cache entry for the session and forces a full context re-read on the next session request; the setting isolates those passes while falling back to the session model when unset or unusable. -
Prime Inference
anthropic/*models now send anthropic-stylecache_controlmarkers (system prompt, last tool, last conversation message) so prompt caching engages on gateways that pass them through to the upstream Anthropic API, matching the Anthropic cache pricing the catalog already applies to those entries. -
Fixed an invalid
--thinkinglevel being only a warning while the launch continued with the default level; it is now a hard error listing the valid values, matching--modestrictness. -
Fixed the agents-view hint telling users to start "without --no-daemon" - a flag the CLI does not recognize; the hint now names the real condition (a daemon-hosted session; start normally without
--no-session). -
Changed the continual harness digest from alphabetical truncation to relevance ranking: entries are selected by weighted term overlap with the active goal and recent messages (recency tiebreak), and a
harness.search(query, kind=None, limit=10)kernel API returns ranked entries on demand. -
Sped up session appends and forking large sessions: the per-append assistant-message scan is now a cached flag, and session forks write through a single open descriptor instead of one append syscall per source entry.
-
Added
autonomoussettings (maxContinuations,maxTurns,maxTokens,timeoutMs, each a positive number or"unlimited") that persist the default budget for autonomous runs, so long-horizon runs keep a user-defined budget without re-passing--autonomous-*CLI or/autonomous onflags; explicit per-run flags still win. -
Added the
subagentDefaultModelsetting:rlm.spawncalls that do not pin a model resolve against this persisted default (shown in the spawn receipt'smodelfield) instead of always inheriting the parent model; unset keeps inherit-parent, and an unavailable default fails the spawn instead of silently falling back. -
Fixed the bundled goal skill's canonical example, which still taught
token_budget=200000against its own "settoken_budgetonly when an explicit token budget is requested" guidance. -
Fixed
rlm.delete_subagentrejecting theRLMSpawnHandlereturned byrlm.spawn; it now accepts a spawn handle, a subagent row, or a child id/session name string, matchingrlm.collect. -
Fixed vague subagent and top-level session model validation errors: unambiguous bare model ids (like "z-ai/glm-5.3") now resolve to their full selector ("prime-inference/z-ai/glm-5.3"), and unresolved references state the expected "provider/model-id" form with close matches instead of only "unavailable, unauthenticated, or expired".
-
A bare reference that matches no authenticated catalog model still resolves to the parent model when it matches the parent's full selector, covering offline discovery or expired provider credentials; ambiguous references remain unresolved.
-
Removed the dead
./hookssubpath export from@earendil-works/pi-coding-agent; thecore/hooksmodule was deleted in #454 and the advertised export already resolved to a nonexistent file. -
Fixed
rlm.create_sessionsessions on private Prime Inference models failing every request with a provider 400: an unknown private route id (e.g.internal/glm-5.3-fast) no longer inherits the public provider default's zai thinking format, so created sessions stop sending theenable_thinkingparameter the private endpoint rejects, and thinkingoffis no longer coerced tolow. Public models keep their existing fallback behavior. -
Fixed errored sessions persisting fabricated completed verdicts: a session whose last turn ended in a model error (e.g. provider 400s before any work ran) no longer lets the status classifier invent a recap and a COMPLETED verdict from the task text. Such sessions now settle to an
errortask state whose summary carries the transcript's real error message, persisted with the same journal-dedupe discipline as model verdicts, and terminal turns withstopReason === "error"no longer persistcompletedwithout a final answer. A verdict fabricated by earlier builds and persisted before a daemon restart no longer survives: the restart-seeded status is exempt from the unchanged-content fast path, so the first sweep repairs it to the error verdict. -
Fixed invalid macOS signatures in standalone downloads and blocked releases whose final Mac archives fail signature or runtime checks.
-
Added host-owned
ctx.setTimeout/ctx.setInterval(plus matching clears) for extensions: throwing callbacks are reported through the extension error boundary instead of crashing the process, and pending timers are cancelled on unload. Raw global timers remain unsupported for scheduling extension work. -
Fixed a session worker wedging at 100% CPU: waiting for a session to go idle while queued input was blocked by a running bash command, compaction, or retry spun in microtasks without ever yielding to IO, freezing every session in the worker and starving daemon IPC.
-
Fixed session model restore silently substituting another provider's same-named model right after a daemon restart: restore now waits (bounded, default 5s) for in-flight Prime Inference catalog and private-authorization refreshes to settle and retries the lookup once before falling back, so saved models like prime-inference/openai/gpt-6-astra are restored once auth and the catalog are ready instead of swapping to openai-codex/gpt-6-astra, which displays identically in the UI.
-
Fixed goal continuation prompts delivering a stale accounting snapshot taken when the continuation was queued; usage numbers now refresh at delivery time so long-queued continuations report the current budget state.
-
Added a persistent supervisor connection for daemon workers: cross-worker requests (agent messages, roster reads, root-session creation, renames) now multiplex over one
SupervisorLinkinstead of opening a fresh supervisor connection per call. Requests are never retried in-flight because daemon commands are not idempotent. -
Added a dirty-tree guard to the bash tool: destructive git discard commands (
git checkout -- .,git checkout .,git clean -f...,git reset --hard,git restore .) are refused while uncommitted changes exist, listing the dirty paths and the explicit bypasses (allowDestructiveGit: trueorPI_BASH_ALLOW_DESTRUCTIVE_GIT=1). The guard probes the repository the command targets (followingcdchains andgit -C), refuses relocations it cannot replay safely, and fails open when dirtiness cannot be determined. -
Fixed cold chat openings waiting behind saved-session catalog scans (#2259).
-
Fixed background scheduled-job scans slowing down agents with large saved chats (#2259).
-
Fixed large chats downloading their transcript again after refreshing the model catalog during startup.
-
Fixed beta-only and stable-only releases failing macOS validation because their artifacts were downloaded to the wrong directory (#2265).
-
Fixed repeated full transcript scans when refreshing large saved-session catalogs.
-
Fixed repeated filesystem path checks when refreshing RLM session catalogs.
-
Fixed saved-session deletion records when a path alias changes during deletion.
-
Fixed RLM child renames and deletions being ignored after a cached session path becomes a symlink or changes targets.
-
Fixed left and right arrows moving the search cursor after a search in the models picker: once up or down moves into the list, they adjust the highlighted model's effort until the query is edited again.
-
Added the
⚠icon prefix toshowErrormessages in the interactive TUI, matching the existingshowWarningtreatment (ENG-6159). -
Removed the mcp service catalog picker, connection store, and oauth login flows (revert of #2256; the work will be relanded separately).
-
Fixed CLI value flags (--model, --provider, and 15 others) being silently swallowed when their value was missing, and invalid --mode values being ignored; both now fail with a clear error.
-
Fullscreen chats show a pinned top bar with the chat name centered in plain text and the session's total spend beside it; the bar stays visible in every scroll position and refreshes the spend after each turn.
-
Changed the prompt queue so messages you send are delivered before queued agent-to-agent messages, background notices, and scheduled prompts, while keeping your own messages in the order you sent them.
-
Added a persistent update channel.
/nightly(orprime-agent update --nightly) warns that nightly builds may be broken, asks for confirmation, then switches self-updates to the nightly (beta.json) release manifest and runs the normal update flow with its busy-session confirmation./nightly offor--stablereturns to stable. Startup version notices follow the chosen channel. -
Changed provider logins, including the in-flow team and account selectors, to render inline under the chat in the compact picker style instead of a centered full-pane modal.
-
Changed finishing a provider login to stay on the providers tab instead of forcing the models picker open; the models tab refreshes in the background so it is ready when opened.
-
Added a separator rule above the inline provider login panel so the login section stands out from the conversation above it.
-
Tightened the inline provider login panel: the sign-in link and provider guidance lead the panel, the repeated browser-open copy and section labels are gone, and the paste field keeps a single key-hint line.
-
Fixed inline menu panels dropping their subtitle, so multi-line provider prompts keep every instruction line.
-
Renamed the Prime team selection heading to "Select a Prime Team:".
-
Fixed the TUI heartbeat view freezing on busy sessions: catalog fetches now keep the last snapshot after a 10-second deadline and retry on the next heartbeats_changed event, instead of waiting behind an active turn indefinitely. A timed-out fetch still applies its late answer and re-arms a short retry so the open view always converges, and a failed fetch now shows an error in the view instead of silently showing a stale catalog.
-
Changed the first-run onboarding to a compact block anchored top-left: the brand mark over its animated field, a short description of what Prime Agent does, and a single action to log in with Prime Intellect.
-
Changed onboarding to run every step inside that block: the Prime Intellect login, team selection, and the new questions all mount under the mark instead of opening full-pane modals or dropping to the prompt dock.
-
Added a provider step after login where several providers can be connected in one pass, with a search field, a scrolling list, and check marks on providers already signed in.
-
Added a trace-sharing question at the end of onboarding, which writes the agent traces setting and notes it can be changed later with /traces.
-
Changed first launch to run one sequence for everyone: credentials already on disk (a Prime CLI token, an API key in the environment) no longer skip onboarding or divert it to the model picker; they only make the sign-in step instant.
-
Changed team selection to be skipped when the account has no team or exactly one, and to list accounts by name with their handle.
-
Changed onboarding to stay quiet: provider progress chatter, the credentials-saved status line, and the telemetry notice no longer appear during first launch; the telemetry notice surfaces on the next launch instead.
-
Added
rlm.progress.note, a throttled child-to-parent progress channel: children report short in-flight notes that surface asprogressNote,lastActivityAt, andactivityStaleMson child snapshots and inrlm.list_subagents()roster entries, so the parent kernel sees child state without polling or interrupting.activityStaleMsmeasures active (monotonic) time since the last tracked activity and stays unset while a child's activity isexecuting, so a long tool call reads as busy rather than stale and a host sleep does not mark every running child stale on wake. -
Extended the kernel runtime readiness check to require
rlm.progress_note, so aPRIME_AGENT_KERNEL_PYTHONoverride older than the progress-note API fails fast with an actionable message instead of anAttributeErrormid-run. -
Added musl and baseline compiled releases so Linux hosts stop falling back to the Node installation. Releases now publish
linux-arm64-musl,linux-x64-baseline,linux-x64-musl, andlinux-x64-musl-baselinealongside the existing four archives. The installer detects musl (Alpine) and x86-64 CPUs without AVX2 and downloads the matching archive. musl archives needlibstdc++(apk add --no-cache libstdc++on Alpine); when it is missing, the installer now names that package and stops instead of falling back to the Node installation, and a failed first install no longer leaves an empty installation directory behind. -
Fixed global flags written before a command routing the command to the model as a chat message;
prime-agent --offline model listnow runs the command,--still sends the word as a message, and a global flag a command does not accept fails with a clear error. -
Fixed moved global flags leaking past a
--separator into anmcp addchild command or a scheduled message; they now stay ahead of any--. -
Fixed
prime-agent --offline helpand--offline help statusprinting help instead of chatting; global run flags no longer count as help arguments. -
Made the version check and npm bridge test suites hermetic. They now clear the update and daemon-worker environment variables they depend on, and the bridge sanitises the environment it hands to spawned children, so both suites pass from inside a running Prime Agent session instead of only in CI.
-
Scoped background service discovery to the state root the command runs in, so a run with an isolated HOME or agent dir only lists and stops its own daemons and
shutdown --forceno longer reaches daemons that belong to another root. -
Scoped discovery now also reads the pre-move supervisor registry (so daemons from before the registry relocation stay reachable under the same agent dir) and skips records whose agent dir can no longer be resolved, so one stale record cannot abort the sweep.
-
Fixed installs that failed on a slow first run of the compiled executable, such as Rosetta 2 translation on Apple Silicon; the startup probe now waits up to 60 seconds, accepts a
PRIME_AGENT_PROBE_TIMEOUT_SECONDSoverride, and reports a timeout as a timeout instead of claiming the executable cannot run on this machine. -
Usage analytics now report
libc,libc_version,cpu_baseline,os_release, andos_product_versionso musl and non-AVX2 coverage is measurable before the standalone-Node install path is retired; every probe is memoized, the linked glibc runtime outranks a merely installed musl loader, andos_releaseis the raw kernel release string, which custom kernels can make identifying. -
Changed onboarding for existing users (working model with configured auth) to show only the trace-sharing question, skipping Prime login and the provider picker entirely.
-
Changed onboarding for existing users who already have traces enabled to complete silently without showing any questions.
-
Fixed image paste in standalone macOS and glibc releases by embedding the available platform clipboard addon.
-
Fixed release manifest parsing rejecting all native binary entries when encountering an unknown future platform; unknown platforms are now skipped while known-platform entries remain strictly validated.
-
Added versioned native binary metadata so the v1 manifest schema stays compatible while the v2 schema advertises every musl and baseline archive.