@bastani/atomic 0.9.70-alpha.1 → 0.9.71-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 (381) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/dist/builtin/intercom/package.json +2 -2
  3. package/dist/builtin/mcp/CHANGELOG.md +16 -0
  4. package/dist/builtin/mcp/package.json +1 -1
  5. package/dist/builtin/subagents/CHANGELOG.md +12 -0
  6. package/dist/builtin/subagents/package.json +3 -3
  7. package/dist/builtin/subagents/src/extension/index.bundle.mjs +8 -5
  8. package/dist/builtin/web-access/index.bundle.mjs +14750 -6455
  9. package/dist/builtin/web-access/package.json +3 -3
  10. package/dist/builtin/workflows/CHANGELOG.md +20 -0
  11. package/dist/builtin/workflows/package.json +2 -2
  12. package/dist/builtin/workflows/src/extension/index.bundle.mjs +27 -10
  13. package/dist/builtin/workflows/src/extension/local-worker-entry.mjs +19 -5
  14. package/dist/builtin/workflows/src/index.js +19 -5
  15. package/dist/builtin/workflows/src/local-worker-entry.mjs +19 -5
  16. package/dist/cli/list-models.d.ts +7 -2
  17. package/dist/cli/list-models.d.ts.map +1 -1
  18. package/dist/cli/list-models.js +22 -50
  19. package/dist/cli/list-models.js.map +1 -1
  20. package/dist/core/agent-session-events.d.ts.map +1 -1
  21. package/dist/core/agent-session-events.js +2 -0
  22. package/dist/core/agent-session-events.js.map +1 -1
  23. package/dist/core/agent-session-message-queue.d.ts +9 -8
  24. package/dist/core/agent-session-message-queue.d.ts.map +1 -1
  25. package/dist/core/agent-session-message-queue.js +24 -7
  26. package/dist/core/agent-session-message-queue.js.map +1 -1
  27. package/dist/core/agent-session-methods.d.ts +4 -7
  28. package/dist/core/agent-session-methods.d.ts.map +1 -1
  29. package/dist/core/agent-session-methods.js.map +1 -1
  30. package/dist/core/agent-session-models.d.ts.map +1 -1
  31. package/dist/core/agent-session-models.js +6 -10
  32. package/dist/core/agent-session-models.js.map +1 -1
  33. package/dist/core/agent-session-prompt.d.ts.map +1 -1
  34. package/dist/core/agent-session-prompt.js +9 -8
  35. package/dist/core/agent-session-prompt.js.map +1 -1
  36. package/dist/core/agent-session-retry.d.ts.map +1 -1
  37. package/dist/core/agent-session-retry.js +5 -0
  38. package/dist/core/agent-session-retry.js.map +1 -1
  39. package/dist/core/agent-session-transfer.d.ts.map +1 -1
  40. package/dist/core/agent-session-transfer.js +2 -0
  41. package/dist/core/agent-session-transfer.js.map +1 -1
  42. package/dist/core/agent-session-typed-queue.d.ts +19 -0
  43. package/dist/core/agent-session-typed-queue.d.ts.map +1 -0
  44. package/dist/core/agent-session-typed-queue.js +34 -0
  45. package/dist/core/agent-session-typed-queue.js.map +1 -0
  46. package/dist/core/agent-session-types.d.ts +20 -0
  47. package/dist/core/agent-session-types.d.ts.map +1 -1
  48. package/dist/core/agent-session-types.js.map +1 -1
  49. package/dist/core/agent-session.d.ts +1 -1
  50. package/dist/core/agent-session.d.ts.map +1 -1
  51. package/dist/core/agent-session.js.map +1 -1
  52. package/dist/core/cache-warmer.d.ts.map +1 -1
  53. package/dist/core/cache-warmer.js +2 -0
  54. package/dist/core/cache-warmer.js.map +1 -1
  55. package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
  56. package/dist/core/compaction/branch-summarization.js +13 -2
  57. package/dist/core/compaction/branch-summarization.js.map +1 -1
  58. package/dist/core/extensions/api-types.d.ts +6 -3
  59. package/dist/core/extensions/api-types.d.ts.map +1 -1
  60. package/dist/core/extensions/api-types.js.map +1 -1
  61. package/dist/core/extensions/index.d.ts +1 -1
  62. package/dist/core/extensions/index.d.ts.map +1 -1
  63. package/dist/core/extensions/index.js.map +1 -1
  64. package/dist/core/extensions/loader-api.d.ts.map +1 -1
  65. package/dist/core/extensions/loader-api.js +6 -2
  66. package/dist/core/extensions/loader-api.js.map +1 -1
  67. package/dist/core/extensions/loader-virtual-modules.d.ts.map +1 -1
  68. package/dist/core/extensions/loader-virtual-modules.js +2 -0
  69. package/dist/core/extensions/loader-virtual-modules.js.map +1 -1
  70. package/dist/core/extensions/message-types.d.ts +18 -1
  71. package/dist/core/extensions/message-types.d.ts.map +1 -1
  72. package/dist/core/extensions/message-types.js.map +1 -1
  73. package/dist/core/extensions/runner-registries.d.ts.map +1 -1
  74. package/dist/core/extensions/runner-registries.js +8 -1
  75. package/dist/core/extensions/runner-registries.js.map +1 -1
  76. package/dist/core/extensions/runner.d.ts +1 -0
  77. package/dist/core/extensions/runner.d.ts.map +1 -1
  78. package/dist/core/extensions/runner.js +1 -0
  79. package/dist/core/extensions/runner.js.map +1 -1
  80. package/dist/core/extensions/runtime-types.d.ts +2 -2
  81. package/dist/core/extensions/runtime-types.d.ts.map +1 -1
  82. package/dist/core/extensions/runtime-types.js.map +1 -1
  83. package/dist/core/fast-model-variants.d.ts +0 -9
  84. package/dist/core/fast-model-variants.d.ts.map +1 -1
  85. package/dist/core/fast-model-variants.js +0 -14
  86. package/dist/core/fast-model-variants.js.map +1 -1
  87. package/dist/core/model-config.d.ts +14 -0
  88. package/dist/core/model-config.d.ts.map +1 -1
  89. package/dist/core/model-label.d.ts +38 -0
  90. package/dist/core/model-label.d.ts.map +1 -0
  91. package/dist/core/model-label.js +46 -0
  92. package/dist/core/model-label.js.map +1 -0
  93. package/dist/core/model-resolver-initial.d.ts +5 -0
  94. package/dist/core/model-resolver-initial.d.ts.map +1 -1
  95. package/dist/core/model-resolver-initial.js +26 -1
  96. package/dist/core/model-resolver-initial.js.map +1 -1
  97. package/dist/core/model-resolver.d.ts +1 -1
  98. package/dist/core/model-resolver.d.ts.map +1 -1
  99. package/dist/core/model-resolver.js +1 -1
  100. package/dist/core/model-resolver.js.map +1 -1
  101. package/dist/core/model-runtime.d.ts +5 -7
  102. package/dist/core/model-runtime.d.ts.map +1 -1
  103. package/dist/core/model-runtime.js +14 -19
  104. package/dist/core/model-runtime.js.map +1 -1
  105. package/dist/core/model-switch-thinking-level.d.ts +23 -0
  106. package/dist/core/model-switch-thinking-level.d.ts.map +1 -0
  107. package/dist/core/model-switch-thinking-level.js +19 -0
  108. package/dist/core/model-switch-thinking-level.js.map +1 -0
  109. package/dist/core/package-manager-git.d.ts +2 -0
  110. package/dist/core/package-manager-git.d.ts.map +1 -1
  111. package/dist/core/package-manager-git.js +32 -4
  112. package/dist/core/package-manager-git.js.map +1 -1
  113. package/dist/core/package-manager-operations.d.ts.map +1 -1
  114. package/dist/core/package-manager-operations.js +37 -5
  115. package/dist/core/package-manager-operations.js.map +1 -1
  116. package/dist/core/package-manager-types.d.ts +7 -1
  117. package/dist/core/package-manager-types.d.ts.map +1 -1
  118. package/dist/core/package-manager-types.js.map +1 -1
  119. package/dist/core/remote-catalog-provider.d.ts +14 -0
  120. package/dist/core/remote-catalog-provider.d.ts.map +1 -1
  121. package/dist/core/remote-catalog-provider.js +73 -0
  122. package/dist/core/remote-catalog-provider.js.map +1 -1
  123. package/dist/core/sdk.d.ts.map +1 -1
  124. package/dist/core/sdk.js +11 -4
  125. package/dist/core/sdk.js.map +1 -1
  126. package/dist/core/skills.js +1 -1
  127. package/dist/core/skills.js.map +1 -1
  128. package/dist/core/storage/index.d.ts +1 -0
  129. package/dist/core/storage/index.d.ts.map +1 -1
  130. package/dist/core/storage/index.js +1 -0
  131. package/dist/core/storage/index.js.map +1 -1
  132. package/dist/core/storage/node-sqlite.d.ts.map +1 -1
  133. package/dist/core/storage/node-sqlite.js +13 -8
  134. package/dist/core/storage/node-sqlite.js.map +1 -1
  135. package/dist/core/storage/write-ahead-log.d.ts +25 -0
  136. package/dist/core/storage/write-ahead-log.d.ts.map +1 -0
  137. package/dist/core/storage/write-ahead-log.js +78 -0
  138. package/dist/core/storage/write-ahead-log.js.map +1 -0
  139. package/dist/core/system-prompt.d.ts.map +1 -1
  140. package/dist/core/system-prompt.js +3 -4
  141. package/dist/core/system-prompt.js.map +1 -1
  142. package/dist/core/tasks/completion.d.ts +3 -2
  143. package/dist/core/tasks/completion.d.ts.map +1 -1
  144. package/dist/core/tasks/completion.js +7 -2
  145. package/dist/core/tasks/completion.js.map +1 -1
  146. package/dist/core/tasks/heartbeat-notice.d.ts +2 -0
  147. package/dist/core/tasks/heartbeat-notice.d.ts.map +1 -1
  148. package/dist/core/tasks/heartbeat-notice.js +8 -4
  149. package/dist/core/tasks/heartbeat-notice.js.map +1 -1
  150. package/dist/core/tasks/heartbeat.d.ts.map +1 -1
  151. package/dist/core/tasks/heartbeat.js +1 -0
  152. package/dist/core/tasks/heartbeat.js.map +1 -1
  153. package/dist/core/tools/tool-definition-wrapper.d.ts +4 -4
  154. package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
  155. package/dist/core/tools/tool-definition-wrapper.js.map +1 -1
  156. package/dist/core/tools/write.d.ts.map +1 -1
  157. package/dist/core/tools/write.js +13 -16
  158. package/dist/core/tools/write.js.map +1 -1
  159. package/dist/extensions/codemode/renderer.d.ts.map +1 -1
  160. package/dist/extensions/codemode/renderer.js +6 -2
  161. package/dist/extensions/codemode/renderer.js.map +1 -1
  162. package/dist/extensions/llama/huggingface-ui.d.ts +1 -0
  163. package/dist/extensions/llama/huggingface-ui.d.ts.map +1 -1
  164. package/dist/extensions/llama/huggingface-ui.js +13 -4
  165. package/dist/extensions/llama/huggingface-ui.js.map +1 -1
  166. package/dist/extensions/llama/ui.d.ts.map +1 -1
  167. package/dist/extensions/llama/ui.js +3 -0
  168. package/dist/extensions/llama/ui.js.map +1 -1
  169. package/dist/extensions/mcp/client/transports/stdio.d.ts.map +1 -1
  170. package/dist/extensions/mcp/client/transports/stdio.js +13 -2
  171. package/dist/extensions/mcp/client/transports/stdio.js.map +1 -1
  172. package/dist/extensions/mcp/client/transports/streamable-http.d.ts.map +1 -1
  173. package/dist/extensions/mcp/client/transports/streamable-http.js +41 -3
  174. package/dist/extensions/mcp/client/transports/streamable-http.js.map +1 -1
  175. package/dist/extensions/mcp/ui.d.ts +1 -0
  176. package/dist/extensions/mcp/ui.d.ts.map +1 -1
  177. package/dist/extensions/mcp/ui.js +33 -24
  178. package/dist/extensions/mcp/ui.js.map +1 -1
  179. package/dist/index-extensions.d.ts +1 -1
  180. package/dist/index-extensions.d.ts.map +1 -1
  181. package/dist/index-extensions.js.map +1 -1
  182. package/dist/index.d.ts +1 -0
  183. package/dist/index.d.ts.map +1 -1
  184. package/dist/index.js +1 -0
  185. package/dist/index.js.map +1 -1
  186. package/dist/main-deferred-startup.d.ts +23 -1
  187. package/dist/main-deferred-startup.d.ts.map +1 -1
  188. package/dist/main-deferred-startup.js +28 -0
  189. package/dist/main-deferred-startup.js.map +1 -1
  190. package/dist/main.d.ts.map +1 -1
  191. package/dist/main.js +8 -14
  192. package/dist/main.js.map +1 -1
  193. package/dist/modes/interactive/components/assistant-message.d.ts +1 -3
  194. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  195. package/dist/modes/interactive/components/assistant-message.js +17 -9
  196. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  197. package/dist/modes/interactive/components/branch-summary-message.d.ts +5 -1
  198. package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
  199. package/dist/modes/interactive/components/branch-summary-message.js +15 -3
  200. package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
  201. package/dist/modes/interactive/components/chat-message-renderer.d.ts +4 -0
  202. package/dist/modes/interactive/components/chat-message-renderer.d.ts.map +1 -1
  203. package/dist/modes/interactive/components/chat-message-renderer.js +23 -7
  204. package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
  205. package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
  206. package/dist/modes/interactive/components/custom-editor.js +7 -0
  207. package/dist/modes/interactive/components/custom-editor.js.map +1 -1
  208. package/dist/modes/interactive/components/custom-message.d.ts +5 -2
  209. package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
  210. package/dist/modes/interactive/components/custom-message.js +12 -2
  211. package/dist/modes/interactive/components/custom-message.js.map +1 -1
  212. package/dist/modes/interactive/components/footer.d.ts.map +1 -1
  213. package/dist/modes/interactive/components/footer.js +7 -9
  214. package/dist/modes/interactive/components/footer.js.map +1 -1
  215. package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
  216. package/dist/modes/interactive/components/login-dialog.js +1 -2
  217. package/dist/modes/interactive/components/login-dialog.js.map +1 -1
  218. package/dist/modes/interactive/components/markdown-transform.d.ts +2 -1
  219. package/dist/modes/interactive/components/markdown-transform.d.ts.map +1 -1
  220. package/dist/modes/interactive/components/markdown-transform.js +2 -1
  221. package/dist/modes/interactive/components/markdown-transform.js.map +1 -1
  222. package/dist/modes/interactive/components/mermaid.d.ts.map +1 -1
  223. package/dist/modes/interactive/components/mermaid.js +2 -1
  224. package/dist/modes/interactive/components/mermaid.js.map +1 -1
  225. package/dist/modes/interactive/components/model-selector.d.ts +9 -1
  226. package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
  227. package/dist/modes/interactive/components/model-selector.js +46 -16
  228. package/dist/modes/interactive/components/model-selector.js.map +1 -1
  229. package/dist/modes/interactive/components/oauth-selector.d.ts +1 -0
  230. package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
  231. package/dist/modes/interactive/components/oauth-selector.js +13 -4
  232. package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
  233. package/dist/modes/interactive/components/scoped-models-selector.d.ts +4 -0
  234. package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
  235. package/dist/modes/interactive/components/scoped-models-selector.js +32 -11
  236. package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
  237. package/dist/modes/interactive/components/session-selector.d.ts +1 -0
  238. package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
  239. package/dist/modes/interactive/components/session-selector.js +3 -0
  240. package/dist/modes/interactive/components/session-selector.js.map +1 -1
  241. package/dist/modes/interactive/components/settings-selector-items.d.ts.map +1 -1
  242. package/dist/modes/interactive/components/settings-selector-items.js +6 -5
  243. package/dist/modes/interactive/components/settings-selector-items.js.map +1 -1
  244. package/dist/modes/interactive/components/settings-selector-submenus.d.ts.map +1 -1
  245. package/dist/modes/interactive/components/settings-selector-submenus.js +2 -0
  246. package/dist/modes/interactive/components/settings-selector-submenus.js.map +1 -1
  247. package/dist/modes/interactive/components/skill-invocation-message.d.ts +5 -1
  248. package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
  249. package/dist/modes/interactive/components/skill-invocation-message.js +15 -3
  250. package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
  251. package/dist/modes/interactive/components/task-row.d.ts +1 -0
  252. package/dist/modes/interactive/components/task-row.d.ts.map +1 -1
  253. package/dist/modes/interactive/components/task-row.js +3 -1
  254. package/dist/modes/interactive/components/task-row.js.map +1 -1
  255. package/dist/modes/interactive/components/tree-selector-component.d.ts +1 -0
  256. package/dist/modes/interactive/components/tree-selector-component.d.ts.map +1 -1
  257. package/dist/modes/interactive/components/tree-selector-component.js +3 -0
  258. package/dist/modes/interactive/components/tree-selector-component.js.map +1 -1
  259. package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
  260. package/dist/modes/interactive/components/tree-selector-content.js +2 -1
  261. package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
  262. package/dist/modes/interactive/components/user-message-selector.d.ts +1 -0
  263. package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -1
  264. package/dist/modes/interactive/components/user-message-selector.js +9 -1
  265. package/dist/modes/interactive/components/user-message-selector.js.map +1 -1
  266. package/dist/modes/interactive/components/user-message.js +1 -1
  267. package/dist/modes/interactive/components/user-message.js.map +1 -1
  268. package/dist/modes/interactive/interactive-agent-events.js +3 -4
  269. package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
  270. package/dist/modes/interactive/interactive-autocomplete.js +6 -4
  271. package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
  272. package/dist/modes/interactive/interactive-editor-actions.js +2 -2
  273. package/dist/modes/interactive/interactive-editor-actions.js.map +1 -1
  274. package/dist/modes/interactive/interactive-extension-context.js +1 -1
  275. package/dist/modes/interactive/interactive-extension-context.js.map +1 -1
  276. package/dist/modes/interactive/interactive-input-handling.js +11 -1
  277. package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
  278. package/dist/modes/interactive/interactive-mode-base.d.ts +11 -2
  279. package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
  280. package/dist/modes/interactive/interactive-mode-base.js +11 -2
  281. package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
  282. package/dist/modes/interactive/interactive-mode-surface.d.ts +4 -1
  283. package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
  284. package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
  285. package/dist/modes/interactive/interactive-model-routing.d.ts.map +1 -1
  286. package/dist/modes/interactive/interactive-model-routing.js +18 -4
  287. package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
  288. package/dist/modes/interactive/interactive-prompt-turn.js +5 -1
  289. package/dist/modes/interactive/interactive-prompt-turn.js.map +1 -1
  290. package/dist/modes/interactive/interactive-queueing.d.ts.map +1 -1
  291. package/dist/modes/interactive/interactive-queueing.js +17 -6
  292. package/dist/modes/interactive/interactive-queueing.js.map +1 -1
  293. package/dist/modes/interactive/interactive-render-chat.js +51 -5
  294. package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
  295. package/dist/modes/interactive/interactive-slash-commands.js +2 -2
  296. package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
  297. package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
  298. package/dist/modes/interactive/interactive-startup.js +9 -12
  299. package/dist/modes/interactive/interactive-startup.js.map +1 -1
  300. package/dist/modes/interactive/interactive-tui.d.ts.map +1 -1
  301. package/dist/modes/interactive/interactive-tui.js +6 -5
  302. package/dist/modes/interactive/interactive-tui.js.map +1 -1
  303. package/dist/modes/interactive/theme/global-theme.d.ts +1 -0
  304. package/dist/modes/interactive/theme/global-theme.d.ts.map +1 -1
  305. package/dist/modes/interactive/theme/global-theme.js +3 -0
  306. package/dist/modes/interactive/theme/global-theme.js.map +1 -1
  307. package/dist/modes/interactive/theme/theme.d.ts +1 -1
  308. package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
  309. package/dist/modes/interactive/theme/theme.js +1 -1
  310. package/dist/modes/interactive/theme/theme.js.map +1 -1
  311. package/dist/modes/interactive/theme/tui-theme.d.ts +5 -0
  312. package/dist/modes/interactive/theme/tui-theme.d.ts.map +1 -1
  313. package/dist/modes/interactive/theme/tui-theme.js +21 -2
  314. package/dist/modes/interactive/theme/tui-theme.js.map +1 -1
  315. package/dist/modes/interactive-engine/extension-ui-bridge.d.ts +2 -5
  316. package/dist/modes/interactive-engine/extension-ui-bridge.d.ts.map +1 -1
  317. package/dist/modes/interactive-engine/extension-ui-bridge.js.map +1 -1
  318. package/dist/modes/interactive-engine/isolated-runtime.d.ts +2 -6
  319. package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
  320. package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
  321. package/dist/modes/print-mode.d.ts.map +1 -1
  322. package/dist/modes/print-mode.js +39 -14
  323. package/dist/modes/print-mode.js.map +1 -1
  324. package/dist/modes/rpc/rpc-client-api.d.ts +2 -5
  325. package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
  326. package/dist/modes/rpc/rpc-client-api.js.map +1 -1
  327. package/dist/modes/rpc/rpc-command-handler.d.ts +2 -1
  328. package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
  329. package/dist/modes/rpc/rpc-command-handler.js +11 -4
  330. package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
  331. package/dist/modes/rpc/rpc-input.d.ts +3 -2
  332. package/dist/modes/rpc/rpc-input.d.ts.map +1 -1
  333. package/dist/modes/rpc/rpc-input.js +5 -1
  334. package/dist/modes/rpc/rpc-input.js.map +1 -1
  335. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  336. package/dist/modes/rpc/rpc-mode.js +45 -16
  337. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  338. package/dist/modes/rpc/rpc-session-binding.d.ts +3 -1
  339. package/dist/modes/rpc/rpc-session-binding.d.ts.map +1 -1
  340. package/dist/modes/rpc/rpc-session-binding.js +5 -1
  341. package/dist/modes/rpc/rpc-session-binding.js.map +1 -1
  342. package/dist/modes/rpc/rpc-types.d.ts +2 -5
  343. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  344. package/dist/modes/rpc/rpc-types.js.map +1 -1
  345. package/dist/package-manager-cli.d.ts.map +1 -1
  346. package/dist/package-manager-cli.js +26 -4
  347. package/dist/package-manager-cli.js.map +1 -1
  348. package/dist/utils/ansi.d.ts +0 -2
  349. package/dist/utils/ansi.d.ts.map +1 -1
  350. package/dist/utils/ansi.js +0 -5
  351. package/dist/utils/ansi.js.map +1 -1
  352. package/dist/utils/syntax-highlight.d.ts +5 -0
  353. package/dist/utils/syntax-highlight.d.ts.map +1 -1
  354. package/dist/utils/syntax-highlight.js +7 -0
  355. package/dist/utils/syntax-highlight.js.map +1 -1
  356. package/docs/extensions/api-reference.md +21 -7
  357. package/docs/extensions/events.md +2 -0
  358. package/docs/extensions/examples.md +0 -1
  359. package/docs/extensions.md +7 -0
  360. package/docs/keybindings.md +1 -1
  361. package/docs/models/reference.md +8 -6
  362. package/docs/models-configuration.md +1 -0
  363. package/docs/models.md +2 -0
  364. package/docs/packages.md +2 -0
  365. package/docs/providers.md +14 -5
  366. package/docs/rpc/protocol.md +8 -2
  367. package/docs/rpc.md +4 -0
  368. package/docs/sdk.md +2 -0
  369. package/docs/storage.md +2 -0
  370. package/docs/tmux.md +6 -0
  371. package/docs/tui/reference.md +2 -0
  372. package/docs/windows.md +26 -0
  373. package/examples/extensions/README.md +2 -1
  374. package/examples/extensions/preset.ts +2 -0
  375. package/examples/extensions/tools.ts +2 -0
  376. package/npm-shrinkwrap.json +90 -72
  377. package/package.json +14 -15
  378. package/schemas/models.schema.json +4 -0
  379. package/examples/extensions/sandbox/index.ts +0 -323
  380. package/examples/extensions/sandbox/package-lock.json +0 -92
  381. package/examples/extensions/sandbox/package.json +0 -19
package/CHANGELOG.md CHANGED
@@ -2,6 +2,133 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.71] - 2026-11-03
6
+
7
+ Models now show by their raw ID and reasoning level everywhere, GitHub Copilot lists the models your account actually offers, shell commands return about 250 ms sooner, and Atomic moves to pi 1.5.0 with the upstream fixes that were waiting on it.
8
+
9
+ - **Raw model IDs:** the picker, footer, status lines, fallback notices, tasks and workflow cards show `provider/id level`, exactly what you type into `--model`. `--list-models` is now tab-separated ([#4275](https://github.com/bastani-inc/atomic/pull/4275))
10
+ - **Copilot model discovery:** GitHub Copilot reads the account's `/models` catalog with OAuth or an API key and caches it for offline startup. Copilot fast models use the exact IDs Copilot advertises ([#4279](https://github.com/bastani-inc/atomic/pull/4279))
11
+ - **Faster shell commands:** a command settles as soon as its processes are gone instead of always waiting out a 250 ms grace ([#4274](https://github.com/bastani-inc/atomic/pull/4274))
12
+ - **Chat and queue fixes:** a message sent as a reply finishes, a message an input hook rewrites, and input a hook handles each show once; Alt+Up restores what you typed ([#4276](https://github.com/bastani-inc/atomic/pull/4276), [#4282](https://github.com/bastani-inc/atomic/pull/4282), [#4287](https://github.com/bastani-inc/atomic/pull/4287))
13
+ - **Anthropic message threads:** sessions on `api.anthropic.com` send only new messages and continue the conversation on the server ([#4293](https://github.com/bastani-inc/atomic/pull/4293))
14
+ - **Concurrent SQLite stores:** several processes opening one new store no longer fail with `database is locked` ([#4278](https://github.com/bastani-inc/atomic/pull/4278))
15
+ - **pi 1.5.0 and upstream sync:** pi-tui, pi-agent-core and pi-codemode 1.5.0 bring terminal, Markdown and key fixes plus page keys in lists. Plain JSON Schema tools are validated by pi-schema while TypeBox tools keep TypeBox. Also: idle `ctx.shutdown()` in RPC mode, MCP JSON reply size limits, a Copilot classifier, and faster code and write rendering. See Breaking Changes for an `AgentTool` typing change that can affect extensions ([#4288](https://github.com/bastani-inc/atomic/pull/4288), [#4290](https://github.com/bastani-inc/atomic/pull/4290), [#4291](https://github.com/bastani-inc/atomic/pull/4291), [#4292](https://github.com/bastani-inc/atomic/pull/4292), [#4300](https://github.com/bastani-inc/atomic/pull/4300), [#4301](https://github.com/bastani-inc/atomic/pull/4301))
16
+
17
+ ### Breaking Changes
18
+
19
+ - `AgentTool` from `@earendil-works/pi-agent-core` 1.5.0 takes any JSON Schema object as `parameters` and types `params` through `@earendil-works/pi-schema`. Extension code that builds an `AgentTool` directly keeps the static type of TypeBox schemas of the common kinds (String, Number, Integer, Boolean, Null, Literal, Array, Object, Union, Record, Unsafe, Unknown, Any); other kinds such as `Type.Enum`, `Type.Tuple` and `Type.Intersect` now give `params: unknown`, so narrow `params` yourself or use one of the mapped kinds. Tools registered through `registerTool()` and `ToolDefinition` are unchanged
20
+
21
+ ### Added
22
+
23
+ - Added `github-copilot/microsoft-decision-1` for text classification in codemode, using Copilot OAuth or an API key (upstream [#11679](https://github.com/earendil-works/pi/pull/11679)).
24
+ - GitHub Copilot discovers models from the account's `/models` catalog, so models the account offers but the built-in catalog lacks appear in `/model`, `--list-models` and workflow catalogs. It works with OAuth and API-key credentials, and the list is cached in `models-store.json` for offline startup. A discovered model keeps the exact advertised ID as its ID and name, is marked `discovered: true`, and can be adjusted with `modelOverrides`; built-in entries keep their curated metadata.
25
+ - `atomic update` lists each updated package with its npm version or git commit change, for example `npm:foo 1.2.0 -> 1.3.0`, and prints `Packages are already up to date` only when it checked the packages and nothing warned: after a warning it says no packages were updated, and in offline mode it says package updates were skipped. `PackageManager.update()` reports each changed package as a new `result` progress event whose `message` holds that line (upstream [#11707](https://github.com/earendil-works/pi/pull/11707), [#11711](https://github.com/earendil-works/pi/pull/11711))
26
+ - Anthropic sessions now use message threads (beta): each request sends only the new messages and the server continues from the previous reply, falling back to the full request when the conversation changed (for example after compaction or a tool list change). On by default for the `anthropic` provider on `api.anthropic.com`; set `compat.supportsMessageThreads` in `models.json` to enable it for gateways that forward the `thread` field, or to turn it off. Cache warming does not touch the session's thread (upstream [earendil-works/pi#11545](https://github.com/earendil-works/pi/pull/11545))
27
+
28
+ ### Changed
29
+
30
+ - Arguments of tools with a plain JSON Schema, such as MCP tools, are coerced and checked by `@earendil-works/pi-schema`: a single value is wrapped into a one-item array, `"1"`/`"0"` become booleans, `null` for a required string becomes `"null"`, a `$ref` that names nothing rejects only the argument at its place instead of every call, and the errors the model sees use pi-schema's messages (`- path: missing`). Tools with TypeBox schemas, the built-in tools and most extension tools, are validated by TypeBox as before. See [Tool parameter schemas](docs/extensions.md#tool-parameter-schemas) (upstream [`6536f801`](https://github.com/earendil-works/pi/commit/6536f80129a266c3619c044f8487c0279fc39cd9), adapted to keep TypeBox)
31
+ - GitHub Copilot fast models are the exact IDs the account's model list advertises; Atomic no longer derives Copilot `<base>-fast` variants from the login's fast list. A configured default model, or a resumed session's Copilot fast model, that is not cached yet stops with a message to run `atomic update --models` instead of switching to another model, also when interactive startup waits for project trust or extensions. A refresh that cannot read the account's list keeps the models cached before.
32
+ - Atomic now shows a model by its raw ID followed by the reasoning level it runs at, never by its display name. The ID is exactly what `--model`, `fallbackModels`, `enabledModels` and workflow `model:` fields take. This covers `/model` and its scoped list, the footer, the startup header, the status line after `/model` or Ctrl+P, the per-model thinking settings, the session tree, fallback notices (`Falling back from …`, `Model fallback: …`, `Model: ran on …, not the requested …`), task rows and heartbeats, and subagent and workflow stage labels. A label reads `provider/id level`, or `id level` where the provider is already clear, such as the footer with one provider configured. A model without reasoning shows no level. Split on whitespace, a label gives the `provider/id` and `level` that `--model provider/id:level` takes. Display names stay as secondary metadata: `/model` shows a name that adds words the ID lacks in a dim column, and typing a display name in `/model`, its argument completion or `--list-models <search>` still finds the model ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
33
+ - `--list-models` output changed for scripts that parse it. Columns are tab-separated. The `provider` and `model` columns are now one `model` column holding `provider/id`, and the `thinking` yes/no column is now `level`: the reasoning level `--model provider/id` starts that model at, empty for a model without reasoning. The header row is `model`, `level`, `context`, `max-out`, `images` ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
34
+ - `model_fallback_start` session events carry the optional `fromThinkingLevel` and `toThinkingLevel` of reasoning models, so a fallback that only changes the level can say so. `from` and `to` are unchanged `provider/id` strings ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
35
+ - Tightened the default system prompt: a shorter preamble, one line for additional tools, one rule for reading the docs before harness changes, and a shorter rule for resolving skill-relative paths (upstream 705d047c)
36
+ - Updated `@earendil-works/pi-tui`, `@earendil-works/pi-agent-core` and `@earendil-works/pi-codemode` to 1.5.0 (see Breaking Changes for the `AgentTool` typing)
37
+ - The Windows guide recommends a terminal by the console host it uses and lists known conhost problems with remedies, and the tmux guide lists the tmux 3.6 color-reply text that can appear in the editor at startup (upstream [#11644](https://github.com/earendil-works/pi/pull/11644), [#11645](https://github.com/earendil-works/pi/pull/11645), [#11647](https://github.com/earendil-works/pi/pull/11647))
38
+
39
+ ### Fixed
40
+
41
+ - Process idle extension `ctx.shutdown()` requests in RPC mode without waiting for another client command, while preserving command responses before exit.
42
+ - Tool rows reuse syntax highlighting until their code, theme, or grammars change, and streamed assistant messages reuse rendered Markdown blocks (upstream pi 0f21a331).
43
+ - Shell commands report their result as soon as they exit. Every `bash` call, through a pipe or a terminal (PTY), waited about 250 ms after its command exited, because the task supervisor always waited out its full termination grace before confirming that the command's processes were gone. It now confirms that as soon as they are, so ten trivial commands take about 0.15 s instead of about 2.7 s, and a stopped command whose processes exit on TERM settles at once too. Processes a command leaves running still get TERM, and KILL once the grace ends ([#4268](https://github.com/bastani-inc/atomic/issues/4268)).
44
+ - Several processes opening one SQLite store at once no longer fail with `database is locked` while the file is switched to the write-ahead log, for example pooled workflow processes starting on a new journal. SQLite does not wait for another connection's lock while it changes a file's journal mode, so the switch failed at once whenever another process was writing a file still in the rollback journal or switching it at the same moment. Opening a store, and wrapping a connection with `wrapNodeSqliteDatabase`, now retries the switch until the busy timeout has passed, as every other statement waits. Storage adapters can do the same with the new `switchToWriteAheadLog` from `@bastani/atomic/storage` ([#4270](https://github.com/bastani-inc/atomic/issues/4270))
45
+ - A message sent with Enter just as the agent's reply finished no longer shows twice in the chat in the default interactive mode, where the session runs in an engine process. When the engine had already finished the turn but the terminal had not yet registered it, the engine started the message as a new turn, and the chat showed it once where it was sent and again below the reply to it. The extra copy also stayed when the chat was redrawn, for example by `/reload`. The model always received it once. Follow-ups sent with Alt+Enter and sessions that run in-process were not affected ([#4272](https://github.com/bastani-inc/atomic/issues/4272))
46
+ - A message an extension's `input` hook rewrites now shows once in the chat, as it was sent. A message sent while the agent was idle or just as its reply finished showed both the text that was typed and the rewritten text, in the default interactive mode and in-process alike, and the typed copy came back whenever the chat was redrawn, for example by `/reload`. Messages typed while the agent works, which the session queues, were not affected. The model always received only the rewritten message ([#4277](https://github.com/bastani-inc/atomic/issues/4277))
47
+ - Alt+Up now restores a queued message as it was typed. When an extension's `input` hook had rewritten a steering or follow-up message, Alt+Up put the rewritten text back in the editor, so sending it again ran the hook a second time and the model received a twice-rewritten message. The same held for a queued skill or prompt template, which came back expanded. This happened in the default interactive mode and in-process alike. The SDK's `clearQueue()` and the RPC `clear_queue` response keep listing the messages as queued under `steering` and `followUp`, and now also list them as typed under `typed` when any of them changed ([#4284](https://github.com/bastani-inc/atomic/issues/4284))
48
+ - A message an extension's `input` hook handles itself no longer stays in the chat. Nothing was sent to the model, but the chat kept the typed text and showed it again whenever it was redrawn, for example by `/reload`. This happened for a message sent while the agent was idle, with Enter or Alt+Enter, and for one typed while the previous prompt was still being sent, in the default interactive mode and in-process alike. Anything the extension shows itself, such as a notice, is unaffected ([#4285](https://github.com/bastani-inc/atomic/issues/4285))
49
+ - `atomic update` no longer stops when `git clean` cannot remove every untracked file of a git package, for example on Windows while another Atomic session has one of the package's native modules loaded. It warns, still installs the dependencies of the new commit, and retries the clean on the next update (upstream [#11597](https://github.com/earendil-works/pi/issues/11597))
50
+ - Branch summaries made from `/tree` now leave out a reply that a context edit hides from the model, such as a failed attempt that an automatic retry replaced, and use the replaced text of edited entries, as the live context and compaction already do (upstream [#11680](https://github.com/earendil-works/pi/pull/11680))
51
+ - Fixed Shift+Enter queueing a follow-up instead of inserting a newline in Apple Terminal setups that send ESC + Return; with native Shift detection available, ESC + Return with Shift held is now Shift+Enter (from pi-tui 1.5.0)
52
+ - Fixed fullscreen double-click selection splitting paths and tokens at `~`, `.`, `\`, `+` and `_`; word characters now match iTerm2's defaults (from pi-tui 1.5.0)
53
+ - Fixed searches in `/model`, `/resume` names and other fuzzy pickers ranking a query scattered over an earlier part of the text above a contiguous match later in it, so typing `opus` lists the Opus models first (from pi-tui 1.5.0)
54
+ - Fixed display math wider than the chat being wrapped row by row, which split fractions and sums apart; it now shows the raw LaTeX source (from pi-tui 1.5.0)
55
+ - Fixed wrapped lines starting with a space when a styled word ended exactly at the wrap width, and strikethrough continuing into the padding of wrapped lines (from pi-tui 1.5.0)
56
+ - Fixed Orca terminals falling back to text for inline images; Orca is recognized as supporting true color, hyperlinks and, when it advertises `ORCA_IMAGE_PROTOCOL=kitty`, Kitty images (from pi-tui 1.5.0)
57
+ - Fixed bare URLs in Markdown swallowing the CJK punctuation and text after them (from pi-tui 1.5.0)
58
+ - Fixed Kitty-protocol F1–F12 shortcuts, including modified function keys, not being recognized, and F13+ keys inserting invisible characters into the editor (from pi-tui 1.5.0)
59
+ - Fixed Kitty images inside padded or colored boxes disappearing once their first row scrolled above the fullscreen viewport (from pi-tui 1.5.0)
60
+ - Fixed deeply nested Markdown blockquotes producing exponentially many lines and hanging or crashing the renderer (from pi-tui 1.5.0)
61
+ - `tui.select.pageUp` and `tui.select.pageDown` now move the selection in the model, scoped models, auth, user message (`/fork`), settings submenu, llama.cpp search and `/mcp` selectors and in editor autocomplete, and PageUp/PageDown reach a focused list instead of scrolling the transcript. An open autocomplete menu takes the page keys before app actions, so binding a page key to Ctrl+V pages the menu instead of pasting an image. Extension components can set `capturesViewportInput` to receive the fullscreen viewport keys while focused (upstream [#7629](https://github.com/earendil-works/pi/issues/7629))
62
+
63
+ ### Removed
64
+
65
+ - Removed the native sandbox extension example; use the documented container and VM isolation options instead (upstream pi b4c2e92a).
66
+
67
+ ## [0.9.71-alpha.1] - 2026-11-03
68
+
69
+ Readable model discovery, faster commands, and broader Markdown customization come with the move to pi 1.5.0.
70
+
71
+ - **Model identity and discovery.** Primary labels show raw model IDs and reasoning levels, and `--list-models` is tab-separated. Copilot discovers the models your account offers, caches them for offline startup, and shows their advertised display names as secondary metadata without changing request IDs. Run `atomic update --models` once to refresh older cached names ([#4275](https://github.com/bastani-inc/atomic/pull/4275), [#4279](https://github.com/bastani-inc/atomic/pull/4279), [#4303](https://github.com/bastani-inc/atomic/pull/4303)).
72
+ - **Faster shell commands.** Commands return as soon as their processes are gone instead of waiting out a 250 ms grace period ([#4274](https://github.com/bastani-inc/atomic/pull/4274)).
73
+ - **Chat and queue correctness.** Messages sent as a reply finishes, rewritten by an input hook, or handled by a hook no longer leave duplicate or unwanted chat entries. Alt+Up restores what you typed ([#4276](https://github.com/bastani-inc/atomic/pull/4276), [#4282](https://github.com/bastani-inc/atomic/pull/4282), [#4287](https://github.com/bastani-inc/atomic/pull/4287)).
74
+ - **Session continuity.** Anthropic message threads send only new messages when the server can continue the conversation. Concurrent processes can open a new SQLite store without failing on its journal-mode lock ([#4293](https://github.com/bastani-inc/atomic/pull/4293), [#4278](https://github.com/bastani-inc/atomic/pull/4278)).
75
+ - **Markdown and extension tools.** Transformers can opt into custom messages, skill blocks, branch summaries and changelogs, and Mermaid diagrams render in expanded branch summaries. pi 1.5.0 brings terminal and key fixes, page keys in lists, faster code and Markdown rendering, plain JSON Schema validation alongside TypeBox, MCP JSON reply limits, and a Copilot classifier ([#4288](https://github.com/bastani-inc/atomic/pull/4288), [#4290](https://github.com/bastani-inc/atomic/pull/4290), [#4291](https://github.com/bastani-inc/atomic/pull/4291), [#4292](https://github.com/bastani-inc/atomic/pull/4292), [#4300](https://github.com/bastani-inc/atomic/pull/4300), [#4301](https://github.com/bastani-inc/atomic/pull/4301), [#4304](https://github.com/bastani-inc/atomic/pull/4304)).
76
+ - **Shutdown cleanup.** Idle RPC shutdown requests run without another client command. RPC and print mode finish cleanup when stdin closes or a first signal arrives; a second signal still forces exit ([#4288](https://github.com/bastani-inc/atomic/pull/4288), [#4303](https://github.com/bastani-inc/atomic/pull/4303)).
77
+
78
+ **Breaking change:** If your extension builds `AgentTool` directly with `Type.Enum`, `Type.Tuple`, `Type.Intersect` or another unmapped schema kind, narrow `params` yourself or use a mapped kind. `registerTool()` and `ToolDefinition` are unchanged.
79
+
80
+ ### Breaking Changes
81
+
82
+ - `AgentTool` from `@earendil-works/pi-agent-core` 1.5.0 takes any JSON Schema object as `parameters` and types `params` through `@earendil-works/pi-schema`. Extension code that builds an `AgentTool` directly keeps the static type of TypeBox schemas of the common kinds (String, Number, Integer, Boolean, Null, Literal, Array, Object, Union, Record, Unsafe, Unknown, Any); other kinds such as `Type.Enum`, `Type.Tuple` and `Type.Intersect` now give `params: unknown`, so narrow `params` yourself or use one of the mapped kinds. Tools registered through `registerTool()` and `ToolDefinition` are unchanged
83
+
84
+ ### Added
85
+
86
+ - `pi.registerMarkdownTransformer()` takes an optional `{ messageTypes }` that selects the Markdown surfaces a transformer runs on. Besides user, assistant, and thinking Markdown, transformers can now opt into `custom` (custom messages without a registered renderer and skill blocks), `summary` (branch summaries), and `changelog` (What's New and `/changelog`). Without options a transformer runs on user, assistant, and thinking Markdown as before. The built-in Mermaid renderer now also draws diagrams in expanded branch summaries (upstream [#11756](https://github.com/earendil-works/pi/pull/11756), [#4304](https://github.com/bastani-inc/atomic/pull/4304)).
87
+ - Added `github-copilot/microsoft-decision-1` for text classification in codemode, using Copilot OAuth or an API key (upstream [#11679](https://github.com/earendil-works/pi/pull/11679)).
88
+ - GitHub Copilot discovers models from the account's `/models` catalog, so models the account offers but the built-in catalog lacks appear in `/model`, `--list-models` and workflow catalogs. It works with OAuth and API-key credentials, and the list is cached in `models-store.json` for offline startup. A discovered model keeps the exact advertised ID, is marked `discovered: true`, and can be adjusted with `modelOverrides`; built-in entries keep their curated metadata.
89
+ - `atomic update` lists each updated package with its npm version or git commit change, for example `npm:foo 1.2.0 -> 1.3.0`, and prints `Packages are already up to date` only when it checked the packages and nothing warned: after a warning it says no packages were updated, and in offline mode it says package updates were skipped. `PackageManager.update()` reports each changed package as a new `result` progress event whose `message` holds that line (upstream [#11707](https://github.com/earendil-works/pi/pull/11707), [#11711](https://github.com/earendil-works/pi/pull/11711))
90
+ - Anthropic sessions now use message threads (beta): each request sends only the new messages and the server continues from the previous reply, falling back to the full request when the conversation changed (for example after compaction or a tool list change). On by default for the `anthropic` provider on `api.anthropic.com`; set `compat.supportsMessageThreads` in `models.json` to enable it for gateways that forward the `thread` field, or to turn it off. Cache warming does not touch the session's thread (upstream [earendil-works/pi#11545](https://github.com/earendil-works/pi/pull/11545))
91
+
92
+ ### Changed
93
+
94
+ - Arguments of tools with a plain JSON Schema, such as MCP tools, are coerced and checked by `@earendil-works/pi-schema`: a single value is wrapped into a one-item array, `"1"`/`"0"` become booleans, `null` for a required string becomes `"null"`, a `$ref` that names nothing rejects only the argument at its place instead of every call, and the errors the model sees use pi-schema's messages (`- path: missing`). Tools with TypeBox schemas, the built-in tools and most extension tools, are validated by TypeBox as before. See [Tool parameter schemas](docs/extensions.md#tool-parameter-schemas) (upstream [`6536f801`](https://github.com/earendil-works/pi/commit/6536f80129a266c3619c044f8487c0279fc39cd9), adapted to keep TypeBox)
95
+ - GitHub Copilot fast models are the exact IDs the account's model list advertises; Atomic no longer derives Copilot `<base>-fast` variants from the login's fast list. A configured default model, or a resumed session's Copilot fast model, that is not cached yet stops with a message to run `atomic update --models` instead of switching to another model, also when interactive startup waits for project trust or extensions. A refresh that cannot read the account's list keeps the models cached before.
96
+ - Atomic now uses a model's raw ID followed by its reasoning level as the primary label rather than replacing it with a display name. The ID is exactly what `--model`, `fallbackModels`, `enabledModels` and workflow `model:` fields take. This covers `/model` and its scoped list, the footer, the startup header, the status line after `/model` or Ctrl+P, the per-model thinking settings, the session tree, fallback notices (`Falling back from …`, `Model fallback: …`, `Model: ran on …, not the requested …`), task rows and heartbeats, and subagent and workflow stage labels. A label reads `provider/id level`, or `id level` where the provider is already clear, such as the footer with one provider configured. A model without reasoning shows no level. Split on whitespace, a label gives the `provider/id` and `level` that `--model provider/id:level` takes. Display names stay as secondary metadata: `/model` shows a name that adds words the ID lacks in a dim column, and typing a display name in `/model`, its argument completion or `--list-models <search>` still finds the model ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
97
+ - `--list-models` output changed for scripts that parse it. Columns are tab-separated. The `provider` and `model` columns are now one `model` column holding `provider/id`, and the `thinking` yes/no column is now `level`: the reasoning level `--model provider/id` starts that model at, empty for a model without reasoning. The header row is `model`, `level`, `context`, `max-out`, `images` ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
98
+ - `model_fallback_start` session events carry the optional `fromThinkingLevel` and `toThinkingLevel` of reasoning models, so a fallback that only changes the level can say so. `from` and `to` are unchanged `provider/id` strings ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
99
+ - Tightened the default system prompt: a shorter preamble, one line for additional tools, one rule for reading the docs before harness changes, and a shorter rule for resolving skill-relative paths (upstream 705d047c)
100
+ - Updated `@earendil-works/pi-tui`, `@earendil-works/pi-agent-core` and `@earendil-works/pi-codemode` to 1.5.0 (see Breaking Changes for the `AgentTool` typing)
101
+ - The Windows guide recommends a terminal by the console host it uses and lists known conhost problems with remedies, and the tmux guide lists the tmux 3.6 color-reply text that can appear in the editor at startup (upstream [#11644](https://github.com/earendil-works/pi/pull/11644), [#11645](https://github.com/earendil-works/pi/pull/11645), [#11647](https://github.com/earendil-works/pi/pull/11647))
102
+
103
+ ### Fixed
104
+
105
+ - `/model` shows the account's display name for GitHub Copilot models discovered from the account's model list instead of repeating the model ID. Model IDs, and the IDs sent to Copilot, are unchanged. Run `atomic update --models` once to replace names cached by an earlier version ([#4303](https://github.com/bastani-inc/atomic/pull/4303)).
106
+ - Process idle extension `ctx.shutdown()` requests in RPC mode without waiting for another client command, while preserving command responses before exit. RPC mode no longer cuts off shutdown cleanup, such as a pending MCP token refresh, when stdin closes and `SIGTERM` arrives together, which process managers like Paseo and systemd do. Once a shutdown has started, a stdin close or a single signal no longer interrupts it; a second signal still exits at once. Print mode likewise no longer dies from a signal that arrives during its final cleanup (upstream [#11752](https://github.com/earendil-works/pi/pull/11752), [#4303](https://github.com/bastani-inc/atomic/pull/4303)).
107
+ - Tool rows reuse syntax highlighting until their code, theme, or grammars change, and streamed assistant messages reuse rendered Markdown blocks (upstream pi 0f21a331).
108
+ - Shell commands report their result as soon as they exit. Every `bash` call, through a pipe or a terminal (PTY), waited about 250 ms after its command exited, because the task supervisor always waited out its full termination grace before confirming that the command's processes were gone. It now confirms that as soon as they are, so ten trivial commands take about 0.15 s instead of about 2.7 s, and a stopped command whose processes exit on TERM settles at once too. Processes a command leaves running still get TERM, and KILL once the grace ends ([#4268](https://github.com/bastani-inc/atomic/issues/4268)).
109
+ - Several processes opening one SQLite store at once no longer fail with `database is locked` while the file is switched to the write-ahead log, for example pooled workflow processes starting on a new journal. SQLite does not wait for another connection's lock while it changes a file's journal mode, so the switch failed at once whenever another process was writing a file still in the rollback journal or switching it at the same moment. Opening a store, and wrapping a connection with `wrapNodeSqliteDatabase`, now retries the switch until the busy timeout has passed, as every other statement waits. Storage adapters can do the same with the new `switchToWriteAheadLog` from `@bastani/atomic/storage` ([#4270](https://github.com/bastani-inc/atomic/issues/4270))
110
+ - A message sent with Enter just as the agent's reply finished no longer shows twice in the chat in the default interactive mode, where the session runs in an engine process. When the engine had already finished the turn but the terminal had not yet registered it, the engine started the message as a new turn, and the chat showed it once where it was sent and again below the reply to it. The extra copy also stayed when the chat was redrawn, for example by `/reload`. The model always received it once. Follow-ups sent with Alt+Enter and sessions that run in-process were not affected ([#4272](https://github.com/bastani-inc/atomic/issues/4272))
111
+ - A message an extension's `input` hook rewrites now shows once in the chat, as it was sent. A message sent while the agent was idle or just as its reply finished showed both the text that was typed and the rewritten text, in the default interactive mode and in-process alike, and the typed copy came back whenever the chat was redrawn, for example by `/reload`. Messages typed while the agent works, which the session queues, were not affected. The model always received only the rewritten message ([#4277](https://github.com/bastani-inc/atomic/issues/4277))
112
+ - Alt+Up now restores a queued message as it was typed. When an extension's `input` hook had rewritten a steering or follow-up message, Alt+Up put the rewritten text back in the editor, so sending it again ran the hook a second time and the model received a twice-rewritten message. The same held for a queued skill or prompt template, which came back expanded. This happened in the default interactive mode and in-process alike. The SDK's `clearQueue()` and the RPC `clear_queue` response keep listing the messages as queued under `steering` and `followUp`, and now also list them as typed under `typed` when any of them changed ([#4284](https://github.com/bastani-inc/atomic/issues/4284))
113
+ - A message an extension's `input` hook handles itself no longer stays in the chat. Nothing was sent to the model, but the chat kept the typed text and showed it again whenever it was redrawn, for example by `/reload`. This happened for a message sent while the agent was idle, with Enter or Alt+Enter, and for one typed while the previous prompt was still being sent, in the default interactive mode and in-process alike. Anything the extension shows itself, such as a notice, is unaffected ([#4285](https://github.com/bastani-inc/atomic/issues/4285))
114
+ - `atomic update` no longer stops when `git clean` cannot remove every untracked file of a git package, for example on Windows while another Atomic session has one of the package's native modules loaded. It warns, still installs the dependencies of the new commit, and retries the clean on the next update (upstream [#11597](https://github.com/earendil-works/pi/issues/11597))
115
+ - Branch summaries made from `/tree` now leave out a reply that a context edit hides from the model, such as a failed attempt that an automatic retry replaced, and use the replaced text of edited entries, as the live context and compaction already do (upstream [#11680](https://github.com/earendil-works/pi/pull/11680))
116
+ - Fixed Shift+Enter queueing a follow-up instead of inserting a newline in Apple Terminal setups that send ESC + Return; with native Shift detection available, ESC + Return with Shift held is now Shift+Enter (from pi-tui 1.5.0)
117
+ - Fixed fullscreen double-click selection splitting paths and tokens at `~`, `.`, `\`, `+` and `_`; word characters now match iTerm2's defaults (from pi-tui 1.5.0)
118
+ - Fixed searches in `/model`, `/resume` names and other fuzzy pickers ranking a query scattered over an earlier part of the text above a contiguous match later in it, so typing `opus` lists the Opus models first (from pi-tui 1.5.0)
119
+ - Fixed display math wider than the chat being wrapped row by row, which split fractions and sums apart; it now shows the raw LaTeX source (from pi-tui 1.5.0)
120
+ - Fixed wrapped lines starting with a space when a styled word ended exactly at the wrap width, and strikethrough continuing into the padding of wrapped lines (from pi-tui 1.5.0)
121
+ - Fixed Orca terminals falling back to text for inline images; Orca is recognized as supporting true color, hyperlinks and, when it advertises `ORCA_IMAGE_PROTOCOL=kitty`, Kitty images (from pi-tui 1.5.0)
122
+ - Fixed bare URLs in Markdown swallowing the CJK punctuation and text after them (from pi-tui 1.5.0)
123
+ - Fixed Kitty-protocol F1–F12 shortcuts, including modified function keys, not being recognized, and F13+ keys inserting invisible characters into the editor (from pi-tui 1.5.0)
124
+ - Fixed Kitty images inside padded or colored boxes disappearing once their first row scrolled above the fullscreen viewport (from pi-tui 1.5.0)
125
+ - Fixed deeply nested Markdown blockquotes producing exponentially many lines and hanging or crashing the renderer (from pi-tui 1.5.0)
126
+ - `tui.select.pageUp` and `tui.select.pageDown` now move the selection in the model, scoped models, auth, user message (`/fork`), settings submenu, llama.cpp search and `/mcp` selectors and in editor autocomplete, and PageUp/PageDown reach a focused list instead of scrolling the transcript. An open autocomplete menu takes the page keys before app actions, so binding a page key to Ctrl+V pages the menu instead of pasting an image. Extension components can set `capturesViewportInput` to receive the fullscreen viewport keys while focused (upstream [#7629](https://github.com/earendil-works/pi/issues/7629))
127
+
128
+ ### Removed
129
+
130
+ - Removed the native sandbox extension example; use the documented container and VM isolation options instead (upstream pi b4c2e92a).
131
+
5
132
  ## [0.9.70] - 2026-11-03
6
133
 
7
134
  Alt+Up no longer loses or duplicates a queued message in the default interactive mode, and internal URL expansion in `bash` and `powershell` is now conservative about where it replaces a URL with a path.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/intercom",
3
- "version": "0.9.70-alpha.1",
3
+ "version": "0.9.71-alpha.1",
4
4
  "private": true,
5
5
  "description": "Atomic extension providing a private coordination channel between parent and child agent sessions. Fork of: https://github.com/nicobailon/pi-intercom",
6
6
  "contributors": [
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@bastani/atomic": "*",
47
- "@earendil-works/pi-tui": "^1.4.0",
47
+ "@earendil-works/pi-tui": "^1.5.0",
48
48
  "typebox": "*"
49
49
  },
50
50
  "peerDependenciesMeta": {
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.71] - 2026-11-03
11
+
12
+ ### Fixed
13
+
14
+ - Streamable HTTP JSON replies now respect the configured message-size limit, and oversized HTTP error bodies are cancelled after reading a bounded excerpt (upstream [#11749](https://github.com/earendil-works/pi/pull/11749))
15
+ - Closing a stdio MCP server whose main process already exited now still stops the children it started. On Linux and macOS a server can exit while a child it started keeps running and holds its output pipes; `close()` returned early, skipped the process-group cleanup, never fired the close event, and the child also survived Atomic exiting. If a process outside the server's process group still holds the pipes after the kill, `close()` stops waiting for it a second later (upstream [#11724](https://github.com/earendil-works/pi/pull/11724))
16
+ - A Streamable HTTP response, or the notification stream, whose SSE event exceeds the message-size limit is now cancelled instead of left open. If the server kept the response open, for example with heartbeats, the failed request held its HTTP connection until the server ended it or the client closed (upstream [#11729](https://github.com/earendil-works/pi/issues/11729))
17
+
18
+ ## [0.9.71-alpha.1] - 2026-11-03
19
+
20
+ ### Fixed
21
+
22
+ - Streamable HTTP JSON replies now respect the configured message-size limit, and oversized HTTP error bodies are cancelled after reading a bounded excerpt (upstream [#11749](https://github.com/earendil-works/pi/pull/11749))
23
+ - Closing a stdio MCP server whose main process already exited now still stops the children it started. On Linux and macOS a server can exit while a child it started keeps running and holds its output pipes; `close()` returned early, skipped the process-group cleanup, never fired the close event, and the child also survived Atomic exiting. If a process outside the server's process group still holds the pipes after the kill, `close()` stops waiting for it a second later (upstream [#11724](https://github.com/earendil-works/pi/pull/11724))
24
+ - A Streamable HTTP response, or the notification stream, whose SSE event exceeds the message-size limit is now cancelled instead of left open. If the server kept the response open, for example with heartbeats, the failed request held its HTTP connection until the server ended it or the client closed (upstream [#11729](https://github.com/earendil-works/pi/issues/11729))
25
+
10
26
  ## [0.9.44] - 2026-10-25
11
27
 
12
28
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/mcp",
3
- "version": "0.9.70-alpha.1",
3
+ "version": "0.9.71-alpha.1",
4
4
  "private": true,
5
5
  "description": "Atomic's pi-compatible MCP integration for server connections, OAuth, tools, resources, and terminal management.",
6
6
  "contributors": [
@@ -2,6 +2,18 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.71] - 2026-11-03
6
+
7
+ ### Changed
8
+
9
+ - Subagent rows, status lines and `Model: ran on …, not the requested …` notices show each model as its raw `provider/id` followed by its reasoning level, `provider/id high`, instead of `provider/id · thinking high` ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
10
+
11
+ ## [0.9.71-alpha.1] - 2026-11-03
12
+
13
+ ### Changed
14
+
15
+ - Subagent rows, status lines and `Model: ran on …, not the requested …` notices show each model as its raw `provider/id` followed by its reasoning level, `provider/id high`, instead of `provider/id · thinking high` ([#4269](https://github.com/bastani-inc/atomic/issues/4269))
16
+
5
17
  ## [0.9.61] - 2026-11-02
6
18
 
7
19
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/subagents",
3
- "version": "0.9.70-alpha.1",
3
+ "version": "0.9.71-alpha.1",
4
4
  "private": true,
5
5
  "description": "Atomic extension for delegating tasks to subagents with parallel execution. Fork of: https://github.com/nicobailon/pi-subagents",
6
6
  "contributors": [
@@ -35,8 +35,8 @@
35
35
  "peerDependencies": {
36
36
  "@bastani/atomic": "*",
37
37
  "@bastani/pi-ai": "*",
38
- "@earendil-works/pi-agent-core": "^1.4.0",
39
- "@earendil-works/pi-tui": "^1.4.0",
38
+ "@earendil-works/pi-agent-core": "^1.5.0",
39
+ "@earendil-works/pi-tui": "^1.5.0",
40
40
  "typebox": "*"
41
41
  },
42
42
  "peerDependenciesMeta": {
@@ -7750,6 +7750,9 @@ import { APP_NAME, createChildProcessEnvironment, getEnvValue as getEnvValue2, g
7750
7750
  import * as path4 from "node:path";
7751
7751
  import { getAgentDir as getAtomicAgentDir } from "@bastani/atomic";
7752
7752
 
7753
+ // dist/builtin/subagents/src/shared/formatters.ts
7754
+ import { formatModelReferenceLabel } from "@bastani/atomic";
7755
+
7753
7756
  // dist/builtin/subagents/src/shared/model-info.ts
7754
7757
  var THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
7755
7758
  function toModelInfo(model) {
@@ -7803,12 +7806,10 @@ function formatTokens(n) {
7803
7806
  return n < 1000 ? String(n) : n < 1e4 ? `${(n / 1000).toFixed(1)}k` : `${Math.round(n / 1000)}k`;
7804
7807
  }
7805
7808
  function formatModelThinking(model, thinking) {
7806
- const parsed = model ? splitKnownThinkingSuffix(model) : undefined;
7807
- const displayModel = parsed?.baseModel ?? model;
7808
7809
  const explicitThinking = THINKING_LEVELS.find((level) => level === thinking?.trim());
7809
- const displayThinking = parsed?.thinkingSuffix ? parsed.thinkingSuffix.slice(1) : explicitThinking;
7810
- const parts = [displayModel, displayThinking ? `thinking ${displayThinking}` : undefined].filter(Boolean);
7811
- return parts.join(" · ");
7810
+ if (!model)
7811
+ return explicitThinking ? `thinking ${explicitThinking}` : "";
7812
+ return formatModelReferenceLabel(model, { thinkingLevel: explicitThinking });
7812
7813
  }
7813
7814
  function formatUsage(u) {
7814
7815
  const parts = [];
@@ -9052,9 +9053,11 @@ function launchRequestedModel(agent, options) {
9052
9053
  return named && named !== "auto" ? named : options.currentModel;
9053
9054
  }
9054
9055
  function resultRanOnLine(result) {
9056
+ const level = result.model === undefined ? "" : splitKnownThinkingSuffix(result.model).thinkingSuffix.slice(1);
9055
9057
  return ranOnModelLine({
9056
9058
  kind: "agent",
9057
9059
  model: taskRecordModel(result.model),
9060
+ thinking: level || result.thinking,
9058
9061
  requestedModel: result.requestedModel
9059
9062
  });
9060
9063
  }