@bastani/atomic 0.10.14-alpha.1 → 0.10.15-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 (341) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/_shared/dist-KOELCESV.js +2 -2
  3. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  4. package/dist/_shared/lib-4PES5P4V.js +2 -2
  5. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +3 -3
  6. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +3 -3
  7. package/dist/_shared/mode-shared-2QJSCUM6.js +3 -3
  8. package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
  9. package/dist/_shared/runtime-O4KCSG4C.js +2 -2
  10. package/dist/_shared/{sdk-B5LEWGGI.js → sdk-OHKMDJ74.js} +27 -5
  11. package/dist/_shared/{sdk-B5LEWGGI.js.map → sdk-OHKMDJ74.js.map} +1 -1
  12. package/dist/_shared/session-data-AHTU7IS6.js +2 -2
  13. package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
  14. package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
  15. package/dist/_shared/{startup-0-2-5QHPCEON.js → startup-0-2-2HUMCPKX.js} +14 -16
  16. package/dist/_shared/startup-0-2-2HUMCPKX.js.map +1 -0
  17. package/dist/_shared/startup-0-3-4ZYBYQNM.js +3 -3
  18. package/dist/_shared/startup-0-4-ZMJV547D.js +3 -3
  19. package/dist/_shared/startup-0-5-YDW47QX6.js +3 -3
  20. package/dist/_shared/startup-10-0-TDQNBDDL.js +3 -3
  21. package/dist/_shared/startup-14-0-MLX36RBG.js +1 -1
  22. package/dist/_shared/startup-15-0-YUKGAC63.js +1 -1
  23. package/dist/_shared/startup-15-1-4S7FLMNG.js +6 -30
  24. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  25. package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
  26. package/dist/_shared/startup-8-1-LZFXSD3Z.js +3 -3
  27. package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
  28. package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
  29. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  30. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  31. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  32. package/dist/builtin/intercom/package.json +1 -1
  33. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  34. package/dist/builtin/mcp/package.json +1 -1
  35. package/dist/builtin/subagents/package.json +1 -1
  36. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  37. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  38. package/dist/builtin/web-access/package.json +1 -1
  39. package/dist/cli/auth-cli.code.js +1 -1
  40. package/dist/cli/auth-cli.impl.js +3 -3
  41. package/dist/cli/auth-cli.js +3 -3
  42. package/dist/cli/blueprint-command.impl.js +3 -3
  43. package/dist/cli/blueprint-command.js +3 -3
  44. package/dist/cli/intercom-command.code.js +3 -3
  45. package/dist/cli/intercom-command.impl.js +3 -3
  46. package/dist/cli/intercom-command.js +3 -3
  47. package/dist/cli/list-models.impl.js +3 -3
  48. package/dist/cli/list-models.js +3 -3
  49. package/dist/cli/session-picker.code.js +1 -1
  50. package/dist/cli/session-picker.impl.js +3 -3
  51. package/dist/cli/session-picker.js +3 -3
  52. package/dist/cli/startup-ui.code.js +1 -1
  53. package/dist/cli/startup-ui.impl.js +3 -3
  54. package/dist/cli/startup-ui.js +3 -3
  55. package/dist/cli/storage-command.impl.js +3 -3
  56. package/dist/cli/storage-command.js +3 -3
  57. package/dist/cli/storage-search-session.code.js +1 -1
  58. package/dist/cli/storage-search-session.impl.js +3 -3
  59. package/dist/cli/storage-search-session.js +3 -3
  60. package/dist/cli/team-command.code.js +1 -1
  61. package/dist/cli/team-command.impl.js +3 -3
  62. package/dist/cli/team-command.js +3 -3
  63. package/dist/cli.js +2 -2
  64. package/dist/core/compaction/compactor.d.ts +0 -8
  65. package/dist/core/debug.impl.js +3 -3
  66. package/dist/core/debug.js +3 -3
  67. package/dist/core/export-html/card-projection.impl.js +3 -3
  68. package/dist/core/export-html/card-projection.js +3 -3
  69. package/dist/core/export-html/index.code.js +2 -2
  70. package/dist/core/export-html/index.impl.js +3 -3
  71. package/dist/core/export-html/index.js +3 -3
  72. package/dist/core/export-html/json-spans.impl.js +3 -3
  73. package/dist/core/export-html/json-spans.js +3 -3
  74. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  75. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  76. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  77. package/dist/core/export-html/tool-renderer.js +3 -3
  78. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  79. package/dist/core/extensions/jiti-loader.js +3 -3
  80. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  81. package/dist/core/extensions/jiti-static-loader.js +3 -3
  82. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  83. package/dist/core/extensions/loader-host-modules.js +3 -3
  84. package/dist/core/intercom-broker-control-host.code.js +1 -1
  85. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  86. package/dist/core/intercom-broker-control-host.js +3 -3
  87. package/dist/core/intercom-broker-control.code.js +2 -2
  88. package/dist/core/intercom-broker-control.impl.js +3 -3
  89. package/dist/core/intercom-broker-control.js +3 -3
  90. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  91. package/dist/core/package-manager-storage-adapters.js +3 -3
  92. package/dist/core/sdk.code.js +1 -1
  93. package/dist/core/sdk.impl.js +3 -3
  94. package/dist/core/sdk.js +3 -3
  95. package/dist/core/session-manager-core.js +3 -3
  96. package/dist/core/session-manager-list.impl.js +3 -3
  97. package/dist/core/session-manager-list.js +3 -3
  98. package/dist/core/session-manager.impl.js +3 -3
  99. package/dist/core/session-manager.js +3 -3
  100. package/dist/core/session-storage.impl.js +3 -3
  101. package/dist/core/session-storage.js +3 -3
  102. package/dist/core/storage/index.js +2 -2
  103. package/dist/core/storage/node-sqlite-thread.js +2 -2
  104. package/dist/core/storage/node-sqlite.js +2 -2
  105. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  106. package/dist/core/storage/offline-snapshot-file.js +3 -3
  107. package/dist/core/storage/provider.js +2 -2
  108. package/dist/core/storage/selection.js +2 -2
  109. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  110. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  111. package/dist/core/storage/session/branch-fork-source.js +3 -3
  112. package/dist/core/storage/session/card-view.impl.js +3 -3
  113. package/dist/core/storage/session/card-view.js +3 -3
  114. package/dist/core/storage/session/child-reader.code.js +2 -2
  115. package/dist/core/storage/session/child-reader.impl.js +3 -3
  116. package/dist/core/storage/session/child-reader.js +3 -3
  117. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  118. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  119. package/dist/core/storage/session/expanded-child-details.code.js +2 -2
  120. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  121. package/dist/core/storage/session/expanded-child-details.js +3 -3
  122. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  123. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  124. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  125. package/dist/core/storage/session/fork-row-index.js +3 -3
  126. package/dist/core/storage/session/fork-staging.code.js +1 -1
  127. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  128. package/dist/core/storage/session/fork-staging.js +3 -3
  129. package/dist/core/storage/session/fork-window.code.js +2 -2
  130. package/dist/core/storage/session/fork-window.impl.js +3 -3
  131. package/dist/core/storage/session/fork-window.js +3 -3
  132. package/dist/core/storage/session/history-pages.impl.js +3 -3
  133. package/dist/core/storage/session/history-pages.js +3 -3
  134. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  135. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  136. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  137. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  138. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  139. package/dist/core/storage/session/memory-session-store.js +3 -3
  140. package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
  141. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  142. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  143. package/dist/core/storage/session/released-history-files.code.js +1 -1
  144. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  145. package/dist/core/storage/session/released-history-files.js +3 -3
  146. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  147. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  148. package/dist/core/storage/session/session-resume.impl.js +3 -3
  149. package/dist/core/storage/session/session-resume.js +3 -3
  150. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  151. package/dist/core/storage/session/snapshot-cut.js +3 -3
  152. package/dist/core/storage/session/snapshot-history.code.js +2 -2
  153. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  154. package/dist/core/storage/session/snapshot-history.js +3 -3
  155. package/dist/core/storage/session/sql-session-store.code.js +1 -1
  156. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  157. package/dist/core/storage/session/sql-session-store.js +3 -3
  158. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  159. package/dist/core/storage/session/tree-outline.js +3 -3
  160. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  161. package/dist/core/storage/session/tree-presentation.js +3 -3
  162. package/dist/core/storage/storage-status.impl.js +3 -3
  163. package/dist/core/storage/storage-status.js +3 -3
  164. package/dist/core/storage/team.impl.js +3 -3
  165. package/dist/core/storage/team.js +3 -3
  166. package/dist/core/structured-output/index.code.js +1 -1
  167. package/dist/core/structured-output/index.impl.js +3 -3
  168. package/dist/core/structured-output/index.js +3 -3
  169. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  170. package/dist/core/tasks/task-completion-entry.js +3 -3
  171. package/dist/core/tasks/task-file-history.code.js +2 -2
  172. package/dist/core/tasks/task-file-history.impl.js +3 -3
  173. package/dist/core/tasks/task-file-history.js +3 -3
  174. package/dist/core/tasks/task-reference-archive.code.js +2 -2
  175. package/dist/core/tasks/task-reference-archive.js +3 -3
  176. package/dist/core/tasks/task-reference-identity.js +3 -3
  177. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  178. package/dist/core/tasks/task-reference-stream.js +3 -3
  179. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  180. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  181. package/dist/core/tasks/task-view-source.impl.js +3 -3
  182. package/dist/core/tasks/task-view-source.js +3 -3
  183. package/dist/core/tools/read-url.impl.js +3 -3
  184. package/dist/core/tools/read-url.js +3 -3
  185. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  186. package/dist/core/worktree-snapshot/errors.code.js +1 -1
  187. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  188. package/dist/core/worktree-snapshot/errors.js +3 -3
  189. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  190. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  191. package/dist/extensions/codemode/execute.impl.js +3 -3
  192. package/dist/extensions/codemode/execute.js +3 -3
  193. package/dist/extensions/codemode/renderer.impl.js +3 -3
  194. package/dist/extensions/codemode/renderer.js +3 -3
  195. package/dist/extensions/mcp/cli.code.js +1 -1
  196. package/dist/extensions/mcp/cli.impl.js +3 -3
  197. package/dist/extensions/mcp/cli.js +3 -3
  198. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  199. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  200. package/dist/extensions/mcp/cli.lazy.js +3 -3
  201. package/dist/extensions/mcp/runtime.code.js +1 -1
  202. package/dist/extensions/mcp/runtime.impl.js +3 -3
  203. package/dist/extensions/mcp/runtime.js +3 -3
  204. package/dist/index.d.ts +21 -1
  205. package/dist/index.js +2 -2
  206. package/dist/main-first-time-setup.code.js +1 -1
  207. package/dist/main-first-time-setup.impl.js +3 -3
  208. package/dist/main-first-time-setup.js +3 -3
  209. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  210. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  211. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  212. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  213. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  214. package/dist/modes/print-mode.js +1 -1
  215. package/dist/package-manager-cli.code.js +2 -2
  216. package/dist/package-manager-cli.impl.js +3 -3
  217. package/dist/package-manager-cli.js +3 -3
  218. package/dist/startup-files.json +1 -1
  219. package/dist/startup-stages/6.js +1 -1
  220. package/dist/utils/startup-database-spare.code.js +1 -1
  221. package/dist/utils/startup-database-spare.impl.js +3 -3
  222. package/dist/utils/startup-database-spare.js +3 -3
  223. package/dist/utils/tools-manager.impl.js +3 -3
  224. package/dist/utils/tools-manager.js +3 -3
  225. package/docs/background-tasks/reference.md +182 -0
  226. package/docs/background-tasks.md +98 -405
  227. package/docs/build.md +67 -27
  228. package/docs/changelog.mdx +9 -0
  229. package/docs/codemode.md +108 -39
  230. package/docs/compaction/branch-summaries.md +54 -0
  231. package/docs/compaction/custom-compactors.md +161 -0
  232. package/docs/compaction/memory-compaction.md +77 -0
  233. package/docs/compaction/reference.md +86 -38
  234. package/docs/compaction.md +51 -252
  235. package/docs/computer-use.md +169 -321
  236. package/docs/containerization.md +71 -57
  237. package/docs/custom-provider/api-reference.md +119 -25
  238. package/docs/custom-provider/oauth.md +114 -132
  239. package/docs/custom-provider/override.md +37 -27
  240. package/docs/custom-provider/registration.md +107 -83
  241. package/docs/custom-provider/streaming.md +85 -71
  242. package/docs/custom-provider.md +85 -52
  243. package/docs/development.md +39 -29
  244. package/docs/docs.json +76 -63
  245. package/docs/environment-variables.md +94 -44
  246. package/docs/extensions/api-reference.md +86 -43
  247. package/docs/extensions/authoring.md +162 -154
  248. package/docs/extensions/events.md +80 -25
  249. package/docs/extensions/examples.md +90 -85
  250. package/docs/extensions/ui.md +206 -82
  251. package/docs/extensions.md +79 -108
  252. package/docs/getting-started/authentication.md +67 -36
  253. package/docs/getting-started/first-session.md +53 -43
  254. package/docs/getting-started/installation.md +116 -89
  255. package/docs/getting-started/project-instructions.md +48 -34
  256. package/docs/guides/configuration.md +82 -20
  257. package/docs/guides/non-interactive.md +66 -24
  258. package/docs/guides/resume-on-any-machine.md +135 -82
  259. package/docs/guides/team-setup.md +114 -105
  260. package/docs/guides.md +76 -32
  261. package/docs/herdr.md +15 -16
  262. package/docs/how-atomic-works.md +140 -0
  263. package/docs/index.md +58 -44
  264. package/docs/intercom/operations.md +141 -151
  265. package/docs/intercom/reference.md +85 -108
  266. package/docs/intercom.md +84 -145
  267. package/docs/json.md +120 -67
  268. package/docs/keybindings.md +85 -49
  269. package/docs/libraries/agent-core.md +137 -275
  270. package/docs/libraries/ai.md +100 -84
  271. package/docs/libraries/codemode.md +210 -300
  272. package/docs/libraries/schema.md +59 -53
  273. package/docs/libraries/storage-postgres.md +49 -35
  274. package/docs/libraries/telemetry.md +153 -354
  275. package/docs/libraries/tui.md +265 -393
  276. package/docs/libraries.md +42 -26
  277. package/docs/llama-cpp.md +171 -161
  278. package/docs/mcp-servers.md +90 -51
  279. package/docs/models/choose-a-model.md +188 -0
  280. package/docs/models/reference.md +74 -30
  281. package/docs/models.md +153 -88
  282. package/docs/orchestration/migrating-workflows.md +23 -16
  283. package/docs/orchestration/patterns.md +39 -44
  284. package/docs/orchestration.md +65 -26
  285. package/docs/packages/authoring.md +51 -29
  286. package/docs/packages/reference.md +42 -21
  287. package/docs/packages.md +69 -58
  288. package/docs/programmatic.md +118 -24
  289. package/docs/prompt-templates.md +84 -83
  290. package/docs/providers/reference.md +43 -48
  291. package/docs/providers.md +219 -451
  292. package/docs/quickstart.md +140 -120
  293. package/docs/reference/cli.md +135 -97
  294. package/docs/reference.md +20 -18
  295. package/docs/rpc/examples.md +76 -20
  296. package/docs/rpc/extension-ui.md +64 -38
  297. package/docs/rpc/protocol.md +361 -110
  298. package/docs/rpc.md +57 -17
  299. package/docs/sdk/reference.md +409 -534
  300. package/docs/sdk/storage.md +53 -13
  301. package/docs/sdk/structured-decisions.md +82 -56
  302. package/docs/sdk/web-server.md +57 -43
  303. package/docs/sdk.md +106 -84
  304. package/docs/security.md +42 -64
  305. package/docs/session-format.md +62 -38
  306. package/docs/sessions.md +99 -214
  307. package/docs/settings.md +165 -195
  308. package/docs/shell-aliases.md +9 -6
  309. package/docs/skills/authoring.md +69 -48
  310. package/docs/skills/reference.md +51 -20
  311. package/docs/skills.md +99 -148
  312. package/docs/slash-commands.md +129 -0
  313. package/docs/storage/custom-adapters.md +160 -85
  314. package/docs/storage/jsonl.md +81 -66
  315. package/docs/storage/postgres/pgbouncer.md +120 -126
  316. package/docs/storage/postgres/tuning.md +120 -143
  317. package/docs/storage/postgres.md +314 -330
  318. package/docs/storage/sqlite.md +71 -42
  319. package/docs/storage.md +298 -302
  320. package/docs/subagents/authoring.md +55 -38
  321. package/docs/subagents/reference.md +73 -33
  322. package/docs/subagents.md +119 -187
  323. package/docs/terminal-setup.md +50 -38
  324. package/docs/termux.md +67 -41
  325. package/docs/themes/reference.md +23 -19
  326. package/docs/themes.md +142 -127
  327. package/docs/tmux.md +47 -55
  328. package/docs/tools.md +147 -109
  329. package/docs/tui/reference.md +166 -214
  330. package/docs/tui.md +196 -341
  331. package/docs/usage.md +118 -138
  332. package/docs/verification.md +79 -51
  333. package/docs/web-access.md +121 -101
  334. package/docs/windows.md +26 -27
  335. package/docs/worktree-snapshots/reference.md +245 -0
  336. package/docs/worktree-snapshots.md +71 -259
  337. package/package.json +8 -8
  338. package/dist/_shared/startup-0-2-5QHPCEON.js.map +0 -1
  339. package/docs/guides/intercom.md +0 -32
  340. package/docs/guides/orchestration.md +0 -28
  341. package/docs/guides/subagents.md +0 -37
package/docs/usage.md CHANGED
@@ -1,217 +1,197 @@
1
1
  ---
2
- title: "Interactive mode"
3
- sidebarTitle: "Interactive mode"
4
- description: "Use Atomic's terminal editor, slash commands, startup typing, message queue, sessions, and context files."
2
+ title: "Use Atomic in the terminal"
3
+ sidebarTitle: "Use interactive mode"
4
+ description: "Use Atomic's fullscreen terminal interface, editor shortcuts, slash commands, message queue, and session tools."
5
5
  ---
6
6
 
7
- Interactive mode runs Atomic in a fullscreen terminal interface for day-to-day coding, slash commands, message queueing, and session navigation. For every CLI command, flag, and exit code, see the [CLI reference](/reference/cli).
7
+ Interactive mode runs Atomic in a fullscreen terminal interface for day-to-day coding, slash commands, message queueing, and session navigation. Atomic runs the agent session in a separate background process from the terminal UI so typing, queueing, and interrupts stay responsive while tools run. See [How Atomic works](/how-atomic-works) for the architecture, or [CLI reference](/reference/cli) for every command and flag.
8
+
9
+ ## First-time setup
10
+
11
+ On a brand-new installation (when `ATOMIC_CODING_AGENT_DIR` is unset and `~/.atomic/agent/settings.json` does not exist yet), interactive mode opens a quick two-step setup prompt before the editor:
12
+
13
+ 1. **Choose a theme:** Pick `Dark`, `Light`, or `System` (defaulting to your terminal's detected appearance, with live preview as you move through options).
14
+ 2. **Choose analytics preference:** Opt in or out of anonymous usage analytics. Your choice and a random local tracking ID are stored in `settings.json`; Atomic does not transmit analytics data in this release.
15
+
16
+ Navigate with `↑`/`↓` or `j`/`k`, confirm with `Enter`, or press `Esc`/`Ctrl+C` to skip setup without writing `settings.json`.
8
17
 
9
18
  ## Terminal interface
10
19
 
11
- <p align="center"><img src="images/interactive-mode.png" alt="Screenshot of Atomic interactive mode in a dark terminal window displaying the purple Atomic logo, a user prompt, inline tool call results, token and cost statistics above the bottom input box, and the esc to interrupt footer hint." width="600" /></p>
20
+ The screen has four main areas:
12
21
 
13
- The interface has four main areas:
22
+ - **Startup header.** Shortcuts plus named lists of loaded context files, prompt templates, skills, and extensions. Press `Ctrl+O` to expand source paths. Custom themes are not listed here; pick them in `/settings`.
23
+ - **Transcript.** User messages, assistant responses, tool calls, tool results, notifications, errors, and extension UI.
24
+ - **Editor.** The prompt box where you type. Its border color reflects the active thinking level.
25
+ - **Footer.** Token usage, cache usage, cost, and context usage sit above the editor. Below it, Atomic shows the active model, reasoning level, working directory, Git branch, and session name while idle, or the interrupt key while working (`esc to interrupt` on `main`, `esc to pause` while viewing a subagent).
14
26
 
15
- - **Startup header.** Shortcuts plus named lists of loaded context files, prompt templates, skills, and extensions. Press the expand-tools shortcut (`Ctrl+O` by default) to switch those lists to source paths.
16
- - **Messages.** User messages, assistant responses, tool calls, tool results, notifications, errors, and extension UI.
17
- - **Editor.** The prompt box where you type. Its border color shows the current thinking level.
18
- - **Footer.** Token usage, cache usage, cost, and context usage sit above the editor. Below it, Atomic shows the current model, reasoning level, working directory, Git branch, and session name while idle, or the bound interrupt key while working (`esc to interrupt` on `main`, `esc to pause` while viewing a subagent). When background subagents run, the [agent panel](/background-tasks#the-agent-panel) appears below the footer; selecting a subagent swaps the transcript and points the prompt at it. Press `↓` on an empty prompt to focus the agent panel, `←` on an empty prompt while viewing a subagent to return to `main`, `Ctrl+X Ctrl+K` (twice within 3 seconds) to stop all background work, and `?` on an empty prompt for the key overview.
27
+ When background subagents run, the [agent panel](/background-tasks#the-agent-panel) appears below the footer. Selecting a subagent swaps the transcript and routes your prompt to it. Press `↓` on an empty prompt to focus the agent panel, `←` on an empty prompt while viewing a subagent to return to `main`, `Ctrl+X Ctrl+K` (twice within 3 seconds) to stop all background work, and `?` on an empty prompt for active shortcuts.
19
28
 
20
- Built-in views such as `/settings` or custom extension UI can temporarily replace the editor.
29
+ Built-in views such as `/settings`, `/model`, or custom extension UI temporarily replace the editor while open.
21
30
 
22
31
  ### Startup animation and working indicator
23
32
 
24
- The startup animation introduces Atomic on launch. Press any key, including `Ctrl+C`, to finish it immediately and continue normal input. Setting `quietStartup` to `true` hides it, while `"header"` keeps it. Non-TTY sessions and `ATOMIC_REDUCED_MOTION=1` show the settled logo without animation. Setting `NO_COLOR` (to any value, including an empty string) or `FORCE_COLOR=0` turns off foreground and background colors and text styles (bold, italic, dim, underline, inverse, and strikethrough).
33
+ The startup animation introduces Atomic on launch; press any key (including `Ctrl+C`) to finish it immediately. Set `quietStartup` to `true` to hide it, or `"header"` to keep it. Non-TTY runs, Apple `Terminal.app`, and `ATOMIC_REDUCED_MOTION=1` skip the animation and show the static mark.
25
34
 
26
- Startup lists loaded context files, skills, prompts, and extensions by name. Custom themes are not listed; choose them in `/settings`. Duplicate local extension names include path details. Expand the startup block with `Ctrl+O` to inspect source paths.
35
+ To disable terminal colors and text styles (bold, italic, dim, underline, inverse, strikethrough), set `NO_COLOR` (to any value, including an empty string) or `FORCE_COLOR=0` / `FORCE_COLOR=false`. Setting `FORCE_COLOR` to `1`, `2`, `3`, `true`, or `""` forces color output.
27
36
 
28
- While the agent works, `∀` pulses beside a status message with the current run's elapsed time and output tokens. A new run starts a fresh meter; steering keeps the current meter. Retry, fallback, compaction, cancellation, and error notices take precedence, and approval prompts hide ordinary activity. Set `ATOMIC_REDUCED_MOTION=1` for a static mark (elapsed time still updates once per second) or `NO_COLOR` for plain unstyled output. Extensions can [customize the indicator](/tui#pattern-4b-working-indicator-customization).
37
+ While the agent works, `∀` pulses beside a status line with elapsed time and output tokens. A new run resets the meter; steering keeps the current meter. Retry, fallback, compaction, cancellation, and error notices take precedence, and approval prompts hide ordinary activity. Extensions can [customize the working indicator](/tui#pattern-4b-working-indicator-customization).
29
38
 
30
- Compaction shows a still `∀` mark with elapsed time and the cancel key. Opening a chat during compaction displays how long compaction has been running. Afterwards, one line marks the boundary: `⚛ Context cleared · 182.0k tokens`, or `⚛ Context compacted · morph/morph-compactor · 182.0k → 21.4k tokens` when a compactor model ran. Press `Ctrl+O` to inspect where the earlier conversation lives in session history, what the agent recovers first, and any compacted text.
39
+ During compaction, `∀` stays still with elapsed time and the cancel key. Afterwards, a single boundary line appears—`⚛ Context cleared · 182.0k tokens`, or `⚛ Context compacted · morph/morph-compactor · 182.0k → 21.4k tokens` when a compactor model ran. Press `Ctrl+O` to inspect what was compacted and where the earlier conversation lives in session history.
31
40
 
32
41
  ### Transcript interaction
33
42
 
34
- - **Clickable blocks.** Single-click any expandable block (tool calls, grouped summaries, `!` shell blocks, finished-agent cards, compaction boundaries) to open or fold that block without affecting others. `Ctrl+O` resets all blocks together.
35
- - **Clickable key hints.** Click key hints under the prompt, in dialogs, or in `/tasks` to run that key or command while keeping your prompt draft.
36
- - **Scrolling and jump to bottom.** Scroll the transcript with the mouse wheel, or hold `Alt+wheel` to scroll five times as far when your terminal forwards Alt with wheel events. While scrolled up, the current turn's opening prompt stays pinned at the top and a `↓ jump to bottom · ctrl+end` pill appears above the editor.
43
+ - **Clickable blocks.** Single-click any expandable block (tool calls, grouped summaries, `!` shell blocks, finished-agent cards, compaction boundaries) to open or fold that block without affecting others. `Ctrl+O` toggles all blocks together.
44
+ - **Clickable key hints.** Click key hints below the prompt, in dialogs, or in `/tasks` to trigger that key or command without losing your prompt draft.
45
+ - **Scrolling and jump to bottom.** Scroll with the mouse wheel, or hold `Alt+wheel` to scroll five times as far when your terminal forwards Alt with wheel events. While scrolled up, the current turn's opening prompt stays pinned at the top and a `↓ jump to bottom · ctrl+end` pill appears above the editor.
37
46
 
38
- See [Transcript scrolling and mouse](/keybindings#tui-fullscreen-viewport) for selection, auto-copy, and paging shortcuts.
47
+ See [Transcript scrolling and mouse](/keybindings#transcript-scrolling-and-mouse) for mouse selection, auto-copy, right-click paste, and paging shortcuts.
39
48
 
40
49
  ### Editor features
41
50
 
42
51
  | Feature | How |
43
52
  | --- | --- |
44
53
  | File reference | Type `@` to fuzzy-search project files |
45
- | Path completion | Press `Tab` to complete paths |
46
- | Prompt history | `↑` and `↓` walk past prompts; `Ctrl+R` searches them and places the chosen prompt in the editor without sending |
54
+ | Path completion | Press `Tab` to complete file paths |
55
+ | Prompt history | `↑` / `↓` step through recent prompts; `Ctrl+R` searches past prompts and inserts your pick without sending |
47
56
  | Multi-line input | `Shift+Enter` or `Ctrl+J` |
48
57
  | Images | Paste with `Ctrl+V` (`Alt+V` or `Ctrl+V` on Windows and WSL), or drag into the terminal ([Terminal setup](/terminal-setup)) |
49
- | Shell command | `!command` runs a command and includes output in model context |
50
- | Hidden shell command | `!!command` runs a command without sending output to model context |
58
+ | Shell command | `!command` runs a shell command and includes its output in model context |
59
+ | Hidden shell command | `!!command` runs a shell command without adding its output to model context |
51
60
  | External editor | `Ctrl+G` opens `externalEditor`, `$VISUAL`, or `$EDITOR` (falling back to `notepad` on Windows or `nano` on macOS and Linux) |
52
61
 
53
- **`@` file picker and completion menus:** The `@` picker searches with `fd` (`--follow --hidden`, respecting `.gitignore` and skipping `.git/`), supports quoted paths with spaces (`@"path with spaces"`), and wraps paths containing spaces automatically. If `fd` is unavailable, it falls back to single-directory listing like `Tab`. Both `@` and `/` menus end with a hint line naming active keys: `Tab` completes without sending, and `Enter` inserts an `@` path or submits a `/`-prefixed completion (including absolute paths). Remapped menu keys appear only when an app shortcut or earlier menu action does not claim them first.
54
-
55
- **Prompt history:** Editor `↑` and `↓` keep up to 100 recent adjacent-deduplicated prompts typed during the current run (per viewed agent: `main` or the selected subagent; retrieve queued messages with `Alt+Up` or `Alt+Q` instead). `Ctrl+R` searches the viewed agent's recorded prompts newest first, including prompts expanded from templates or skills and prompts transformed by an `input` hook. When an `input` hook transforms a prompt, Atomic saves and searches the transformed text in `Ctrl+R`, while editor `↑` and `↓` walk the raw text you typed. `Esc` clears search text and then closes search without touching your draft or interrupting the agent. Avoid typing secrets directly into prompts.
56
-
57
- **Interactive shell commands (`!` and `!!`):** Only one interactive `!` or `!!` command can run at a time; submitting another warns that a command is already running and restores your text. On native Windows, `!` and `!!` run PowerShell (preferring PowerShell 7 `pwsh.exe`, then Windows PowerShell `powershell.exe`; see [Windows](/windows)). Linux, macOS, and WSL use Bash. Extension-provided execution hooks take precedence. [`shellCommandPrefix`](/shell-aliases) is prepended to each command, so match the active shell's syntax (`shellPath` in [Shell settings](/settings#shell) configures Bash, not Windows interactive PowerShell). `Esc` or `Ctrl+C` cancels a running command. While viewing a subagent, `!` and `!!` commands are refused; switch to `main` to run them.
58
-
59
- **Double-Escape (`doubleEscapeAction`):** Pressing `Escape` twice within 500 ms on an empty, idle editor opens `/tree` by default. Set `doubleEscapeAction` to `"tree"`, `"fork"`, or `"none"` in [Settings](/settings#interface-and-display).
60
-
61
- **Suspend and subshell:** On native Windows, `Alt+Z` opens an interactive PowerShell subshell; type `exit` to return to the same Atomic session while background tasks keep running, and `Ctrl+Z` stays editor undo. On POSIX systems and WSL, `Ctrl+Z` suspends Atomic and `fg` resumes it.
62
+ - **`@` file picker and completion menus:** The `@` picker fuzzy-searches project files while respecting `.gitignore` and skipping `.git/`, supports quoted paths with spaces (`@"path with spaces"`), and wraps paths containing spaces automatically (falling back to single-directory listing if `fd` is unavailable). In `@` and `/` menus, `Tab` completes without sending, and `Enter` inserts an `@` path or submits a `/` command.
63
+ - **Prompt history (`↑`/`↓` and `Ctrl+R`):** `↑` and `↓` walk up to 100 recent prompts typed during the current run (collapsing consecutive identical prompts) for whichever agent you are viewing. `Ctrl+R` searches recorded prompts newest first and deduplicates identical prompts across the session:
64
+ - For prompt templates and skills (such as `/skill:tdd edge cases`), `Ctrl+R` saves and searches the **unexpanded command you typed** rather than the expanded body (only older entries without raw text fall back to expanded text).
65
+ - If an extension transforms a prompt through the [`input` event](/extensions/events#input), `Ctrl+R` searches the transformed text while `↑`/`↓` walk the raw text you typed.
66
+ - While viewing a subagent, `Ctrl+R` searches that subagent's 100-entry editor history (without timestamps) rather than the full session store.
67
+ - Press `Esc` to clear the search query first, then close search without losing your draft or interrupting the agent. Avoid typing secrets directly into prompts.
68
+ - **Interactive shell commands (`!` and `!!`):** Only one interactive `!` or `!!` command can run at a time; submitting another warns and restores your draft. On native Windows, `!` and `!!` run PowerShell (preferring PowerShell 7 `pwsh.exe`, then Windows PowerShell `powershell.exe`; see [Windows](/windows)), while Linux, macOS, and WSL use Bash. [`shellCommandPrefix`](/shell-aliases) is prepended to each command, so match the active shell's syntax. Press `Esc` or `Ctrl+C` to cancel a running command. `!` and `!!` are disabled while viewing a subagent; switch to `main` to run them.
69
+ - **Double-Escape (`doubleEscapeAction`):** Pressing `Escape` twice within 500 ms on an empty, idle editor opens `/tree` by default. Change it to `"tree"`, `"fork"`, or `"none"` in [Settings](/settings#interface-and-display).
70
+ - **Suspend and subshell:** On POSIX systems and WSL, `Ctrl+Z` suspends Atomic and `fg` resumes it. On native Windows, `Alt+Z` opens an interactive PowerShell subshell while background tasks keep running (type `exit` to return), leaving `Ctrl+Z` for editor undo.
62
71
 
63
72
  See [Keybindings](/keybindings) for all shortcuts and customization.
64
73
 
65
74
  ## Startup typing
66
75
 
67
- On eligible interactive starts, Atomic opens the prompt editor immediately so you can start typing right away, and keeps your text while the session finishes loading.
68
-
69
- Immediate startup typing activates in a fullscreen terminal when all of these hold:
70
-
71
- - Standard input and output are a TTY, `CI` is unset, and `TERM` is not `dumb`.
72
- - No startup dialog (such as first-run setup or a project trust prompt) is shown.
73
- - No CLI flags are passed outside `--offline`, `--no-mcp`, `--verbose`, `--approve`/`-a`, and `--no-approve`/`-na`.
74
- - None of these editor display settings are set in global, legacy, or project settings: `editorPaddingX`, `autocompleteMaxVisible`, `showHardwareCursor`, `terminal`, `fullscreenScrollbar`, `fullscreenCopyOnSelect`, or `fullscreenWheelScrollLines`.
75
- - No project or legacy `theme` override is set, and the global `theme` is unset or one of the six static built-in themes (`dark`, `light`, `catppuccin-frappe`, `catppuccin-latte`, `catppuccin-macchiato`, `catppuccin-mocha`). `system` and `light/dark` pairs use standard startup.
76
-
77
- While the session is still loading:
78
-
79
- - Typing and prompt-editing keys (cursor and word movement, deletions, kill ring, undo, and newlines) act immediately and echo live.
80
- - `Ctrl+C` clears prompt text, or exits on a second press within 0.8 seconds on an empty prompt. `Ctrl+D` exits on an empty prompt.
81
- - Non-editing keys (`Enter`, command shortcuts, `Esc`, view-switching keys, and mouse events) wait in order until the session takes over on the same screen.
82
- - Any direct stdout or stderr output written during startup stays visible instead of being overwritten by the prompt.
83
- - Clicking in the prompt before completions finish loading cancels any pending `/` or `@` completion lookup.
84
-
85
- When a startup dialog, an ineligible flag (such as `--resume`, `--continue`, or `--name`), or a custom editor display setting applies, Atomic falls back to buffered startup typing before the UI paints:
86
-
87
- - `Enter`-submitted ordinary prompts wait until the session is ready.
88
- - Command submissions such as `/settings` or `!pwd` run as separate submissions through normal command routing in input order.
89
- - Unsubmitted text waits in the editor. If it ends with a `/` command or `@` file and no earlier command ran, its completion menu opens once completions are ready unless you click elsewhere first.
76
+ You can start typing immediately while Atomic finishes loading. In interactive mode, typing and editing keys act live while `Enter`, command shortcuts, and mouse events wait until the session is ready.
90
77
 
91
- When a startup screen appears (project trust, first-run setup, resume picker, or cross-project fork prompt), earlier typed text waits in the prompt as a draft. Text typed into a screen that ignores text, or left in a cancelled or timed-out startup input, joins that draft with line breaks. Nothing sends until you review the draft and press `Enter` after startup.
92
-
93
- `Enter` (or a custom submit key) ending an unfinished prompt never answers a startup screen automatically. Use `↑` or `↓` in selectors (the resume picker and text prompts accept `Enter` after you type into them), and answer a fork prompt explicitly with `y` or `n`. Startup typing does not apply to non-TTY input, print or RPC mode, or metadata commands such as `--help` and `--list-models`.
78
+ <Tip>
79
+ If a startup dialog appears (such as first-time setup, a project trust prompt, `--resume`, or a cross-project fork confirmation), anything you already typed waits in your prompt as a draft and never auto-submits or answers the dialog for you. Review the draft and press `Enter` after startup finishes.
80
+ </Tip>
94
81
 
95
82
  ## Slash commands
96
83
 
97
- Type `/` in the editor to open command completion. [Extensions](/extensions) can register custom commands, [skills](/skills) run as `/skill:name`, and [prompt templates](/prompt-templates) expand via `/templatename`. While viewing a subagent, built-in commands target `main` (confirming commands that replace or rewrite the main chat, refusing `/model` and `/thinking`, and using `/copy` for the viewed subagent's last message), while skills, prompt templates, and user or project extension commands target the viewed subagent; see [Commands while viewing a subagent](/background-tasks#commands-while-viewing-a-subagent).
84
+ Type `/` in the editor to open command completion. [Extensions](/extensions) can register custom commands, [skills](/skills) run as `/skill:name`, and [prompt templates](/prompt-templates) expand via `/templatename`.
98
85
 
99
- Commands that take no arguments (such as `/new`, `/tools`, `/reload`, `/tree`, `/fork`, `/clone`, `/settings`, and `/session` with anything other than `snapshot`) match only when entered bare. Appending extra text sends that text to the model as a normal prompt.
86
+ Commands that take no arguments match only when entered by themselves; adding extra text sends the line to the model as a regular prompt. While viewing a subagent, built-in commands target `main` (confirming destructive changes, refusing `/model` and `/thinking`, and using `/copy` for the viewed subagent's last message), while skills, templates, and user or project extension commands target the viewed subagent.
100
87
 
101
- `/settings` lists each setting and value, shortening long labels on narrow terminals. Type to search; press `Enter` or `Space` to step a value or open its picker (`›`). `Right` never changes or saves a setting. The selected setting's description appears below the list, and `Esc` clears search before closing.
88
+ Here are the everyday commands you will use most often:
102
89
 
103
90
  | Command | Description |
104
91
  | --- | --- |
105
- | `/login [provider]` | Sign in with an OAuth subscription or save an API key. Accepts an optional provider ID or display name ([Authentication](/getting-started/authentication), [Providers](/providers)) |
106
- | `/logout [provider]` | Remove stored credentials from `~/.atomic/agent/auth.json` (leaves environment variables and `models.json` unchanged; see [Authentication](/getting-started/authentication)) |
107
- | `/model [provider/model]` | Switch models and save the startup default ([Models](/models)). An exact case-insensitive match (`provider/id` or bare `id`, no `:thinking` suffix) switches immediately; other text opens the picker pre-filtered. Searches scoped models when active, otherwise all available models |
108
- | `/thinking [level]` | Set the thinking level (case-insensitive) and save the startup default. Rejects levels unsupported by the current model with an error listing available levels |
92
+ | `/login [provider]` | Sign in with an OAuth account/subscription or save an API key ([Authentication](/getting-started/authentication)) |
93
+ | `/logout [provider]` | Remove stored credentials from `~/.atomic/agent/auth.json` (leaves env vars and `models.json` untouched) |
94
+ | `/model [provider/model]` | Switch models and save the startup default ([Choose a model](/models/choose-a-model)). Exact matches switch immediately; other text pre-filters the picker. Inside the picker, press `←`/`→` to adjust effort level and `Tab` to toggle scoped vs. all models |
95
+ | `/thinking [level]` | Set the thinking level and save the startup default (rejects levels unsupported by the current model) |
109
96
  | `/scoped-models` | Enable, disable, and reorder models for `Ctrl+P` cycling ([`enabledModels`](/settings#enabledmodels)) |
110
- | `/settings` | Change [theme](/themes) (Atomic has no `/theme` command), message delivery, transport, and other [settings](/settings) |
111
- | `/resume [id\|prefix]` | Open a session directly by full ID or unique 8-hex prefix, or browse previous sessions when called with no argument |
97
+ | `/settings` | Change [theme](/themes), delivery mode, transport, and other [settings](/settings). Type to search, press `Enter`/`Space` to toggle or open pickers (`Right` never edits a setting), and `Esc` clears search before closing |
98
+ | `/resume [id\|prefix]` | Open a session by exact ID or unique 8-hex prefix, or browse sessions with no argument |
112
99
  | `/new` | Start a new session |
113
- | `/name [name]` | Set the session display name, or print the current name when called with no argument |
114
- | `/session [snapshot]` | Show session location, ID, messages, tokens, and cost; `snapshot` shows [worktree snapshots](/worktree-snapshots) and diffs |
115
- | `/tools` | Show active [tools](/tools), why other tools are off, and unregistered names in `defaultTools` |
116
- | `/tasks [taskId]` | Inspect [background tasks](/background-tasks) (subagents and shells), or open a specific task directly by task ID |
117
- | `/tree` | Jump to any point in the session tree and continue from there |
118
- | `/fork` | Create a new session from an earlier user message |
119
- | `/clone` | Duplicate the current active branch into a new session |
120
- | `/compact [instructions]` | Clear or compact the context window so the agent recovers details from session history. A manual `/compact` can take over an automatic compaction in progress; a second manual call warns and is ignored |
121
- | `/copy` | Copy the last assistant message to the clipboard |
122
- | `/export [file]` | Export the session to HTML (default) or to a JSONL export when `file` ends in `.jsonl` (case-insensitive). Accepts quoted paths with spaces and rejects unclosed quotes |
123
- | `/import <file>` | Import an exported `.jsonl` session (accepts quoted paths; asks for confirmation before replacing the current session) |
124
- | `/share` | Upload a private GitHub gist with a shareable HTML link. Requires `gh` installed and authenticated (`gh auth login`); strips worktree snapshot contents and large tool-output blobs from the uploaded copy |
125
- | `/trust` | Save a [project trust](/security) decision for future sessions |
126
- | `/reload` | Reload keybindings, extensions, skills, prompts, themes, context files, system prompt files, `settings.json`, and `models.json` (refused while the agent is streaming or compaction is active) |
127
- | `/hotkeys` | Show all keyboard shortcuts |
128
- | `/changelog` | Display the full version history |
129
- | `/debug` | Unlisted diagnostic command that appends a UI and message snapshot to `~/.atomic/agent/atomic-debug.log` and prints the file path (see [Debugging](/development#debugging)) |
100
+ | `/name [name]` | Set the session display name, or print the current name (warns `Usage: /name <name>` if unnamed) |
101
+ | `/session [snapshot]` | Show session ID, name, token/cache usage, and per-model cost; `snapshot` shows [worktree snapshots](/worktree-snapshots) and diffs |
102
+ | `/tools` | Show active [tools](/tools) and why other tools are disabled |
103
+ | `/tasks [taskId]` | Inspect [background tasks](/background-tasks) (subagents and shells), or open a specific task by ID |
104
+ | `/tree` | Navigate the session tree and continue from any point |
105
+ | `/fork` | Create a new session branching from an earlier user message |
106
+ | `/clone` | Duplicate the active branch into a new session |
107
+ | `/compact [instructions]` | Clear or compact the context window (requires at least two messages; manual `/compact` can take over an active auto-compaction) |
108
+ | `/copy` | Copy the viewed agent's last assistant message to the clipboard |
109
+ | `/export [file]` | Export to HTML (`atomic-session-<session>.html` in the current directory by default) or JSONL when `file` ends in `.jsonl` |
110
+ | `/import <file>` | Import an exported `.jsonl` session (confirms before replacing the current session) |
111
+ | `/share` | Export `session.jsonl` to a secret GitHub gist via `gh` and print both viewer and gist URLs |
112
+ | `/trust` | Save a [project trust](/security) decision (restart Atomic for a changed decision to apply to the current session) |
113
+ | `/reload` | Reload keybindings, extensions, skills, prompts, themes, context files, `settings.json`, and `models.json` (refused while streaming or compacting) |
114
+ | `/hotkeys` | Show a quick summary of common editor, app, and extension shortcuts (press `?` on an empty prompt or picker for contextual keys) |
130
115
  | `/exit`, `/quit` | Exit Atomic |
131
116
 
132
- **Bundled extension commands:** Atomic's bundled extensions also register `/agents` ([subagents](/subagents)), `/mcp` ([MCP servers](/mcp-servers)), `/intercom` ([Intercom](/intercom)), `/llama` (load, unload, or download local `llama.cpp` router models from Hugging Face; see [Local models](/llama-cpp)), and `/curator`, `/websearch`, `/search`, `/google-account` ([Web access](/web-access)).
117
+ Atomic's bundled extensions also register `/agents` ([Subagents](/subagents)), `/mcp` ([MCP servers](/mcp-servers)), `/intercom` ([Intercom](/intercom)), `/llama` ([Local models](/llama-cpp)), and `/curator`, `/websearch`, `/search`, `/google-account` ([Web access](/web-access)).
118
+
119
+ For the complete command catalog, exact argument parsing rules, and subagent-view routing, see the [Slash commands reference](/slash-commands).
133
120
 
134
121
  ## Message queue
135
122
 
136
- You can submit messages while the agent works. Atomic runs your session in a background session process separate from the terminal UI so queued input and interrupts stay responsive.
123
+ Because Atomic runs the session in a separate background process from the terminal UI ([How Atomic works](/how-atomic-works)), you can keep typing, queue follow-ups, or interrupt work while the agent streams or runs tools.
137
124
 
138
125
  ### Queueing and interrupting
139
126
 
140
- The same queue and interrupt keys apply on `main` and while viewing a subagent, except `Esc` pauses a viewed subagent instead of interrupting `main`:
141
-
142
- - **`Enter`** queues a steering message, delivered after the current assistant turn finishes its tool calls.
143
- - **`Alt+Enter`** (**`Ctrl+Q`** on Windows and WSL) queues a follow-up message, delivered after the agent finishes all work.
144
- - **`Escape`** aborts active or queued work and restores still-queued steering and follow-up messages to the editor. The session stays paused until you submit the next ordinary chat message, which releases any held queue before starting the turn. Another `Escape` while paused restores newly queued text without releasing the pause.
145
- - **`Ctrl+C`** clears editor text first. On an empty editor, it aborts active or queued work and pauses queued messages in place in their original order until your next ordinary submission. After the abort settles, `Ctrl+C` on an empty editor displays `Press Ctrl+C again to exit` without releasing the hold, and a second press within 0.8 seconds exits.
146
- - **`Alt+Up`** (**`Alt+Q`** on Windows and WSL) retrieves queued messages back to the editor without aborting active work or resuming a paused session. It restores only messages the agent has not already taken into its turn, and reports an error without dropping messages if the background session process is unreachable.
147
-
148
- Each queue keeps submission order, and steering messages run ahead of follow-ups. Messages submitted during compaction, prompt templates, skills, and messages sent by slash commands wait in queue order until compaction ends or is cancelled. Non-prompt slash commands such as `/settings`, `/tasks`, and `/model` run immediately during compaction.
127
+ The same keys apply on `main` and while viewing a subagent, except `Esc` pauses a viewed subagent instead of interrupting `main`:
149
128
 
150
- Messages submitted while Atomic prepares a prompt, waits to retry a failed request, or finishes end-of-run extension hooks queue the same way and join the next turn boundary in order. If the first message sent after compaction fails, it stays queued ahead of later messages so your next submission retries them in order, and `Alt+Up` (or `Alt+Q`) returns them together.
129
+ | Action | macOS / Linux | Windows / WSL | Effect |
130
+ | --- | --- | --- | --- |
131
+ | Queue steering message | `Enter` | `Enter` | Runs after the current turn finishes its tool calls |
132
+ | Queue follow-up message | `Alt+Enter` | `Ctrl+Q` | Runs after the agent finishes all current work |
133
+ | Abort and restore queue | `Esc` | `Esc` | Aborts active or queued work, restores queued messages to the editor, and pauses until your next ordinary message |
134
+ | Clear, interrupt, or exit | `Ctrl+C` | `Ctrl+C` | Clears editor text first; on an empty editor aborts work and holds queued messages in order; pressing twice within 0.8 s while idle exits |
135
+ | Retrieve queued messages | `Alt+Up` | `Alt+Q` | Pulls still-queued messages back into the editor without aborting active work or unpausing |
151
136
 
152
- Interrupts hold only messages still waiting in the queue. A message the agent already picked up stays in the transcript; if an interrupt cancels its reply before any output prints, Atomic answers it rather than stranding it. A reply that already began printing stays as printed, and sending a message while a recovered reply streams queues cleanly until it finishes.
137
+ Steering messages always run ahead of follow-ups in submission order. Messages, templates, and skills submitted during compaction or retry waits queue in order until compaction completes or is cancelled, while non-prompt slash commands such as `/settings`, `/tasks`, and `/model` run immediately.
153
138
 
154
- On Windows and WSL, follow-up queueing defaults to `Ctrl+Q` and dequeue defaults to `Alt+Q`, avoiding Windows Terminal's `Alt+Enter` fullscreen binding. Only remap `Alt+Enter` in [Terminal setup](/terminal-setup) if you explicitly rebind an action to `alt+enter`.
139
+ Interrupts hold only messages still waiting in the queue. A message the agent already started stays in the transcript; if an interrupt cancels its reply before any output appears, Atomic answers it rather than stranding it.
155
140
 
156
- Configure delivery behavior with `steeringMode` and `followUpMode` in [Settings](/settings#message-delivery).
141
+ On Windows and WSL, follow-up queueing uses `Ctrl+Q` and dequeue uses `Alt+Q` to avoid Windows Terminal's `Alt+Enter` fullscreen toggle. Configure delivery rules with `steeringMode` and `followUpMode` in [Settings](/settings#message-delivery).
157
142
 
158
143
  ### Interrupt grace period and recovery
159
144
 
160
- Both abort paths request cooperative cancellation and keep the background session process running during normal interrupts. Pending tool calls abort immediately with `Operation aborted`. Any active tool call still running 10 seconds after the interrupt (configurable via `ATOMIC_TOOL_ABORT_GRACE_MS`; see [Environment variables](/environment-variables)) receives `Operation aborted: <tool> did not stop within 10 seconds after the turn was interrupted`, letting the turn finish while discarding any later output from that call.
145
+ Normal interrupts request cooperative cancellation while keeping the background session process running. Pending tool calls abort immediately. If an active tool call does not stop within **10 seconds** (configurable via [`ATOMIC_TOOL_ABORT_GRACE_MS`](/environment-variables#diagnostics-and-performance)), the turn moves on with an abort notice and discards late output from that call.
161
146
 
162
- `Ctrl+C` also provides explicit recovery. It closes an extension's custom UI if that UI does not handle `Ctrl+C`. If the background session process stops answering, or a cancel or queue-clear request fails or stalls for over one second, `Ctrl+C` terminates and restarts the session process. Recovery never triggers automatically. Restarting the session process interrupts running tools; check `/tasks` and the transcript before repeating actions.
147
+ <Note>
148
+ **Manual recovery with `Ctrl+C`:** If a custom extension dialog stops responding to input, `Ctrl+C` closes it. If the background session process stops answering—or a cancel or queue-clear request stalls for over one second—`Ctrl+C` terminates and restarts the session process. Recovery never triggers automatically. Check `/tasks` and the transcript before repeating interrupted actions.
149
+ </Note>
163
150
 
164
- If sending fails, Atomic restores your unsent text (including pasted content) to the editor above any text typed while the send was pending, along with later queued messages in order, without adding a redundant red error. See [Keybindings](/keybindings#application).
151
+ If sending fails, Atomic restores your unsent text (including pasted content) to the editor above anything typed while the send was pending, keeping later queued messages in order. See [Application keybindings](/keybindings#application).
165
152
 
166
153
  ## Sessions
167
154
 
168
- Sessions auto-save to the local SQLite database `~/.atomic/workflows/journal.sqlite` by default. JSONL session directories such as `~/.atomic/agent/sessions/` are opt-in via `--session-dir`, `ATOMIC_CODING_AGENT_SESSION_DIR`, or `sessions.storage`.
169
-
170
- Common session flags include `atomic -c` (continue latest in this directory), `atomic -r` (browse sessions), `atomic --session <id|prefix>`, `atomic --fork <id|prefix>`, `atomic --name "Refactor"`, `atomic --import <file>`, and `atomic --no-session`. See [CLI session options](/reference/cli#session-options) for the full list.
171
-
172
- Useful interactive session commands:
173
-
174
- - `/session` shows the current session location, ID, and usage stats (`/session snapshot` shows worktree snapshots).
175
- - `/tree` navigates the session tree and can summarize abandoned branches.
176
- - `/fork` creates a new session from an earlier user message.
177
- - `/clone` duplicates the current active branch into a new session.
178
- - `/compact [instructions]` clears the context window so the agent recovers needed context from session history (or compacts through a configured `compactionModel`).
155
+ Sessions auto-save to `~/.atomic/workflows/journal.sqlite` by default; JSONL session directories (`~/.atomic/agent/sessions/`) and shared PostgreSQL databases are opt-in.
179
156
 
180
- See [Sessions](/sessions) and [Compaction](/compaction) for storage selection, ID matching, branching, and compaction details.
157
+ Common startup flags include `atomic -c` (continue latest in this directory), `atomic -r` (browse sessions), `atomic --session <id|prefix>`, `atomic --fork <id|prefix>`, `atomic --name "Refactor"`, `atomic --import <file>`, and `atomic --no-session`. See [Manage sessions](/sessions), [Context and compaction](/compaction), and [CLI session options](/reference/cli#session-options).
181
158
 
182
159
  ## Context and system prompt files
183
160
 
184
- Atomic loads `AGENTS.override.md`, `AGENTS.md`, `AGENTS.MD`, `CLAUDE.md`, or `CLAUDE.MD` from global config directories, ancestor directories up to the filesystem root, and the current directory. See [Add project instructions](/getting-started/project-instructions) for exact single-file-per-directory priority, worktree shadowing, and untrusted-project rules. Disable context files for one run with `--no-context-files` or `-nc`.
161
+ Atomic automatically loads project instructions (`AGENTS.override.md`, `AGENTS.md`, or `CLAUDE.md`) from global config, ancestor directories, and the current trusted project, plus optional `SYSTEM.md` (replace the default system prompt) and `APPEND_SYSTEM.md` (append standing instructions). See [Add project instructions](/getting-started/project-instructions) for exact precedence, worktree deduplication, and trust rules. Disable context files for one run with `--no-context-files` (`-nc`).
185
162
 
186
- ### System prompt files
187
-
188
- Replace the default system prompt with `SYSTEM.md` or append standing instructions with `APPEND_SYSTEM.md`. Atomic loads only the **first existing file** in this order:
189
-
190
- 1. `.atomic/SYSTEM.md` (trusted projects only)
191
- 2. `.pi/SYSTEM.md` (trusted projects only)
192
- 3. `~/.atomic/agent/SYSTEM.md`
193
- 4. `~/.pi/agent/SYSTEM.md`
194
-
195
- `APPEND_SYSTEM.md` uses the exact same four-path order, so a project `APPEND_SYSTEM.md` **replaces** (does not concatenate with) a global `APPEND_SYSTEM.md`. Passing `--system-prompt` overrides `SYSTEM.md`, and passing `--append-system-prompt` replaces any discovered `APPEND_SYSTEM.md`. Context files and skills still append even when `SYSTEM.md` or `--system-prompt` replaces the default prompt.
196
-
197
- The default prompt instructs the agent to write self-describing code without unnecessary comments unless requested. Ask for comments directly in your prompt or add a standing rule in a context file or `APPEND_SYSTEM.md`.
198
-
199
- The agent recalls earlier sessions in this project through `history://` when you reference past work, tackle a similar task, or plan verification. Subagents can recall session history too, and with a shell tool the agent also searches commits, issues, and pull requests. See [Recalling earlier work](/sessions#recalling-earlier-work).
163
+ The agent can also recall earlier sessions in the same project through `history://` when you reference past work or comparable tasks. See [Recalling earlier work](/sessions#recalling-earlier-work).
200
164
 
201
165
  ## Exporting and sharing sessions
202
166
 
203
- Use `/export [file]` to write a session to HTML (default) or to a JSONL export when the filename ends in `.jsonl` (case-insensitive). Quoted filenames work for paths containing spaces, and unclosed quotes return an error. In exported HTML, press `T` to toggle thinking, `O` to toggle tool output, and `H` to show custom messages hidden in the terminal.
167
+ Use `/export [file]` to export the current session to HTML (defaulting to `atomic-session-<session>.html` in the current working directory) or to JSONL when `file` ends in `.jsonl` (case-insensitive). Paths containing spaces can be quoted; unclosed quotes return an error. In exported HTML, press `T` to toggle thinking blocks, `O` to toggle tool output, and `H` to show hidden custom messages.
168
+
169
+ Use `/import <file>` to load an exported `.jsonl` session; Atomic asks for confirmation before replacing the current session.
204
170
 
205
- `atomic --export <session.jsonl> [file]` renders a single subagent launch on the selected branch as an `Agent(...)` card showing its prompt, tool calls, and final answer. Parallel launches and other extension tools keep their normal export format.
171
+ Use `/share` to export a copy of the session as `session.jsonl` (stripping worktree snapshot contents and large tool-output blobs), upload it as a secret GitHub gist with `gh`, and print both:
206
172
 
207
- Use `/share` to upload a private GitHub gist with a shareable link that opens in `https://bastani.ai/session/` (override with [`ATOMIC_SHARE_VIEWER_URL`](/environment-variables)). `/share` requires the GitHub CLI (`gh`) installed and authenticated, and strips worktree snapshot contents and large tool-output blobs before uploading.
173
+ - **`Share URL`:** Opens the gist in `https://bastani.ai/session/` (override with [`ATOMIC_SHARE_VIEWER_URL`](/environment-variables)).
174
+ - **`Gist`:** The raw GitHub gist URL.
208
175
 
209
- Treat exported and shared sessions as sensitive. Transcripts can contain source code, file paths, and credentials; review a session before sharing it with anyone who has the link.
176
+ `/share` requires the GitHub CLI (`gh`) installed and authenticated (`gh auth login`). Press `Esc` or `Ctrl+C` while uploading to cancel.
210
177
 
211
- ## CLI reference
178
+ <Warning>
179
+ Treat exported and shared sessions as sensitive. Transcripts can contain source code, file paths, and credentials—review a session before sharing it with anyone who has the link.
180
+ </Warning>
212
181
 
213
- All CLI commands, flags, model-matching rules, and environment variables live in the [CLI reference](/reference/cli):
182
+ ## Next steps
214
183
 
215
- - [Modes](/reference/cli#modes), [Model options](/reference/cli#model-options), and [Session options](/reference/cli#session-options)
216
- - [Tool options](/reference/cli#tool-options), [Project trust options](/reference/cli#project-trust-options), [Resource options](/reference/cli#resource-options), and [Other options](/reference/cli#other-options)
217
- - [File arguments](/reference/cli#file-arguments), [Examples](/reference/cli#examples), [Package commands](/reference/cli#package-commands), [Credential commands](/reference/cli#credential-commands), and [Environment variables](/reference/cli#environment-variables)
184
+ <Columns cols={2}>
185
+ <Card title="CLI reference" href="/reference/cli">
186
+ Every flag, subcommand, model-matching rule, and exit code.
187
+ </Card>
188
+ <Card title="Slash commands" href="/slash-commands">
189
+ Complete list of built-in and bundled extension slash commands.
190
+ </Card>
191
+ <Card title="Keybindings" href="/keybindings">
192
+ All keyboard shortcuts, picker controls, and custom keybindings.
193
+ </Card>
194
+ <Card title="How Atomic works" href="/how-atomic-works">
195
+ Mental model of the agent loop, two-process runtime, and context assembly.
196
+ </Card>
197
+ </Columns>