@bastani/atomic 0.10.0-alpha.1 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/CHANGELOG.md +260 -0
  2. package/dist/builtin/intercom/CHANGELOG.md +22 -0
  3. package/dist/builtin/intercom/package.json +1 -1
  4. package/dist/builtin/mcp/package.json +1 -1
  5. package/dist/builtin/subagents/CHANGELOG.md +41 -0
  6. package/dist/builtin/subagents/package.json +1 -1
  7. package/dist/builtin/subagents/skills/tmux/scripts/wait-for-text.sh +33 -3
  8. package/dist/builtin/web-access/package.json +1 -1
  9. package/dist/core/agent-session-events.d.ts.map +1 -1
  10. package/dist/core/agent-session-events.js +21 -6
  11. package/dist/core/agent-session-events.js.map +1 -1
  12. package/dist/core/lifecycle-timings.d.ts +6 -0
  13. package/dist/core/lifecycle-timings.d.ts.map +1 -1
  14. package/dist/core/lifecycle-timings.js +12 -0
  15. package/dist/core/lifecycle-timings.js.map +1 -1
  16. package/dist/core/queued-message-delivery.d.ts +41 -0
  17. package/dist/core/queued-message-delivery.d.ts.map +1 -0
  18. package/dist/core/queued-message-delivery.js +48 -0
  19. package/dist/core/queued-message-delivery.js.map +1 -0
  20. package/dist/core/storage/node-sqlite-thread.d.ts +64 -0
  21. package/dist/core/storage/node-sqlite-thread.d.ts.map +1 -0
  22. package/dist/core/storage/node-sqlite-thread.js +326 -0
  23. package/dist/core/storage/node-sqlite-thread.js.map +1 -0
  24. package/dist/core/storage/node-sqlite.d.ts.map +1 -1
  25. package/dist/core/storage/node-sqlite.js +230 -104
  26. package/dist/core/storage/node-sqlite.js.map +1 -1
  27. package/dist/core/tasks/agent-panel-source.d.ts +5 -0
  28. package/dist/core/tasks/agent-panel-source.d.ts.map +1 -1
  29. package/dist/core/tasks/agent-panel-source.js +1 -1
  30. package/dist/core/tasks/agent-panel-source.js.map +1 -1
  31. package/dist/modes/interactive/agent-view/agent-view-bridge.d.ts +8 -1
  32. package/dist/modes/interactive/agent-view/agent-view-bridge.d.ts.map +1 -1
  33. package/dist/modes/interactive/agent-view/agent-view-bridge.js.map +1 -1
  34. package/dist/modes/interactive/agent-view/agent-view-switcher.d.ts +11 -5
  35. package/dist/modes/interactive/agent-view/agent-view-switcher.d.ts.map +1 -1
  36. package/dist/modes/interactive/agent-view/agent-view-switcher.js +17 -5
  37. package/dist/modes/interactive/agent-view/agent-view-switcher.js.map +1 -1
  38. package/dist/modes/interactive/agent-view/contracts.d.ts +5 -0
  39. package/dist/modes/interactive/agent-view/contracts.d.ts.map +1 -1
  40. package/dist/modes/interactive/agent-view/contracts.js.map +1 -1
  41. package/dist/modes/interactive/agent-view/install.d.ts.map +1 -1
  42. package/dist/modes/interactive/agent-view/install.js +6 -3
  43. package/dist/modes/interactive/agent-view/install.js.map +1 -1
  44. package/dist/modes/interactive/agent-view/local-port.d.ts +5 -0
  45. package/dist/modes/interactive/agent-view/local-port.d.ts.map +1 -1
  46. package/dist/modes/interactive/agent-view/local-port.js +8 -0
  47. package/dist/modes/interactive/agent-view/local-port.js.map +1 -1
  48. package/dist/modes/interactive/agent-view/remote-port.d.ts +4 -1
  49. package/dist/modes/interactive/agent-view/remote-port.d.ts.map +1 -1
  50. package/dist/modes/interactive/agent-view/remote-port.js +22 -8
  51. package/dist/modes/interactive/agent-view/remote-port.js.map +1 -1
  52. package/dist/modes/interactive/agent-view/transcript-slot.d.ts +9 -0
  53. package/dist/modes/interactive/agent-view/transcript-slot.d.ts.map +1 -1
  54. package/dist/modes/interactive/agent-view/transcript-slot.js +141 -1
  55. package/dist/modes/interactive/agent-view/transcript-slot.js.map +1 -1
  56. package/dist/modes/interactive/components/agent-panel.d.ts +6 -0
  57. package/dist/modes/interactive/components/agent-panel.d.ts.map +1 -1
  58. package/dist/modes/interactive/components/agent-panel.js +40 -10
  59. package/dist/modes/interactive/components/agent-panel.js.map +1 -1
  60. package/dist/modes/interactive/components/atomic-working-status.d.ts +15 -0
  61. package/dist/modes/interactive/components/atomic-working-status.d.ts.map +1 -1
  62. package/dist/modes/interactive/components/atomic-working-status.js +51 -3
  63. package/dist/modes/interactive/components/atomic-working-status.js.map +1 -1
  64. package/dist/modes/interactive/components/bash-execution.d.ts +2 -0
  65. package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
  66. package/dist/modes/interactive/components/bash-execution.js +5 -1
  67. package/dist/modes/interactive/components/bash-execution.js.map +1 -1
  68. package/dist/modes/interactive/components/branch-summary-message.d.ts +2 -0
  69. package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
  70. package/dist/modes/interactive/components/branch-summary-message.js +5 -1
  71. package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
  72. package/dist/modes/interactive/components/chat-message-renderer.d.ts +2 -0
  73. package/dist/modes/interactive/components/chat-message-renderer.d.ts.map +1 -1
  74. package/dist/modes/interactive/components/chat-message-renderer.js +17 -6
  75. package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
  76. package/dist/modes/interactive/components/chat-session-host-events.d.ts.map +1 -1
  77. package/dist/modes/interactive/components/chat-session-host-events.js +35 -4
  78. package/dist/modes/interactive/components/chat-session-host-events.js.map +1 -1
  79. package/dist/modes/interactive/components/chat-session-host-rendering.d.ts.map +1 -1
  80. package/dist/modes/interactive/components/chat-session-host-rendering.js +70 -13
  81. package/dist/modes/interactive/components/chat-session-host-rendering.js.map +1 -1
  82. package/dist/modes/interactive/components/chat-session-host-runtime.d.ts +7 -0
  83. package/dist/modes/interactive/components/chat-session-host-runtime.d.ts.map +1 -1
  84. package/dist/modes/interactive/components/chat-session-host-runtime.js +25 -4
  85. package/dist/modes/interactive/components/chat-session-host-runtime.js.map +1 -1
  86. package/dist/modes/interactive/components/chat-session-host-state.d.ts +41 -1
  87. package/dist/modes/interactive/components/chat-session-host-state.d.ts.map +1 -1
  88. package/dist/modes/interactive/components/chat-session-host-state.js +24 -3
  89. package/dist/modes/interactive/components/chat-session-host-state.js.map +1 -1
  90. package/dist/modes/interactive/components/chat-session-host-steering.d.ts.map +1 -1
  91. package/dist/modes/interactive/components/chat-session-host-steering.js +2 -1
  92. package/dist/modes/interactive/components/chat-session-host-steering.js.map +1 -1
  93. package/dist/modes/interactive/components/chat-session-host.d.ts +13 -1
  94. package/dist/modes/interactive/components/chat-session-host.d.ts.map +1 -1
  95. package/dist/modes/interactive/components/chat-session-host.js +20 -2
  96. package/dist/modes/interactive/components/chat-session-host.js.map +1 -1
  97. package/dist/modes/interactive/components/chat-transcript.d.ts +15 -0
  98. package/dist/modes/interactive/components/chat-transcript.d.ts.map +1 -1
  99. package/dist/modes/interactive/components/chat-transcript.js +14 -1
  100. package/dist/modes/interactive/components/chat-transcript.js.map +1 -1
  101. package/dist/modes/interactive/components/compaction-boundary-message.d.ts +2 -0
  102. package/dist/modes/interactive/components/compaction-boundary-message.d.ts.map +1 -1
  103. package/dist/modes/interactive/components/compaction-boundary-message.js +5 -1
  104. package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
  105. package/dist/modes/interactive/components/custom-entry.d.ts +2 -0
  106. package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -1
  107. package/dist/modes/interactive/components/custom-entry.js +5 -1
  108. package/dist/modes/interactive/components/custom-entry.js.map +1 -1
  109. package/dist/modes/interactive/components/custom-message.d.ts +2 -0
  110. package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
  111. package/dist/modes/interactive/components/custom-message.js +5 -1
  112. package/dist/modes/interactive/components/custom-message.js.map +1 -1
  113. package/dist/modes/interactive/components/model-column.d.ts +96 -0
  114. package/dist/modes/interactive/components/model-column.d.ts.map +1 -0
  115. package/dist/modes/interactive/components/model-column.js +207 -0
  116. package/dist/modes/interactive/components/model-column.js.map +1 -0
  117. package/dist/modes/interactive/components/prompt-slot.d.ts +73 -0
  118. package/dist/modes/interactive/components/prompt-slot.d.ts.map +1 -0
  119. package/dist/modes/interactive/components/prompt-slot.js +201 -0
  120. package/dist/modes/interactive/components/prompt-slot.js.map +1 -0
  121. package/dist/modes/interactive/components/queued-messages-view.d.ts +6 -3
  122. package/dist/modes/interactive/components/queued-messages-view.d.ts.map +1 -1
  123. package/dist/modes/interactive/components/queued-messages-view.js +7 -4
  124. package/dist/modes/interactive/components/queued-messages-view.js.map +1 -1
  125. package/dist/modes/interactive/components/session-selector.d.ts +2 -0
  126. package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
  127. package/dist/modes/interactive/components/session-selector.js +4 -0
  128. package/dist/modes/interactive/components/session-selector.js.map +1 -1
  129. package/dist/modes/interactive/components/skill-invocation-message.d.ts +2 -0
  130. package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
  131. package/dist/modes/interactive/components/skill-invocation-message.js +5 -1
  132. package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
  133. package/dist/modes/interactive/components/task-board.d.ts +12 -3
  134. package/dist/modes/interactive/components/task-board.d.ts.map +1 -1
  135. package/dist/modes/interactive/components/task-board.js +33 -17
  136. package/dist/modes/interactive/components/task-board.js.map +1 -1
  137. package/dist/modes/interactive/components/task-inspector.d.ts +6 -1
  138. package/dist/modes/interactive/components/task-inspector.d.ts.map +1 -1
  139. package/dist/modes/interactive/components/task-inspector.js +27 -7
  140. package/dist/modes/interactive/components/task-inspector.js.map +1 -1
  141. package/dist/modes/interactive/components/task-row.d.ts +4 -0
  142. package/dist/modes/interactive/components/task-row.d.ts.map +1 -1
  143. package/dist/modes/interactive/components/task-row.js +7 -1
  144. package/dist/modes/interactive/components/task-row.js.map +1 -1
  145. package/dist/modes/interactive/components/task-transcript-page.d.ts +5 -0
  146. package/dist/modes/interactive/components/task-transcript-page.d.ts.map +1 -1
  147. package/dist/modes/interactive/components/task-transcript-page.js +25 -0
  148. package/dist/modes/interactive/components/task-transcript-page.js.map +1 -1
  149. package/dist/modes/interactive/components/tool-execution.d.ts +7 -0
  150. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  151. package/dist/modes/interactive/components/tool-execution.js +19 -2
  152. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  153. package/dist/modes/interactive/components/tool-group-tracker.d.ts +20 -3
  154. package/dist/modes/interactive/components/tool-group-tracker.d.ts.map +1 -1
  155. package/dist/modes/interactive/components/tool-group-tracker.js +34 -7
  156. package/dist/modes/interactive/components/tool-group-tracker.js.map +1 -1
  157. package/dist/modes/interactive/components/transcript-block-clicks.d.ts +14 -2
  158. package/dist/modes/interactive/components/transcript-block-clicks.d.ts.map +1 -1
  159. package/dist/modes/interactive/components/transcript-block-clicks.js +23 -2
  160. package/dist/modes/interactive/components/transcript-block-clicks.js.map +1 -1
  161. package/dist/modes/interactive/interactive-agent-events.js +10 -2
  162. package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
  163. package/dist/modes/interactive/interactive-extension-runtime.d.ts +12 -1
  164. package/dist/modes/interactive/interactive-extension-runtime.d.ts.map +1 -1
  165. package/dist/modes/interactive/interactive-extension-runtime.js +37 -5
  166. package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
  167. package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
  168. package/dist/modes/interactive/interactive-input-handling.js +70 -46
  169. package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
  170. package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
  171. package/dist/modes/interactive/interactive-mode-base.js +7 -1
  172. package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
  173. package/dist/modes/interactive/interactive-prompt-turn.js +17 -9
  174. package/dist/modes/interactive/interactive-prompt-turn.js.map +1 -1
  175. package/dist/modes/interactive/interactive-queueing.d.ts.map +1 -1
  176. package/dist/modes/interactive/interactive-queueing.js +2 -1
  177. package/dist/modes/interactive/interactive-queueing.js.map +1 -1
  178. package/dist/modes/interactive/interactive-render-chat.d.ts +18 -1
  179. package/dist/modes/interactive/interactive-render-chat.d.ts.map +1 -1
  180. package/dist/modes/interactive/interactive-render-chat.js +90 -10
  181. package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
  182. package/dist/modes/interactive/interactive-session-routing.js +2 -0
  183. package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
  184. package/dist/modes/interactive/interactive-task-projection.js +2 -2
  185. package/dist/modes/interactive/interactive-task-projection.js.map +1 -1
  186. package/dist/modes/interactive/screen-hold.d.ts +41 -0
  187. package/dist/modes/interactive/screen-hold.d.ts.map +1 -0
  188. package/dist/modes/interactive/screen-hold.js +80 -0
  189. package/dist/modes/interactive/screen-hold.js.map +1 -0
  190. package/dist/modes/interactive/started-run-echo.d.ts +66 -0
  191. package/dist/modes/interactive/started-run-echo.d.ts.map +1 -0
  192. package/dist/modes/interactive/started-run-echo.js +75 -0
  193. package/dist/modes/interactive/started-run-echo.js.map +1 -0
  194. package/dist/modes/interactive-engine/engine-custom-ui.d.ts +1 -0
  195. package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
  196. package/dist/modes/interactive-engine/engine-custom-ui.js +25 -1
  197. package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
  198. package/dist/modes/interactive-engine/engine-quit-intent.d.ts.map +1 -1
  199. package/dist/modes/interactive-engine/engine-quit-intent.js +3 -0
  200. package/dist/modes/interactive-engine/engine-quit-intent.js.map +1 -1
  201. package/dist/modes/interactive-engine/protocol.d.ts +5 -0
  202. package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
  203. package/dist/modes/interactive-engine/protocol.js +7 -1
  204. package/dist/modes/interactive-engine/protocol.js.map +1 -1
  205. package/dist/modes/interactive-engine/remote-component.d.ts +10 -2
  206. package/dist/modes/interactive-engine/remote-component.d.ts.map +1 -1
  207. package/dist/modes/interactive-engine/remote-component.js +19 -2
  208. package/dist/modes/interactive-engine/remote-component.js.map +1 -1
  209. package/dist/modes/interactive-engine/remote-renderer.d.ts +10 -0
  210. package/dist/modes/interactive-engine/remote-renderer.d.ts.map +1 -1
  211. package/dist/modes/interactive-engine/remote-renderer.js +24 -4
  212. package/dist/modes/interactive-engine/remote-renderer.js.map +1 -1
  213. package/dist/modes/interactive-engine/transcript-frame-layout.d.ts +50 -0
  214. package/dist/modes/interactive-engine/transcript-frame-layout.d.ts.map +1 -0
  215. package/dist/modes/interactive-engine/transcript-frame-layout.js +95 -0
  216. package/dist/modes/interactive-engine/transcript-frame-layout.js.map +1 -0
  217. package/dist/modes/rpc/agent-panel-bridge.d.ts.map +1 -1
  218. package/dist/modes/rpc/agent-panel-bridge.js +16 -0
  219. package/dist/modes/rpc/agent-panel-bridge.js.map +1 -1
  220. package/dist/modes/rpc/agent-view-engine-registry.d.ts.map +1 -1
  221. package/dist/modes/rpc/agent-view-engine-registry.js +36 -1
  222. package/dist/modes/rpc/agent-view-engine-registry.js.map +1 -1
  223. package/dist/modes/rpc/agent-view-rpc-panel.d.ts.map +1 -1
  224. package/dist/modes/rpc/agent-view-rpc-panel.js +5 -1
  225. package/dist/modes/rpc/agent-view-rpc-panel.js.map +1 -1
  226. package/dist/modes/rpc/task-ui-bridge.js +1 -1
  227. package/dist/modes/rpc/task-ui-bridge.js.map +1 -1
  228. package/docs/background-tasks.md +1 -1
  229. package/docs/development.md +2 -0
  230. package/docs/extensions/authoring.md +1 -1
  231. package/docs/keybindings.md +2 -2
  232. package/docs/storage.md +1 -0
  233. package/npm-shrinkwrap.json +49 -49
  234. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,266 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.10.1] - 2026-11-20
6
+
7
+ Typing and rendering keep going while Atomic reads and writes its local SQLite files, and the chat screen no longer flashes blank or shifted frames.
8
+
9
+ **Storage off the interface**
10
+
11
+ - **SQLite no longer freezes the interface.** Each connection to a local SQLite file runs on a thread of its own, so typing, rendering and clicks keep working while a session store opens, waits for another process's write lock or commits, and while a long session loads. Opening a store takes up to about 25 ms longer while its thread starts ([#5376](https://github.com/bastani-inc/atomic/issues/5376), [#6059](https://github.com/bastani-inc/atomic/pull/6059))
12
+ - **The history index builds without pauses.** Building the `history://` search index of a long session no longer pauses typing and rendering on a slow disk. The build itself takes 6 to 12% longer on a lightly loaded machine and up to about twice as long when the CPUs are oversubscribed, so the first `history://` search of a long session that has no index yet covers fewer entries per call ([#5666](https://github.com/bastani-inc/atomic/issues/5666), [#6060](https://github.com/bastani-inc/atomic/pull/6060))
13
+ - **Open shared SQLite files with `openNodeSqliteDatabase`.** Its connections in one process now wait for each other's write lock instead of failing with `database is locked`. In SDK hosts, a `DatabaseSync` of your own or a `wrapNodeSqliteDatabase` handle that writes the file during such a transaction can now fail with `SQLITE_BUSY` ([#5376](https://github.com/bastani-inc/atomic/issues/5376))
14
+
15
+ **A steadier chat screen**
16
+
17
+ - **The chat stays still during a run.** The working row under the prompt stays on screen between a run's turns, and a message you send no longer vanishes for a frame as its run starts. Subagent chats keep their working row the same way, and their token count no longer dips for a frame ([#6054](https://github.com/bastani-inc/atomic/pull/6054))
18
+ - **Views and fullscreen open without a blank frame.** `/model`, `/scoped-models`, `/tree`, `/resume` and `/tasks` keep the prompt on screen until their view can draw. On most terminals, fullscreen keeps the previous screen until its first frame, at start and when you come back from an external editor, a subshell or a suspended session ([#6057](https://github.com/bastani-inc/atomic/pull/6057), [#6056](https://github.com/bastani-inc/atomic/pull/6056))
19
+ - **Subagents stay in place.** A subagent shown on the chat screen no longer jumps when the prompt or panel below it changes height, and Enter on a subagent in `/tasks` no longer flashes the main chat's prompt first. A steering or follow-up message stays listed until it shows in the subagent's transcript ([#6055](https://github.com/bastani-inc/atomic/pull/6055), [#6071](https://github.com/bastani-inc/atomic/pull/6071))
20
+ - **Task rows stay still.** A new subagent's row in `/tasks` and the agent panel no longer shifts twice as its model and then its reasoning level arrive, and the model column no longer narrows while the list stays open ([#6061](https://github.com/bastani-inc/atomic/pull/6061))
21
+ - **A click expands one block.** A click on a block's `(ctrl+o to expand)` hint opens or folds only that block, so tool blocks that stream in later no longer start expanded, and tool calls that join a group after a click are no longer hidden ([#6062](https://github.com/bastani-inc/atomic/pull/6062))
22
+
23
+ **Standalone binaries**
24
+
25
+ - **Bun 1.4.5 with its security fixes.** The standalone binaries now embed Bun 1.4.5, with its fixes for TLS, HTTP and DNS. They check custom CA certificates as the npm-installed `atomic` does, so a root certificate in `NODE_EXTRA_CA_CERTS` or a PostgreSQL `sslrootcert` that is not marked as a CA, or is limited to client authentication, is now refused ([#6066](https://github.com/bastani-inc/atomic/pull/6066))
26
+
27
+ **Diagnostics and skills**
28
+
29
+ - **Windows startup traces keep their last lines.** On Windows, `ATOMIC_STARTUP_TRACE` keeps the engine's last lines when you quit soon after they are recorded ([#6058](https://github.com/bastani-inc/atomic/pull/6058))
30
+ - **The tmux wait helper stops on interrupt.** The bundled tmux skill's `wait-for-text.sh` stops within a second of an interrupt on bash 5.2 and older, instead of waiting for a stalled capture or its timeout ([#6053](https://github.com/bastani-inc/atomic/pull/6053))
31
+
32
+ ### Changed
33
+
34
+ - Local SQLite storage runs each connection to a file on a worker thread of its own, so opening a session store, waiting for another process's write lock and synced commits no longer freeze typing, rendering, streamed output or clicks in `/tasks`. Loading a long session no longer holds the interface for its whole read. In-memory databases and connections passed to `wrapNodeSqliteDatabase` still run on the calling thread ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
35
+ - SDK: in one process, a `DatabaseSync` of your own or a `wrapNodeSqliteDatabase` handle that writes a file while an `openNodeSqliteDatabase` transaction on it is open can now wait for its busy timeout on your thread and fail with `SQLITE_BUSY`, where before the write usually ran after the transaction. Open every handle that writes a shared file with `openNodeSqliteDatabase` ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
36
+ - The standalone `atomic` binaries are now built with Bun 1.4.5, which includes upstream security fixes for TLS, HTTP and DNS in the embedded runtime. They now check custom CA certificates, such as those in `NODE_EXTRA_CA_CERTS` or a PostgreSQL `sslrootcert`, the way Node.js and the npm-installed `atomic` already do: a root certificate that is not marked as a CA, or that is limited to client authentication, is refused with `INVALID_PURPOSE` ([#6066](https://github.com/bastani-inc/atomic/pull/6066)).
37
+
38
+ ### Fixed
39
+
40
+ - A write outside a transaction no longer fails with `database is locked` while another connection of the same process holds the write lock across an await: it now waits on its own connection's thread until that transaction commits ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
41
+ - Building the `history://` search index of a long session no longer pauses typing and rendering while the index is written to a slow disk ([#5666](https://github.com/bastani-inc/atomic/issues/5666)).
42
+ - The working row under the prompt no longer disappears for a moment between two turns of a run (after a tool call, before the next request), so the chat above it no longer jumps down and back up; it stays still until the next turn starts. Subagent chats keep theirs the same way, and a subagent's working line no longer shows a smaller token count for a moment when an answer settles ([#6054](https://github.com/bastani-inc/atomic/pull/6054)).
43
+ - A sent message and the working row under it no longer vanish and reappear for a moment when the engine answers that it started the run before the run's first events arrive, which happened on most first prompts of a session and on some later ones ([#6054](https://github.com/bastani-inc/atomic/pull/6054)).
44
+ - `/model`, `/scoped-models`, `/tree`, `/resume` and `/tasks` open their view without first flashing an empty prompt or a blank panel, and the chat above no longer jumps down and back: the prompt stays on screen until the view has something to draw. A panel the engine opens in the prompt's place, such as `/tasks` from its key, waits for its first frame the same way ([#6057](https://github.com/bastani-inc/atomic/pull/6057)).
45
+ - Starting Atomic in fullscreen, or returning to it from an external editor, a subshell or a suspended session, no longer blanks the terminal before the first frame: the previous screen stays until the full interface replaces it in one screen update. WezTerm and Alacritty keep the previous behavior, because they hold back their answers to Atomic's startup terminal queries until that update ends ([#6056](https://github.com/bastani-inc/atomic/pull/6056)).
46
+ - A subagent shown on the chat screen no longer jumps when the prompt, autocomplete list or panel below it changes height: the rows already on screen stay where they are while its transcript redraws for the new size, and its notes and question form stay at the bottom ([#6055](https://github.com/bastani-inc/atomic/pull/6055)).
47
+ - Enter on a subagent in `/tasks` no longer shows the main chat's prompt for a moment before the subagent appears: the prompt, footer and panel stay as painted until the subagent is shown (or cannot be), while the transcript above keeps updating. Any key you press shows the screen as it is at once, as does a run starting or finishing ([#6055](https://github.com/bastani-inc/atomic/pull/6055), [#6057](https://github.com/bastani-inc/atomic/pull/6057)).
48
+ - A queued message to a subagent no longer disappears for a frame when the subagent takes it. Its `Steering:` or `Follow-up:` row now stays until the message itself shows in the subagent's transcript, and goes in the same frame, also while extensions handle the message first ([#6071](https://github.com/bastani-inc/atomic/pull/6071)).
49
+ - A new subagent's row in `/tasks` and the agent panel no longer shifts its task twice as its model and then its reasoning level arrive. The row shows its model together with its level, or alone if no level arrives within a second, and a model without reasoning levels at once. While `/tasks` or the panel stays open, the model column no longer narrows while it still fits, so rows do not move when the subagent with the longest model falls back or leaves ([#6061](https://github.com/bastani-inc/atomic/pull/6061)).
50
+ - A click on the `(ctrl+o to expand)` hint of a tool block, a grouped-call summary or another block that Ctrl+O expands now opens or folds that block alone, like a click anywhere else on it. It used to press Ctrl+O, which expanded every block in the chat, so every tool block that streamed in afterwards also opened expanded. Ctrl+O and the `ctrl+o expand` hint under the prompt still expand every block ([#6062](https://github.com/bastani-inc/atomic/pull/6062)).
51
+ - Tool calls that join a group after a click opened one of its calls now appear as their own folded blocks, and a click opens each one on its own. They used to be hidden until the group was folded again. Ctrl+O draws the whole group as one summary again ([#6062](https://github.com/bastani-inc/atomic/pull/6062)).
52
+ - On Windows, the startup trace (`ATOMIC_STARTUP_TRACE`) keeps the engine's last lines, such as `engine-resources-ready`, when you quit soon after they are recorded. Windows ends the engine as soon as the host has its quit acknowledgement, without running exit handlers, so the engine now writes any waiting lines before it acknowledges, as the event-loop diagnostic already does. This also holds in the standalone binary. The [event-loop diagnostic's docs](docs/development.md#finding-what-freezes-the-ui) now say which engine records Windows does not get ([#6058](https://github.com/bastani-inc/atomic/pull/6058)).
53
+
54
+ ## [0.10.1-alpha.1] - 2026-11-20
55
+
56
+ Typing and rendering keep going while Atomic reads and writes its local SQLite files, and the chat screen no longer flashes blank or shifted frames.
57
+
58
+ **Storage off the interface**
59
+
60
+ - **SQLite no longer freezes the interface.** Each connection to a local SQLite file runs on a thread of its own, so typing, rendering and clicks keep working while a session store opens, waits for another process's write lock or commits, and while a long session loads. Opening a store takes up to about 25 ms longer while its thread starts ([#5376](https://github.com/bastani-inc/atomic/issues/5376), [#6059](https://github.com/bastani-inc/atomic/pull/6059))
61
+ - **The history index builds without pauses.** Building the `history://` search index of a long session no longer pauses typing and rendering on a slow disk. The build itself takes 6 to 12% longer on a lightly loaded machine and up to about twice as long when the CPUs are oversubscribed, so the first `history://` search of a long session that has no index yet covers fewer entries per call ([#5666](https://github.com/bastani-inc/atomic/issues/5666), [#6060](https://github.com/bastani-inc/atomic/pull/6060))
62
+ - **Open shared SQLite files with `openNodeSqliteDatabase`.** Its connections in one process now wait for each other's write lock instead of failing with `database is locked`. In SDK hosts, a `DatabaseSync` of your own or a `wrapNodeSqliteDatabase` handle that writes the file during such a transaction can now fail with `SQLITE_BUSY` ([#5376](https://github.com/bastani-inc/atomic/issues/5376))
63
+
64
+ **A steadier chat screen**
65
+
66
+ - **The chat stays still during a run.** The working row under the prompt stays on screen between a run's turns, and a message you send no longer vanishes for a frame as its run starts. Subagent chats keep their working row the same way, and their token count no longer dips for a frame ([#6054](https://github.com/bastani-inc/atomic/pull/6054))
67
+ - **Views and fullscreen open without a blank frame.** `/model`, `/scoped-models`, `/tree`, `/resume` and `/tasks` keep the prompt on screen until their view can draw. On most terminals, fullscreen keeps the previous screen until its first frame, at start and when you come back from an external editor, a subshell or a suspended session ([#6057](https://github.com/bastani-inc/atomic/pull/6057), [#6056](https://github.com/bastani-inc/atomic/pull/6056))
68
+ - **Subagents stay in place.** A subagent shown on the chat screen no longer jumps when the prompt or panel below it changes height, and Enter on a subagent in `/tasks` no longer flashes the main chat's prompt first. A steering or follow-up message stays listed until it shows in the subagent's transcript ([#6055](https://github.com/bastani-inc/atomic/pull/6055), [#6071](https://github.com/bastani-inc/atomic/pull/6071))
69
+ - **Task rows stay still.** A new subagent's row in `/tasks` and the agent panel no longer shifts twice as its model and then its reasoning level arrive, and the model column no longer narrows while the list stays open ([#6061](https://github.com/bastani-inc/atomic/pull/6061))
70
+ - **A click expands one block.** A click on a block's `(ctrl+o to expand)` hint opens or folds only that block, so tool blocks that stream in later no longer start expanded, and tool calls that join a group after a click are no longer hidden ([#6062](https://github.com/bastani-inc/atomic/pull/6062))
71
+
72
+ **Standalone binaries**
73
+
74
+ - **Bun 1.4.5 with its security fixes.** The standalone binaries now embed Bun 1.4.5, with its fixes for TLS, HTTP and DNS. They check custom CA certificates as the npm-installed `atomic` does, so a root certificate in `NODE_EXTRA_CA_CERTS` or a PostgreSQL `sslrootcert` that is not marked as a CA, or is limited to client authentication, is now refused ([#6066](https://github.com/bastani-inc/atomic/pull/6066))
75
+
76
+ **Diagnostics and skills**
77
+
78
+ - **Windows startup traces keep their last lines.** On Windows, `ATOMIC_STARTUP_TRACE` keeps the engine's last lines when you quit soon after they are recorded ([#6058](https://github.com/bastani-inc/atomic/pull/6058))
79
+ - **The tmux wait helper stops on interrupt.** The bundled tmux skill's `wait-for-text.sh` stops within a second of an interrupt on bash 5.2 and older, instead of waiting for a stalled capture or its timeout ([#6053](https://github.com/bastani-inc/atomic/pull/6053))
80
+
81
+ ### Changed
82
+
83
+ - Local SQLite storage runs each connection to a file on a worker thread of its own, so opening a session store, waiting for another process's write lock and synced commits no longer freeze typing, rendering, streamed output or clicks in `/tasks`. Loading a long session no longer holds the interface for its whole read. In-memory databases and connections passed to `wrapNodeSqliteDatabase` still run on the calling thread ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
84
+ - SDK: in one process, a `DatabaseSync` of your own or a `wrapNodeSqliteDatabase` handle that writes a file while an `openNodeSqliteDatabase` transaction on it is open can now wait for its busy timeout on your thread and fail with `SQLITE_BUSY`, where before the write usually ran after the transaction. Open every handle that writes a shared file with `openNodeSqliteDatabase` ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
85
+ - The standalone `atomic` binaries are now built with Bun 1.4.5, which includes upstream security fixes for TLS, HTTP and DNS in the embedded runtime. They now check custom CA certificates, such as those in `NODE_EXTRA_CA_CERTS` or a PostgreSQL `sslrootcert`, the way Node.js and the npm-installed `atomic` already do: a root certificate that is not marked as a CA, or that is limited to client authentication, is refused with `INVALID_PURPOSE` ([#6066](https://github.com/bastani-inc/atomic/pull/6066)).
86
+
87
+ ### Fixed
88
+
89
+ - A write outside a transaction no longer fails with `database is locked` while another connection of the same process holds the write lock across an await: it now waits on its own connection's thread until that transaction commits ([#5376](https://github.com/bastani-inc/atomic/issues/5376)).
90
+ - Building the `history://` search index of a long session no longer pauses typing and rendering while the index is written to a slow disk ([#5666](https://github.com/bastani-inc/atomic/issues/5666)).
91
+ - The working row under the prompt no longer disappears for a moment between two turns of a run (after a tool call, before the next request), so the chat above it no longer jumps down and back up; it stays still until the next turn starts. Subagent chats keep theirs the same way, and a subagent's working line no longer shows a smaller token count for a moment when an answer settles ([#6054](https://github.com/bastani-inc/atomic/pull/6054)).
92
+ - A sent message and the working row under it no longer vanish and reappear for a moment when the engine answers that it started the run before the run's first events arrive, which happened on most first prompts of a session and on some later ones ([#6054](https://github.com/bastani-inc/atomic/pull/6054)).
93
+ - `/model`, `/scoped-models`, `/tree`, `/resume` and `/tasks` open their view without first flashing an empty prompt or a blank panel, and the chat above no longer jumps down and back: the prompt stays on screen until the view has something to draw. A panel the engine opens in the prompt's place, such as `/tasks` from its key, waits for its first frame the same way ([#6057](https://github.com/bastani-inc/atomic/pull/6057)).
94
+ - Starting Atomic in fullscreen, or returning to it from an external editor, a subshell or a suspended session, no longer blanks the terminal before the first frame: the previous screen stays until the full interface replaces it in one screen update. WezTerm and Alacritty keep the previous behavior, because they hold back their answers to Atomic's startup terminal queries until that update ends ([#6056](https://github.com/bastani-inc/atomic/pull/6056)).
95
+ - A subagent shown on the chat screen no longer jumps when the prompt, autocomplete list or panel below it changes height: the rows already on screen stay where they are while its transcript redraws for the new size, and its notes and question form stay at the bottom ([#6055](https://github.com/bastani-inc/atomic/pull/6055)).
96
+ - Enter on a subagent in `/tasks` no longer shows the main chat's prompt for a moment before the subagent appears: the prompt, footer and panel stay as painted until the subagent is shown (or cannot be), while the transcript above keeps updating. Any key you press shows the screen as it is at once, as does a run starting or finishing ([#6055](https://github.com/bastani-inc/atomic/pull/6055), [#6057](https://github.com/bastani-inc/atomic/pull/6057)).
97
+ - A queued message to a subagent no longer disappears for a frame when the subagent takes it. Its `Steering:` or `Follow-up:` row now stays until the message itself shows in the subagent's transcript, and goes in the same frame, also while extensions handle the message first ([#6071](https://github.com/bastani-inc/atomic/pull/6071)).
98
+ - A new subagent's row in `/tasks` and the agent panel no longer shifts its task twice as its model and then its reasoning level arrive. The row shows its model together with its level, or alone if no level arrives within a second, and a model without reasoning levels at once. While `/tasks` or the panel stays open, the model column no longer narrows while it still fits, so rows do not move when the subagent with the longest model falls back or leaves ([#6061](https://github.com/bastani-inc/atomic/pull/6061)).
99
+ - A click on the `(ctrl+o to expand)` hint of a tool block, a grouped-call summary or another block that Ctrl+O expands now opens or folds that block alone, like a click anywhere else on it. It used to press Ctrl+O, which expanded every block in the chat, so every tool block that streamed in afterwards also opened expanded. Ctrl+O and the `ctrl+o expand` hint under the prompt still expand every block ([#6062](https://github.com/bastani-inc/atomic/pull/6062)).
100
+ - Tool calls that join a group after a click opened one of its calls now appear as their own folded blocks, and a click opens each one on its own. They used to be hidden until the group was folded again. Ctrl+O draws the whole group as one summary again ([#6062](https://github.com/bastani-inc/atomic/pull/6062)).
101
+ - On Windows, the startup trace (`ATOMIC_STARTUP_TRACE`) keeps the engine's last lines, such as `engine-resources-ready`, when you quit soon after they are recorded. Windows ends the engine as soon as the host has its quit acknowledgement, without running exit handlers, so the engine now writes any waiting lines before it acknowledges, as the event-loop diagnostic already does. This also holds in the standalone binary. The [event-loop diagnostic's docs](docs/development.md#finding-what-freezes-the-ui) now say which engine records Windows does not get ([#6058](https://github.com/bastani-inc/atomic/pull/6058)).
102
+
103
+ ## [0.10.0] - 2026-11-20
104
+
105
+ Codemode and subagents replace workflows, subagents share the main chat screen with its steering and can be resumed by a message, and long sessions keep only their current context in memory.
106
+
107
+ **Codemode and subagents**
108
+
109
+ - **Scripts launch and steer subagents.** A codemode script launches one or many subagents in the background and gets their task IDs at once, then checks status, waits with a budget, or pauses, quits and resumes its own children. `subagent({ action: "models" })` lists your models and their thinking levels ([#5927](https://github.com/bastani-inc/atomic/pull/5927))
110
+ - **Codemode is on by default.** New sessions can script tool calls and delegation without adding `+codemode`. `codemode.inlineBudget` bounds the declarations it adds to the prompt, and `"defaultTools": ["-codemode"]` or `--tools -codemode` turns it off ([#5939](https://github.com/bastani-inc/atomic/pull/5939))
111
+ - **Finished subagents say how to continue them.** A completion notice and a finished child's `wait` or `status` output name the `subagent({ action: "resume", … })` call that continues it, and `/tasks` shows its resume ID, so a follow-up continues the same child instead of starting over ([#5968](https://github.com/bastani-inc/atomic/pull/5968))
112
+ - **General skills ship with subagents.** `create-spec`, `research-codebase`, `skill-creator` and the other general skills now come with the subagents builtin, unchanged, so they stay when workflows go ([#5923](https://github.com/bastani-inc/atomic/pull/5923))
113
+
114
+ **From workflows to skills**
115
+
116
+ - **Old workflow files become skills.** Startup points out earlier workflow files, and `/skill:workflow-files` converts one into a project or user skill that runs with codemode and subagents. The original file is never run, changed or overwritten ([#5924](https://github.com/bastani-inc/atomic/pull/5924))
117
+ - **Packages ship agents.** A package can list subagent definitions under `agents` in its manifest. They run as `<namespace>.<name>` with their pinned models, fallback models and tools, and `/skill:workflow-files` turns a workflow stage's pins into such an agent ([#5991](https://github.com/bastani-inc/atomic/issues/5991))
118
+ - **Orchestration guides.** New guides cover the delegation patterns, recovery after a restart and a replacement for each builtin workflow, and links to the retired workflow guides redirect to them ([#5924](https://github.com/bastani-inc/atomic/pull/5924), [#5946](https://github.com/bastani-inc/atomic/pull/5946))
119
+ - **Workflows are removed.** The `workflow` tool, `/workflows`, `/workflow-authoring`, F2, the builtin workflows such as `ralph` and `goal`, `atomic worker`, and the workflow APIs for extensions, SDK hosts and RPC clients are gone. `/resume`, `/tasks`, the agent panel and `history://` list sessions only ([#5926](https://github.com/bastani-inc/atomic/pull/5926), [#5941](https://github.com/bastani-inc/atomic/pull/5941), [#5932](https://github.com/bastani-inc/atomic/pull/5932), [#5922](https://github.com/bastani-inc/atomic/pull/5922), [#5925](https://github.com/bastani-inc/atomic/pull/5925), [#5928](https://github.com/bastani-inc/atomic/pull/5928), [#5918](https://github.com/bastani-inc/atomic/pull/5918), [#5931](https://github.com/bastani-inc/atomic/pull/5931))
120
+ - **Your workflow data stays put.** Storage covers sessions and Intercom only. Journals, `wf_*` tables and run artifacts from earlier releases are never opened, changed or deleted, so an earlier release still finds its runs ([#5943](https://github.com/bastani-inc/atomic/pull/5943))
121
+ - **0.9.x and 0.10.0 sessions keep talking.** Sessions of both versions message each other through whichever Intercom broker is running, and a `workflow:` target now gets `Session not found`, like any name that no session has ([#5947](https://github.com/bastani-inc/atomic/pull/5947))
122
+
123
+ **Memory in long sessions**
124
+
125
+ - **Sessions hold only their current context.** Sessions, extensions and RPC clients open at the current context window, imported sessions too, and Atomic reads older entries a page at a time, `/session` included, so long sessions use less memory after clears and compactions ([#5554](https://github.com/bastani-inc/atomic/issues/5554))
126
+ - **Older messages load as you scroll.** Fullscreen main chats, subagent chats and saved task transcripts read older turns in bounded pages, a compaction while you are scrolled up keeps your place and selection, and Ctrl+End returns to live output and releases those pages ([#5593](https://github.com/bastani-inc/atomic/issues/5593))
127
+ - **Lighter forks.** A `context: "fork"` subagent copies only the context at its fork point, a fork waiting for a slot starts at its launch entry, and `/fork` and `/clone` stream the selected path instead of loading the whole session ([#5500](https://github.com/bastani-inc/atomic/issues/5500), [#5594](https://github.com/bastani-inc/atomic/issues/5594))
128
+
129
+ **Chats and subagents**
130
+
131
+ - **One chat screen for main and subagents.** Enter on a subagent in the agent panel or `/tasks` shows its live transcript on the main screen and points the prompt at it, each agent keeps its own draft and prompt history, and Esc or Ctrl+C on an empty prompt goes back to main. Built-in commands still act on the main chat and ask before they rewrite it ([#6032](https://github.com/bastani-inc/atomic/pull/6032))
132
+ - **Steer subagents like the main chat.** While a subagent is shown, Enter queues a steering message and Alt+Enter a follow-up, Alt+Up brings them back to edit, Esc pauses it until you send it a message, and a continued subagent keeps its `/tasks` row ([#6008](https://github.com/bastani-inc/atomic/pull/6008))
133
+ - **Messages wake finished subagents.** Any session that can message a completed or failed subagent can resume it, and the message reaches it in its own session while the session that launched it keeps its result and `/tasks` row. Resumes by messages are bounded per subagent and per chain of agents waking each other, and queued messages survive an Intercom restart ([#5999](https://github.com/bastani-inc/atomic/issues/5999))
134
+ - **Sessions are reachable from the start.** An interactive session joins Intercom in the background shortly after it starts, so other sessions in its group can list it and message it before it has used Intercom itself; `"joinAtStartup": false` in Intercom's `config.json` or `ATOMIC_INTERCOM_JOIN_AT_STARTUP=0` keeps the join on first use ([#6037](https://github.com/bastani-inc/atomic/pull/6037))
135
+ - **See each subagent's model.** The agent panel and `/tasks` show the model and reasoning level each subagent runs on, and the column follows fallbacks and resumes as they happen ([#6017](https://github.com/bastani-inc/atomic/pull/6017))
136
+ - **One retry line in every chat.** Main, subagent and task chats show `Retrying · <reason> · attempt 2/3 in 4s` with a countdown, and a clickable `esc cancel` wherever Esc cancels the retry ([#5961](https://github.com/bastani-inc/atomic/pull/5961))
137
+ - **Reopened chats keep their notices.** Failed and cancelled retries and compactions, checkout snapshot warnings, prompt-cache misses and dropped-thinking notices stay beside the replies they belong to after a reopen or redraw in the default SQLite store, libSQL servers and PostgreSQL ([#5649](https://github.com/bastani-inc/atomic/issues/5649), [#5668](https://github.com/bastani-inc/atomic/issues/5668), [#5681](https://github.com/bastani-inc/atomic/issues/5681))
138
+ - **Worktree children finish before they report.** A temporary-worktree child reports completion, pause or quit only after Atomic is done with its directory, and in SDK batches each caller gets only its own children's answers ([#5600](https://github.com/bastani-inc/atomic/issues/5600))
139
+ - **Accurate child states.** Reopened notices no longer show a stopped child as paused, and a reconnect that restores a released child no longer reports `hold-failed` ([#5690](https://github.com/bastani-inc/atomic/issues/5690), [#5641](https://github.com/bastani-inc/atomic/issues/5641))
140
+ - **Clicks land where you aim.** Buttons that extensions draw in chat blocks get their clicks again in fullscreen chats, a dialog hidden and shown before the next paint drops a held click, and key hints separated by a tab or Unicode space are clickable ([#5696](https://github.com/bastani-inc/atomic/issues/5696), [#5643](https://github.com/bastani-inc/atomic/issues/5643), [#5656](https://github.com/bastani-inc/atomic/issues/5656))
141
+
142
+ **Extensions and SDK**
143
+
144
+ - **Clean exits and late trust decisions.** Quitting or disposing a session while extensions start no longer leaves an unhandled rejection, and a folder's resources are withdrawn when a `project_trust` handler registers late ([#5697](https://github.com/bastani-inc/atomic/issues/5697), [#5804](https://github.com/bastani-inc/atomic/issues/5804), [#5693](https://github.com/bastani-inc/atomic/issues/5693))
145
+ - **Extensions see nested calls.** Extension tools can tell calls made through `ctx.executeTool()` from model-issued calls with `ctx.parentToolCallId` ([#5927](https://github.com/bastani-inc/atomic/pull/5927))
146
+ - **Closed sessions release their memory.** Long-lived Node.js 22 hosts no longer keep an async context store for every closed session that called tools through codemode or `ctx.executeTool()`, and a codemode worker that is still exiting no longer keeps the closed session alive ([#5955](https://github.com/bastani-inc/atomic/pull/5955), [#6015](https://github.com/bastani-inc/atomic/pull/6015))
147
+
148
+ **Storage and reliability**
149
+
150
+ - **No freeze on snapshot upgrades.** Upgrading a large snapshot reference index from 0.9.87 or earlier clears old rows in short, resumable batches on SQLite and local libSQL stores with enough free space, instead of freezing Atomic ([#5553](https://github.com/bastani-inc/atomic/issues/5553))
151
+ - **Snapshot moves need less disk.** Collection reports when there is too little space to move an old chunk table, and `atomic storage move-snapshot-chunks` finishes the move on a closed SQLite file with room for one copy ([#5700](https://github.com/bastani-inc/atomic/issues/5700))
152
+ - **Steadier worktree pools.** On Linux and macOS, lease and session-open marker ages follow the shared filesystem's clock, and a colliding temporary record is never overwritten ([#5674](https://github.com/bastani-inc/atomic/issues/5674), [#5824](https://github.com/bastani-inc/atomic/issues/5824))
153
+ - **Deadlines stop retries.** `generateStructuredOutput()` and the `structured_output` tool no longer send a provider retry after their timeout, and provider requests accept a `retryDeadline` ([#5627](https://github.com/bastani-inc/atomic/issues/5627))
154
+ - **Provider streams without a finish reason.** GitHub Copilot responses that end normally but report no finish reason, as some models do, no longer fail with `stream-ended-early` ([#6028](https://github.com/bastani-inc/atomic/pull/6028))
155
+
156
+ **Breaking change:** Workflows are removed. Ask Atomic to convert a workflow file into a skill, launch subagents from the parent session instead of nesting them in stages, and remove the workflow settings, `builtins.workflows`, `@bastani/atomic/workflows` imports, the workflow RPC commands, `session.workflows`, `orchestrationContext` and the other stage-session APIs, `workflow_*` extension events, the journal and run export APIs, `workflow:` Intercom targets and the stage-route `IntercomClient` methods, `atomic worker`, and `atomic storage adopt`, `consolidate` and the `--workflows`, `--run` and `--unfinished` options from your setup; unset `ATOMIC_WORKFLOWS_JOURNAL`, `ATOMIC_WORKFLOW_JOURNAL_PATH` and `ATOMIC_WORKFLOW_ARTIFACT_DIR`. Extensions that relied on built-in `workflows` or `workflow-authoring` command hints mark them with `slashCommandHint()`, and SDK hosts that disable `subagents` also lose the general skills. Sessions, imported ones included, open at their current context window: read older entries with `readHistory()` or `readEntry()`, page RPC history with `get_history_page`, use `getAdmissionKeys()` and `loadWorktreeSnapshotRecords()` for older admission keys and snapshots, and await `SessionManager.inMemory()` when you seed entries. A fork into a different store copies only the current context, and a custom store without exact sequence lookup or paged history records a subagent launch without `leafSeq`. Extensions that hold a Git filter or remove a child's worktree must wait for `subagent:finishing` or task settlement, not the terminal report or the cancellation receipt; hosts that caught `SessionClosed` from `InteractiveMode.init()` or `run()` must track their own shutdown request; and a `ChatSessionHost` with an `editorFactory` editor handles follow-ups and dequeue through its `onAction`. Workflow runs of builds before 0.9.88 that share a store report worktree snapshots over 1 MiB that this release writes as corrupt.
157
+
158
+ ### Breaking Changes
159
+
160
+ - Atomic no longer ships the `workflow` tool, `/workflows`, `/workflow-authoring`, or the F2 workflow shortcut. An extension can register `/workflow`, `/workflows` or `/workflow-authoring`. If none does, those names behave like any other unregistered slash command in the terminal, print/JSON and RPC modes. Ask Atomic to convert an old workflow into a skill that uses codemode and subagents. The original file stays untouched. Use `/tasks` to inspect background work and `/resume` to reopen a saved session, not a workflow run ([#5926](https://github.com/bastani-inc/atomic/pull/5926)).
161
+ - The builtin workflows, such as `ralph`, `goal`, `tournament` and `loop-until-done`, are removed with the workflow runtime. [Migrating workflows](docs/orchestration/migrating-workflows.md#if-you-used-a-builtin-name) maps each one to an [orchestration pattern](docs/orchestration/patterns.md) or skill you can ask Atomic to apply ([#5926](https://github.com/bastani-inc/atomic/pull/5926)).
162
+ - Workflow definitions are no longer loadable resources. Atomic ignores the old `workflows` and `intercom.showUnknownTargetWarnings` settings like any unknown setting: they cause no warning and stay in your settings file. Package manifests and package filters no longer load workflows; package a skill for repeated use instead. Existing files can stay in place: ask the agent to convert an old definition into a project or global skill that runs with codemode and subagents. Nothing is written automatically at startup ([#5922](https://github.com/bastani-inc/atomic/pull/5922)).
163
+ - `/resume` now lists sessions only. The agent panel, `/tasks` and terminal program status no longer show workflow runs. `/settings` and `atomic config` no longer offer workflow options. To continue work, resume the parent session and inspect its subagents in `/tasks` ([#5928](https://github.com/bastani-inc/atomic/pull/5928)).
164
+ - `history://` searches session transcripts only. `history://workflows` links fail like any unknown `history://` resource; old workflow stores are left untouched. Use `history://sessions` to recall the conversation ([#5928](https://github.com/bastani-inc/atomic/pull/5928)).
165
+ - Removed `atomic worker start`, `status`, `metrics` and `controller`, the standalone workflow worker entry point, and the worker fleet deployment examples. Stop worker services and autoscalers before upgrading: Atomic now treats `worker` like any word it does not know. With its old options, such as `--db` or `--json`, `atomic worker start` fails with `Unknown option`; without options, its words are sent to the model as a prompt. Ask Atomic to delegate work to subagents instead; there is no remote worker pool to configure ([#5925](https://github.com/bastani-inc/atomic/pull/5925)).
166
+ - Unset `ATOMIC_WORKFLOWS_JOURNAL`, `ATOMIC_WORKFLOW_JOURNAL_PATH` and `ATOMIC_WORKFLOW_ARTIFACT_DIR` in launch scripts. Atomic ignores them like any other variable it does not read. Other workflow and pool variables, including `ATOMIC_WORKFLOW_DEBUG` and `ATOMIC_DEBUG_POOLED_WATCH`, no longer enable tracing or classify new sessions. Extensions no longer receive `WORKFLOW_STAGE_SUBAGENT_GUARD_ENV`, `WORKFLOW_SESSION_METADATA_ENV`, `workflowSessionMetadataFromEnv`, or the `workflow`, `pooled-watch` and `pool` debug areas. Use `--debug` or `ATOMIC_DEBUG=1` for the supported areas ([#5925](https://github.com/bastani-inc/atomic/pull/5925), [#5943](https://github.com/bastani-inc/atomic/pull/5943)).
167
+ - Storage no longer has a workflow journal. Journal files, the journal store in `~/.atomic/workflows/journal/`, `wf_*` tables and worker pool state that earlier releases wrote are left where they are and never opened, changed or deleted, so a store keeps working with this release and an earlier release still finds its runs. The session database stays at `~/.atomic/workflows/journal.sqlite` ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
168
+ - `atomic storage migrate` sets up only the session and Intercom tables: it no longer creates workflow or worker-pool tables, and existing workflow data is not deleted. Without `--db` it now sets up the database this machine's shared `storage` selection names (`--storage`, `ATOMIC_STORAGE`, `ATOMIC_PROFILE=ci` or the `storage` setting), and says so when there is none ([#5926](https://github.com/bastani-inc/atomic/pull/5926), [#5943](https://github.com/bastani-inc/atomic/pull/5943)).
169
+ - `atomic storage status` reports sessions and Intercom only: the "Workflow runs" section and its journal store counts are gone, and `--json` has no `journal` domain ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
170
+ - `atomic storage adopt` and `atomic storage consolidate` are removed, and `atomic storage export` and `import` move sessions only: `--workflows`, `--run` and `--unfinished` are removed, and each removed command or option fails like an unknown one (`Unknown storage command` or `Unknown option`). `--sessions` is still accepted. Import leaves the `workflows/` directory of an older export unread. Without workflow runs to move, `export` and `import` now exit 1 with their message when sessions are kept in a shared database or only in memory, where they used to skip the sessions and move the runs ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
171
+ - `atomic team` and `getTeamProfile()` describe sessions and Intercom only: profiles no longer mention workflow runs, and `TeamProfile` has no `journal` field ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
172
+ - Storing a worktree snapshot over 1 MiB no longer writes the workflow journal's schema version (`wf_meta`), and no Atomic table is created for it. Atomic 0.9.88 to 0.9.90 still read such snapshots; builds before 0.9.88 that share the store report them as corrupt when a workflow run of theirs restores one. Snapshot collection still keeps every blob that workflow runs of earlier releases reference ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
173
+ - The `subagents` builtin now ships the 11 general-purpose skills previously bundled with `workflows`. Default `/skill:` names and contents are unchanged. SDK hosts that disable `subagents` also disable those skills; to keep the skills without allowing delegation, leave `subagents` enabled and set `excludedTools: ["subagent"]` ([#5923](https://github.com/bastani-inc/atomic/pull/5923)).
174
+ - The SDK no longer accepts `workflows` in the `builtins` option. Remove that key from session options. The `@bastani/atomic/workflows`, `@bastani/atomic/workflows/builtin` and `@bastani/atomic/workflows/builtin/*` imports are no longer published; keep a pre-0.10 installation if you still need to execute a definition with the old SDK ([#5926](https://github.com/bastani-inc/atomic/pull/5926)).
175
+ - RPC no longer accepts `list_workflow_runs`, `get_workflow_run_summary`, `get_workflow_resume_entries`, `resume_workflow_from_picker` or `delete_workflow_from_picker`. `RpcClient.listWorkflowRuns()`, `getWorkflowRunSummary()` and `onInteractiveEngineWorkflowActivity()` are removed, and `onInteractiveEngineMessage()` no longer delivers `engine_workflow_activity` messages or the `hiddenWorkflow` agent panel count. `list_sessions` rows no longer carry `workflow`, `resumeKind` or `resumeSelection`, and the `stop_all_background` result no longer reports `workflowRuns`. For saved conversations, use `list_sessions`, `get_session_summary` and `switch_session` ([#5926](https://github.com/bastani-inc/atomic/pull/5926), [#5931](https://github.com/bastani-inc/atomic/pull/5931)).
176
+ - SDK hosts no longer receive `ResolvedPaths.workflows`, and resource loaders no longer expose `getWorkflowResources()` or `refreshWorkflowResources()`. `SettingsManager` no longer offers `getWorkflowPaths()`, `setWorkflowPaths()`, `setProjectWorkflowPaths()`, `getAutoAdvanceAfterSteer()` or `setAutoAdvanceAfterSteer()`. The `Settings` type no longer has `workflows` or `intercom.showUnknownTargetWarnings`, and object entries in `packages` (`PackageSource`) no longer accept a `workflows` filter ([#5922](https://github.com/bastani-inc/atomic/pull/5922), [#5931](https://github.com/bastani-inc/atomic/pull/5931)).
177
+ - **Workflow run control:** Removed `session.workflows` (including `listRuns`, `getRun`, `getStages`, `pause`, `quit`, `resume`, `waitForSettled`, `observe`, and the optional `listProjectRuns`, `listResumeEntries`, `resumeFromPicker`, and `deleteResumeEntry`) and `pi.registerWorkflowRunControl()`. Launch subagents from codemode, keep the returned handles, and wait for or resume individual subagent sessions instead of controlling a run ([#5918](https://github.com/bastani-inc/atomic/pull/5918)).
178
+ Removed SDK exports: `WorkflowRunJsonValue`, `WorkflowRunJsonObject`, `WorkflowRunFilterStatus`, `WorkflowRunListFilter`, `WorkflowRunListOptions`, `WorkflowStageListFilter`, `WorkflowRunActiveStage`, `WorkflowRunAwaitingInput`, `WorkflowRunSummaryMetadata`, `WorkflowRunSummary`, `WorkflowRunStageSummary`, `WorkflowRunDetail`, `WorkflowRunAllTarget`, `WorkflowRunPauseOptions`, `WorkflowRunResumeOptions`, `WorkflowRunControlStatus`, `WorkflowRunControlFailedRun`, `WorkflowRunControlOutcome`, `WorkflowRunControl`, `SessionWorkflows`, `WorkflowRunControlRegistration`, `WorkflowRunControlErrorCode`, `WorkflowRunControlErrorOptions`, `WorkflowRunControlError`, `WorkflowRunNotFoundError`, `WorkflowRunOwnershipError`, `WorkflowRunNotResumableError`, `WorkflowStageNotFoundError`, `WorkflowStageAmbiguousError`, `WorkflowStageResumeUnsupportedError`, `WorkflowRunStorageError`, `WorkflowRunControlUnavailableError`.
179
+ - **Workflow events and activity:** Removed `workflow_lifecycle`, `workflow_activity_changed`, `workflow_stage_completed`, `workflow_heartbeat`, `pi.registerWorkflowActivityPublisher()`, and `ctx.observeWorkflowActivity()`. Use `agent_start`, `agent_settled`, tool and session hooks for session activity, or publish your own extension events on `pi.events`. There is no workflow graph or replay stream ([#5918](https://github.com/bastani-inc/atomic/pull/5918)).
180
+ Removed SDK exports: `WorkflowActivityState`, `WorkflowActivityReason`, `WorkflowRunStatus`, `WorkflowStageStatus`, `WorkflowToolNodeStatus`, `WorkflowControlAction`, `WorkflowGraphNodePrompt`, `WorkflowGraphStageNode`, `WorkflowGraphToolNode`, `WorkflowGraphNode`, `WorkflowGraphRunPrompt`, `WorkflowRootGraph`, `WorkflowRootActivity`, `WorkflowObservationCursor`, `WorkflowActivitySnapshotInput`, `WorkflowActivitySnapshotFrame`, `WorkflowActivityFrame`, `WorkflowActivityObserver`, `WorkflowActivitySubscription`, `WorkflowLifecycleDelivery`, `WorkflowLifecycleTarget`, `WorkflowLifecycleEvent`, `WorkflowStageCompletedEvent`, `WorkflowActivityChangedEvent`, `WorkflowHeartbeatEvent`, `WorkflowEvent`, `WorkflowActivityPublisher`, `WorkflowObservationDiagnostic`.
181
+ - **Extension host resources:** Removed `pi.getWorkflowHostModules()`, `pi.getWorkflowResources()`, `pi.refreshWorkflowResources()`, `pi.getWorkflowJournal()`, and `WorkflowResourceProvider` and `WorkflowResourceProviderInput`. Import the APIs you use from `@bastani/atomic` or its published packages. Use session storage for conversation history, and supply instructions for subagents as skills or files. Package-manifest MCP servers still load normally ([#5918](https://github.com/bastani-inc/atomic/pull/5918)).
182
+ - **Workflow summaries:** Removed `ctx.generateWorkflowSummary()`. Use normal session summaries for stored conversations, or request a summary as part of a subagent’s task ([#5918](https://github.com/bastani-inc/atomic/pull/5918)).
183
+ - **Stage sessions:** Removed `orchestrationContext` from session creation, `AgentSession`, and `ExtensionContext`, along with `OrchestrationContext`, `WorkflowStageOrchestrationContext`, `WorkflowPendingStageDelivery`, `parkWorkflowStageForRelease()`, `transferWorkflowStageDeliveriesTo()`, `sealWorkflowStageGeneration()`, and `closeWorkflowStageGeneration()`. Use a subagent session and its handle instead of opening or parking a stage. `SessionRecoveryReason` is now `startup` or `resume` ([#5931](https://github.com/bastani-inc/atomic/pull/5931)).
184
+ - **Session metadata:** New sessions no longer take `NewSessionOptions.internal` or `.workflow`, and `SessionManager.markSessionInternal()`, `SessionInfo.workflow`, and `SessionWorkflowMetadata` are gone. Use the actual session ID to identify a child. Existing stored headers remain readable ([#5931](https://github.com/bastani-inc/atomic/pull/5931)).
185
+ - **Host input and task activity:** Route host input by `HostInputOptions.sessionId` and `requestId`, not `workflowRunId` or `workflowStageId`. Use agent or shell rows in `AgentPanelItem.kind`; the workflow-only `viewed`, `SessionInfo.resumeKind`, and `resumeSelection` picker fields are gone. The SDK no longer produces `workflow.run`, `workflow.ctx_tool`, or `workflow.stage_adapter` callback activity, or their `runId` and `stageId` fields. `OwnerScope.kind` no longer includes `workflow-stage`; `OwnerCloseCause` and `TaskCleanupPhase` no longer include `stage-close`; `PromptRoute.stageAttemptId` and the `stage-parked` detachment error are gone. Use the session task owner and handle session closure normally. Messages stay with their session; remove `stayInSession` from `SendMessageOptions` and `SendMessagesOptions` when sending notices ([#5931](https://github.com/bastani-inc/atomic/pull/5931)).
186
+ - **SDK host wiring:** `ExtensionRunner` no longer has `getWorkflowRunControl()`, `observeWorkflowActivity()` or `getWorkflowActivitySnapshot()`. Replace `bindWorkflowJournal(journal, storageAgentDir)` with `bindStorageAgentDir(storageAgentDir)`; `pi.getStorageAgentDir()` is unchanged. The sixth `ExtensionRunner` constructor argument, which took the stage context, now accepts only `undefined`. Hosts that already passed `undefined` there need no change, and `subagentPolicy` and `intercomPolicy` keep their positions. Remove `workflowJournal`, `workflowActivityHub` and `workflowRunControlHub` from hand-built `ExtensionRuntime` objects, `workflowJournal` from `AgentSessionConfig`, and `generateWorkflowSummary` from `ExtensionContextActions`. `AgentSession` no longer has the protected `_orchestrationContext`, `_workflowJournal`, `_workflowStageAdmission`, `_workflowStageAwaitingFirstPrompt` and `_workflowStageDeliveryForwardTarget` fields. The `ProjectHistory` passed as the internal `inheritedHistory` session option no longer has `workflows()` ([#5931](https://github.com/bastani-inc/atomic/pull/5931)).
187
+ - **Interactive components:** Removed `ChatSessionHost.clearBusyForTerminalWorkflowStage()`, `SessionSelectorComponent.updateWorkflowSessions()` and its `deleteWorkflow` option, the `isWorkflow` argument of `getSessionList().onDeleteConfirmationChange`, and the settings selector's `autoAdvanceAfterSteer`, `autoAdvanceAfterSteerScope` and `onAutoAdvanceAfterSteerChange`. `InteractiveMode.programStatus` no longer has `handleWorkflowActivity()`. Hosts that embed these components drop those arguments; the session selector lists sessions only ([#5931](https://github.com/bastani-inc/atomic/pull/5931)).
188
+ - `createAgentSession()` no longer accepts `journal`, and its `storage` option selects session storage only. `SessionStorageOption` is now its own type with the same four forms ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
189
+ - `@bastani/atomic` and `@bastani/atomic/storage` no longer export the run journal, the journal store and its errors, or workflow run export and import: `RunJournal`, `RunJournalOption`, `JournalFactories`, `RUN_JOURNAL_SCHEMA_VERSION`, `RUN_JOURNAL_SCHEMA_VERSION_UNCHUNKED`, `RUN_EVENT_TYPES` and the other run journal types (`RunHeader`, `RunSummary`, `RunEvent`, `RunEventType`, `Lease`, `LeaseState`, `LeaseOutcome`, `JournalEntry`, `RunVersion`, `RunSnapshotTail`, `JournalSerializableValue`, `StoredJournalPayload`, `JournalPayloadRow`) and payload helpers (`journalPayloadStub`, `storedJournalPayload`, `writeJournalPayloadChunks`, `withJournalPayloads`); `JournalCatalog` and its constants, records and helpers (`JOURNAL_CATALOG_FILE`, `nativeShardFile`, `journalShardHash`, `isFinishedJournalStatus`); `adoptJournals`, `consolidateJournalStore`, `discoverLegacyJournal`, `inspectJournalFile`, `legacyDefaultJournalPath`, `ensureRunJournalSchema`, `upgradeRunJournalSchema`, `isReadableRunJournalVersion`, `RUN_JOURNAL_TABLE_NAMES`, `runJournalTables`, `runJournalTableDefinitions` and their report types; `defaultJournalStoreDirectory`, `defaultJournalStoreDirectoryAsync` and `selectsDefaultJournalStore`; the `JournalStoreError` family (`JournalCatalogError`, `JournalShardUnavailableError`, `JournalAdoptError`, their code lists and guards, `findJournalStoreError`, `isRetryableJournalStoreError`, `serializeJournalStoreError`, `rehydrateJournalStoreError`, `JOURNAL_ADOPT_COMMAND`); and `POSTGRES_POOL_SESSION_PREFIX`. `isRetryableStorageError` and `isStorageError` no longer recognize journal store errors ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
190
+ Also removed from both entry points: `AppendOutcome`, `JOURNAL_ADOPT_ERROR_CODES`, `JOURNAL_BUSY_STATUSES`, `JOURNAL_CATALOG_ERROR_CODES`, `JOURNAL_CATALOG_LOCK_WAIT_MS`, `JOURNAL_CATALOG_SCHEMA_VERSION`, `JOURNAL_CONSOLIDATION_HOLDER_PREFIX`, `JOURNAL_COPIED_ALL_MARKER`, `JOURNAL_DISCOVERY_LIMIT`, `JOURNAL_FINISHED_STATUSES`, `JOURNAL_RESERVATION_TTL_MS`, `JOURNAL_SHARD_LIMIT`, `JOURNAL_SHARD_UNAVAILABLE_ERROR_CODES`, `JournalAdoptErrorCode`, `JournalAdoptErrorInit`, `JournalAdoptNotJournalReason`, `JournalAdoptionOptions`, `JournalAdoptionOutcome`, `JournalAdoptionReport`, `JournalCatalogErrorCode`, `JournalCatalogErrorInit`, `JournalCatalogOptions`, `JournalCatalogPhase`, `JournalCatalogRun`, `JournalCatalogRunHeader`, `JournalConsolidationReport`, `JournalConsolidationRun`, `JournalConsolidationSkip`, `JournalDiscovered`, `JournalDiscoveryOutcome`, `JournalDiscoveryRecord`, `JournalEventTableRow`, `JournalFileInspection`, `JournalLeaseTableRow`, `JournalRunSnapshot`, `JournalRunTableRow`, `JournalShardKind`, `JournalShardRecord`, `JournalShardRegistration`, `JournalShardUnavailableErrorCode`, `JournalShardUnavailableErrorInit`, `JournalStoreFieldValue`, `JournalStoreFields`, `OLDER_BUILD_LIVE_MS`, `RunJournalBatchAppend`, `RunJournalSeedEvent`, `STORED_JSON_CHUNK_BYTES`, `SerializedJournalStoreCause`, `SerializedJournalStoreError`, `isJournalAdoptError`, `isJournalCatalogError`, `isJournalShardUnavailableError`, `isJournalStoreError`, `olderBuildLive`, `readStoredJsonChunks`, `storedJsonChunks`.
191
+ - Storage adapters: `StorageProvider` takes no journal factories and has no `openRunJournal`, Atomic no longer calls an adapter's `openRunJournal` hook (an adapter that still exports one keeps loading), `StorageOpenContext.domain` is `"sessions"` or `"intercom"`, `StorageSelection` has no `"sharded"` kind, `StorageDomain` is `"sessions"` or `"shared"`, and `StorageImportIncompleteError`'s `written` and `notWritten` list sessions only ([#5943](https://github.com/bastani-inc/atomic/pull/5943)).
192
+ - `InteractiveMode.init()` and `run()` now resolve instead of rejecting with `SessionClosed` if you quit the host or dispose the session during its initial extension bind. Track your own shutdown request rather than catching `SessionClosed` to detect it ([#5697](https://github.com/bastani-inc/atomic/issues/5697), [#5804](https://github.com/bastani-inc/atomic/issues/5804)).
193
+ - Task cancellation receipts can return `already-finishing`: the runner's outcome can no longer change, but its batch may still be using the directory. Wait for task settlement before removing its temporary worktree ([#5600](https://github.com/bastani-inc/atomic/issues/5600)).
194
+ - Sessions and extensions open at the current context window. `getEntries()` and `getTree()` describe the resident entries. Use `for await (const page of manager.readHistory())` for older entries or `await manager.readEntry(id)` for one entry ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
195
+ - RPC `get_entries` and `get_tree` still return `entries` and `tree`, but their contents are limited to the resident window. Use `get_history_page` and its `nextCursor` for the archive, and `get_history_chunk` to read an oversized item ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
196
+ - Replace `sessionManager.getSessionRecoveryState().admissionKeys.includes(key)` with `sessionManager.getAdmissionKeys().has(key)`. Admission remains synchronous; old keys are no longer retained as strings ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
197
+ - Await `SessionManager.inMemory(cwd, options, entries)` when seeding a private session. Creating an empty `inMemory()` manager stays synchronous ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
198
+ - `SessionManager.getWorktreeSnapshotRecords()` returns only the snapshot records the session holds: all of them while `hasFullHistory()` is true, otherwise the ones its resume needs (the latest snapshot of each checkout on the active branch and the snapshots its restores name) and those recorded in its window. Replace a lookup of an older record with `await manager.loadWorktreeSnapshotRecords(ids)`, or read every snapshot entry with `for await (const page of manager.readWorktreeSnapshotPages())`; both reject with the store's error instead of returning an empty map. `getLatestWorktreeSnapshots()` is unchanged ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
199
+ - `SessionManager.getEntries()` returns the current window, not the complete recorded conversation. A custom task transcript source that needs off-branch rows must supply those rows or a pager for them ([#5593](https://github.com/bastani-inc/atomic/issues/5593)).
200
+ - A fork into a store that Atomic can tell is a different store, such as with `manager.forkTo(cwd, otherStore)`, copies the current context and keeps the parent session ID; it no longer transfers the parent's private history. Forks within one store, including `atomic --fork` and **Fork** for a session whose working directory is missing, still copy the whole session, every branch included, and so does a fork between stores Atomic cannot tell apart. `/fork` and `/clone` still copy the complete selected path. For a complete independent copy, use `atomic storage export` and `atomic storage import` ([#5594](https://github.com/bastani-inc/atomic/issues/5594)).
201
+ - An SDK adapter that exposes only a partial child session and has no exact sequence lookup or paged history still captures a subagent launch by `leafId`, but the optional `leafSeq` is omitted instead of loading the whole session ([#5594](https://github.com/bastani-inc/atomic/issues/5594)).
202
+ - `ChatSessionHost` no longer handles Ctrl+F and Alt+Up itself before its editor sees them. The keys bound to `app.message.followUp` and `app.message.dequeue` (Alt+Enter and Alt+Up by default, Ctrl+Q and Alt+Q on Windows and WSL) queue a follow-up and bring the queued messages back, through the editor's `onAction` as in the main chat, so an editor from `editorFactory` without `onAction` handles neither; a host without an editor matches those bindings itself. Ctrl+F reaches the editor, where it moves the cursor right, and Alt+Up does nothing when `app.message.dequeue` is bound to another key ([#6015](https://github.com/bastani-inc/atomic/pull/6015)).
203
+ - An imported session (`SessionManager.importFromJsonl()`, `runtime.importFromJsonl()`, `/import`, RPC `import_session` and `atomic --import`) continues from its current context window, as a resumed one does. What it shows, its context and its export are unchanged, but `getEntries()`, `getBranch()` and `getTree()`, and RPC `get_entries` and `get_tree`, now describe that window after an import. Read older entries with `readHistory()` ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
204
+
205
+ ### Added
206
+
207
+ - The SDK guide shows [how to copy an extension's handler map](docs/sdk/reference.md#copying-extension-handlers-in-extensionsoverride) without reporting the same discovery error twice during interactive startup ([#5657](https://github.com/bastani-inc/atomic/issues/5657)).
208
+ - Extension tools can distinguish nested calls from model-issued calls with `ctx.parentToolCallId` ([#5927](https://github.com/bastani-inc/atomic/pull/5927)).
209
+ - Interactive startup points out earlier workflow files. Ask Atomic to convert one into a skill that uses codemode and subagents. Project workflows become project skills; global workflows become user skills. Discovery writes nothing and conversion leaves the original unchanged ([#5924](https://github.com/bastani-inc/atomic/pull/5924)).
210
+ - `atomic storage move-snapshot-chunks <sqlite-file> [--prefix <prefix>]` finishes moving an old snapshot chunk table in a closed local SQLite file with room for one copy and a batch of log records instead of two copies ([#5700](https://github.com/bastani-inc/atomic/issues/5700)).
211
+ - Custom session stores can implement `readForkWindow(sessionId, entryId)` to supply a subagent's retained branch and labels without opening the whole parent. Stores without the method keep their existing fork behavior ([#5500](https://github.com/bastani-inc/atomic/issues/5500)).
212
+ - RPC `message_end` events carry `entryId` and `seq` when the session saved the message, so a client can tell which saved entry it shows ([#5593](https://github.com/bastani-inc/atomic/issues/5593)).
213
+ - Packages can ship subagent definitions: list agent `.md` files or directories under `agents` in the `atomic` manifest. They load from globally installed, project-installed and `-e` packages, follow a package's `agents` filter in settings, and change with `/reload`. Agents of a project-installed package are offered only in a trusted project. Extensions read the enabled files with `ctx.getPackageAgents()`; a custom SDK `ResourceLoader` can supply them with `getPackageAgents()` ([#5991](https://github.com/bastani-inc/atomic/issues/5991)).
214
+ - SDK task hosts can let a task's chat queue, take back and pause messages as the main chat does: a `TaskTranscriptSource` can implement `queueMessage(text, lane)`, `clearQueue()`, `pauseTurn()` and `resumeTurn()`, and `TaskViewSource` has `sendTaskMessage(id, text, lane?)`, `clearTaskQueue(id)`, `pauseTask(id)` and `resumeTask(id)`, with `TaskMessageLane` (`"steer"` or `"followUp"`) and `QueuedTaskMessages` exported. A source without `queueMessage` keeps sending typed messages through `sendMessage` ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
215
+ - The agent panel and `/tasks` show which model each subagent runs on and its reasoning level, after its name: `∀ debugger provider/model-id medium Read the template… 16m · ↓ 437.3k tokens`. The column follows the subagent: it changes as soon as the subagent falls back to another model, is resumed on a different one or changes its reasoning level, in the isolated engine and in process, and a stopped or finished row shows the model its last turn ran on. As in the footer, a model without reasoning levels shows no level. Rows narrower than 100 columns, or too narrow to keep each task and its time beside it, drop the column. Extension panel sources can fill it with `AgentPanelItem.model` and `thinking` ([#6017](https://github.com/bastani-inc/atomic/pull/6017)).
216
+
217
+ ### Changed
218
+
219
+ - Every chat shows a retry the same way: the main chat, in the same process or a separate engine, and subagent and task chats show `Retrying · response timed out · attempt 2/3 in 4s esc cancel` with the spinner of the working line, instead of `Retrying (2/3) in 4s... (esc Cancel)` or a bare `retrying…`. The line names why the request failed in a few words, such as `rate limited`, `overloaded`, `server error 503` or `connection reset`, counts down to the next attempt, and reads `Working…` until that attempt starts. `esc cancel` appears only where Esc cancels the retry, and the key is clickable. A summary retry reads `Retrying summary · <reason> · attempt 1/3 in 2s`. The line always stays on one row: when the terminal is too narrow, the line shortens the reason with `…`. If the line still doesn't fit, it removes the reason, then the key hint, then the word `attempt`. The other waiting lines are in sentence case too: `Switching model…`, `Resuming…` and `Summarizing branch…`. Retries themselves are unchanged ([#5961](https://github.com/bastani-inc/atomic/pull/5961), [#5977](https://github.com/bastani-inc/atomic/pull/5977)).
220
+ - Closing or switching sessions no longer needs to describe a worktree child as reaped while Git is still using its checkout. Even if the close requested the stop, the receipt can say `already-finishing` instead. Children without temporary worktrees keep their usual close receipts ([#5600](https://github.com/bastani-inc/atomic/issues/5600)).
221
+ - Codemode is now active in the default tool set. It adds its tool description to the model's prompt, and `codemode.inlineBudget` bounds the inline declarations in it (default: 3000 estimated tokens). It also adds a one-line note to each direct tool that scripts can call, naming what `tools.<name>(args)` returns, plus one tool line and one guideline to the system prompt; the budget does not bound these. To opt out, set `"defaultTools": ["-codemode"]` or pass `atomic --tools -codemode`. Explicit tool lists must name `codemode` to select it. An explicit `-codemode` also prevents MCP from turning it back on ([#5939](https://github.com/bastani-inc/atomic/pull/5939)).
222
+ - A finished subagent's completion notice now names the call that continues it, such as `Resume it with subagent({ action: "resume", id: "a760c0ec:0", message: "…" }) to continue it with a follow-up.`, together with its Intercom name when known. It still says not to restart the subagent only to retrieve its result. Expanding the notice line shows the same `resume id`, and `/tasks` shows it in the expanded row and the detail page of a completed, failed, paused or quit subagent. Collapsed notice lines and notices saved by earlier versions look the same as before ([#5968](https://github.com/bastani-inc/atomic/pull/5968)).
223
+ - Fullscreen main chats, subagent chats and saved task transcripts read older turns in bounded pages as you scroll. Each page shows the retry, compaction and checkout notices saved with its turns where the whole chat shows them, also when copied. Ctrl+End returns to live output and releases the historical pages. Native scrollback shows where to read or export older messages the terminal never printed ([#5593](https://github.com/bastani-inc/atomic/issues/5593)).
224
+ - Atomic's own code reads older session entries a page at a time with `sessionManager.readHistory()` and `readEntry(id)`, and never loads a whole saved session into a live manager. Use `readHistory()` in extensions and SDK code too. `loadFullHistory()` and the `{ history: "full" }` option of `SessionManager.open()`, `openSessionById()`, `continueRecent()`, `runtime.switchSession()` and `runtime.rehydrate()` still work, but they load every entry of the session into memory; use them only when every entry must stay resident ([#5554](https://github.com/bastani-inc/atomic/issues/5554)):
225
+
226
+ ```ts
227
+ for await (const page of sessionManager.readHistory()) {
228
+ for (const item of page.items) if ("entry" in item) visit(item.entry);
229
+ }
230
+ const entry = await sessionManager.readEntry(entryId);
231
+ ```
232
+ - `/session` no longer loads the whole session into memory to list the cost of each model, the cache hit rate and the wasted cache cost. It shows the rest of the summary at once, reads the earlier history a page at a time without keeping it, and adds those lines, which still cover the whole session, when the read ends ([#5554](https://github.com/bastani-inc/atomic/issues/5554)).
233
+ - Subagents now open on the same chat screen as the main chat instead of a separate chat page. Enter on a subagent in the agent panel or in `/tasks` shows its live transcript where the main chat's was and points the prompt at it: the prompt reads `Message @<agent>…` and its top rule names the subagent, its task and its state. Enter on `main` in the panel switches back, with the main chat's scroll position and draft as you left them. While a subagent is shown, its prompt works as the main chat's does: Enter steers it and Alt+Enter queues a follow-up, Alt+Up takes queued messages back, Esc pauses it while it works (`esc to pause`) and your next message continues it, ↑/↓ and Ctrl+R recall its own prompts, and each agent keeps its own draft. On an empty prompt, Esc shows main again when the subagent is not working, and Ctrl+C pauses it if it works and shows main. Built-in commands still act on the main chat or on Atomic; those that rewrite or replace the main conversation (`/compact`, `/tree`, `/fork`, `/clone`, `/new`, `/import`, and their keys) ask first, with Cancel selected, and then run on main while the subagent stays shown unless they replace the main session; `/resume` opens its picker in place; `/model`, `/thinking`, their keys and `!` commands are refused with a notice; `/copy` copies the subagent's last message; and skills, prompt templates and your own extension commands go to the subagent. The panel marks the shown subagent with `●` and lists its running shells under it (`x` twice stops one, Enter shows its output). A shown subagent that is dismissed or lost gives the screen back to main, with what you typed for it in front of main's prompt ([#6032](https://github.com/bastani-inc/atomic/pull/6032)).
234
+ - While a subagent is shown and works, Enter queues a steering message and Alt+Enter a follow-up, shown as `Steering:` and `Follow-up:` rows above the prompt, and Alt+Up brings every queued message back into the prompt to edit or remove. The subagent reads one steering message after the tool calls it is running and follow-ups once it would otherwise stop, receives your text exactly as typed, and its transcript shows it as your message when it is delivered. Before, each message went to the subagent at once as an Intercom message, with your session's name and folder in front of the text, and could not be edited or taken back, and Alt+Enter sent it like Enter ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
235
+ - While a subagent is shown, Ctrl+F moves the cursor right and Ctrl+C clears a typed prompt, as in the main chat; Ctrl+F no longer sends the message as a follow-up ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
236
+ - Sending a message to a finished subagent continues it in the same `/tasks` row, and it reads as working again when you view it. Before, `/tasks` listed the continued run as a new task and the chat still read `done` ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
237
+ - Esc while a subagent is shown pauses it instead of only interrupting its turn. The messages you queued come back into the prompt, steering first; it shows `Paused · send to continue`, and `/tasks` lists it under **Working** as `‖ paused`. It keeps its session and task, stays paused when Atomic restarts and the session is continued or resumed (unless an earlier Atomic version continued it in between; if the pause could not be saved, it says so), and continues only when you send it a message; messages from other agents, its background work's notices and heartbeats wait until then. This includes a message the subagent has just received but not yet begun to answer: the subagent pauses with that message in its transcript and does not send it again. The footer reads `esc to pause` while it works. Before, Esc interrupted the turn and anything already queued started the next turn at once ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
238
+ - When the isolated engine stops unexpectedly while messages are queued, the main chat's queued messages come back into the prompt after the engine restarts, with the warning `Engine restarted; N queued messages weren't sent and are back in the editor`, and a warning lists each subagent's queued messages that weren't sent. Before, they were lost without notice ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
239
+
240
+ ### Fixed
241
+
242
+ - `@bastani/atomic` no longer lists a `./hooks` export. Its files were never published, so importing `@bastani/atomic/hooks` failed with `ERR_MODULE_NOT_FOUND`; it now fails with `ERR_PACKAGE_PATH_NOT_EXPORTED`, like any subpath the package does not export. Extensions import their API from `@bastani/atomic` ([#5972](https://github.com/bastani-inc/atomic/pull/5972)).
243
+ - `generateStructuredOutput()` and the `structured_output` tool no longer send a provider backoff retry after their timeout when the process is busy ([#5627](https://github.com/bastani-inc/atomic/issues/5627)).
244
+ - Snapshot collection reports, as `pendingChunkMove` in its result, when there is too little space to move an old chunk table, instead of silently leaving the table in place ([#5700](https://github.com/bastani-inc/atomic/issues/5700)).
245
+ - On Linux and macOS, worktree pool leases and session-open markers are aged by the shared filesystem's time when the clock reading finishes, as on Windows, so the cleanup of the reading's probe file no longer makes them look younger than they are. A change to this machine's wall clock during the reading is not counted as elapsed time ([#5674](https://github.com/bastani-inc/atomic/issues/5674)).
246
+ - A worktree pool admission whose temporary record name is already taken leaves that file untouched and writes under a fresh name. On Linux and macOS it used to overwrite the other file and remove its name; on Windows the admission failed ([#5824](https://github.com/bastani-inc/atomic/issues/5824)).
247
+ - The interactive interface now withdraws a folder's resources when an extension registers a `project_trust` handler after the first trust report but before the engine calls the handlers. It waits for the decision before warning that the folder is untrusted ([#5693](https://github.com/bastani-inc/atomic/issues/5693)).
248
+ - Buttons in extension messages, saved entries and custom tool output receive clicks again when the fullscreen chat runs in the terminal UI process. A click the renderer leaves unhandled still opens or folds the block, and tool titles still toggle first. Separate-engine sessions are unchanged ([#5696](https://github.com/bastani-inc/atomic/issues/5696)).
249
+ - On SQLite and local libSQL stores with sufficient free space, upgrading a large snapshot reference index from Atomic 0.9.87 or earlier, or opening one that lost a trigger, no longer freezes Atomic while it clears millions of old rows. Collection releases them in short, resumable batches. Stores with custom schema that depends on the index, or without verifiable disk headroom, keep the previous atomic reset ([#5553](https://github.com/bastani-inc/atomic/issues/5553)).
250
+ - Quitting the host or disposing the session during its initial extension bind no longer leaves an unhandled rejection, including when the event that was starting the UI is a replayed provider retry. Replacing the session during that bind still rejects, as does a direct `session.bindExtensions()` call. If you dispose only the session, you can run the same mode again after creating a replacement ([#5697](https://github.com/bastani-inc/atomic/issues/5697), [#5804](https://github.com/bastani-inc/atomic/issues/5804)).
251
+ - Reopened subagent notices from older sessions no longer show a stopped child as paused just because its task description begins with pause or wait wording. For a notice with only its title left, Atomic uses the matching stop on the same branch. If the stop predates the open window, its acknowledgement must still be in the window; otherwise the old label remains ([#5690](https://github.com/bastani-inc/atomic/issues/5690)).
252
+ - Long-lived Node.js 22 hosts no longer accumulate an async context store for each closed or released session that called tools through codemode or `ctx.executeTool()` ([#5955](https://github.com/bastani-inc/atomic/pull/5955)).
253
+ - Reopened main and subagent chats keep failed and cancelled retries and compactions, failed continuations after compaction, and checkout snapshot warnings. Saved lines are reader-only; they do not change the conversation, context meter, or exit status. A displayed prompt also keeps its place ahead of an excluded notice that finished saving first. The default SQLite store, libSQL servers, PostgreSQL, and JSONL sessions on filesystems with a stable file identity save these lines. Saving one waits for another process's database lock without blocking input. A local libSQL `file:` database saves none, because its driver would block input while it waits for that lock, so those chats reopen as before ([#5649](https://github.com/bastani-inc/atomic/issues/5649), [#5668](https://github.com/bastani-inc/atomic/issues/5668)).
254
+ - Redrawing or resuming the main chat shows prompt-cache misses and dropped-thinking notices beside the replies they describe. The in-process chat now also shows a live thinking-drop warning and reports a cache miss’s model-switch or expiry cause, as the isolated terminal does ([#5681](https://github.com/bastani-inc/atomic/issues/5681)).
255
+ - A forked subagent that waits for a slot forks at its launch entry, with the settings recorded there, and reads only that context from the store instead of the parent's whole conversation after the parent has moved on. A forked subagent also no longer reopens the parent's subagents, acknowledges its deliveries or shows its subagent and Intercom cards, and a finished forked child releases its session ([#5594](https://github.com/bastani-inc/atomic/issues/5594)).
256
+ - Expanding a subagent's launch block reads only the fields it shows from the child's saved session (the prompt, the final answer, and each tool call's arguments and result) instead of reopening the child's session, and releases them when the block collapses or leaves the chat, or when you switch or close the session ([#5594](https://github.com/bastani-inc/atomic/issues/5594)).
257
+ - `/fork` and `/clone` stream the selected path into the new session instead of loading the whole session first; in a SQL store, the copy holds one worktree snapshot record at a time. A context-only copy to another SQL store may read one older receipt and one tool output whole. Multiple older receipts and whole-session copies between independent SQL handles use staged pages, so no partial child appears ([#5594](https://github.com/bastani-inc/atomic/issues/5594)).
258
+ - A hidden chat releases the rendered rows of a replaced transcript without waiting to be shown again ([#5593](https://github.com/bastani-inc/atomic/issues/5593)).
259
+ - A compaction while you are scrolled up in the main chat or a live subagent chat keeps the rows you are reading, the saved notices among them, your selection and the unread count where they were, releases the rest of the earlier conversation, and reads it again page by page on either side as you scroll. A stateful extension card keeps its instance when a compaction keeps or retires it ([#5593](https://github.com/bastani-inc/atomic/issues/5593)).
260
+
261
+ ### Removed
262
+
263
+ - The installed `docs/workflows.md`, `docs/guides/workflows.md` and `docs/workflows/` guides. Published bookmarks redirect to [Orchestration](docs/orchestration.md) or [Migrating workflows](docs/orchestration/migrating-workflows.md); update local file references to the new paths ([#5946](https://github.com/bastani-inc/atomic/pull/5946)).
264
+
5
265
  ## [0.10.0-alpha.1] - 2026-11-20
6
266
 
7
267
  Codemode and subagents replace workflows, subagents share the main chat screen with its steering and can be resumed by a message, and long sessions keep only their current context in memory.
@@ -4,6 +4,28 @@ All notable changes to the `pi-intercom` extension will be documented in this fi
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.10.0] - 2026-11-20
8
+
9
+ ### Breaking Changes
10
+
11
+ - Workflows were removed in Atomic 0.10.0, and with them Intercom's workflow stage targets. `send`, `ask` and `reply` answer a `workflow:<rootRunId>/...` target as any unknown name, with `Session not found`, and never send it on; `intercom list` shows no workflow stage or future-stage rows, and the codemode `list` result no longer has a `workflowStages` field. Send to a session by its name or ID instead ([#5947](https://github.com/bastani-inc/atomic/pull/5947)).
12
+ - A `workflow:<rootRunId>` group is now an ordinary group: any session can list, peek at and join it, and no session controls a run's stages without joining. A queued send no longer carries `prediction`, `unexpected` or `suggestion` ([#5947](https://github.com/bastani-inc/atomic/pull/5947)).
13
+ - Removed the workflow-only API from `IntercomClient`: `registerPendingStageRoute`, `registerPendingStageRouteAcknowledged`, `withdrawPendingStageRoute`, `claimWorkflowInvocation`, `registerLiveWorkflowStageRoute`, `respondPendingStageMessage`, `respondPendingStageNotification`, `sendPendingStageNotification`, the `multiplexesPendingStageRoutes` option, `IntercomPendingStageRouteRefusedError`, `SessionDirectory.workflowStages` and `workflowFutureStages`, and the `liveRoute` of a hosted session with its `liveRouteRefusal`. `StageRecipientReleasedError`, `isStageRecipientReleasedError` and the `recipient_stage_released` code with its `StageRecipientReleasedCode` type are removed from `@bastani/intercom`, and Intercom no longer raises `IntercomBrokerSuccessorTimeoutError`, which only workflow route connections did ([#5947](https://github.com/bastani-inc/atomic/pull/5947)).
14
+
15
+ ### Added
16
+
17
+ - A `send` or `ask` to a subagent that completed or failed resumes it instead of being refused: the call returns at once with the message queued, the session that launched the subagent resumes it with its own model, tools and agent, and the subagent gets the message, then a prompt naming its sender. An `ask` gets its reply later as a message. A subagent that was paused or quit is not resumed: the message is queued and reaches it after what its launching session continues it with. Killed subagents, senders outside the subagent's group, pattern sends and older clients get the answers they got before; resumes by messages are bounded per subagent and per chain of agents waking each other, and a message that cannot reach the subagent after all comes back to its sender as a delivery failure ([#5999](https://github.com/bastani-inc/atomic/issues/5999)).
18
+ - Messages queued for a subagent that finished or was paused survive an Intercom broker restart, including a crash or a machine restart. The broker writes each one, before it tells its sender it is queued, to `ended-child-queue.sqlite` in the Intercom directory, or to the shared database when a shared `storage` is selected. After a restart, each reaches its subagent once and in order when the session that launched it resumes or continues it, an `ask` still gets its reply, and the limits on how often messages resume a subagent still count. The session that launched a subagent is waited for while it is away, whether it closed or the broker restarted, for 7 days in a row; a message fails before that only if the subagent is cancelled or gone, that session ends, or a size limit is reached. The size limits, 32 MiB per subagent and 256 MiB per broker, count what each message takes in the store, also across a broker restart, and the local file gives that space back once no message waits. When a subagent's queues merge as the session that launched it comes back, every message is kept and new messages to it are refused until it is back under the limit, and a message the local file has no room for is refused with the size-limit reason. Brokers and clients of earlier versions keep working, and ignore the new store ([#5999](https://github.com/bastani-inc/atomic/issues/5999)).
19
+
20
+ ### Changed
21
+
22
+ - Sessions of Atomic 0.9.x and 0.10.0 keep messaging each other through whichever broker is running: the protocol range is unchanged. 0.9.x workflows keep running while a 0.10.0 broker is running: it acknowledges their stage routes without keeping them, and never closes a 0.9.x session's connection over a workflow request. Their started stages are ordinary sessions in the run's `workflow:<runId>` group, reached by ID and name from that group. Messages sent to a stage that has not started are not queued for it: its `workflow:` path gets `Session not found`. A `workflow:` group is an ordinary group on a 0.10.0 broker. A 0.9.x run's notice that a message an earlier broker queued for a stage will not be delivered goes on as an ordinary send, so it reaches a sender in the run's group. A 0.10.0 session on a 0.9.x broker sends no workflow request and ignores the workflow rows that broker lists. See [Mixed versions and workflows](https://docs.bastani.ai/intercom/operations#mixed-versions-and-workflows) ([#5947](https://github.com/bastani-inc/atomic/pull/5947)).
23
+ - An interactive session now joins Intercom in the background a few seconds after it starts, so any other session in its group can list it and `send` or `ask` it before it has used Intercom itself. Before, a session that had never used Intercom was missing from `intercom list` and a send to it returned `Session not found`. Its first screen and first prompt do not wait for the join, and it registers under the same name and group as before. In a folder that is not trusted it joins only once you trust the folder or its first prompt starts. If the broker cannot be reached or started, it tries again silently after 1, 2, 5, 10 and 30 seconds, then joins on its next Intercom use. Print (`-p`), JSON, RPC and SDK sessions, subagents, and interactive sessions whose tool selection leaves out `intercom` still join on first use. Set `"joinAtStartup": false` in Intercom's `config.json`, or `ATOMIC_INTERCOM_JOIN_AT_STARTUP=0`, to keep interactive sessions joining on first use too. Sessions of earlier versions reach these sessions without updating ([#6037](https://github.com/bastani-inc/atomic/pull/6037)).
24
+
25
+ ### Fixed
26
+
27
+ - Reconnecting to Intercom no longer leaves a false reservation warning for a released subagent when the broker can confirm it still holds sends for that release. Checking the hold does not extend it or send another wake ([#5641](https://github.com/bastani-inc/atomic/issues/5641)).
28
+
7
29
  ## [0.10.0-alpha.1] - 2026-11-20
8
30
 
9
31
  ### Breaking Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/intercom",
3
- "version": "0.10.0-alpha.1",
3
+ "version": "0.10.1",
4
4
  "private": true,
5
5
  "description": "Atomic extension providing a private coordination channel between parent and child agent sessions. Fork of: https://github.com/nicobailon/pi-intercom",
6
6
  "contributors": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/mcp",
3
- "version": "0.10.0-alpha.1",
3
+ "version": "0.10.1",
4
4
  "private": true,
5
5
  "description": "Atomic's pi-compatible MCP integration for server connections, OAuth, tools, resources, and terminal management.",
6
6
  "contributors": [
@@ -2,6 +2,47 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.10.1] - 2026-11-20
6
+
7
+ ### Fixed
8
+
9
+ - An interrupted `wait-for-text.sh` (bundled tmux skill) no longer waits for a stalled pane capture to finish or for its timeout. With bash 5.2 or older, an interrupt that arrived just as the helper began waiting for its worker was only acted on once the worker wrote again; it now stops within a second ([#5566](https://github.com/bastani-inc/atomic/issues/5566)).
10
+
11
+ ## [0.10.1-alpha.1] - 2026-11-20
12
+
13
+ ### Fixed
14
+
15
+ - An interrupted `wait-for-text.sh` (bundled tmux skill) no longer waits for a stalled pane capture to finish or for its timeout. With bash 5.2 or older, an interrupt that arrived just as the helper began waiting for its worker was only acted on once the worker wrote again; it now stops within a second ([#5566](https://github.com/bastani-inc/atomic/issues/5566)).
16
+
17
+ ## [0.10.0] - 2026-11-20
18
+
19
+ ### Breaking Changes
20
+
21
+ - Workflow stages no longer launch, hold, or resume subagents. Instead of nesting delegation through stages, launch children side by side from the parent session, directly or with codemode. Wait for a child by its task id and resume it by its child id. Reopening the parent session still restores its unfinished children; records left by former workflow stages are not resumed ([#5932](https://github.com/bastani-inc/atomic/pull/5932)).
22
+ - A managed worktree child's terminal report now means Atomic has finished using its directory. Extensions that unblock Git filters or pause reservations must listen for `subagent:finishing` instead of waiting for the terminal report. Atomic's cleanup Git commands set `ATOMIC_SUBAGENT_WORKTREE_PHASE=finishing`. A filter that waits for terminal without switching can still stall; the tool reports pending cleanup, not a finished task ([#5600](https://github.com/bastani-inc/atomic/issues/5600)).
23
+
24
+ ### Added
25
+
26
+ - Codemode scripts can launch single or parallel subagents with `tools.subagent` and get their task IDs immediately, then wait with a budget, check status, and pause, quit or resume the children their session launched, including from a child's saved session. Scripts can `list` and `get` agent definitions; `create`, `update` and `delete` still require direct calls. The new `models` action lists configured models and their supported thinking levels, both directly and from scripts ([#5927](https://github.com/bastani-inc/atomic/pull/5927)).
27
+ - `/skill:workflow-files` uses `skill-creator` to convert an earlier workflow into a reusable skill, with its checks in `scripts/` and its dependencies and approvals in `SKILL.md`. It leaves the old file unchanged and never overwrites an existing skill ([#5924](https://github.com/bastani-inc/atomic/pull/5924)).
28
+ - Agents shipped by installed packages run as `<namespace>.<name>`, where the namespace is the package name with an npm scope as a dotted prefix: `name: reviewer` in `@acme/review-kit` runs as `acme.review-kit.reviewer`. A user or project agent with the same full name overrides it. `subagent` list and get name the source package, `/agents` lists them under Package agents, and update and delete refuse to change them. `/skill:workflow-files` turns a stage's pinned model, fallback models, tools and MCP servers into a named agent, and adds it to a package's `agents` when you ask it to update a package you maintain ([#5991](https://github.com/bastani-inc/atomic/issues/5991)).
29
+ - Any session that can message a subagent can resume it once it has finished. An Intercom message to a completed or failed subagent resumes it in its own session, and `subagent({ action: "resume", id: "<intercom-name>", message })` of a subagent another session launched sends it that message. The session that launched it keeps it: its result, notices, `/tasks` row and pause or quit stay there, and that session's transcript and the resumed task show who woke it. Paused or quit subagents are not resumed by others' messages; the messages reach them after they are continued ([#5999](https://github.com/bastani-inc/atomic/issues/5999)).
30
+
31
+ ### Changed
32
+
33
+ - A subagent launched with `context: "fork"` starts faster and copies less data after a clear or compaction. Its saved session keeps the conversation through its original fork point, without duplicating retired turns. It still keeps the entries extensions saved with `pi.appendEntry` and the records of which tools were added or removed before that point, so extensions and tool restores in the child see the same state as in the parent; for a session last indexed by an earlier Atomic version, finding them reads the branch before the fork point, which takes longer in a long session. Earlier history remains in the parent session ([#5500](https://github.com/bastani-inc/atomic/issues/5500)).
34
+ - The `wait` and `status` output of a subagent that completed or failed names the call that continues it, after its `Output of <task-id> (…):` header. A codemode script's settled `wait` also returns the child's `childId`, and a `resumeCall` when the child completed, failed, or was paused or quit, like the one `status` returns ([#5968](https://github.com/bastani-inc/atomic/pull/5968)).
35
+ - A subagent receives the messages you type for it through its own steering and follow-up queue, exactly as you typed them, instead of as Intercom messages with your chat's name and folder in front of the text. Messages from other agents still arrive through Intercom ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
36
+ - A subagent you pause with Esc keeps its session and task, stays paused when Atomic restarts and the session is continued or resumed, and continues with the next message you send it. Messages from other agents and its background work's notices wait until then and are delivered after your message. `x` in `/tasks` and `subagent({ action: "pause" })` or `quit` still stop it ([#6008](https://github.com/bastani-inc/atomic/pull/6008)).
37
+
38
+ ### Fixed
39
+
40
+ - A delayed wake refusal no longer shows `hold-failed` when Intercom confirms that reconnect restored the same released subagent. A child whose hold was dropped still reports the failure, as do older brokers that cannot verify the hold ([#5641](https://github.com/bastani-inc/atomic/issues/5641)).
41
+ - Temporary worktree children now report completion, pause, or quit after cleanup rather than while Atomic still has the directory open. The reply explains when a sibling keeps the batch open or cleanup continues in the background; Esc still ends the wait immediately ([#5600](https://github.com/bastani-inc/atomic/issues/5600)).
42
+ - When an SDK session without a task host batches several subagent calls, each caller now receives only its own children’s answers, even if a child used a fallback model or its parent cancelled it. Previously each caller could receive the whole batch’s text ([#5600](https://github.com/bastani-inc/atomic/issues/5600)).
43
+ - A forked child that waits for a slot starts at the original launch entry. A retry reopens the same child without keeping its completed session in memory ([#5594](https://github.com/bastani-inc/atomic/issues/5594)).
44
+ - A subagent's task names the model it runs on after every switch of its session's model, also one no fallback announced, such as an extension's `setModel`, and reports a fallback's model together with its reasoning level, so its `/tasks` row, launch card and completion notice never pair the new model with the level the old one ran at ([#6017](https://github.com/bastani-inc/atomic/pull/6017)).
45
+
5
46
  ## [0.10.0-alpha.1] - 2026-11-20
6
47
 
7
48
  ### Breaking Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/subagents",
3
- "version": "0.10.0-alpha.1",
3
+ "version": "0.10.1",
4
4
  "private": true,
5
5
  "description": "Atomic extension for delegating tasks to subagents with parallel execution. Fork of: https://github.com/nicobailon/pi-subagents",
6
6
  "contributors": [
@@ -240,6 +240,35 @@ take() {
240
240
  pane) have_pane=1; pane=$(cat <&3) || :; return 1 ;;
241
241
  esac
242
242
  }
243
+ # How long, in whole seconds, one wait for the worker's next line lasts before
244
+ # the helper checks for a stop request. A signal normally interrupts the wait at
245
+ # once, but bash 5.2 and older miss one that arrives just as `read` starts to
246
+ # wait: its trap then runs only after the next line, which a stalled capture can
247
+ # hold back until the deadline.
248
+ read_slice=1
249
+ # What a wait that timed out had read of a line, kept for the next wait.
250
+ partial=""
251
+ # Read the worker's next line into `line`. Returns 1 at the end of its output,
252
+ # and, with `until-cancelled`, 2 once a stop request has been noted.
253
+ next_line() {
254
+ local part rc
255
+ while :; do
256
+ rc=0
257
+ IFS= read -r -t "$read_slice" part <&3 || rc=$?
258
+ if (( rc == 0 )); then
259
+ line=$partial$part
260
+ partial=""
261
+ return 0
262
+ fi
263
+ # A timed-out read returns more than 128; anything else is the end.
264
+ if (( rc <= 128 )); then
265
+ partial=""
266
+ return 1
267
+ fi
268
+ partial+=$part
269
+ if [[ ${1-} == until-cancelled && -n "$cancelled" ]]; then return 2; fi
270
+ done
271
+ }
243
272
  # Ask the worker and its timer to stop, and kill a capture still running.
244
273
  signal_worker() {
245
274
  stopping_worker=1
@@ -254,7 +283,7 @@ stop_worker() {
254
283
  local line
255
284
  if [[ -n "$worker" ]]; then
256
285
  signal_worker
257
- while IFS= read -r line <&3 && take "$line"; do :; done
286
+ while next_line && take "$line"; do :; done
258
287
  exec 3<&-
259
288
  worker=""
260
289
  fi
@@ -273,8 +302,9 @@ trap 'on_signal TERM' TERM
273
302
  if [[ -z "$cancelled" ]]; then
274
303
  exec 3< <(watch_pane)
275
304
  worker=$!
276
- # The first status wins. A signal ends this loop at the worker's next line.
277
- while [[ -z "$status$cancelled" ]] && IFS= read -r line <&3 && take "$line"; do :; done
305
+ # The first status wins. A signal ends this loop at the worker's next line, or
306
+ # within a read slice when that line does not come.
307
+ while [[ -z "$status$cancelled" ]] && next_line until-cancelled && take "$line"; do :; done
278
308
  fi
279
309
  stop_worker
280
310
  if [[ -n "$cancelled" ]]; then
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/web-access",
3
- "version": "0.10.0-alpha.1",
3
+ "version": "0.10.1",
4
4
  "private": true,
5
5
  "description": "Atomic extension for web search, URL fetching, GitHub repo cloning, PDF/video extraction. Fork of: https://github.com/nicobailon/pi-web-access",
6
6
  "contributors": [
@@ -1 +1 @@
1
- {"version":3,"file":"agent-session-events.d.ts","sourceRoot":"","sources":["../../src/core/agent-session-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAkC,MAAM,2BAA2B,CAAC;AAK3G,OAAO,KAAK,EAAE,2BAA2B,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAsB9F,OAAO,EACN,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAI9B,MAAM,0BAA0B,CAAC;AAKlC,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAE5B,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAYhF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAsBlE,wBAAgB,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAwBxE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAOzD;AAQD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,YAAY,GAAG,KAAK,GAAG,SAAS,CAK7E;AAgCD,4EAA4E;AAE5E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CA+FhG;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAgC1F;AAED,wBAAgB,4BAA4B,CAC3C,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,YAAY,EAAE,GACtB,gBAAgB,GAAG,SAAS,CAQ9B;AAkBD,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,YAAY,EAClB,KAAK,EAAE,UAAU,EACjB,eAAe,SAAwB,GACrC,OAAO,CAAC,IAAI,CAAC,CAoOf;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CA0BvF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAQvF;AAED,wCAAwC;AAExC,wBAAgB,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAMtD;AAED,0CAA0C;AAE1C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAMhF;AAED,8EAA8E;AAE9E,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,YAAY,GAAG,gBAAgB,GAAG,SAAS,CAS1F;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,CAchH;AAED,kDAAkD;AAElD,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA6E9F;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACxB,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,uBAAuB,GAC/B,YAAY,CAAC;AAChB,wBAAgB,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,yBAAyB,GAAG,MAAM,IAAI,CAAC;AAuB/F,oDAAoD;AACpD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAK7D;AAcD,kGAAkG;AAClG,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,GAAG,SAAS,CAE9F;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE1D;AAED,gFAAgF;AAChF,wBAAgB,iBAAiB,CAChC,OAAO,EAAE,YAAY,EACrB,KAAK,GAAE,oBAAmE,EAC1E,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAC3B,OAAO,CAAC,IAAI,CAAC,CA6Gf;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzD;AAMD,uBAAuB;AAEvB,eAAO,MAAM,yBAAyB;iBACxB,YAAY,SAAS,oBAAoB,qBAAqB,MAAM,IAAI;;;;;;;;;;;;;;;;;CAmBrF,CAAC"}
1
+ {"version":3,"file":"agent-session-events.d.ts","sourceRoot":"","sources":["../../src/core/agent-session-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAkC,MAAM,2BAA2B,CAAC;AAK3G,OAAO,KAAK,EAAE,2BAA2B,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAsB9F,OAAO,EACN,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAI9B,MAAM,0BAA0B,CAAC;AAKlC,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAE5B,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAYhF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AA4BlE,wBAAgB,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAwBxE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CASzD;AASD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,YAAY,GAAG,KAAK,GAAG,SAAS,CAK7E;AAgCD,4EAA4E;AAE5E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAoGhG;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAgC1F;AAED,wBAAgB,4BAA4B,CAC3C,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,YAAY,EAAE,GACtB,gBAAgB,GAAG,SAAS,CAQ9B;AAkBD,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,YAAY,EAClB,KAAK,EAAE,UAAU,EACjB,eAAe,SAAwB,GACrC,OAAO,CAAC,IAAI,CAAC,CA2Of;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CA0BvF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAQvF;AAED,wCAAwC;AAExC,wBAAgB,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAMtD;AAED,0CAA0C;AAE1C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAMhF;AAED,8EAA8E;AAE9E,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,YAAY,GAAG,gBAAgB,GAAG,SAAS,CAS1F;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,CAchH;AAED,kDAAkD;AAElD,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA6E9F;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACxB,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,uBAAuB,GAC/B,YAAY,CAAC;AAChB,wBAAgB,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,yBAAyB,GAAG,MAAM,IAAI,CAAC;AAuB/F,oDAAoD;AACpD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAK7D;AAcD,kGAAkG;AAClG,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,GAAG,SAAS,CAE9F;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE1D;AAED,gFAAgF;AAChF,wBAAgB,iBAAiB,CAChC,OAAO,EAAE,YAAY,EACrB,KAAK,GAAE,oBAAmE,EAC1E,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAC3B,OAAO,CAAC,IAAI,CAAC,CA6Gf;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzD;AAMD,uBAAuB;AAEvB,eAAO,MAAM,yBAAyB;iBACxB,YAAY,SAAS,oBAAoB,qBAAqB,MAAM,IAAI;;;;;;;;;;;;;;;;;CAmBrF,CAAC"}