@bastani/atomic 0.10.14 → 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 +17 -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 +1 -1
  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/intercom.md CHANGED
@@ -1,55 +1,43 @@
1
1
  ---
2
2
  title: "Coordinate sessions with Intercom"
3
- sidebarTitle: "Intercom guide"
3
+ sidebarTitle: "Coordinate sessions"
4
4
  description: "Send messages, ask non-blocking questions, and escalate subagent decisions between Atomic sessions."
5
5
  ---
6
6
 
7
- Intercom provides direct and broadcast messaging between Atomic sessions on the same machine, or across multiple machines that share a [storage database](/storage#sharing-storage-across-hosts). You can send context, findings, or requests yourself, or let agents coordinate directly. No separate install is required.
7
+ Intercom provides direct and broadcast messaging between Atomic sessions on the same machine, or across multiple machines sharing a [PostgreSQL database](/storage#sharing-storage-across-hosts). You can message another session yourself or let agents coordinate directly, with no separate install required.
8
8
 
9
- New to Intercom? Start with [Intercom overview](/guides/intercom). For multi-machine setup, broker upgrades, and recovery, see [Operate Intercom](/intercom/operations). For the tool schema, settings, and SDK errors, see [Intercom reference](/intercom/reference). For programmatic group and reach control, see [Intercom group and reach in the SDK](/sdk#intercom-group-and-reach).
9
+ | What you want | Use this |
10
+ | --- | --- |
11
+ | Send a message from the terminal UI | Press `Alt+M` or run `/intercom` |
12
+ | Send a fire-and-forget update or handoff | `intercom({ action: "send", to, message })` |
13
+ | Ask a question without blocking the caller | `intercom({ action: "ask", to, message })` |
14
+ | Answer an incoming ask | `intercom({ action: "reply", message })` |
15
+ | Escalate a subagent decision or interview | `contact_supervisor({ reason, message, interview? })` |
16
+ | Coordinate sessions across machines or teams | [Running Intercom across machines](/intercom/operations#running-intercom-across-machines) |
10
17
 
11
- The `/intercom` command, `Alt+M` shortcut, and `intercom` tool are available as soon as Atomic starts. An interactive session joins Intercom automatically in the background 3 seconds after startup, so other sessions in its group can list and message it before it uses Intercom itself. Startup never waits for this connection.
18
+ ## How sessions join
12
19
 
13
- Print (`-p`), JSON, RPC, and SDK sessions connect on first Intercom use or when they launch a subagent with Intercom. Interactive sessions do the same when startup join is disabled (`ATOMIC_INTERCOM_JOIN_AT_STARTUP=0` or `false`, legacy alias `PI_INTERCOM_JOIN_AT_STARTUP`, or `joinAtStartup: false` in [Intercom configuration](/intercom/reference#configuration) without `ATOMIC_INTERCOM_JOIN_AT_STARTUP=1` or `true`; unrecognized environment values are ignored). A subagent launched with Intercom connects as soon as its session starts and inherits the launching session's group unless the launch sets `group`.
20
+ The `/intercom` command, `Alt+M` shortcut, and `intercom` tool are available as soon as Atomic starts. Interactive sessions join Intercom automatically in the background 3 seconds after startup, so other sessions in their group can list and message them right away without slowing startup.
14
21
 
15
- **Key capabilities:**
22
+ Print (`-p`), JSON, RPC, and SDK sessions connect on first Intercom use or when they launch a subagent with Intercom. Interactive sessions do the same when startup join is disabled (`joinAtStartup: false` in [Intercom configuration](/intercom/reference#configuration), or `ATOMIC_INTERCOM_JOIN_AT_STARTUP=0` / `false`). Subagents launched with Intercom connect immediately before their first turn and inherit the launching session's group unless the launch sets `group`.
16
23
 
17
- - **Session messaging.** Call `send`, `ask`, `reply`, `pending`, `cancel`, `list`, `groups`, and `status` through the `intercom` tool. Calls to `ask` never block; late replies arrive as messages.
18
- - **Runtime groups.** Add or remove named memberships without restarting. Joined sessions keep their Intercom session IDs, and later subagents inherit the most recently joined membership.
19
- - **Session and group discovery.** List connected sessions or every active group with session counts and membership markers.
20
- - **Keyboard overlay.** Press `Alt+M` or run `/intercom` to pick a session and compose a message.
21
- - **Attachments.** Share `file`, `snippet`, and `context` payloads between sessions.
22
- - **Subagent escalation.** Subagents receive `contact_supervisor` for decisions, structured interviews, and progress updates.
23
- - **Run notifications.** Subagents deliver run results and activity notices to their launching session over Intercom.
24
- - **Bundled skill.** Run `/skill:intercom` for planner-worker, group, broadcast, and escalation patterns.
25
- - **Programmatic reach policies.** Embedded SDK hosts can constrain a session's reachable groups via [Intercom group and reach](/sdk#intercom-group-and-reach) and [Reach policies](/intercom/reference#reach-policies).
26
-
27
- **Common use cases:**
28
-
29
- - Planner and worker splits across two terminals.
30
- - Research-to-implementation context handoffs.
31
- - Supervisor decisions and structured interviews for subagents.
32
- - Peer-to-peer coordination across parallel subagents.
33
- - Pair debugging between sessions.
34
-
35
- ## Where to go next
36
-
37
- Read this page for the quick start, coordination patterns, and supervisor escalation. Then continue to:
38
-
39
- - [Operate Intercom](/intercom/operations) for connection lifecycles, delivery recovery, broker upgrades, and troubleshooting.
40
- - [Running Intercom across machines](/intercom/operations#running-intercom-across-machines), [Sharing storage across hosts](/storage#sharing-storage-across-hosts), and [Set up teams and CI](/guides/team-setup) for multi-machine messaging through shared storage.
41
- - [Intercom reference](/intercom/reference) for the `intercom` tool contract, targeting rules, error classes, and every Intercom setting.
42
- - [Intercom group and reach in the SDK](/sdk#intercom-group-and-reach) and [SDK tools](/sdk/reference#tools) for programmatic reach policies and `builtins.intercom`.
24
+ Atomic enables `intercom` by default unless excluded by tool allowlists, exclusions, or `noTools: "all"`. For programmatic setup, `builtins: { intercom: false }`, and group reach policies, see [SDK tools](/sdk/reference#tools) and [Reach policies](/intercom/reference#reach-policies).
43
25
 
44
26
  ## Quick start
45
27
 
46
28
  ### From the keyboard
47
29
 
48
- Press **`Alt+M`** or run `/intercom` to open the session list overlay (`Alt+M` is bound by the Intercom extension rather than `keybindings.json`; `/intercom` always works as a fallback):
49
-
50
- 1. **Select a session.** Use arrow keys to choose a target session.
51
- 2. **Compose a message.** Type your message in the compose overlay.
52
- 3. **Send.** Press `Enter` to send or `Esc` to cancel.
30
+ <Steps>
31
+ <Step title="Name your sessions (optional)">
32
+ Run `/name planner` in one terminal and `/name worker` in another so each session has a readable target name.
33
+ </Step>
34
+ <Step title="Open the Intercom overlay">
35
+ Press `Alt+M` or run `/intercom` to open the session list overlay (`Alt+M` is bound by the Intercom extension rather than `keybindings.json`; `/intercom` always works as a fallback).
36
+ </Step>
37
+ <Step title="Select a session and send">
38
+ Use the arrow keys to pick a target session, press `Enter`, type your message, and press `Enter` to send (or `Esc` to cancel).
39
+ </Step>
40
+ </Steps>
53
41
 
54
42
  Sent messages are recorded in session history and confirmed with a notification.
55
43
 
@@ -66,7 +54,7 @@ intercom({ action: "list" })
66
54
  // **Other visible sessions:**
67
55
  // - `6332faab-1111-4222-8333-123456789abc` [same cwd, thinking] ~/projects/api (claude-sonnet-4) name: research
68
56
 
69
- // Send a message
57
+ // Send a fire-and-forget message
70
58
  intercom({ action: "send", to: "research", message: "Check if UserService.validate() handles null" })
71
59
  // Output: Message sent to research
72
60
 
@@ -75,13 +63,13 @@ intercom({ action: "send", to: "subagent-worker-*", message: "Scope changed: ski
75
63
  intercom({ action: "send", to: "subagents:*", message: "Stop and report what you have" })
76
64
  // Output lists each recipient's outcome: delivered, queued, or not delivered with the reason
77
65
 
78
- // Full session IDs printed by list are also valid targets
66
+ // Ask a non-blocking question (session IDs from list are valid targets too)
79
67
  intercom({ action: "ask", to: "6332faab-1111-4222-8333-123456789abc", message: "Which validation path should I use?" })
80
68
  // Quick replies return inline. Otherwise:
81
69
  // Ask 4c4d8427-... delivered to research (busy: running bash).
82
70
  // The reply arrives later as a message starting "Reply to your ask 4c4d8427-... from research".
83
71
 
84
- // Ask without waiting, or wait up to a budget (same shape as bash)
72
+ // Control how long ask waits for an inline reply (same wait shape as bash)
85
73
  intercom({ action: "ask", to: "research", message: "Any blockers?", wait: { kind: "background" } })
86
74
  intercom({ action: "ask", to: "research", message: "Any blockers?", wait: { kind: "foreground", budgetMs: 60000 } })
87
75
 
@@ -90,9 +78,16 @@ intercom({ action: "pending" })
90
78
  intercom({ action: "cancel", askId: "4c4d8427" })
91
79
  intercom({ action: "cancel", replyTo: "9f2c1e07" })
92
80
 
93
- // Check connection status
81
+ // Check connection and routing status
94
82
  intercom({ action: "status" })
95
- // Output: Connected: Yes, Session ID: abc12345-1111-4222-8333-123456789abc, Active sessions: 3
83
+ // Output:
84
+ // **Intercom Status:**
85
+ // Connected: Yes
86
+ // Session ID: abc12345-1111-4222-8333-123456789abc
87
+ // Groups: default
88
+ // Active visible sessions: 3
89
+ // Multi-node routing: off: the shared storage selection names no database
90
+ // Your asks awaiting a reply: 0
96
91
 
97
92
  // Send with attachments (file, snippet, or context)
98
93
  intercom({
@@ -121,31 +116,31 @@ Found the issue: UserService.validate() does not check for null input.
121
116
  See auth.ts:142-156.
122
117
  ```
123
118
 
124
- The reply hint is enabled by default and points to `intercom({ action: "reply", ... })`, so recipients rarely need raw sender or `replyTo` IDs. Idle recipients start a new turn immediately; busy interactive main sessions receive incoming messages when they become idle. Attachment content is included in the model-visible body, and messages are stored in Atomic session history.
119
+ The reply hint is enabled by default, so recipients can answer with `intercom({ action: "reply", message: "..." })` without tracking raw message IDs. Idle recipients start a new turn immediately, while busy interactive main sessions receive incoming messages when they become idle. Attachment content appears inside the model-visible body, and messages are stored in session history.
125
120
 
126
- The recipient saves each message to its session as soon as it arrives, and the sender sees `delivered` only after that save succeeds. If the recipient closes or crashes before showing a saved message, resuming it with `atomic --session <id>` or `/resume` replays unread messages once in arrival order when the sender is still connected.
121
+ The recipient saves each message before confirming `delivered` to the sender. If a busy recipient closes or crashes before displaying a saved message, resuming it with `atomic --session <id>` or `/resume` replays unread messages once in arrival order when the sender is still connected. Messages from a sender that is gone are recorded once without starting a turn, and sessions started with `--no-session` cannot recover unread messages after exit.
127
122
 
128
- Messages from a sender that is gone are recorded once in full without starting a turn. Messages whose sender cannot be checked yet (such as when Intercom is unreachable or a relaunched subagent has not reconnected) are deferred until the next reopen. Sessions started with `--no-session` are not saved, so their unread messages cannot be recovered.
123
+ ### Delivery modes for working subagents
129
124
 
130
- Working subagents act on incoming `send` and `ask` messages in the same task and session according to the sender's case-sensitive `delivery` option (busy interactive main sessions wait until idle regardless of `delivery`):
125
+ Working subagents act on incoming `send` and `ask` messages in their active session according to the sender's case-sensitive `delivery` option (busy interactive main sessions always wait until idle):
131
126
 
132
127
  | `delivery` | When a working subagent receives it | Use it for |
133
128
  | --- | --- | --- |
134
129
  | `"steer"` (default) | After its current tool calls finish. Current work is not cancelled. | Ordinary coordination, findings, and updates |
135
130
  | `"followUp"` | After the subagent finishes and stops. | Low-priority notes or follow-up tasks |
136
- | `"interrupt"` | Immediately. Current model call or cancellable tool call is cancelled, then the message runs next. | Urgent corrections or stop orders |
131
+ | `"interrupt"` | Immediately. Cancels the current model call or cancellable tool call, then runs the message next. | Urgent corrections or stop orders |
137
132
 
138
- Any sender can set `delivery` per `send` or `ask` call, including peers, the supervisor, and you. An idle recipient starts a turn for any mode. For example, `intercom({ action: "send", to: "worker", message: "Stop; the spec changed", delivery: "interrupt" })` cancels the worker's current tool call. Tools that ignore cancellation finish first, and completed side effects are not undone.
133
+ Any sender can set `delivery` per `send` or `ask` call, and an idle recipient starts a turn under any mode. For example, `intercom({ action: "send", to: "worker", message: "Stop; the spec changed", delivery: "interrupt" })` cancels the worker's current cancellable tool call; tools that ignore cancellation finish first, and completed side effects are not undone.
139
134
 
140
- Messages from one sender always reach the recipient in arrival order, whether delivered immediately, queued for idle, or replayed on resume. Startup messages join the original subagent task, and asks keep their reply threads. Subagent `pause` and `quit`, session cancellation, host stop, and permanently cancelled subagents take precedence over later messages.
135
+ Messages from one sender always arrive in order, whether delivered immediately, queued for idle, or replayed on resume. Subagent `pause` and `quit`, session cancellation, host stop, and permanent cancellation take precedence over later messages.
141
136
 
142
- Sending or asking a subagent that completed or failed resumes it automatically. The call returns at once with the message queued, the launching session resumes the subagent, and the subagent receives the message first. A paused or quit subagent is not resumed automatically; its messages wait with no time limit until the launching session continues it.
137
+ ### Offline and finished subagents
143
138
 
144
- Queued messages survive broker restarts and deliver once in order. If delivery becomes impossible because the subagent was cancelled, the launching session ended, or the launching session stayed away for 7 days in a row, the sender gets one delivery failure. See [Messages that resume a finished subagent](/intercom/reference#messages-that-resume-a-finished-subagent).
139
+ Sending or asking a completed or failed subagent resumes it automatically. The call returns immediately with the message queued, the launching session resumes the subagent, and the subagent receives the message as its next prompt. Messages to a paused or quit subagent wait in a queue with no time limit until the launching session continues it.
145
140
 
146
- A busy non-interactive recipient other than a running subagent can refuse a message without interrupting its work. A `delivered` receipt means the recipient saved the message, not that its model accepted it. Refusals keep the reply thread: an `ask` receives a failed-ask message (or an inline error while waiting), and a `send` delivers an **Intercom delivery failed** notice with a `Sent:` timestamp without triggering a standalone turn.
141
+ Queued messages survive broker restarts and deliver once in order. If delivery becomes impossible—because the subagent was cancelled, the launching session ended, or the launching session stayed away for 7 consecutive days—the sender receives one delivery failure. See [Messages that resume a finished subagent](/intercom/reference#messages-that-resume-a-finished-subagent).
147
142
 
148
- Atomic enables `intercom` by default, subject to tool allowlists, exclusions, and `noTools: "all"`. Include `"intercom"` in an explicit allowlist when you need it. An interactive session whose tool selection omits `intercom` does not join at startup. Print, JSON, RPC, and SDK sessions with `builtins: { intercom: false }` disable Intercom completely, and `/reload` does not restore it. See [SDK tools](/sdk/reference#tools) and [Reach policies](/intercom/reference#reach-policies) for programmatic setup, `session.intercom.setReachable()`, and `IntercomPolicyError`. `contact_supervisor` remains subagent-only.
143
+ A busy non-interactive recipient other than a running subagent can refuse a message without interrupting its work. Refusals keep the reply thread: an `ask` receives a failed-ask message (or an inline error while waiting), and a `send` delivers an **Intercom delivery failed** notice with a `Sent:` timestamp without starting a standalone turn.
149
144
 
150
145
  ## Coordination patterns
151
146
 
@@ -187,13 +182,13 @@ intercom({
187
182
  | **Peer handoff** | Sibling uses `send` | A researcher or debugger passes file paths, evidence, or a reproduction straight to the sibling that needs it. |
188
183
  | **Peer challenge** | Sibling uses `ask` | One reviewer or worker challenges another's finding with evidence while each still returns its own verdict. |
189
184
  | **Ownership claim** | Sibling uses `send` | Parallel writers divide file ownership or serialize a shared build, test suite, or migration. |
190
- | **Broadcast** | Sibling uses `send` to a group pattern | One agent shares a confirmed finding with every live sibling at once. |
191
-
192
- Peer-to-peer coordination is the default for subagent swarms. Subagents launched together share an Intercom group, so they list each other and coordinate directly without routing messages through the supervisor. Routing peer exchanges through the supervisor adds latency, drops detail, and fills supervisor context. Reserve `contact_supervisor` for supervisor decisions. See [Peer coordination](/subagents#peer-coordination).
185
+ | **Broadcast** | Sibling uses `send` with a pattern | One agent shares a confirmed finding with every live sibling at once. |
193
186
 
194
- Swarm size scales with the task. For large parallel tasks, hundreds or thousands of agents can organize into named groups and coordinate peer-to-peer. Intercom groups have no member limit. See [Scaling a swarm](/subagents#scaling-a-swarm) for the concurrency settings that bound active subagents.
187
+ Peer-to-peer coordination is the default for subagent swarms. Subagents launched together share an Intercom group, so they list each other and coordinate directly without routing peer messages through the supervisor. Reserve `contact_supervisor` for supervisor decisions. See [Peer coordination](/subagents#peer-coordination) and [Scaling a swarm](/subagents#scaling-a-swarm).
195
188
 
196
- The bundled `/skill:intercom` skill contains ready-to-use patterns for planner-worker delegation, broadcasts, attachments, supervisor escalations, and peer coordination.
189
+ <Tip>
190
+ Run `/skill:intercom` for ready-to-use planner-worker, group, broadcast, attachment, and escalation patterns.
191
+ </Tip>
197
192
 
198
193
  Add this snippet to your project's `AGENTS.md` to guide when agents should coordinate across sessions:
199
194
 
@@ -211,25 +206,25 @@ Coordinate with other local Atomic sessions on related codebases. Use `/skill:in
211
206
 
212
207
  ## Escalate subagent decisions with `contact_supervisor`
213
208
 
214
- By default (`intercomBridge.mode: "always"` in `~/.atomic/agent/extensions/subagent/config.json`, documented in [Subagent config.json reference](/subagents/reference#subagent-config-json-reference)), every subagent launched by a session with Intercom active receives the subagent-only `contact_supervisor` tool alongside `intercom`. Atomic wires up the supervisor target automatically with no manual configuration. Normal sessions never see `contact_supervisor`.
209
+ By default (`intercomBridge.mode: "always"` in [Subagent `config.json` reference](/subagents/reference#subagent-config-json-reference)), every subagent launched by a session with Intercom active receives the subagent-only `contact_supervisor` tool alongside `intercom`. Atomic wires up the supervisor target automatically; normal sessions never see `contact_supervisor`.
215
210
 
216
- Setting `intercomBridge.mode` to `"off"` (or `"fork-only"` for fresh subagents) limits `contact_supervisor` to agents that explicitly include it in their frontmatter tools list.
211
+ Setting `intercomBridge.mode` to `"off"` (or `"fork-only"` for fresh subagents) limits `contact_supervisor` to agents that explicitly list it in their frontmatter tools.
217
212
 
218
213
  ### Parameters and reasons
219
214
 
220
215
  | Parameter | Type | Description |
221
216
  | --- | --- | --- |
222
217
  | `reason` | string | `"need_decision"` (blocking), `"interview_request"` (blocking structured questions), or `"progress_update"` (fire-and-forget). |
223
- | `message` | string | Required for `progress_update`; strongly recommended for `need_decision` (an omitted `message` sends an empty question); optional note for `interview_request`. |
218
+ | `message` | string | Required for `progress_update`. Optional for `need_decision` (omitting it sends an empty question, so always pass a clear question) and optional note for `interview_request`. |
224
219
  | `interview` | object | Required for `interview_request`: `{ title?, description?, questions: [...] }`. |
225
220
 
226
221
  | Reason | Behavior | Use when |
227
222
  | --- | --- | --- |
228
223
  | `need_decision` | Waits inside the requesting subagent (up to 10 minutes) for the supervisor's correlated reply, then continues in that same subagent. | The subagent is blocked, uncertain, needs approval, or faces a product, API, or scope decision. |
229
224
  | `interview_request` | Waits inside the requesting subagent (up to 10 minutes) for structured answers from the supervisor, then continues in that same subagent. | The subagent needs multiple machine-readable answers in one exchange. |
230
- | `progress_update` | Fire-and-forget update to the supervisor. Returns immediately without waiting or disrupting siblings. | Meaningful progress or unexpected discoveries change the plan. |
225
+ | `progress_update` | Fire-and-forget update to the supervisor. Returns immediately without waiting or disrupting siblings. Under multi-node routing, queues automatically (`queued: true`) if the supervisor has no live session and delivers when the supervisor reconnects. | Meaningful progress or unexpected discoveries change the plan. |
231
226
 
232
- Do not use `contact_supervisor` for routine completion handoffs; return the final subagent result normally. A parent's `subagent({ action: "wait" })` call yields so the supervisor can reply without cancelling active or queued siblings.
227
+ Do not use `contact_supervisor` for routine completion handoffs; return the final subagent result normally. A parent's `subagent({ action: "wait" })` call yields so the supervisor can reply without cancelling active or queued siblings. If the broker refused a subagent's supervisor authorization when it registered, `contact_supervisor` retries that authorization once on the next call.
233
228
 
234
229
  ```typescript
235
230
  // Blocked subagent asks for guidance
@@ -248,7 +243,7 @@ contact_supervisor({
248
243
 
249
244
  ### Answering a subagent as the supervisor
250
245
 
251
- The supervisor receives the question with child and run identity plus a reply hint. Answer through `intercom({ action: "reply", message: "..." })`. If several questions are pending, run `intercom({ action: "pending" })` and pass the exact `replyTo`. Your answer returns as the subagent's tool result; never launch a replacement subagent just to answer it.
246
+ The supervisor receives the question with child and run identity plus a reply hint. Answer through `intercom({ action: "reply", message: "..." })`. If several questions are pending, run `intercom({ action: "pending" })` and pass the exact `replyTo`. Your answer returns as the subagent's tool result; do not launch a replacement subagent just to answer it.
252
247
 
253
248
  ### Structured interview replies
254
249
 
@@ -284,86 +279,30 @@ Questions arrive without reordering or rewriting. Reply with plain JSON or a fen
284
279
  }
285
280
  ```
286
281
 
287
- The subagent's tool result preserves the raw reply text and populates `details.structuredReply` when the JSON matches the expected question IDs and options. If JSON parsing or option validation fails, `details.structuredReply` is omitted and `details.structuredReplyParseError` describes the error while keeping the raw reply text.
288
-
289
- ### Embedded SDK sessions without background task management
290
-
291
- When an embedded SDK session launches a single subagent directly without background task management, a blocking `need_decision` or `interview_request` ends that subagent instead of waiting in place. The caller receives terminal run metadata, ordered attachments, the original delegated task (including any structured interview questions), and a fresh-start `[TASK_CONTEXT]` call:
292
-
293
- ```text
294
- Subagent yielded for parent input (worker, child 1).
295
- Previous run (terminal): 78f659a3
296
- Question:
297
- Which API should I use?
298
-
299
- Start a fresh subagent with a new run identity, replacing <SUPERVISOR_ANSWER> with your answer:
300
- subagent({
301
- "agent": "worker",
302
- "task": "[TASK_CONTEXT] ... Continue with this supervisor answer: <SUPERVISOR_ANSWER>"
303
- })
304
- ```
305
-
306
- ## Mixed versions
307
-
308
- Atomic 0.10.0 removed workflows and `workflow:<rootRunId>/...` stage targets, which now return `Session not found`. Sessions of 0.9.x and 0.10.0+ still exchange ordinary sends, asks, and replies through whichever broker is running. See [Mixed versions and workflows](/intercom/operations#mixed-versions-and-workflows).
309
-
310
- ## Intercom vs. shared-room messengers
311
-
312
- | Aspect | Intercom | Shared-room messengers |
313
- | --- | --- | --- |
314
- | **Model** | Direct messaging and group-scoped broadcasts | Shared broadcast channel or room |
315
- | **Primary use** | Coordinating your own sessions, supervisor escalation, and peer-to-peer agent swarms on one machine or across shared storage | Swarms that read and append to one shared public feed |
316
- | **Discovery** | Real-time broker registry, local or backed by shared storage | Shared room or file-based registry |
317
- | **Messages** | Targeted 1:1 messages, ask/reply threads, and pattern broadcasts within groups | Public broadcasts visible to every room member |
318
- | **Persistence** | Stored in each participant's Atomic session history | Shared room transcript or coordination files |
319
-
320
- Use Intercom for coordinating your own sessions and for peer-to-peer agent swarms that benefit from targeted delivery, ask/reply threads, and group isolation. Use a shared-room messenger only when every participant should read and append to a single public feed.
282
+ The subagent's tool result preserves the raw reply text and populates `details.structuredReply` when the JSON matches the expected question IDs and options. If parsing or validation fails, `details.structuredReply` is omitted and `details.structuredReplyParseError` describes the error while keeping the raw reply text.
283
+
284
+ <Note>
285
+ **Embedded SDK sessions without background task management.** When an embedded SDK session launches a single subagent directly without background task management, a blocking `need_decision` or `interview_request` ends that subagent instead of waiting in place. The caller receives terminal run metadata, ordered attachments, the original delegated task (including any structured interview questions), and a fresh-start `[TASK_CONTEXT]` `subagent(...)` call to launch with the supervisor's answer.
286
+ </Note>
287
+
288
+ ## Next steps
289
+
290
+ <Columns cols={2}>
291
+ <Card title="Operate Intercom" href="/intercom/operations">
292
+ Broker lifecycles, multi-machine routing over PostgreSQL, zero-downtime upgrades, and connection recovery.
293
+ </Card>
294
+ <Card title="Intercom reference" href="/intercom/reference">
295
+ Complete `intercom` tool specification, targeting rules, groups, wake queues, `config.json`, and SDK errors.
296
+ </Card>
297
+ <Card title="Set up teams and CI" href="/guides/team-setup">
298
+ Share Intercom across a team with PostgreSQL while keeping personal sessions local, plus CI runner setup.
299
+ </Card>
300
+ <Card title="Run subagents" href="/subagents">
301
+ Delegated subagent runs, peer coordination, worktrees, run control, and released subagents.
302
+ </Card>
303
+ </Columns>
321
304
 
322
- ## Related docs
323
-
324
- - [Operate Intercom](/intercom/operations) for broker lifecycles, upgrades, recovery, and multi-machine routing.
325
- - [Intercom reference](/intercom/reference) for tool parameters, targeting rules, reach policies, and error classes.
326
- - [Sharing storage across hosts](/storage#sharing-storage-across-hosts) and [Set up teams and CI](/guides/team-setup) for a shared PostgreSQL database.
327
- - [Intercom group and reach in the SDK](/sdk#intercom-group-and-reach) and [SDK tools](/sdk/reference#tools) for programmatic Intercom policies and `builtins.intercom`.
305
+ - [Intercom group and reach in the SDK](/sdk#intercom-group-and-reach) and [SDK tools](/sdk/reference#tools) for programmatic reach policies and `builtins.intercom`.
328
306
  - [Storage and Intercom CLI commands](/reference/cli#storage-and-intercom-commands) for `atomic intercom` and `atomic storage` subcommands.
329
- - [Run subagents](/subagents) for delegated subagent runs, supervisor coordination, and result delivery.
330
- - [Orchestrate with codemode and subagents](/orchestration) for multi-step tasks and completion notices.
331
- - [Skills](/skills) for reusable instructions like `/skill:intercom`.
332
- - [Environment variables](/environment-variables) for Intercom environment variables.
333
- - [Interactive use](/usage) for interactive commands and bundled extensions.
334
-
335
- ## Moved sections
336
-
337
- <div id="how-connection-works" />
338
-
339
- <div id="troubleshooting-initialization" />
340
-
341
- <div id="subagent-notifications" />
342
-
343
- <div id="subagent-control-notices" />
344
-
345
- <div id="delivery-ordering" />
346
-
347
- <div id="keyboard-shortcuts" />
348
-
349
- <div id="how-it-works" />
350
-
351
- <div id="limitations" />
352
-
353
- - **Intercom operations:** [How connection works](/intercom/operations#how-connection-works), [Troubleshooting initialization](/intercom/operations#troubleshooting-initialization), [Subagent notifications](/intercom/operations#subagent-notifications), [Subagent control notices](/intercom/operations#subagent-control-notices), [Delivery ordering](/intercom/operations#delivery-ordering), [Keyboard shortcuts](/intercom/operations#keyboard-shortcuts), [How it works](/intercom/operations#how-it-works), [Limitations](/intercom/operations#limitations).
354
-
355
- <div id="the-intercom-tool" />
356
-
357
- <div id="actions" />
358
-
359
- <div id="targeting-sessions" />
360
-
361
- <div id="groups" />
362
-
363
- <div id="send-vs-ask-vs-reply" />
364
-
365
- <div id="attachments" />
366
-
367
- <div id="configuration" />
368
-
369
- - **Intercom reference:** [The intercom tool](/intercom/reference#the-intercom-tool), [Actions](/intercom/reference#actions), [Targeting sessions](/intercom/reference#targeting-sessions), [Groups](/intercom/reference#groups), [send vs ask vs reply](/intercom/reference#send-vs-ask-vs-reply), [Attachments](/intercom/reference#attachments), [Configuration](/intercom/reference#configuration).
307
+ - [Orchestrate with codemode and subagents](/orchestration) for scripted multi-step workflows.
308
+ - [Environment variables](/environment-variables) for Intercom environment overrides.