Atomic keeps Intercom responsive when brokers share PostgreSQL.Intercom and storage
- Stalled brokers release their locks. PostgreSQL rolls back idle reservation transactions, and brokers process reservation changes and wake requests in batches, so peers spend less time waiting to send messages (#7024)
Atomic keeps ChatGPT usage numbers in
/usage after requests that report none, keeps each workspace member’s numbers private, and updates the bundled Impeccable skill.Usage- ChatGPT numbers stay put. A Sign in with ChatGPT request that returns no usage numbers no longer erases the account’s last numbers, even when another process made it, and clearing a usage limit keeps them too (#7018)
- Numbers stay with their owner. ChatGPT logins share stored usage only when their sign-in names both the workspace and the user (#7018)
- Impeccable 4.13.2. The bundled skill moves to engine 0.1.36, which explains a failed sign-in in plain words and no longer loops when
impeccable installhas no input left (#7020)
Atomic recovers from a rate limit that lifts early without a restart, shows each subscription account once in
/usage, and keeps the retry advice of streams that fail after they start.Models- Early-lifting rate limits recover without a restart. After a long rate limit, picking a model with
/modelor model cycling checks with the provider again instead of waiting out the stored limit (#7011) - Retry advice from failed streams. A Responses or Codex stream that fails after it starts keeps the provider’s
Retry-Afterorretry_afteradvice, so a wait longer than the retry limit ends retries (#7013, #7012)
- One row per subscription account.
/usageandatomic usageshow each account once, even when you are signed in to it several times, and logins to one account share its latest numbers across machines that share storage (#7014) - Claude usage link. A Claude login that can’t read usage, such as a setup token, links to Claude’s usage page (#7014)
Atomic keeps apps open across tool calls, no longer lets one model’s long rate limit stall a session, and closes security gaps in how options, project trust, Intercom replies, terminal output and secrets are handled.Computer use
- Apps stay open across tool calls. The system prompt and the bundled
agent-desktopandagent-browserskills show how to start an app or browser in a background call that stays open, and abashorpowershellresult now names the processes its call left running that cleanup ended. In 120 measured runs on Windows 11 and Linux, the app opened first survived into the next call in 36 of 40 runs instead of 0 of 40, with a third (Linux) to half (Windows) fewer tool calls (#7006) - Plain PowerShell output. Windows PowerShell progress records no longer show up in
powershellresults, and errors and warnings show as text instead of CLIXML (#7007)
- One model’s long rate limit no longer stalls the session. A request whose rate-limit wait is longer than
retry.provider.maxRetryDelayMsfails at once with the retry-limit message and moves to its fallback, and other models on the same account are still sent, so subagents, their fallbacks andatomic -pfinish instead of hanging (#7002, #6997)
- Startup options reach the engine exactly. An interactive session’s background engine and the RPC entry point now read exactly the options they were started with, so an extension flag’s value can no longer change project approval (#7001)
- Subagents respect each folder’s trust. A subagent sent to another folder, or into a worktree made from one, uses that folder’s own trust decision instead of the launching session’s (#7003)
- Intercom replies reach only their session. With multi-node routing, a reply or failed-ask message reaches only the session its id is bound to, also right after a broker restarts (#7004)
- No terminal control sequences from servers or providers. MCP server text, provider model names and web search activity are shown without terminal control sequences, and secrets are redacted before output is cut (#7005)
- Repository reads stay inside the clone. Web access reads a cloned GitHub repository only through paths resolved inside the clone (#6998)
- Dependency fixes.
minimatch11.0.9 andws8.23.1 fix the advisories reported against the bundled versions (#7000)
- Bundled skills refreshed.
impeccablemoves to v4.13.1 with engine v0.1.35, with its sign-in prompts turned off like its telemetry, and thetmuxandtddskills pick up upstream wording (#6999)
Atomic keeps log output out of the chat, finds its storage without freezing or searching large directories, resumes faster, keeps MCP tools active, and makes invalid tool calls name every problem.Tool calls
- Invalid calls name every problem. A malformed wait on
bash,powershell,read,searchorsubagentfails with one error that names the missingid, each field to remove and a badbudgetMs, and tool argument validation names each field a schema does not allow, so models stop repeating the same invalid call (#6973, #6971) - Clearer guidance for Intercom,
kill,todoand web search.intercomrejects a top-levelbudgetMsortimeouton anaskand names a missingtoormessage,killsends a subagent’s ID tosubagent({ action: "quit", id }),todonames the action and ID form, andweb_searchusesquerywhenqueriesis empty (#6973, #6971) - Long question headers are shortened.
ask_user_questionshortens aheaderover 16 characters with ”…” instead of rejecting the call (#6973, #6971)
- Collapsed status stays short. A collapsed
subagentstatus shows the first three rows of a long task and the expand key; expanding it still shows everything (#6973, #6972)
- No freezes while Atomic finds its storage. The first prompt of a new session, adding or binding a worktree, and opening a shared clone no longer stop keystrokes, rendering and streaming while Atomic looks for its store in a large directory such as
/tmp(#6978, #6981, #6974, #6975) - Bounded searches that are remembered. Searching a large directory for the profile that uses its store stops after 50,000 entries or 1 second, and a claim records when its profile is gone or the search stopped, so later starts skip it: creating a session beside 150,000 entries takes about 0.2 s instead of 3 s, and 0.03 s from the second start (#6984, #6992, #6975)
- Moved profiles find their store at once. A profile that uses its directory’s store and was moved or renamed within it finds the store by its owner ID, through an index in
~/.atomic/agent/storage-owners, however many entries the directory has; a copy gets an ID of its own (#6991, #6975) - No takeover of shared directories. A profile no longer takes over the store of a directory other users share, such as
/tmp, or of one with more than 50,000 entries; it keeps its own, and an existing claim is still honored (#6993, #6975)
- Faster resumes of sessions with several checkouts. Resuming compares all of a session’s checkouts with their snapshots at once, at most four at a time, in both the terminal and its engine (#6987)
- Warm resumes skip unchanged checkouts. Resuming again on the same machine reuses the last comparison of a checkout that has not changed since, also in the interactive resume’s engine, fork-context subagents and
/resume: with four 50,000-file checkouts, a warm resume prepares in about 140 ms instead of about 370 ms, and an interactive one is ready about 0.4 s sooner. Windows compares as before (#6994) - Faster
/treeon long resumed sessions./treereads the outline 1,024 entries at a time, about 49 reads instead of 780 for 50,000 entries (#6988)
- First launch survives a slow-starting broker. A session’s first Intercom use, such as its first
subagentlaunch, waits up tobrokerStartupTimeoutMsfor a broker that is still starting instead of failing withbroker-routing-timeoutorConnection timeout(#6982, #6980) - Esc ends waits. Esc on an
intercom,contact_supervisororsubagentcall that waits for the broker ends it at once, and a session that ends stops connecting and leaves nothing behind (#6982, #6980)
- Log and warning output stays out of the chat. What Atomic, extensions and the background worker print to the console, stdout or stderr while the TUI is on screen no longer lands in the chat or the editor;
/debugkeeps the recent records, and warnings you can act on, such as configuration errors or a debug log that cannot be written, are shown once in the chat, labelled and without control characters (#6979, #6977) - Unreadable context files are listed. An
AGENTS.md,CLAUDE.md,SYSTEM.mdorAPPEND_SYSTEM.mdthat cannot be read is listed under[Context warnings]at startup and after each/reload(#6979, #6977) - Native panics are held. Panic messages from Atomic’s native module are kept off the screen while the TUI owns the terminal (#6983, #6977)
- Tools stay active when a server registers again. An MCP server an extension registers again under the same name keeps its tools’ activation, even mid-run, and tools come back as they were after
/mcpdisable and enable or a reconnect (#6986, #6985) - Header credentials rotate per request.
${VAR}header values are read again for every request, and a401refreshes them once and retries (#6986, #6985) - Tools you turned off stay off after a resume. Also when they register late, such as a background MCP server’s tools (#6986, #6989)
- Build hosts that keep output off the screen.
@bastani/atomic-tuiaddsTUI.isRunningandonRunningChange(),@bastani/atomic-nativesaddssetPanicOutput()andtakePanicMessages(),createAgentSessiontakesreportUnreadableContextFiles, and RPCget_statereportsresourceContextWarnings(#6979, #6983, #6977)
Atomic puts what you type ahead of background traffic, keeps API keys off the screen at login, and fixes images in subagent chats and while scrolling.Queueing
- Your queued messages go first. Steering and follow-up messages you queue are delivered ahead of background notices that piled up meanwhile, such as task, subagent, Intercom and extension messages, so a backlog that builds while
ask_user_questionwaits no longer holds back what you typed. Every notice still arrives once, in order, afterwards (#6967).
- Keep API keys off the screen.
atomic auth login --api-keyturns off echo before it shows the prompt, so a key pasted or typed the moment the prompt appears is never displayed, and the terminal’s previous mode comes back after Enter, Ctrl+C, Ctrl+D or a closed input (#6960, #6964).
- See images in subagent chats. Subagent chats opened from the agent panel or
/tasksnow draw tool-result images, such as a screenshot a subagent reads, as the main chat does, and follow theshowImagesandimageWidthCellssettings (#6965). - Keep images inside the chat while scrolling. In Kitty-protocol terminals such as Ghostty and Rex, images no longer cover the editor and footer, an image scrolling in from above shows its visible part, and scrolling no longer sends unchanged images to the terminal again (#6966).
Atomic closes Windows command-injection holes in its bundled
cross-spawn, moves codemode to QuickJS-NG 0.18.0, and syncs the bundled agent-desktop, impeccable, and why skills.Security- Close Windows command and argument injection when running batch files. The bundled
cross-spawnmoves to 7.1.2, which escapes arguments safely when Atomic runsnpm.cmdshims or MCP servers started from.cmdor.batfiles; an argument containing a line break now fails with an error instead of arriving cut short (#6949).
- Run scripts on QuickJS-NG 0.18.0. quickjs-wasi 3.7.0 fixes several built-ins and memory leaks. A script that exceeds its memory limit now always ends with
InternalError: out of memoryas its own script error, whichcatchandfinallycan no longer intercept (#6953, #6958).
- Sync
agent-desktopv1.4.0 andimpeccablev4.12.1.agent-desktopnow carries the CLI’s full guide: headless actions by default, consent before force-closing an app, and asking before the macOS permission guide.impeccable’s signed-in uploads send less about your folders (#6959). - Fix the
whyskill’s MCP instructions. It now reaches MCP tools through codemode and sends sign-in problems to/mcp, instead of naming a tool Atomic no longer has (#6959).
Atomic improves reliability across RPC streams, subagent shell heartbeats, Windows shutdown, and interactive startup while hardening filesystem, OAuth, and credential security across packages.RPC and subagents
- Keep every RPC reply across backpressure at EOF. Standalone RPC mode now drains buffered JSONL frames, queued replies, and in-flight work or compaction before exiting on stdin EOF, and exits non-zero when stdout fails instead of dropping replies with exit code 0 (#6931, #6938).
- Route subagent shell heartbeats to their launching chat. Periodic heartbeats from subagent-launched background shells now deliver to the launching subagent with independent per-chat backpressure and coalescing, dropping transient heartbeats without falling back to the main chat or replaying skipped boundaries when a subagent is paused, released, or closed (#6918, #6937, #6945).
- Prevent 60-second Windows shutdown stalls after subagents finish. Closing a session or finishing
atomic -pno longer waits up to a minute (or fails withSession shutdown failedattasks) on a slow released-history boot-time lookup, and preserves flushed output and exit codes on failed runs (#6942). - Prevent early interactive
/resumeand/newcrashes. Session-replacing slash commands now wait for eager startup extension binding to finish before switching sessions, avoiding uncaughtSessionClosedexits (#6941). - Stop retaining duplicate text for chunked session entries. Background fingerprinting now picks up late-noted entries from paged reads and uses smaller strides so chunked sessions neither leak duplicate JSON text in memory nor stall cold event-loop turns (#6560, #6943).
- Harden filesystem operations, temp files, OAuth callbacks, and bundled skills. Eliminated check-then-act filesystem races across core storage, worktree snapshots, tools, and Intercom; isolated crash logs, compile-cache locks, and engine guardian files into private
0o700/0o600paths; validated OpenAI ChatGPT OAuthstatebefore error handling; fixed---prefixed PKCEcode_verifierredaction andStdinBufferdouble-ESC bounds; and hardened bundledimpeccableandskill-creatorscripts (#6933, #6934, #6935, #6936, #6938, #6940). - Refresh runtime and native dependencies. Upgraded
globto15.0.0,unpdfto2.2.3,lru-cacheto11.5.4, and Rust native dependencies includingwindows-sys0.101.0(#6932, #6939).
Atomic expands
/usage across token logins and unlimited plans, remembers ChatGPT plan limits with a direct Manage usage shortcut, narrows decisionModel to classifier models with instant switching, and refreshes the bundled skills and subagents.Subscription usage- Check usage for Copilot, Kimi, and Z.AI token logins.
/usageandatomic usagenow show your subscription limits when you sign in with a token or environment variable for GitHub Copilot, Kimi For Coding (including monthly quota and plan level), Z.AI, and Z.AI Coding CN, and/usageshows unlimited plans as Unlimited alongside credit caps, rate limits, Copilot overage (>100%), and Copilot Free quotas (#6912, #6915). - Spot and manage ChatGPT plan limits. When a Sign in with ChatGPT account hits a plan or app limit, Atomic remembers it across restarts, shows Usage limit reached in chat and at the top of
/usagewith a Manage usage shortcut (m) to ChatGPT Settings, includes it in JSON, RPC, and SDK usage reports, and clears it once a later request succeeds (#6912).
- New GitHub Copilot decision models. Added
github-copilot/microsoft-decision-1.1andgithub-copilot/gpt-6-luna-decisionsfor both OAuth and API-key logins (#6912). - Classifier-only
decisionModelwith instant switching./settings→ Decision model,session.setDecisionModel(), and RPCset_decision_modelnow list and accept only registered classifier models (including extension-registered classifiers in isolated sessions), take effect right away without/reload, and stay unset by default until you pick a classifier (#6915).
- Refreshed skills and role-matched subagents. Upgraded
impeccableto 4.12.0, addedno-comments, made every bundled skill invokable by the model, streamlined Atomic’s bundled skills, and updated built-in subagent preloaded skills by role (#6915).
decisionModel is unset by default, accepts only registered classifier models (provider/model) or "", and raises DecisionModelUnavailableError (reason: "not-configured") when a decision runs without a configured classifier or explicit per-call model. Legacy "auto" and non-classifier decisionModel settings are cleared on startup. The bundled prompt-engineer and unslop skills have been removed (#6915).Atomic makes it safer to quit, pick up where you left off, and switch between conversations.Sessions and subagents
- Quit without losing subagent progress. Atomic saves the progress of subagents that are still working before it closes, without showing the old save errors (#6898).
- Resume a subagent without waiting for its reply. Atomic tells you as soon as it accepts the request. The result arrives separately (#6900).
- Send messages to the branch you picked. If you type while
/treeis changing branches, your prompts wait and then run in order on the chosen branch. If you cancel, they run on the branch you were already on (#6897, #6906). - Let idle sessions close on schedule. Activity in one session no longer keeps a different session with the same ID open (#6902).
- Keep open sessions protected. Two sessions with the same ID in separate Atomic folders each stay protected from changes by another copy of Atomic. Closing one does not remove the protection from the other (#6905).
- Keep your sign-ins safe. Atomic no longer leaves broken sign-in data if it stops during the first save. If you save two sign-ins at once, a slower save cannot wipe out the other (#6899, #6904).
- See usage from subagents.
/usageshows Codex figures even if only a subagent used the account. If the account shares your ChatGPT plan and Atomic has no figures, the panel links to ChatGPT’s usage page (#6903). - Use the same wait options across tools. Tools accept quoted wait times like
"50"and show an example if the time is invalid. Reading or searching past sessions uses the usual wait when you leave out the time (#6901). - Keep the included extensions working after an update. Intercom and subagents still load when updating from an older version of Atomic (#6907, #6909).
Atomic makes it easier to spot accounts nearing a subscription limit without interrupting a reply.
- See the limits that need attention first.
/usageputs accounts closest to a limit at the top. Each window shows a short countdown and a usage bar; when usage reaches 80% or 95%, the panel highlights it with color or!and!!when color is off (#6894). - Use the keyboard to browse usage. Use the arrow keys, Page Up, Page Down, Home, or End to move through accounts. The mouse wheel still scrolls the chat, and dragging the panel’s scrollbar leaves the panel in place. Press Esc or Ctrl+C to close the panel without interrupting a reply (#6893, #6894).
Atomic remembers subscription usage, reopens long sessions faster, and makes saved conversations easier to recover and read.Subscription usage
- See all your subscriptions in one place.
/usagestays open without interrupting a reply and remembers the latest figures across restarts with SQLite or PostgreSQL. When a window resets, it shows0% useduntil fresh figures arrive. The footer always shows how to scroll (#6865, #6881). - Tell when figures are missing or out of date. CLI JSON, RPC, and SDK usage reports say whether figures are available and when Atomic last saw them. The usage guide shows how to read the reports from a script (#6865, #6876).
- Keep usage figures when sign-in takes longer than expected. A late refresh keeps your saved figures, and starting a new Atomic process no longer overwrites sign-in changes another process just saved (#6872).
- Resume long conversations faster. Atomic reads old history in fewer batches, especially on shared PostgreSQL, while keeping earlier messages available and restoring interrupted subagents (#6866).
- See progress while a session opens. Slow opens, switches, forks, and reloads show a loading line that matches your theme. Apps and scripts can follow the same loads through the SDK, RPC, or CLI JSON. Read JSON records by
type: loading events can come before the session header (#6867, #6877). - Keep your current session if the next one is in use. Atomic refuses to open or switch to a session that another process already holds, instead of letting both write to it (#6883).
- Open or import damaged history without losing messages. Atomic reconnects broken links so a session can open instead of hanging. Import also fixes repeated entry IDs and reports what it repaired; opening alone leaves the saved history unchanged (#6868, #6878).
- Avoid repeated notices when resuming. A session with broken history links no longer repeats the notice about dropped thinking content (#6888).
- Restore several optional checkouts together. Atomic no longer sometimes skips a checkout when several are restored at once (#6885).
- Avoid repeated Intercom setup on Windows. Later sessions reuse the database setup an earlier session completed (#6886, #6889).
- Expand long messages and task results when you need them. Intercom messages, subagent wake notices, and subagent tool results show short previews. Press
Ctrl+Oor your configured expand shortcut to see what was left out (#6890). - Quit without losing a background result.
/quitcloses cleanly even when a finished task is waiting to report back. Its result is available when you reopen the session (#6870).
- Use Low thinking on more Qwen Token Plan models. Select Low for DeepSeek V4 Flash 0731 or DeepSeek V4 Pro 0813 (#6864).
Atomic makes subscription limits easier to check, native installs easier to update or roll back, and edits and model replies more reliable.Breaking change: The bundled
workflow-files skill name no longer works. Replace /skill:workflow-files with /skill:workflow, skill://workflow-files with skill://workflow, and workflow-files with workflow in subagent skill lists (#6854).Subscription usage- Check limits without interrupting a reply.
/usageshows how much you’ve used, when limits reset, and any credits your provider reports across signed-in accounts. Get the same report withatomic usageoratomic usage --json, theget_usageRPC command, or the SDK’sgetSubscriptionUsage()(#6850). - Keep useful usage figures even when a provider sends a bad duration. The percentage used and reset time stay visible. The terminal leaves out the unknown length; CLI JSON, RPC, and SDK reports return
nullfor it (#6855).
- Start with the native installer. The docs now recommend
curlon macOS and Linux andirmin Windows PowerShell. npm and Bun installs remain available but are not recommended for the CLI (#6861). - Update archive installs in place.
atomic updateupdates release-archive installs on macOS, Linux, and Windows, and only reports success if the launcher points to the requested release and that version starts. Restart open sessions to use it (#6843, #6853). - Switch back to an older release.
atomic update --versioncan install an older archive even if it doesn’t contain an installer. If the requested version is too old, Atomic names the earliest supported archive for your platform and leaves your installation unchanged (#6862).
- Apply edits despite indentation differences. If the target text matches in exactly one place apart from indentation,
edituses the file’s indentation for the replacement. If it can’t find a match, it shows the closest lines and what differs (#6845). - Get a reply from the backup model. After a rate-limit error such as HTTP 429, Atomic waits for the previous attempt to finish before asking the backup model, rather than ending the turn without a reply. This fixes the intermittent failure on Windows (#6848).
- Plan and migrate work with
/skill:workflow. The renamed skill explains how to organize multi-step work and turn old workflow files into skills without running those files (#6852, #6854). - Keep design choices when a preview goes idle.
impeccablestops waiting on idle previews without losing your choices, and setup no longer starts with a sign-in prompt (#6851). - Avoid launching duplicate research.
research-codebaseexplains how to wait for research tasks that are already running (#6851). - Make subagent handoffs clearer. The
subagentskill explains when to reuse the parent conversation and when to put one agent in charge of file edits (#6851).
Atomic keeps shared PostgreSQL sessions moving through stalls and maintenance, makes conversations easier to resume, and makes tool output and background updates easier to read.Breaking change: Task heartbeat updates no longer include a subagent’s token count. If your extension shows token usage from heartbeat data, read
TaskRecord.metrics.tokenCount instead (#6837).Sessions and background work- Resume the right conversation.
atomic --continueprefers a conversation you can pick up over a newer empty session. The resume command follows the session you switched to, and you can continue in another folder if the original is gone (#6828). - See activity, not token counts, in task heartbeats. Background updates still show what subagents are doing. Usage is still available in the agent panel and
/tasks(#6837).
- Keep working through database stalls. A stalled PostgreSQL call no longer ends a live session. Atomic tells you it’s waiting and retries pending saves in order, including subagent records (#6830).
- Treat timeouts as failures. A late PostgreSQL reply cannot turn a timed-out call into a success, and a stalled cancellation no longer holds up later calls (#6830).
- Keep agent check-ins and message recovery from holding up other sessions. Agents sharing PostgreSQL are less likely to pause during check-ins, and an agent that has already reconnected keeps its unanswered messages (#6834).
- Back off when snapshot cleanup finds the database busy. In the default cleanup mode, Atomic retries later instead of making session writes queue behind cleanup that hasn’t started (#6833).
- Opt in to faster snapshot cleanup. The default stays compatible with older clients. Once every Atomic client using the PostgreSQL database has upgraded to
0.10.18and restarted, the database owner can enable faster cleanup so deleting old worktree snapshots no longer pauses unrelated saves. The owner can switch back before starting an older client; see how to check, enable, or disable the mode (#6838).
- Read more useful terminal output. History and the initial results from terminal-mode shell commands omit formatting codes, so more readable text fits without changing raw output files (#6828).
- Retry interrupted worktree creation. Atomic clears stale Git locks left by its own interrupted SDK worktree setup without removing unrelated locks (#6828).
Atomic opens large existing session databases without upfront migration stalls and speeds up continuing recent sessions.
- Instant startup on large session stores. Atomic moves worktree snapshot capture headings into a dedicated
session_capture_headingstable populated lazily per session on demand instead of altering or scanningsession_entrieson startup, whileatomic storage migratebackfills existing snapshots in bounded batches (#6823). - Faster session continuation and ID prefix lookup. Continuing the most recent session (
atomic -c) and resolving session ID prefixes (--session,--fork) skip loading search text for non-matching sessions (#6823).
Atomic resumes large sessions faster, recovers sooner from provider failures, and makes progress easier to follow.
- Faster resume for large sessions. Atomic batches subagent lookups and uses a worktree snapshot index instead of reopening finished conversations and reading full snapshots. Owners of large existing PostgreSQL stores can run
atomic storage migrateto build the index (#6801, #6810). - Faster forks of live sessions. When the store supports shared history, a fork no longer replays the full history and still leaves out entries written after it starts (#6801).
- Faster recovery after an interrupted resume. Atomic reclaims worktree snapshot, worktree pool, and blueprint ledger locks as soon as it can tell the holder has stopped. It explains waits on processes that are still running (#6806, #6808, #6809).
- Safer worktree restore after a crash. Atomic does not reuse a checkout path while an interrupted Git move can still write to it, and preserves files already moved into place (#6811).
- Faster fallback after provider limits. Chat skips rate-limit waits above the retry cap and avoids fallbacks on the same unavailable account. The terminal keeps the fallback notice visible, and if nothing can run, Atomic explains how to recover (#6775, #6784, #6785).
- Fallback follows your safety-stop settings. Gemini and Anthropic safety stops respect your fallback preference, and chat can continue when a custom gateway reports that it cannot serve a request (#6785).
- No futile retries outside chat. Structured decisions, summaries, remote compaction, and OpenRouter image generation stop retrying exhausted quotas. Decisions also report the provider’s retry advice when it exceeds the retry cap (#6786).
- No indefinite wait for silent providers. Requests time out when a provider never answers or sends only keepalives. Escape also cancels waits on stuck extensions and queued requests (#6797).
- Long waits no longer end early. Retry waits, tool and script deadlines, subagent waits, and configurable UI timers no longer fire immediately above about 25 days. Chat shows long waits in days and names invalid duration settings (#6812).
- Better recovery from OpenAI and Codex errors. Chat compacts before falling back on context limits, retries temporary failures within the configured limit, and honors short delays reported by Codex. Spending caps skip retries (#6777).
- Safer OpenAI retries. Compatible endpoints can opt in to a stable retry key to help avoid duplicate charges (#6796).
- Clearer request tracing. Each OpenAI, Z.ai, and Zhipu Coding CN request attempt gets its own tracing ID, including retries (#6796, #6799).
- Google Decisions for structured questions. Use an existing Gemini API key for yes/no, choice, and score questions about text and images. This integration was tested against a simulated server (#6782).
- Claude progress stays readable. Progress before tool calls appears as assistant text instead of being mixed into thinking summaries (#6781).
- Questions stand on their own. The question dialog now includes the facts and tradeoffs you need, even if you missed an earlier progress update (#6793).
- Clean exit with stall diagnostics. Atomic no longer crashes when quitting on macOS while optional stall diagnostics collect stack traces (#6792).
This patch removes the remaining built-in compaction output caps, adds
~ home expansion to shellPath, and overhauls the documentation for clarity without reading source code.- No built-in compaction output caps on extensions.
session_before_compacthooks now keep whatever replacement text they return without enforcing a 32,000-token, 50%-trigger-share, or trigger-overflow cap, matching remote compactor models, while retiring the unused cap and line-width constants from compaction logic (#6763). - Home-directory
~expansion inshellPath. Custom shell paths insettings.jsonnow expand a leading~/(and~\on Windows) to your home directory, matching the documented schema (#6763). - Reorganized, source-verified documentation. Split Compaction into Memory Compaction, Custom Compactors, and Branch Summaries; added
How Atomic works,Slash commands,Choose a model,Worktree snapshots reference, andBackground tasks reference; grouped Models Reference withmodels.jsonfields; flattened single-page storage folders; removed unsupported Termux docs and cleaned up Platform setup navigation; and corrected verified source-vs-docs discrepancies across the docs (#6763, #6765, #6766).
This patch accepts
null optional arguments across waitable tools and fixes PostgreSQL background snapshot collection.- Null optional tool arguments work across strict schema providers.
read,search,bash, andpowershellnow accept omitted optional fields sent asnull(such asaction: null,id: null,budgetMs: null, andwait: null) while continuing to reject invalid values and mixed call/wait arguments, alongside expandedhistory://and background-task documentation (#6758). - PostgreSQL background snapshot collection succeeds.
@bastani/atomic-storage-postgresnow acceptslockWaitMs: 0(clamped to PostgreSQL’s 1 mslock_timeout), and background snapshot garbage collection retries PostgreSQL lock-conflict errors (SQLSTATE 55P03) on pace instead of failing (#6758).
This patch keeps live sessions running through brief PostgreSQL restarts.
Atomic upgrades session forks to share their parent’s history, scales PostgreSQL, SQLite, JSONL, and Intercom for many concurrent agents with durable JSONL saves, drops libSQL storage and raises the Node.js minimum to 24.20.0, removes default deadlines on shell commands and history searches, and speeds up macOS process handling.Breaking change: Atomic and its npm packages now require Node.js 24.20.0 or newer (
engines.node is >=24.20.0, in the Node.js 24 LTS line), and atomic refuses to start at once on older Node.js instead of failing later. Run node --version, upgrade from nodejs.org or with nvm install 24, fnm install 24, or mise use -g node@24, then reinstall with npm install -g @bastani/atomic. Release archives (install.sh and install.ps1) bring their own runtime and are unaffected. Node.js before 24.15.0 bundles a SQLite WAL bug that can corrupt a database opened by a writer and reader together, and 24.17.0 through 24.19.0 reject valid IPv6 TLS certificates. See Node.js version (#6579, #6629).Breaking change: Atomic no longer supports libSQL storage (Turso, self-hosted sqld, and libSQL file: databases), and @bastani/atomic-storage-libsql is no longer published. Any setting, environment variable, flag, URL, or SDK selection naming libSQL stops Atomic with a libsql-removed error. To keep your sessions, export them with 0.10.11-alpha.2 first—for example, npx -y @bastani/atomic@0.10.11-alpha.2 storage export ~/moved --storage-file old-storage.json, where old-storage.json holds your old storage setting (0.10.10 cannot read a database that 0.10.11-alpha.2 already upgraded). Then import them with this release into PostgreSQL or local SQLite (atomic storage import ~/moved), and run atomic remove npm:@bastani/atomic-storage-libsql. See Moving off libSQL (#6624).Breaking change: atomic team join, atomic team leave, ATOMIC_PROFILE=ci, and the ATOMIC_TEAM_* variables (ATOMIC_TEAM_URL, ATOMIC_TEAM_TOKEN, ATOMIC_TEAM_TOKEN_FILE, ATOMIC_TEAM_PREFIX) are removed with libSQL and now fail with libsql-removed (atomic team status and getTeamProfile() still work). Join a PostgreSQL database with atomic storage join postgres://… --password-file <path>, and in CI set ATOMIC_STORAGE to a PostgreSQL selection. In the SDK, joinTeam(), leaveTeam(), and teamProfileSelection() now always throw TeamProfileConfigError (libsql-removed) and their option/result types are removed; pass createAgentSession({ storage }) a PostgreSQL selection instead (#6624).Breaking change: Once no older Atomic has a session open on a SQLite or PostgreSQL session database (a crashed host’s sessions stop counting after about a minute), Atomic upgrades it one-way so forks share their parent’s history. Older Atomic versions then stop opening that database with "this store needs a newer Atomic". Upgrade every machine and CI job that shares a database. On PostgreSQL, a runtime role that cannot create tables keeps copying forks without error until the owner runs atomic storage migrate. To move sessions back to an older version, export them with atomic storage export (which writes each fork’s full history) and import them with that version into a new store. See Older Atomic versions (#6600, #6614, #6560).Shared-history forks- Forks cost about the same as a new session.
/fork,/clone,atomic --fork, and forked subagents (context: "fork") now read their parent’s history in SQLite and PostgreSQL instead of copying it. Forking a 500-entry session drops from 1,012 to 8 round trips on PostgreSQL and 1,018 to 12 on SQLite, and 50 concurrent PostgreSQL forks finish in 119 ms instead of 2.6 s (#6600, #6601, #6602, #6608, #6614). - Deleting or rewriting a parent keeps forks intact, and exports stay standalone. A deleted parent leaves lists and search at once while shared entries stay until its last fork is deleted, rewriting a parent detaches forks cleanly with linear-scaling link checks, and
/export,/share,atomic storage export, and cross-store forks write full copies (with set-based SQL and batched reads when copying) (#6591, #6596, #6598, #6692, #6699, #6705).
- Per-session locking and single-round-trip saves. Session saves lock only their own session and drop from 7+ round trips to 2—or 1 after
atomic storage migrateinstalls the save function (108 ms vs 193 ms at 80 ms latency; 100 concurrent agents dropped from 52–57 s to 164 ms). Session deletes and tombstone sweeps also lock only the target session and cut indexed deletes and replaces from 13 / 12 round trips to 3 (#6588, #6604, #6697, #6710, #6733). - Shared connection pools and PgBouncer prepared statements. Every store a process opens on the same PostgreSQL database shares one write pool, a separate reader pool (
openReader()), and one listening connection, with new pool tuning options (readerMaxConnections,maxPreparedStatements,connectTimeoutMs,idleTimeoutMs,keepAliveIdleMs). Prepared statements turn on automatically behind PgBouncer 1.21+ whenmax_prepared_statements > 0, and list lookups use one statement text inpg_stat_statements(#6588, #6604, #6644). - Faster opens, reads, searches, and snapshot puts. Concurrent agents opening a new database coordinate table setup without lock queueing (25 agents behind PgBouncer: 258 s to 15 s; 100 agents: 97 timeouts to all open in 24 s), up-to-date opens drop from 43 to 2 round trips, session reads pipeline (
load2 to 1 round trip,listandreadForkWindow3 to 2,findEntrySeq3 to 1), indexedhistory://searches fetch matches in one request (2.8 s to 0.5 s at 80 ms latency) and batch state with the first candidate window, and small snapshot blob puts take 1 round trip without a database-wide lock (#6588, #6599, #6606, #6607, #6635, #6679, #6695, #6696, #6708, #6710, #6728). - Automatic table tuning, in-place snapshot updates, and non-blocking search indexing.
atomic storage migratecreates chat-record and ended-subagent queue tables for non-DDL runtime roles, tunes autovacuum andfillfactoron busy tables, switches large values tolz4compression (~60% faster compression), updates snapshot index rows in place (~40% smaller secondary indexes), and moves search-index merges and writes off session write locks (median save during concurrent indexing: 109 ms to 55 ms).atomic storage joinandatomic storage migrate --dbacceptpostgres://andpostgresql://URLs only (#6588, #6624, #6638, #6642, #6653, #6654, #6680). - Bounded PostgreSQL closes.
@bastani/atomic-storage-postgres’sclose()now waits for the server to release all pooled connections (readers included) and drops unresponsive pool and listening connections after 5 seconds instead of waiting until TCP times out (#6677, #6681).
- Pipelined local SQLite, off-commit WAL checkpoints, and bundled macOS SQLite. Local SQLite caches up to 256 prepared statements per connection, skips write locks when reopening current Intercom brokers, batches new-database schema setup into one write transaction (100 concurrent agents: 32 s to 6 s; new session store: 4 locks to 1), pipelines write transactions and small snapshot blob puts (8 blobs: 10 thread waits to 1), and checkpoints WAL files off the commit path while shrinking them back to 4 MiB. The standalone macOS binary now bundles SQLite 3.53.4 (
library:line inatomic storage status) (#6588, #6599, #6609, #6612, #6641, #6679, #6696, #6698, #6706, #6707, #6709, #6727, #6730, #6731). - Durable JSONL saves with group commit. JSONL saves now sync to disk before acknowledging, batching concurrent writes and syncing session files in parallel (plain
fsync(2)on macOS via@bastani/atomic-natives’sfsyncDescriptor,fdatasync(2)on Linux,FlushFileBufferson Windows) while recovering cleanly from zero-filled crash pages (#6605, #6686, #6700, #6717). - Unlocked JSONL reads and striped advisory write locks. JSONL session reads run without taking the directory lock (8 concurrent reader processes: 478 ms to 61 ms on Node, 787 ms to 62 ms on Bun), writers coordinate via OS advisory locks (
flock/LockFileEx) and 32 striped per-session locks (recovery after a killed writer: ~10.2 s to ~5 ms; 8 concurrent writers: 3.3× faster), and kept handles plus stat-only opens cut reopening 201 sessions from 640 ms to 9 ms (#6605, #6718, #6719, #6721, #6732). - Storage SDK additions.
@bastani/atomic/storageaddsSqliteDatabase.openReader(),withStorageSchemaCatalog,schemaCatalogOf,storageSchemaCurrent,ensureTableFillfactor,transactionFinisher,relaxedDurabilitytransactions,StorageNotifications.notify’sunlesscheck,StorageNotifications.send(notices),SessionStore.readEntryRange’sseqsfilter, andSessionManager.captureFork(leafId, { internal: true })(#6588, #6594, #6607, #6633, #6655, #6712, #6734).
- Single-round-trip sends with lock-timeout retries. With multi-node routing on PostgreSQL, sends lock only the recipient’s queue, take 1 round trip instead of 8, and retry lock timeouts and deadlocks up to 5 times (200 agents behind PgBouncer: 112 lock timeouts to 0; 50 senders to an offline session at 80 ms: ~23 s to under 1 s) (#6588, #6626, #6636).
- Batched scans, renewals, releases, and settlements. Brokers open in 1 round trip on PostgreSQL and 1 write lock on SQLite, check idle hosted recipients in one read (21 statements to 1 for 20 subagents), pick up waiting messages in 1 round trip on PostgreSQL and 2 calls on SQLite, renew all in-flight claims, leases, and restoring reservations in single statements per tick (200 brokers: median tick 1,254 ms to 102 ms), release departing sessions’ claims in one statement, and batch delivery confirmations on both PostgreSQL and SQLite (#6588, #6606, #6610, #6615, #6644, #6690, #6693, #6709, #6713, #6714, #6716, #6724, #6725, #6726).
- Targeted wake-ups, less disk flushing, and single-broker cleanup. PostgreSQL lease renewals skip disk flushes (
relaxedDurability, ~90% fewer log flushes), wake-up notices use an unlogged table (~70% less WAL) on per-broker channels naming the recipient, concurrent wake-ups batch and embed non-reply outcome hints inside settlement (4 round trips to 1) while sending post-commit notices off the serial call queue viaStorageNotifications.send, and one elected broker runs indexed cleanup every 5 minutes (200 brokers: 3,377 to 24 statements/min, waiting-message index 22.6 MB to 0.2 MB) (#6633, #6639, #6655, #6675, #6715, #6722, #6734).
- No default deadline on shell commands or
history://searches.bashandpowershellcommands run until they finish or you stop them (timeoutstill sets a deadline with no upper limit and refuses0; max 64 concurrent shells per session). Slowhistory://reads and searches continue in the background after 10 seconds as waitable tasks instead of stopping after 3 seconds (max 4 per session) (#6563, #6574, #6581). - Portable
skill://addresses. Model instructions list skills asskill://<name>instead of absolute filesystem paths, keeping home folders out of prompts and working across machines.read,search,find, andbashresolve them, and subagents receive them too (#6589). - Subagents keep their parent’s store, plus panel and card improvements. Subagents always save sessions in their parent’s store (
sessionDiranddefaultSessionDirare ignored with a warning), forked subagents are internal like fresh ones, the agent panel remembersmainand/taskschoices and wraps↓from the last row, expanded cards of tool-waiting subagents show their task and waited-on calls (◌), and model errors distinguish missing models fromenabledModelsexclusions with exact Fast/Ultrafast IDs (#6562, #6564, #6569, #6594). - One storage docs page per backend and generated docs changelog. Storage docs split into dedicated pages for SQLite, JSONL, PostgreSQL setup, PgBouncer, server tuning, and custom adapters with redirects, and the docs site changelog is now generated from each release’s summary (#6619, #6621, #6656).
- Faster, cleaner macOS commands and host-death cleanup.
@bastani/atomic-nativesspawns commands withposix_spawninstead offork()(0.5 ms vs 4.4 ms on a 3 GB host, removing JS stalls andMallocStackLoggingTUI lines),bashwithpty: truereads output immediately instead of throttling to ~150 KB/s (1 MB in under 0.5 s vs ~6.5 s), and Atomic stops its commands, background servers, and in-processpi.execcommands (plus child processes on Linux, viawatchProcessUntilHostDies) when it dies (#5057, #6580, #6634, #6643, #6648, #6668). - Immediate resume recovery after a killed build. Resuming after Atomic was killed mid-build no longer waits 5 minutes on Linux, Windows, or macOS. Build locks record step starts atomically, and Atomic now reads process creation times on macOS so session claims and locks tell dead processes from reused PIDs (#6684, #6694, #6704).
atomic storage status, backdated files, stall stacks, and review viewer on macOS. The standalone macOS binary’satomic storage statusno longer reports cleanly closed local SQLite stores as failed with SQLite code 14 (#6622); JSONL sessions and agent-directory locks survive backdated file timestamps (#6647, #6661, #4319); event-loop stall reports keep stacks after sleep (#6583); and theskill-creatorreview viewer opens at once without stalling on reverse DNS for127.0.0.1(#6687, #6691).- Compaction limits, network causes, and retired default models. Compaction models such as
morph/morph-compactorno longer discard output over 32,000 estimated tokens or re-compact before every tool call in the same turn (#6649, #6671), compaction network errors name the cause including DNS filters (0.0.0.0/::) (#6561), and login picks another catalog model if a provider retires Atomic’s default (#6582). - Intercom ordering, redelivery, sockets, and backup isolation. Messages keep per-sender order when a session moves to its sender’s machine (#6651, #6637), transient inbox-save failures no longer strand same-connection reply redeliveries and contended stores no longer let plain local sends overtake an active local reply (#6729, #6736, #6712), Intercom uses its fallback Unix socket for long relative agent directories on macOS and Linux (#6585), and relocated backups of a custom
ATOMIC_CODING_AGENT_DIRstay separate from the original store even when inodes are recycled (#5242, #6570).
Atomic adds configurable remote compaction models with live switching and typed compaction errors, introduces a dedicated SDK storage backends guide with standalone PostgreSQL and libSQL library docs, remembers your last selected row in the agent panel, drops redundant multi-provider scope warnings, and fixes CLI, tool, subagent, Intercom, TUI, Web Access, and documentation gaps across all packages.Compaction and model switching
- Configurable remote compactor models. Configure built-in Morph or custom remote compaction endpoints per model in
~/.atomic/agent/models.jsonor viaatomic.registerProvider()(type: "compactor",compactionParams,endpointPath,timeoutMs,maxTokens, and resolvedheaderswith auth-header redaction), auto-discovered in/settingsunder Compaction model with Automatic fallback on every failure (#6553) - Live compaction and decision model switching. Switching Compaction model or Decision model in
/settings, viasession.setCompactionModel()/session.setDecisionModel(), or via RPCset_compaction_model/set_decision_modeltakes effect immediately without/reloador restarting (#6553) - Typed
CompactionErrorSDK family. ImportCompactionError,CompactionConfigError,CompactionCancelledError,CompactionStateError,CompactorFailure, type guards, and cross-process serialization/rehydration helpers from@bastani/atomic, with automatic RPCcompaction_errorrehydration (#6553)
- Sticky agent-panel selection. Pressing down into the agent panel now restores your most recently selected subagent row and scroll position instead of always jumping back to the top (#6552)
- Subagent scope parity and YAML frontmatter. Subagents share
@bastani/atomic’sresolveModelScopeFromModelsmatcher, accept YAML list syntax in agent frontmatter, deduplicate user-scope agent discovery consistently, and bare--models/enabledModelspatterns matching multiple providers no longer emit a redundant ambiguity warning (#6552, #6553) - Intercom leave-group fallback. Leaving a session’s last named Intercom group now returns to its resolved registration group (such as
project:<owner>/<repo>) instead of silently joining"default"(#6552)
- Dedicated SDK storage and library docs. Added
/sdk/storagewith completecreateAgentSession(),createAgentSessionRuntime(),SessionManager, andStorageErrorrecipes for local SQLite, JSONL, in-memory,@bastani/atomic-storage-postgres(PostgreSQL 16+), and@bastani/atomic-storage-libsql, added/libraries/storage-postgresand/libraries/storage-libsqlalongside the core libraries, overhauled Mintlify navigation and cross-linking across all tabs, and audited all user-facing guides and package READMEs for readability, accuracy, and accessibility (#6551, #6555) - Docs-audit bug fixes across packages. Fixed piped stdin concatenation,
ATOMIC_*vsPI_*env precedence, invalid CLI storage flag handling, case-insensitive:thinkingsuffixes,.sqlite3/.db3selectors inread/search,/exportquote handling, Herdr/reloadpane release, async skill loading, theme hot-reload and truecolor detection, OSC 7501 exit cleanup in@bastani/atomic-tui, Web Access Gemini/YouTube/shortcut fixes, and exposedatomic-aias a CLI bin on@bastani/atomic-ai(#6552)
CompactorRequest.baseUrl is now required, custom compactor models must declare an explicit api at the provider or model level (built-in Morph defines "morph-compact"), and requestCompactorOutput() no longer injects hard-coded Morph body defaults (compression_ratio, preserve_recent, include_markers, include_line_ranges)—omit compactionParams to use the remote API’s own defaults or set compactionParams on the compactor model in models.json. CompactorApi in @bastani/atomic-ai is now an open string (removed KnownCompactorApi), and COMPACTOR_COMPRESSION_RATIO is deprecated.Atomic no longer warns that MCP tools are unreachable when a project with its own resources starts up.MCP startup
Atomic fixes deferred startup dropping the built-in Herdr reporter on plain
atomic launches and expands SDK exports with session, storage, settings, and OAuth error classes, session stores, claim helpers, and model-scope utilities.Herdr integration- Restored built-in Herdr reporting on plain
atomicstarts. Fixed a 0.10.4 regression where deferred startup completion dropped inline extension factories (including<inline:Herdr>) whenever the preloaded extension set held only mandatory extensions, so new Atomic sessions in Herdr panes once again register and reportidle,working, andblocked(#6536, #6539)
- Typed session, storage, settings, and OAuth errors. SDK callers can now import and catch
SessionAlreadyOpenError(SESSION_ALREADY_OPEN_EXIT_CODE),SessionConflictError,SessionDeletedError,SessionOpenElsewhereError,SessionNotFoundError,SessionExistsError,SessionFormatVersionError,SessionIdMismatchError,SessionInvalidTextError,SessionInvalidTimestampError,SessionImportFileNotFoundError,SessionWorkUnsettledError,JsonlStoragePoisonedError,SettingsFileChangedError,StorageTransferError,StorageImportIncompleteError, andOAuthLoginTransactionErrordirectly from@bastani/atomic(#6537) - Session stores, claims, and model-scope helpers.
@bastani/atomicnow exportsMemorySessionStore,SqlSessionStore,SessionStorageOptions,claimSession,prepareSessionClaim,attachSessionClaim,resolveModelScopeFromModels, andresolveModelScopeWithDiagnostics, with updated SDK reference docs and 4-backend storage examples (#6537)
Atomic fixes render-engine CPU starvation on expanded running subagent cards, scopes subagents to the session’s
enabledModels allowlist, and updates the bundled agent-browser skill.Subagents and rendering- No more CPU starvation on expanded running subagent cards. Static Prompt, Result, and completed nested tool-call sections are now memoized and
ToolBlockRecordscaches unchanged prefixed rows, whileBackgroundRenderLaneyields a bounded cooldown after slow renders so working-clock animation ticks never starve subsequent model turns (#6528, #6529) - Subagents respect
enabledModels/--models.subagent({ action: "models" }),model: "auto", explicit launches, and child mid-run fallbacks now follow the parent session’s activescopedModelsallowlist (#6532)
- Synced
agent-browserto v0.44.0. Updates the bundledagent-browserskill to replaceprotected-vercel-deploymentswithvercel(#6530)
Atomic unifies picker selection cursors around
∀, makes /tasks rows clickable across every host, hardens recovery from transient mid-stream socket drops, and updates the default Mistral model.Interface and /tasks- Consistent
∀picker cursor. Every picker UI —/tasks,/model,/settings,/resume,/tree,/fork,/mcp,/llama,/intercom,atomic config,ask_user_question, extension dialogs, and editor completion menus — now marks the selected row with Atomic’s∀cursor matching the agent panel, while editor and reply prompts keep❯(#6507) - Clickable
/tasksrows and shell stop hints. Clicking any row in/tasksopens it just like pressingEnter— including clicking a shell row in a shell-only/tasksview to open its command and retained output viewer across in-process, isolated, and subagent chats — and clickingx stoporPress x againinside the fullscreen shell or detail view no longer disarms two-press confirmation on mouse-down (#6507)
- Resilient mid-stream and socket-drop recovery. Bare runtime transport codes such as
UND_ERR_SOCKETnow classify asstream-ended-earlyor retryable transport failures across GitHub Copilot, classifiers, fallback routing, and retry banners; interrupting custom-message turns and subagent drain waits now wait for active retries to settle without strandingwaitForRetry()(#6509) - Updated Mistral default model. The default Mistral model moved from retired
devstral-medium-latesttomistral-large-latest(#6508)
Atomic starts faster, installs fewer files, keeps subagents and Intercom messages intact across restarts, and makes Windows installs, process stops, and proxies more reliable.Startup and installs
- Faster warm starts. Compared with 0.10.4, time to first prompt drops by about 100 ms on Linux (0.74 s to 0.64 s) and about 220 ms on Windows (1.32 s to 1.10 s on Windows Server 2022, 1.22 s to 1.00 s on Windows 11) (#6455)
- Faster Windows cold starts. In-process cold starts on Windows Server 2022 drop from 10.8 s to 3.5 s. Syntax-highlighter grammars now wait until after the first prompt dispatches and load in short slices instead of blocking the session (#6444)
- Settings edits keep the prestarted engine. Editing
debugorhttpProxyinsettings.jsonduring startup updates the prestarted engine instead of starting a second one. On Windows this cuts startup by 534 to 724 ms in npm installs and standalone binaries (#6453, #6478) - Smaller npm installs. Dropping 13 already-bundled packages cuts global npm installs by 1,938 files and 10.8 MiB (#6440)
- Windows installer retries file locks. Reinstalling, repairing, or rolling back on Windows retries locked file moves and directory cleanups for up to 9.5 s instead of failing on antivirus or search-indexer locks (#6474)
- Windows npm updates no longer lock the install folder. From 0.10.5 onward, the Intercom broker and Atomic’s background helpers run in a working directory outside the install folder, so
npm install -gandnpm uninstall -gsucceed while sessions and the broker are running. When upgrading on Windows from 0.10.4 or earlier with npm, close running Atomic sessions and wait 5 s for the idle broker to exit, or runatomic intercom restart, before runningnpm install -g @bastani/atomicso the older broker does not lockdist\builtin\intercomwithEBUSY(#6500) - Clearer restarts and recovery after updates. Sessions started on 0.10.4 or later prompt you to restart when an in-place update breaks an on-demand feature, instead of throwing raw module errors. Transient module load failures during an update are no longer cached permanently, so later authentication, image, extension, and cloud-auth calls recover once files are back on disk (#6438, #6499)
- Subagents recover after crashes and ignore
NODE_ENV=test. Interrupted subagents restore in/tasksand the agent panel after an engine crash, unsaved subagent queued messages return to the child’s editor, and restored subagents keep their launch model and thinking level when partial history drops a setting. Subagents now run their real model even whenNODE_ENV=testorNODE_TEST_CONTEXTis set in your shell (#6457, #6461, #6454, #6494) - Smooth resumes on large transcripts. Resuming or paging through a long session renders only the visible tail first, schedules older transcript indexing in short slices, and loads syntax-highlighting grammars one language at a time with retry after transient load errors so the interface stays responsive (#6495, #6504)
- Accurate chat echoes,
/taskscancels and Herdr status. Rewritten prompts match their own echoed chat row, pressing Esc while or right after opening a subagent from/tasksleaves no stale preview or wrong selection, and Herdr panes send back-to-back status updates right away (#6452, #6449, #6491, #6463) - Bounded history reads, safe folder moves and clean
/quitexits.history://reads stay inside their time budget under heavy disk load, moving or copying a custom agent folder on ext4 no longer lets a sibling take over its store, and deliberate/quitexits 0 if the terminal closes right after shutdown (#6462, #5250, #6432, #5242, #6446)
- Faster Windows broker start. On Windows, the Intercom broker starts 40 ms faster without
wscript.exeorcmd.exe, works when Windows Script Host is disabled, and keeps%intact in paths and arguments. Sessions starting while an older broker stops connect to its replacement (#6451, #6470) - Steadier multi-node routing. Reconnecting sessions keep or reclaim their Intercom ID without a 30 s wait and avoid 10 s registration timeouts on busy shared databases. Messages and replies from one sender to the same recipient stay in order across local and cross-node paths, and sends over a slow shared database do not time out while delivery is still making progress (#6433, #6443, #6450, #6465, #6481, #6496)
- Reliable queue restores and cross-group replies. Queued messages for resumed subagents route by session ID so renames do not drop them, supervisor replies wait behind restored queues, and immediate answers to senders outside your group wait for the inbound delivery to finish instead of being refused (#6437, #6475)
- Safer Windows process stops and build locks. Stopping workspace commands, detached tasks, hung engines, forced MCP servers, and blueprint steps uses Windows Job objects and exact process-ID handle checks so orphaned child processes end and unrelated or reused process IDs stay untouched. MCP and Intercom kill commands pick short verified directories outside your project folder so spawns work even with Windows long paths disabled. Blueprint build locks retry transient file and start-time errors (#6445, #6477, #6498, #6447, #6483, #6472)
- Accurate command exit codes and output under load. Failed commands on a busy Windows machine no longer report exit code 0 when Node delivers the exit event late. Background commands that end without an exit code report failure across
/tasks, the agent panel, and notices instead of success, and shell commands keep buffered output written by detached children right after exit during brief event-loop stalls (#6484, #6489, #6490) - Bedrock retries, HTTPS proxy SNI and MCP redaction. Under Bun and in standalone binaries, Amazon Bedrock retries transient pre-handshake connection closes. On Node.js, plain-HTTP Bedrock calls send TLS SNI for hostname
https://proxies while IPv4 and IPv6 proxy URLs omit IP SNI, and MCP redaction keeps[redacted]markers insideBearertokens and query strings (#6448, #6458, #6441) - Standalone SDK scripts wait for aborts and teardown. Scripts awaiting
session.abort(),session.prompt(),session.resumeDetachedTurn(), turn interrupts, or teardown timeouts against stalled operations no longer exit early on Node.js or Bun (#6473, #6480)
@bastani/atomic no longer installs 13 already-bundled packages: brace-expansion, cross-spawn, diff, fast-sha256, hosted-git-info, ignore, lovely-mermaid, lru-cache, minimatch, semver, stream-json, turndown, and yaml. Add any of these packages you import directly to your extension or SDK app’s package.json dependencies (#6440).Atomic reaches your first prompt sooner, installs less, keeps subagent sessions in your store, and protects your workspace and credentials.Startup
- Type right away. On Linux the editor takes keys after about 0.21 s instead of 1.14 s, and early Enter, commands and completions run once ready (#6203, #6228, #6224)
- Faster first prompt. Warm starts drop from 1.82 s to 0.76 s on Linux and 3.69 s to 1.31 s on Windows; Windows cold starts drop from 53.2 s to 3.6 s (#6198, #6197, #6306, #6325, #6346)
- Less work at launch. Interactive starts open about 175 files instead of over 1,000, and syntax highlighting, builtin extensions and provider code load only on first use (#6199, #6321, #6348, #6356, #6375)
- Smaller installs. Global npm installs write about 17,660 files and 224 MiB on Linux, down from 28,000 files and 588 MiB on npm 11, with a 74% smaller native module (#6216, #6265, #6345, #6381)
- Clearer in-place updates. A session caught by an update keeps running, loads compatible code or asks you to restart instead of throwing raw errors, and refuses another release’s native module (#6269, #6301, #6319, #6365, #6426)
- Aligned shell views and
/tasksstate. The/tasksshell viewer and inline!blocks share Atomic’s layout with live elapsed time, and returning to/taskskeeps selection and scroll (#6385, #6400) - Updated CLI help and docs.
atomic --help,atomic authand 97 user guides match current commands, and extension docs name the API parameteratomicwhilepikeeps working (#6389, #6391, #6395)
- Subagents wake without losing work. Woken subagents get late results as notice cards for the right call, and crash restores keep their model and thinking level (#6207, #6181, #6383)
- Subagent sessions in your store. Subagent sessions save in their parent’s store to resume across machines, and resumes restore finished subagents’ checkout changes (#6211, #6231)
- Faster, steadier Intercom. Brokers start in under 0.1 s instead of up to 2.8 s, skip handled messages, keep ID hand-overs across restarts, and check Windows and macOS process starts (#6168, #6193, #6369, #6379, #6394, #6406)
- Intercom keeps message order. After a broker restarts, new messages to a resumed subagent wait behind messages queued before the restart (#6420)
- libSQL retries after slow locks. Calls to a libSQL server that hit a busy refusal after waiting on a slow write lock retry instead of failing at once (#6422)
- Less snapshot wait. Turns skip unchanged left-out commits, concurrent subagents hand off shared captures without duplicates, and snapshots work on Git 2.30 to 2.35 (#6274, #6305, #6317, #6327, #6410)
- Commands stop with their children. Extension commands and Windows
!shells end their child processes on timeout, abort or exit (#6235, #6217, #6310) - Reliable shutdowns under load. Windows console closes and sign-outs let extensions shut down, and
/quitunder load reaches extensions as an explicit quit rather than a signal (#6185, #6187, #6380, #6417) - Windows MCP servers release your folder. Closing a Windows MCP server runs kill commands outside your project folder and waits so the folder stays free (#6403, #6409)
- Replaced logs detected on Windows. Log tailing compares exact 64-bit file IDs and verifies the open file, so rotated or replaced logs on Windows never skip lines (#6421)
- Exact file IDs on Windows. Lock files, worktrees, cached tool checks, native-module checks and Intercom sockets compare exact 64-bit file IDs so files are not confused (#6424)
- Programs start only from PATH. Helpers, shells, MCP servers and Windows extension commands start only from absolute PATH directories, never the project folder (#6201, #6241, #6246)
- MCP secret redaction.
atomic mcp,/mcpand MCP OAuth helpers strip credentials, tokens and raw command secrets from errors, logs, URLs and tool output (#6398, #6413) - Broader credential redaction. Credential output, compaction and debug logs redact HTTP Basic, Bearer and OAuth verifier secrets across short and multi-megabyte lines (#6412)
@bastani/atomic/typebox in SDK apps or extension dependencies registering formats or settings; extensions’ own imports already resolve there. Under Bun, extension modules declaring top-level globalThis no longer load. Add the MCP SDK, zod or linkedom to package.json if you import them. Keep optional dependencies installed, or startup stops with the reinstall command; global npm installs include them even with --omit=optional. @bastani/atomic-natives removes blockRangeAt, BlockRange, BlockRangeOptions and its tree-sitter grammars.Queued messages are delivered exactly as listed, ← returns from a subagent’s chat, the prompt cache survives wide turns and resumes near the context window, and closing the terminal lets extensions shut down.Queued messages and subagents
- Queued messages are sent exactly as listed. A message the agent already took for its next turn shows as being delivered and can no longer be pulled back with Alt+Up and sent anyway. A run that fails after taking a message sends it once more instead of losing it, and the queue carries on. When the engine stops unexpectedly, a message it took but never saved is shown once, with its text, as possibly undelivered (#6161, #6163)
- Woken subagents carry on without an extra turn. A subagent woken while it waited no longer gets “You were released while you waited…” queued behind the turn it continues, makes one request instead of two, and keeps its own task as its label (#6161)
- ← returns to the main chat. On an empty subagent prompt, ← shows the main chat and leaves the subagent running; Esc pauses it and no longer navigates (#6135, #6144)
- One set of marks for task states. Completion notices, launch cards, subagent results and the
waitandkilllines use the agent panel’s marks (#6122, #6148) skill-creatorruns Atomic. Its description optimization startsatomic -pwith your models and neverclaude, and stopping it ends every process it started (#5625, #6146, #6166)
- Wide turns keep the cache. A turn that adds 20 or more content blocks, such as many parallel tool calls, no longer misses Claude’s prompt cache on its next request (#6103, #6147)
- Resuming near the context window keeps the thinking budget. When what a resume adds would push the request over the window, Atomic compacts once instead of lowering the thinking budget and losing the cache (#6117, #6147)
- Fewer needless cache misses. Strict tools Claude rejected stay off after compactions, a schema that lists
requirednames in another order no longer counts as a changed tool, and sessions in different projects share more of the cached system prompt (#6119, #6130, #6121, #6153) - MCP servers reconnecting after a resume. The MCP section of the prompt stays the same while servers reconnect, and changing a token in a server’s arguments no longer drops its tools; sessions no longer store a hash of those arguments (#6108, #6109, #6139)
- Closing the terminal lets extensions shut down. Closing the terminal, or
SIGTERMorSIGHUP, givessession_shutdownhandlers the same few seconds as quitting, and a failed stop-file write no longer skips stopping the engine (#6104, #6115, #6152) - No blank or stale frames. A slow extension command view no longer flashes an empty frame, the “Working…” row clears when the view closes, and opening a subagent from
/taskswaits for the agent panel (#6105, #6134, #6123, #6145) - Errors in Atomic’s own event handling are reported as such. They show as one error with their cause instead of “malformed engine output”, and no longer end Atomic during a tool update (#6107, #6137)
- Project trust is decided before it is used. In a folder with a saved “Trust” and an extension that can still decline it, the folder’s resources, settings and session store wait for the decision (#5693, #6158)
- Print mode waits for an extension command’s message.
atomic -p "/curator off"and similar commands print their own answer instead of the previous reply (#6113, #6154) - Refused TLS certificates fail at once. A model request or PostgreSQL connection refused for its certificate fails immediately with the reason and how to trust a private CA (
NODE_EXTRA_CA_CERTS), instead of retrying as a network error (#6112, #6114, #6138) - Intercom keeps IDs and messages. A session returning on another broker after a stall keeps its ID and open asks, messages for a session that moved arrive at once, and a restarted broker on a busy machine keeps messages for ended subagents (#5607, #6149, #6160)
- Node 22 and
NODE_OPTIONS. On Node 22 everyawaitin an SDK host no longer gets slower with each session, and worker threads start whenNODE_OPTIONScontains--input-type=module(#6111, #6151, #6110, #6142) - Smaller fixes. History indexing on Node 22 no longer holds memory per page, blueprint steps on busy Windows machines retry a briefly refused start,
session.dispose()waits for its notice lines, a source checkout no longer freezes after startup, Windows broker cleanup checks a process’s identity before stopping it, and the web search activity widget opens again (#6106, #6124, #6128, #6118, #6133, #6131)
Resumed sessions keep the provider’s prompt cache, commands and queued messages no longer flash on screen, and quitting on Windows lets extensions shut down.Resumed sessions and the prompt cache
- Resuming keeps the prompt cache. The first request after a resume marks where the restored history ends, so the provider still finds the cached conversation however much the resume adds. A resumed session also keeps the thinking budget it used even if
thinkingBudgetschanged, and does not retry strict tool schemas that Claude already rejected. Reinstalling Atomic in another directory no longer changes thecodemodetool’s definition (#6092) - Prompt changes no longer rewrite the cached prompt. On providers without mid-conversation system messages, such as Gemini, Bedrock, Mistral and OpenAI-compatible endpoints, a prompt change after the first request (a new day, an
AGENTS.mdedit, a newer version’s prompt) is sent after the history instead of rewriting the system prompt. A conversation whose earlier requests already merged such changes is rewritten once more, on its first request after updating (#6092) - Reopened subagents keep their cached prompt. A subagent reopened on another day or after an update is sent the system prompt it started with, and changes since then, such as the date, the model it falls back to or its skills, follow as updates, so the provider no longer processes its whole conversation again. A subagent last run by an earlier version is processed in full once more, on its first run after updating (#6093)
- Forked subagents start from the parent’s cache. A subagent started with
context: "fork"continues its parent’s conversation exactly as the parent last sent it, project context and skills included, so on the parent’s model and thinking level its first request is read from the parent’s prompt cache (#6093, #6099) - MCP tools stay declared while their servers reconnect. A resumed session keeps declaring the MCP tools it was using while their servers reconnect, so its first requests no longer drop and re-add them and make the provider read the whole conversation again. A call to such a tool waits for its server and runs only if the server still offers the same tool (#6094)
- A steady tool list and system prompt. Tools that extensions and MCP servers register are added in name order whichever registers first, and a tool schema rebuilt with its keys in another order no longer counts as a new tool. New sessions put install-specific documentation paths and the date at the end of the system prompt, so less of the cached prompt changes between days and installations (#6092)
- Clearer cache-miss notices. The notice also names tool definitions that changed between requests, as an upgrade can change them, a thinking budget lowered or dropped to fit the context window, a thinking level change on the same model, and a subagent prompt sent again in full (#3261, #6092)
- Claude thinking near the context window. On the Anthropic API and Amazon Bedrock, a request too close to the context window for even the smallest thinking budget is sent without thinking instead of being rejected by the provider, and thinking returns once it fits again (#6092)
- Bedrock and Mistral accept input steered in while tools run. Amazon Bedrock no longer rejects a request with two user messages in a row, and Mistral no longer rejects a user message right after a tool result (#6092)
- Subagents finish after a context clear. A subagent whose context was cleared or compacted while it ran, and that then finished, is reported done with its answer, instead of failed with “Child ended without completing an assistant turn of its own.” (#6098)
- More commands open without a blank frame.
/thinkingwithout a level,/fork,/trust,/reload,/modelwith a name it has to look up, and extension commands such as/agentskeep the typed command on screen until their view can draw, as/modelalone already did. An extension command is held for at most 250 ms (#6077, #6087) /shareresponds at once. It shows its progress as soon as you press Enter, Esc cancels it at any step, and it no longer uploads another session when the session changes while it checksgh(#6077, #6087)- Queued messages stay listed in the main chat. A steering or follow-up message stays above the prompt until it shows in the transcript, also while an extension’s
message_starthook is still running (#6080, #6089) - New subagent marks. In the agent panel,
/tasksand a chat’s task rows, a running subagent shows an open circle◯that no longer animates, a finished one a green●and a stopped one a red◯. In the panel, the chat on screen fills its circle and has a bold row, and the selection cursor is∀(#6090) - Token counts read the same everywhere. Every view writes token counts with one decimal and a unit, such as
248.6kor1.2M, so a count no longer ends in anmthat reads like minutes next to an elapsed time, and subagent rows saytokensinstead oftok. A usage meter too wide for the terminal drops its cache and cost figures before it cuts the context usage (#6096)
- Sessions that used
/curator,/google-accountor/websearchopen again. They no longer fail with “Unsupported session format”, and these commands now save their messages in a form every release since 0.9.38 can read (#6097, #6100) history://indexing is quick again on busy machines. Building a long session’s search index is fast again when the CPUs are busy, because each page of entries goes to the database thread as one request instead of one per statement. The first search of a long session covers as many entries per call as before 0.10.1, and typing and rendering stay free while the index builds (#6082, #6088)- Refused PostgreSQL certificates fail at once. When TLS verification refuses a server’s or proxy’s certificate, for example with
INVALID_PURPOSEorPATH_LENGTH_EXCEEDED, opening the store fails at once and names the reason and thesslrootcertfix, instead of retrying five times as if the server were unreachable (#6074, #6084) - SDK: wrapped SQLite writes no longer stall your event loop. A
wrapNodeSqliteDatabasewrite made while anopenNodeSqliteDatabasetransaction started on the same thread holds the file’s write lock now waits off your thread and runs once the lock is free, instead of blocking for the busy timeout and failing withSQLITE_BUSY. Reads still run at once, and statements whose retry could differ from a single run, such as ones that call your own functions, run as before. To decide, the handle prepares the statement’sEXPLAINand a fewPRAGMAs, which an authorizer you set withsetAuthorizersees (#6081, #6091) - SDK scripts started with
--input-type=module. In a Node process started with--input-type=module, SQLite selectors in thereadtool, history search, diagnostic logs, settings locks,CodemodeSandbox, Chromium cookie reading and the Intercom broker watchdog now work, image resizing runs off the calling thread again, and the process’s--importand--requirepreloads no longer run again for each of them (#6079, #6086)
- Quitting on Windows lets the engine shut down. On Windows a quit now gives the engine up to five seconds to shut down, as on Linux and macOS, so extensions’
session_shutdownhandlers run. A quit there can take up to those five seconds, where it used to end the engine at once (#6075, #6085) - Nothing arrives late from a stopping engine. When Atomic stops its engine, to quit or to restart an unresponsive one, notifications and events the engine sends while it shuts down no longer reach the screen, and a message the engine had already taken is no longer treated as never sent (#6075, #6085)
context: "fork") now receives the project context and skills its parent was sent, even when its agent sets inheritProjectContext: false or inheritSkills: false; those settings now apply only to fresh subagents. To keep the project context, such as AGENTS.md, or the skills out of such a subagent, launch it with context: "fresh".Typing and rendering keep going while Atomic reads and writes its local SQLite files, and the chat screen no longer flashes blank or shifted frames.Storage off the interface
- SQLite no longer freezes the interface. Each connection to a local SQLite file runs on a thread of its own, so typing, rendering and clicks keep working while a session store opens, waits for another process’s write lock or commits, and while a long session loads. Opening a store takes up to about 25 ms longer while its thread starts (#5376, #6059)
- The history index builds without pauses. Building the
history://search index of a long session no longer pauses typing and rendering on a slow disk. The build itself takes 6 to 12% longer on a lightly loaded machine and up to about twice as long when the CPUs are oversubscribed, so the firsthistory://search of a long session that has no index yet covers fewer entries per call (#5666, #6060) - Open shared SQLite files with
openNodeSqliteDatabase. Its connections in one process now wait for each other’s write lock instead of failing withdatabase is locked. In SDK hosts, aDatabaseSyncof your own or awrapNodeSqliteDatabasehandle that writes the file during such a transaction can now fail withSQLITE_BUSY(#5376)
- The chat stays still during a run. The working row under the prompt stays on screen between a run’s turns, and a message you send no longer vanishes for a frame as its run starts. Subagent chats keep their working row the same way, and their token count no longer dips for a frame (#6054)
- Views and fullscreen open without a blank frame.
/model,/scoped-models,/tree,/resumeand/taskskeep the prompt on screen until their view can draw. On most terminals, fullscreen keeps the previous screen until its first frame, at start and when you come back from an external editor, a subshell or a suspended session (#6057, #6056) - Subagents stay in place. A subagent shown on the chat screen no longer jumps when the prompt or panel below it changes height, and Enter on a subagent in
/tasksno longer flashes the main chat’s prompt first. A steering or follow-up message stays listed until it shows in the subagent’s transcript (#6055, #6071) - Task rows stay still. A new subagent’s row in
/tasksand the agent panel no longer shifts twice as its model and then its reasoning level arrive, and the model column no longer narrows while the list stays open (#6061) - A click expands one block. A click on a block’s
(ctrl+o to expand)hint opens or folds only that block, so tool blocks that stream in later no longer start expanded, and tool calls that join a group after a click are no longer hidden (#6062)
- Bun 1.4.5 with its security fixes. The standalone binaries now embed Bun 1.4.5, with its fixes for TLS, HTTP and DNS. They check custom CA certificates as the npm-installed
atomicdoes, so a root certificate inNODE_EXTRA_CA_CERTSor a PostgreSQLsslrootcertthat is not marked as a CA, or is limited to client authentication, is now refused (#6066)
- Windows startup traces keep their last lines. On Windows,
ATOMIC_STARTUP_TRACEkeeps the engine’s last lines when you quit soon after they are recorded (#6058) - The tmux wait helper stops on interrupt. The bundled tmux skill’s
wait-for-text.shstops within a second of an interrupt on bash 5.2 and older, instead of waiting for a stalled capture or its timeout (#6053)
Codemode and subagents replace workflows, subagents share the main chat screen with its steering and can be resumed by a message, and long sessions keep only their current context in memory.Codemode and subagents
- Scripts launch and steer subagents. A codemode script launches one or many subagents in the background and gets their task IDs at once, then checks status, waits with a budget, or pauses, quits and resumes its own children.
subagent({ action: "models" })lists your models and their thinking levels (#5927) - Codemode is on by default. New sessions can script tool calls and delegation without adding
+codemode.codemode.inlineBudgetbounds the declarations it adds to the prompt, and"defaultTools": ["-codemode"]or--tools -codemodeturns it off (#5939) - Finished subagents say how to continue them. A completion notice and a finished child’s
waitorstatusoutput name thesubagent({ action: "resume", … })call that continues it, and/tasksshows its resume ID, so a follow-up continues the same child instead of starting over (#5968) - General skills ship with subagents.
create-spec,research-codebase,skill-creatorand the other general skills now come with the subagents builtin, unchanged, so they stay when workflows go (#5923)
- Old workflow files become skills. Startup points out earlier workflow files, and
/skill:workflow-filesconverts one into a project or user skill that runs with codemode and subagents. The original file is never run, changed or overwritten (#5924) - Packages ship agents. A package can list subagent definitions under
agentsin its manifest. They run as<namespace>.<name>with their pinned models, fallback models and tools, and/skill:workflow-filesturns a workflow stage’s pins into such an agent (#5991) - Orchestration guides. New guides cover the delegation patterns, recovery after a restart and a replacement for each builtin workflow, and links to the retired workflow guides redirect to them (#5924, #5946)
- Workflows are removed. The
workflowtool,/workflows,/workflow-authoring, F2, the builtin workflows such asralphandgoal,atomic worker, and the workflow APIs for extensions, SDK hosts and RPC clients are gone./resume,/tasks, the agent panel andhistory://list sessions only (#5926, #5941, #5932, #5922, #5925, #5928, #5918, #5931) - Your workflow data stays put. Storage covers sessions and Intercom only. Journals,
wf_*tables and run artifacts from earlier releases are never opened, changed or deleted, so an earlier release still finds its runs (#5943) - 0.9.x and 0.10.0 sessions keep talking. Sessions of both versions message each other through whichever Intercom broker is running, and a
workflow:target now getsSession not found, like any name that no session has (#5947)
- Sessions hold only their current context. Sessions, extensions and RPC clients open at the current context window, imported sessions too, and Atomic reads older entries a page at a time,
/sessionincluded, so long sessions use less memory after clears and compactions (#5554) - Older messages load as you scroll. Fullscreen main chats, subagent chats and saved task transcripts read older turns in bounded pages, a compaction while you are scrolled up keeps your place and selection, and Ctrl+End returns to live output and releases those pages (#5593)
- Lighter forks. A
context: "fork"subagent copies only the context at its fork point, a fork waiting for a slot starts at its launch entry, and/forkand/clonestream the selected path instead of loading the whole session (#5500, #5594)
- One chat screen for main and subagents. Enter on a subagent in the agent panel or
/tasksshows its live transcript on the main screen and points the prompt at it, each agent keeps its own draft and prompt history, and Esc or Ctrl+C on an empty prompt goes back to main. Built-in commands still act on the main chat and ask before they rewrite it (#6032) - Steer subagents like the main chat. While a subagent is shown, Enter queues a steering message and Alt+Enter a follow-up, Alt+Up brings them back to edit, Esc pauses it until you send it a message, and a continued subagent keeps its
/tasksrow (#6008) - Messages wake finished subagents. Any session that can message a completed or failed subagent can resume it, and the message reaches it in its own session while the session that launched it keeps its result and
/tasksrow. Resumes by messages are bounded per subagent and per chain of agents waking each other, and queued messages survive an Intercom restart (#5999) - Sessions are reachable from the start. An interactive session joins Intercom in the background shortly after it starts, so other sessions in its group can list it and message it before it has used Intercom itself;
"joinAtStartup": falsein Intercom’sconfig.jsonorATOMIC_INTERCOM_JOIN_AT_STARTUP=0keeps the join on first use (#6037) - See each subagent’s model. The agent panel and
/tasksshow the model and reasoning level each subagent runs on, and the column follows fallbacks and resumes as they happen (#6017) - One retry line in every chat. Main, subagent and task chats show
Retrying · <reason> · attempt 2/3 in 4swith a countdown, and a clickableesc cancelwherever Esc cancels the retry (#5961) - Reopened chats keep their notices. Failed and cancelled retries and compactions, checkout snapshot warnings, prompt-cache misses and dropped-thinking notices stay beside the replies they belong to after a reopen or redraw in the default SQLite store, libSQL servers and PostgreSQL (#5649, #5668, #5681)
- Worktree children finish before they report. A temporary-worktree child reports completion, pause or quit only after Atomic is done with its directory, and in SDK batches each caller gets only its own children’s answers (#5600)
- Accurate child states. Reopened notices no longer show a stopped child as paused, and a reconnect that restores a released child no longer reports
hold-failed(#5690, #5641) - Clicks land where you aim. Buttons that extensions draw in chat blocks get their clicks again in fullscreen chats, a dialog hidden and shown before the next paint drops a held click, and key hints separated by a tab or Unicode space are clickable (#5696, #5643, #5656)
- Clean exits and late trust decisions. Quitting or disposing a session while extensions start no longer leaves an unhandled rejection, and a folder’s resources are withdrawn when a
project_trusthandler registers late (#5697, #5804, #5693) - Extensions see nested calls. Extension tools can tell calls made through
ctx.executeTool()from model-issued calls withctx.parentToolCallId(#5927) - Closed sessions release their memory. Long-lived Node.js 22 hosts no longer keep an async context store for every closed session that called tools through codemode or
ctx.executeTool(), and a codemode worker that is still exiting no longer keeps the closed session alive (#5955, #6015)
- No freeze on snapshot upgrades. Upgrading a large snapshot reference index from 0.9.87 or earlier clears old rows in short, resumable batches on SQLite and local libSQL stores with enough free space, instead of freezing Atomic (#5553)
- Snapshot moves need less disk. Collection reports when there is too little space to move an old chunk table, and
atomic storage move-snapshot-chunksfinishes the move on a closed SQLite file with room for one copy (#5700) - Steadier worktree pools. On Linux and macOS, lease and session-open marker ages follow the shared filesystem’s clock, and a colliding temporary record is never overwritten (#5674, #5824)
- Deadlines stop retries.
generateStructuredOutput()and thestructured_outputtool no longer send a provider retry after their timeout, and provider requests accept aretryDeadline(#5627) - Provider streams without a finish reason. GitHub Copilot responses that end normally but report no finish reason, as some models do, no longer fail with
stream-ended-early(#6028)
builtins.workflows, @bastani/atomic/workflows imports, the workflow RPC commands, session.workflows, orchestrationContext and the other stage-session APIs, workflow_* extension events, the journal and run export APIs, workflow: Intercom targets and the stage-route IntercomClient methods, atomic worker, and atomic storage adopt, consolidate and the --workflows, --run and --unfinished options from your setup; unset ATOMIC_WORKFLOWS_JOURNAL, ATOMIC_WORKFLOW_JOURNAL_PATH and ATOMIC_WORKFLOW_ARTIFACT_DIR. Extensions that relied on built-in workflows or workflow-authoring command hints mark them with slashCommandHint(), and SDK hosts that disable subagents also lose the general skills. Sessions, imported ones included, open at their current context window: read older entries with readHistory() or readEntry(), page RPC history with get_history_page, use getAdmissionKeys() and loadWorktreeSnapshotRecords() for older admission keys and snapshots, and await SessionManager.inMemory() when you seed entries. A fork into a different store copies only the current context, and a custom store without exact sequence lookup or paged history records a subagent launch without leafSeq. Extensions that hold a Git filter or remove a child’s worktree must wait for subagent:finishing or task settlement, not the terminal report or the cancellation receipt; hosts that caught SessionClosed from InteractiveMode.init() or run() must track their own shutdown request; and a ChatSessionHost with an editorFactory editor handles follow-ups and dequeue through its onAction. Workflow runs of builds before 0.9.88 that share a store report worktree snapshots over 1 MiB that this release writes as corrupt.Every subagent now runs in the background, a click runs key hints and expands blocks in fullscreen mode, and large stores, retries and interrupts no longer stall Atomic.Subagents
- Every subagent runs in the background. A launch returns once its children are admitted, so each one is listed below the prompt and in
/tasks, where you can open its chat, message it or stop it.subagent({ action: "wait", id })waits for a result, and Esc ends that wait at once (#5488, #5686) - Steadier subagents.
resumerefuses a child that is already running instead of never answering and waits for its worktree cleanup, a stop from the agent panel keeps a child resumable, elapsed times count from dispatch through release or stop, and a forked subagent’s first request is no longer rejected over Claude’s signed thinking (#5485, #5560, #5589, #5609, #5688, #5570, #5481)
- Click a key hint to press it. Key hints in chat footers,
/tasks,/workflows, the workflow graph, dialogs, pickers, Intercom and tool blocks run their key on a click, and a hint that names a slash command runs it (#5528) - Click anywhere on a block to expand it. Any block Ctrl+O expands opens or folds from a click on its title or output, while double- and triple-clicks still select text (#5505, #5562)
- A panel for live work. Finished subagents leave the agent panel at once, stopped or paused subagents and paused or blocked workflow runs stay only while other work runs,
↓ N agentscounts only subagents,/workflows to see runspoints to runs that left, and every chat keeps one row between its working line and prompt (#5476, #5477, #5490, #5504, #5710) - Retries you can follow and stop. The working line counts a turn through every retry and fallback model, chats opened mid-wait show
retrying…orswitching model…, reopened chats keep provider errors, and Esc cancels a pending retry or model switch without sending another request (#5535, #5483, #5572, #5613, #5507, #5564) - Esc always ends a turn. A tool call that ignores the interrupt gets
Operation abortedafter 10 seconds, so an extension or MCP tool that never stops no longer keeps the session busy (#5486)
- Extension startup errors keep the session. A
session_startorresources_discoverhandler that throws shows its error once and the session keeps working, at startup and on/new,/resume,/forkand/reload(#5501) - Project trust without false alarms. Trusted projects no longer show the untrusted warning, session-only answers last through engine restarts, and a folder’s prompts, skills and themes wait for its trust decision (#5475, #5568, #5693)
- Session search and export.
atomic storage search-sessionsearches one local SQLite session as a shell command you can run in the background,history://search continuations keep their place, andatomic --exportshows subagent cards with their saved transcripts (#5479, #5692, #5658) - Account-only Copilot models in SDK sessions. SDK sessions and
atomic -pcan use a saved, account-only GitHub Copilot model without runningatomic update --modelsfirst (#5685)
- No multi-second freezes on large stores. Workflow history,
/workflows,/resume,history://sessionsand closing a session now work in short steps, and snapshot lookups read kilobytes instead of megabytes (#5480, #5530, #5541) - Safer snapshot collection. Moving the snapshot chunk table never fills the disk, a broken trigger or view that blocks the move is named, and bundles that older Atomic versions sharing the store still need are kept (#5694, #5622, #5558)
- Less memory over long sessions. Finished workflow runs release the sessions that summarized them, failed SDK runs release their stages, and Intercom keeps routes only for the 32 most recently finished invocations (#5487, #5499, #5492, #5561)
- PostgreSQL through an HTTP proxy. The PostgreSQL adapter tunnels through
HTTPS_PROXY,ALL_PROXYorHTTP_PROXY, or its newproxyoption, with TLS end to end. If you already setHTTPS_PROXYand reach a remote database directly, add its host toNO_PROXYor setproxyto"none"(#5473, #5565, #5670) - libSQL servers under schema churn. Triggers, write batches and multi-statement
execcalls recover fromSQLITE_SCHEMAandSQLITE_BUSYwithout running a statement twice, and large workflow catalogs, exports and older sessions load within the server’s limits (#5509, #5536, #5652, #5676, #5537, #5590)
- Reliable workflow resumes. Resuming a failed run waits for the previous attempt to finish saving, keeps its run ID and checkpoints, releases the replaced stage session, and keeps open chats and questions on the live stage;
/resume <prefix>lists every match (#5527, #5569, #5559, #5577) - Clearer run views. Suspended stages show the
◌waiting mark, a run that cannot reopen a waiting stage shows as blocked withr resume run, nested workflows on workers show their final state, and running stage borders pulse in their own colour (#5489, #5534, #5616, #5596)
- Windows process cleanup. Stopped commands, clones, hooks and blueprint steps have their process tree terminated once, and commands that ran to completion no longer fail with
Windows stdin worker stop was not confirmed(#5601, #5512, #5702, #5664) - Sturdier blueprint steps. A program the system refuses to start fails its step with the reason, or is retried briefly while another process holds it, and clock changes no longer stretch step deadlines (#5608, #5707)
- Updated bundled skills.
tdd,qlty,tmux,intercom,unslop,teachandprompt-engineerfollow their upstreams and current model guides, andshow-meruns only when you type/skill:show-me(#5474, #5566)
subagent launch wait option is gone and every launch runs in the background; to use a child’s result in the same turn, call subagent({ action: "wait", id }). SDK hosts must pass only { kind: "background" } or no policy to AgentTaskHost.observeAgentLaunch, wait for tasks with waitForTask, stop expecting a yield function in its onRegistered callback, and stop using the removed TaskViewSource.foregroundTask.Compaction clears the context and lets the agent recover it from history,
model: "auto" runs your default model, an agent panel keeps subagents and workflows in view, and the interface stays responsive under load.Compaction and history- Clear-and-recover compaction. By default compaction calls no model. It clears the context, and the agent recovers what it needs from session history with its own tools. A compactor model such as
morph/morph-compactorcan condense the context instead, and/compacttakes instructions (#5389) - Bounded history reads.
history://reads and searches stay within output and time budgets, return continuation URLs, select saved entries, and search large stores through incremental indexes (#5250)
model: "auto"runs your default model. Subagents, workflow stages and builtin agents start on your default model and thinking level without a routing request, and Atomic removes the retiredmodelRouting,taskNeedsandmodelConstraintssettings once (#5381, #5406, #5409)- GPT-6.2 Astra and GPT-6.2 Sol. Both are available on OpenAI, Azure OpenAI and Codex, and GPT-6.2 Sol is the new default for the OpenAI providers (#5410)
- Fallbacks skip missing credentials. Model chains for chats, subagents and stages skip providers without credentials before sending a request, and the error names the models and providers affected (#5353)
- Agent panel. Running subagents and workflow runs are listed below the prompt, and
/tasksgroups them by Needs input, Working and Done. A released subagent shows as waiting on its tool with its saved conversation, and Alt+W opens the shell it waits on. Subagent and stage chats share the main chat’s composer, working line, tool blocks and shell count, and a click on a block header expands it (#5224, #5239, #5405, #5407, #5408, #5430, #5438, #5448) - Sessions and runs in one place.
/resumelists saved sessions and workflow runs together, the workflow graph pauses, resumes, quits, forks and opens run details from its own keys, and/workflowsshows definitions that failed to load (#5245, #5256, #5255) - One picker and prompt search.
/settings,/tree, the fork picker,atomic configand the@and/menus share one picker, and Ctrl+R searches the prompts you sent (#5347) - Questions stay with their session. A subagent’s or stage’s question waits in its own chat instead of blocking the main chat (#5354)
- Notices instead of cards. Finished tasks, heartbeats, workflow events and a stage chat’s own notices use the chat’s compact notice form, Ctrl+O expands their details, and tasks that finish together start one turn instead of one each (#5342, #5440, #5453)
- Plain output under
NO_COLOR.NO_COLORandFORCE_COLOR=0turn off every theme color, bold and italic in chats, tool blocks,/tasks, pickers, the workflow graph and run details.FORCE_COLOR=1or2limits colors to 256, and extensions follow the same rules withhexColorAnsi()(#5435, #5441, #5454)
- A responsive interface. File, git, settings, storage and process work no longer block typing or rendering, process starts on Linux no longer slow down as memory grows, long sessions and attached chats render only what changed, and worktree snapshots start fewer Git processes (#5377, #5345, #5358, #5447)
- Faster startup. The first frame paints before the engine loads, in about 270 ms instead of 940 ms for the Linux binary, which also caches its bytecode for every process it starts (#5339)
- Less memory over long runs. Atomic releases ended workflow stages, sessions that launched subagents and replaced extensions, so a host no longer grows to gigabytes (#5355)
- Fleet health and quota-aware scaling.
atomic worker statusshows the controller, scale events, rate limits and shipping lag, autoscaling stops at the fleet’s usable rate quota, and pooled stages commit to the shared journal about 0.4 times per step instead of 3.4 (#4768) - Reliable subagent starts. Subagents register on Intercom before their first turn, report a slow start, reach their real supervisor, and answer every message they accept (#5341, #5318)
- Intercom reach and multi-node delivery. SDK hosts can set a session’s home Intercom group and the groups it may reach, and a stage can answer the session that launched its run. Across machines, a message to a starting subagent waits for it instead of failing with
Session not found, a reply after a broker crash stays retryable, and a send to a session that just quit is queued for its return (#5352, #5373, #5458, #5461, #4997, #5455, #5457) - Separate stores per agent directory. Sibling
ATOMIC_CODING_AGENT_DIRprofiles no longer share sessions, workflows and Intercom through their parent directory, and processes starting together on a fresh agent directory no longer fail reading its storage home (#5242, #5429) - Safer concurrent work. Atomic keeps the settings you save in an editor, SQLite writers keep their order after a stall, a run stopped by another process’s write saves nothing more, restore cleanup never deletes files it did not create, a resume after a killed blueprint build starts in a fresh worktree, and a stage that falls back after a context overflow stops the session it replaces (#5414, #5422, #5135, #4748, #5379, #5446)
- Shared libSQL servers. Statements that sqld answers with
SQLITE_SCHEMAorno such tablewhile other stores change the schema run again, a write after an outage no longer waits on a lock the outage left, and workflow journals wait for the write lock and refuse corrupt counters without writing (#5456, #5462, #5464, #5467, #5114, #5439) - PostgreSQL on Azure.
atomic storage migratesays whenpg_trgmis missing, the storage guide covers Azure flexible servers and HorizonDB, and Atomic retries a write that a briefly read-only server refuses after a failover (#5444)
- Sturdier installs. A pinned version installs without the GitHub API, a rate limit names
GITHUB_TOKENas the fix, an interrupted or concurrent install no longer leavesatomicunable to start, downloaded tools install when Atomic starts from PowerShell 7, and processes waiting on a killed Git install take over its lock without failing (#5443, #5452, #5436, #4322, #5434) - Busy Windows machines. A shell command or a named worktree’s Git command that ran to completion no longer fails with
Windows stdin worker stop was not confirmed(#5340, #5202, #5450)
/workflow and its subcommands are removed; ask the agent to run workflows and use /workflows, the graph’s keys and /resume instead. Drop compaction settings other than compaction.enabled, compaction.reserveTokens and compactionModel, and the modelRouting, taskNeeds and modelConstraints fields, which are now ignored; SDK code must stop using the removed background-compaction, compaction-planner and model-routing exports. Custom SessionStores used with history:// must implement readEntryRange(), and history://sessions/<id>:N-M ranges now count entries, not lines. Pass closeOnSelect: false to single-select Selectors that keep taking input after a choice, update SelectorState.items through setItems(), return a single header from tool renderCall, check SharedPoolScaleEvent.target and .live for undefined, and on Windows use ensurePrivateTempDirAsync() and assertPrivateDirectoryAsync().Atomic runs on its own libraries, workflows scale out to worker fleets on libSQL or PostgreSQL, and every screen shares one set of keys.Atomic’s own foundation
- Forked pi libraries. Atomic now ships its own
@bastani/atomic-ai,-tui,-agent-core,-codemode,-schemaand-telemetrypackages, identifies its requests as Atomic, refreshes models from models.dev and readsATOMIC_*variables. Existing extensions andPI_*variables keep working. The Radius provider was removed (#5174)
- One set of navigation keys. Esc only interrupts or closes, ← goes back,
xtwice stops, and?shows the keys of every screen. Pickers,ask_user_question, the working line, compaction notices, subagent blocks and the workflow graph share one look, and scrolling up pins the prompt you are reading and keeps an accurate count of new messages (#5224, #5243) - Failed stages explain themselves. Enter on a failed workflow stage shows a short reason with keys to retry it, start a new run from it, or read its transcript and error log (#5224, #5234)
- Worker fleets.
atomic worker start,controller,metricsandstatusjoin machines to a shared database, autoscale them through command presets for Azure, AWS, Google Cloud, Kubernetes and GitHub Actions or KEDA, share model rate limits across hosts, and ship checkpoints in batches. Pools survive store outages and lock contention without losing children, and idle workers no longer poll the shared store (#4768, #4803, #5072, #5230) - PostgreSQL storage. The new
@bastani/atomic-storage-postgresadapter holds sessions, workflow journals, worker pools and Intercom, supports cloud IAM sign-in, wakes hosts throughLISTEN/NOTIFY, claims work in parallel, and runs with a DML-only runtime role afteratomic storage migrate(#4793, #5103, #5102, #5218) - Large values on libSQL. Sessions, snapshots and workflow events over a few megabytes are stored in 1 MiB rows, so sqld no longer refuses them. The one-way schema upgrade means every host sharing a store should be upgraded together (#4954, #4965)
- Exact workflow budgets. Every model call, including compaction and a stage’s subagents, is charged once, and token and cost caps stop a stage within its turn (#5053)
- Durable resumes and forks. Resumed, forked and pooled runs keep their recorded graph, answers and messages, so they no longer fail with replay mismatches or lose their history (#4945, #5042, #4871, #5027)
- Faster resumes. Headless resumes start the first turn while the blueprint builds, restores fetch one commit, idle restored worktrees are reused, and
atomic blueprint prebuildandcache-keyprepare them ahead of time (#4748, #5099) - Bounded
keepContextand sturdier compaction. Protected spans can no longer crowd out a compacted context, compaction moves to its next fallback instead of failing the turn, and resuming a compacted session reads only from its latest compaction without announcing finished tasks again (#4794, #4977, #5249) - Safe concurrent processes. Settings, credentials, trust, sessions and restored worktrees no longer lose updates or get taken over while their owner still runs, and concurrent restores on Windows no longer fail on a shared lock (#5193, #5161, #5135, #4971, #4951)
- Steadier model calls. Overloads and transient 5xx errors are retried instead of skipped, out-of-credit accounts fall back at once, stalled streams hit their deadline, and unsupported images no longer break a session (#4994, #4918, #4904, #4908)
- Precise file tools.
edit,write,read,searchandfindno longer touch text outside the change or misread paths with brackets,@or:(#4893, #4906, #5015, #5177) - Subagents in named worktrees.
worktree: { branch }runs a subagent on its own branch, and long supervising sessions stay fast with hundreds of finished subagents (#5202, #5186) - Background work that wakes and cleans up. Heartbeats start a turn in an idle chat, and a background shell’s whole process tree ends with it (#4795, #5057)
- Live
/reload. Reloading runs the code you edited in TypeScript and JavaScript extensions (#4986, #4988) - Intercom from scripts and reliable broadcasts. Codemode scripts can list and send, and a glob matching several sessions now needs
broadcast: true. A broadcast reaches every match, even hundreds of sessions, and shows once per session. Asks across brokers and restarts now always get their reply or failure (#5087, #5202, #5252, #5291, #5297)
- Hardened inputs and outputs. Messages can no longer control your terminal, credentials are redacted more thoroughly, project workflows and agents load only in trusted projects, and private URLs never reach web fallbacks (#4889, #4833, #5142, #5127)
/workflow connect and /workflow attach are removed; use /workflows or /workflows <run-id> and press Enter on a stage to open its chat.Asks from released subagents no longer vanish when their recipient comes and goes.
- Reliable failed-ask notices for released subagents. When a released subagent’s ask goes to a session that leaves, returns and then ends, the subagent now gets one “Your ask <id> to <name> failed” message instead of losing the ask silently, also after a broker restart, and
pendingstops listing it (#4765, #4767).
Intercom asks stop blocking, partial restores keep more of your checkout, and subagent chats get autocomplete.
- Non-blocking Intercom asks.
askreturns once the question is delivered and waits for the reply likebashwaits for a command. A late reply arrives as a message, so the asking session keeps working, and an ask whose recipient ends while the asker is closed now fails visibly instead of staying pending (#4751, #4758, #4761, #4764). - Fuller degraded restores. A partial resume restore keeps worktrees that a checkout filter changes, searches every earlier snapshot for the closest commit, and shows its notice after
/resumeand/importtoo. Workflow runs and worker hosts can reuse the same restore throughrestoreBestWorktreeandwithWorktreeRestoreNotices(#4744, #4747, #4738, #4750). - Autocomplete in subagent chats. A subagent’s chat opened from
/taskscompletes/tasks, its own/skill:commands,@file mentions and Tab paths in its working directory (#4755, #4757). - Faster, safer credential stripping. Checking a snapshot’s remote URL for credentials is now linear, so a crafted long remote can no longer stall resume, and credentials containing
@are stripped completely (#4749).
Resumed sessions always open, and
/tree navigation now sticks.- Resume never strands a session. A resume opens the full conversation even when a worktree snapshot cannot be restored exactly, restores the closest state it can reach, and says what is missing. Snapshots taken in a restored worktree keep the recorded remotes, so a later resume on another machine no longer fails with
commits-unavailable(#4733, #4739, #4732, #4734). /treemoves show and stay. The chat, tree,/session, and context indicator follow the selected branch at once, and the move survives quitting, resuming, and workflow forks (#3325, #4736).- Fewer wasted requests, accurate usage. Unsaved sessions skip the per-turn summary request, and the footer and
/sessioncount the latest summary’s tokens and cost right away (#4726, #4730). - Automatic retries on dropped connections. Provider errors that report only a socket code such as
ECONNRESETorEPIPEare now retried in sessions, workflows, and subagents (#4740). - Smaller fixes.
/copycopies the right reply,readno longer leaves a stale image warning after switching to a vision model, huge tool results render without crashing, andask_user_questionfields keep readable colors after going back (#4740, #4741, #4742). - Cleaner agent directories for SDK hosts. The extension transpile cache follows each load’s agent directory, and a disposed session’s Intercom broker no longer writes into it (#4728, #4731, #4727, #4737).
Sessions now move between machines alongside workflow runs.
- Export and import sessions with your runs.
atomic storage export <dir>writes sessions next to workflow runs,atomic storage import <dir>restores both, and--sessions,--workflows,--limit, and--sincepick what moves (#4720, #4721). - Safer storage transfers. Import checks everything under the journal’s write locks before writing and reports exactly what a partial import wrote, and export no longer drops runs that
atomic storage consolidatemoves while it reads (#4720, #4721). /reloadkeeps unsaved sessions intact. A--no-sessionsession keeps its transcript,/sessioncounts, and context usage across/reload(#4703, #4723).- Patched dependency advisories. The bundled
honoand@hono/node-serverare updated to clear reported moderate and low advisories (#4722).
Workflow runs that travel between machines.
More predictable file search and a steadier RPC startup.
- File search that follows the glob.
findandsearchsearch from a filesystem root when a glob starts at one, such as/**/*.ts,C:\**\*.tsor\\server\share\*.ts, andfindmatches globs case-sensitively whichever search engine runs, so the same query returns the same files on every machine (#4707, #4708, #4709). - RPC clients can start fresh right away. Sending
new_sessionor closing stdin while the startup session is still loading extensions no longer crashes RPC mode withSessionClosed(#4711, #4713).
Smarter automatic model routing, a quieter footer, and parallel subagent calls that survive a single child’s failure.
- Better
model: "auto"picks. Routing now weighs all shipped evaluation evidence at the effort the task will run at, so a model with one strong score no longer beats models with broad, consistent results, and parallel reviewers such asralph’s can land on different model families (#4689, #4691). - Clearer chat state. The footer’s model and branch line shows only while the agent is idle and reads
esc to interruptwhile it works, Escape in a retrying stage chat interrupts the stage, and a message sent while the agent is busy shows as queued at once (#4690, #4692, #4696, #4700). - Sturdier subagents. One child that fails to start no longer fails a whole parallel call, and a briefly slow Intercom broker no longer causes
Supervisor authorization timeout(#4697, #4698). - Honest cache miss costs. Prompt cache miss notices and
/sessionshow the real re-billed cost instead of$0.000(#4688, #4695). - Provider and tool fixes. Qwen Token Plan moves to its current gateways with per-plan keys and new DeepSeek models,
"Connection closed."errors retry automatically, and strict tool schemas, Google customfetch,bashlong-line output,findglobs and/resumeselection behave correctly (#4693, #4702).
Embedding apps can pick storage adapters by package name, the UI shows less placeholder text, and Atomic no longer briefly locks your folder on Windows after it exits.
- Pick an embedded app’s storage adapter by name. An application that embeds Atomic can select the adapter from its own package by name in settings, flags and environment variables, so the configuration survives reinstalling the app in a different location (#4678, #4679).
- Fewer temporary labels. Tool and extension message rows no longer show “Loading isolated renderer…” before their first frame, and a running workflow run that was resumed no longer carries a
● resumedlabel (#4681, #4680). - No leftover folder lock on Windows. Cleaning up released session history no longer holds your working directory open after Atomic exits, so you can delete or rename it right away (#4655, #4684).
Resuming long sessions is faster and keeps your tools and subagents, long workflow runs stay responsive, and interrupts and status messages are calmer.
- Faster, more faithful resume. Resume shows its slow steps before the TUI appears, keeps the tools a session last ran with, brings back
subagent,workflow,todoand MCP tools that were missing for a turn, stays in your own checkout instead of a snapshot worktree, and reaches a usable prompt sooner on long histories. Background subagents survive a reboot, and one that cannot be restored is reported with a ready call to relaunch it (#4660, #4664). - Long workflow runs stay light. The graph overlay and progress widget no longer slow down as stages finish, finished stages you reopened leave memory again once their chat closes, and released stages share one Intercom connection per session (#4642, #4659).
- Calmer interrupts and quieter status. Ctrl+C clears typed text before stopping work and exits only on a second press from an empty, idle editor; an interrupted response ends with a muted
Interrupted by userline instead of a red error; the compaction card names only the model, a policy-refusal summary is labeledsummary (fallback), and a successful interactive engine restart no longer prints a message (#4670, #4673). - Simpler
/tasksdetails. The “Foreground wait” action, which never changed how a task ran, is gone (#4662, #4665). - Upstream fixes. MCP tools loaded by
tool_searchsurvive resume and/reload,/exportlinks are clickable, the standalone binary resolves extension dependencies declared inmainorexports, llama.cpp defaults to port 9931, and Anthropic message threads follow theapi.anthropic.comendpoint (#4663).
GitHub Copilot users get Gemini 4 Carbon and Claude Fable 5.2, and automatic model routing can rank Gemini 4 Carbon.
- New Copilot models.
github-copilot/gemini-4-carbonandgithub-copilot/claude-fable-5.2are always available, even with a catalog built before models.dev listed them, and Fable 5.2 offers only the thinking levels it accepts (#4653). - Routing evidence for Gemini 4.
model: "auto"can now choose Gemini 4 Carbon at high, medium or low effort from recorded benchmark results, and Gemini 4 Argon’s results are rechecked and extended (#4654, #4656).
Subagent chats look and scope like stage chats, agents recall project history, and background shells explain why they stopped.
- Subagent chat box. A subagent’s transcript in
/tasksgets a workflow stage’s chat box, with its own usage, model, footer and/taskslist, so you can follow and manage one subagent without the parent’s tasks in the way (#4640, #4646). - Project memory by default. Workflow stages and subagents read and search the project’s sessions and workflow runs through
history://, and agents consult earlier runs and your stated preferences before choosing workflow versus inline, verification and estimates (#4648, #4649). - Reliable background shells. Subagents keep their shells when their workflow stage is released or replaced, and a shell that ends now says why, including the execution timeout that stopped it (#4639, #4650).
- Upstream fixes.
/sharereports a failedghstart instead of crashing, the llama.cpp guide usesllama --version, and the pi packages move to 1.5.2 (#4638, #4647).
Claude Fable 5.2 works with an Anthropic subscription login.
Resumed sessions build their own environment from a blueprint, and Copilot and moved-folder sessions fail less.
- Blueprints replace the resume setup hook. Describe how to set up a checkout in
.atomic/blueprint.yaml(Devin’s format) and every resume, workflow resume and woken subagent builds it, only rebuilding what changed; a failing build is reported as Partial and never blocks the resume, and only the checkout you are working in can stop one (#4588, #4584). - Sessions from moved or renamed folders. When a session’s working directory no longer exists, Atomic asks whether to continue here, fork into the current directory or cancel, in
/resume,/importand at startup, and an import that cannot run stores nothing (earendil-works/pi#11060). - Steadier GitHub Copilot turns. A response cut after a long attempt is retried once, then moves to your fallback model or suggests smaller steps instead of burning minutes on every retry; silent thinking no longer trips the stream deadline, and a saved API key only offers models your account can use (#4626, #4627).
- Cheaper idle sessions.
cacheWarmingnow defaults to"idle", keeping eligible prompt caches warm for up to 30 minutes between runs only when the refresh pays for itself (upstream #11857). - SVG images that just work. GPT Image 2.6
{ outputFormat: "svg" }works without ansvg.model, reports the model that wrote it, and fails with a clearinvalid-optionreason when the API rejects it (#4615). - Fewer stalls and stale states. Long runs with many subagents no longer slow down on Node.js 22, the compaction indicator stays on screen while other views redraw, and
atomic update --modelsand Windows SQLite stores recover from stale logins and killed processes (#4622, #4625, #4610). - Tool and terminal fixes from pi 1.5.1.
findmatches Windows path patterns with every fd version and stops when cancelled,powershellno longer reports success as failure on Windows PowerShell 5.1, and Markdown comments, paste markers, Kitty images and Alacritty links render correctly (earendil-works/pi#9262, earendil-works/pi#11974, earendil-works/pi#11964, earendil-works/pi#11923).
.atomic/setup is no longer run on resume; move its commands into the initialize or maintenance steps of .atomic/blueprint.yaml. Workflow stage status waiting is now suspended; update status comparisons and maps (the waiting filter remains a deprecated alias).Compaction keeps more of your session verbatim and can recall what it removed.
- Verbatim compaction that holds up. A planner refusal partway through its answer is retried and then planned in smaller pieces instead of falling back to a lossy summary, deletions stop at the keep target instead of removing most of the session, and stray prose around the planner’s ranges no longer discards its whole answer (#4543, #4576, #4568, #4578).
- Removed context stays reachable. The compacted context tells the agent where removed lines live in
history://, cut tool output names the exact range to read, and a shortRecalled contextsection brings back relevant lines from earlier history; turn it off withcompaction.historyRecall: false(#4568, #4578). - Diagnostics for every session store. Compaction failures in SQLite and other non-JSONL stores now leave a redacted diagnostic in
compaction-diagnostics/(#4543, #4576). - Resuming sessions on large stores.
--session <id>and--fork <id>no longer run out of memory when the session belongs to another directory (#4566, #4567). - Workflow stages survive detached
bashwaits. Notifications, steering, follow-ups and compactions no longer push a session past a call whose result it still waits on, so the stage no longer fails withToolDetachmentError(#4580, #4581).
Intercom connects in every session of a multi-directory process.
Waiting agents let go of their sessions, work resumes on any machine, and teams share storage with one command.
- Agents that wait hold nothing. Workflow stages, background subagents and SDK sessions waiting on a long tool call, a question or a shell
waitrelease their session and memory and reopen from storage when their input arrives, so thousands can wait at once; oversized tool output is stored with the session and read throughtool-output://(#4309, #4326, #4373, #4374, #4379, #4395, #4403, #4502). - Resume on any machine. Worktree snapshots record the repository content each session and run worked against, so
--resume,/resumeand workflow resume continue in a restored worktree on any machine that shares your storage, run your setup hook there, and clean up unused snapshot content in the background (#4245, #4329, #4355). - Team and CI setup.
atomic team joinandATOMIC_PROFILE=ciput workflow runs and Intercom on a shared database in one step, runs live in a sharded journal store, and newer Atomic sessions replace an older Intercom broker instead of failing (#4320, #4325, #4538). - Background compaction. Sessions, stages and subagents compact older context in the background from 75% of the window while turns continue (#4330).
- Pi’s file tools.
editandwriteare upstream pi’s exact-text tools,readandsearchreturn plain text, andreadstreams large files instead of loading them whole (#4328, #4353). - One decision model.
decisionModelreplacesrouterModeland answersdecide(),model: "auto"andstructured_output, and lets a workflow stage advance on its own after you steer it (#4358, #4526). - Providers and git. Atomic downloads a portable git when none is installed, Copilot failures retry or fall back by their typed code, GPT Image 2.6 is available, and thinking
offruns models that cannot turn thinking off at their lowest level (#4322, #4324, #4332, #4545, #4552, #4556). - Run time travel and event streams.
/workflow forkretries a run from any stage in a new run, andsession.subscribefollows CI checks, reviews, logs and webhooks without every event entering the context (#4321, #4311). - Task chats and debug mode. Type into a
/taskstranscript to message that agent, stage chats and transcripts scroll like the main chat, and one debug switch turns on every debug log (#4521, #4360). - Storage under load. SQLite writers hand the lock straight to the next waiter, libSQL writes survive expired streams and brief outages, and tasks keep only their 256 most recently finished records (#4316, #4383, #4385, #4387).
edit with edits: [{ oldText, newText }] and give custom WriteOperations only writeFile(path, content) and mkdir(dir); rename routerModel and getRouterModel() to decisionModel and getDecisionModel(); await exportToJsonl(); use isDebugEnabled("model-routing"); give admission.userLimits an explicit journal file; compare SessionStore.list cancellations to signal.reason; and set compat.requiresToolsWithToolHistory: true for proxies that need tools with tool history. The bash interceptor, grep’s readFile and the hashline conflict exports are removed.Readable model discovery, faster commands, and broader Markdown customization come with the move to pi 1.5.0.
- Model identity and discovery. Primary labels show raw model IDs and reasoning levels, and
--list-modelsis tab-separated. Copilot discovers the models your account offers, caches them for offline startup, and shows their advertised display names as secondary metadata without changing request IDs. Runatomic update --modelsonce to refresh older cached names (#4275, #4279, #4303). - Faster shell commands. Commands return as soon as their processes are gone instead of waiting out a 250 ms grace period (#4274).
- Chat and queue correctness. Messages sent as a reply finishes, rewritten by an input hook, or handled by a hook no longer leave duplicate or unwanted chat entries. Alt+Up restores what you typed (#4276, #4282, #4287).
- Session continuity. Anthropic message threads send only new messages when the server can continue the conversation. Concurrent processes can open a new SQLite store without failing on its journal-mode lock (#4293, #4278).
- Markdown and extension tools. Transformers can opt into custom messages, skill blocks, branch summaries and changelogs, and Mermaid diagrams render in expanded branch summaries. pi 1.5.0 brings terminal and key fixes, page keys in lists, faster code and Markdown rendering, plain JSON Schema validation alongside TypeBox, MCP JSON reply limits, and a Copilot classifier (#4288, #4290, #4291, #4292, #4300, #4301, #4304).
- Shutdown cleanup. Idle RPC shutdown requests run without another client command. RPC and print mode finish cleanup when stdin closes or a first signal arrives; a second signal still forces exit (#4288, #4303).
AgentTool directly with Type.Enum, Type.Tuple, Type.Intersect or another unmapped schema kind, narrow params yourself or use a mapped kind. registerTool() and ToolDefinition are unchanged.Alt+Up no longer loses or duplicates a queued message in the default interactive mode, and internal URL expansion in
bash and powershell is now conservative about where it replaces a URL with a path.- Alt+Up restores what the engine removed: a message queued less than one engine round trip before the key press is no longer lost, and a message the engine already took into its turn no longer comes back to the editor (#4259)
- Safer internal URL expansion:
bashandpowershellreplace an internal URL such aslocal://with its quoted path only in a plain shell word. In arithmetic, array subscripts, comments, PowerShell typographic quotes and similar positions, the command now runs unchanged (#4260) - minimatch 11.0.4: fixes a glob pattern amplification advisory. Atomic’s own patterns were not exposed (#4260)
A fresh session can now look up your earlier sessions and workflow runs through
history://. UI commands such as /workflow connect and /settings no longer wait for compaction, and a message that cannot be saved now stops the run with an error instead of failing silently.- Recall past work:
readandsearchaccepthistory://sessionsandhistory://workflowsfor the current project, and the default system prompt tells the agent to use them. They work with every session and workflow store, custom stores included (#4256) - Commands during compaction: slash commands that do not send a prompt run immediately while a session compacts. Prompts, templates, skills and messages that commands send still wait, and go out in the order you typed them (#4253)
- Unsaved messages stop the run: when a message cannot be written to the session file, for example after another process wrote to it, the run reports the cause once and sends no further model request, and
-pexits 1 (#4247, #4255) - Internal URLs:
bashno longer rejects commands whose quoted text mentions a scheme such aslocal://, and the unimplemented schemes are gone (#4256) - Long-running hosts: child completions and Intercom delivery no longer scan every run a workflow host has kept (#4250)
An explicit
--model now runs as named instead of silently switching to another model family, and atomic -p no longer hangs when stdin is an open pipe that never sends anything.--modelmeans that model: a session started with--modelno longer falls back to thefallbackModelssetting. It falls back only to models you pass with the new--fallback-models, and--no-fallbackturns fallback off for any session. This also applies to interactive sessions started with--model; pass--fallback-modelsto keep a fallback chain (#4227)- No hang on a silent stdin:
atomic -p "<prompt>"starts without stdin when nothing arrives on a piped stdin within 2 seconds (ATOMIC_STDIN_TIMEOUT_MS), instead of waiting forever (#4233)
Long-running pools and sessions no longer grow memory without bound: local workers keep only the child they run, and finished shell commands no longer hold their output in memory.
- Bounded local worker memory: a local worker now keeps only the checkpoints and state of the child it runs instead of every child in the pool, and the new
workflows.localWorkers.maxWorkerRssBytesreplaces a worker that still grows past a limit between children (#4214) - Finished commands free their output: a finished shell command no longer keeps up to about 9 MB of its output in native memory until the process exits; spooled output still reads back from disk (#4218)
Long sessions no longer stall for tens of minutes in automatic compaction, and a crashed workflow root on local workers can resume after its settings or worker code changed.
- Compaction has a time limit: automatic compaction’s model planning now gives up after
compaction.planningTimeoutMs(five minutes by default) instead of blocking a turn for 15 to 45 minutes, and the turn continues in a fresh context window (#4199) - Resume after settings changes: a crashed root on local workers resumes after its pool size or admission limits changed, and a change that does block a resume is named with its old and new value (#4201)
- Resume after a code edit:
/workflow resume <id> --accept-entry-changesresumes a crashed root after a worker definition’s entry module was edited, and a resume under another execution mode than the launch now works (#4213)
Subagents launched on a named model stay on that model or fail clearly, and every report names the model a subagent actually ran on.
- A named model stays named: a subagent launched on a concrete model no longer moves to your chat model or to another family’s fallback when that model fails at the start, partway through or on a context overflow. It runs only on that model and its agent’s own fallbacks that its
modelConstraintsallow, and otherwise fails with an error naming the model and the reason (#4194) - Truthful model reports: a session that falls back tells the new model its own name and keeps the subagent’s prompt, role and tools, and a subagent’s result, completion notice, run status and task heartbeat name the model it ran on beside the one it asked for (#4194)
A quiet chat when workflows log or are quit in the terminal UI, and Claude sessions that survive a cross-provider fallback.
- Workflow console output stays out of the chat: in the terminal UI, console output from a workflow’s own code, including its abort listeners and the cancellations a quit causes, goes to a per-process workflow log instead of one chat line per message; the chat shows one line per run naming the log. Quitting a run with 120 pending logging steps used to print 120 lines into the chat; now it prints none (#4176)
- Claude keeps its signed thinking across a fallback: after a fallback from another provider, the thinking of the latest Claude turn is sent back exactly as Claude produced it, so the guard that protects it no longer loses track after a reasoning-only turn or a server-side fallback marker, and signed thinking is no longer altered by surrogate sanitizing (#4189)
Workflow journals that survive a stalled lock holder, and pooled roots that stay responsive with thousands of finished runs.
- A stalled journal lock holder no longer fails everyone: journal writes wait through up to 10 minutes of a write lock held by a stalled process instead of giving up after 30 s, and group commits release the lock every 100 ms; with 300 pooled children and a holder stopped for 45 s, the root and all 300 children now complete instead of all failing (#4186)
- Activity batches stay fast with many finished runs: applying a pooled root’s activity looks runs up by id instead of scanning the store, so with 5,000 finished runs a batch takes 11 ms instead of 101 to 145 ms (#4184)
Pooled roots that keep dispatching under load, children that survive a stalled worker, and Intercom sends that no longer report a delivered message as failed.
- Pooled roots no longer stall while children start: checkpoints queued back to back share one journal transaction, so a loop that launches dozens of children keeps to its timers; with 300 busy workers, all children ran in 13 s instead of up to 100 s (#4181)
- A stalled worker’s waiting admissions survive: a waiting stage, subagent or process admission fenced while its process stalled rejoins the queue instead of failing its child with
Resource admission holder was stopped, and an admission released for good is a retryable pool fault (#4180) - Unanswered sends are an unknown outcome: an Intercom send the broker never answered is reported as possibly delivered, not as
Failed to send, so it is not resent as a duplicate (#4178)
Local worker pools that hold up under faults and load, a lighter terminal under heavy workflow load, and workflows that can work in any repository’s worktree.
- One failing child no longer takes down a pool: a child that fails to dispatch fails alone, a worker or tool process group that survives SIGKILL is a warning rather than a failure, and pool faults replay the child within its three attempts, a replay blocked by those groups’ quarantined permits fails after a bounded wait instead of waiting forever, and a fenced attempt releases its session permits so its replay never waits on them (#4159, #4170, #4172)
- Local worker pools keep their leases: a slow journal or root no longer gets every healthy worker killed at once, and a race in lease recovery no longer fails every child of a pool with
stale_work_lease(#4165) - A lighter terminal under heavy load: a workflow run no longer keeps every completed stage’s session in memory until it ends, which cut peak heap from 2.8 GB to 0.87 GB in a 600-stage test and shortened GC pauses. Rebuilding the chat no longer flashes “Loading isolated renderer…”, and rows keep the state you left them in (#4166, #4167, #4169)
- Broadcasts reach pooled stages at once: stages on local workers get queued and sticky Intercom messages before their first turn, without a 60 s stall or a warning per stage (#4164)
- Content-filter refusals fall back: a provider content-filter refusal, such as OpenAI’s 422
cyber_policy, moves to the nextfallbackModelsentry instead of retrying the model that refused; turn it off withretry.fallbackOnContentFilter(#4163) - Workflow worktrees from anywhere:
git_worktree_dircan name a worktree of any repository, and a non-empty folder gets its own checkout inside it (#4162) - Gemini 4 Argon in model routing: automatic model routing now weighs Gemini 4 Argon’s published benchmark results (#4161)
Chats that keep working after a workflow wakes them, steadier subagent model choices, and copying that works inside Rex.
- Chats stay responsive after a workflow wakes them: a completion notice or stage message no longer leaves the chat’s own
bashand other commands waiting on that workflow’s resource admission, so they start at once even on a busy host (#4154) - Subagents keep the model you asked for: an unknown effort word such as
openai/gpt-5.5:extremenow runs the requested model at its default level instead of silently switching to the default model, and fails with a clear error if the model is unavailable (#4154) - Copying works inside Rex terminals: copies now reach the Rex client’s clipboard through OSC 52 instead of landing only on the server machine (#4156)
GitHub Copilot tokens that work from
/login, and intercom that recovers on Windows.- Copilot tokens saved through
/login: a GitHub Copilot personal access token saved with/login→ Use an API key now works for business and enterprise accounts, so you no longer needCOPILOT_GITHUB_TOKENto avoid421 Misdirected Request(#4151) - Intercom recovers on Windows: when the intercom broker dies, sessions start a new one right away instead of waiting out the start-up timeout and failing with
Broker failed to start within timeout(#4152)
Task heartbeats, stage chats that work on local workers, and a local worker pool that holds up under load.
- Task heartbeats: a background shell or subagent that keeps running now reports to its chat every 15 minutes, so the model catches stuck or runaway tasks without you stepping in. Change the cadence per call with
heartbeatMsor for every task with thetasks.heartbeatMssetting, and see each task’s cadence in/tasks(#4141) - Stage chats on local workers: a stage whose session has not started reads as queued instead of running, and opens once it has. Its chat completes
/skill:commands, runs/compactand!commands, and/taskslists, opens and stops the stage’s agents and shells, as in an in-process stage chat (#4137, #4139, #4140) - A local worker pool that holds up under load: reloading workflows or starting other runs no longer fails a running root’s children with
Stale lease for run <id>, a busy machine no longer fails stages on delivery or lease errors,/workflow pausepauses a root’s stages even while its own steps run, and an overloaded machine starts stages one at a time, tunable withworkflows.localWorkers.maxLoadPerCpu(#4138, #4145, #4146) - Resuming pooled runs: a root that runs children on local workers resumes from a new process, including one paused or failed by 0.9.57, and runs again the children that failed on a pool fault instead of replaying the failure (#4146)
- Stopped tasks finish: a shell stopped with
kill, from/tasksor with Esc no longer stays “stopping” in the Tasks indicator forever; it ends as failed with the resource that could not be cleaned up (#4142) - Subagents that start and run as asked: a subagent launched with an effort such as
model: "openai/gpt-5.5:xhigh", or from a chat turn that a workflow started, no longer staysrunningwith no session, and one whose session still does not start within 5 minutes fails with the cause. An effort applies exactly where the model supports it, including on a fallback that starts in place of the requested model, andstatuslists only the children your session launched (#4148, #4150) - Quieter PDF fetches: pdf.js font warnings such as
Warning: TT: undefined function: 32no longer print over the terminal UI when a PDF is fetched (#4136)
See the 0.9.57 release notes on GitHub for what changed.
The newest fixes from upstream pi: tool search, WSL, updates and MCP.
- Tool search that finds the tool:
tool_searchand codemodesearchTools()rank a tool’s own name above mentions in other tools’ descriptions, prefer tools matching more of the query, and work for Chinese, Japanese, Thai and other non-ASCII queries (#4131) - WSL and the external editor: image paste, copy, and opening the browser for sign-in work from deep WSL directories, and the external editor reports why it failed instead of failing silently (#4131)
- Updates:
atomic updatecan run your own update command (ATOMIC_SELF_UPDATE_COMMANDorselfUpdateCommand) and names a package manager only when it owns the install;atomic mcp login -landlogout -lwork (#4131) - Extensions: renderers can show the user’s own keybindings with
keyText()andkeyHint()(#4131) - Intercom: a workflow stage replaced while it waited for its workflow’s owner no longer registers a stray session (#4129)
See the 0.9.55 release notes on GitHub for what changed.
Fixes from upstream pi after 1.4.0: packages, Windows paths and start-up.
- Packages that update:
-enpm and git packages refresh when a newer version exists,updatewarns when npm leaves the old version in place, and installs through a symlinked agent directory write correct lockfile paths - Windows paths and trust: paths are compared case-insensitively on Windows, so project trust and settings match however a drive or folder is cased, and a saved “Do not trust” is honored for projects with nothing to trust
- Start-up and output: a deleted working directory gets a clear message instead of a crash, the model scope shows in the fullscreen header instead of staying in the shell, and
pi.execcaps a command’s output instead of buffering it without limit - Models: OpenRouter’s
~anthropic/claude-*-latestaliases use Anthropic Messages, Zhipu usage-limit errors aren’t retried, and SDK branch and session summaries use the stored OAuth login
Task pages show their own status lines, and a dependency security fix.
- A task’s own status lines: a subagent task’s fullscreen detail and transcript pages show the extension statuses its session writes, live, and clear them when it ends (#4103)
- Security update: the bundled
@hono/node-servermoves to 2.1.5, which fixes a middleware bypass on static paths (GHSA-rmxm-3fg6-px4f)
Windows sessions resume as printed, and stay open.
- Resume commands that work in cmd.exe: the command Atomic prints on exit quotes paths for Windows shells, so pasting it into
cmd.exeor PowerShell resumes the session instead of failing to open the session store (#4095) - No exits from stray signals: a Ctrl+C signal that another process sends to the console no longer clears the editor or ends an idle session; it can still interrupt work that is running (#4096)
RPC clients can answer questions.
- Questionnaires over RPC: RPC clients that opt in receive each
ask_user_questioncall as one request carrying all its questions and reply with the answers, so headless and embedded integrations can handle interactive prompts; clients that don’t opt in see no change (#4089)
Two fixes for model errors and MCP tool names.
- LiteLLM context overflows recover: LiteLLM’s pre-call
ContextWindowExceededErroris now recognized as a context overflow, so the session compacts and retries instead of failing the turn. - MCP tools found by any spelling: tool search and codemode
describeTool()resolve an MCP tool from its dottedmcp.<server>.<tool>form, from its server name as written, or from the bare<server>__<tool>or tool name, including tool names with.or/. An ambiguous name lists its matches instead of guessing.
Stages on local workers can now be watched, steered, paused and answered live; large pooled workflows stay responsive and recover cleanly from rate limits, worker crashes and resumes; and GPT-6.1 Terra is available.
- Live chat for pooled stages: opening a running stage on a local worker shows its live transcript. Enter steers, Ctrl+F queues a follow-up,
/workflow pause <run> <stage>pauses just that stage, andctx.uiandask_user_questionprompts are answered from the stage chat. When a worker dies, the chat reconnects to its replacement, a pending prompt is asked again, and every pending message is delivered exactly once. - Responsive at scale: a 150-worker fan-out no longer stalls the root while children start or finish, even with the graph and a stage chat open. One child that keeps losing its worker now fails alone instead of taking its siblings with it.
- Rate limits handled the way providers ask:
Retry-Afteris honored on every provider path, including Google and Bedrock. A quota-exhausted model moves straight to the next fallback, a chain where every model is throttled waits for the earliest cooldown, and a limit one local worker meets now holds back the other workers and the root too. - Failures classified by what happened: a child workflow’s failure no longer depends on its name, and SDK callers get the classification in
RunResult.failure. - Pools that survive crashes and resumes: resuming a quit root no longer fails in-flight children, journal writers are served in order instead of timing out, and workflow runs survive a deleted
jiticache. - New models: GPT-6.1 Terra on OpenAI, Azure and Codex, with a Fast tier on the OpenAI API, and correct reasoning-effort levels for GPT-6 models on Bedrock.
- Hardening from upstream pi: OAuth logins accept only trusted URLs, terminal titles and the login dialog strip control characters, and the CLI auth file is written with mode 0600.
Custom storage adapters now plug into workflow journals as first-class citizens, and large local worker pools start reliably on busy machines.
- Journal adapters that build on Atomic’s own journal: a storage adapter loaded by path can import
@bastani/atomic/workflowsand get the running Atomic’s module, soSqlRunJournalsubclasses and journal errors such asStaleLeaseErrorwork instead of failing withStorage unavailable(#3963, #3969) - Fast status, resume and receipts for custom journals: a run journal that implements the optional
changeToken(),runVersions(),snapshotTail()andappendMany()members gets the same faster/workflow status, resume and batched delivery receipts as the built-in SQL journal (#3964, #3968) - Worker pools that start on small or busy machines: without an explicit
workflows.localWorkers.startupTimeoutMs, the startup deadline scales with pool size and machine load instead of failing after 30 s (#3962, #3965)
Large agent swarms and pooled workflow fan-outs now run for hours without freezing the TUI, dropping messages or slowing down, and recover cleanly from a crash.
- A TUI that stays responsive under heavy fan-out: local worker pools run in their own coordinator process, journals no longer grow on every heartbeat, and the root’s main thread stays idle while hundreds of pooled children run (#3905)
- Intercom that keeps working at scale: pooled stages wait for their run’s route instead of failing with
Live workflow-stage route has no registered workflow owner, runs share one broker connection, a refused route no longer drops the others, and route announcements are batched and bounded (#3907, #3915, #3939, #3951) - Messages that arrive once, on time and without interrupting: Intercom
sendandaskdefault to"steer"(withfollowUpandinterruptavailable), replies reach the right sender, a message that reaches a stage before its prompt becomes context for its first turn, and queued messages survive pauses, worker replacement and reconnects (#3921, #3923, #3924, #3927, #3958, #3959) - Journals and costs that stay flat over a long run: journal writes are group-committed and batched, each delivery receipt is written once, pending-message changes are stored as deltas, and pool commits, delivery transitions and receipt bookkeeping cost what changed rather than the run’s history (#3922, #3930, #3937, #3940, #3942–#3948, #3952)
- Fast, reliable recovery:
/workflow statusand resume load large journals in seconds, resume no longer rebuilds every child’s history, and resumed pooled children no longer fail with checkpoint identity conflicts or spuriousStorage unavailableerrors; a stage never waits forever to start (#3950, #3954, #3955, #3958) - Peer-to-peer swarms by default: subagents and workflow stages talk to each other directly, subagent
parallel.*limits and workflowdefaultConcurrencydefault to 1000, and workflowmaxDepthnow defaults to 3; set them lower to throttle (#3912) - Completion notices you can rely on: background subagent and shell completions reach the parent after a restart, after a paused stage resumes, and when the parent is idle with a session saved to a file (#3909, #3926, #3953)
- Upstream sync, tools and security: streamed tool-call arguments are parsed once per delta, Cua Driver 0.38.0 approves its own macOS permission prompts (
ATOMIC_CUA_AUTO_APPROVE=0to keep asking), herdr 0.9.5 and agent-browser 0.39.2 are bundled, andundici,zod,fast-uri,body-parserandtokioclose their published advisories (#3910, #3911, #3935)
appendGrammarToolInputJsonDelta() in @bastani/pi-ai now takes only the new input delta and no longer closes the input; call closeGrammarToolInputJson() when the input is complete (#3910)Local workflow worker pools now survive slow, busy, and crashed workers, and large workflow journals open without running out of memory.
- Pools that recover instead of failing: a worker that dies mid-run is replaced and its child replays from the last checkpoint instead of crashing the root with
EPIPE, a resumed root releases children leased to workers that died with the host, unconfirmed worker exits are retried rather than failing every waiting child, and a replayed child no longer leaves anIntercom event relay failederror in the session (#3891, #3893, #3895) - Leases that follow worker liveness: a busy root no longer fences healthy workers with
Stale work lease, and the newworkflows.localWorkers.leaseMssetting controls how long an unresponsive worker keeps its child (30000 ms by default) (#3894) - Retry decisions you can make in code:
WorkflowInfrastructureErrorandisRetryableWorkflowErrortell retryable pool and runtime faults apart from failures of a child’s own logic (#3895) - Faster startup on long journals: workers become ready without reading the whole journal, the readiness timeout is configurable with
workflows.localWorkers.startupTimeoutMs, and sessions,/workflow status, and the/workflow resumepicker read each run’s latest state instead of every event, so large journals no longer exhaust the heap (#3891, #3896) - Easier worker diagnosis: each worker’s standard error is kept under
worker-logs/next to the journal, and startup and retry-limit errors name the log file and show the end of its output (#3891)
Sessions, workflow runs, and Intercom can now share one libSQL / Turso database across machines, and provider rate limits are respected across every request in a process.
- Shared storage across machines: install
@bastani/atomic-storage-libsql, join a machine withatomic storage join <url> --token-file <path>, and check the result withatomic storage status. Atomic packages can ship their own storage adapters, andcreateSqliteDatabase()applies the facade rules when you write one (#3856, #3857) - Intercom you can inspect and restart:
atomic intercom statusandatomic intercom restartshow and refresh the broker’s storage selection and multi-node routing, and a broker that stops answering is replaced after about a minute instead of hanging every session (#3857, #3862) - Rate limits handled across requests:
configureProviderRequestBudget()sets process-wide request budgets, 429 cooldowns are shared between model requests, and workflow model chains wait for the earliest eligible account instead of exhausting it (#3864) - Admission limits and local workflow pools: SDK hosts can share session and command limits with
resourceAdmission, and workflows can run child subtrees in local worker processes (#3869) - More responsive sessions and workflows: Ctrl+C and queue clearing act without waiting for a busy engine, workflow stages reload resources four at a time, and standalone
run()gives stages Intercom without an interactive host (#3861, #3863, #3865) - Login, export, and search fixes: device-code
/loginwaits for Enter before opening the browser, HTML exports show billed costs and the session’s own system prompt, and/resumesearch ranks name matches first (pi #9282, pi #9980, pi #11261, pi #11220) - Security updates: the standalone binaries embed Bun 1.4.4 with its upstream security fixes, and the bundled
ip-addressdependency no longer stalls on a long crafted IPv6 string (GHSA-rxp7-6hxx-x8q5)
Workflows stay contained when they fail, classifiers read images, and usage totals say where their cost came from.
- Workflow failures stay inside their run: an unhandled
ctxrejection, a strayctx.exit(), or a branch that outlives a kill or quit now fails or ends only its own run instead of the whole Atomic process (#3846, #3849) - Image input for more classifiers:
models.classify()acceptsimagesfor Jev and Clef on Cloudflare Workers AI and OpenRouter, with corrected Workers AI pricing (#3847) - Provider-billed cost flag:
usage.cost.totalFromProvidertells you whether a usage total is the provider’s billed cost or a catalog estimate (#3852) - Steady sessions and installs: SDK and RPC
steer()/followUp()start a turn on an idle session, extension OAuth providers can report rejected logins, and the installers skip downloading a release that is already installed (#3801, #3851) - Terminal and rendering fixes: Rex terminal support, terminal modes restored on unexpected exit, Markdown tables after unclosed
$$blocks, CJK emphasis, and@autocomplete with regex characters (#3847)
steer() and followUp() and the RPC steer and follow_up commands now start a turn when the agent is idle and the session already has messages.See the 0.9.40 release notes on GitHub for what changed.
See the 0.9.39 release notes on GitHub for what changed.
See the 0.9.38 release notes on GitHub for what changed.
See the 0.9.36 release notes on GitHub for what changed.
See the 0.9.35 release notes on GitHub for what changed.
See the 0.9.34 release notes on GitHub for what changed.
See the 0.9.33 release notes on GitHub for what changed.
See the 0.9.32 release notes on GitHub for what changed.
See the 0.9.31 release notes on GitHub for what changed.
See the 0.9.30 release notes on GitHub for what changed.
See the 0.9.29 release notes on GitHub for what changed.
See the 0.9.28 release notes on GitHub for what changed.
See the 0.9.27 release notes on GitHub for what changed.
See the 0.9.26 release notes on GitHub for what changed.
See the 0.9.25 release notes on GitHub for what changed.
See the 0.9.24 release notes on GitHub for what changed.
See the 0.9.23 release notes on GitHub for what changed.
See the 0.9.22 release notes on GitHub for what changed.
See the 0.9.21 release notes on GitHub for what changed.
See the 0.9.20 release notes on GitHub for what changed.
Cumulative release of the
0.9.19-alpha.1 through 0.9.19-alpha.12 prereleases. Per-change details remain in the unchanged prerelease sections below.Cumulative release of the
0.9.18-alpha.1 through 0.9.18-alpha.7 prereleases. Per-change details remain in the unchanged prerelease sections below.Cumulative release of the
0.9.17-alpha.1 prerelease. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease section below.Cumulative release of the
0.9.16-alpha.1 – 0.9.16-alpha.11 prereleases. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease sections below.Cumulative release of the
0.9.15-alpha.1 prerelease. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease section below.Cumulative release of the
0.9.14-alpha.1 – 0.9.14-alpha.5 prereleases. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease sections below.Cumulative release of the
0.9.13-alpha.1 – 0.9.13-alpha.4 prereleases. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease sections below.Cumulative release of the
0.9.12-alpha.1 prerelease. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease section below.Cumulative release of the
0.9.11-alpha.1 – 0.9.11-alpha.12 prereleases. The summary below covers the user-visible outcome of that work; the per-change detail remains in the prerelease sections below.See the 0.9.10 release notes on GitHub for what changed.
See the 0.9.9 release notes on GitHub for what changed.
See the 0.9.8 release notes on GitHub for what changed.
See the 0.9.7 release notes on GitHub for what changed.
See the 0.9.6 release notes on GitHub for what changed.
See the 0.9.5 release notes on GitHub for what changed.
See the 0.9.4 release notes on GitHub for what changed.
See the 0.9.3 release notes on GitHub for what changed.
See the 0.9.2 release notes on GitHub for what changed.
See the 0.9.1 release notes on GitHub for what changed.
See the 0.9.0 release notes on GitHub for what changed.
See the 0.8.30 release notes on GitHub for what changed.
See the 0.8.29 release notes on GitHub for what changed.
See the 0.8.28 release notes on GitHub for what changed.
See the 0.8.27 release notes on GitHub for what changed.
See the 0.8.26 release notes on GitHub for what changed.
See the 0.8.25 release notes on GitHub for what changed.
See the 0.8.24 release notes on GitHub for what changed.
See the 0.8.23 release notes on GitHub for what changed.
See the 0.8.22 release notes on GitHub for what changed.
See the 0.8.21 release notes on GitHub for what changed.
See the 0.8.20 release notes on GitHub for what changed.
See the 0.8.19 release notes on GitHub for what changed.
See the 0.8.18 release notes on GitHub for what changed.
See the 0.8.17 release notes on GitHub for what changed.
See the 0.8.16 release notes on GitHub for what changed.
See the 0.8.15 release notes on GitHub for what changed.
See the 0.8.14 release notes on GitHub for what changed.
See the 0.8.13 release notes on GitHub for what changed.
See the 0.8.12 release notes on GitHub for what changed.
See the 0.8.11 release notes on GitHub for what changed.
See the 0.8.10 release notes on GitHub for what changed.
See the 0.8.9 release notes on GitHub for what changed.
See the 0.8.8 release notes on GitHub for what changed.
See the 0.8.7 release notes on GitHub for what changed.
See the 0.8.6 release notes on GitHub for what changed.
See the 0.8.5 release notes on GitHub for what changed.
See the 0.8.4 release notes on GitHub for what changed.
See the 0.8.3 release notes on GitHub for what changed.
See the 0.8.2 release notes on GitHub for what changed.
See the 0.8.1 release notes on GitHub for what changed.
See the 0.8.0 release notes on GitHub for what changed.