@bastani/atomic 0.10.4-alpha.2 → 0.10.5-alpha.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 (614) hide show
  1. package/CHANGELOG.md +238 -0
  2. package/dist/_shared/chunk-CDOYTDYM.js +4 -0
  3. package/dist/_shared/chunk-CDOYTDYM.js.map +1 -0
  4. package/dist/_shared/compile-cache-warmup-host-RU5L7I7A.js +1 -1
  5. package/dist/_shared/dist-KOELCESV.js +48 -3
  6. package/dist/_shared/fork-row-index-UAUAQRD5.js +47 -2
  7. package/dist/_shared/http-YFAPTIZD.js +16 -4
  8. package/dist/_shared/http-YFAPTIZD.js.map +1 -1
  9. package/dist/_shared/lib-4PES5P4V.js +59 -14
  10. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +1706 -258
  11. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
  12. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +317 -64
  13. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
  14. package/dist/_shared/{mode-shared-HP7GUA7J.js → mode-shared-2QJSCUM6.js} +432 -81
  15. package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -0
  16. package/dist/_shared/p0-cli-BB45ZQY6.js +3482 -0
  17. package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -0
  18. package/dist/_shared/p0-cli-GUFK7TPN.js +2 -2838
  19. package/dist/_shared/p0-cli-GUFK7TPN.js.map +1 -1
  20. package/dist/_shared/{p1a-prewarm-YK3KDTLN.js → p1a-prewarm-UQY3X2UK.js} +270 -73
  21. package/dist/_shared/p1a-prewarm-UQY3X2UK.js.map +1 -0
  22. package/dist/_shared/{p1b-elig-PXQA2FYP.js → p1b-elig-ENCUPKKJ.js} +190 -121
  23. package/dist/_shared/p1b-elig-ENCUPKKJ.js.map +1 -0
  24. package/dist/_shared/p2-common-YLSYXMDQ.js +1 -3
  25. package/dist/_shared/p2-common-YLSYXMDQ.js.map +1 -1
  26. package/dist/_shared/p2-shell-TJBYQMCJ.js +1 -1
  27. package/dist/_shared/p2-shell-main-B2WIALFD.js +500 -127
  28. package/dist/_shared/p2-shell-main-B2WIALFD.js.map +1 -1
  29. package/dist/_shared/runtime-O4KCSG4C.js +4 -4
  30. package/dist/_shared/sdk-WQIOHVKO.js +56 -11
  31. package/dist/_shared/session-data-AHTU7IS6.js +48 -3
  32. package/dist/_shared/session-manager-list-2BLEEZVG.js +2 -2
  33. package/dist/_shared/settings-startup-65YEWRV2.js.map +1 -1
  34. package/dist/_shared/sql-session-store-5FD3WBMZ.js +57 -12
  35. package/dist/_shared/{startup-0-0-X4NF3GKM.js → startup-0-0-TYUFUOJZ.js} +528 -321
  36. package/dist/_shared/startup-0-0-TYUFUOJZ.js.map +1 -0
  37. package/dist/_shared/{startup-0-1-7QTG6VJZ.js → startup-0-1-D4LGGINF.js} +284 -81
  38. package/dist/_shared/startup-0-1-D4LGGINF.js.map +1 -0
  39. package/dist/_shared/{startup-0-2-KFDYPDJK.js → startup-0-2-SZGQIWHI.js} +483 -154
  40. package/dist/_shared/startup-0-2-SZGQIWHI.js.map +1 -0
  41. package/dist/_shared/startup-0-3-T4DVFYWX.js +340 -110
  42. package/dist/_shared/startup-0-3-T4DVFYWX.js.map +1 -1
  43. package/dist/_shared/startup-0-4-HN5EB4K7.js +261 -59
  44. package/dist/_shared/startup-0-4-HN5EB4K7.js.map +1 -1
  45. package/dist/_shared/startup-0-5-OHJNE6JH.js +421 -148
  46. package/dist/_shared/startup-0-5-OHJNE6JH.js.map +1 -1
  47. package/dist/_shared/startup-10-0-TDQNBDDL.js +62 -11
  48. package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
  49. package/dist/_shared/startup-12-0-55AAXBJZ.js +3 -3
  50. package/dist/_shared/startup-14-0-MLX36RBG.js +12 -11
  51. package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
  52. package/dist/_shared/startup-15-0-YUKGAC63.js +53 -158
  53. package/dist/_shared/startup-15-0-YUKGAC63.js.map +1 -1
  54. package/dist/_shared/startup-15-1-4S7FLMNG.js +231 -46
  55. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  56. package/dist/_shared/startup-8-0-34CBHPZH.js +115 -35
  57. package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
  58. package/dist/_shared/{startup-8-1-KQJBDKRU.js → startup-8-1-SJW2GMAM.js} +203 -62
  59. package/dist/_shared/startup-8-1-SJW2GMAM.js.map +1 -0
  60. package/dist/_shared/storage-command-7MGXLJGZ.js +55 -10
  61. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +47 -2
  62. package/dist/_shared/tree-outline-MUEPK5B7.js +48 -3
  63. package/dist/builtin/intercom/CHANGELOG.md +59 -0
  64. package/dist/builtin/intercom/README.md +0 -1
  65. package/dist/builtin/intercom/broker/broker-instance.ts +13 -57
  66. package/dist/builtin/intercom/broker/broker-process.ts +30 -10
  67. package/dist/builtin/intercom/broker/broker-routing.ts +12 -2
  68. package/dist/builtin/intercom/broker/broker.bundle.mjs +2557 -498
  69. package/dist/builtin/intercom/broker/broker.ts +164 -55
  70. package/dist/builtin/intercom/broker/client.ts +36 -16
  71. package/dist/builtin/intercom/broker/control.ts +83 -20
  72. package/dist/builtin/intercom/broker/durable-ended-queue.ts +65 -19
  73. package/dist/builtin/intercom/broker/host-command-environment.ts +7 -2
  74. package/dist/builtin/intercom/broker/multinode-router.ts +1675 -387
  75. package/dist/builtin/intercom/broker/multinode-state-store.ts +10 -0
  76. package/dist/builtin/intercom/broker/paths.ts +68 -6
  77. package/dist/builtin/intercom/broker/pending-send-registry.ts +5 -0
  78. package/dist/builtin/intercom/broker/registration-bounds.ts +38 -0
  79. package/dist/builtin/intercom/broker/retiring-broker-check.ts +178 -0
  80. package/dist/builtin/intercom/broker/return-paths.ts +268 -7
  81. package/dist/builtin/intercom/broker/send-handler.ts +253 -28
  82. package/dist/builtin/intercom/broker/send-order-gate.ts +410 -0
  83. package/dist/builtin/intercom/broker/spawn.ts +950 -202
  84. package/dist/builtin/intercom/broker/sql-lease-store.ts +37 -0
  85. package/dist/builtin/intercom/broker/sql-outbox-store.ts +7 -0
  86. package/dist/builtin/intercom/broker/windows-cwd.ts +546 -0
  87. package/dist/builtin/intercom/index.bundle.mjs +3506 -2328
  88. package/dist/builtin/intercom/package.json +1 -1
  89. package/dist/builtin/intercom/retry-policy.ts +4 -0
  90. package/dist/builtin/intercom/types.ts +2 -0
  91. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  92. package/dist/builtin/mcp/package.json +1 -1
  93. package/dist/builtin/subagents/CHANGELOG.md +46 -0
  94. package/dist/builtin/subagents/package.json +1 -1
  95. package/dist/builtin/subagents/src/extension/index.bundle.mjs +336 -86
  96. package/dist/builtin/web-access/CHANGELOG.md +12 -0
  97. package/dist/builtin/web-access/index.bundle.mjs +23 -38
  98. package/dist/builtin/web-access/package.json +1 -1
  99. package/dist/bun/cli.js +1 -1
  100. package/dist/bun/cli.js.map +1 -1
  101. package/dist/bun/internal-intercom-broker.js +119 -4
  102. package/dist/bun/internal-intercom-broker.js.map +1 -1
  103. package/dist/bun/register-theme-validator.js +6 -0
  104. package/dist/bun/register-theme-validator.js.map +1 -0
  105. package/dist/cli/args.js +2 -2
  106. package/dist/cli/auth-cli.code.js +1102 -0
  107. package/dist/cli/auth-cli.code.js.map +1 -0
  108. package/dist/cli/auth-cli.impl.js +36 -0
  109. package/dist/cli/auth-cli.impl.js.map +1 -0
  110. package/dist/cli/auth-cli.js +30 -1096
  111. package/dist/cli/auth-cli.js.map +1 -1
  112. package/dist/cli/blueprint-command.code.js +906 -0
  113. package/dist/cli/blueprint-command.code.js.map +1 -0
  114. package/dist/cli/blueprint-command.impl.js +36 -0
  115. package/dist/cli/blueprint-command.impl.js.map +1 -0
  116. package/dist/cli/blueprint-command.js +30 -900
  117. package/dist/cli/blueprint-command.js.map +1 -1
  118. package/dist/cli/intercom-command.code.js +153 -0
  119. package/dist/cli/intercom-command.code.js.map +1 -0
  120. package/dist/cli/intercom-command.impl.js +36 -0
  121. package/dist/cli/intercom-command.impl.js.map +1 -0
  122. package/dist/cli/intercom-command.js +33 -105
  123. package/dist/cli/intercom-command.js.map +1 -1
  124. package/dist/cli/list-models.code.js +60 -0
  125. package/dist/cli/list-models.code.js.map +1 -0
  126. package/dist/cli/list-models.impl.js +36 -0
  127. package/dist/cli/list-models.impl.js.map +1 -0
  128. package/dist/cli/list-models.js +33 -57
  129. package/dist/cli/list-models.js.map +1 -1
  130. package/dist/cli/session-picker.code.js +55 -0
  131. package/dist/cli/session-picker.code.js.map +1 -0
  132. package/dist/cli/session-picker.impl.js +36 -0
  133. package/dist/cli/session-picker.impl.js.map +1 -0
  134. package/dist/cli/session-picker.js +33 -52
  135. package/dist/cli/session-picker.js.map +1 -1
  136. package/dist/cli/startup-ui.code.js +5 -0
  137. package/dist/cli/startup-ui.code.js.map +1 -0
  138. package/dist/cli/startup-ui.impl.js +36 -0
  139. package/dist/cli/startup-ui.impl.js.map +1 -0
  140. package/dist/cli/startup-ui.js +35 -4
  141. package/dist/cli/storage-command.code.js +3 -0
  142. package/dist/cli/storage-command.code.js.map +1 -0
  143. package/dist/cli/storage-command.impl.js +36 -0
  144. package/dist/cli/storage-command.impl.js.map +1 -0
  145. package/dist/cli/storage-command.js +35 -2
  146. package/dist/cli/storage-search-session.code.js +189 -0
  147. package/dist/cli/storage-search-session.code.js.map +1 -0
  148. package/dist/cli/storage-search-session.impl.js +36 -0
  149. package/dist/cli/storage-search-session.impl.js.map +1 -0
  150. package/dist/cli/storage-search-session.js +33 -186
  151. package/dist/cli/storage-search-session.js.map +1 -1
  152. package/dist/cli/team-command.code.js +217 -0
  153. package/dist/cli/team-command.code.js.map +1 -0
  154. package/dist/cli/team-command.impl.js +36 -0
  155. package/dist/cli/team-command.impl.js.map +1 -0
  156. package/dist/cli/team-command.js +32 -213
  157. package/dist/cli/team-command.js.map +1 -1
  158. package/dist/cli.js +60 -11
  159. package/dist/cli.js.map +1 -1
  160. package/dist/config.js +1 -1
  161. package/dist/core/agent-session-methods.d.ts +4 -3
  162. package/dist/core/agent-session-methods.js.map +1 -1
  163. package/dist/core/agent-session-types.d.ts +5 -0
  164. package/dist/core/compaction/compaction.d.ts +6 -0
  165. package/dist/core/compaction/model-resolver.d.ts +1 -1
  166. package/dist/core/debug.code.js +3 -0
  167. package/dist/core/debug.code.js.map +1 -0
  168. package/dist/core/debug.impl.js +36 -0
  169. package/dist/core/debug.impl.js.map +1 -0
  170. package/dist/core/debug.js +35 -2
  171. package/dist/core/default-model-api-prewarm.d.ts +5 -0
  172. package/dist/core/export-html/card-projection.code.js +257 -0
  173. package/dist/core/export-html/card-projection.code.js.map +1 -0
  174. package/dist/core/export-html/card-projection.impl.js +36 -0
  175. package/dist/core/export-html/card-projection.impl.js.map +1 -0
  176. package/dist/core/export-html/card-projection.js +34 -255
  177. package/dist/core/export-html/card-projection.js.map +1 -1
  178. package/dist/core/export-html/index.code.js +655 -0
  179. package/dist/core/export-html/index.code.js.map +1 -0
  180. package/dist/core/export-html/index.impl.js +36 -0
  181. package/dist/core/export-html/index.impl.js.map +1 -0
  182. package/dist/core/export-html/index.js +30 -604
  183. package/dist/core/export-html/index.js.map +1 -1
  184. package/dist/core/export-html/json-spans.code.js +3 -0
  185. package/dist/core/export-html/json-spans.code.js.map +1 -0
  186. package/dist/core/export-html/json-spans.impl.js +36 -0
  187. package/dist/core/export-html/json-spans.impl.js.map +1 -0
  188. package/dist/core/export-html/json-spans.js +35 -2
  189. package/dist/core/export-html/oversized-render-inputs.code.js +125 -0
  190. package/dist/core/export-html/oversized-render-inputs.code.js.map +1 -0
  191. package/dist/core/export-html/oversized-render-inputs.impl.js +36 -0
  192. package/dist/core/export-html/oversized-render-inputs.impl.js.map +1 -0
  193. package/dist/core/export-html/oversized-render-inputs.js +31 -120
  194. package/dist/core/export-html/oversized-render-inputs.js.map +1 -1
  195. package/dist/core/export-html/tool-renderer.code.js +350 -0
  196. package/dist/core/export-html/tool-renderer.code.js.map +1 -0
  197. package/dist/core/export-html/tool-renderer.impl.js +36 -0
  198. package/dist/core/export-html/tool-renderer.impl.js.map +1 -0
  199. package/dist/core/export-html/tool-renderer.js +33 -347
  200. package/dist/core/export-html/tool-renderer.js.map +1 -1
  201. package/dist/core/extensions/jiti-loader.code.js +3 -0
  202. package/dist/core/extensions/jiti-loader.code.js.map +1 -0
  203. package/dist/core/extensions/jiti-loader.impl.js +36 -0
  204. package/dist/core/extensions/jiti-loader.impl.js.map +1 -0
  205. package/dist/core/extensions/jiti-loader.js +35 -2
  206. package/dist/core/extensions/jiti-static-loader.code.js +3 -0
  207. package/dist/core/extensions/jiti-static-loader.code.js.map +1 -0
  208. package/dist/core/extensions/jiti-static-loader.impl.js +36 -0
  209. package/dist/core/extensions/jiti-static-loader.impl.js.map +1 -0
  210. package/dist/core/extensions/jiti-static-loader.js +35 -2
  211. package/dist/core/extensions/loader-host-modules.code.js +3 -0
  212. package/dist/core/extensions/loader-host-modules.code.js.map +1 -0
  213. package/dist/core/extensions/loader-host-modules.impl.js +36 -0
  214. package/dist/core/extensions/loader-host-modules.impl.js.map +1 -0
  215. package/dist/core/extensions/loader-host-modules.js +35 -2
  216. package/dist/core/extensions/loader-virtual-modules.d.ts +1 -6
  217. package/dist/core/extensions/loader-virtual-modules.js +1 -1
  218. package/dist/core/extensions/runner-context.js +3 -3
  219. package/dist/core/extensions/session-events.d.ts +4 -0
  220. package/dist/core/extensions/session-events.js.map +1 -1
  221. package/dist/core/intercom-broker-control-host.code.js +5 -0
  222. package/dist/core/intercom-broker-control-host.code.js.map +1 -0
  223. package/dist/core/intercom-broker-control-host.impl.js +36 -0
  224. package/dist/core/intercom-broker-control-host.impl.js.map +1 -0
  225. package/dist/core/intercom-broker-control-host.js +35 -4
  226. package/dist/core/intercom-broker-control.code.js +63 -0
  227. package/dist/core/intercom-broker-control.code.js.map +1 -0
  228. package/dist/core/intercom-broker-control.d.ts +21 -0
  229. package/dist/core/intercom-broker-control.impl.js +36 -0
  230. package/dist/core/intercom-broker-control.impl.js.map +1 -0
  231. package/dist/core/intercom-broker-control.js +35 -17
  232. package/dist/core/intercom-broker-control.js.map +1 -1
  233. package/dist/core/package-manager-storage-adapters.code.js +3 -0
  234. package/dist/core/package-manager-storage-adapters.code.js.map +1 -0
  235. package/dist/core/package-manager-storage-adapters.impl.js +36 -0
  236. package/dist/core/package-manager-storage-adapters.impl.js.map +1 -0
  237. package/dist/core/package-manager-storage-adapters.js +35 -2
  238. package/dist/core/process-start-token.d.ts +8 -2
  239. package/dist/core/process-tree-containment.d.ts +27 -0
  240. package/dist/core/queued-message-delivery.d.ts +5 -2
  241. package/dist/core/resume/blueprint/process.d.ts +3 -1
  242. package/dist/core/sdk.code.js +9 -0
  243. package/dist/core/sdk.code.js.map +1 -0
  244. package/dist/core/sdk.impl.js +36 -0
  245. package/dist/core/sdk.impl.js.map +1 -0
  246. package/dist/core/sdk.js +35 -8
  247. package/dist/core/session-manager-core.d.ts +15 -5
  248. package/dist/core/session-manager-core.js +195 -38
  249. package/dist/core/session-manager-core.js.map +1 -1
  250. package/dist/core/session-manager-list.code.js +3 -0
  251. package/dist/core/session-manager-list.code.js.map +1 -0
  252. package/dist/core/session-manager-list.impl.js +36 -0
  253. package/dist/core/session-manager-list.impl.js.map +1 -0
  254. package/dist/core/session-manager-list.js +35 -2
  255. package/dist/core/session-manager-types.d.ts +20 -0
  256. package/dist/core/session-manager.code.js +8 -0
  257. package/dist/core/session-manager.code.js.map +1 -0
  258. package/dist/core/session-manager.d.ts +1 -1
  259. package/dist/core/session-manager.impl.js +36 -0
  260. package/dist/core/session-manager.impl.js.map +1 -0
  261. package/dist/core/session-manager.js +35 -7
  262. package/dist/core/session-storage.code.js +3 -0
  263. package/dist/core/session-storage.code.js.map +1 -0
  264. package/dist/core/session-storage.impl.js +36 -0
  265. package/dist/core/session-storage.impl.js.map +1 -0
  266. package/dist/core/session-storage.js +35 -2
  267. package/dist/core/storage/file-identity.d.ts +3 -0
  268. package/dist/core/storage/file-identity.js +296 -86
  269. package/dist/core/storage/file-identity.js.map +1 -1
  270. package/dist/core/storage/index.d.ts +1 -1
  271. package/dist/core/storage/index.js +52 -7
  272. package/dist/core/storage/index.js.map +1 -1
  273. package/dist/core/storage/node-sqlite-thread.js +47 -2
  274. package/dist/core/storage/node-sqlite.js +49 -4
  275. package/dist/core/storage/node-sqlite.js.map +1 -1
  276. package/dist/core/storage/offline-snapshot-file.code.js +37 -0
  277. package/dist/core/storage/offline-snapshot-file.code.js.map +1 -0
  278. package/dist/core/storage/offline-snapshot-file.impl.js +36 -0
  279. package/dist/core/storage/offline-snapshot-file.impl.js.map +1 -0
  280. package/dist/core/storage/offline-snapshot-file.js +33 -34
  281. package/dist/core/storage/offline-snapshot-file.js.map +1 -1
  282. package/dist/core/storage/provider.js +52 -7
  283. package/dist/core/storage/selection.js +49 -4
  284. package/dist/core/storage/session/branch-fork-source.code.js +146 -0
  285. package/dist/core/storage/session/branch-fork-source.code.js.map +1 -0
  286. package/dist/core/storage/session/branch-fork-source.impl.js +36 -0
  287. package/dist/core/storage/session/branch-fork-source.impl.js.map +1 -0
  288. package/dist/core/storage/session/branch-fork-source.js +32 -97
  289. package/dist/core/storage/session/branch-fork-source.js.map +1 -1
  290. package/dist/core/storage/session/card-view.code.js +60 -0
  291. package/dist/core/storage/session/card-view.code.js.map +1 -0
  292. package/dist/core/storage/session/card-view.impl.js +36 -0
  293. package/dist/core/storage/session/card-view.impl.js.map +1 -0
  294. package/dist/core/storage/session/card-view.js +34 -58
  295. package/dist/core/storage/session/card-view.js.map +1 -1
  296. package/dist/core/storage/session/child-reader.code.js +139 -0
  297. package/dist/core/storage/session/child-reader.code.js.map +1 -0
  298. package/dist/core/storage/session/child-reader.d.ts +1 -0
  299. package/dist/core/storage/session/child-reader.impl.js +36 -0
  300. package/dist/core/storage/session/child-reader.impl.js.map +1 -0
  301. package/dist/core/storage/session/child-reader.js +33 -91
  302. package/dist/core/storage/session/child-reader.js.map +1 -1
  303. package/dist/core/storage/session/chunked-resume-projection.code.js +3 -0
  304. package/dist/core/storage/session/chunked-resume-projection.code.js.map +1 -0
  305. package/dist/core/storage/session/chunked-resume-projection.impl.js +36 -0
  306. package/dist/core/storage/session/chunked-resume-projection.impl.js.map +1 -0
  307. package/dist/core/storage/session/chunked-resume-projection.js +35 -2
  308. package/dist/core/storage/session/expanded-child-details.code.js +684 -0
  309. package/dist/core/storage/session/expanded-child-details.code.js.map +1 -0
  310. package/dist/core/storage/session/expanded-child-details.impl.js +36 -0
  311. package/dist/core/storage/session/expanded-child-details.impl.js.map +1 -0
  312. package/dist/core/storage/session/expanded-child-details.js +31 -634
  313. package/dist/core/storage/session/expanded-child-details.js.map +1 -1
  314. package/dist/core/storage/session/fork-row-bytes.code.js +3 -0
  315. package/dist/core/storage/session/fork-row-bytes.code.js.map +1 -0
  316. package/dist/core/storage/session/fork-row-bytes.impl.js +36 -0
  317. package/dist/core/storage/session/fork-row-bytes.impl.js.map +1 -0
  318. package/dist/core/storage/session/fork-row-bytes.js +35 -2
  319. package/dist/core/storage/session/fork-row-index.code.js +3 -0
  320. package/dist/core/storage/session/fork-row-index.code.js.map +1 -0
  321. package/dist/core/storage/session/fork-row-index.impl.js +36 -0
  322. package/dist/core/storage/session/fork-row-index.impl.js.map +1 -0
  323. package/dist/core/storage/session/fork-row-index.js +35 -2
  324. package/dist/core/storage/session/fork-staging.code.js +580 -0
  325. package/dist/core/storage/session/fork-staging.code.js.map +1 -0
  326. package/dist/core/storage/session/fork-staging.impl.js +36 -0
  327. package/dist/core/storage/session/fork-staging.impl.js.map +1 -0
  328. package/dist/core/storage/session/fork-staging.js +30 -574
  329. package/dist/core/storage/session/fork-staging.js.map +1 -1
  330. package/dist/core/storage/session/fork-window.code.js +522 -0
  331. package/dist/core/storage/session/fork-window.code.js.map +1 -0
  332. package/dist/core/storage/session/fork-window.impl.js +36 -0
  333. package/dist/core/storage/session/fork-window.impl.js.map +1 -0
  334. package/dist/core/storage/session/fork-window.js +30 -471
  335. package/dist/core/storage/session/fork-window.js.map +1 -1
  336. package/dist/core/storage/session/history-pages.code.js +3 -0
  337. package/dist/core/storage/session/history-pages.code.js.map +1 -0
  338. package/dist/core/storage/session/history-pages.impl.js +36 -0
  339. package/dist/core/storage/session/history-pages.impl.js.map +1 -0
  340. package/dist/core/storage/session/history-pages.js +35 -2
  341. package/dist/core/storage/session/jsonl-entry-projection.code.js +3 -0
  342. package/dist/core/storage/session/jsonl-entry-projection.code.js.map +1 -0
  343. package/dist/core/storage/session/jsonl-entry-projection.impl.js +36 -0
  344. package/dist/core/storage/session/jsonl-entry-projection.impl.js.map +1 -0
  345. package/dist/core/storage/session/jsonl-entry-projection.js +35 -2
  346. package/dist/core/storage/session/jsonl-session-store.code.js +3 -0
  347. package/dist/core/storage/session/jsonl-session-store.code.js.map +1 -0
  348. package/dist/core/storage/session/jsonl-session-store.impl.js +36 -0
  349. package/dist/core/storage/session/jsonl-session-store.impl.js.map +1 -0
  350. package/dist/core/storage/session/jsonl-session-store.js +35 -2
  351. package/dist/core/storage/session/memory-session-store.code.js +3 -0
  352. package/dist/core/storage/session/memory-session-store.code.js.map +1 -0
  353. package/dist/core/storage/session/memory-session-store.impl.js +36 -0
  354. package/dist/core/storage/session/memory-session-store.impl.js.map +1 -0
  355. package/dist/core/storage/session/memory-session-store.js +35 -2
  356. package/dist/core/storage/session/pinned-branch-resume.code.js +117 -0
  357. package/dist/core/storage/session/pinned-branch-resume.code.js.map +1 -0
  358. package/dist/core/storage/session/pinned-branch-resume.impl.js +36 -0
  359. package/dist/core/storage/session/pinned-branch-resume.impl.js.map +1 -0
  360. package/dist/core/storage/session/pinned-branch-resume.js +33 -69
  361. package/dist/core/storage/session/pinned-branch-resume.js.map +1 -1
  362. package/dist/core/storage/session/released-history-files.code.js +465 -0
  363. package/dist/core/storage/session/released-history-files.code.js.map +1 -0
  364. package/dist/core/storage/session/released-history-files.impl.js +36 -0
  365. package/dist/core/storage/session/released-history-files.impl.js.map +1 -0
  366. package/dist/core/storage/session/released-history-files.js +32 -461
  367. package/dist/core/storage/session/released-history-files.js.map +1 -1
  368. package/dist/core/storage/session/resident-fork-rows.code.js +57 -0
  369. package/dist/core/storage/session/resident-fork-rows.code.js.map +1 -0
  370. package/dist/core/storage/session/resident-fork-rows.impl.js +36 -0
  371. package/dist/core/storage/session/resident-fork-rows.impl.js.map +1 -0
  372. package/dist/core/storage/session/resident-fork-rows.js +32 -53
  373. package/dist/core/storage/session/resident-fork-rows.js.map +1 -1
  374. package/dist/core/storage/session/session-resume.code.js +3 -0
  375. package/dist/core/storage/session/session-resume.code.js.map +1 -0
  376. package/dist/core/storage/session/session-resume.impl.js +36 -0
  377. package/dist/core/storage/session/session-resume.impl.js.map +1 -0
  378. package/dist/core/storage/session/session-resume.js +35 -2
  379. package/dist/core/storage/session/snapshot-cut.code.js +3 -0
  380. package/dist/core/storage/session/snapshot-cut.code.js.map +1 -0
  381. package/dist/core/storage/session/snapshot-cut.impl.js +36 -0
  382. package/dist/core/storage/session/snapshot-cut.impl.js.map +1 -0
  383. package/dist/core/storage/session/snapshot-cut.js +35 -2
  384. package/dist/core/storage/session/snapshot-history.code.js +107 -0
  385. package/dist/core/storage/session/snapshot-history.code.js.map +1 -0
  386. package/dist/core/storage/session/snapshot-history.impl.js +36 -0
  387. package/dist/core/storage/session/snapshot-history.impl.js.map +1 -0
  388. package/dist/core/storage/session/snapshot-history.js +34 -60
  389. package/dist/core/storage/session/snapshot-history.js.map +1 -1
  390. package/dist/core/storage/session/sql-session-store.code.js +3 -0
  391. package/dist/core/storage/session/sql-session-store.code.js.map +1 -0
  392. package/dist/core/storage/session/sql-session-store.impl.js +36 -0
  393. package/dist/core/storage/session/sql-session-store.impl.js.map +1 -0
  394. package/dist/core/storage/session/sql-session-store.js +35 -2
  395. package/dist/core/storage/session/tree-outline.code.js +3 -0
  396. package/dist/core/storage/session/tree-outline.code.js.map +1 -0
  397. package/dist/core/storage/session/tree-outline.impl.js +36 -0
  398. package/dist/core/storage/session/tree-outline.impl.js.map +1 -0
  399. package/dist/core/storage/session/tree-outline.js +35 -2
  400. package/dist/core/storage/session/tree-presentation.code.js +342 -0
  401. package/dist/core/storage/session/tree-presentation.code.js.map +1 -0
  402. package/dist/core/storage/session/tree-presentation.impl.js +36 -0
  403. package/dist/core/storage/session/tree-presentation.impl.js.map +1 -0
  404. package/dist/core/storage/session/tree-presentation.js +31 -337
  405. package/dist/core/storage/session/tree-presentation.js.map +1 -1
  406. package/dist/core/storage/session/types.d.ts +26 -0
  407. package/dist/core/storage/storage-status.code.js +3 -0
  408. package/dist/core/storage/storage-status.code.js.map +1 -0
  409. package/dist/core/storage/storage-status.impl.js +36 -0
  410. package/dist/core/storage/storage-status.impl.js.map +1 -0
  411. package/dist/core/storage/storage-status.js +35 -2
  412. package/dist/core/storage/team.code.js +3 -0
  413. package/dist/core/storage/team.code.js.map +1 -0
  414. package/dist/core/storage/team.impl.js +36 -0
  415. package/dist/core/storage/team.impl.js.map +1 -0
  416. package/dist/core/storage/team.js +35 -2
  417. package/dist/core/structured-output/index.code.js +3 -0
  418. package/dist/core/structured-output/index.code.js.map +1 -0
  419. package/dist/core/structured-output/index.impl.js +36 -0
  420. package/dist/core/structured-output/index.impl.js.map +1 -0
  421. package/dist/core/structured-output/index.js +35 -2
  422. package/dist/core/tasks/command-output.d.ts +4 -1
  423. package/dist/core/tasks/supervisor.d.ts +2 -0
  424. package/dist/core/tasks/task-completion-entry.code.js +254 -0
  425. package/dist/core/tasks/task-completion-entry.code.js.map +1 -0
  426. package/dist/core/tasks/task-completion-entry.impl.js +36 -0
  427. package/dist/core/tasks/task-completion-entry.impl.js.map +1 -0
  428. package/dist/core/tasks/task-completion-entry.js +33 -251
  429. package/dist/core/tasks/task-completion-entry.js.map +1 -1
  430. package/dist/core/tasks/task-file-history.code.js +424 -0
  431. package/dist/core/tasks/task-file-history.code.js.map +1 -0
  432. package/dist/core/tasks/task-file-history.impl.js +36 -0
  433. package/dist/core/tasks/task-file-history.impl.js.map +1 -0
  434. package/dist/core/tasks/task-file-history.js +32 -375
  435. package/dist/core/tasks/task-file-history.js.map +1 -1
  436. package/dist/core/tasks/task-reference-archive.code.js +514 -0
  437. package/dist/core/tasks/task-reference-archive.code.js.map +1 -0
  438. package/dist/core/tasks/task-reference-archive.js +34 -467
  439. package/dist/core/tasks/task-reference-archive.js.map +1 -1
  440. package/dist/core/tasks/task-reference-identity.code.js +164 -0
  441. package/dist/core/tasks/task-reference-identity.code.js.map +1 -0
  442. package/dist/core/tasks/task-reference-identity.js +32 -160
  443. package/dist/core/tasks/task-reference-identity.js.map +1 -1
  444. package/dist/core/tasks/task-reference-stream.code.js +3 -0
  445. package/dist/core/tasks/task-reference-stream.code.js.map +1 -0
  446. package/dist/core/tasks/task-reference-stream.impl.js +36 -0
  447. package/dist/core/tasks/task-reference-stream.impl.js.map +1 -0
  448. package/dist/core/tasks/task-reference-stream.js +35 -2
  449. package/dist/core/tasks/task-unsaved-answer.code.js +3 -0
  450. package/dist/core/tasks/task-unsaved-answer.code.js.map +1 -0
  451. package/dist/core/tasks/task-unsaved-answer.impl.js +36 -0
  452. package/dist/core/tasks/task-unsaved-answer.impl.js.map +1 -0
  453. package/dist/core/tasks/task-unsaved-answer.js +35 -2
  454. package/dist/core/tasks/task-view-source.code.js +3 -0
  455. package/dist/core/tasks/task-view-source.code.js.map +1 -0
  456. package/dist/core/tasks/task-view-source.d.ts +9 -0
  457. package/dist/core/tasks/task-view-source.impl.js +36 -0
  458. package/dist/core/tasks/task-view-source.impl.js.map +1 -0
  459. package/dist/core/tasks/task-view-source.js +35 -2
  460. package/dist/core/tools/read-url.code.js +1530 -0
  461. package/dist/core/tools/read-url.code.js.map +1 -0
  462. package/dist/core/tools/read-url.impl.js +36 -0
  463. package/dist/core/tools/read-url.impl.js.map +1 -0
  464. package/dist/core/tools/read-url.js +30 -1524
  465. package/dist/core/tools/read-url.js.map +1 -1
  466. package/dist/core/worktree-snapshot/blob-store.js +50 -5
  467. package/dist/core/worktree-snapshot/errors.code.js +6 -0
  468. package/dist/core/worktree-snapshot/errors.code.js.map +1 -0
  469. package/dist/core/worktree-snapshot/errors.impl.js +36 -0
  470. package/dist/core/worktree-snapshot/errors.impl.js.map +1 -0
  471. package/dist/core/worktree-snapshot/errors.js +35 -5
  472. package/dist/core/worktree-snapshot/session-index-reset.code.js +136 -0
  473. package/dist/core/worktree-snapshot/session-index-reset.code.js.map +1 -0
  474. package/dist/core/worktree-snapshot/session-index-reset.impl.js +36 -0
  475. package/dist/core/worktree-snapshot/session-index-reset.impl.js.map +1 -0
  476. package/dist/core/worktree-snapshot/session-index-reset.js +34 -134
  477. package/dist/core/worktree-snapshot/session-index-reset.js.map +1 -1
  478. package/dist/extensions/codemode/execute.code.js +618 -0
  479. package/dist/extensions/codemode/execute.code.js.map +1 -0
  480. package/dist/extensions/codemode/execute.impl.js +36 -0
  481. package/dist/extensions/codemode/execute.impl.js.map +1 -0
  482. package/dist/extensions/codemode/execute.js +30 -612
  483. package/dist/extensions/codemode/execute.js.map +1 -1
  484. package/dist/extensions/codemode/renderer.code.js +110 -0
  485. package/dist/extensions/codemode/renderer.code.js.map +1 -0
  486. package/dist/extensions/codemode/renderer.impl.js +36 -0
  487. package/dist/extensions/codemode/renderer.impl.js.map +1 -0
  488. package/dist/extensions/codemode/renderer.js +33 -107
  489. package/dist/extensions/codemode/renderer.js.map +1 -1
  490. package/dist/extensions/mcp/cli.code.js +565 -0
  491. package/dist/extensions/mcp/cli.code.js.map +1 -0
  492. package/dist/extensions/mcp/cli.impl.js +36 -0
  493. package/dist/extensions/mcp/cli.impl.js.map +1 -0
  494. package/dist/extensions/mcp/cli.js +32 -561
  495. package/dist/extensions/mcp/cli.js.map +1 -1
  496. package/dist/extensions/mcp/cli.lazy.code.js +52 -0
  497. package/dist/extensions/mcp/cli.lazy.code.js.map +1 -0
  498. package/dist/extensions/mcp/cli.lazy.impl.js +36 -0
  499. package/dist/extensions/mcp/cli.lazy.impl.js.map +1 -0
  500. package/dist/extensions/mcp/cli.lazy.js +36 -7
  501. package/dist/extensions/mcp/cli.lazy.js.map +1 -1
  502. package/dist/extensions/mcp/client/transports/stdio.d.ts +2 -0
  503. package/dist/extensions/mcp/runtime.code.js +5 -0
  504. package/dist/extensions/mcp/runtime.code.js.map +1 -0
  505. package/dist/extensions/mcp/runtime.impl.js +36 -0
  506. package/dist/extensions/mcp/runtime.impl.js.map +1 -0
  507. package/dist/extensions/mcp/runtime.js +35 -4
  508. package/dist/index.d.ts +1 -1
  509. package/dist/index.js +8 -8
  510. package/dist/main-first-time-setup.code.js +12 -0
  511. package/dist/main-first-time-setup.code.js.map +1 -0
  512. package/dist/main-first-time-setup.impl.js +36 -0
  513. package/dist/main-first-time-setup.impl.js.map +1 -0
  514. package/dist/main-first-time-setup.js +35 -11
  515. package/dist/main-first-time-setup.js.map +1 -1
  516. package/dist/main.d.ts +1 -1
  517. package/dist/main.js +2 -2
  518. package/dist/modes/interactive/agent-view/agent-view-switcher.d.ts +6 -1
  519. package/dist/modes/interactive/agent-view/contracts.d.ts +4 -0
  520. package/dist/modes/interactive/chat-reader-records.d.ts +1 -1
  521. package/dist/modes/interactive/components/stored-tree-view.code.js +338 -0
  522. package/dist/modes/interactive/components/stored-tree-view.code.js.map +1 -0
  523. package/dist/modes/interactive/components/stored-tree-view.impl.js +36 -0
  524. package/dist/modes/interactive/components/stored-tree-view.impl.js.map +1 -0
  525. package/dist/modes/interactive/components/stored-tree-view.js +33 -290
  526. package/dist/modes/interactive/components/stored-tree-view.js.map +1 -1
  527. package/dist/modes/interactive/components/task-selection-state.d.ts +8 -3
  528. package/dist/modes/interactive/components/task-transcript-page.d.ts +1 -0
  529. package/dist/modes/interactive/components/user-message-selector-archive.code.js +191 -0
  530. package/dist/modes/interactive/components/user-message-selector-archive.code.js.map +1 -0
  531. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +36 -0
  532. package/dist/modes/interactive/components/user-message-selector-archive.impl.js.map +1 -0
  533. package/dist/modes/interactive/components/user-message-selector-archive.js +34 -189
  534. package/dist/modes/interactive/components/user-message-selector-archive.js.map +1 -1
  535. package/dist/modes/interactive/interactive-mode-base.d.ts +6 -0
  536. package/dist/modes/interactive/interactive-mode-deps.js +4 -0
  537. package/dist/modes/interactive/interactive-mode-deps.js.map +1 -0
  538. package/dist/modes/interactive/interactive-mode.js +1 -1
  539. package/dist/modes/interactive/interactive-queueing.d.ts +4 -0
  540. package/dist/modes/interactive/interactive-render-chat.d.ts +22 -0
  541. package/dist/modes/interactive/interactive-startup.d.ts +2 -0
  542. package/dist/modes/interactive/program-status-reporter.d.ts +2 -1
  543. package/dist/modes/interactive/startup-shell-eligibility.js +1 -1
  544. package/dist/modes/interactive/steering-queue-controller.d.ts +4 -0
  545. package/dist/modes/interactive/theme/theme-schema-factory.d.ts +26 -0
  546. package/dist/modes/interactive/theme/theme-schema.d.ts +4 -5
  547. package/dist/modes/interactive-engine/engine-prewarm.d.ts +30 -5
  548. package/dist/modes/interactive-engine/engine-prewarm.js +1 -1
  549. package/dist/modes/interactive-engine/isolated-runtime.d.ts +7 -0
  550. package/dist/modes/interactive-engine/protocol.d.ts +32 -1
  551. package/dist/modes/rpc/agent-view-rpc-types.d.ts +12 -1
  552. package/dist/modes/rpc/agent-view-rpc-types.js.map +1 -1
  553. package/dist/modes/rpc/rpc-client-api.d.ts +3 -1
  554. package/dist/modes/rpc/rpc-types.d.ts +12 -0
  555. package/dist/package-manager-cli.code.js +1140 -0
  556. package/dist/package-manager-cli.code.js.map +1 -0
  557. package/dist/package-manager-cli.impl.js +36 -0
  558. package/dist/package-manager-cli.impl.js.map +1 -0
  559. package/dist/package-manager-cli.js +36 -1067
  560. package/dist/package-manager-cli.js.map +1 -1
  561. package/dist/rpc-entry.js +2 -2
  562. package/dist/startup-files.json +1 -1
  563. package/dist/startup-stages/10.js +1 -1
  564. package/dist/startup-stages/11.js +1 -1
  565. package/dist/startup-stages/12.js +1 -1
  566. package/dist/startup-stages/13.js +1 -0
  567. package/dist/startup-stages/2.js +1 -7
  568. package/dist/startup-stages/3.js +6 -2
  569. package/dist/startup-stages/4.js +2 -1
  570. package/dist/startup-stages/5.js +1 -7
  571. package/dist/startup-stages/6.js +7 -10
  572. package/dist/startup-stages/7.js +10 -3
  573. package/dist/startup-stages/8.js +3 -6
  574. package/dist/startup-stages/9.js +6 -1
  575. package/dist/startup-stages/stages.json +1 -1
  576. package/dist/utils/canonical-path.js +2 -0
  577. package/dist/utils/canonical-path.js.map +1 -1
  578. package/dist/utils/child-process.d.ts +41 -1
  579. package/dist/utils/compile-cache-warmup-host.js +63 -18
  580. package/dist/utils/compile-cache-warmup-host.js.map +1 -1
  581. package/dist/utils/credential-redaction.d.ts +50 -1
  582. package/dist/utils/interactive-engine-bootstrap.d.ts +2 -0
  583. package/dist/utils/interactive-engine-env.d.ts +2 -0
  584. package/dist/utils/memoize-async.d.ts +32 -0
  585. package/dist/utils/memoize-async.js +91 -0
  586. package/dist/utils/memoize-async.js.map +1 -0
  587. package/dist/utils/photon.js +19 -29
  588. package/dist/utils/photon.js.map +1 -1
  589. package/dist/utils/shell.d.ts +7 -4
  590. package/dist/utils/startup-database-spare.code.js +108 -0
  591. package/dist/utils/startup-database-spare.code.js.map +1 -0
  592. package/dist/utils/startup-database-spare.impl.js +36 -0
  593. package/dist/utils/startup-database-spare.impl.js.map +1 -0
  594. package/dist/utils/startup-database-spare.js +33 -105
  595. package/dist/utils/startup-database-spare.js.map +1 -1
  596. package/dist/utils/tools-manager.code.js +3 -0
  597. package/dist/utils/tools-manager.code.js.map +1 -0
  598. package/dist/utils/tools-manager.impl.js +36 -0
  599. package/dist/utils/tools-manager.impl.js.map +1 -0
  600. package/dist/utils/tools-manager.js +35 -2
  601. package/dist/utils/windows-cwd.js +585 -0
  602. package/dist/utils/windows-cwd.js.map +1 -0
  603. package/docs/extensions.md +1 -1
  604. package/docs/getting-started/installation.md +2 -0
  605. package/docs/intercom/operations.md +1 -0
  606. package/docs/reference/cli.md +2 -2
  607. package/package.json +24 -24
  608. package/dist/_shared/mode-shared-HP7GUA7J.js.map +0 -1
  609. package/dist/_shared/p1a-prewarm-YK3KDTLN.js.map +0 -1
  610. package/dist/_shared/p1b-elig-PXQA2FYP.js.map +0 -1
  611. package/dist/_shared/startup-0-0-X4NF3GKM.js.map +0 -1
  612. package/dist/_shared/startup-0-1-7QTG6VJZ.js.map +0 -1
  613. package/dist/_shared/startup-0-2-KFDYPDJK.js.map +0 -1
  614. package/dist/_shared/startup-8-1-KQJBDKRU.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,244 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.10.5-alpha.1] - 2026-11-23
6
+
7
+ ### Breaking Changes
8
+
9
+ - `@bastani/atomic` no longer declares or installs 13 third-party packages whose code is already bundled into Atomic's own files: `brace-expansion`, `cross-spawn`, `diff`, `fast-sha256`, `hosted-git-info`, `ignore`, `lovely-mermaid`, `lru-cache`, `minimatch`, `semver`, `stream-json`, `turndown`, and `yaml`. Any SDK application or extension that imports one of these packages directly must add it to its own `package.json` `dependencies`. A session running on an earlier Atomic release while an in-place update replaces the installation may need to restart for features whose older code loads one of those removed packages on demand. Removing these dependencies cuts a global npm install by about 1,940 files and 10.8 MiB (17 fewer installed packages) ([#6440](https://github.com/bastani-inc/atomic/pull/6440)).
10
+
11
+ ### Changed
12
+
13
+ - `SessionResume` now carries optional per-axis `retainedSettings` provenance (`"held"`, `"none"`, or `"not-held"`) for the active branch's latest model and thinking-level changes, allowing partial-history sessions to distinguish confirmed absence from unretained pre-window settings without additional store reads (while keeping `SessionManager.getLatestBranchSettings` and custom stores omitting `retainedSettings` compatible with 0.10.4) ([#6454](https://github.com/bastani-inc/atomic/pull/6454)).
14
+ - Interactive sessions reach the editor and first model request faster on warm starts: early theme and settings defaults no longer load TypeBox or `@bastani/atomic-ai` before the editor paints (falling back lazily to the full TypeBox validator for any invalid theme), prewarmed engines preload RPC mode and the native addon while waiting for adoption, and skill discovery avoids unnecessary ignore-file reads, batches shared parent-directory path resolution, and parses safe YAML frontmatter linearly ([#6455](https://github.com/bastani-inc/atomic/pull/6455)).
15
+
16
+ ### Fixed
17
+
18
+ - A session that started on 0.10.4 and keeps running after an in-place update (`npm install -g`, `bun add -g`) now says `atomic was updated to <version> while this session was running; restart it to keep using <feature>.` when the update's code for a feature it loads on demand cannot load into it, instead of failing with the runtime's error. A session that starts on this release or later says so by itself for every later update, whatever that release changes; features whose updated code loads keep working as before ([#6438](https://github.com/bastani-inc/atomic/pull/6438)).
19
+ - In the standalone binary and under Bun, Amazon Bedrock requests whose proxy or HTTP/1.1 TLS connection closes before its handshake finishes — including plain-HTTP Bedrock endpoints through an `https://` proxy — now retry at the provider SDK level (`retry.provider.maxRetries`) and recover from transient closes as on Node.js instead of failing on the first attempt ([#6448](https://github.com/bastani-inc/atomic/pull/6448)).
20
+ - On Node.js, requests through an `https://` proxy now handle TLS SNI consistently across hostnames and IP addresses: plain-HTTP Amazon Bedrock endpoints send SNI for hostname `https://` proxies (fixing virtual-hosted and SNI-requiring proxies), and the global HTTP dispatcher omits IP-literal `servername` values for IPv4 and IPv6 `https://` proxies (fixing IPv6 `https://[::1]` proxy certificate verification and removing RFC 6066 IP-SNI deprecation warnings while preserving IP SAN checks and explicit non-IP `servername` overrides) ([#6458](https://github.com/bastani-inc/atomic/pull/6458)).
21
+ - Skip redundant filesystem canonicalization when matching identical project paths in `history://` and session listings, and bound cross-path `history://` authorization checks to the call's time budget and abort signal so slow filesystem lookups cannot silently truncate requested slices or hang past cancellation ([#5250](https://github.com/bastani-inc/atomic/issues/5250), [#6462](https://github.com/bastani-inc/atomic/pull/6462)).
22
+ - Fixed echoed user messages in the main chat crossing or disappearing when an extension's `input` hook or a slash template rewrites one submission to the same text as another submission already echoed on screen. Each prompt submission now matches its own echoed row directly, while older interactive engines and hosts continue falling back to text matching ([#6452](https://github.com/bastani-inc/atomic/pull/6452)).
23
+ - On Windows, stopping workspace `git`/`gh` commands, snapshot Git fallbacks, hung isolated interactive engines, tracked detached processes, and interrupted blueprint build steps now uses Windows Job objects (with `JOB_OBJECT_LIMIT_BREAKAWAY_OK` for workspace commands so explicit breakaway helpers and Git's `fsmonitor` daemon continue to work) and handle-verified native tree termination rather than bare-PID `taskkill /T`, so orphaned grandchildren end before workspace calls fail and unrelated processes given a reused process ID are never terminated. `taskkill` is used only as a fallback when the native module is unavailable and the child handle is still live ([#6445](https://github.com/bastani-inc/atomic/pull/6445)).
24
+ - Moving or copying a custom agent directory and its adopted parent store on filesystems that reuse freed inodes (such as ext4) no longer lets a sibling or recreated directory hijack parent or relative-target ownership when its new `.atomic-storage-home` file receives a deleted owner's inode. Owner resolution now resolves to the eligible directory carrying the recorded decision ID when an inode-matched candidate has a conflicting on-disk decision ID ([#5242](https://github.com/bastani-inc/atomic/issues/5242), [#6432](https://github.com/bastani-inc/atomic/pull/6432)).
25
+ - Deliberate `/quit` no longer exits with status `129` when the terminal closes after the session finishes shutting down; it skips terminal writes once stopped, prints the resume hint when standard output is still usable, treats dead-output writes as no-ops, and exits `0` ([#6446](https://github.com/bastani-inc/atomic/pull/6446)).
26
+ - MCP credential redaction now shares the core ANSI stripping, HTTP `Basic` credential detection, and `[redacted]` range-application helpers with `redactCredentialShapes` while keeping all MCP OAuth, URL, header, and stdio patterns. This also preserves `[redacted]` markers when a pre-masked secret appears inside a `Bearer` token or query parameter ([#6441](https://github.com/bastani-inc/atomic/pull/6441)).
27
+ - On Windows, MCP server shutdown, process-tree kill commands including `taskkill.exe`, and Intercom's host-identity and broker-stop commands now validate their working directory through canonical path resolution and explicit drive-root handling. They resolve junctions, symlinks, short names, `subst` drives, and extended-length path aliases such as `\\?\`, `\\.\`, and `\\?\UNC\` when checking whether a directory is inside the project folder; prefer verified directories shorter than 248 characters outside the project so spawns succeed without `ENOENT` on default `LongPathsEnabled=0` Windows hosts; reject raw volume devices and incomplete UNC roots; fall back to the working directory's drive root when needed; and prefer `SystemRoot` when running from a genuine drive root. `taskkill.exe` and Intercom helper commands never run inside the project folder or fail with `ENOENT` even when `SystemRoot`, `windir`, or `TMP` points to a junction, `subst` drive, long path, extended-length alias, bare drive, or directory inside the project ([#6447](https://github.com/bastani-inc/atomic/pull/6447), [#6483](https://github.com/bastani-inc/atomic/pull/6483)).
28
+ - Fixed `/tasks` on the isolated host so cancelling or failing a subagent open with `Esc` never leaves a speculative agent-panel preview painted or lands the next `/tasks` on the cancelled subagent, while staying compatible with older hosts and engines across in-place updates ([#6449](https://github.com/bastani-inc/atomic/pull/6449)).
29
+ - Inside a Herdr pane, a session status update that arrives just as the previous Herdr report finishes is now sent right away instead of leaving Herdr showing the older status until the next activity event ([#6463](https://github.com/bastani-inc/atomic/pull/6463)).
30
+ - Restored interrupted running subagents in `/tasks` and the agent panel automatically after an isolated-engine crash without showing user-facing resume prompts or replaying interrupted deliveries ([#6457](https://github.com/bastani-inc/atomic/pull/6457)).
31
+ - Restored a lost subagent chat's known-unsaved queued messages into that child chat's own editor ahead of any draft (immediately if open and writable, or on first writable reopen in the same session, with a main-chat notice while closed and fallback to the full-text notice when read-only or from an older engine) ([#6461](https://github.com/bastani-inc/atomic/pull/6461)).
32
+ - Editing the `debug` or `httpProxy` global setting in `settings.json` while Atomic is starting no longer discards a same-build prewarmed interactive engine and starts a second one: the updated setting values are reconciled over the engine adoption handshake before the engine configures HTTP or starts its session ([#6453](https://github.com/bastani-inc/atomic/pull/6453)).
33
+ - Blueprint build locks on Windows now read fresh process start times when recording newly started steps and build holders without the native module, retry transient fallback start-time lookups and concurrent Windows lock-file read/rename refusals while a build runs or settles, and check process liveness before querying fallback start times so reused PIDs never record a stale start and dead builds settle promptly ([#6472](https://github.com/bastani-inc/atomic/pull/6472)).
34
+ - Fixed the Windows installer (`install.ps1`) failing with "Access to the path ... is denied" when reinstalling, repairing, or rolling back a version whose directory, launcher shim, staged copy, or backup was briefly locked by antivirus scanning, the search indexer, or a just-exited `atomic` process. All transaction, rollback, and leftover-recovery renames now use atomic same-directory `Rename-Item` with a bounded retry up to ~9.5 seconds (which also prevents PowerShell 7's `Move-Item` from splitting a locked version directory across the live and backup paths), and rollback/staged-tree removals now retry transient I/O and access violations within a shared bounded budget so a brief lock cannot leave a half-removed version or stage directory behind ([#6474](https://github.com/bastani-inc/atomic/pull/6474)).
35
+ - Standalone release binaries now embed the verified prewarm build stamp before bundling plain and bytecode app sidecars, so startup `debug`/`httpProxy` edits reconcile over the prewarmed engine handshake in standalone binaries as well as npm installations ([#6478](https://github.com/bastani-inc/atomic/pull/6478)).
36
+ - Standalone SDK scripts that await `session.abort()`, `session.interruptTurn()`, `session.pauseTurn()`, `session.prompt()`, `session.resumeDetachedTurn()`, or bounded storage/RPC teardown timeouts against a stalled operation (including when an abort is triggered after `session.prompt()` is already awaited) no longer exit prematurely (exit code `13` on Node.js or skipped post-await continuation under Bun) when no other event-loop handle is open; idle, settled, disposed, and unawaited sessions still let the process exit immediately ([#6473](https://github.com/bastani-inc/atomic/pull/6473), [#6480](https://github.com/bastani-inc/atomic/pull/6480)).
37
+ - Fixed slow cold-start first prompts in the in-process interactive host on Windows by deferring background syntax-highlighter grammar loading (and cold compile-cache warmup) until deferred startup and the first prompt's request dispatch settle (with a hard deferral cap armed only once the first provider request dispatches or streaming begins), loading non-eager grammars in small non-blocking slices instead of a single blocking pass, and overlapping the active model's provider API load with deferred startup on early prompts ([#6444](https://github.com/bastani-inc/atomic/pull/6444)).
38
+ - On Windows, forced MCP stdio server shutdown and parent-process guardian cleanup now use breakaway-allowing Job objects and handle/creation-time-verified native termination instead of bare-PID `taskkill /T`, so orphaned MCP grandchildren end on forced close while detached helpers still survive a cooperative close, explicit breakaway helpers continue to work, and unrelated processes given a reused PID are never terminated (including across asynchronous safe-cwd retries and when the native module is unavailable) ([#6477](https://github.com/bastani-inc/atomic/pull/6477)).
39
+ - Shell and subprocess commands whose detached descendants write output just after the main process exits no longer lose buffered stdout or stderr output when the host event loop is briefly stalled past the post-exit idle grace or active-drain cap ([#6490](https://github.com/bastani-inc/atomic/pull/6490)).
40
+ - Fixed a Windows child-process wait race where a failed command could be reported as successful (exit code `0`) on a busy machine when Node's `exit` event arrived more than one second after the process ended: `waitForChildProcess` now reads the real exit code from a creation-time-verified Windows process handle held since spawn (`GetExitCodeProcess`), keeps waiting for libuv's real `exit` event (bounded by the caller's own timeout or abort) without the native module, and reports an explicit unknown exit status failure instead of guessing `0` whenever the exit code cannot be read ([#6484](https://github.com/bastani-inc/atomic/pull/6484)).
41
+ - Background shell commands that terminate without an exit code (such as Unix signal-killed background commands or commands whose exit status cannot be read) now report a failed outcome with an unknown exit status across `/tasks`, the agent panel, completion cards, and notices instead of reporting success ([#6489](https://github.com/bastani-inc/atomic/pull/6489)).
42
+ - Fixed pressing `Esc` immediately after `Enter` in `/tasks` on the isolated host (including Kitty keyboard protocol `Esc` and high-latency IPC turns where `Esc` arrives before `engine_view_agent` returns) so the pending subagent open is cancelled immediately on arrival without opening the subagent, staging a speculative agent-panel preview, or leaving a stale `/tasks` selection anchor, while excluding the triggering input by identity (so arbitrary overlapping keybindings never self-cancel), acknowledging navigation clicks so non-opening clicks never arm cancels, and preserving `Esc`-before-`Enter` (closing peek/filter) and unrelated stacked dialogs ([#6491](https://github.com/bastani-inc/atomic/pull/6491)).
43
+ - Fixed subagents silently returning `"done"` without running their model when `NODE_ENV=test` or `NODE_TEST_CONTEXT` is set in the user's shell or host environment; in-process subagent sessions now always run real model turns unless explicitly configured with `testSession` ([#6494](https://github.com/bastani-inc/atomic/pull/6494)).
44
+ - Eliminated interactive host UI stalls when resuming and paging through large transcripts: fullscreen resume now yields a timer turn between session binding and initial transcript rendering, plans only the visible tail synchronously (populating recent prompt history in bounded time and deferring older history planning and chat-record indexing into non-blocking event-loop slices with safe fallback for cross-turn tool results or aborted turns), skips eager chat-record anchor scans when no records are cached, avoids materializing the full model catalog during compaction-model migration when no custom compaction model is configured, computes context usage directly on plain branches without allocating a full session projection, loads eager `highlight.js` grammars individually on demand instead of loading all 20 modules during the first code-block render, and skips redundant Markdown lexing in the Mermaid transformer when a message contains no Mermaid code fence ([#6495](https://github.com/bastani-inc/atomic/pull/6495)).
45
+ - Memoized on-demand module loaders across Atomic (including extension loading via `jiti`, installed builtin native-load discovery, document conversion, image processing, task completion entry projection, debug output, and the standalone Intercom broker's host-module bridge) no longer keep rejected promises or transient missing-file results cached after a failure such as an in-place update's directory swap, so subsequent operations in a running session recover once files are back on disk while genuinely incompatible updates still report the restart message ([#6499](https://github.com/bastani-inc/atomic/pull/6499)).
46
+ - Deferred syntax-highlighting grammar loading (`loadAllHighlightLanguages()`) no longer permanently marks all languages as loaded or skips failing grammars after a transient load error (such as during an in-place package update), so subsequent calls cleanly retry and register remaining languages ([#6504](https://github.com/bastani-inc/atomic/pull/6504)).
47
+ - On Windows, Atomic background processes — the detached Intercom broker and its relay, compile-cache warmup helpers, and the startup-prefetch reader — now start in a short (< 248-char) working directory outside the Atomic installation directory, the caller's project directory, and the agent directory (resolving junctions and `subst` drives), so `npm install -g @bastani/atomic`, `npm uninstall -g`, and release-archive reinstalls no longer fail with `EBUSY` while sessions and the broker are running. `atomic update` on Windows also stops an idle Intercom broker (0 connected sessions) before running `npm install -g` without interrupting connected sessions, and prints recovery instructions if npm reports an `EBUSY`/`EPERM` install-directory lock from an earlier release ([#6500](https://github.com/bastani-inc/atomic/pull/6500)).
48
+
49
+ ## [0.10.4] - 2026-11-22
50
+
51
+ Atomic reaches your first prompt sooner, installs less, keeps subagent sessions in your store, and protects your workspace and credentials.
52
+
53
+ **Startup**
54
+
55
+ - **Type right away.** On Linux the editor takes keys after about 0.21 s instead of 1.14 s, and early Enter, commands and completions run once ready ([#6203](https://github.com/bastani-inc/atomic/pull/6203), [#6228](https://github.com/bastani-inc/atomic/pull/6228), [#6224](https://github.com/bastani-inc/atomic/pull/6224))
56
+ - **Faster first prompt.** Warm starts drop from 1.82 s to 0.76 s on Linux and 3.69 s to 1.31 s on Windows; Windows cold starts drop from 53.2 s to 3.6 s ([#6198](https://github.com/bastani-inc/atomic/pull/6198), [#6197](https://github.com/bastani-inc/atomic/pull/6197), [#6306](https://github.com/bastani-inc/atomic/pull/6306), [#6325](https://github.com/bastani-inc/atomic/pull/6325), [#6346](https://github.com/bastani-inc/atomic/pull/6346))
57
+ - **Less work at launch.** Interactive starts open about 175 files instead of over 1,000, and syntax highlighting, builtin extensions and provider code load only on first use ([#6199](https://github.com/bastani-inc/atomic/pull/6199), [#6321](https://github.com/bastani-inc/atomic/pull/6321), [#6348](https://github.com/bastani-inc/atomic/pull/6348), [#6356](https://github.com/bastani-inc/atomic/pull/6356), [#6375](https://github.com/bastani-inc/atomic/pull/6375))
58
+
59
+ **Installs and updates**
60
+
61
+ - **Smaller installs.** Global npm installs write about 17,660 files and 224 MiB on Linux, down from 28,000 files and 588 MiB on npm 11, with a 74% smaller native module ([#6216](https://github.com/bastani-inc/atomic/pull/6216), [#6265](https://github.com/bastani-inc/atomic/pull/6265), [#6345](https://github.com/bastani-inc/atomic/pull/6345), [#6381](https://github.com/bastani-inc/atomic/pull/6381))
62
+ - **Clearer in-place updates.** A session caught by an update keeps running, loads compatible code or asks you to restart instead of throwing raw errors, and refuses another release's native module ([#6269](https://github.com/bastani-inc/atomic/pull/6269), [#6301](https://github.com/bastani-inc/atomic/pull/6301), [#6319](https://github.com/bastani-inc/atomic/pull/6319), [#6365](https://github.com/bastani-inc/atomic/pull/6365), [#6426](https://github.com/bastani-inc/atomic/pull/6426))
63
+
64
+ **Interface and docs**
65
+
66
+ - **Aligned shell views and `/tasks` state.** The `/tasks` shell viewer and inline `!` blocks share Atomic's layout with live elapsed time, and returning to `/tasks` keeps selection and scroll ([#6385](https://github.com/bastani-inc/atomic/pull/6385), [#6400](https://github.com/bastani-inc/atomic/pull/6400))
67
+ - **Updated CLI help and docs.** `atomic --help`, `atomic auth` and 97 user guides match current commands, and extension docs name the API parameter `atomic` while `pi` keeps working ([#6389](https://github.com/bastani-inc/atomic/pull/6389), [#6391](https://github.com/bastani-inc/atomic/pull/6391), [#6395](https://github.com/bastani-inc/atomic/pull/6395))
68
+
69
+ **Subagents, sessions and Intercom**
70
+
71
+ - **Subagents wake without losing work.** Woken subagents get late results as notice cards for the right call, and crash restores keep their model and thinking level ([#6207](https://github.com/bastani-inc/atomic/pull/6207), [#6181](https://github.com/bastani-inc/atomic/pull/6181), [#6383](https://github.com/bastani-inc/atomic/pull/6383))
72
+ - **Subagent sessions in your store.** Subagent sessions save in their parent's store to resume across machines, and resumes restore finished subagents' checkout changes ([#6211](https://github.com/bastani-inc/atomic/pull/6211), [#6231](https://github.com/bastani-inc/atomic/pull/6231))
73
+ - **Faster, steadier Intercom.** Brokers start in under 0.1 s instead of up to 2.8 s, skip handled messages, keep ID hand-overs across restarts, and check Windows and macOS process starts ([#6168](https://github.com/bastani-inc/atomic/issues/6168), [#6193](https://github.com/bastani-inc/atomic/pull/6193), [#6369](https://github.com/bastani-inc/atomic/pull/6369), [#6379](https://github.com/bastani-inc/atomic/pull/6379), [#6394](https://github.com/bastani-inc/atomic/pull/6394), [#6406](https://github.com/bastani-inc/atomic/pull/6406))
74
+ - **Intercom keeps message order.** After a broker restarts, new messages to a resumed subagent wait behind messages queued before the restart ([#6420](https://github.com/bastani-inc/atomic/pull/6420))
75
+ - **libSQL retries after slow locks.** Calls to a libSQL server that hit a busy refusal after waiting on a slow write lock retry instead of failing at once ([#6422](https://github.com/bastani-inc/atomic/pull/6422))
76
+ - **Less snapshot wait.** Turns skip unchanged left-out commits, concurrent subagents hand off shared captures without duplicates, and snapshots work on Git 2.30 to 2.35 ([#6274](https://github.com/bastani-inc/atomic/pull/6274), [#6305](https://github.com/bastani-inc/atomic/pull/6305), [#6317](https://github.com/bastani-inc/atomic/pull/6317), [#6327](https://github.com/bastani-inc/atomic/pull/6327), [#6410](https://github.com/bastani-inc/atomic/pull/6410))
77
+
78
+ **Shutdowns, files and security**
79
+
80
+ - **Commands stop with their children.** Extension commands and Windows `!` shells end their child processes on timeout, abort or exit ([#6235](https://github.com/bastani-inc/atomic/pull/6235), [#6217](https://github.com/bastani-inc/atomic/pull/6217), [#6310](https://github.com/bastani-inc/atomic/pull/6310))
81
+ - **Reliable shutdowns under load.** Windows console closes and sign-outs let extensions shut down, and `/quit` under load reaches extensions as an explicit quit rather than a signal ([#6185](https://github.com/bastani-inc/atomic/pull/6185), [#6187](https://github.com/bastani-inc/atomic/pull/6187), [#6380](https://github.com/bastani-inc/atomic/pull/6380), [#6417](https://github.com/bastani-inc/atomic/pull/6417))
82
+ - **Windows MCP servers release your folder.** Closing a Windows MCP server runs kill commands outside your project folder and waits so the folder stays free ([#6403](https://github.com/bastani-inc/atomic/pull/6403), [#6409](https://github.com/bastani-inc/atomic/pull/6409))
83
+ - **Replaced logs detected on Windows.** Log tailing compares exact 64-bit file IDs and verifies the open file, so rotated or replaced logs on Windows never skip lines ([#6421](https://github.com/bastani-inc/atomic/pull/6421))
84
+ - **Exact file IDs on Windows.** Lock files, worktrees, cached tool checks, native-module checks and Intercom sockets compare exact 64-bit file IDs so files are not confused ([#6424](https://github.com/bastani-inc/atomic/pull/6424))
85
+ - **Programs start only from PATH.** Helpers, shells, MCP servers and Windows extension commands start only from absolute PATH directories, never the project folder ([#6201](https://github.com/bastani-inc/atomic/pull/6201), [#6241](https://github.com/bastani-inc/atomic/pull/6241), [#6246](https://github.com/bastani-inc/atomic/pull/6246))
86
+ - **MCP secret redaction.** `atomic mcp`, `/mcp` and MCP OAuth helpers strip credentials, tokens and raw command secrets from errors, logs, URLs and tool output ([#6398](https://github.com/bastani-inc/atomic/pull/6398), [#6413](https://github.com/bastani-inc/atomic/pull/6413))
87
+ - **Broader credential redaction.** Credential output, compaction and debug logs redact HTTP Basic, Bearer and OAuth verifier secrets across short and multi-megabyte lines ([#6412](https://github.com/bastani-inc/atomic/pull/6412))
88
+
89
+ **Breaking change:** Import TypeBox from `@bastani/atomic/typebox` in SDK apps or extension dependencies registering formats or settings; extensions' own imports already resolve there. Under Bun, extension modules declaring top-level `globalThis` no longer load. Add the MCP SDK, zod or linkedom to `package.json` if you import them. Keep optional dependencies installed, or startup stops with the reinstall command; global npm installs include them even with `--omit=optional`. `@bastani/atomic-natives` removes `blockRangeAt`, `BlockRange`, `BlockRangeOptions` and its `tree-sitter` grammars.
90
+
91
+ ### Breaking Changes
92
+
93
+ - Atomic now uses its own copy of TypeBox instead of the `typebox` package. Code that imports the `typebox` package itself and shared Atomic's installed copy before, such as an SDK app installed with Bun or with pnpm hoisting (with npm it already did not share it), or a package an extension depends on that imports `typebox` itself, no longer shares it: schemas built with it still validate, but formats, settings or a locale registered through it no longer reach Atomic's tool validation. To share Atomic's copy, import TypeBox from `@bastani/atomic/typebox` (and `@bastani/atomic/typebox/value`, `/compile`, `/format`, `/system` and TypeBox's other subpaths) instead of `typebox`. An extension's own `typebox` imports resolve to Atomic's copy.
94
+ - Under Bun, Atomic now loads an extension's modules through its extension loader on the first load too, as it always did under Node and on every reload, instead of letting Bun import them natively. An extension's imports of `typebox`, Atomic's packages and their legacy names then reach Atomic's own copies from its first load, and the extension's own modules are evaluated once per load. The first start after an extension changes compiles it; later starts read the compiled modules from the transpile cache. A module that declares its own top-level `globalThis` cannot be loaded this way, as under Node before.
95
+ - Atomic needs its optional dependencies: an install that omits them (`npm install --omit=optional`, `pnpm install --no-optional`, `bun install --omit=optional`) leaves out the package with the native module for your platform, and Atomic then stops at startup with one message that names that package and how to reinstall Atomic with optional dependencies. Global npm installs are unaffected: npm installs the platform package of a globally installed package even with `--omit=optional`.
96
+ - An app or extension that imports a package `@bastani/atomic` no longer depends on, such as the MCP SDK, zod or linkedom, must list that package in its own `package.json`: installing Atomic no longer installs it ([#6216](https://github.com/bastani-inc/atomic/pull/6216)).
97
+
98
+ ### Added
99
+
100
+ - `@bastani/atomic/typebox` and its subpaths (`/compile`, `/error`, `/format`, `/guard`, `/schema`, `/system`, `/type`, `/value`) export the copy of TypeBox Atomic uses, for SDK apps that register formats or settings for their tool schemas.
101
+
102
+ ### Changed
103
+
104
+ - Ctrl+C on an empty prompt while viewing a subagent pauses its work, as Esc does, and keeps the subagent shown instead of switching to `main`. ← (`app.nav.back`) on the empty prompt returns to `main`. Ctrl+C there still never counts toward exiting Atomic.
105
+ - Starting Atomic on Windows no longer runs PowerShell to look for session history that a killed Atomic process left behind when there is none, which is always the case unless a session uses the memory session store (`--no-session`, `ATOMIC_STORAGE=memory` or `{ "memory": true }`). Each start ran it once, or twice with the default isolated engine, for 0.25–0.5 s and up to 0.45 s of CPU each, and the first frame now appears about 50 ms sooner on an 8-core machine. When there is history to check, process start times are read without PowerShell. macOS skips the matching `sysctl` lookup too.
106
+ - Atomic starts faster from an npm or Bun install: the package now loads its own code from about 160 files instead of about 1,050. On Windows the prompt takes input about 0.9 s sooner with Node 22 (3.0 s to 2.1 s), about 1.1 s sooner with Bun (2.1 s to 1.1 s), and about 11 s sooner on the first start after a reboot with antivirus scanning every file (39.5 s to 28.8 s); on Linux about 0.2 s sooner. The SDK's export paths and the classes extensions share with Atomic are unchanged, also for a session still running when the install is updated in place. The standalone binary is unchanged.
107
+ - Starting Atomic runs fewer processes before you can type: the check that fd, rg and git are ready (`fd`, `fdfind`, `rg` and `git --version`) now starts once the editor takes input, or before a prompt given on the command line runs, and the notice of tools a resumed session was using that are not available no longer runs `git --version`. `/tools` still reports which git Atomic uses.
108
+ - The npm package leaves out the type declarations of Atomic's internal modules that none of its exported entry points (`@bastani/atomic`, `@bastani/atomic/storage`, `@bastani/atomic/storage/testing` and `@bastani/atomic/rpc-entry`) reach, about 600 `.d.ts` files and their maps, so installing writes fewer files. Every type you can import from those entry points is unchanged. Under `moduleResolution: "node10"`, a type import of an internal file by its path inside the package, such as `@bastani/atomic/dist/core/chat-receipts`, no longer finds its types; `node16`, `nodenext` and `bundler` never allowed those imports.
109
+ - Atomic starts faster, most of all on Windows: the packages it ships for models, the terminal UI, the agent loop, schemas and telemetry (`@bastani/atomic-ai`, `-tui`, `-agent-core`, `-schema`, `-telemetry`) now load from a few files each instead of one file per module, so a start reads about 290 fewer files. Their import paths, deep paths included, are unchanged. A bundler (esbuild, Vite, webpack, rolldown) that bundles `@bastani/atomic-ai`, `-agent-core`, `-schema` or `-telemetry` into an app still gets one file per module and leaves out what the app does not use. One that bundles `@bastani/atomic-tui` gets its modules in the shared files and can no longer leave the unused ones out: importing only `visibleWidth` grows from about 198 KB to 345 KB minified.
110
+ - Interactive sessions reach the editor sooner: the thread that opens the session database starts while Atomic loads instead of after it, the native clipboard module loads the first time you copy or paste instead of at every start, and the `models.json` checker is built only when a `models.json` exists. With `--no-mcp`, the interactive window no longer loads the subagent and web tools that only its engine runs.
111
+ - A global npm install of Atomic writes about 21,100 files instead of 28,000, so installing and upgrading finish sooner, most of all on Windows, where antivirus software scans each new file. `@bastani/atomic` no longer depends on packages that none of its files load, such as the MCP SDK, zod and linkedom, whose code the builtin extensions already include. Atomic's packages no longer include declaration maps (`.d.ts.map`), which pointed at TypeScript sources the packages do not include. Each builtin extension that includes third-party code lists those packages' licence and notice texts in its `THIRD_PARTY_NOTICES.txt`.
112
+ - Installing Atomic downloads and writes much less: `@bastani/atomic-natives` no longer carries the native binary of every platform, and `@bastani/atomic` no longer publishes an `npm-shrinkwrap.json`, so npm, pnpm and Bun install only the native module package for your platform. With 0.10.3, npm 11.6.2 and later installed the native module package and the clipboard module package of every platform because they do not check the platform of packages listed in a shrinkwrap. A global install now writes about 17,660 files and 224 MiB on Linux and about 17,690 files and 211 MiB on Windows, instead of 28,000 files and 588 MiB on Linux with npm 11.19 (454 MB with npm 10). One exception: on Linux, `npm ci` from a project lockfile written by npm 11.10 or older (npm 10 included) installs both the glibc and the musl package, about 5 MiB more, because those lockfiles do not record which C library each package needs; Atomic loads the one that matches. An npm install no longer gets a pinned dependency tree: npm resolves Atomic's dependencies when you install, as pnpm and Bun already did, so it can get newer releases of packages Atomic depends on indirectly. Atomic's packages pin their own dependencies to exact versions, and the release archive carries the dependency tree each release was tested with ([#6265](https://github.com/bastani-inc/atomic/pull/6265), [#6345](https://github.com/bastani-inc/atomic/pull/6345), [#6381](https://github.com/bastani-inc/atomic/pull/6381)).
113
+ - On Windows, the first start after a restart or an install reaches the editor much sooner: while Atomic loads, a short-lived helper reads the files it is about to load many at a time, so the antivirus scans them in parallel instead of one after another as Node opens them. It only reads, and it ends when Atomic does.
114
+ - Atomic starts faster again: the package's own dependencies for YAML, Markdown and HTML conversion, diffs, version ranges, glob patterns, JSON streaming and starting commands load from its shared files instead of about 260 files of their own. Their licenses are in `dist/THIRD_PARTY_NOTICES.md`.
115
+ - Subagent sessions are kept in the session storage you use: a subagent's own session is created in the store of the session that launched it, the SQLite store by default or the libSQL or PostgreSQL database you selected, instead of as a JSONL file under `~/.atomic/agent/subagent-sessions/`. Subagents of a session in a shared database resume, wake and export on another machine as their parent does, and record worktree snapshots of their own, sharing the capture work with the parent's and each other's captures of the same checkout; their snapshot refs in your repository are deleted with the session that launched them. A fresh subagent's session is internal, left out of `/resume`, `atomic -r`, `-c` and `history://sessions`, and a subagent's result names a session kept in a store as `history://sessions/<id>`. A parent kept in JSONL files, or a launch with `sessionDir`, still keeps the subagents' sessions as files, and a parent that saves nothing (`--no-session`) keeps them in memory with it. Subagent sessions saved by earlier releases stay readable and restorable. SDK: `NewSessionOptions.internal` creates an internal session.
116
+ - A `pi.exec` command that Atomic ends because of its `timeout`, an abort `signal` or `maxBuffer` now ends with the processes it started, as the bash tool's commands do: a background process such as `sleep 1000 &` no longer keeps running. On Linux and macOS they get SIGTERM with the command and SIGKILL 5 seconds later; a program that started a session of its own keeps running. On Windows they end at once, also when you quit, except one whose parent already ended; what a command that finished left running keeps running, as before
117
+ - An interactive session shows its editor and takes typing as soon as Atomic starts, before the rest of the session has loaded, so you can start typing at once, also on a slow first start. The header, the footer and the chat appear on the same screen when the session is ready, with what you typed, its cursor and any paste kept. Keys that do more than edit the prompt, such as Enter, a command or Esc, wait and then act in the order you pressed them, exactly once; Ctrl+C clears the prompt or, pressed twice on an empty one, exits, and Ctrl+D on an empty prompt exits. Startup is as before when something must come first: a question about the folder's trust, the first-run setup, an argument such as `--resume`, or settings that change how the editor looks.
118
+ - Atomic starts faster again: TypeBox loads from one file instead of about 670.
119
+ - A turn that changes files no longer waits while Atomic checks and bundles the same unpushed commits again after the checkout's last worktree snapshot left them out, because their bundle was over `snapshots.maxSnapshotBytes` or one of them adds a deny-listed file such as a `.env` or a private key. For a long history that no remote has, such as a repository without a remote, every such turn took seconds, about 15 s on Windows and 5 to 8 s on Linux for 12,000 commits, and so did each subagent's first turn that changes files in the same checkout. Atomic checks the commits again once the unpushed commits change, and bundles them again once in each Atomic process, after the repository's packs change (such as by `git gc` or `git repack`), when you raise `snapshots.maxSnapshotBytes` above their bundle, or when the bundle was less than a tenth over it.
120
+ - While Atomic loads at start, the editor it shows echoes what you type as you type it, instead of all at once when loading has finished: the rest of Atomic loads in steps with room to answer keys between them, each module once and in the order Atomic's build saw.
121
+ - A worktree snapshot capture no longer runs Git to list the files staged in your index despite an ignore rule while the index and `HEAD` are as they were at an earlier capture in the same Atomic process, so each turn that changes files starts one Git process fewer. Where Git does not trust file modes, as on Windows by default, a capture that records a change also no longer asks Git whether the previous snapshot's tree exists once it has read that tree. On Windows each Git process takes about 30 ms to start.
122
+ - An npm or Bun install of Atomic writes about 2,090 fewer files of its own: the package no longer includes the separate compiled copies of the code it bundles (about 3,880 files and 71 MB unpacked with them, 1,790 files and 43 MB now).
123
+ - Atomic's own modules are bundled into shared files under `dist/`, and most of them no longer have a file of their own there. Code that loaded one of Atomic's internal files by its path inside the package, such as `dist/core/extensions/host-input.js`, which the package's `exports` already did not allow, must import one of its exported entry points instead: `@bastani/atomic`, `@bastani/atomic/storage`, `@bastani/atomic/storage/testing`, `@bastani/atomic/rpc-entry` or `@bastani/atomic/typebox` ([#6198](https://github.com/bastani-inc/atomic/pull/6198), [#6218](https://github.com/bastani-inc/atomic/pull/6218)).
124
+ - Installing Atomic writes about 1,600 fewer files and 9 MB less: Atomic's converter for PDF, Office and EPUB files (`markit-ai`) is now part of Atomic's own files, so an install no longer adds that package and the packages only it depends on. The converter now uses MuPDF 1.28.6 and mammoth 1.13, which read more of some PDF and Word documents, as a Bun install already did. A session that was running while Atomic was updated in place from an earlier version fails its first PDF, Office or EPUB read after the update until you restart it.
125
+ - A turn that runs a file-writing tool waits less for its worktree snapshot, most of all on Windows, where each Git process takes 25 to 45 ms to start: a capture lists the checkout's files with one `git status` instead of three Git commands (a checkout with submodules still asks `git diff-files` about them, as before), and no longer reads `HEAD`'s tree again while `HEAD` stays the same. In a checkout of about 7,800 files on Windows, a turn that changed nothing waits about 115 ms instead of 280 ms (175 ms instead of 300 ms when the checkout has uncommitted changes), and one that changed files about 370 ms instead of 490 ms. Snapshots record exactly what they recorded before ([#6305](https://github.com/bastani-inc/atomic/pull/6305)).
126
+ - Interactive starts reach the first prompt sooner: the bundled extensions load once, instead of loading, being dropped and loading again when startup completes. With `--no-mcp`, the subagent and web access extensions no longer load twice, and with `--no-extensions --no-mcp` they no longer load at all. A change of settings or of the folder's trust while Atomic starts still reloads every extension, as before ([#6325](https://github.com/bastani-inc/atomic/pull/6325)).
127
+ - An interactive session in a trusted folder takes your first prompt sooner: Atomic now starts loading the engine that runs the session while the window is still loading its own part, instead of after it. A prompt typed at launch starts its turn about 0.37 s sooner on Windows (3.0 s to 2.6 s on a warm start) and about 0.18 s sooner on Linux (1.25 s to 1.07 s). A start with `--name` loads them one after the other, as before ([#6306](https://github.com/bastani-inc/atomic/pull/6306)).
128
+ - A release of Atomic no longer opens a session, in the CLI or through the SDK (`NativeModuleUnavailableError`), with a native module (`@bastani/atomic-natives`) of another release, which a broken installation leaves or an update swaps under a running process; it went on and could fail later in unrelated places. When an update replaced the installation since the process started, the message says to restart it (`atomic was updated to <version> while this process was running; restart it.`), also when the native module cannot load at all; otherwise it names both releases and says how to reinstall Atomic. A process that refused its native module keeps refusing it until it restarts; once this release's native module is reinstalled while it runs, the message says so and to restart it (`atomic's native module was reinstalled while this process was running; restart it.`). The native module is checked against the release of `@bastani/atomic-natives` the package depends on, so a package that republishes Atomic under its own name and version runs with Atomic's native module. A source checkout, an app whose own package does not depend on an exact release of the native module (as when it bundles the SDK), a native module given with `NAPI_RS_NATIVE_LIBRARY_PATH` and the standalone binary are not checked ([#6319](https://github.com/bastani-inc/atomic/pull/6319), [#6365](https://github.com/bastani-inc/atomic/pull/6365)).
129
+ - Opening the session database waits less on a busy machine. Opening an existing database now waits on the database connection's thread 3 times instead of 39, and setting up a new one 29 times instead of 95 (cutting new-database setup on a loaded 8-core Windows machine from 10 to 20 s down to 1 to 7 s). The file's SQLite settings now go in one request instead of three while its file identity and lock record are prepared in parallel, cutting file open time on a loaded 8-core Windows machine from about 0.9 to 1.1 s down to about 0.6 s for both Atomic and its engine ([#6304](https://github.com/bastani-inc/atomic/pull/6304), [#6323](https://github.com/bastani-inc/atomic/pull/6323)).
130
+ - Saving to the session database waits less on a busy machine: creating a session waits for the database connection's thread 4 times instead of 5, and saving a message waits 4 times instead of 6 or 7 (and in the default session store, no longer first asks the database whether it already holds the session, while still converting older JSONL sessions on their first save). Taking the database's write lock also waits for the file system once instead of twice ([#6311](https://github.com/bastani-inc/atomic/pull/6311), [#6388](https://github.com/bastani-inc/atomic/pull/6388)).
131
+ - On Node 22, Atomic's window and the engine that runs its session share one compile cache instead of writing two, and on Windows one helper process prepares that cache instead of two ([#6320](https://github.com/bastani-inc/atomic/pull/6320)).
132
+ - Subagents that finish file-writing turns in one checkout while a snapshot of it is being taken now share the next snapshot, which starts when that one ends, instead of each starting a snapshot beside it. Snapshots of one checkout taken side by side slowed each other down, on Windows several times over: eight subagents in a checkout of about 7,600 files that finished their writes within a few seconds of each other waited 2 to 3 times as long for their snapshots as for a single one, and now wait about as long as for one. A turn that ends while a snapshot runs can wait up to about one more snapshot, which on a fast disk is a fraction of a second, and a snapshot that runs far longer than snapshots take no longer holds the next one ([#6317](https://github.com/bastani-inc/atomic/pull/6317)).
133
+ - The first prompt reaches the model sooner: Atomic loads the selected model's provider code in the background before the first request instead of when you send it, loads syntax highlighting for less common languages once startup has finished, reads `CHANGELOG.md` only when a What's New banner can show (alongside startup after an upgrade), and asks the terminal for its colours once instead of twice ([#6334](https://github.com/bastani-inc/atomic/pull/6334)).
134
+ - A worktree snapshot capture no longer reads all of your Git index on each turn to learn whether the files staged despite an ignore rule changed: the checksum Git writes at its end tells (an index written without one, `index.skipHash`, is still read in full). A long-running Atomic keeps those listings for at most 16 indexes, and none of more than 4,096 files ([#6339](https://github.com/bastani-inc/atomic/pull/6339)).
135
+ - The builtin Intercom, subagents, MCP and web access extensions of an installed Atomic load directly under Node and Bun, without Atomic's extension compiler and without loading Atomic modules that only other extensions use, so Atomic's window and the engine that runs its session both start sooner ([#6326](https://github.com/bastani-inc/atomic/pull/6326)).
136
+ - Starting Atomic reads the model catalog once instead of three times, and checks each provider's credentials once instead of twice whenever it lists the models you can use, in Atomic's window and in the engine that runs its session. A model runtime that an SDK app passes in, credentials that change while Atomic runs and a missing catalog are handled as before ([#6341](https://github.com/bastani-inc/atomic/pull/6341)).
137
+ - The builtin Intercom, web access, subagents and MCP extensions, and the view of codemode's results, load when first used instead of at every start, in Atomic's window and in the engine that runs its session. Their tools, commands and shortcuts are registered at startup with the same definitions as before, so the tools the model gets and the system prompt do not change. Web access, a 4.9 MB bundle, loads on its first tool, command or shortcut; subagents, 1.9 MB, on first use or when you resume a session with subagents; MCP when an `mcp.json` exists, an extension registers an MCP server, a resumed session used MCP tools, or you run `/mcp`; Intercom on first use or when it joins in the background after startup; and codemode's result view and its syntax highlighting with the first script, or when you resume a session that ran scripts ([#6321](https://github.com/bastani-inc/atomic/pull/6321), [#6328](https://github.com/bastani-inc/atomic/pull/6328), [#6330](https://github.com/bastani-inc/atomic/pull/6330), [#6332](https://github.com/bastani-inc/atomic/pull/6332), [#6335](https://github.com/bastani-inc/atomic/pull/6335), [#6340](https://github.com/bastani-inc/atomic/pull/6340)).
138
+ - Starting Atomic loads fewer files before the editor appears and the first turn starts: syntax highlighting (`highlight.js`) loads on first use (keeping custom languages, aliases and standalone binary support), HTTP client code (`undici`) loads from Atomic's shared files on Node instead of about 109 separate files (keeping fetch error stack traces and Bun's native fetch), and subcommands and features not needed at startup (`install`, `remove`, `update`, `list`, `config`, `auth`, `--list-models`, URL `read` HTML extraction and unused run modes) load only when used ([#6348](https://github.com/bastani-inc/atomic/pull/6348)).
139
+ - Interactive starts open fewer package files before the editor appears and the first turn starts: Atomic's startup code now loads from about 26 shared files instead of about 130 to 170 (about 175 files opened at startup on Node 22 instead of 314), while keeping early typing in the editor responsive ([#6356](https://github.com/bastani-inc/atomic/pull/6356)).
140
+ - Startup runs independent setup work in parallel: `-p` and `--mode rpc`, `json` and `text` launches now start their SQLite session database thread while Atomic loads (as interactive sessions already do), folder trust checks skip missing config directories and inspect ancestor folders together, settings and the model catalog load alongside package resources, and skills, prompt templates, themes, context files and system prompt files are read in parallel ([#6346](https://github.com/bastani-inc/atomic/pull/6346)).
141
+ - Atomic's native module (`@bastani/atomic-natives`) is about 74% smaller on disk (about 5 MiB unpacked and 2.1 MiB compressed instead of 18 to 19 MiB unpacked and 3.6 MiB compressed) after removing the unused `blockRangeAt` binding and its bundled `tree-sitter` language grammars, saving 13 to 14 MiB on every npm, pnpm, Bun and release archive install with no slowdown in search, glob, locks or process management ([#6381](https://github.com/bastani-inc/atomic/pull/6381)).
142
+ - Session recovery notices, recovery replay notices, event subscription reports, and omitted oversized history entries now render as compact notice cards matching Atomic's other transcript notices instead of generic bracketed `[customType]` boxes, and expand or collapse on both Ctrl+O and a click anywhere on the card ([#6372](https://github.com/bastani-inc/atomic/pull/6372)).
143
+ - A session whose model an extension streams itself (a provider it registers with `streamSimple`, or one with its own stream functions) no longer loads Atomic's own implementation of that model's API as it starts, about 640 KB of code for the Anthropic Messages API. Before the first prompt, Atomic loads only the API implementation the first request uses: when you switch to a model of Atomic's own providers, with `/model` or Ctrl+P, it loads that model's then. While a session starts, it still loads the API of the model the settings select early, now also when a project's settings select it and the project is trusted, unless that model's provider is one only an extension registers, its API is one Atomic does not implement, or an argument such as `--model`, `--provider`, `--models`, a resume, `--extension` or an extension's own option may choose another ([#6375](https://github.com/bastani-inc/atomic/pull/6375)).
144
+ - Extension docs, examples and extension error messages now name the `ExtensionAPI` parameter `atomic` instead of `pi`; existing extensions that name it `pi` keep working unchanged ([#6395](https://github.com/bastani-inc/atomic/pull/6395)).
145
+ - Refreshed 97 user-facing documentation pages under `docs/` to align CLI commands, settings, environment variables, keybindings, storage paths, subagents, Intercom and SDK guides with current behavior ([#6391](https://github.com/bastani-inc/atomic/pull/6391)).
146
+
147
+ ### Fixed
148
+
149
+ - An extension's `typebox/format`, `typebox/system` and TypeBox's other subpaths besides `typebox/compile` and `typebox/value` now resolve to Atomic's copy of TypeBox, so a format an extension registers with `Format.Set()` applies to its tools' validation.
150
+ - An extension module's `import.meta` now describes its own file, as when the module is imported natively, however the module reads it (`import.meta.dirname`, `const meta = import.meta`, destructuring): `filename` and `dirname`, and under Bun `path`, `dir`, `file`, `main` and `require`. Under Node `filename` and `dirname` were undefined when the module kept `import.meta` in a variable or destructured it, and under Bun they named a `data:` URL after a `/reload`. `import.meta.resolve()` answers as it does for a module Node or Bun imports itself: a built-in module such as `fs` or `node:fs` by its `node:` name, a relative path to a file that does not exist by its URL, and a package it cannot find with `ERR_MODULE_NOT_FOUND`. On Windows, `import.meta.filename` and `dirname`, `__filename`, `__dirname` and `require.resolve()` in an extension module now name paths with backslashes, as Node and Bun write them, instead of forward slashes.
151
+ - After a restart, a long session no longer replays an Intercom message, reply or ask that it had already taken in a turn, or an ask it had already answered, once a compaction had left the entry that recorded this out of the reopened session. Such a message came back as a new turn when its sender was still connected, and as history otherwise, after every restart ([#6168](https://github.com/bastani-inc/atomic/issues/6168)).
152
+ - Fixed the first run after a resume near the context window lowering the thinking budget when an extension starts it, or a queued message or session recovery continues it: like a typed prompt, it now compacts once first when only what the resume added would lower the budget. What an extension adds after the session opened counts as the conversation's, as in a session that kept running, so it no longer causes that compaction.
153
+ - A subagent whose own prompt replaces the default now names the project's session folder in a section at the end of its prompt, so its Session memory section reads the same in every project. A session recorded with the folder in Session memory keeps it there.
154
+ - A resumed session no longer shows an MCP server's recorded summary that the conversation did not show last, such as after the record of a later change could not be written; the server's line shows its summary again once it reconnects.
155
+ - With the npm-installed `atomic`, an OpenAI Codex request whose WebSocket is refused for its TLS certificate now fails at once with the certificate message and how to trust a private CA, as the standalone binary does, instead of first retrying over SSE ([#6171](https://github.com/bastani-inc/atomic/pull/6171))
156
+ - `/reload` runs the current code of a module that your own or an installed extension imported after it started, when only that module changed. On Windows, under Bun, and in the standalone binary, `/reload` could keep the module as it was first loaded ([#6172](https://github.com/bastani-inc/atomic/pull/6172))
157
+ - An installed Atomic and a source checkout, or two Atomic versions, that share an agent directory no longer delete each other's extension transpile cache, so neither starts with an empty cache after the other has run. The cache moved from `cache/jiti/` to `cache/transpile/` in the agent directory, and a version's cache in either directory is removed once it has gone unused for a week. This release no longer uses `cache/jiti/`, so you can delete it ([#6172](https://github.com/bastani-inc/atomic/pull/6172))
158
+ - In a source checkout, a first start with an empty transpile cache compiles the bundled packages in a background thread instead of blocking startup, and modules a package imports later are prepared for exactly the files they import ([#6172](https://github.com/bastani-inc/atomic/pull/6172))
159
+ - Subagents no longer show "Worktree snapshot unavailable: jsonl storage cannot hold snapshot blobs" when they change files. A subagent's session is kept where its run keeps it, so the advice to choose another session store did not apply to it. Subagents launched with `context: "fork"` from a session in a database still record snapshots. A main session whose store cannot hold snapshots shows the advice once, when a new session first changes files, and no longer again each time it is resumed.
160
+ - Fixed image resizing running on the calling thread in a Node process started with `--input-type=module` written another way Node accepts: `--input_type=module` on the command line, or in `NODE_OPTIONS` in quotes (`"--input-type=module"`), with an escape (`"--input\-type=module"`) or as `--input_type=module`. A `NODE_OPTIONS` that names `--input-type` where Node does not read it, such as inside a quoted `--title` value, no longer changes how Atomic starts its worker threads ([#6170](https://github.com/bastani-inc/atomic/pull/6170))
161
+ - Fixed the interactive engine and headless runs on Node not getting their larger heap when `NODE_OPTIONS` names `--max-old-space-size` where Node does not apply it: after a tab, which Node does not treat as a separator, or after a word that ends Node's reading of `NODE_OPTIONS`. A heap size that Node applies still takes precedence ([#6170](https://github.com/bastani-inc/atomic/pull/6170))
162
+ - Fixed Atomic ending on an unrelated unhandled promise rejection after an agent panel source failed, although `NODE_OPTIONS` sets `--unhandled-rejections` to `warn` or `none` in quotes or as `--unhandled_rejections` ([#6170](https://github.com/bastani-inc/atomic/pull/6170))
163
+ - On Windows, a command stopped or failing while the machine is heavily loaded is no longer reported as exiting with status 0.
164
+ - An extension's `pi.exec` command still running when you quit no longer keeps the extensions' `session_shutdown` handlers from running: Atomic ends the command, with the processes it started, first (`SIGTERM`, then `SIGKILL` after one second). Commands the handlers run themselves are not ended ([#6178](https://github.com/bastani-inc/atomic/pull/6178))
165
+ - Quitting or `SIGTERM` ends within about five seconds when a `session_shutdown` handler never finishes, also when the session runs in Atomic's own process, as in a project left untrusted; there a second `SIGTERM` now ends Atomic at once too. Atomic's own saving after the handlers still completes ([#6178](https://github.com/bastani-inc/atomic/pull/6178))
166
+ - A `SIGHUP` or `SIGTERM` that arrives after `/quit` cleared the screen no longer ends Atomic at once, cutting the extensions' shutdown short; the quit finishes as it started ([#6178](https://github.com/bastani-inc/atomic/pull/6178))
167
+ - The standalone binary started with `SIGHUP` ignored, as `nohup atomic -p ...` starts it, keeps running when its terminal closes ([#6178](https://github.com/bastani-inc/atomic/pull/6178))
168
+ - Opening or closing `/tasks` or the focused agent panel no longer draws a frame without the agent panel, the footer's hints, or both. This includes Esc, Enter on the subagent already shown, and opening `/tasks` from a subagent's chat. The screen now changes from the prompt to the view and back in one frame.
169
+ - While viewing a subagent, a narrow footer keeps `← main chat` and `↓ N agents` longer than `? keys` and the working status. Before, `↓ 1 agent` was dropped below 47 columns.
170
+ - ↓ on the empty prompt of an extension's editor built on Atomic's editor (`ctx.ui.setEditorComponent`) now focuses the agent panel, as it does on the default prompt, unless the editor uses the key itself.
171
+ - A task stopped by its execution timeout shows the stopped mark (a red `◯`) in its completion notice, as the agent panel and `/tasks` show it, instead of `!`. Saved sessions keep their notices unchanged.
172
+ - An extension installed while Atomic starts no longer decides the trust of a folder whose saved **Trust** startup already applied: the folder is decided with the extensions Atomic found when it started, and the new extension loads after the decision ([#6183](https://github.com/bastani-inc/atomic/pull/6183))
173
+ - Resuming another folder's session from a folder whose own settings choose its session store loads the bundled extensions once, and shuts down the extensions that decided the first folder before the session's own load; a shutdown that does not finish within about five seconds no longer holds the session back and is named in a warning ([#6183](https://github.com/bastani-inc/atomic/pull/6183))
174
+ - When a folder is approved after the chat is on screen, an open menu of command names in which you have not chosen a row shows the approved commands, with an exact match selected; a completion provider that fails or never answers leaves the menu as it was ([#6183](https://github.com/bastani-inc/atomic/pull/6183))
175
+ - The resource list at the top of the chat shows an approval as soon as a selection, click, drag or search that held it ends, instead of checking again every 250 ms ([#6183](https://github.com/bastani-inc/atomic/pull/6183))
176
+ - The same message sent twice in quick succession, which an `input` extension rewrites, no longer leaves a copy of the typed text in the chat
177
+ - A queued message that two runs in a row took and failed before sending comes back to the editor, as typed and in the order it was queued, with a notice, instead of disappearing
178
+ - When the engine stops unexpectedly while delivering a queued message, the message comes back to the editor if the session files show it was never saved, and is no longer reported as possibly undelivered if they show it was; the notice now lists only messages whose delivery cannot be confirmed
179
+ - The same applies to a subagent's chat: when the engine stops unexpectedly, a queued message the subagent saved is no longer reported as possibly undelivered, and one its session files show it never saved is listed with the subagent's messages that weren't sent
180
+ - `atomic -p` with an extension command prints the command's own answer, or fails on its failed reply, even when another message is saved after it, and waits for a reply the command asks for while an earlier run is still finishing
181
+ - On Windows, the first quit after installing or upgrading Atomic no longer takes several seconds. A session that finds Node's compile cache empty or out of date for this version runs without it, and a short-lived low-priority background process writes the cache, finishing after the session if the session ends first, so later sessions start from it ([#6132](https://github.com/bastani-inc/atomic/issues/6132))
182
+ - A subagent released while it waits shows that in its own chat as the main chat does: the `◌ <name> is waiting on <tool>` notice as a block of its own after the transcript, with that it wakes by itself and which of its shells still run under it. Before, this was an unindented line pressed against the prompt, under the last message.
183
+ - In a subagent's chat, a command the subagent started that keeps running in the background now says where to reach it, as `· /tasks to manage` does in the main chat: `· /tasks to manage` on the subagent's page in `/tasks`, whose own `/tasks` lists the command, and `· alt+w opens it` (the `app.tasks.openWaited` key) on the screen that shows the subagent in place of the main chat, for the newest shell a released subagent waits on. Before, it said neither. A click on that `/tasks to manage` opens the subagent's own task list, as typing `/tasks` there does, while the chat takes what you type; without colour the hint is text, as the main chat's hints are ([#6229](https://github.com/bastani-inc/atomic/pull/6229), [#6307](https://github.com/bastani-inc/atomic/pull/6307)).
184
+ - `session.dispose()` now waits, for up to about five seconds, until the extension transpile cache has finished storing what the session's own extensions started, such as the transform of a module an extension imported after it started. An SDK host that removes the agent directory once `dispose()` resolves could fail with `ENOTEMPTY`, or find a file written into it afterwards ([#6190](https://github.com/bastani-inc/atomic/pull/6190))
185
+ - Closing the console window on Windows now lets extensions' `session_shutdown` handlers run, with `fromSignal: true`, as closing a terminal does on Linux and macOS. Windows ends the process about five seconds after the window closes, so the shutdown is cut short after four, and Atomic exits with status `0xC000013A` (`STATUS_CONTROL_C_EXIT`), as Windows ends such a process ([#6185](https://github.com/bastani-inc/atomic/pull/6185))
186
+ - Signing out of Windows, or restarting or shutting it down, now lets extensions' `session_shutdown` handlers run too, with `fromSignal: true`, where Windows used to end Atomic at once. Windows waits for Atomic while they run, for up to about four seconds, without listing it as a program that keeps you from signing out. A sign-out that another program cancels leaves Atomic running. This applies once Atomic has started up, about half a second after its screen first appears ([#6187](https://github.com/bastani-inc/atomic/pull/6187))
187
+ - On Node, the interactive engine now gets the heap size given as `--max-old-space-size-percentage` or `--max-heap-size` on Atomic's own command line, or as `--max-heap-size` in `NODE_OPTIONS`, instead of half of system memory, and a headless run given either one, in either place, no longer starts itself a second time. The engine also gets a `--max-semi-space-size` given on Atomic's command line
188
+ - A model request refused for the TLS certificate of the `https://` proxy set by `HTTPS_PROXY`, `HTTP_PROXY` or the `httpProxy` setting now names the proxy, by its host, and says how to trust its CA, or to use a proxy URL whose host name the certificate names, instead of naming the model's endpoint, which the proxy never reached. A certificate refused by the endpoint behind the proxy is still named as the endpoint's. In the standalone binary this applies to Amazon Bedrock only: other requests go through Bun's own proxy handling, which reports both the same way, and keep naming the endpoint ([#6208](https://github.com/bastani-inc/atomic/pull/6208))
189
+ - SDK: a `wrapNodeSqliteDatabase` statement with many `[` that no `]` closes, run while an `openNodeSqliteDatabase` transaction on the same thread holds the file, no longer blocks your event loop before SQLite reports its syntax error. The time grew with the square of the statement's length: about three minutes for a 1 MB statement, which now fails within milliseconds.
190
+ - MCP servers that share a namespace, which an SDK's own `loadConfig` for `createMcpExtension` can list (such as `docs-search` and `docs_search`), show their summaries in a resumed session again while they reconnect, as other servers do, when the session recorded which server each of their lines lists and none of them changed. Otherwise their lines show no summary until the servers reconnect, so the model never keeps a summary of a server that is gone or no longer gives it.
191
+ - When git is missing and Atomic downloads the portable git, anything else that needs git meanwhile now reports that git is being downloaded, or that Atomic is waiting for another Atomic process to install it. Before, what started waiting after the download began reported nothing until git was installed ([#6230](https://github.com/bastani-inc/atomic/pull/6230))
192
+ - The first prompt after a resume near the context window gets the same compact-first check when something else ran before it: the summary of the session that RPC and interactive modes request for the session picker when a session opens, a queued message or recovery that stopped before sending, or a request whose provider setup failed, such as a model header taken from an unset environment variable. Any of these used up the check, so the prompt lowered the thinking budget instead.
193
+ - A completion menu opened while Atomic finishes starting no longer closes when fd is found, the engine's commands arrive or extensions finish loading: it stays open, also in an extension's editor, and shows the new rows unless you chose a row in it. The folder's approval refreshes `@` file and argument menus too ([#6213](https://github.com/bastani-inc/atomic/pull/6213))
194
+ - A completion provider that fails no longer stops every later completion in the prompt, and one that never answers holds the next completion for at most 100 ms ([#6213](https://github.com/bastani-inc/atomic/pull/6213))
195
+ - A key or click on the completion menu acts on the rows on screen: rows that arrive just before the next frame no longer change which row Enter or Tab takes, unless you typed since the menu was drawn, and a click on rows that changed since chooses nothing ([#6213](https://github.com/bastani-inc/atomic/pull/6213))
196
+ - An extension's `pi.exec` command still running no longer keeps running after Atomic is killed, for example with `SIGKILL` or by the system when memory runs out. The interactive engine ends the command and the processes it started at once when Atomic's terminal process is gone. On Linux the system also ends the command, but not the processes it started, when the Atomic process running it ends, which covers a session in Atomic's own process, as for a project left untrusted; on macOS such a command still keeps running. On Windows the command itself already ended with Atomic, and still does; what it started keeps running unless the command put it in a job of its own, as a Node.js command does. On Linux and macOS this also holds when Atomic is stopped with `SIGTERM` or `SIGHUP` and then killed before its shutdown finishes. Commands that `session_shutdown` handlers run, and what a command that finished left running, are not ended ([#6217](https://github.com/bastani-inc/atomic/pull/6217), [#6302](https://github.com/bastani-inc/atomic/pull/6302)).
197
+ - In the standalone binary, `httpIdleTimeoutMs` now applies to model and other HTTP requests, as it does with the npm-installed `atomic`. A request whose response stays silent longer is ended, and one silent for less, or for any time when the setting is `disabled`, is no longer ended after about five to six minutes by the binary's own idle timeout, such as a response that takes long to start. The binary checks the timeout every few seconds, so it can end a request a little after the timeout runs out ([#6233](https://github.com/bastani-inc/atomic/pull/6233))
198
+ - In the standalone binary, an `https://` request, including the OpenAI Codex WebSocket, now goes through `HTTP_PROXY` when `HTTPS_PROXY` is unset, as with the npm-installed `atomic`, instead of connecting directly. `NO_PROXY`, `HTTPS_PROXY` and `ALL_PROXY` keep working as before. The [network proxy settings](docs/settings.md#network-proxy) list the remaining differences between the binary and the npm install ([#6233](https://github.com/bastani-inc/atomic/pull/6233))
199
+ - `/reload` reads the current contents of a JSON file an extension imports or requires by path, also one it imports only later. It kept the content first loaded until Atomic restarted, and editing only such a file did not make `/reload` evaluate the extension again. A JSON file in a package the extension depends on still loads once per process
200
+ - While the screen shows a subagent that finished, the agent panel no longer redraws every second: an idle subagent chat writes nothing to the terminal until something changes. A running subagent's time and a finished row that is fading still update every second ([#6220](https://github.com/bastani-inc/atomic/pull/6220))
201
+ - When Atomic's own handling of the engine's output fails the same way on every streamed update, the chat shows one error row with a count, such as `(42 times)`, instead of one row per update. A different failure, or one after other output, gets its own row.
202
+ - An error while Atomic reports a malformed engine line, the engine's stderr output or a failed write to the engine no longer ends Atomic; a malformed line still restarts the engine.
203
+ - A tool call in the main chat that finishes while a subagent's chat is on screen no longer keeps redrawing that chat several times a second: the call is drawn as finished at once, also while its chat is hidden ([#6243](https://github.com/bastani-inc/atomic/pull/6243))
204
+ - An Amazon Bedrock request through an `https://` proxy that closes the connection before its TLS handshake no longer ends Atomic with an unhandled error. Such a request, and one whose connection to the proxy is reset or closed before the proxy answers, is now retried like other dropped connections instead of failing at once ([#6237](https://github.com/bastani-inc/atomic/pull/6237))
205
+ - Choosing a subagent in `/tasks` while main's agent panel lists nothing, as once every subagent finished, no longer shows the subagent's chat for a frame without the agent panel: the chat and its panel row appear together ([#6240](https://github.com/bastani-inc/atomic/pull/6240))
206
+ - A `/` command, `@` file or Tab completion typed while Atomic is still starting, also before its screen appears, as when it starts with a command-line argument such as `-c`, now shows its completion menu once completions are ready, instead of no menu until the next key. A click in the prompt before completions are ready drops such a completion, as a key does, so clicking away and back no longer opens a menu ([#6224](https://github.com/bastani-inc/atomic/pull/6224), [#6297](https://github.com/bastani-inc/atomic/pull/6297)).
207
+ - Atomic runs the helper programs it starts by name for its own work, such as fd, rg, gh, npm, tmux, trash, the clipboard and browser helpers and Windows PowerShell, only from the absolute directories in your PATH, so a program in the project folder no longer runs in their place: on Windows a program in the working directory used to be found before PATH, and on every platform an empty or relative PATH entry named the working directory; a program found only there now counts as not installed. An absolute PATH entry is searched wherever it points, the working directory included, so running Atomic in `C:\Windows\System32` still finds its programs. `spawnProcess` from the SDK looks programs up the same way.
208
+ - After a resume that changed the prompt, such as new project instructions, an interrupt, a queued message or a recovery sent first no longer sends those changes, also in the turns after a tool call; the next prompt sends them. Near the context window, that prompt now compacts once first when they would lower the thinking budget, as a typed first prompt after a resume does. Before, that prompt, or the turn after the interrupt's tool call, lowered the budget instead. Changes made during the run, such as a tool turned on, still go out at once, unless they are in a part of the prompt the resume also changed.
209
+ - An Amazon Bedrock error answered by something other than Bedrock itself, such as a gateway or a proxy, now names the HTTP response's status, for example `Unknown: 503: unavailable`. The chat session already retried such an answer; compaction summaries, structured output and SDK callers that retry by the error now retry it too when its status is one the other providers' errors are retried for: 429, 500, 502, 503, 504, 520–524 or 529. A gateway's 413 whose body is not JSON now reads `413: …` and is handled as a context overflow: Atomic compacts the conversation and retries ([#6259](https://github.com/bastani-inc/atomic/pull/6259))
210
+ - The turns after a tool call in a run that an interrupt or a queued message started no longer take the prompt sections that extensions add when a prompt starts, such as the MCP servers' section, out of the system prompt. The model lost the list of MCP servers, and the prompt changed twice, until the next prompt.
211
+ - The bash and PowerShell tools find their shell, and an MCP server given by a program name finds its program, only in the absolute directories on your PATH and the known install locations, never through Windows' search of the working directory or an empty or relative PATH entry, so a shell or server program a project contains never runs in place of yours. A `shellPath` given as a name alone, such as `bash`, is looked up the same way; a path is used as written, as is an MCP server's `command` with a path. On Windows an MCP server whose program is not installed now fails with `spawn <name> ENOENT`, as elsewhere, instead of being handed to cmd.exe to look for.
212
+ - On Windows a variable in an MCP server's `env`, such as `PATH`, replaces the inherited one however either is spelled, so a configured `PATH` chooses the server's program and is the `PATH` the server gets.
213
+ - Extensions: on Windows, `pi.exec` runs a command named without a path, such as `git`, only from the absolute directories on `PATH`, never from the working directory, so a program in a project folder no longer runs in place of the one you installed. A command with a path runs as written, and one found nowhere fails with `ENOENT` as before.
214
+ - Starting Atomic with `--offline`, `--debug`, a `PI_OFFLINE` or non-`1` `ATOMIC_OFFLINE` value, or the `debug` or `httpProxy` setting no longer throws away the engine it starts loading at launch and loads a second one. The prompt takes input about 1.8 s sooner on Windows and 0.7 s sooner on Linux, and on a cold Windows start without antivirus exclusions about 8 s sooner, without the 5 s pause that followed the first frame there.
215
+ - Resuming a session restores what its finished subagents changed in its checkouts, also when the session itself changed no file after them, as when it only delegated: each checkout comes back as the newest capture of it among the session and its subagents. A subagent's named worktree stays its own.
216
+ - When an update installs a new Atomic over the one a session runs from (`npm install -g`, `bun add -g`), a feature whose code then can no longer load (a tool's first call, `/tree`, `/fork`, `/export`, an extension on `/reload`) says `atomic was updated to <version> while this session was running; restart it to keep using <feature>.`, followed by the runtime's own `SyntaxError: The requested module … does not provide an export named …` or `Cannot find module` error, and the interactive session keeps running instead of exiting. A session the update caught while it was starting prints the same message and exits. This applies only to Atomic's own modules: a module that is not part of the installation, such as a user extension's missing package, fails with its own error as before. Sessions started on this release or a later one report it this way.
217
+ - After you push the unpushed commits a worktree snapshot left out, because one adds a deny-listed file such as a `.env` or a private key or their bundle was over `snapshots.maxSnapshotBytes`, the next turn that runs a file-writing tool records a snapshot without them in `omitted`, also when no file changed. Such turns kept the earlier snapshot, so a resume warned about commits that were already pushed, and when only some were pushed, the rest stayed out even when their bundle now fit under the cap. Raising `snapshots.maxSnapshotBytes` above the bundle records the commits the same way.
218
+ - A builtin extension (subagents, MCP, web access, Intercom) that `/reload` loads in a session an update caught, and that needs a part of Atomic the running session's older copy does not have, now fails to load with `atomic was updated to <version> while this session was running; restart it to keep using the <name> extension.`, followed by the runtime's own wording for each missing part, instead of loading and failing later wherever it uses that part. `/reload` loads the updated builtin extensions on Windows and under Bun; elsewhere it keeps the ones the session loaded. This applies to the builtin extensions of this release and later, whichever release the session started on ([#6301](https://github.com/bastani-inc/atomic/pull/6301)).
219
+ - Worktree snapshots work with Git 2.30 to 2.35, as Debian 11 and Ubuntu 22.04 install it. Before Git 2.36, restoring a session's checkout into a new worktree failed with `unknown switch 'z'`; before Git 2.31, a turn whose checkout had unpushed commits recorded no snapshot (`Refusing to create empty bundle`), and a restore could read a wrong path for its store ([#6327](https://github.com/bastani-inc/atomic/pull/6327)).
220
+ - Resuming or going back in a session kept in a database (SQLite, libSQL or PostgreSQL) no longer fails with a `SyntaxError`, or takes an extension's text for one of Atomic's lists, when an extension's custom entry has text that looks like JSON under `owner`, `tasks` or `groups`, such as `"[draft"`: the session reads that text as text, as a session kept in JSONL files does ([#6329](https://github.com/bastani-inc/atomic/pull/6329)).
221
+ - After you change a Git packing setting (such as `core.compression` or `pack.window`) or a Git attribute that turns delta compression off (`-delta` in `.gitattributes`, `.git/info/attributes`, `core.attributesFile` or the system attributes file), unpushed commits that a worktree snapshot left out because their bundle was over `snapshots.maxSnapshotBytes` are bundled again, and recorded when they now fit. Before, Atomic kept leaving them out until the commits or the repository's packs changed ([#6336](https://github.com/bastani-inc/atomic/pull/6336), [#6371](https://github.com/bastani-inc/atomic/pull/6371)).
222
+ - A line written straight to standard output while Atomic starts, for example by an extension as it loads, is no longer lost when the editor shown before the session is ready gives way to it: it shows once, where it would without that editor, whether Atomic then exits or the session goes on ([#6344](https://github.com/bastani-inc/atomic/pull/6344))
223
+ - A worktree snapshot that leaves unpushed history out because commits add a denied path, such as a private key, now names every such commit after the remote branch moves back, for example after a force-push to an older commit. A capture of an unchanged checkout kept the earlier list, which left out the commits that became unpushed again ([#6366](https://github.com/bastani-inc/atomic/pull/6366)).
224
+ - On Windows, stopping a `!` command with Esc, and a timeout or an abort of a bash or PowerShell command run without a task owner (an SDK's own `createBashTool()` or `createPowerShellTool()` given none), now also ends a process whose starter already exited and one left writing the command's output after the shell exited, and never ends another program given the shell's process ID meanwhile. Atomic stopped them with `taskkill /T` by the shell's process ID, which missed those and, once the shell had exited, could end another program. The shell now starts in a job of its own: a stop ends the shell and the processes below it while it runs, and then every process left in the job. What a finished command left running, such as a program started with `Start-Process`, keeps running after Atomic exits, as before, and a command still running when Atomic is ended ends with it. As before, a program that asks to leave the job (`CREATE_BREAKAWAY_FROM_JOB`) starts, and a stop ends it only while it is still below the running shell: Git Bash starts every program that way, so a stop after `bash` exited does not end what it left running. In the standalone `atomic` binary, such a command that crashes now reports its whole exit code, such as `3221225477`, as Atomic under Node does, where it reported only its last byte (`5`). `ATOMIC_HOST_SPAWN=child-process` starts the shell as before ([#6310](https://github.com/bastani-inc/atomic/pull/6310)).
225
+ - An SDK workspace binding whose record of the git adding its worktree cannot go where Atomic keeps such records now fails (`filesystem-failed`, "record the git adding") before it starts git. On a busy machine, git could add the worktree before Atomic stopped it and leave it behind, locked ([#6362](https://github.com/bastani-inc/atomic/pull/6362)).
226
+ - The `/tasks` shell output viewer and inline `!` and `!!` shell blocks now follow Atomic's layout: the shell viewer aligns its command title, `shell` subtitle, status, runtime and command metadata, rounded scrollable output box, retention and line-range note, `?` shell key overlay and key hints on one left edge, updates elapsed time while running, supports two-press `x` stop on running shells, and strips trailing blank lines from newline-terminated output. Inline `!` and `!!` command blocks now use Atomic's `!` and `!!` echo and `⎿` connector family instead of full-width horizontal rules, show `(no output)` on empty completion, and align sibling notices in `/tasks` views with their hint lines ([#6385](https://github.com/bastani-inc/atomic/pull/6385)).
227
+ - `atomic --help` now includes `kill` in the default tool summary, lists `kill` and `codemode` under `Built-in Tool Names`, and lists `atomic blueprint prebuild` alongside `atomic blueprint cache-key`. `atomic auth login --help`, `logout --help`, `print-api-key --help` and `print-bearer-token --help` (and `-h`) now print `atomic auth` help to stderr and exit `0` with empty stdout, matching `atomic auth --help` and `atomic auth check --help`. `--help` and `-h` passed after `--` or as an option value are no longer treated as help requests in `atomic auth` or `atomic mcp add` ([#6389](https://github.com/bastani-inc/atomic/pull/6389)).
228
+ - Startup slash-command completions now match the commands bundled extensions actually register: removed the unregistered `/mcp-auth` entry, added `/llama`, and aligned `/mcp`'s description ([#6389](https://github.com/bastani-inc/atomic/pull/6389)).
229
+ - Long provider error messages, tool output blocks, fetched HTML pages, terminal escape text, status labels and credential-redaction lines with repeated partial markers no longer stall parsing or display. Failure classification, tool-block footer trimming, HTML link discovery, ANSI stripping, status-verb formatting, Bearer header extraction and MySQL credential detection now run in one linear pass with the same results as before, and `find` skipped-missing-path notices and `bash` full-output footers whose paths contain balanced brackets (such as `app/[id]/missing.ts`) are stripped cleanly ([#6397](https://github.com/bastani-inc/atomic/pull/6397)).
230
+ - On Windows, closing the console Atomic runs in now ends it with the console-close status (`STATUS_CONTROL_C_EXIT`) on a busy machine too. Before, Atomic exited with status 129, the status of a lost terminal, when Windows' notice of the close had arrived but not been read yet as Atomic's time to shut down after losing its terminal ran out ([#6380](https://github.com/bastani-inc/atomic/pull/6380)).
231
+ - On Windows, closing an MCP server no longer briefly keeps your project folder in use. Atomic ended the server with a command that ran in the folder Atomic runs in and could still be running after the close finished, so for a moment that folder could not be deleted or renamed. The commands Atomic runs to end processes now run in the Windows folder, and closing an MCP server waits for its command to finish ([#6403](https://github.com/bastani-inc/atomic/pull/6403), [#6409](https://github.com/bastani-inc/atomic/pull/6409)).
232
+ - `atomic mcp`, `/mcp` and MCP OAuth helpers no longer print or log secrets in CLI output, TUI prompts, `mcp.log` or session tool results. Failed config value resolution omits raw `!` shell commands and literal secret fragments while keeping unset `${NAME}` and `$NAME` environment variable names. OAuth token, registration, discovery, browser callback and Streamable HTTP/SSE error paths mask known secrets (including rotated tokens, PKCE verifiers, client secrets, URL credentials and encoded or escaped variants) in linear time without leaking bytes past error truncation limits or corrupting HTTP status text. `atomic mcp list`, `/mcp` and OAuth authorization URLs preserve benign query parameters (such as `region`, `tenant`, `version` or `authuser`) while stripping URL credentials and secret parameters, redacting stdio arguments, env secrets and stderr output, and capping individual `mcp.log` notification entries at 64 KiB. `atomic mcp add` redacts secrets in malformed option errors, and malformed `mcp-auth.json`, `mcp.json` or JSON responses fail without quoting raw secret text ([#6398](https://github.com/bastani-inc/atomic/pull/6398), [#6413](https://github.com/bastani-inc/atomic/pull/6413)).
233
+ - Shared worktree snapshot captures now hand off atomically when one capture finishes and the next queued capture starts, so a turn finishing during the hand-off no longer starts a duplicate snapshot beside it, and a timed-out snapshot finishing later no longer lengthens the wait for later queued captures ([#6410](https://github.com/bastani-inc/atomic/pull/6410)).
234
+ - Returning to `/tasks` after opening a subagent, detail page, shell output, waited shell, stdin sheet, or extension view now keeps the selection indicator and scroll position on the item you came from (following it if it re-sorts or resumes under a new attempt, and falling back to its next or previous surviving neighbour if it left the list) instead of jumping to the top of `/tasks`. Opening `/tasks` while viewing a subagent selects that subagent, and returning to the focused agent panel after a nested shell or extension row disappears selects its nearest neighbour instead of the top row. Closing `/tasks` without opening an item still starts the next fresh `/tasks` at the top ([#6400](https://github.com/bastani-inc/atomic/pull/6400)).
235
+ - Shared credential redaction (`redactCredentialShapes`, used by credential printing, compaction, debug logs and the SDK) now also redacts `auth=Bearer`, `Authorization=Basic`, standalone HTTP `Basic` credentials and PKCE `code_verifier` values across JSON, query, env, YAML and CLI text. Long lines (1 KiB and up, including multi-megabyte inputs) now scan in linear time across credential fields, provider keys, cookies, netrc entries, PEM blocks and CLI flags so they cannot bypass redaction under Bun or Node, while keeping ANSI escapes, error codes and ordinary prose intact ([#6412](https://github.com/bastani-inc/atomic/pull/6412)).
236
+ - `/quit` under heavy load could reach extensions as a signal shutdown: on a busy machine, an engine too slow to acknowledge the quit in time lost it, and its `session_shutdown` handlers ran with `fromSignal: true`. They now see the quit as one ([#6417](https://github.com/bastani-inc/atomic/pull/6417)).
237
+ - Log tailing (`logTail`) now detects rotated or replaced log files reliably on Windows NTFS and other 64-bit-inode filesystems, including when a file is replaced or truncated right as it is opened, by comparing exact 64-bit file identities and checking the opened file handle before reading so log prefixes are not skipped and partial lines do not mix across files ([#6421](https://github.com/bastani-inc/atomic/pull/6421)).
238
+ - Lock takeover checks, worktree-pool markers, cached system Git checks and native-module reinstall checks now compare exact 64-bit file and directory IDs instead of rounded numbers, preventing distinct files or directories on Windows NTFS and 64-bit-inode filesystems from colliding. Existing lock and worktree records stay compatible during in-place updates ([#6424](https://github.com/bastani-inc/atomic/pull/6424)).
239
+ - Replaced SHA-1 with SHA-256 for in-memory render-cache frame keys and `models.json` change-detection digests ([#6401](https://github.com/bastani-inc/atomic/pull/6401)).
240
+ - A session started on 0.10.3, 0.10.4-alpha.1 or 0.10.4-alpha.2 that keeps running across an in-place update (`npm install -g`, `bun add -g`) now loads on-demand features as before when the updated code is compatible, or says `atomic was updated to <version> while this session was running; restart it to keep using <feature>.` when it cannot load instead of failing with a raw module error (fixing `Missing built-in command description: /mcp-auth` from 0.10.4-alpha.1 and converting `Package subpath './node-options' is not defined by "exports"` from 0.10.3 into that restart message) ([#6426](https://github.com/bastani-inc/atomic/pull/6426)).
241
+ - In a project that depends on Atomic, `npm ci` after `npm install` no longer fails with `Missing: @modelcontextprotocol/client@2.4.0 from lock file`, as it did with npm 10 and 11 ([#6216](https://github.com/bastani-inc/atomic/pull/6216), [#6345](https://github.com/bastani-inc/atomic/pull/6345)).
242
+
5
243
  ## [0.10.4-alpha.2] - 2026-11-22
6
244
 
7
245
  ### Changed
@@ -0,0 +1,4 @@
1
+ // Written by the build (scripts/in-place-update-gate.mjs): a process of the release that had a module here holds that
2
+ // module; any other gets this empty one.
3
+ export {};
4
+ //# sourceMappingURL=chunk-CDOYTDYM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-CDOYTDYM.js","sources":[],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
1
  import "./rolldown-runtime-BGM3D5V3.js";
2
- export { compileCacheHelperLaunch, compileCacheWarmupRuntimes, decodeCompileCacheWarmupPlan, encodeCompileCacheWarmupPlan, startCompileCacheHelper, warmCompileCache } from "./p0-cli-GUFK7TPN.js";
2
+ export { compileCacheHelperLaunch, compileCacheWarmupRuntimes, decodeCompileCacheWarmupPlan, encodeCompileCacheWarmupPlan, startCompileCacheHelper, warmCompileCache } from "./p0-cli-BB45ZQY6.js";
3
3
  //# sourceMappingURL=compile-cache-warmup-host-RU5L7I7A.js.map
@@ -26,7 +26,7 @@ var AudioConverter = class {
26
26
  async convert(input, streamInfo, options) {
27
27
  const sections = [];
28
28
  try {
29
- const { common, format } = await (await import("./lib-4PES5P4V.js")).parseBuffer(new Uint8Array(input), {
29
+ const { common, format } = await (await import("./lib-4PES5P4V.js").catch((error) => __atomicOnDemandFailed(error, "this feature"))).parseBuffer(new Uint8Array(input), {
30
30
  mimeType: streamInfo.mimetype,
31
31
  size: input.length
32
32
  });
@@ -28443,7 +28443,7 @@ var ImageConverter = class {
28443
28443
  async convert(input, streamInfo, options) {
28444
28444
  const sections = [];
28445
28445
  try {
28446
- const metadata = await (await import("./full.umd-CBF7UGXV.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).parse(input, { pick: [
28446
+ const metadata = await (await import("./full.umd-CBF7UGXV.js").catch((error) => __atomicOnDemandFailed(error, "this feature")).then((m) => /* @__PURE__ */ __toESM(m.default, 1))).parse(input, { pick: [
28447
28447
  "ImageWidth",
28448
28448
  "ImageHeight",
28449
28449
  "Make",
@@ -31843,4 +31843,49 @@ function createLlmFunctions(config, prompt) {
31843
31843
  }
31844
31844
  export { AudioConverter, CsvConverter, DocxConverter, EpubConverter, GitHubConverter, HtmlConverter, IWorkConverter, ImageConverter, IpynbConverter, JsonConverter, Markit, PdfConverter, PlainTextConverter, PptxConverter, RssConverter, WikipediaConverter, XlsxConverter, XmlConverter, YamlConverter, ZipConverter, anthropic, createLlmFunctions, createPluginAPI, getProvider, installPlugin, listInstalled, listProviders, loadAllPlugins, loadPluginFromPath, openai, registerProvider, removePlugin, resolvePluginExport };
31845
31845
 
31846
- //# sourceMappingURL=dist-KOELCESV.js.map
31846
+ //# sourceMappingURL=dist-KOELCESV.js.map
31847
+ // __atomicOnDemandFailed: written by the build (scripts/in-place-update-gate.mjs). An import of this release's code on
31848
+ // demand that fails in a process an in-place update left running says to restart.
31849
+ function __atomicOnDemandFailed(error, feature) {
31850
+ return (async () => {
31851
+ const root = new URL("../", import.meta.url);
31852
+ const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
31853
+ const key = `${root.href}#0.10.5-alpha.1`;
31854
+ let release = releases.get(key);
31855
+ if (release === undefined) {
31856
+ const current = (async () => {
31857
+ for (const path of ["modes/interactive/interactive-mode-deps.js","_shared/chunk-CDOYTDYM.js","_shared/p0-cli-GUFK7TPN.js"]) {
31858
+ try {
31859
+ const held = await import(new URL(path, root).href);
31860
+ if (typeof held.VERSION === "string") return { version: held.VERSION, name: held.APP_NAME };
31861
+ } catch {
31862
+ // Not a file this process can load: the next.
31863
+ }
31864
+ }
31865
+ return undefined;
31866
+ })().then((found) => {
31867
+ if (found === undefined && releases.get(key) === current) releases.delete(key);
31868
+ return found;
31869
+ });
31870
+ releases.set(key, current);
31871
+ release = current;
31872
+ }
31873
+ const running = await release;
31874
+ let installed;
31875
+ try {
31876
+ const { readFile } = process.getBuiltinModule("node:fs/promises");
31877
+ installed = JSON.parse(await readFile(new URL("../package.json", root), "utf8")).version;
31878
+ } catch {
31879
+ // No installation to read, as in a bundle of the package: the release the process runs decides.
31880
+ }
31881
+ const updatedTo = typeof installed === "string" && installed !== "0.10.5-alpha.1" ? installed : running !== undefined && running.version !== "0.10.5-alpha.1" ? "0.10.5-alpha.1" : undefined;
31882
+ if (updatedTo === undefined) throw error;
31883
+ const application = typeof running?.name === "string" ? running.name : "atomic";
31884
+ const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
31885
+ cause: error,
31886
+ });
31887
+ restart.name = "UpdatedInstallError";
31888
+ restart[Symbol.for("atomic.on-demand-restart.v1")] = { application, updatedTo, feature };
31889
+ throw restart;
31890
+ })();
31891
+ }
@@ -27,10 +27,55 @@ function forkIdHash(id) {
27
27
  async function findForkRow(id, hashes, chunks) {
28
28
  const hash = forkIdHash(id);
29
29
  for (let i = hashes.length - 1; i >= 0; i--) if (hashes[i] === hash) {
30
- const { chunkedEntryHasId } = await import("../core/storage/session/chunked-resume-projection.js");
30
+ const { chunkedEntryHasId } = await import("../core/storage/session/chunked-resume-projection.code.js").catch((error) => __atomicOnDemandFailed(error, "session storage"));
31
31
  if (await chunkedEntryHasId(chunks(i + 1), id)) return i + 1;
32
32
  }
33
33
  }
34
34
  export { findForkRow, foldForkRow, forkIdHash };
35
35
 
36
- //# sourceMappingURL=fork-row-index-UAUAQRD5.js.map
36
+ //# sourceMappingURL=fork-row-index-UAUAQRD5.js.map
37
+ // __atomicOnDemandFailed: written by the build (scripts/in-place-update-gate.mjs). An import of this release's code on
38
+ // demand that fails in a process an in-place update left running says to restart.
39
+ function __atomicOnDemandFailed(error, feature) {
40
+ return (async () => {
41
+ const root = new URL("../", import.meta.url);
42
+ const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
43
+ const key = `${root.href}#0.10.5-alpha.1`;
44
+ let release = releases.get(key);
45
+ if (release === undefined) {
46
+ const current = (async () => {
47
+ for (const path of ["modes/interactive/interactive-mode-deps.js","_shared/chunk-CDOYTDYM.js","_shared/p0-cli-GUFK7TPN.js"]) {
48
+ try {
49
+ const held = await import(new URL(path, root).href);
50
+ if (typeof held.VERSION === "string") return { version: held.VERSION, name: held.APP_NAME };
51
+ } catch {
52
+ // Not a file this process can load: the next.
53
+ }
54
+ }
55
+ return undefined;
56
+ })().then((found) => {
57
+ if (found === undefined && releases.get(key) === current) releases.delete(key);
58
+ return found;
59
+ });
60
+ releases.set(key, current);
61
+ release = current;
62
+ }
63
+ const running = await release;
64
+ let installed;
65
+ try {
66
+ const { readFile } = process.getBuiltinModule("node:fs/promises");
67
+ installed = JSON.parse(await readFile(new URL("../package.json", root), "utf8")).version;
68
+ } catch {
69
+ // No installation to read, as in a bundle of the package: the release the process runs decides.
70
+ }
71
+ const updatedTo = typeof installed === "string" && installed !== "0.10.5-alpha.1" ? installed : running !== undefined && running.version !== "0.10.5-alpha.1" ? "0.10.5-alpha.1" : undefined;
72
+ if (updatedTo === undefined) throw error;
73
+ const application = typeof running?.name === "string" ? running.name : "atomic";
74
+ const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
75
+ cause: error,
76
+ });
77
+ restart.name = "UpdatedInstallError";
78
+ restart[Symbol.for("atomic.on-demand-restart.v1")] = { application, updatedTo, feature };
79
+ throw restart;
80
+ })();
81
+ }
@@ -2,6 +2,7 @@ import { __name, __toESM } from "./rolldown-runtime-BGM3D5V3.js";
2
2
  import { SETTINGS_DEFAULTS } from "./p2-common-YLSYXMDQ.js";
3
3
  import { require_undici } from "./http-undici-FVPTZA4G.js";
4
4
  import { EventEmitter } from "node:events";
5
+ import { isIP } from "node:net";
5
6
  import * as nodeHttpProxy from "@bastani/atomic-ai/utils/node-http-proxy";
6
7
  import * as tlsCertificate from "@bastani/atomic-ai/utils/tls-certificate";
7
8
  import { wrapFetchPreservingAdmission } from "@bastani/atomic-ai/utils/request-admission";
@@ -243,6 +244,11 @@ function withUndiciErrorListener(dispatcher) {
243
244
  function createUndiciClient(origin, options) {
244
245
  return withUndiciErrorListener(new import_undici.Client(origin, options));
245
246
  }
247
+ function isIpServerName(servername) {
248
+ if (typeof servername !== "string" || servername.length === 0) return false;
249
+ const bare = servername.startsWith("[") && servername.endsWith("]") ? servername.slice(1, -1) : servername;
250
+ return isIP(bare) !== 0;
251
+ }
246
252
  /**
247
253
  * The client a proxy agent builds for the proxy itself, with the connector that reaches the proxy: an error that
248
254
  * connector fails with, such as a certificate the proxy showed, is the proxy's, not the endpoint's, which the proxy never
@@ -251,10 +257,16 @@ function createUndiciClient(origin, options) {
251
257
  function createUndiciProxyClient(proxy, options) {
252
258
  const { connect } = options;
253
259
  if (typeof connect !== "function") return createUndiciClient(proxy, options);
254
- const connectToProxy = (connectOptions, callback) => connect(connectOptions, (...result) => {
255
- if (result[0] !== null) proxyFailures.recordProxyConnectionFailure?.(result[0], proxy);
256
- callback(...result);
257
- });
260
+ const connectToProxy = (connectOptions, callback) => {
261
+ const sanitized = connectOptions.protocol === "https:" && isIpServerName(connectOptions.servername) ? {
262
+ ...connectOptions,
263
+ servername: void 0
264
+ } : connectOptions;
265
+ return connect(sanitized, (...result) => {
266
+ if (result[0] !== null) proxyFailures.recordProxyConnectionFailure?.(result[0], proxy);
267
+ callback(...result);
268
+ });
269
+ };
258
270
  return createUndiciClient(proxy, {
259
271
  ...options,
260
272
  connect: connectToProxy