Repository navigation
0.9.88
Atomic runs on its own libraries, workflows scale out to worker fleets on libSQL or PostgreSQL, and every screen shares one set of keys.
Atomic's own foundation
- Forked pi libraries. Atomic now ships its own
@bastani/atomic-ai,-tui,-agent-core,-codemode,-schemaand-telemetrypackages, identifies its requests as Atomic, refreshes models from models.dev and readsATOMIC_*variables. Existing extensions andPI_*variables keep working. The Radius provider was removed (#5174)
Interface
- One set of navigation keys. Esc only interrupts or closes, ← goes back,
xtwice stops, and?shows the keys of every screen. Pickers,ask_user_question, the working line, compaction notices, subagent blocks and the workflow graph share one look, and scrolling up pins the prompt you are reading and keeps an accurate count of new messages (#5224, #5243) - Failed stages explain themselves. Enter on a failed workflow stage shows a short reason with keys to retry it, start a new run from it, or read its transcript and error log (#5224, #5234)
Workflows and worker fleets
- Worker fleets.
atomic worker start,controller,metricsandstatusjoin machines to a shared database, autoscale them through command presets for Azure, AWS, Google Cloud, Kubernetes and GitHub Actions or KEDA, share model rate limits across hosts, and ship checkpoints in batches. Pools survive store outages and lock contention without losing children, and idle workers no longer poll the shared store (#4768, #4803, #5072, #5230) - PostgreSQL storage. The new
@bastani/atomic-storage-postgresadapter holds sessions, workflow journals, worker pools and Intercom, supports cloud IAM sign-in, wakes hosts throughLISTEN/NOTIFY, claims work in parallel, and runs with a DML-only runtime role afteratomic storage migrate(#4793, #5103, #5102, #5218) - Large values on libSQL. Sessions, snapshots and workflow events over a few megabytes are stored in 1 MiB rows, so sqld no longer refuses them. The one-way schema upgrade means every host sharing a store should be upgraded together (#4954, #4965)
- Exact workflow budgets. Every model call, including compaction and a stage's subagents, is charged once, and token and cost caps stop a stage within its turn (#5053)
- Durable resumes and forks. Resumed, forked and pooled runs keep their recorded graph, answers and messages, so they no longer fail with replay mismatches or lose their history (#4945, #5042, #4871, #5027)
Sessions and resume
- Faster resumes. Headless resumes start the first turn while the blueprint builds, restores fetch one commit, idle restored worktrees are reused, and
atomic blueprint prebuildandcache-keyprepare them ahead of time (#4748, #5099) - Bounded
keepContextand sturdier compaction. Protected spans can no longer crowd out a compacted context, compaction moves to its next fallback instead of failing the turn, and resuming a compacted session reads only from its latest compaction without announcing finished tasks again (#4794, #4977, #5249) - Safe concurrent processes. Settings, credentials, trust, sessions and restored worktrees no longer lose updates or get taken over while their owner still runs, and concurrent restores on Windows no longer fail on a shared lock (#5193, #5161, #5135, #4971, #4951)
Models, tools and agents
- Steadier model calls. Overloads and transient 5xx errors are retried instead of skipped, out-of-credit accounts fall back at once, stalled streams hit their deadline, and unsupported images no longer break a session (#4994, #4918, #4904, #4908)
- Precise file tools.
edit,write,read,searchandfindno longer touch text outside the change or misread paths with brackets,@or:(#4893, #4906, #5015, #5177) - Subagents in named worktrees.
worktree: { branch }runs a subagent on its own branch, and long supervising sessions stay fast with hundreds of finished subagents (#5202, #5186) - Background work that wakes and cleans up. Heartbeats start a turn in an idle chat, and a background shell's whole process tree ends with it (#4795, #5057)
- Live
/reload. Reloading runs the code you edited in TypeScript and JavaScript extensions (#4986, #4988) - Intercom from scripts and reliable broadcasts. Codemode scripts can list and send, and a glob matching several sessions now needs
broadcast: true. A broadcast reaches every match, even hundreds of sessions, and shows once per session. Asks across brokers and restarts now always get their reply or failure (#5087, #5202, #5252, #5291, #5297)
Security
- Hardened inputs and outputs. Messages can no longer control your terminal, credentials are redacted more thoroughly, project workflows and agents load only in trusted projects, and private URLs never reach web fallbacks (#4889, #4833, #5142, #5127)
Breaking change: /workflow connect and /workflow attach are removed; use /workflows or /workflows <run-id> and press Enter on a stage to open its chat.
The full changelog is longer than a GitHub Release allows. Each package's changes for 0.9.88 are in its CHANGELOG.md under packages/.