Repository navigation
0.10.4
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)
Installs and updates
- 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)
Interface and docs
- 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, sessions and Intercom
- 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)
Shutdowns, files and security
- 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)
Breaking change: Import TypeBox from @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.
Full changelog
Breaking Changes
- Atomic now uses its own copy of TypeBox instead of the
typeboxpackage. Code that imports thetypeboxpackage itself and shared Atomic's installed copy before, such as an SDK app installed with Bun or with pnpm hoisting (with npm it already did not share it), or a package an extension depends on that importstypeboxitself, no longer shares it: schemas built with it still validate, but formats, settings or a locale registered through it no longer reach Atomic's tool validation. To share Atomic's copy, import TypeBox from@bastani/atomic/typebox(and@bastani/atomic/typebox/value,/compile,/format,/systemand TypeBox's other subpaths) instead oftypebox. An extension's owntypeboximports resolve to Atomic's copy. - Under Bun, Atomic now loads an extension's modules through its extension loader on the first load too, as it always did under Node and on every reload, instead of letting Bun import them natively. An extension's imports of
typebox, Atomic's packages and their legacy names then reach Atomic's own copies from its first load, and the extension's own modules are evaluated once per load. The first start after an extension changes compiles it; later starts read the compiled modules from the transpile cache. A module that declares its own top-levelglobalThiscannot be loaded this way, as under Node before. - Atomic needs its optional dependencies: an install that omits them (
npm install --omit=optional,pnpm install --no-optional,bun install --omit=optional) leaves out the package with the native module for your platform, and Atomic then stops at startup with one message that names that package and how to reinstall Atomic with optional dependencies. Global npm installs are unaffected: npm installs the platform package of a globally installed package even with--omit=optional. - An app or extension that imports a package
@bastani/atomicno longer depends on, such as the MCP SDK, zod or linkedom, must list that package in its ownpackage.json: installing Atomic no longer installs it (#6216). - Removed
blockRangeAt(BlockRange,BlockRangeOptions) and its bundledtree-sitterlanguage grammars, which have had no caller since 0.9.72 replaced hashline editing with exact-text editing (#6381).
Added
@bastani/atomic/typeboxand its subpaths (/compile,/error,/format,/guard,/schema,/system,/type,/value) export the copy of TypeBox Atomic uses, for SDK apps that register formats or settings for their tool schemas.resolveHttpsFallbackProxyUrl()returns the http proxy anhttps://request takes when no https proxy is set, as Atomic's HTTP dispatcher on Node.js takes it (http_proxy, elseHTTP_PROXY), for runtimes whose own HTTP client sends such a request direct, such as Bun. It is undefined whenNO_PROXYexempts the host or an https proxy or anhttp:///https://ALL_PROXYis set (#6233)@bastani/atomic-ai/utils/typebox/indexand the modules beside it (/compile,/error,/format,/guard,/schema,/system,/type,/value) export TypeBox 1.3.27, bundled in this package. Atomic and the extensions it loads use this one copy; the package's own TypeBox imports,Typeincluded, load it too.- A built-in API provider carries, under the exported
API_PROVIDER_PREWARMsymbol, a function that loads its code, so a host can load the selected model's provider before the first request. The property is not enumerable, and a provider that fails to load still reports the failure on the request (#6334). intercom({ action: "cancel", replyTo })closes an ask sent to you that you will not answer: it leavespendingand stays closed after restarts, and nothing is sent to its sender (#6168).signalIgnored(signal): whether this process ignores a signal, as a process started undernohupignoresSIGHUP;nullon Windows (#6178).watchSessionEnd(onEnd): on Windows, a hidden top-level window that hears the end of the user's session (sign-out, restart or shutdown), callsonEndwith how many milliseconds ago Windows said so, and keeps Windows waiting while the process shuts down: untilonEndreturns false, the process exits, or 4.5 seconds have passed. Elsewhere it does nothing (#6187).startHostProcesstakesendWithParent: the process getsSIGKILLwhen the process that started it ends, however it ends; not the processes it starts.terminateProcessCreatedAt(pid, created, descendants): on Windows, ends the running processpidonly if it was created atcreated, asprocessCreationTimereads it, and withdescendantswhat it started, each through a handle checked before anything is ended;nullwhenpidnames no such process, and off Windows. It takes a process as onepidstarted only while the parent id its own handle reports is its parent's and the kernel's order of process starts puts it after that parent, never by the system clock; on a Windows that does not report that order (before Windows 10), onlypiditself ends (#6288).holdProcessDescendants(pid): on Windows, holds a running child process and the processes it started, and those they started, each through a handle of its own, taken only while it is still its parent's child and started after it (by the kernel's order of process starts, not by a clock), so a process given one of their ids is never held.endAll()ends the child and then them, only if it ended the child, so what a child that exited by itself left keeps running;release()lets go of them.nullonce the child has exited and elsewhere.nativeVersion(): the Atomic release the native module was built for (0.0.0from a source checkout) (#6319).TuiAltScreen.onViewportChange(listener)calls the listener after each input, late single click and painted frame, so a caller can wait forisPointerIdle()without polling (#6183)Editor.setAutocompleteProvider(provider, { preserveSelection: true, refreshMenu: true })shows the new provider's rows in an open menu in which nothing was chosen, whether it lists commands, arguments or files (#6183, #6213)EditorComponent.setAutocompleteProvidertakes the same optional second argument, so an editor built onEditorkeeps its menu when its host replaces the provider (#6213)slashCommandHint(text, route)andcommandHintAction(command, route)take an optional route: a click on the hint hands the command to thesetHintCommandHandlerhandler with that route as its second argument, so the handler can run it where the hint was drawn. A renderer from an earlier version draws a routed hint as text (#6307).Editor.setTextAsTyped(text)puts text in the prompt assetTextdoes and starts the completion lookup that typing its last character would start: at once, or when the editor gets a provider if the prompt still holds that text and cursor (#6297)ProcessTerminal.isWritingOwnOutput()tells whether a process terminal is writing its own output to standard output right now (a frame, a query, a mode it sets), so a wrapper ofprocess.stdout.writecan tell that output apart from what other code writes (#6344)
Changed
- Ctrl+C on an empty prompt while viewing a subagent pauses its work, as Esc does, and keeps the subagent shown instead of switching to
main. ← (app.nav.back) on the empty prompt returns tomain. Ctrl+C there still never counts toward exiting Atomic. - Starting Atomic on Windows no longer runs PowerShell to look for session history that a killed Atomic process left behind when there is none, which is always the case unless a session uses the memory session store (
--no-session,ATOMIC_STORAGE=memoryor{ "memory": true }). Each start ran it once, or twice with the default isolated engine, for 0.25–0.5 s and up to 0.45 s of CPU each, and the first frame now appears about 50 ms sooner on an 8-core machine. When there is history to check, process start times are read without PowerShell. macOS skips the matchingsysctllookup too. - Atomic starts faster from an npm or Bun install: the package now loads its own code from about 160 files instead of about 1,050. On Windows the prompt takes input about 0.9 s sooner with Node 22 (3.0 s to 2.1 s), about 1.1 s sooner with Bun (2.1 s to 1.1 s), and about 11 s sooner on the first start after a reboot with antivirus scanning every file (39.5 s to 28.8 s); on Linux about 0.2 s sooner. The SDK's export paths and the classes extensions share with Atomic are unchanged, also for a session still running when the install is updated in place. The standalone binary is unchanged.
- Starting Atomic runs fewer processes before you can type: the check that fd, rg and git are ready (
fd,fdfind,rgandgit --version) now starts once the editor takes input, or before a prompt given on the command line runs, and the notice of tools a resumed session was using that are not available no longer runsgit --version./toolsstill reports which git Atomic uses. - The npm package leaves out the type declarations of Atomic's internal modules that none of its exported entry points (
@bastani/atomic,@bastani/atomic/storage,@bastani/atomic/storage/testingand@bastani/atomic/rpc-entry) reach, about 600.d.tsfiles and their maps, so installing writes fewer files. Every type you can import from those entry points is unchanged. UndermoduleResolution: "node10", a type import of an internal file by its path inside the package, such as@bastani/atomic/dist/core/chat-receipts, no longer finds its types;node16,nodenextandbundlernever allowed those imports. - Atomic starts faster, most of all on Windows: the packages it ships for models, the terminal UI, the agent loop, schemas and telemetry (
@bastani/atomic-ai,-tui,-agent-core,-schema,-telemetry) now load from a few files each instead of one file per module, so a start reads about 290 fewer files. Their import paths, deep paths included, are unchanged. A bundler (esbuild, Vite, webpack, rolldown) that bundles@bastani/atomic-ai,-agent-core,-schemaor-telemetryinto an app still gets one file per module and leaves out what the app does not use. One that bundles@bastani/atomic-tuigets its modules in the shared files and can no longer leave the unused ones out: importing onlyvisibleWidthgrows from about 198 KB to 345 KB minified. - Interactive sessions reach the editor sooner: the thread that opens the session database starts while Atomic loads instead of after it, the native clipboard module loads the first time you copy or paste instead of at every start, and the
models.jsonchecker is built only when amodels.jsonexists. With--no-mcp, the interactive window no longer loads the subagent and web tools that only its engine runs. - A global npm install of Atomic writes about 21,100 files instead of 28,000, so installing and upgrading finish sooner, most of all on Windows, where antivirus software scans each new file.
@bastani/atomicno longer depends on packages that none of its files load, such as the MCP SDK, zod and linkedom, whose code the builtin extensions already include. Atomic's packages no longer include declaration maps (.d.ts.map), which pointed at TypeScript sources the packages do not include. Each builtin extension that includes third-party code lists those packages' licence and notice texts in itsTHIRD_PARTY_NOTICES.txt. - Installing Atomic downloads and writes much less:
@bastani/atomic-nativesno longer carries the native binary of every platform, and@bastani/atomicno longer publishes annpm-shrinkwrap.json, so npm, pnpm and Bun install only the native module package for your platform. With 0.10.3, npm 11.6.2 and later installed the native module package and the clipboard module package of every platform because they do not check the platform of packages listed in a shrinkwrap. A global install now writes about 17,660 files and 224 MiB on Linux and about 17,690 files and 211 MiB on Windows, instead of 28,000 files and 588 MiB on Linux with npm 11.19 (454 MB with npm 10). One exception: on Linux,npm cifrom a project lockfile written by npm 11.10 or older (npm 10 included) installs both the glibc and the musl package, about 5 MiB more, because those lockfiles do not record which C library each package needs; Atomic loads the one that matches. An npm install no longer gets a pinned dependency tree: npm resolves Atomic's dependencies when you install, as pnpm and Bun already did, so it can get newer releases of packages Atomic depends on indirectly. Atomic's packages pin their own dependencies to exact versions, and the release archive carries the dependency tree each release was tested with (#6265, #6345, #6381). - On Windows, the first start after a restart or an install reaches the editor much sooner: while Atomic loads, a short-lived helper reads the files it is about to load many at a time, so the antivirus scans them in parallel instead of one after another as Node opens them. It only reads, and it ends when Atomic does.
- Atomic starts faster again: the package's own dependencies for YAML, Markdown and HTML conversion, diffs, version ranges, glob patterns, JSON streaming and starting commands load from its shared files instead of about 260 files of their own. Their licenses are in
dist/THIRD_PARTY_NOTICES.md. - Subagent sessions are kept in the session storage you use: a subagent's own session is created in the store of the session that launched it, the SQLite store by default or the libSQL or PostgreSQL database you selected, instead of as a JSONL file under
~/.atomic/agent/subagent-sessions/. Subagents of a session in a shared database resume, wake and export on another machine as their parent does, and record worktree snapshots of their own, sharing the capture work with the parent's and each other's captures of the same checkout; their snapshot refs in your repository are deleted with the session that launched them. A fresh subagent's session is internal, left out of/resume,atomic -r,-candhistory://sessions, and a subagent's result names a session kept in a store ashistory://sessions/<id>. A parent kept in JSONL files, or a launch withsessionDir, still keeps the subagents' sessions as files, and a parent that saves nothing (--no-session) keeps them in memory with it. Subagent sessions saved by earlier releases stay readable and restorable. SDK:NewSessionOptions.internalcreates an internal session. - A
pi.execcommand that Atomic ends because of itstimeout, an abortsignalormaxBuffernow ends with the processes it started, as the bash tool's commands do: a background process such assleep 1000 &no longer keeps running. On Linux and macOS they get SIGTERM with the command and SIGKILL 5 seconds later; a program that started a session of its own keeps running. On Windows they end at once, also when you quit, except one whose parent already ended; what a command that finished left running keeps running, as before - An interactive session shows its editor and takes typing as soon as Atomic starts, before the rest of the session has loaded, so you can start typing at once, also on a slow first start. The header, the footer and the chat appear on the same screen when the session is ready, with what you typed, its cursor and any paste kept. Keys that do more than edit the prompt, such as Enter, a command or Esc, wait and then act in the order you pressed them, exactly once; Ctrl+C clears the prompt or, pressed twice on an empty one, exits, and Ctrl+D on an empty prompt exits. Startup is as before when something must come first: a question about the folder's trust, the first-run setup, an argument such as
--resume, or settings that change how the editor looks. - Atomic starts faster again: TypeBox loads from one file instead of about 670.
- A turn that changes files no longer waits while Atomic checks and bundles the same unpushed commits again after the checkout's last worktree snapshot left them out, because their bundle was over
snapshots.maxSnapshotBytesor one of them adds a deny-listed file such as a.envor a private key. For a long history that no remote has, such as a repository without a remote, every such turn took seconds, about 15 s on Windows and 5 to 8 s on Linux for 12,000 commits, and so did each subagent's first turn that changes files in the same checkout. Atomic checks the commits again once the unpushed commits change, and bundles them again once in each Atomic process, after the repository's packs change (such as bygit gcorgit repack), when you raisesnapshots.maxSnapshotBytesabove their bundle, or when the bundle was less than a tenth over it. - While Atomic loads at start, the editor it shows echoes what you type as you type it, instead of all at once when loading has finished: the rest of Atomic loads in steps with room to answer keys between them, each module once and in the order Atomic's build saw.
- A worktree snapshot capture no longer runs Git to list the files staged in your index despite an ignore rule while the index and
HEADare as they were at an earlier capture in the same Atomic process, so each turn that changes files starts one Git process fewer. Where Git does not trust file modes, as on Windows by default, a capture that records a change also no longer asks Git whether the previous snapshot's tree exists once it has read that tree. On Windows each Git process takes about 30 ms to start. - An npm or Bun install of Atomic writes about 2,090 fewer files of its own: the package no longer includes the separate compiled copies of the code it bundles (about 3,880 files and 71 MB unpacked with them, 1,790 files and 43 MB now).
- Atomic's own modules are bundled into shared files under
dist/, and most of them no longer have a file of their own there. Code that loaded one of Atomic's internal files by its path inside the package, such asdist/core/extensions/host-input.js, which the package'sexportsalready did not allow, must import one of its exported entry points instead:@bastani/atomic,@bastani/atomic/storage,@bastani/atomic/storage/testing,@bastani/atomic/rpc-entryor@bastani/atomic/typebox(#6198, #6218). - Installing Atomic writes about 1,600 fewer files and 9 MB less: Atomic's converter for PDF, Office and EPUB files (
markit-ai) is now part of Atomic's own files, so an install no longer adds that package and the packages only it depends on. The converter now uses MuPDF 1.28.6 and mammoth 1.13, which read more of some PDF and Word documents, as a Bun install already did. A session that was running while Atomic was updated in place from an earlier version fails its first PDF, Office or EPUB read after the update until you restart it. - A turn that runs a file-writing tool waits less for its worktree snapshot, most of all on Windows, where each Git process takes 25 to 45 ms to start: a capture lists the checkout's files with one
git statusinstead of three Git commands (a checkout with submodules still asksgit diff-filesabout them, as before), and no longer readsHEAD's tree again whileHEADstays the same. In a checkout of about 7,800 files on Windows, a turn that changed nothing waits about 115 ms instead of 280 ms (175 ms instead of 300 ms when the checkout has uncommitted changes), and one that changed files about 370 ms instead of 490 ms. Snapshots record exactly what they recorded before (#6305). - Interactive starts reach the first prompt sooner: the bundled extensions load once, instead of loading, being dropped and loading again when startup completes. With
--no-mcp, the subagent and web access extensions no longer load twice, and with--no-extensions --no-mcpthey no longer load at all. A change of settings or of the folder's trust while Atomic starts still reloads every extension, as before (#6325). - An interactive session in a trusted folder takes your first prompt sooner: Atomic now starts loading the engine that runs the session while the window is still loading its own part, instead of after it. A prompt typed at launch starts its turn about 0.37 s sooner on Windows (3.0 s to 2.6 s on a warm start) and about 0.18 s sooner on Linux (1.25 s to 1.07 s). A start with
--nameloads them one after the other, as before (#6306). - A release of Atomic no longer opens a session, in the CLI or through the SDK (
NativeModuleUnavailableError), with a native module (@bastani/atomic-natives) of another release, which a broken installation leaves or an update swaps under a running process; it went on and could fail later in unrelated places. When an update replaced the installation since the process started, the message says to restart it (atomic was updated to <version> while this process was running; restart it.), also when the native module cannot load at all; otherwise it names both releases and says how to reinstall Atomic. A process that refused its native module keeps refusing it until it restarts; once this release's native module is reinstalled while it runs, the message says so and to restart it (atomic's native module was reinstalled while this process was running; restart it.). The native module is checked against the release of@bastani/atomic-nativesthe package depends on, so a package that republishes Atomic under its own name and version runs with Atomic's native module. A source checkout, an app whose own package does not depend on an exact release of the native module (as when it bundles the SDK), a native module given withNAPI_RS_NATIVE_LIBRARY_PATHand the standalone binary are not checked (#6319, #6365). - Opening the session database waits less on a busy machine. Opening an existing database now waits on the database connection's thread 3 times instead of 39, and setting up a new one 29 times instead of 95 (cutting new-database setup on a loaded 8-core Windows machine from 10 to 20 s down to 1 to 7 s). The file's SQLite settings now go in one request instead of three while its file identity and lock record are prepared in parallel, cutting file open time on a loaded 8-core Windows machine from about 0.9 to 1.1 s down to about 0.6 s for both Atomic and its engine (#6304, #6323).
- Saving to the session database waits less on a busy machine: creating a session waits for the database connection's thread 4 times instead of 5, and saving a message waits 4 times instead of 6 or 7 (and in the default session store, no longer first asks the database whether it already holds the session, while still converting older JSONL sessions on their first save). Taking the database's write lock also waits for the file system once instead of twice (#6311, #6388).
- On Node 22, Atomic's window and the engine that runs its session share one compile cache instead of writing two, and on Windows one helper process prepares that cache instead of two (#6320).
- Subagents that finish file-writing turns in one checkout while a snapshot of it is being taken now share the next snapshot, which starts when that one ends, instead of each starting a snapshot beside it. Snapshots of one checkout taken side by side slowed each other down, on Windows several times over: eight subagents in a checkout of about 7,600 files that finished their writes within a few seconds of each other waited 2 to 3 times as long for their snapshots as for a single one, and now wait about as long as for one. A turn that ends while a snapshot runs can wait up to about one more snapshot, which on a fast disk is a fraction of a second, and a snapshot that runs far longer than snapshots take no longer holds the next one (#6317).
- The first prompt reaches the model sooner: Atomic loads the selected model's provider code in the background before the first request instead of when you send it, loads syntax highlighting for less common languages once startup has finished, reads
CHANGELOG.mdonly when a What's New banner can show (alongside startup after an upgrade), and asks the terminal for its colours once instead of twice (#6334). - A worktree snapshot capture no longer reads all of your Git index on each turn to learn whether the files staged despite an ignore rule changed: the checksum Git writes at its end tells (an index written without one,
index.skipHash, is still read in full). A long-running Atomic keeps those listings for at most 16 indexes, and none of more than 4,096 files (#6339). - The builtin Intercom, subagents, MCP and web access extensions of an installed Atomic load directly under Node and Bun, without Atomic's extension compiler and without loading Atomic modules that only other extensions use, so Atomic's window and the engine that runs its session both start sooner (#6326).
- Starting Atomic reads the model catalog once instead of three times, and checks each provider's credentials once instead of twice whenever it lists the models you can use, in Atomic's window and in the engine that runs its session. A model runtime that an SDK app passes in, credentials that change while Atomic runs and a missing catalog are handled as before (#6341).
- The builtin Intercom, web access, subagents and MCP extensions, and the view of codemode's results, load when first used instead of at every start, in Atomic's window and in the engine that runs its session. Their tools, commands and shortcuts are registered at startup with the same definitions as before, so the tools the model gets and the system prompt do not change. Web access, a 4.9 MB bundle, loads on its first tool, command or shortcut; subagents, 1.9 MB, on first use or when you resume a session with subagents; MCP when an
mcp.jsonexists, an extension registers an MCP server, a resumed session used MCP tools, or you run/mcp; Intercom on first use or when it joins in the background after startup; and codemode's result view and its syntax highlighting with the first script, or when you resume a session that ran scripts (#6321, #6328, #6330, #6332, #6335, #6340). - Starting Atomic loads fewer files before the editor appears and the first turn starts: syntax highlighting (
highlight.js) loads on first use (keeping custom languages, aliases and standalone binary support), HTTP client code (undici) loads from Atomic's shared files on Node instead of about 109 separate files (keeping fetch error stack traces and Bun's native fetch), and subcommands and features not needed at startup (install,remove,update,list,config,auth,--list-models, URLreadHTML extraction and unused run modes) load only when used (#6348). - Interactive starts open fewer package files before the editor appears and the first turn starts: Atomic's startup code now loads from about 26 shared files instead of about 130 to 170 (about 175 files opened at startup on Node 22 instead of 314), while keeping early typing in the editor responsive (#6356).
- Startup runs independent setup work in parallel:
-pand--mode rpc,jsonandtextlaunches now start their SQLite session database thread while Atomic loads (as interactive sessions already do), folder trust checks skip missing config directories and inspect ancestor folders together, settings and the model catalog load alongside package resources, and skills, prompt templates, themes, context files and system prompt files are read in parallel (#6346). - Atomic's native module (
@bastani/atomic-natives) is about 74% smaller on disk (about 5 MiB unpacked and 2.1 MiB compressed instead of 18 to 19 MiB unpacked and 3.6 MiB compressed) after removing the unusedblockRangeAtbinding and its bundledtree-sitterlanguage grammars, saving 13 to 14 MiB on every npm, pnpm, Bun and release archive install with no slowdown in search, glob, locks or process management (#6381). - Session recovery notices, recovery replay notices, event subscription reports, and omitted oversized history entries now render as compact notice cards matching Atomic's other transcript notices instead of generic bracketed
[customType]boxes, and expand or collapse on both Ctrl+O and a click anywhere on the card (#6372). - A session whose model an extension streams itself (a provider it registers with
streamSimple, or one with its own stream functions) no longer loads Atomic's own implementation of that model's API as it starts, about 640 KB of code for the Anthropic Messages API. Before the first prompt, Atomic loads only the API implementation the first request uses: when you switch to a model of Atomic's own providers, with/modelor Ctrl+P, it loads that model's then. While a session starts, it still loads the API of the model the settings select early, now also when a project's settings select it and the project is trusted, unless that model's provider is one only an extension registers, its API is one Atomic does not implement, or an argument such as--model,--provider,--models, a resume,--extensionor an extension's own option may choose another (#6375). - Extension docs, examples and extension error messages now name the
ExtensionAPIparameteratomicinstead ofpi; existing extensions that name itpikeep working unchanged (#6395). - Refreshed 97 user-facing documentation pages under
docs/to align CLI commands, settings, environment variables, keybindings, storage paths, subagents, Intercom and SDK guides with current behavior (#6391). - The package no longer includes declaration maps (
.d.ts.map). They pointed at TypeScript sources that the package does not include, so editors could not follow them. The declarations themselves are unchanged. openai,@anthropic-ai/sdk(withstandardwebhooks,@stablelib/base64andfast-sha256) andpartial-jsonare bundled into the package's shared files, so the first OpenAI or Anthropic request loads one file instead of about 125 to 200. A bundler that resolves themoduleorbrowserexport conditions still gets one compiled file per module, underdist/_modules/(#6331).- An installed Atomic starts its Intercom broker from prebuilt JavaScript instead of compiling the broker's TypeScript at every start. The broker is ready in under 0.1 s instead of 0.5 to 2.8 s on Linux and Windows, so the first Intercom use after a session opens waits that much less, and the broker no longer competes with the end of Atomic's startup (#6193).
- On Windows, closing a session while its Intercom broker is still starting no longer waits about half a second for a PowerShell to stop that broker: Atomic's native module stops it, and what it started, at once, still only while its pid names the broker that announced itself. Without the native module PowerShell stops it as before.
- The notice shown when an ended subagent is woken by an Intercom message now renders as a compact one-line notice card (
↻ Woke <subagent> for a message from <sender> · result arrives here) with shortened readable IDs instead of a generic[intercom_subagent_wake]box. Press Ctrl+O or click anywhere on the notice to expand full subagent and sender IDs; it renders consistently before and after Intercom finishes loading and when resuming sessions (#6372). - The package no longer includes the native binaries of every platform: each platform's binary comes from its own optional package (
@bastani/atomic-natives-<platform>), which package managers install for the platform they run on. When the binary cannot load, the error says why instead of blaming an npm bug: which platform package an install that omitted optional dependencies left out and how to reinstall with it, an installed platform package that fails to load and its reason, a platform with no published package, or aNAPI_RS_NATIVE_LIBRARY_PATHoverride that fails. - Removing the unused
tree-sittergrammars and unused network dependencies cuts the native module by about 72 to 74% (on Linux x64 glibc and musl from 18.2 to 18.4 MiB to 4.7 MiB unpacked and 3.6 MiB to 2.0 MiB compressed; on Windows x64 from 18.3 MiB to 5.2 MiB unpacked and 3.6 MiB to 2.1 MiB compressed) with no regression in search, glob, lock or process-tree performance (#6381). processCreationTime(pid)also reads a process's start on macOS, also of a process another user owns, to the microsecond, as 100-nanosecond intervals since 1601 like the Windows creation time. It still answersnullon Linux (#6394).- Updated the bundled
impeccableskill to 4.10.0 with engine 0.1.27. LongDESIGN.mdfiles load as a short map with on-demand token, component, and section lookups and consent-gateddesign-compact;doctorreports concrete dead paths and color drift instead of commit counts;animatecaptures normal and reduced-motion frames for motion review; world builds check the first viewport withimpeccable shotandfirst-viewportand start documenting alongside the final review; and Live Mode keeps its bottom bar steady under the pointer, persists Exit across reloads, adds 44px touch targets, and shows the missing-PRODUCT.mdnotice once per browser. Atomic's telemetry and update-check opt-outs, CSPRNG session IDs, and helper-origin overlay script loading remain intact (#6370). findHelperExecutable(name)andfindHelperExecutableAsync(name)return a program's absolute path in PATH's absolute directories, never the working directory unless PATH names it, andhelperLaunch(name)withmissingHelperOptions(launch)start it, or fail as starting a missing program does.- Curator configuration, Google account status, curated web search results, and background content-fetch status and error notices now render as compact notice cards matching Atomic's other transcript notices instead of generic bracketed
[customType]boxes, expanding and collapsing on both Ctrl+O and a click anywhere on the card, including before Web Access activates on resumed sessions (#6372).
Fixed
- An extension's
typebox/format,typebox/systemand TypeBox's other subpaths besidestypebox/compileandtypebox/valuenow resolve to Atomic's copy of TypeBox, so a format an extension registers withFormat.Set()applies to its tools' validation. - An extension module's
import.metanow describes its own file, as when the module is imported natively, however the module reads it (import.meta.dirname,const meta = import.meta, destructuring):filenameanddirname, and under Bunpath,dir,file,mainandrequire. Under Nodefilenameanddirnamewere undefined when the module keptimport.metain a variable or destructured it, and under Bun they named adata:URL after a/reload.import.meta.resolve()answers as it does for a module Node or Bun imports itself: a built-in module such asfsornode:fsby itsnode:name, a relative path to a file that does not exist by its URL, and a package it cannot find withERR_MODULE_NOT_FOUND. On Windows,import.meta.filenameanddirname,__filename,__dirnameandrequire.resolve()in an extension module now name paths with backslashes, as Node and Bun write them, instead of forward slashes. - After a restart, a long session no longer replays an Intercom message, reply or ask that it had already taken in a turn, or an ask it had already answered, once a compaction had left the entry that recorded this out of the reopened session. Such a message came back as a new turn when its sender was still connected, and as history otherwise, after every restart (#6168).
- Fixed the first run after a resume near the context window lowering the thinking budget when an extension starts it, or a queued message or session recovery continues it: like a typed prompt, it now compacts once first when only what the resume added would lower the budget. What an extension adds after the session opened counts as the conversation's, as in a session that kept running, so it no longer causes that compaction.
- A subagent whose own prompt replaces the default now names the project's session folder in a section at the end of its prompt, so its Session memory section reads the same in every project. A session recorded with the folder in Session memory keeps it there.
- A resumed session no longer shows an MCP server's recorded summary that the conversation did not show last, such as after the record of a later change could not be written; the server's line shows its summary again once it reconnects.
- With the npm-installed
atomic, an OpenAI Codex request whose WebSocket is refused for its TLS certificate now fails at once with the certificate message and how to trust a private CA, as the standalone binary does, instead of first retrying over SSE (#6171) /reloadruns the current code of a module that your own or an installed extension imported after it started, when only that module changed. On Windows, under Bun, and in the standalone binary,/reloadcould keep the module as it was first loaded (#6172)- An installed Atomic and a source checkout, or two Atomic versions, that share an agent directory no longer delete each other's extension transpile cache, so neither starts with an empty cache after the other has run. The cache moved from
cache/jiti/tocache/transpile/in the agent directory, and a version's cache in either directory is removed once it has gone unused for a week. This release no longer usescache/jiti/, so you can delete it (#6172) - In a source checkout, a first start with an empty transpile cache compiles the bundled packages in a background thread instead of blocking startup, and modules a package imports later are prepared for exactly the files they import (#6172)
- Subagents no longer show "Worktree snapshot unavailable: jsonl storage cannot hold snapshot blobs" when they change files. A subagent's session is kept where its run keeps it, so the advice to choose another session store did not apply to it. Subagents launched with
context: "fork"from a session in a database still record snapshots. A main session whose store cannot hold snapshots shows the advice once, when a new session first changes files, and no longer again each time it is resumed. - Fixed image resizing running on the calling thread in a Node process started with
--input-type=modulewritten another way Node accepts:--input_type=moduleon the command line, or inNODE_OPTIONSin quotes ("--input-type=module"), with an escape ("--input\-type=module") or as--input_type=module. ANODE_OPTIONSthat names--input-typewhere Node does not read it, such as inside a quoted--titlevalue, no longer changes how Atomic starts its worker threads (#6170) - Fixed the interactive engine and headless runs on Node not getting their larger heap when
NODE_OPTIONSnames--max-old-space-sizewhere Node does not apply it: after a tab, which Node does not treat as a separator, or after a word that ends Node's reading ofNODE_OPTIONS. A heap size that Node applies still takes precedence (#6170) - Fixed Atomic ending on an unrelated unhandled promise rejection after an agent panel source failed, although
NODE_OPTIONSsets--unhandled-rejectionstowarnornonein quotes or as--unhandled_rejections(#6170) - On Windows, a command stopped or failing while the machine is heavily loaded is no longer reported as exiting with status 0.
- An extension's
pi.execcommand still running when you quit no longer keeps the extensions'session_shutdownhandlers from running: Atomic ends the command, with the processes it started, first (SIGTERM, thenSIGKILLafter one second). Commands the handlers run themselves are not ended (#6178) - Quitting or
SIGTERMends within about five seconds when asession_shutdownhandler never finishes, also when the session runs in Atomic's own process, as in a project left untrusted; there a secondSIGTERMnow ends Atomic at once too. Atomic's own saving after the handlers still completes (#6178) - A
SIGHUPorSIGTERMthat arrives after/quitcleared the screen no longer ends Atomic at once, cutting the extensions' shutdown short; the quit finishes as it started (#6178) - The standalone binary started with
SIGHUPignored, asnohup atomic -p ...starts it, keeps running when its terminal closes (#6178) - Opening or closing
/tasksor the focused agent panel no longer draws a frame without the agent panel, the footer's hints, or both. This includes Esc, Enter on the subagent already shown, and opening/tasksfrom a subagent's chat. The screen now changes from the prompt to the view and back in one frame. - While viewing a subagent, a narrow footer keeps
← main chatand↓ N agentslonger than? keysand the working status. Before,↓ 1 agentwas dropped below 47 columns. - ↓ on the empty prompt of an extension's editor built on Atomic's editor (
ctx.ui.setEditorComponent) now focuses the agent panel, as it does on the default prompt, unless the editor uses the key itself. - A task stopped by its execution timeout shows the stopped mark (a red
◯) in its completion notice, as the agent panel and/tasksshow it, instead of!. Saved sessions keep their notices unchanged. - An extension installed while Atomic starts no longer decides the trust of a folder whose saved Trust startup already applied: the folder is decided with the extensions Atomic found when it started, and the new extension loads after the decision (#6183)
- Resuming another folder's session from a folder whose own settings choose its session store loads the bundled extensions once, and shuts down the extensions that decided the first folder before the session's own load; a shutdown that does not finish within about five seconds no longer holds the session back and is named in a warning (#6183)
- When a folder is approved after the chat is on screen, an open menu of command names in which you have not chosen a row shows the approved commands, with an exact match selected; a completion provider that fails or never answers leaves the menu as it was (#6183)
- The resource list at the top of the chat shows an approval as soon as a selection, click, drag or search that held it ends, instead of checking again every 250 ms (#6183)
- The same message sent twice in quick succession, which an
inputextension rewrites, no longer leaves a copy of the typed text in the chat - A queued message that two runs in a row took and failed before sending comes back to the editor, as typed and in the order it was queued, with a notice, instead of disappearing
- When the engine stops unexpectedly while delivering a queued message, the message comes back to the editor if the session files show it was never saved, and is no longer reported as possibly undelivered if they show it was; the notice now lists only messages whose delivery cannot be confirmed
- The same applies to a subagent's chat: when the engine stops unexpectedly, a queued message the subagent saved is no longer reported as possibly undelivered, and one its session files show it never saved is listed with the subagent's messages that weren't sent
atomic -pwith an extension command prints the command's own answer, or fails on its failed reply, even when another message is saved after it, and waits for a reply the command asks for while an earlier run is still finishing- On Windows, the first quit after installing or upgrading Atomic no longer takes several seconds. A session that finds Node's compile cache empty or out of date for this version runs without it, and a short-lived low-priority background process writes the cache, finishing after the session if the session ends first, so later sessions start from it (#6132)
- A subagent released while it waits shows that in its own chat as the main chat does: the
◌ <name> is waiting on <tool>notice as a block of its own after the transcript, with that it wakes by itself and which of its shells still run under it. Before, this was an unindented line pressed against the prompt, under the last message. - In a subagent's chat, a command the subagent started that keeps running in the background now says where to reach it, as
· /tasks to managedoes in the main chat:· /tasks to manageon the subagent's page in/tasks, whose own/taskslists the command, and· alt+w opens it(theapp.tasks.openWaitedkey) on the screen that shows the subagent in place of the main chat, for the newest shell a released subagent waits on. Before, it said neither. A click on that/tasks to manageopens the subagent's own task list, as typing/tasksthere does, while the chat takes what you type; without colour the hint is text, as the main chat's hints are (#6229, #6307). session.dispose()now waits, for up to about five seconds, until the extension transpile cache has finished storing what the session's own extensions started, such as the transform of a module an extension imported after it started. An SDK host that removes the agent directory oncedispose()resolves could fail withENOTEMPTY, or find a file written into it afterwards (#6190)- Closing the console window on Windows now lets extensions'
session_shutdownhandlers run, withfromSignal: true, as closing a terminal does on Linux and macOS. Windows ends the process about five seconds after the window closes, so the shutdown is cut short after four, and Atomic exits with status0xC000013A(STATUS_CONTROL_C_EXIT), as Windows ends such a process (#6185) - Signing out of Windows, or restarting or shutting it down, now lets extensions'
session_shutdownhandlers run too, withfromSignal: true, where Windows used to end Atomic at once. Windows waits for Atomic while they run, for up to about four seconds, without listing it as a program that keeps you from signing out. A sign-out that another program cancels leaves Atomic running. This applies once Atomic has started up, about half a second after its screen first appears (#6187) - On Node, the interactive engine now gets the heap size given as
--max-old-space-size-percentageor--max-heap-sizeon Atomic's own command line, or as--max-heap-sizeinNODE_OPTIONS, instead of half of system memory, and a headless run given either one, in either place, no longer starts itself a second time. The engine also gets a--max-semi-space-sizegiven on Atomic's command line - A model request refused for the TLS certificate of the
https://proxy set byHTTPS_PROXY,HTTP_PROXYor thehttpProxysetting now names the proxy, by its host, and says how to trust its CA, or to use a proxy URL whose host name the certificate names, instead of naming the model's endpoint, which the proxy never reached. A certificate refused by the endpoint behind the proxy is still named as the endpoint's. In the standalone binary this applies to Amazon Bedrock only: other requests go through Bun's own proxy handling, which reports both the same way, and keep naming the endpoint (#6208) - SDK: a
wrapNodeSqliteDatabasestatement with many[that no]closes, run while anopenNodeSqliteDatabasetransaction on the same thread holds the file, no longer blocks your event loop before SQLite reports its syntax error. The time grew with the square of the statement's length: about three minutes for a 1 MB statement, which now fails within milliseconds. - MCP servers that share a namespace, which an SDK's own
loadConfigforcreateMcpExtensioncan list (such asdocs-searchanddocs_search), show their summaries in a resumed session again while they reconnect, as other servers do, when the session recorded which server each of their lines lists and none of them changed. Otherwise their lines show no summary until the servers reconnect, so the model never keeps a summary of a server that is gone or no longer gives it. - When git is missing and Atomic downloads the portable git, anything else that needs git meanwhile now reports that git is being downloaded, or that Atomic is waiting for another Atomic process to install it. Before, what started waiting after the download began reported nothing until git was installed (#6230)
- The first prompt after a resume near the context window gets the same compact-first check when something else ran before it: the summary of the session that RPC and interactive modes request for the session picker when a session opens, a queued message or recovery that stopped before sending, or a request whose provider setup failed, such as a model header taken from an unset environment variable. Any of these used up the check, so the prompt lowered the thinking budget instead.
- A completion menu opened while Atomic finishes starting no longer closes when fd is found, the engine's commands arrive or extensions finish loading: it stays open, also in an extension's editor, and shows the new rows unless you chose a row in it. The folder's approval refreshes
@file and argument menus too (#6213) - A completion provider that fails no longer stops every later completion in the prompt, and one that never answers holds the next completion for at most 100 ms (#6213)
- A key or click on the completion menu acts on the rows on screen: rows that arrive just before the next frame no longer change which row Enter or Tab takes, unless you typed since the menu was drawn, and a click on rows that changed since chooses nothing (#6213)
- An extension's
pi.execcommand still running no longer keeps running after Atomic is killed, for example withSIGKILLor by the system when memory runs out. The interactive engine ends the command and the processes it started at once when Atomic's terminal process is gone. On Linux the system also ends the command, but not the processes it started, when the Atomic process running it ends, which covers a session in Atomic's own process, as for a project left untrusted; on macOS such a command still keeps running. On Windows the command itself already ended with Atomic, and still does; what it started keeps running unless the command put it in a job of its own, as a Node.js command does. On Linux and macOS this also holds when Atomic is stopped withSIGTERMorSIGHUPand then killed before its shutdown finishes. Commands thatsession_shutdownhandlers run, and what a command that finished left running, are not ended (#6217, #6302). - In the standalone binary,
httpIdleTimeoutMsnow applies to model and other HTTP requests, as it does with the npm-installedatomic. A request whose response stays silent longer is ended, and one silent for less, or for any time when the setting isdisabled, is no longer ended after about five to six minutes by the binary's own idle timeout, such as a response that takes long to start. The binary checks the timeout every few seconds, so it can end a request a little after the timeout runs out (#6233) - In the standalone binary, an
https://request, including the OpenAI Codex WebSocket, now goes throughHTTP_PROXYwhenHTTPS_PROXYis unset, as with the npm-installedatomic, instead of connecting directly.NO_PROXY,HTTPS_PROXYandALL_PROXYkeep working as before. The network proxy settings list the remaining differences between the binary and the npm install (#6233) /reloadreads the current contents of a JSON file an extension imports or requires by path, also one it imports only later. It kept the content first loaded until Atomic restarted, and editing only such a file did not make/reloadevaluate the extension again. A JSON file in a package the extension depends on still loads once per process- While the screen shows a subagent that finished, the agent panel no longer redraws every second: an idle subagent chat writes nothing to the terminal until something changes. A running subagent's time and a finished row that is fading still update every second (#6220)
- When Atomic's own handling of the engine's output fails the same way on every streamed update, the chat shows one error row with a count, such as
(42 times), instead of one row per update. A different failure, or one after other output, gets its own row. - An error while Atomic reports a malformed engine line, the engine's stderr output or a failed write to the engine no longer ends Atomic; a malformed line still restarts the engine.
- A tool call in the main chat that finishes while a subagent's chat is on screen no longer keeps redrawing that chat several times a second: the call is drawn as finished at once, also while its chat is hidden (#6243)
- An Amazon Bedrock request through an
https://proxy that closes the connection before its TLS handshake no longer ends Atomic with an unhandled error. Such a request, and one whose connection to the proxy is reset or closed before the proxy answers, is now retried like other dropped connections instead of failing at once (#6237) - Choosing a subagent in
/taskswhile main's agent panel lists nothing, as once every subagent finished, no longer shows the subagent's chat for a frame without the agent panel: the chat and its panel row appear together (#6240) - A
/command,@file or Tab completion typed while Atomic is still starting, also before its screen appears, as when it starts with a command-line argument such as-c, now shows its completion menu once completions are ready, instead of no menu until the next key. A click in the prompt before completions are ready drops such a completion, as a key does, so clicking away and back no longer opens a menu (#6224, #6297). - Atomic runs the helper programs it starts by name for its own work, such as fd, rg, gh, npm, tmux, trash, the clipboard and browser helpers and Windows PowerShell, only from the absolute directories in your PATH, so a program in the project folder no longer runs in their place: on Windows a program in the working directory used to be found before PATH, and on every platform an empty or relative PATH entry named the working directory; a program found only there now counts as not installed. An absolute PATH entry is searched wherever it points, the working directory included, so running Atomic in
C:\Windows\System32still finds its programs.spawnProcessfrom the SDK looks programs up the same way. - After a resume that changed the prompt, such as new project instructions, an interrupt, a queued message or a recovery sent first no longer sends those changes, also in the turns after a tool call; the next prompt sends them. Near the context window, that prompt now compacts once first when they would lower the thinking budget, as a typed first prompt after a resume does. Before, that prompt, or the turn after the interrupt's tool call, lowered the budget instead. Changes made during the run, such as a tool turned on, still go out at once, unless they are in a part of the prompt the resume also changed.
- An Amazon Bedrock error answered by something other than Bedrock itself, such as a gateway or a proxy, now names the HTTP response's status, for example
Unknown: 503: unavailable. The chat session already retried such an answer; compaction summaries, structured output and SDK callers that retry by the error now retry it too when its status is one the other providers' errors are retried for: 429, 500, 502, 503, 504, 520–524 or 529. A gateway's 413 whose body is not JSON now reads413: …and is handled as a context overflow: Atomic compacts the conversation and retries (#6259) - The turns after a tool call in a run that an interrupt or a queued message started no longer take the prompt sections that extensions add when a prompt starts, such as the MCP servers' section, out of the system prompt. The model lost the list of MCP servers, and the prompt changed twice, until the next prompt.
- The bash and PowerShell tools find their shell, and an MCP server given by a program name finds its program, only in the absolute directories on your PATH and the known install locations, never through Windows' search of the working directory or an empty or relative PATH entry, so a shell or server program a project contains never runs in place of yours. A
shellPathgiven as a name alone, such asbash, is looked up the same way; a path is used as written, as is an MCP server'scommandwith a path. On Windows an MCP server whose program is not installed now fails withspawn <name> ENOENT, as elsewhere, instead of being handed to cmd.exe to look for. - On Windows a variable in an MCP server's
env, such asPATH, replaces the inherited one however either is spelled, so a configuredPATHchooses the server's program and is thePATHthe server gets. - Extensions: on Windows,
pi.execruns a command named without a path, such asgit, only from the absolute directories onPATH, never from the working directory, so a program in a project folder no longer runs in place of the one you installed. A command with a path runs as written, and one found nowhere fails withENOENTas before. - Starting Atomic with
--offline,--debug, aPI_OFFLINEor non-1ATOMIC_OFFLINEvalue, or thedebugorhttpProxysetting no longer throws away the engine it starts loading at launch and loads a second one. The prompt takes input about 1.8 s sooner on Windows and 0.7 s sooner on Linux, and on a cold Windows start without antivirus exclusions about 8 s sooner, without the 5 s pause that followed the first frame there. - Resuming a session restores what its finished subagents changed in its checkouts, also when the session itself changed no file after them, as when it only delegated: each checkout comes back as the newest capture of it among the session and its subagents. A subagent's named worktree stays its own.
- When an update installs a new Atomic over the one a session runs from (
npm install -g,bun add -g), a feature whose code then can no longer load (a tool's first call,/tree,/fork,/export, an extension on/reload) saysatomic was updated to <version> while this session was running; restart it to keep using <feature>., followed by the runtime's ownSyntaxError: The requested module … does not provide an export named …orCannot find moduleerror, and the interactive session keeps running instead of exiting. A session the update caught while it was starting prints the same message and exits. This applies only to Atomic's own modules: a module that is not part of the installation, such as a user extension's missing package, fails with its own error as before. Sessions started on this release or a later one report it this way. - After you push the unpushed commits a worktree snapshot left out, because one adds a deny-listed file such as a
.envor a private key or their bundle was oversnapshots.maxSnapshotBytes, the next turn that runs a file-writing tool records a snapshot without them inomitted, also when no file changed. Such turns kept the earlier snapshot, so a resume warned about commits that were already pushed, and when only some were pushed, the rest stayed out even when their bundle now fit under the cap. Raisingsnapshots.maxSnapshotBytesabove the bundle records the commits the same way. - A builtin extension (subagents, MCP, web access, Intercom) that
/reloadloads in a session an update caught, and that needs a part of Atomic the running session's older copy does not have, now fails to load withatomic was updated to <version> while this session was running; restart it to keep using the <name> extension., followed by the runtime's own wording for each missing part, instead of loading and failing later wherever it uses that part./reloadloads the updated builtin extensions on Windows and under Bun; elsewhere it keeps the ones the session loaded. This applies to the builtin extensions of this release and later, whichever release the session started on (#6301). - Worktree snapshots work with Git 2.30 to 2.35, as Debian 11 and Ubuntu 22.04 install it. Before Git 2.36, restoring a session's checkout into a new worktree failed with
unknown switch 'z'; before Git 2.31, a turn whose checkout had unpushed commits recorded no snapshot (Refusing to create empty bundle), and a restore could read a wrong path for its store (#6327). - Resuming or going back in a session kept in a database (SQLite, libSQL or PostgreSQL) no longer fails with a
SyntaxError, or takes an extension's text for one of Atomic's lists, when an extension's custom entry has text that looks like JSON underowner,tasksorgroups, such as"[draft": the session reads that text as text, as a session kept in JSONL files does (#6329). - After you change a Git packing setting (such as
core.compressionorpack.window) or a Git attribute that turns delta compression off (-deltain.gitattributes,.git/info/attributes,core.attributesFileor the system attributes file), unpushed commits that a worktree snapshot left out because their bundle was oversnapshots.maxSnapshotBytesare bundled again, and recorded when they now fit. Before, Atomic kept leaving them out until the commits or the repository's packs changed (#6336, #6371). - A line written straight to standard output while Atomic starts, for example by an extension as it loads, is no longer lost when the editor shown before the session is ready gives way to it: it shows once, where it would without that editor, whether Atomic then exits or the session goes on (#6344)
- A worktree snapshot that leaves unpushed history out because commits add a denied path, such as a private key, now names every such commit after the remote branch moves back, for example after a force-push to an older commit. A capture of an unchanged checkout kept the earlier list, which left out the commits that became unpushed again (#6366).
- On Windows, stopping a
!command with Esc, and a timeout or an abort of a bash or PowerShell command run without a task owner (an SDK's owncreateBashTool()orcreatePowerShellTool()given none), now also ends a process whose starter already exited and one left writing the command's output after the shell exited, and never ends another program given the shell's process ID meanwhile. Atomic stopped them withtaskkill /Tby the shell's process ID, which missed those and, once the shell had exited, could end another program. The shell now starts in a job of its own: a stop ends the shell and the processes below it while it runs, and then every process left in the job. What a finished command left running, such as a program started withStart-Process, keeps running after Atomic exits, as before, and a command still running when Atomic is ended ends with it. As before, a program that asks to leave the job (CREATE_BREAKAWAY_FROM_JOB) starts, and a stop ends it only while it is still below the running shell: Git Bash starts every program that way, so a stop afterbashexited does not end what it left running. In the standaloneatomicbinary, such a command that crashes now reports its whole exit code, such as3221225477, as Atomic under Node does, where it reported only its last byte (5).ATOMIC_HOST_SPAWN=child-processstarts the shell as before (#6310). - An SDK workspace binding whose record of the git adding its worktree cannot go where Atomic keeps such records now fails (
filesystem-failed, "record the git adding") before it starts git. On a busy machine, git could add the worktree before Atomic stopped it and leave it behind, locked (#6362). - The
/tasksshell output viewer and inline!and!!shell blocks now follow Atomic's layout: the shell viewer aligns its command title,shellsubtitle, status, runtime and command metadata, rounded scrollable output box, retention and line-range note,?shell key overlay and key hints on one left edge, updates elapsed time while running, supports two-pressxstop on running shells, and strips trailing blank lines from newline-terminated output. Inline!and!!command blocks now use Atomic's!and!!echo and⎿connector family instead of full-width horizontal rules, show(no output)on empty completion, and align sibling notices in/tasksviews with their hint lines (#6385). atomic --helpnow includeskillin the default tool summary, listskillandcodemodeunderBuilt-in Tool Names, and listsatomic blueprint prebuildalongsideatomic blueprint cache-key.atomic auth login --help,logout --help,print-api-key --helpandprint-bearer-token --help(and-h) now printatomic authhelp to stderr and exit0with empty stdout, matchingatomic auth --helpandatomic auth check --help.--helpand-hpassed after--or as an option value are no longer treated as help requests inatomic authoratomic mcp add(#6389).- Startup slash-command completions now match the commands bundled extensions actually register: removed the unregistered
/mcp-authentry, added/llama, and aligned/mcp's description (#6389). - Long provider error messages, tool output blocks, fetched HTML pages, terminal escape text, status labels and credential-redaction lines with repeated partial markers no longer stall parsing or display. Failure classification, tool-block footer trimming, HTML link discovery, ANSI stripping, status-verb formatting, Bearer header extraction and MySQL credential detection now run in one linear pass with the same results as before, and
findskipped-missing-path notices andbashfull-output footers whose paths contain balanced brackets (such asapp/[id]/missing.ts) are stripped cleanly (#6397). - On Windows, closing the console Atomic runs in now ends it with the console-close status (
STATUS_CONTROL_C_EXIT) on a busy machine too. Before, Atomic exited with status 129, the status of a lost terminal, when Windows' notice of the close had arrived but not been read yet as Atomic's time to shut down after losing its terminal ran out (#6380). - On Windows, closing an MCP server no longer briefly keeps your project folder in use. Atomic ended the server with a command that ran in the folder Atomic runs in and could still be running after the close finished, so for a moment that folder could not be deleted or renamed. The commands Atomic runs to end processes now run in the Windows folder, and closing an MCP server waits for its command to finish (#6403, #6409).
atomic mcp,/mcpand MCP OAuth helpers no longer print or log secrets in CLI output, TUI prompts,mcp.logor session tool results. Failed config value resolution omits raw!shell commands and literal secret fragments while keeping unset${NAME}and$NAMEenvironment variable names. OAuth token, registration, discovery, browser callback and Streamable HTTP/SSE error paths mask known secrets (including rotated tokens, PKCE verifiers, client secrets, URL credentials and encoded or escaped variants) in linear time without leaking bytes past error truncation limits or corrupting HTTP status text.atomic mcp list,/mcpand OAuth authorization URLs preserve benign query parameters (such asregion,tenant,versionorauthuser) while stripping URL credentials and secret parameters, redacting stdio arguments, env secrets and stderr output, and capping individualmcp.lognotification entries at 64 KiB.atomic mcp addredacts secrets in malformed option errors, and malformedmcp-auth.json,mcp.jsonor JSON responses fail without quoting raw secret text (#6398, #6413).- Shared worktree snapshot captures now hand off atomically when one capture finishes and the next queued capture starts, so a turn finishing during the hand-off no longer starts a duplicate snapshot beside it, and a timed-out snapshot finishing later no longer lengthens the wait for later queued captures (#6410).
- Returning to
/tasksafter opening a subagent, detail page, shell output, waited shell, stdin sheet, or extension view now keeps the selection indicator and scroll position on the item you came from (following it if it re-sorts or resumes under a new attempt, and falling back to its next or previous surviving neighbour if it left the list) instead of jumping to the top of/tasks. Opening/taskswhile viewing a subagent selects that subagent, and returning to the focused agent panel after a nested shell or extension row disappears selects its nearest neighbour instead of the top row. Closing/taskswithout opening an item still starts the next fresh/tasksat the top (#6400). - Shared credential redaction (
redactCredentialShapes, used by credential printing, compaction, debug logs and the SDK) now also redactsauth=Bearer,Authorization=Basic, standalone HTTPBasiccredentials and PKCEcode_verifiervalues across JSON, query, env, YAML and CLI text. Long lines (1 KiB and up, including multi-megabyte inputs) now scan in linear time across credential fields, provider keys, cookies, netrc entries, PEM blocks and CLI flags so they cannot bypass redaction under Bun or Node, while keeping ANSI escapes, error codes and ordinary prose intact (#6412). /quitunder heavy load could reach extensions as a signal shutdown: on a busy machine, an engine too slow to acknowledge the quit in time lost it, and itssession_shutdownhandlers ran withfromSignal: true. They now see the quit as one (#6417).- Log tailing (
logTail) now detects rotated or replaced log files reliably on Windows NTFS and other 64-bit-inode filesystems, including when a file is replaced or truncated right as it is opened, by comparing exact 64-bit file identities and checking the opened file handle before reading so log prefixes are not skipped and partial lines do not mix across files (#6421). - Lock takeover checks, worktree-pool markers, cached system Git checks and native-module reinstall checks now compare exact 64-bit file and directory IDs instead of rounded numbers, preventing distinct files or directories on Windows NTFS and 64-bit-inode filesystems from colliding. Existing lock and worktree records stay compatible during in-place updates (#6424).
- Replaced SHA-1 with SHA-256 for in-memory render-cache frame keys and
models.jsonchange-detection digests (#6401). - A session started on 0.10.3, 0.10.4-alpha.1 or 0.10.4-alpha.2 that keeps running across an in-place update (
npm install -g,bun add -g) now loads on-demand features as before when the updated code is compatible, or saysatomic was updated to <version> while this session was running; restart it to keep using <feature>.when it cannot load instead of failing with a raw module error (fixingMissing built-in command description: /mcp-authfrom 0.10.4-alpha.1 and convertingPackage subpath './node-options' is not defined by "exports"from 0.10.3 into that restart message) (#6426). - In a project that depends on Atomic,
npm ciafternpm installno longer fails withMissing: @modelcontextprotocol/client@2.4.0 from lock file, as it did with npm 10 and 11 (#6216, #6345). - Fixed the first request after resuming a session whose last request got no reply missing the prompt cache of the last answered request on Anthropic, Amazon Bedrock and OpenAI-compatible Claude routes, when that request's end is 20 or more positions before the hinted one. That end now gets a breakpoint too; when only one is left, it keeps it if the same model answered it. A reply that sent nothing still counts as answering its request, and on OpenAI-compatible routes a hint on a message with only images goes where that request put its newest breakpoint.
- On the Claude API, a run of tool calls or of tool results counts as one lookback position, as Claude counts it, so a turn of many parallel tool calls no longer takes an extra breakpoint, and an OAuth request keeps the identity block's breakpoint.
declarationsEqual(),getToolStateChanges()andjsonSchemasEqual()treat a schema's list oftypes and the namesdependentRequiredanddependencieslist as sets, so a tool that lists them in another order is no longer declared again.- On Node.js, an OpenAI Codex WebSocket refused for its TLS certificate now fails at once with the certificate message, as on Bun, instead of first falling back to SSE and remembering that fallback for the session. Node.js's WebSocket names no certificate on its error, so the connection's own failure is read instead; a reset, an upgrade the server refuses and other failures still fall back to SSE (#6171)
- A model request refused for the TLS certificate of the
https://proxy it goes through now names that proxy, by its host, and the fix for a proxy, instead of naming the endpoint, which the proxy never reached. This applies to Amazon Bedrock's proxy and to any proxy connection whose failures are recorded with the newrecordProxyConnectionFailure(). A certificate refused by the endpoint behind the proxy is still named as the endpoint's (#6208) - On Bun, the OpenAI Codex WebSocket goes through
HTTP_PROXYfor anhttps://endpoint when no https proxy is set, as its requests over fetch do, instead of connecting directly (#6233) - Amazon Bedrock through an
https://proxy that closes the connection before its TLS handshake no longer ends the process with an unhandled error. A Bedrock request whose connection to its proxy, or whose TLS handshake, is reset or closed before an answer now fails as a reset connection and is retried, as on the other adapters, instead of failing at once. A Bedrock connection error's message now ends with its code, such asECONNRESET, when it does not name it (#6237) - An Amazon Bedrock answer the SDK has no Bedrock exception for, such as a gateway's or a proxy's 503, now names the HTTP response's own status (
Unknown: 503: unavailableinstead ofUnknown: unavailable), never astatusorstatusCodeits body gives.isRetryableAssistantError()andretryAssistantCall()therefore retry it when the status is one they retry for the other adapters: 429, 500, 502, 503, 504, 520–524 or 529. A 413 whose body is not JSON reads413: …, whichisContextOverflow()reads as a context overflow. Bedrock's own exceptions read as before (#6259) - Context-overflow detection (
isContextOverflow) no longer slows down on long error messages with repeatedinput token countphrases, matching the same overflow messages in one linear pass (#6397). - Fixed
CodemodeSandboxfailing every script with a sandbox error in a Node process started with--input-type=modulewritten another way Node accepts:--input_type=moduleon the command line, or inNODE_OPTIONSin quotes ("--input-type=module"), with an escape ("--input\-type=module") or as--input_type=module, and in a process that removesNODE_OPTIONSafter starting with it. ANODE_OPTIONSthat names--input-typewhere Node does not read it, such as inside a quoted--titlevalue, no longer changes how the sandbox starts its worker (#6170) - An ask sent to you no longer stays in
pendingfor good once no reply can reach it. A reply that Intercom refuses for good (Pending question route does not authorize this public reply) now closes the ask, and so does a refused reply to one of your subagents that has ended. A restart closes the asks of your subagents that ended and lists them once in the recovery notice (the first 20, and a count of the rest), recording many at once in a few entries so the restart does not wait for a write per ask. A released or paused subagent keeps its ask, since a reply still reaches it (#6168). - Replies that your waiting asks already received are no longer shown again after a restart of a long session. Once a compaction had left the entry that received a reply out of the reopened session, the reply came back as history, or as a new turn when its sender was still connected (#6168).
- A session reopened after a compaction no longer keeps every ask you sent that was answered, with its reply, for good. An answered ask is now recorded once its reply is taken, so the next reopened session keeps neither; a session saved by an earlier version records the answers it took at its first restart. An ask whose reply has not been shown yet, a failed ask, and an ask only another session replied to are kept as before. A reopened session with an ask still waiting for its reply connects to Intercom at once, so a reply held for it while it was closed arrives. The same applies to a subagent's
contact_supervisorquestions and their replies. - Fixed
atomic intercom restartending an unrelated process on Windows when the broker did not acknowledge its shutdown request: Windows can give the pid of a broker that has exited to another process within seconds, and the restart ended whatever process had that pid. It now ends the broker only through a handle to the process it found, only if that process is the one that recorded itself as the broker, and only the broker itself, not a process it started. When the agent directory is on a FAT or exFAT volume, whose file times cannot show which process recorded itself, it takes the pid as the broker's, as before, but still ends only the process the pid named when the restart found the broker. On Linux it signals the broker only while its pid still names the process it found. The restart's 10-second wait for the broker to exit, and a session's wait for a broker it is starting on Windows, now end as soon as the broker's pid names another process instead of running to their limit. atomic intercom upgrade, and a session replacing an older broker, no longer wait up to a minute for the older broker to exit once Windows has given its pid to another process: the wait ends as soon as the pid names another process, and the session goes on to start this version's broker. It tells by the process's start where that can be read without starting a process (Linux, and Windows with Atomic's native module), and otherwise on Windows bybroker.pid's write time. A broker spawn lock no longer stays held by a process that was given the pid of the spawner or broker it names: the lock records when that process started and is taken once the pid names a process started at another time. On macOS,atomic intercom restartreads the broker's start from Atomic's native module (without startingps), so its wait also ends once the pid names another process, and a broker that did not acknowledge its shutdown is not signalled when its pid names another process.- With multi-node routing, a reply that no route on its broker authorizes, sent while the shared database answers slowly or not at all, now gets its retryable refusal (
route_unavailable) within 5 s. Before, its two shared-database checks could each wait 5 s, so the refusal came after the sender had stopped waiting at 10 s: the sender sawSend timeout, and a reply it sent right after, which waited behind the first, timed out too. A reply whose check runs past those 5 s is refused as retryable instead of being refused for good later. - A broker restarted after a crash on a busy machine no longer drops the messages the earlier broker kept for subagents that ended when its first session registers before the store's code has loaded. The broker waits up to 2 s for its store to open, and that wait now starts once the store's code has loaded, so a slow load no longer uses it up. When that load is slow, the first session's registration can now wait up to 5 s in all instead of 2 s. Past that, the broker keeps its queue in memory, as before (#6249).
- The commands that identify the host for multi-node routing (
reg, Windows PowerShell,sysctlandioreg) run from the operating system's own directories, and thegitthat names a session's project group only from the absolute directories in your PATH; the working directory counts only when PATH names it. - With multi-node routing, two registrations of the same session on different brokers no longer both use the Intercom ID it had: while one is connected, the other gets a fresh ID. A session that left gets its ID back on any broker at once; one whose broker crashed gets it back at once on another broker of the same machine, or once that broker restarts. On a broker of another machine it gets a fresh ID while the crashed broker's hold on its ID lasts (about 30 seconds), keeps asking for its ID, and is moved back to it once the hold lapses; sends to its ID reach it throughout, and the fresh ID keeps reaching it until it leaves. Asks it got under the fresh ID can still be answered after the move, and the answer comes from the ID the asker asked. When a returning session's claim of its ID was written but answered late, and another session of it on the same broker asked for that ID meanwhile, the returning session now keeps the ID and the other gets a fresh one (it was the other way around). A broker that was paused, or could not reach the shared database, for long enough that another registration took the ID disconnects its own session as soon as the database answers, and that session reconnects with a fresh ID. A session that registered while its broker was still connecting to the shared database is checked the same way once that connection is made. Brokers of earlier versions, and a PostgreSQL runtime role without permission to change tables until
atomic storage migrateis run as the owner role, behave as before. - Quitting a session while it is still starting its Intercom broker no longer leaves that broker running for good when the quit takes longer than its 5 s shutdown bound, as it can on a loaded Windows machine. The broker start now stops as soon as the quit begins, instead of when Intercom's own shutdown step runs.
- A session answering a sender outside its groups can no longer send a fourth answer after that sender's latest message when it answered just as that message reached it: an answer that reaches Intercom once a newer message was handed to the session counts toward the newer message's 3, also with multi-node routing. An answer to the older message that crosses the newer one on its way counts toward it too.
- With multi-node routing, a session answering a sender outside its groups can no longer send a fourth answer after that sender's latest message when the shared database failed to record that message as delivered and it was handed to the session again. Answers the session sent since the message first reached it now count toward that message's 3 (#6300).
- On Windows, an Intercom broker no longer waits for good to start when an earlier broker stopped while it was starting and Windows gave that broker's process ID to another process. Brokers now record when their process was created next to its ID, so a later process with the same ID is not taken for the earlier broker. A broker of an earlier version still goes by the process ID alone (#6312).
- With multi-node routing, a session that took back its own Intercom ID without the hand-over its broker gave it for the move (for example, after Atomic restarted during the move) is now told at once that its answer to an ask sent to its earlier ID cannot be delivered. It was told to try again shortly for as long as 10 minutes after any broker went down, although no retry could succeed. The refusal is the final one (
Pending question route does not authorize this public reply), so the ask also leavespending(#6316). - The Intercom broker drops the reply routes it keeps for a released subagent's unanswered asks once the session that launched the subagent has been gone for a week, as it drops the asks it keeps for any session that has been away that long. Before, a broker kept them for as long as it ran, and enough of them made later released subagents' asks fail at once with "the Intercom broker's released-subagent reply routes are full" (#6337).
- An Intercom broker no longer creates its directory again after the agent directory was deleted while it still ran, as when a session was killed and its agent directory removed at once. It recreated the directory when a session registered, when it opened its store of messages for subagents that ended, or, with multi-node routing on macOS and Windows, when it saved an id for this machine, and then took its socket lock there as it shut down. It now keeps what it would have written in memory, and writes nothing into a directory created after it by a later broker (#6376).
- With multi-node routing, a session that its broker moved back to its earlier Intercom ID keeps the ID it had meanwhile as a second ID when that broker restarts before the session registers again, as it does without the restart. Before, the restart lost that ID. The broker now keeps these moves, for up to about 7 days, with the asks it keeps for away sessions (#6379).
- Before the builtin Intercom extension loads on first use, its
intercomandcontact_supervisortools and shortcut metadata now match the loaded extension, including thedeliveryparameter, thegroupsaction and the fullcontact_supervisorschema (#6389). - With multi-node routing, a session whose Intercom broker stopped (for example, it crashed) now gets its Intercom ID back on another broker of the same machine when the shared database answers slowly. Taking the ID from the stopped broker takes four database round trips, and the claim gave up after 2.5 s, so with round trips of about 0.7 s or more the session came back under a fresh ID. The claim now gets up to 2.5 s more while it is taking the ID from a broker that has stopped, and the registration's later wait for the database is shortened by the same time, so the session's connection attempt is not kept waiting any longer (#6369).
- On macOS, an Intercom broker's spawn and socket locks now record their holder's start beside its process ID, as on Windows and Linux, so a lock whose holder exited while macOS gave its ID to another process is taken over at once rather than when it ages out. A broker found stopped is now checked by that start, read without starting
ps. A lock written by an earlier version still goes by the process ID alone (#6394, #6406). - Database duplicate-column detection and departed-child delivery-failure messages no longer slow down on long error strings with repeated
columnphrases or leading whitespace, returning the same results in one linear pass (#6397). - The Intercom broker now checks Unix socket ownership with exact 64-bit device and inode IDs instead of rounded numbers, preventing a displaced broker on a 64-bit-inode filesystem from mistaking a newer broker's socket for its own or removing it on shutdown (#6424).
- Right after an Intercom broker restarts, a message sent to a resumed subagent can no longer overtake messages still queued for that subagent from before the restart, including while the restarted broker is identifying which subagents have queued messages or when the send addresses the subagent by its new session ID (#6420).
- A call to a libSQL server (
sqldor Turso) that waited on the server's write lock before receivingSQLITE_BUSYorSQLITE_SCHEMA(for example when another client's abandoned write timed out into a WAL checkpoint) now retries instead of failing at once. Retries use up to 5 seconds of jittered backoff and stop within at most 10 seconds from the start of the call, keeping fast refusals within about 5 seconds and stopping repeated slow-lock refusals after two attempts (#6422). - A
passwordfunction whose own request fails with a certificate code, such as one reading from a secret store whose certificate is not trusted, is no longer reported as the database server's certificate with ansslrootcertfix. It is retried and reported like any other failure of the password function, with its own message (#6171) - Detecting SQLite
PRAGMAstatements to skip no longer slows down on long whitespace-padded statements with multiple semicolons, returning the same result in one linear pass (#6397). - A background subagent that finished while its question to you (
contact_supervisoror an Intercomask) was still open is no longer relaunched after a restart only to be told that the question was interrupted. The next time the subagent runs, it is told once (#6168). - A subagent's launch card shows
Queuedwith the queued mark (○) while it waits for its turn to run, andStoppingwith the stopping mark (◼) while it is being stopped, as the agent panel shows it, instead ofRunning. - A subagent that finished without text output shows the done mark (
●) in result rows and summaries instead of!. Its label still saysDone (no text output). - On Windows, Ctrl+C, Ctrl+Break and closing the console stop
skill-creator's description scripts at once and exit with the console-interrupt status (0xC000013A). Ctrl+C no longer waits for a running query to reach its timeout, and closing the console no longer reports the running queries as failed and exits with another status. Each query's Atomic now runs in a hidden console of its own, so only the scripts receive these keys and the close, and they stop the queries. A credential command that asks for input cannot be answered in that console: give the model an API key, an environment variable or a credential command that reads a cached token. When a query fails for missing credentials, the script ends with a note pointing to "Credentials on Windows" inSKILL.md. skill-creator'srun_loop.py --holdout 0finishes and writes its report, instead of failing after its first iteration when a report is written (the default).skill-creator's review viewer prints its URL as soon as it serves when its output goes to a pipe or a file, and on Windows no longer fails before serving when that output is not the console.SKILL.mdnow starts the viewer as a background shell that keeps serving after the call that started it, and reads the URL from its output.skill-creator's scripts writefeedback.json,benchmark.json,benchmark.mdand the improvement transcripts as UTF-8, and read grading, timing and eval metadata files andSKILL.mdas UTF-8, falling back to the system's encoding for files saved in it. On Windows,aggregate_benchmark.pyno longer fails or garbles non-ASCII text.- On Windows,
skill-creator'spackage_skill.py,aggregate_benchmark.py,generate_report.pyandquick_validate.pyno longer fail when their output goes to a pipe or a file, as it does when Atomic runs them:package_skill.pyfailed on its first line, and the others on a path, name or mark outside the system's code page. The scripts and the review viewer now write their output and errors as UTF-8, so the evaluation's progress lines also show non-ASCII descriptions and queries as written. Output that is already UTF-8, such as a console's, is unchanged. - A background subagent woken by the result of a call that kept running in the background, or by a background shell it launched finishing, now gets it as a notice card in its chat (the tool, whether it finished or failed, and its output), as the main chat gets a finished background task. It no longer shows up as a queued
Follow-up: The bash call … that kept running in the background finished:message you could edit with Alt+Up, or as a message from you in its transcript, and the subagent reads each result once. When the result is the only thing that woke it, the notice starts its turn. - A subagent you paused with Esc, restored paused after a restart, no longer answers a notice it had not read yet before you continue it.
skill-creator's review viewer shows the feedback already saved for the iteration when its page is reopened or reloaded, or the viewer is started again, also from the second iteration on, where it showed empty boxes and the next keystroke's save dropped the saved feedback fromfeedback.json. Feedback from the previous iteration still shows only as previous feedback. A run's output or feedback that contains</script>no longer breaks the page.- A subagent restored after Atomic stopped unexpectedly continues on the model and thinking level it was running on, also when it was launched on a model or level its own session did not record (a
context: "fork"launch on another model than its parent's, a restored subagent that continued on another model because its own was gone, or a resumed one on another effort). Such a launch now records them in the subagent's own session before its first request, as/modeldoes, so they show there as a model or thinking level change, for example in/treeand exports. - A subagent launched again without knowing where its session ended, or on a model without a thinking level, is no longer restored with that position or level from its earlier launch.
- When Atomic itself continues a background subagent (after a restart, when you resume it without a message, or when something it waited for arrived), the subagent gets a short note in its chat saying why (
Continuing after Atomic restarted,Continuing where it left off,Woken: what it waited for arrived) instead of a message from you. Resuming a paused subagent with a message no longer queues aFollow-up: Continue where you left off…row behind your message: the subagent reads your message and the note in one request. - A background subagent resumed with a message while it waited for its run's turn, after a restart while it waited on a background call, keeps your message until that call finishes and reads it then, instead of losing it.
- The
gitthat prepares and checks a subagent's worktree runs only from the absolute directories in your PATH; the working directory counts only when PATH names it. - A background subagent woken by a result it had already read before a compaction took that part of its conversation out of its context no longer gets the result a second time.
- A background subagent whose model's provider gives a later tool call the id of an earlier one (as Kimi does) gets the late result of that later call, including when the earlier call's result arrived late too, instead of losing it as if it had already read the earlier call's result.
- Resuming a background subagent again after its earlier resume was paused while it waited for its run's turn, or after its resumed run failed, no longer waits forever (or, without a task host, until the subagent's run had a free slot): the subagent starts again with the message you resume it with.
skill-creator's review viewer no longer saves over feedback it did not show. Afeedback.jsonit cannot read, or partly cannot, is kept asfeedback.json.corrupt-<time>and the page says so before your next save replaces it; one it cannot read at all is never saved over. A tab opened before another tab or program saved feedback refuses to save over it and asks you to reload. One tab's saves are sent one at a time, in order; from Submit All Reviews until you close the done dialog every save keeps the review complete, and the dialog shows only once the review is saved; and a save that fails says so instead of showing "Saved".skill-creator's review viewer starts when the previous iteration'sfeedback.json, or a run'seval_metadata.jsonorgrading.json, cannot be read, instead of failing: the page says which feedback it could not read. It also runs with its standard output captured in place, as byrunpy.skill-creator'spackage_skill.pygives the.skillfile its name only once it is complete: a failure or Ctrl+C leaves an earlier.skillfile as it was and no partial file, a replaced file keeps its permissions, and a.skillfile written inside the skill folder no longer contains itself.- A user agent in
~/.atomic/agent/agents/now wins over an agent of the same name in~/.agents/or legacy~/.pi/agent/agents/, as.atomic/agents/already does in a project. Before, the agent in~/.agents/or~/.pi/agent/agents/ran instead. - The
subagenttool'sshareparameter no longer tells the model that it uploads the session to a GitHub Gist: it has no effect, and nothing is uploaded. Siblingsubagentcalls in one message no longer have to agree on it: one that setsshare: truenext to one that leaves it out no longer rejects both with "incompatible top-level field 'share'", and both launch. ThesessionDirparameter's description no longer says thatsharedecides whether sessions are kept; it now says thatsessionDirkeeps fresh (not forked) subagents' sessions as JSONL files under that directory instead of the launching session's store. - On Windows with Python 3.13 or 3.14, the
liteparseskill'ssearch.pyno longer fails when its output goes to a pipe, as it does when Atomic runs it, on finding two or more matches or a match with text outside the system's code page: it now writes its output and errors as UTF-8, as it already did on Python 3.15. On every system it no longer fails on a document over 64 KiB with a character split between two 64 KiB blocks, or when the document, or a 64 KiB part of it, has fewer lines than the matches asked for (-k, 10 by default). A match after the first 64 KiB now shows its line numbers in the whole document, instead of counting from the start of its block, and a line that crossed a block boundary is no longer split in two (#6298). - With Git 2.30 to 2.32, a named worktree (
worktree: { branch }) is created instead of failing withunknown option 'reason'. With those versions, one whose creation was cut off, for example by a killed Atomic, is reported as busy after a 30-second wait rather than at once (#6327). - The feedback skill's privacy scrub no longer takes seconds, or minutes on a busy machine, on long text that alternates letters or digits with
.,-,%or+, such asa-a-a-...: 64 KiB took 4 s. It finds the same emails as before, in one pass (#6352). - Creating a named worktree (
worktree: { branch }) on a busy machine no longer fails withfailed to read .../worktrees/<name>/commondirwhile Git is still registering another worktree. The add makes up to five attempts, and its own Git commands no longer use up the time it waits for that registration (#6350). - Long subagent task prompts with repeated
[Write to:markers or shell commands with repeatedsed,perl,open(or blank lines no longer slow the status display or command progress checks. Output targets, prompt wrappers and in-place file-edit commands are read in one pass, keeping full paths containing spaces or balanced brackets (such asapp/[id]/report.md), stripping injected**Output:** Write your findings to:and stacked progress-and-output trailers from prompt titles and expanded cards, and recognizing single-spacesed -i,perl -piand Pythonopen(..., mode='w')/ nested-expression writes (#6392). - A released subagent no longer gets the result of a call that finished in the background again, or as the result of a newer call, when the run that delivered it saved it but the session that launched the subagent did not record the delivery, and the subagent then made another call that its provider gave the same id. The result is now tied to the call it belongs to before any run gets it, and the newer call's own result, which was dropped as a repeat of the earlier one, now reaches that call (#6383).
- Subagent system-prompt rewriting and feedback-skill privacy scrubbing no longer slow down on long prompts with many blank lines, unclosed
<project_context>/<skills>/<skill>tags or trailing markdown wrapper markers, producing the same output in one linear pass (#6397). - A lookup that
setAutocompleteProvider(..., { preserveSelection: true })retries for the new provider no longer raises an unhandled rejection when the provider fails, and later lookups still run (#6183) - A completion lookup whose provider throws or rejects finds nothing instead of raising an unhandled rejection and stopping every later lookup, and a provider that ignores its abort signal holds the next lookup for at most 100 ms instead of indefinitely (#6213)
setAutocompleteProvider(..., { preserveSelection: true })asks the new provider for a lookup still under way also when a menu is open, so the rows that follow come from the new provider (#6213)- A lookup's answer shows at the next render. Keys pressed before then act on the menu as it was drawn while it answers the prompt's text, so an answer that reorders the rows, or that the replacement of a provider brings, no longer changes which row Enter or Tab takes or opens a menu the user has not seen; a press or click on rows that changed since they were drawn chooses nothing (#6213)
- The check whether tmux forwards hyperlinks runs
tmuxonly from the absolute directories in PATH; the working directory counts only when PATH names it. - Updated
BUNDLED_COMMAND_NAMESto match registered bundled commands: removedmcp-authand addedllama(#6389). gh,git,ffmpeg,ffprobe,yt-dlp,npm, the browser opener and the keychain helpers run only from the absolute directories in your PATH; the project folder counts only when PATH names it.- Before the builtin Web Access extension loads on first use, its
web_searchqueriesexamples,/websearchand/curatordescriptions and shortcut labels now match the loaded extension (#6389). - Extracting HTML
<body>content when detecting JS-rendered pages no longer slows down on malformed pages with many unclosed<body>tags, and no longer matches unrelated tags whose name starts withbody(such as<bodydata>) (#6397).