@bastani/atomic 0.10.14 → 0.10.15-alpha.2

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 (342) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +1 -1
  3. package/dist/_shared/dist-KOELCESV.js +2 -2
  4. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  5. package/dist/_shared/lib-4PES5P4V.js +2 -2
  6. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +3 -3
  7. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +3 -3
  8. package/dist/_shared/mode-shared-2QJSCUM6.js +3 -3
  9. package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
  10. package/dist/_shared/runtime-O4KCSG4C.js +2 -2
  11. package/dist/_shared/{sdk-B5LEWGGI.js → sdk-OHKMDJ74.js} +27 -5
  12. package/dist/_shared/{sdk-B5LEWGGI.js.map → sdk-OHKMDJ74.js.map} +1 -1
  13. package/dist/_shared/session-data-AHTU7IS6.js +2 -2
  14. package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
  15. package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
  16. package/dist/_shared/{startup-0-2-5QHPCEON.js → startup-0-2-2HUMCPKX.js} +14 -16
  17. package/dist/_shared/startup-0-2-2HUMCPKX.js.map +1 -0
  18. package/dist/_shared/startup-0-3-4ZYBYQNM.js +3 -3
  19. package/dist/_shared/startup-0-4-ZMJV547D.js +3 -3
  20. package/dist/_shared/startup-0-5-YDW47QX6.js +3 -3
  21. package/dist/_shared/startup-10-0-TDQNBDDL.js +3 -3
  22. package/dist/_shared/startup-14-0-MLX36RBG.js +1 -1
  23. package/dist/_shared/startup-15-0-YUKGAC63.js +1 -1
  24. package/dist/_shared/startup-15-1-4S7FLMNG.js +6 -30
  25. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  26. package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
  27. package/dist/_shared/startup-8-1-LZFXSD3Z.js +3 -3
  28. package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
  29. package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
  30. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  31. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  32. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  33. package/dist/builtin/intercom/package.json +1 -1
  34. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  35. package/dist/builtin/mcp/package.json +1 -1
  36. package/dist/builtin/subagents/package.json +1 -1
  37. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  38. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  39. package/dist/builtin/web-access/package.json +1 -1
  40. package/dist/cli/auth-cli.code.js +1 -1
  41. package/dist/cli/auth-cli.impl.js +3 -3
  42. package/dist/cli/auth-cli.js +3 -3
  43. package/dist/cli/blueprint-command.impl.js +3 -3
  44. package/dist/cli/blueprint-command.js +3 -3
  45. package/dist/cli/intercom-command.code.js +3 -3
  46. package/dist/cli/intercom-command.impl.js +3 -3
  47. package/dist/cli/intercom-command.js +3 -3
  48. package/dist/cli/list-models.impl.js +3 -3
  49. package/dist/cli/list-models.js +3 -3
  50. package/dist/cli/session-picker.code.js +1 -1
  51. package/dist/cli/session-picker.impl.js +3 -3
  52. package/dist/cli/session-picker.js +3 -3
  53. package/dist/cli/startup-ui.code.js +1 -1
  54. package/dist/cli/startup-ui.impl.js +3 -3
  55. package/dist/cli/startup-ui.js +3 -3
  56. package/dist/cli/storage-command.impl.js +3 -3
  57. package/dist/cli/storage-command.js +3 -3
  58. package/dist/cli/storage-search-session.code.js +1 -1
  59. package/dist/cli/storage-search-session.impl.js +3 -3
  60. package/dist/cli/storage-search-session.js +3 -3
  61. package/dist/cli/team-command.code.js +1 -1
  62. package/dist/cli/team-command.impl.js +3 -3
  63. package/dist/cli/team-command.js +3 -3
  64. package/dist/cli.js +2 -2
  65. package/dist/core/compaction/compactor.d.ts +0 -8
  66. package/dist/core/debug.impl.js +3 -3
  67. package/dist/core/debug.js +3 -3
  68. package/dist/core/export-html/card-projection.impl.js +3 -3
  69. package/dist/core/export-html/card-projection.js +3 -3
  70. package/dist/core/export-html/index.code.js +2 -2
  71. package/dist/core/export-html/index.impl.js +3 -3
  72. package/dist/core/export-html/index.js +3 -3
  73. package/dist/core/export-html/json-spans.impl.js +3 -3
  74. package/dist/core/export-html/json-spans.js +3 -3
  75. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  76. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  77. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  78. package/dist/core/export-html/tool-renderer.js +3 -3
  79. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  80. package/dist/core/extensions/jiti-loader.js +3 -3
  81. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  82. package/dist/core/extensions/jiti-static-loader.js +3 -3
  83. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  84. package/dist/core/extensions/loader-host-modules.js +3 -3
  85. package/dist/core/intercom-broker-control-host.code.js +1 -1
  86. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  87. package/dist/core/intercom-broker-control-host.js +3 -3
  88. package/dist/core/intercom-broker-control.code.js +2 -2
  89. package/dist/core/intercom-broker-control.impl.js +3 -3
  90. package/dist/core/intercom-broker-control.js +3 -3
  91. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  92. package/dist/core/package-manager-storage-adapters.js +3 -3
  93. package/dist/core/sdk.code.js +1 -1
  94. package/dist/core/sdk.impl.js +3 -3
  95. package/dist/core/sdk.js +3 -3
  96. package/dist/core/session-manager-core.js +3 -3
  97. package/dist/core/session-manager-list.impl.js +3 -3
  98. package/dist/core/session-manager-list.js +3 -3
  99. package/dist/core/session-manager.impl.js +3 -3
  100. package/dist/core/session-manager.js +3 -3
  101. package/dist/core/session-storage.impl.js +3 -3
  102. package/dist/core/session-storage.js +3 -3
  103. package/dist/core/storage/index.js +2 -2
  104. package/dist/core/storage/node-sqlite-thread.js +2 -2
  105. package/dist/core/storage/node-sqlite.js +2 -2
  106. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  107. package/dist/core/storage/offline-snapshot-file.js +3 -3
  108. package/dist/core/storage/provider.js +2 -2
  109. package/dist/core/storage/selection.js +2 -2
  110. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  111. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  112. package/dist/core/storage/session/branch-fork-source.js +3 -3
  113. package/dist/core/storage/session/card-view.impl.js +3 -3
  114. package/dist/core/storage/session/card-view.js +3 -3
  115. package/dist/core/storage/session/child-reader.code.js +2 -2
  116. package/dist/core/storage/session/child-reader.impl.js +3 -3
  117. package/dist/core/storage/session/child-reader.js +3 -3
  118. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  119. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  120. package/dist/core/storage/session/expanded-child-details.code.js +2 -2
  121. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  122. package/dist/core/storage/session/expanded-child-details.js +3 -3
  123. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  124. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  125. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  126. package/dist/core/storage/session/fork-row-index.js +3 -3
  127. package/dist/core/storage/session/fork-staging.code.js +1 -1
  128. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  129. package/dist/core/storage/session/fork-staging.js +3 -3
  130. package/dist/core/storage/session/fork-window.code.js +2 -2
  131. package/dist/core/storage/session/fork-window.impl.js +3 -3
  132. package/dist/core/storage/session/fork-window.js +3 -3
  133. package/dist/core/storage/session/history-pages.impl.js +3 -3
  134. package/dist/core/storage/session/history-pages.js +3 -3
  135. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  136. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  137. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  138. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  139. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  140. package/dist/core/storage/session/memory-session-store.js +3 -3
  141. package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
  142. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  143. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  144. package/dist/core/storage/session/released-history-files.code.js +1 -1
  145. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  146. package/dist/core/storage/session/released-history-files.js +3 -3
  147. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  148. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  149. package/dist/core/storage/session/session-resume.impl.js +3 -3
  150. package/dist/core/storage/session/session-resume.js +3 -3
  151. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  152. package/dist/core/storage/session/snapshot-cut.js +3 -3
  153. package/dist/core/storage/session/snapshot-history.code.js +2 -2
  154. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  155. package/dist/core/storage/session/snapshot-history.js +3 -3
  156. package/dist/core/storage/session/sql-session-store.code.js +1 -1
  157. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  158. package/dist/core/storage/session/sql-session-store.js +3 -3
  159. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  160. package/dist/core/storage/session/tree-outline.js +3 -3
  161. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  162. package/dist/core/storage/session/tree-presentation.js +3 -3
  163. package/dist/core/storage/storage-status.impl.js +3 -3
  164. package/dist/core/storage/storage-status.js +3 -3
  165. package/dist/core/storage/team.impl.js +3 -3
  166. package/dist/core/storage/team.js +3 -3
  167. package/dist/core/structured-output/index.code.js +1 -1
  168. package/dist/core/structured-output/index.impl.js +3 -3
  169. package/dist/core/structured-output/index.js +3 -3
  170. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  171. package/dist/core/tasks/task-completion-entry.js +3 -3
  172. package/dist/core/tasks/task-file-history.code.js +2 -2
  173. package/dist/core/tasks/task-file-history.impl.js +3 -3
  174. package/dist/core/tasks/task-file-history.js +3 -3
  175. package/dist/core/tasks/task-reference-archive.code.js +2 -2
  176. package/dist/core/tasks/task-reference-archive.js +3 -3
  177. package/dist/core/tasks/task-reference-identity.js +3 -3
  178. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  179. package/dist/core/tasks/task-reference-stream.js +3 -3
  180. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  181. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  182. package/dist/core/tasks/task-view-source.impl.js +3 -3
  183. package/dist/core/tasks/task-view-source.js +3 -3
  184. package/dist/core/tools/read-url.impl.js +3 -3
  185. package/dist/core/tools/read-url.js +3 -3
  186. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  187. package/dist/core/worktree-snapshot/errors.code.js +1 -1
  188. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  189. package/dist/core/worktree-snapshot/errors.js +3 -3
  190. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  191. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  192. package/dist/extensions/codemode/execute.impl.js +3 -3
  193. package/dist/extensions/codemode/execute.js +3 -3
  194. package/dist/extensions/codemode/renderer.impl.js +3 -3
  195. package/dist/extensions/codemode/renderer.js +3 -3
  196. package/dist/extensions/mcp/cli.code.js +1 -1
  197. package/dist/extensions/mcp/cli.impl.js +3 -3
  198. package/dist/extensions/mcp/cli.js +3 -3
  199. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  200. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  201. package/dist/extensions/mcp/cli.lazy.js +3 -3
  202. package/dist/extensions/mcp/runtime.code.js +1 -1
  203. package/dist/extensions/mcp/runtime.impl.js +3 -3
  204. package/dist/extensions/mcp/runtime.js +3 -3
  205. package/dist/index.d.ts +21 -1
  206. package/dist/index.js +2 -2
  207. package/dist/main-first-time-setup.code.js +1 -1
  208. package/dist/main-first-time-setup.impl.js +3 -3
  209. package/dist/main-first-time-setup.js +3 -3
  210. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  211. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  212. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  213. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  214. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  215. package/dist/modes/print-mode.js +1 -1
  216. package/dist/package-manager-cli.code.js +2 -2
  217. package/dist/package-manager-cli.impl.js +3 -3
  218. package/dist/package-manager-cli.js +3 -3
  219. package/dist/startup-files.json +1 -1
  220. package/dist/startup-stages/6.js +1 -1
  221. package/dist/utils/startup-database-spare.code.js +1 -1
  222. package/dist/utils/startup-database-spare.impl.js +3 -3
  223. package/dist/utils/startup-database-spare.js +3 -3
  224. package/dist/utils/tools-manager.impl.js +3 -3
  225. package/dist/utils/tools-manager.js +3 -3
  226. package/docs/background-tasks/reference.md +182 -0
  227. package/docs/background-tasks.md +98 -405
  228. package/docs/build.md +67 -27
  229. package/docs/changelog.mdx +11 -1
  230. package/docs/codemode.md +108 -39
  231. package/docs/compaction/branch-summaries.md +54 -0
  232. package/docs/compaction/custom-compactors.md +161 -0
  233. package/docs/compaction/memory-compaction.md +77 -0
  234. package/docs/compaction/reference.md +86 -38
  235. package/docs/compaction.md +51 -252
  236. package/docs/computer-use.md +169 -321
  237. package/docs/containerization.md +71 -57
  238. package/docs/custom-provider/api-reference.md +119 -25
  239. package/docs/custom-provider/oauth.md +114 -132
  240. package/docs/custom-provider/override.md +37 -27
  241. package/docs/custom-provider/registration.md +107 -83
  242. package/docs/custom-provider/streaming.md +85 -71
  243. package/docs/custom-provider.md +85 -52
  244. package/docs/development.md +39 -29
  245. package/docs/docs.json +80 -67
  246. package/docs/environment-variables.md +94 -44
  247. package/docs/extensions/api-reference.md +86 -43
  248. package/docs/extensions/authoring.md +162 -154
  249. package/docs/extensions/events.md +80 -25
  250. package/docs/extensions/examples.md +90 -85
  251. package/docs/extensions/ui.md +206 -82
  252. package/docs/extensions.md +79 -108
  253. package/docs/getting-started/authentication.md +67 -36
  254. package/docs/getting-started/first-session.md +53 -43
  255. package/docs/getting-started/installation.md +117 -90
  256. package/docs/getting-started/project-instructions.md +48 -34
  257. package/docs/guides/configuration.md +82 -20
  258. package/docs/guides/non-interactive.md +66 -24
  259. package/docs/guides/resume-on-any-machine.md +135 -82
  260. package/docs/guides/team-setup.md +114 -105
  261. package/docs/guides.md +76 -32
  262. package/docs/herdr.md +16 -17
  263. package/docs/how-atomic-works.md +140 -0
  264. package/docs/index.md +58 -44
  265. package/docs/intercom/operations.md +141 -151
  266. package/docs/intercom/reference.md +85 -108
  267. package/docs/intercom.md +84 -145
  268. package/docs/json.md +120 -67
  269. package/docs/keybindings.md +85 -49
  270. package/docs/libraries/agent-core.md +137 -275
  271. package/docs/libraries/ai.md +100 -84
  272. package/docs/libraries/codemode.md +210 -300
  273. package/docs/libraries/schema.md +59 -53
  274. package/docs/libraries/storage-postgres.md +49 -35
  275. package/docs/libraries/telemetry.md +153 -354
  276. package/docs/libraries/tui.md +265 -393
  277. package/docs/libraries.md +42 -26
  278. package/docs/llama-cpp.md +171 -161
  279. package/docs/mcp-servers.md +90 -51
  280. package/docs/models/choose-a-model.md +188 -0
  281. package/docs/models/reference.md +74 -30
  282. package/docs/models.md +153 -88
  283. package/docs/orchestration/migrating-workflows.md +23 -16
  284. package/docs/orchestration/patterns.md +39 -44
  285. package/docs/orchestration.md +65 -26
  286. package/docs/packages/authoring.md +51 -29
  287. package/docs/packages/reference.md +42 -21
  288. package/docs/packages.md +69 -58
  289. package/docs/programmatic.md +118 -24
  290. package/docs/prompt-templates.md +84 -83
  291. package/docs/providers/reference.md +43 -48
  292. package/docs/providers.md +219 -451
  293. package/docs/quickstart.md +140 -120
  294. package/docs/reference/cli.md +135 -97
  295. package/docs/reference.md +20 -19
  296. package/docs/rpc/examples.md +76 -20
  297. package/docs/rpc/extension-ui.md +64 -38
  298. package/docs/rpc/protocol.md +361 -110
  299. package/docs/rpc.md +57 -17
  300. package/docs/sdk/reference.md +409 -534
  301. package/docs/sdk/storage.md +53 -13
  302. package/docs/sdk/structured-decisions.md +82 -56
  303. package/docs/sdk/web-server.md +57 -43
  304. package/docs/sdk.md +106 -84
  305. package/docs/security.md +42 -64
  306. package/docs/session-format.md +62 -38
  307. package/docs/sessions.md +99 -214
  308. package/docs/settings.md +165 -195
  309. package/docs/shell-aliases.md +9 -6
  310. package/docs/skills/authoring.md +69 -48
  311. package/docs/skills/reference.md +51 -20
  312. package/docs/skills.md +99 -148
  313. package/docs/slash-commands.md +129 -0
  314. package/docs/storage/custom-adapters.md +160 -85
  315. package/docs/storage/jsonl.md +81 -66
  316. package/docs/storage/postgres/pgbouncer.md +120 -126
  317. package/docs/storage/postgres/tuning.md +120 -143
  318. package/docs/storage/postgres.md +314 -330
  319. package/docs/storage/sqlite.md +71 -42
  320. package/docs/storage.md +298 -302
  321. package/docs/subagents/authoring.md +55 -38
  322. package/docs/subagents/reference.md +73 -33
  323. package/docs/subagents.md +119 -187
  324. package/docs/terminal-setup.md +51 -39
  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
  342. package/docs/termux.md +0 -118
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  title: "Verify changes with evidence"
3
- sidebarTitle: "Verification"
3
+ sidebarTitle: "Verify changes"
4
4
  description: "Choose real checks for code, terminal, browser, and desktop changes, capture reproducible evidence, and attach it to pull requests."
5
5
  ---
6
6
 
7
- Good verification tests the exact behavior that changed. A unit test and its output may be enough for a library fix. When a change affects what a user sees or does, exercise that interaction directly. A recording helps when motion or timing matters, though it does not replace a required test.
7
+ Good verification exercises the exact behavior that changed. A unit test and its output may be enough for a library fix; when a change affects what a user sees or does, test that interaction directly. A screen recording helps when motion or timing matters, though it does not replace required automated tests.
8
8
 
9
9
  ## Choose checks that answer the question
10
10
 
@@ -12,95 +12,106 @@ Start with the project's required tests, build, typecheck, and lint. Then ask wh
12
12
 
13
13
  | Change | Useful check | Evidence to keep |
14
14
  | --- | --- | --- |
15
- | API, CLI, or library | Run the affected entry point with a representative input and a failing or boundary case. | Exact command, exit status, expected output, and actual output. |
16
- | Terminal interface | Send the actual keys in a real terminal at the affected size. | Before and after pane contents, focus or cursor state if relevant, and exit status. |
17
- | Browser or desktop UI | Exercise the visible action and check the resulting state, preferably after reopening or reloading. | Snapshot or accessibility result, screenshot, and the checked postcondition. |
18
- | Documentation | Follow the directions from the stated starting point. Run the example and check navigation, links, and anchors. | Which example ran, the result, and any prerequisites. |
15
+ | API, CLI, or library | Run the affected entry point with a representative input plus a failing or boundary case. | Exact command, exit status, expected output, and actual output. |
16
+ | Terminal interface | Send real keystrokes in a real terminal at the affected dimensions. | Before and after pane contents, focus or cursor state if relevant, and exit status. |
17
+ | Browser or desktop UI | Exercise the visible action and verify the resulting state—ideally after reopening or reloading. | Accessibility snapshot, screenshot, and the checked postcondition. |
18
+ | Documentation | Follow the instructions from the stated starting point, run examples, and check links and anchors. | Which example ran, the outcome, and any prerequisites. |
19
19
 
20
- ### Reuse past verification
21
-
22
- Past sessions, commits, and pull requests can suggest useful checks, but they do not prove the current revision works. See [Automate browsers, desktops, and terminals](/computer-use) for tool setup, operating-system permissions, and coverage limits.
20
+ <Tip>
21
+ Past sessions, commits, and pull requests can suggest useful checks, but they never prove the current revision works. Always re-verify against your current candidate. For tool setup, OS permissions, and coverage limits, see [Automate apps, browsers, and terminals](/computer-use).
22
+ </Tip>
23
23
 
24
24
  ## Define a reproducible scenario
25
25
 
26
- Record the candidate (commit or artifact, including local changes), environment (operating system, app version, terminal dimensions, or browser), and starting fixture. Use non-production data and a dedicated session.
27
-
28
- State the action and expected outcome before running the check. For example, "With notifications off, switch them on, press Save, reopen Settings, and confirm the toggle stays on." A successful click alone does not prove persistence.
29
-
30
- Wait for an observable result with a deadline instead of a fixed sleep, and save failure output before cleanup. After a fix, rerun the affected checks against the new candidate and label before and after evidence so reviewers can tell which revision produced each file.
26
+ <Steps>
27
+ <Step title="Record the revision and environment">
28
+ Note the tested commit or artifact (including local changes), OS, app version, terminal size or browser, and starting fixture. Use non-production data and a dedicated session.
29
+ </Step>
30
+ <Step title="State the action and postcondition upfront">
31
+ Write down what proves success before acting—for example, "With notifications off, enable them, click Save, reopen Settings, and confirm the toggle stays on." A successful click alone does not prove persistence.
32
+ </Step>
33
+ <Step title="Wait for observable state and preserve failures">
34
+ Wait for an observable condition with a deadline rather than using a fixed sleep, and save failing output before cleaning up.
35
+ </Step>
36
+ <Step title="Rerun and label before/after evidence">
37
+ After a fix, rerun the affected checks against the updated revision and label before and after files clearly so reviewers know which revision produced each capture.
38
+ </Step>
39
+ </Steps>
31
40
 
32
41
  ## Capture evidence appropriate to the change
33
42
 
34
43
  ### Terminal changes
35
44
 
36
- Use Herdr when requested and running inside a Herdr-managed pane. Otherwise use a dedicated tmux session on macOS or Linux, or native psmux on Windows. See [Terminal automation with Herdr](/computer-use#terminal-automation-with-herdr) for setup and commands.
45
+ Use Herdr when explicitly requested inside a Herdr-managed pane; otherwise use a dedicated `tmux` session (macOS/Linux) or native `psmux` (Windows). See [Terminal automation with Herdr](/computer-use#terminal-automation-with-herdr) for setup and commands.
37
46
 
38
- Set the relevant terminal size, send the real keystrokes, wait for a fresh result, and capture the pane before leaving the alternate screen. For a shortcut change, capture the selection before and after pressing it and confirm which item opened. An idle indicator or successful `send-keys` call is not proof. A browser rendering terminal text is not TUI evidence, and WSL is not native Windows terminal coverage.
47
+ Set the relevant terminal dimensions, send real keystrokes, wait for a fresh result, and capture the pane before leaving the alternate screen. For a shortcut change, capture selection before and after pressing it and confirm which item opened. An idle indicator or successful `send-keys` call is not proof. A browser rendering terminal text is not TUI evidence, and WSL is not native Windows terminal coverage.
39
48
 
40
49
  ### Browser changes
41
50
 
42
- Use [agent-browser](/computer-use#browser-automation-with-agent-browser) for supported browsers, Electron apps, and other CDP targets. Inspect a fresh snapshot, perform the action, and verify the resulting DOM or saved state.
51
+ Use [`agent-browser`](/computer-use#browser-automation-with-agent-browser) for supported browsers, Electron apps, and other Chrome DevTools Protocol targets. Inspect a fresh snapshot, perform the action, and verify the resulting DOM or saved state.
43
52
 
44
- Keep a screenshot for layout checks or a short recording for multi-step motion. For example, in a dedicated session named `pr-check`:
53
+ Keep a screenshot for layout checks or a short recording for multi-step motion:
45
54
 
46
55
  ```bash
47
56
  agent-browser --session pr-check snapshot > after.yaml
48
57
  agent-browser --session pr-check screenshot after.png
49
58
  ```
50
59
 
51
- For motion, run `agent-browser --session pr-check record start flow.webm` before the steps and `agent-browser --session pr-check record stop` afterward, then open the saved file to confirm the final state is visible.
60
+ For motion, run `agent-browser --session pr-check record start flow.webm` before the steps and `agent-browser --session pr-check record stop` afterward, then open the recording to confirm the final state is visible.
52
61
 
53
- #### Mobile Safari
54
-
55
- For Mobile Safari, run `agent-browser -p ios` against a real iOS Simulator (`set device` in Chromium changes the viewport, not the WebKit engine), and record with `xcrun simctl`. For a native mobile app, use device or emulator tooling such as XCUITest or UI Automator instead of browser captures.
62
+ **Mobile Safari and native mobile apps.** Run `agent-browser -p ios` against a real iOS Simulator for Mobile Safari (`set device` in Chromium changes viewport size, not the WebKit engine), and record video with `xcrun simctl`. For native mobile apps, use device or emulator tooling such as XCUITest or UI Automator instead of browser captures.
56
63
 
57
64
  ### Native desktop changes
58
65
 
59
- Use [agent-desktop](/computer-use#desktop-automation-with-agent-desktop) in a dedicated graphical session after verifying `agent-desktop status`. Observe the app, act on a ref from that snapshot, wait for the intended postcondition with a timeout, and read it back.
66
+ Use [`agent-desktop`](/computer-use#desktop-automation-with-agent-desktop) in a dedicated graphical session after confirming readiness with `agent-desktop status`. Observe the app, act on a ref from that snapshot, wait for the postcondition with a timeout, and read it back.
60
67
 
61
- Keep the snapshot, action, and wait JSON together with before and after screenshots. A partial accessibility tree (`data.complete: false`) requires another observation before acting. If a click or save times out, inspect the app and saved files before retrying because the action may already have landed. Grant OS consent dialogs yourself when prompted; Atomic pauses for your approval instead of trying to click through system permission dialogs.
68
+ Keep the snapshot, action, and wait outputs alongside before and after screenshots. If a desktop snapshot is incomplete, capture a fresh snapshot before acting. After a timeout on a click or save, inspect the app and saved files before retrying because the action may already have landed. Approve OS consent dialogs yourself; Atomic pauses rather than clicking through system permission prompts.
62
69
 
63
- ## Verify delegated work
70
+ ## Run static analysis and linting with `qlty`
64
71
 
65
- When you delegate verification to [subagents](/subagents), give them the same scenario and acceptance criteria you want checked directly. Ask for the tested revision, exact commands, observed results, and saved artifact paths.
72
+ [`qlty`](https://qlty.sh) coordinates repository linters, formatters, and built-in static analysis (Atomic ships a bundled `qlty` skill; see [Skills](/skills)). Project scripts and CI checks remain authoritative—use `qlty` alongside them rather than replacing repository tooling.
66
73
 
67
- After a subagent finishes, inspect its evidence or have Atomic rerun key checks directly through [codemode](/codemode). A task confirmation, a filename, or agreement between reviewers does not replace an actual check result. Fix real failures and rerun the checks against the updated revision before accepting the change. Approving a change stays separate from permission to publish it, which Atomic confirms separately (for example via [`ask_user_question`](/tools#ask_user_question)).
74
+ - **Install.** On macOS and Linux, review the installer and run `curl https://qlty.sh | sh` (installs to `~/.qlty/bin`; override with `QLTY_NO_MODIFY_PATH=1` or `QLTY_INSTALL_BIN_PATH`). If you verify release attestations before installing, use `gh` 2.67.0 or newer so missing attestations are rejected.
75
+ - **Run scoped checks.** `qlty check` and `qlty fmt` inspect changed files by default. Pass `--all` for the whole repo, `--upstream origin/main` to compare against a branch, or `--filter` / `--skip` with plugin names (or `plugin:rule` on `check`) to narrow scope. Built-in `qlty metrics` and `qlty smells` run offline once installed:
68
76
 
69
- ### Switching between delegated and direct execution
77
+ ```bash
78
+ qlty check
79
+ qlty check --upstream origin/main
80
+ qlty metrics --functions path/to/file.ts
81
+ qlty smells path/to/file.ts
82
+ ```
70
83
 
71
- Apply the same verification rules when running checks directly in your main session. If you switch from subagent verification to direct execution, finish or stop running subagents and check modified files and background tasks before repeating a command.
84
+ - **Config and offline use.** Keep an existing `.qlty/qlty.toml` intact rather than re-initializing over it or adding competing formatters during a read-only review. If config changes are in scope and no `.qlty/qlty.toml` exists, run `qlty init --no` and review the generated file. Cached plugins and built-in metrics work offline, while uncached plugins require network downloads. Valid TOML does not prove a linter ran—record which checks executed and flag any required check that stayed blocked.
72
85
 
73
- ## When a tool or environment is unavailable
86
+ ## Verify delegated work
74
87
 
75
- Check installed tools and cached runtimes first, and install missing dependencies only when permitted. When setup is blocked, note the missing prerequisite, the exact error or restriction, the narrower checks that ran, and what still needs the target environment.
88
+ When delegating verification to [subagents](/subagents), give them the same scenario and acceptance criteria you want checked directly. Require the tested revision, exact commands, observed results, and saved artifact paths.
76
89
 
77
- For example, a passing headless-browser test does not verify a native file dialog. Report skipped or simulated scenarios clearly instead of counting them as real-platform passes.
90
+ After a subagent finishes, inspect its evidence or rerun key checks directly through [codemode](/codemode). A task confirmation, filename, or agreement between reviewers never replaces an actual check result. Fix real failures and rerun against the updated revision before accepting the change. Approving a change stays separate from permission to publish it, which Atomic confirms explicitly (for example via [`ask_user_question`](/tools#ask_user_question)).
78
91
 
79
- ### Code quality checks with `qlty`
92
+ If you switch from delegated verification to direct execution in your main session, finish or stop running subagents and inspect modified files and background tasks before repeating commands.
80
93
 
81
- [`qlty`](https://qlty.sh) coordinates repository linters, formatters, and built-in static analysis (Atomic ships a bundled `qlty` skill; see [Skills](/skills)). Repository scripts and CI checks remain authoritative, so use `qlty` alongside them rather than replacing project tooling.
94
+ ## When a tool or environment is unavailable
82
95
 
83
- - **Install.** On macOS and Linux, install with `curl https://qlty.sh | sh` after reviewing the installer (default binary path is `~/.qlty/bin`; override with `QLTY_NO_MODIFY_PATH=1` or `QLTY_INSTALL_BIN_PATH`). If you verify release attestations before installing, use `gh` 2.67.0 or later so missing attestations are not accepted as valid (CVE-2025-25204).
84
- - **Run scoped checks.** `qlty check` and `qlty fmt` inspect changed files by default. Pass `--all` to cover the whole repository, `--upstream origin/main` to compare against a branch, or `--filter` and `--skip` with plugin names (or `plugin:rule` entries on `check`) to narrow scope. Built-in `qlty metrics` and `qlty smells` run offline once `qlty` is installed:
96
+ Check installed tools and cached runtimes first, and install missing dependencies only when permitted. When setup is blocked, report:
85
97
 
86
- ```bash
87
- qlty check
88
- qlty check --upstream origin/main
89
- qlty metrics --functions path/to/file.ts
90
- qlty smells path/to/file.ts
91
- ```
98
+ - the missing prerequisite and exact error or restriction;
99
+ - the narrower checks that did run and passed;
100
+ - what still requires the target environment.
92
101
 
93
- - **Config and offline fallback.** Keep an existing `.qlty/qlty.toml` intact rather than re-initializing over it or adding competing formatters during a read-only review. If config changes are in scope and no `.qlty/qlty.toml` exists, run `qlty init --no` and review the generated file. Cached plugins and built-in metrics work offline, while uncached plugins need network downloads. Valid TOML does not prove a linter ran; record which checks executed, continue with available repository checks, and flag any required check that stayed blocked.
102
+ For example, a passing headless-browser test does not verify a native file dialog. Report skipped or simulated scenarios clearly instead of counting them as full-platform passes.
94
103
 
95
- ## Include evidence in a PR
104
+ ## Include evidence in a pull request
96
105
 
97
- State the tested revision and environment, actions taken, expected and actual outcomes, checks run, and coverage limits. Place each image or clip next to the scenario it demonstrates, and include reproduction steps alongside attached media. Label local-only artifacts clearly because reviewers cannot open paths on your machine.
106
+ State the tested revision and environment, actions taken, expected and actual outcomes, checks run, and coverage limits. Place each screenshot or clip next to the scenario it proves, with reproduction steps alongside it. Label local-only artifacts clearly because reviewers cannot open paths on your machine.
98
107
 
99
- ### Native GitHub media
108
+ <Warning>
109
+ **Review captures before uploading.** Local capture does not authorize publication. Upload evidence only to an authorized repository after checking and redacting personal data, credentials, private source, and unrelated windows.
110
+ </Warning>
100
111
 
101
- Upload evidence only to an authorized repository after reviewing and redacting personal data, credentials, private source, and unrelated windows. Local capture does not authorize publication.
112
+ ### Attach media with GitHub CLI
102
113
 
103
- On a supported GitHub host, check `gh --version` and `gh pr create --help` for GitHub CLI [attachment support](https://docs.github.com/en/github-cli/github-cli/attaching-files-with-github-cli) (`gh` 2.99.0 or newer). In a POSIX shell:
114
+ On a supported GitHub host, verify `gh --version` (`gh` 2.99.0 or newer) and `gh pr create --help` for [GitHub CLI attachment support](https://docs.github.com/en/github-cli/github-cli/attaching-files-with-github-cli):
104
115
 
105
116
  ```bash
106
117
  gh pr create --title "Fix settings save" --body-file body.md \
@@ -109,6 +120,23 @@ gh pr create --title "Fix settings save" --body-file body.md \
109
120
  --attach flow.webm
110
121
  ```
111
122
 
112
- Use a single line or PowerShell continuation syntax on Windows. To add evidence to an existing pull request, use `gh pr edit` or an authorized `gh pr comment` with `--body-file` and `--attach`. The `#text` suffix sets image alt text; omit it for video.
113
-
114
- Read back the pull request or comment to confirm the hosted links render before reporting an upload. If the CLI, host, permissions, or file size prevent attachment, keep the artifacts local, explain the limitation, and use the manual upload path instead of uploading to an unrelated service.
123
+ Use a single line or PowerShell line-continuation syntax on Windows. To add evidence to an existing pull request, use `gh pr edit` or an authorized `gh pr comment` with `--body-file` and `--attach`. The `#text` suffix sets image alt text (omit it for video).
124
+
125
+ Read back the pull request or comment to confirm the hosted links render before reporting an upload. If the CLI, host, permissions, or file size prevent attachment, keep the artifacts local, explain the limitation, and use the manual GitHub upload path instead of uploading to an unrelated service.
126
+
127
+ ## Related docs
128
+
129
+ <Columns cols={2}>
130
+ <Card title="Automate apps and browsers" href="/computer-use">
131
+ Set up and safely operate `agent-desktop`, `agent-browser`, Herdr, and `tmux`.
132
+ </Card>
133
+ <Card title="Subagents" href="/subagents">
134
+ Delegate bounded implementation and verification tasks to isolated contexts.
135
+ </Card>
136
+ <Card title="Codemode" href="/codemode">
137
+ Run quick JavaScript verification scripts directly from your main session.
138
+ </Card>
139
+ <Card title="Skills" href="/skills">
140
+ Use bundled skills such as `qlty`, `tmux`, and `herdr` or author reusable check scripts.
141
+ </Card>
142
+ </Columns>
@@ -4,29 +4,38 @@ sidebarTitle: "Web access"
4
4
  description: "Search the web, fetch webpages, PDFs, GitHub repos, and videos, query public repos with DeepWiki, and configure ~/.atomic/web-search.json."
5
5
  ---
6
6
 
7
- Atomic bundles four web-access tools: `web_search` for searching the web, `fetch_content` for reading pages and media, `get_search_content` for retrieving full stored results, and `code_search` for querying public GitHub repositories. Both `web_search` and `code_search` work out of the box with no API key setup.
7
+ Atomic bundles four web-access tools—`web_search`, `fetch_content`, `get_search_content`, and `code_search`—enabled by default. Both `web_search` and `code_search` work out of the box with no API key setup.
8
8
 
9
- ## Quick start
9
+ | Tool | What it does | Auth required |
10
+ | --- | --- | --- |
11
+ | [`web_search`](#search-the-web) | Search the web with Exa, Perplexity, Gemini API, or Gemini Web. | None by default (uses keyless Exa); optional API keys or browser cookies. |
12
+ | [`fetch_content`](#fetch-pages-and-media) | Read webpages as Markdown, PDFs, GitHub repos, YouTube videos, and local videos. | None for webpages/PDFs; optional `gh` for private/large repos; Gemini/Perplexity for video analysis. |
13
+ | [`get_search_content`](#retrieve-stored-results) | Retrieve full stored content from a prior `fetch_content` or `web_search` call. | None. |
14
+ | [`code_search`](#code_search) | Query code and architecture of public GitHub repositories via DeepWiki. | None. |
15
+
16
+ Interactive commands: run `/websearch <query>` to search in your browser curator directly, `/curator on` to review search results before the agent sees them, or `/search` to inspect stored session results.
17
+
18
+ ## Search the web (`web_search`) {#search-the-web}
10
19
 
11
- - **Zero-config defaults.** Ask Atomic to search the web (`web_search` uses keyless Exa by default), read a URL or PDF (`fetch_content`), or query a public GitHub repository (`code_search` via DeepWiki).
12
- - **Optional API keys.** Set `EXA_API_KEY`, `PERPLEXITY_API_KEY`, or `GEMINI_API_KEY`, or store camelCase keys in `~/.atomic/web-search.json` to raise limits or pick a specific provider.
13
- - **Interactive commands.** Run `/websearch <query>` to search directly, `/curator on` to review results in your browser before the agent sees them, or `/search` to inspect stored session results.
20
+ Pass `query` for a single search, or `queries` (an array of 2 to 4 varied angles) for broader research. If both are supplied, `queries` wins and `query` is ignored. Multiple queries run sequentially.
14
21
 
15
- ## Searching with `web_search`
22
+ Optional parameters: `numResults` (default `5`), `includeContent` (boolean; fetches full page text), `recencyFilter` (`"day"`, `"week"`, `"month"`, or `"year"`), `domainFilter` (array of domains; prefix with `-` to exclude), and `provider` (`"auto"`, `"exa"`, `"perplexity"`, or `"gemini"`).
16
23
 
17
- Pass `query` for a single search, or `queries` (an array of 2 to 4 varied angles) for broader research. If both `query` and `queries` are supplied, `queries` wins and `query` is ignored. Multiple queries run sequentially (with a 60-second timeout per query on Exa and Gemini API).
24
+ ### Provider order and parameter support
18
25
 
19
- Optional parameters are `numResults` (default `5`, max `20`), `includeContent` (boolean; fetches full page text in the background), `recencyFilter` (`"day"`, `"week"`, `"month"`, or `"year"`), `domainFilter` (array of domains; prefix with `-` to exclude; on Perplexity, entries that are not valid domains are ignored), and `provider` (`"auto"`, `"exa"`, `"perplexity"`, or `"gemini"`).
26
+ With `provider: "auto"` (the default), Atomic tries providers in order: **Exa → Perplexity → Gemini API → Gemini Web**. Parameter support and limits differ by provider:
20
27
 
21
- With `provider: "auto"` (the default), Atomic tries providers in this order:
28
+ | Provider | Per-query timeout | `numResults` | `recencyFilter` / `domainFilter` | `includeContent: true` | Notes |
29
+ | --- | --- | --- | --- | --- | --- |
30
+ | **Exa (API key)** | 60s | Passed through (not clamped to 20) | Supported | Returns full page text inline synchronously | Local counter in `~/.atomic/exa-usage.json` warns at 800 and stops at 1,000 requests/month. Explicit `provider: "exa"` fails directly on error. |
31
+ | **Exa (keyless MCP)** | 60s | Passed through (not clamped to 20) | Supported | Returns full page text inline synchronously | Uses `mcp.exa.ai` with no local monthly cap. Falls back to Perplexity or Gemini on failure. |
32
+ | **Perplexity** | None | Clamped to `20` | Supported (invalid domains ignored) | Fetches full pages in the background | Client-side rate limit of 10 requests per 60 seconds. |
33
+ | **Gemini API** | 60s | Ignored | Ignored | Fetches full pages in the background | Uses `searchModel` (default `"gemini-3-flash-preview"`). |
34
+ | **Gemini Web** | 60s | Ignored | Added to search prompt | Fetches full pages in the background | Always uses `"gemini-3-flash-preview"` (ignores `searchModel`). Disabled by default; macOS/Linux only. |
22
35
 
23
- 1. **Exa.** Uses your Exa API key when configured, or falls back to Exa's free keyless MCP endpoint (`mcp.exa.ai`). Atomic tracks monthly Exa usage locally in `~/.atomic/exa-usage.json`, warning at 800 requests and stopping at 1,000 requests per month. When `provider: "exa"` is explicitly selected with an API key, errors fail directly; keyless Exa falls back to Perplexity or Gemini on failure.
24
- 2. **Perplexity.** Used when a key is set. Client-side rate limiting caps requests at 10 per 60 seconds.
25
- 3. **Gemini API.** Used when a key is set (`GEMINI_API_KEY` or `geminiApiKey` in `web-search.json`).
26
- 4. **Gemini Web.** Reads cookies from a signed-in browser. Disabled by default; enable it with `"allowBrowserCookies": true` in `~/.atomic/web-search.json` or `ATOMIC_ALLOW_BROWSER_COOKIES=1` (the environment variable must be the exact string `1`; `true` does not enable it).
27
- - **Supported platforms and browsers:** On **macOS**, Atomic checks Helium, Chrome, and Arc (in that order). On **Linux**, Atomic checks Chromium and Chrome (in that order). **Windows is not supported.** Edge, Brave, Vivaldi, and Opera are not checked on any OS. The default profile directory is `"Default"` (override with `chromeProfile`).
36
+ **Gemini Web browser cookies.** Disabled by default. Enable with `"allowBrowserCookies": true` in `~/.atomic/web-search.json` or `ATOMIC_ALLOW_BROWSER_COOKIES=1` (exact string `1`; `true` does not enable it). On **macOS**, Atomic checks Helium, Chrome, and Arc in order; on **Linux**, Chromium and Chrome. **Windows is not supported**, and Edge, Brave, Vivaldi, and Opera are not checked. Override the `"Default"` profile directory with `chromeProfile`.
28
37
 
29
- Environment variables override fields in `~/.atomic/web-search.json`. Note that JSON config keys use camelCase (`geminiApiKey`, not `GEMINI_API_KEY`):
38
+ Environment variables override fields in `~/.atomic/web-search.json`. JSON keys use camelCase (`geminiApiKey`, not `GEMINI_API_KEY`):
30
39
 
31
40
  | Provider | Environment variable | `web-search.json` field |
32
41
  | --- | --- | --- |
@@ -42,87 +51,94 @@ Environment variables override fields in `~/.atomic/web-search.json`. Note that
42
51
  }
43
52
  ```
44
53
 
45
- When no provider can be reached, the error names the relevant environment variables, JSON config fields, and cookie opt-in setting.
54
+ When no provider can be reached, the error lists the relevant environment variables, JSON config fields, and cookie opt-in setting.
46
55
 
47
56
  ### The search curator
48
57
 
49
- By default, `web_search` returns raw results. Run `/curator on` or `/curator summary-review` (or set `"workflow": "summary-review"` in `~/.atomic/web-search.json`) to open an interactive browser window where you filter results and approve a summary draft before the agent sees them. Run `/curator off` or `/curator none` to return to raw results, or run `/curator` with no argument to toggle between modes. Switching providers inside the curator saves `provider` and updates active search configuration immediately.
58
+ By default (`workflow: "none"`), `web_search` returns raw results. Run `/curator on` or `/curator summary-review` (or set `"workflow": "summary-review"` in `~/.atomic/web-search.json`) to open an interactive browser window where you filter results and approve a summary draft before the agent sees them. Run `/curator off` or `/curator none` to return to raw results, or `/curator` alone to toggle. Switching providers inside the curator saves `provider` and updates active search settings immediately.
50
59
 
51
- The curator requires an interactive session with a browser. Subagents and non-interactive runs skip it and return raw results. If the browser cannot open (for example on a headless server), `web_search` falls back to raw results with a note pointing to `/curator off`.
60
+ On macOS, if optional `glimpseui` is installed locally or globally, the curator opens in a native Glimpse window instead of the default browser. The curator's query-rewrite button uses the first available of `anthropic/claude-haiku-4-5`, `google/gemini-2.5-flash`, or `openai/gpt-4.1-mini`.
52
61
 
53
- ## Fetching with `fetch_content`
62
+ The curator requires an interactive session with a browser. Subagents and non-interactive runs skip it and return raw results; on headless machines where a browser cannot open, `web_search` falls back to raw results with a note pointing to `/curator off`.
54
63
 
55
- `fetch_content` reads webpages (as markdown), PDFs, GitHub repositories, YouTube videos, and local video files.
64
+ ## Fetch pages and media (`fetch_content`) {#fetch-pages-and-media}
56
65
 
57
- ### Arguments
58
-
59
- Always pass the lowercase `urls` field as a nonempty array of strings, even for one URL (do not pass a singular `url` field, which belongs to `get_search_content`):
66
+ `fetch_content` reads webpages as Markdown, PDFs, GitHub repositories, YouTube videos, and local video files. Always pass lowercase `urls` as a non-empty array of strings, even for one URL (singular `url` belongs to `get_search_content`):
60
67
 
61
68
  ```json
62
69
  {"urls": ["https://example.com/article"]}
63
70
  ```
64
71
 
65
- For multiple pages (fetched up to 3 at a time):
66
-
67
72
  ```json
68
73
  {"urls": ["https://example.com/one", "https://example.com/two"]}
69
74
  ```
70
75
 
71
- For video analysis, include your question in `prompt`:
72
-
73
76
  ```json
74
77
  {"urls": ["/path/to/recording.mp4"], "prompt": "What error appears on screen?"}
75
78
  ```
76
79
 
77
- - **Local videos.** Accepts absolute paths (including Windows drive and UNC paths), `./` or `../` relative paths, and `file://` URLs for `.mp4`, `.mov`, `.webm`, `.avi`, `.mpeg`, `.mpg`, `.wmv`, `.flv`, `.3gp`, and `.3gpp` files (escape Windows backslashes in JSON, such as `{"urls": ["C:\\Videos\\recording.mp4"], "frames": 1}`). Analysis requires Gemini API or Gemini Web (with browser cookies enabled); `video.maxSizeMB` (`50` by default) is measured in binary MiB.
78
- - **YouTube videos.** Tries Gemini Web first, then Gemini API, then Perplexity. `/playlist` URLs are not treated as videos. Setting `"youtube": { "enabled": false }` in `~/.atomic/web-search.json` disables both YouTube analysis and YouTube frame extraction.
79
- - **`prompt` and `model`.** Apply only to YouTube and local video analysis, not webpage extraction.
80
- - **Frame extraction (`frames` and `timestamp`).** Extract images from YouTube or local videos only (ignored for webpages and other inputs, including in mixed batches). Omit both for text or transcripts. `frames` accepts `1` to `12`; `timestamp` accepts bare seconds (`"85"`), `MM:SS` (`"1:25"`), `H:MM:SS`, or a `start-end` range (`"1:25-2:00"`):
81
- - `frames` alone samples evenly across the whole video (requires `ffprobe` for local videos).
82
- - Single `timestamp` alone extracts 1 frame at that time.
83
- - Single `timestamp` plus `frames` extracts `N` frames at 5-second intervals starting at `timestamp`.
84
- - Range `timestamp` alone extracts 6 frames across the range.
85
- - Range `timestamp` plus `frames` extracts up to `N` frames with a 5-second minimum spacing (short ranges may return fewer frames).
86
- - Requires `ffmpeg` (and `ffprobe` for whole-video sampling of local files), plus `yt-dlp` for YouTube.
80
+ ### Webpages, PDFs, and fallbacks
87
81
 
88
- ```json
89
- {"urls": ["/path/to/recording.mp4"], "timestamp": "1:25-2:00", "frames": 3}
90
- ```
82
+ - **Inline output vs. batches.** Single-URL fetches return up to **30,000 characters** inline and store full text for `get_search_content`. Multi-URL batches (fetched up to 3 concurrently) return titles and character counts inline only—read full text per URL with `get_search_content`.
83
+ - **HTTP limits.** Direct fetches use a 30-second timeout, up to 20 redirects, a **5 MiB** limit for HTML and text, and a **20 MiB** limit for PDFs. Binary MIME types (`application/octet-stream`, `image/*`, `audio/*`, `video/*`, `application/zip`) are rejected. Non-HTML text responses return verbatim without a minimum character threshold.
84
+ - **Public webpage fallbacks.** On HTML pages where Readability fails, `fetch_content` tries Next.js RSC extraction first. When a direct fetch of a public URL fails or extracts fewer than 500 characters, `fetch_content` falls back to **Jina Reader (`https://r.jina.ai/`)**, then **Gemini URL Context API**, then **Gemini Web**. `Unsupported content type` and `Response too large` errors never trigger fallbacks.
85
+ - **Local and private URLs.** Unlike [`read`](/tools#documents-and-urls) (which blocks localhost and private IPs by default), `fetch_content` allows direct HTTP fetches of localhost and private-network URLs, but skips third-party Jina Reader and Gemini fallbacks whenever the URL or any redirect hop is private, single-label, `.localhost`/`.local`/`.internal`/`.lan`/`.home.arpa`, or carries embedded credentials.
86
+
87
+ <Note>
88
+ **PDF side effect.** Fetching a PDF URL downloads up to 20 MiB, extracts up to 100 pages, **writes the extracted Markdown into `~/Downloads`** (never overwriting existing files—collisions append `-2.md`, `-3.md`, etc.), and returns the saved file path, page count, and character count.
89
+ </Note>
90
+
91
+ ### GitHub repositories
91
92
 
92
- - **GitHub repositories (`forceClone`).** Clones public repositories shallowly unless the repository exceeds `githubClone.maxRepoSizeMB` or targets a full commit SHA URL, in which case Atomic uses the GitHub API unless `forceClone: true` is passed. Skips binary files and common build or dependency directories (`node_modules`, `vendor`, `dist`, `build`, and similar), caps inline files at 100,000 characters, and caps directory listings at 200 entries. The default clone cache clears automatically when you switch sessions.
93
+ - **Cloning vs. GitHub API.** Code repository URLs are shallow-cloned unless the repository exceeds `githubClone.maxRepoSizeMB` (default `350` MB) or targets a full 40-hex commit SHA URL:
94
+ - **Oversized repos:** Uses the GitHub API by default; pass `forceClone: true` to force a shallow clone anyway.
95
+ - **Full 40-hex commit SHA URLs:** **Always** use the GitHub API and never clone, even when `forceClone: true` is passed.
96
+ - **Private repos and `gh` CLI:** When an authenticated `gh` CLI is available, cloning and GitHub API access work on **private repositories** as well as public ones. Without `gh`, Atomic cannot check repo size or call the GitHub API, so `maxRepoSizeMB` enforcement and API fallback do not run.
97
+ - **Non-code GitHub URLs** (`issues`, `pull`, `discussions`, `releases`, `wiki`, `actions`, `commits`, `compare`, and similar) bypass repository cloning and go through standard HTTP extraction.
98
+ - **Limits and cache cleanup.** Skips binary files and dependency/build directories (`node_modules`, `vendor`, `dist`, `build`, etc.), caps inline files at 100,000 characters, and caps directory listings at 200 entries. Atomic clears every Atomic-marked clone directory created during the session on session start, branch switch (`/tree`), and session shutdown—including under a custom `githubClone.clonePath`.
93
99
 
94
- ### Extraction fallbacks, PDFs, and limits
100
+ ### Videos and frame extraction
95
101
 
96
- - **Inline output and batches.** Single-URL fetches return up to 30,000 characters inline and store the full text for `get_search_content`. Multi-URL batches return titles and character counts inline only; read the full text for each URL with `get_search_content`.
97
- - **HTTP limits.** Direct fetches run up to 3 concurrently with a 30-second timeout, up to 20 redirects, a 5 MiB limit for HTML and text, and a 20 MiB limit for PDFs. Binary MIME types (`application/octet-stream`, `image/*`, `audio/*`, `video/*`, and `application/zip`) are rejected.
98
- - **Public webpage fallbacks.** When a direct fetch of a public URL fails or extracts fewer than 500 characters (excluding private-network URLs and URLs with embedded credentials), `fetch_content` forwards the URL to **Jina Reader (`https://r.jina.ai/`)** first, then **Gemini URL Context API**, then **Gemini Web**.
99
- - **PDF downloads.** Fetching a PDF URL downloads up to 20 MiB, extracts up to 100 pages, **writes the extracted Markdown file into `~/Downloads`**, and returns the saved file path, page count, and character count.
102
+ - **Local videos.** Accepts absolute paths (including Windows drive and UNC paths—escape backslashes in JSON), `./` or `../` relative paths, and `file://` URLs for `.mp4`, `.mov`, `.webm`, `.avi`, `.mpeg`, `.mpg`, `.wmv`, `.flv`, `.3gp`, and `.3gpp`. Analysis tries **Gemini API first, then Gemini Web** (with browser cookies enabled). `video.maxSizeMB` (`50` by default) is measured in binary MiB. Setting `"video": { "enabled": false }` rejects local video paths for both analysis and frame extraction.
103
+ - **YouTube videos.** Analysis tries **Gemini Web first, then Gemini API, then Perplexity**. `/playlist` URLs are not treated as videos. Setting `"youtube": { "enabled": false }` disables both YouTube analysis and frame extraction.
104
+ - **Thumbnails, `prompt`, and `model`.** `prompt` and `model` apply only to video analysis (not webpages). Single-video analysis automatically attaches a thumbnail (`ffmpeg` frame at 1 second for local videos, or YouTube's thumbnail).
105
+ - **Frame extraction (`frames` and `timestamp`).** Extracts images from YouTube or local videos only (omit both for text/transcripts). `frames` accepts `1`–`12`; `timestamp` accepts seconds (`"85"`), `MM:SS` (`"1:25"`), `H:MM:SS`, or a `start-end` range (`"1:25-2:00"`):
106
+ - `frames` alone samples evenly across the whole video (requires `ffprobe` for local files).
107
+ - Single `timestamp` alone extracts 1 frame; single `timestamp` + `frames` extracts `N` frames at 5-second intervals.
108
+ - Range `timestamp` alone extracts 6 frames; range `timestamp` + `frames` extracts up to `N` frames with at least 5-second spacing.
109
+ - Requires `ffmpeg` (and `ffprobe` for whole-video local sampling), plus `yt-dlp` for YouTube.
100
110
 
101
- ### Troubleshooting
111
+ ```json
112
+ {"urls": ["/path/to/recording.mp4"], "timestamp": "1:25-2:00", "frames": 3}
113
+ ```
102
114
 
103
- If argument validation fails, check that:
115
+ <Warning>
116
+ **Fetch videos one URL at a time for frames.** Extracted frames and thumbnails are attached only when `urls` contains a **single** entry. In a multi-URL batch (`urls` with 2 or more entries), extracted frames and thumbnails are stripped and cannot be recovered with `get_search_content`.
117
+ </Warning>
104
118
 
105
- - The field is `urls` (lowercase), not `URLs` or `url`.
106
- - Its value is a nonempty array of strings.
107
- - No unrecognized fields are present.
119
+ ### Fetch troubleshooting
108
120
 
109
- If every URL in a batch fails, the error lists each URL and its cause; partial excerpts may still appear as incomplete content. Retry transient failures individually with `fetch_content({ urls: ["<failed URL>"] })`, or try an alternate URL or `web_search`. `get_search_content` cannot recover content from a failed fetch.
121
+ If argument validation fails, confirm the field is lowercase `urls`, its value is a non-empty string array, and no unknown fields are present. If every URL in a batch fails, the error lists each URL and cause; retry transient failures individually with `fetch_content({ urls: ["<failed URL>"] })`, or try an alternate URL or `web_search`. `get_search_content` cannot recover failed fetches.
110
122
 
111
- ## Retrieving full results with `get_search_content`
123
+ ## Retrieve stored results (`get_search_content`) {#retrieve-stored-results}
112
124
 
113
- When `web_search` or `fetch_content` truncates output or stores background fetches, it returns a `responseId`. Pass that ID plus **at least one selector** (`query` or `queryIndex` for a `web_search` response; `url` or `urlIndex` for a `fetch_content` response). Omitting selectors returns an error listing the available queries or URLs.
125
+ `fetch_content` prints a `responseId` whenever single-URL output exceeds 30,000 characters or when fetching multiple URLs. `web_search` prints full summaries inline without truncating and prints a `[fetchId]` when `includeContent: true` stores page content (retrieve those pages with `url` or `urlIndex`). Stored `web_search` summaries are browsable in `/search` and accessible programmatically via `query` or `queryIndex`.
114
126
 
115
- `query` and `url` take precedence over `queryIndex` and `urlIndex` and require exact, case-sensitive matches.
127
+ Pass `responseId` plus **at least one selector** (`url` / `urlIndex` for fetched pages; `query` / `queryIndex` for search results). Omitting selectors returns an error listing available queries or URLs. `query` and `url` take precedence over indices and match exact, case-sensitive strings.
116
128
 
117
129
  | Parameter | Type | Required | Description |
118
130
  | --- | --- | --- | --- |
119
- | `responseId` | string | Yes | ID returned by a previous `web_search` or `fetch_content` call. |
120
- | `query` | string | One of `query` / `queryIndex` (for search) | Exact case-sensitive search query to retrieve from a stored `web_search` response. |
121
- | `queryIndex` | number | One of `query` / `queryIndex` (for search) | Zero-based query index in a stored `web_search` response. |
122
- | `url` | string | One of `url` / `urlIndex` (for fetch) | Exact case-sensitive URL to retrieve from a stored `fetch_content` response. |
123
- | `urlIndex` | number | One of `url` / `urlIndex` (for fetch) | Zero-based URL index in a stored `fetch_content` response. |
131
+ | `responseId` | string | Yes | ID returned by `fetch_content` or `web_search`. |
132
+ | `query` | string | One of `query` / `queryIndex` (search) | Exact case-sensitive search query from a stored `web_search` entry. |
133
+ | `queryIndex` | number | One of `query` / `queryIndex` (search) | Zero-based query index in a stored `web_search` entry. |
134
+ | `url` | string | One of `url` / `urlIndex` (fetch) | Exact case-sensitive URL from a stored fetch entry. |
135
+ | `urlIndex` | number | One of `url` / `urlIndex` (fetch) | Zero-based URL index in a stored fetch entry. |
124
136
 
125
- ## `code_search`
137
+ <Note>
138
+ **1-hour retention on session resume.** When resuming a session or switching branches, `get_search_content` and `/search` restore only entries newer than **1 hour**. Older `responseId` values return `No stored results`.
139
+ </Note>
140
+
141
+ ## Query GitHub repositories (`code_search`) {#code_search}
126
142
 
127
143
  `code_search` asks DeepWiki (`https://mcp.deepwiki.com/mcp`) about code, architecture, and APIs in a public GitHub repository. It requires no API key or MCP setup and does not fall back to web search.
128
144
 
@@ -130,50 +146,46 @@ When `web_search` or `fetch_content` truncates output or stores background fetch
130
146
  | --- | --- | --- | --- |
131
147
  | `repoName` | string | Yes | Public GitHub repository in `owner/repo` format (not a URL). |
132
148
  | `query` | string | Yes | Question sent verbatim to DeepWiki. |
133
- | `maxTokens` | integer | No | Best-effort output limit (`1000` to `50000`, default `5000`, about 4 characters per token). |
149
+ | `maxTokens` | integer | No | Best-effort output limit (`1000`–`50000`, default `5000`, ~4 chars/token). |
134
150
 
135
- Requests have a 60-second deadline. See [`code_search` in Built-in tools](/tools#code_search) for examples and fallback guidance.
151
+ Requests have a 60-second deadline. See [`code_search` in Built-in tools](/tools#code_search) for an example.
136
152
 
137
- ## Slash commands and shortcuts
153
+ ## Slash commands and shortcuts {#slash-commands-and-shortcuts}
138
154
 
139
155
  | Command | Action |
140
156
  | --- | --- |
141
157
  | `/curator [on\|off\|none\|summary-review]` | Set the search curator workflow and save it to `~/.atomic/web-search.json`. Omitting the argument toggles between `none` and `summary-review`. |
142
- | `/websearch [query1, query2, ...]` | Open the interactive search curator directly without an agent round-trip. Arguments split on commas into separate queries. Closing or cancelling sends nothing; timing out submits collected results as a summary-review follow-up. |
158
+ | `/websearch [query1, query2, ...]` | Open the interactive search curator directly without an agent round-trip. Splits arguments on commas into separate queries. Closing/cancelling sends nothing; timing out submits collected results as a summary-review follow-up. |
143
159
  | `/search` | Browse, inspect, or delete stored `web_search` and `fetch_content` results from the current session. |
144
160
  | `/google-account` | Print the active Google account used for Gemini Web when browser cookie access is enabled, without starting a model turn. |
145
161
 
146
162
  | Shortcut | Config key | Action |
147
163
  | --- | --- | --- |
148
- | `Ctrl+Shift+S` | `shortcuts.curate` | Open the search curator while a search is running. |
164
+ | `Ctrl+Shift+S` | `shortcuts.curate` | Open the curator while a `workflow: "summary-review"` search is running (where the curator already opens automatically on start). Has no effect under the default `workflow: "none"`; use `/curator on` or `/websearch` instead. |
149
165
  | `Ctrl+Shift+W` | `shortcuts.activity` | Toggle the web search activity widget. |
150
166
 
151
167
  Customize shortcuts in `~/.atomic/web-search.json` under `"shortcuts"`. Shortcut changes take effect after restarting Atomic.
152
168
 
153
169
  ## Configure `web-search.json`
154
170
 
155
- All fields in `~/.atomic/web-search.json` are optional. If `~/.atomic/web-search.json` does not exist, Atomic falls back to `~/.pi/web-search.json` from older installations without merging the two files; interactive saves always write `~/.atomic/web-search.json`.
156
-
157
- **Reloading changes.** `workflow` and `curatorTimeoutSeconds` are re-read on every call, and switching providers inside the curator updates active search settings immediately. Manual file edits to API keys, `provider`, `searchModel`, `allowBrowserCookies`, `chromeProfile`, `githubClone`, `youtube`, and `video` take effect after `/reload` or restarting Atomic. Shortcut changes require restarting Atomic.
158
-
159
- | Field | Type | Default | Description |
160
- | --- | --- | --- | --- |
161
- | `provider` | `"auto" \| "exa" \| "perplexity" \| "gemini"` | `"auto"` | Default `web_search` provider. Switching providers in the curator updates this field immediately. |
162
- | `workflow` | `"none" \| "summary-review"` | `"none"` | `"none"` returns raw results; `"summary-review"` opens the browser curator with a summary draft. |
163
- | `curatorTimeoutSeconds` | number (`1` to `600`) | `20` | Curator wait timeout in seconds (floored to an integer; values below `1` fall back to `20`, and values above `600` clamp to `600`). |
164
- | `summaryModel` | string | auto | Default `"provider/model"` for curator summary drafts (prefers `anthropic/claude-haiku-4-5` or `openai-codex/gpt-6.1-sol` when available). |
165
- | `searchModel` | string | `"gemini-3-flash-preview"` | Gemini API model used for Gemini search queries. |
166
- | `shortcuts` | `{ curate?: string, activity?: string }` | `{ "curate": "ctrl+shift+s", "activity": "ctrl+shift+w" }` | Keyboard shortcuts for opening the curator and toggling the activity widget. |
167
- | `exaApiKey` | string | unset | Exa API key (overridden by `EXA_API_KEY`). |
168
- | `perplexityApiKey` | string | unset | Perplexity API key (overridden by `PERPLEXITY_API_KEY`). |
169
- | `geminiApiKey` | string | unset | Gemini API key (overridden by `GEMINI_API_KEY`). |
170
- | `allowBrowserCookies` | boolean | `false` | Allow Gemini Web to read cookies from supported browsers on macOS and Linux (overridden by `ATOMIC_ALLOW_BROWSER_COOKIES=1`). Not supported on Windows. |
171
- | `chromeProfile` | string | `"Default"` | Browser profile directory name used for Gemini Web cookie lookup. |
172
- | `githubClone` | object | see below | GitHub clone settings: `enabled` (`true`), `maxRepoSizeMB` (`350`), `cloneTimeoutSeconds` (`30`), and `clonePath` (defaults to an account-private `github-repos` temp folder cleared on session switches). |
173
- | `youtube` | object | see below | YouTube settings: `enabled` (`true`; setting `false` disables both analysis and frame extraction) and `preferredModel` (`"gemini-3-flash-preview"`). |
174
- | `video` | object | see below | Local video settings: `enabled` (`true`), `preferredModel` (`"gemini-3-flash-preview"`), and `maxSizeMB` (`50`, measured in binary MiB). |
175
-
176
- Example configuration:
171
+ All fields in `~/.atomic/web-search.json` are optional. If `~/.atomic/web-search.json` does not exist, Atomic falls back to `~/.pi/web-search.json` without merging the two files; interactive saves always write `~/.atomic/web-search.json`. (Legacy `searchProvider` is still accepted as a fallback for `provider`.)
172
+
173
+ | Field | Type | Default | Applies | Description |
174
+ | --- | --- | --- | --- | --- |
175
+ | `provider` | `"auto" \| "exa" \| "perplexity" \| "gemini"` | `"auto"` | `/reload` (curator switch is immediate) | Default `web_search` provider. |
176
+ | `workflow` | `"none" \| "summary-review"` | `"none"` | Immediate | `"none"` returns raw results; `"summary-review"` opens the browser curator. |
177
+ | `curatorTimeoutSeconds` | number (`1`–`600`) | `20` | Immediate | Curator wait timeout in seconds (floored; `< 1` falls back to `20`; `> 600` clamps to `600`). |
178
+ | `summaryModel` | string | auto | Immediate | `"provider/model"` for curator summary drafts (prefers `anthropic/claude-haiku-4-5` or `openai-codex/gpt-6.1-sol`). |
179
+ | `searchModel` | string | `"gemini-3-flash-preview"` | `/reload` | Gemini API model used for Gemini search queries (ignored by Gemini Web). |
180
+ | `shortcuts` | `{ curate?, activity? }` | `ctrl+shift+s` / `ctrl+shift+w` | Restart | Keyboard shortcuts for the curator and activity widget. |
181
+ | `exaApiKey` | string | unset | `/reload` | Exa API key (overridden by `EXA_API_KEY`). |
182
+ | `perplexityApiKey` | string | unset | `/reload` | Perplexity API key (overridden by `PERPLEXITY_API_KEY`). |
183
+ | `geminiApiKey` | string | unset | `/reload` | Gemini API key (overridden by `GEMINI_API_KEY`). |
184
+ | `allowBrowserCookies` | boolean | `false` | `/reload` | Allow Gemini Web cookie reading on macOS and Linux (overridden by `ATOMIC_ALLOW_BROWSER_COOKIES=1`). |
185
+ | `chromeProfile` | string | `"Default"` | `/reload` | Browser profile directory name for Gemini Web cookies. |
186
+ | `githubClone` | object | `enabled: true`, `maxRepoSizeMB: 350`, `cloneTimeoutSeconds: 30` | `/reload` | GitHub clone settings and optional `clonePath` (account-private temp folder by default; Atomic-marked clones under any `clonePath` clear on session switch/shutdown). |
187
+ | `youtube` | object | `enabled: true`, `preferredModel: "gemini-3-flash-preview"` | `/reload` | YouTube analysis and frame extraction settings (`enabled: false` disables both). |
188
+ | `video` | object | `enabled: true`, `preferredModel: "gemini-3-flash-preview"`, `maxSizeMB: 50` | `/reload` | Local video settings (`enabled: false` disables both analysis and frame extraction; `maxSizeMB` is binary MiB). |
177
189
 
178
190
  ```json
179
191
  {
@@ -204,17 +216,21 @@ Example configuration:
204
216
  }
205
217
  ```
206
218
 
207
- ## Enabling and disabling
219
+ <Note>
220
+ **Helper binary lookup.** Helper binaries (`gh`, `git`, `ffmpeg`, `ffprobe`, `yt-dlp`, `npm`, browser openers, and OS keychain helpers) resolve only from absolute directories in `PATH`. The current project directory is searched only when `PATH` explicitly lists it.
221
+ </Note>
222
+
223
+ ## Enable and disable web access
208
224
 
209
225
  Web access is enabled by default in both the CLI and the SDK.
210
226
 
211
- - **CLI.** Remove web-access tools for one run with `--exclude-tools`:
227
+ - **CLI:** Disable web-access tools for one run with `--exclude-tools`:
212
228
 
213
229
  ```bash
214
230
  atomic --exclude-tools web_search,fetch_content,get_search_content,code_search
215
231
  ```
216
232
 
217
- - **SDK.** Disable the bundled `web-access` package completely in `createAgentSession()`:
233
+ - **SDK:** Disable the bundled `web-access` integration completely in `createAgentSession()`:
218
234
 
219
235
  ```typescript
220
236
  import { createAgentSession } from "@bastani/atomic";
@@ -224,15 +240,19 @@ const { session } = await createAgentSession({
224
240
  });
225
241
  ```
226
242
 
227
- See [CLI tool options](/reference/cli#tool-options) and [SDK tools](/sdk/reference#tools).
228
-
229
- ## Helper binary lookup
230
-
231
- Helper binaries (`gh`, `git`, `ffmpeg`, `ffprobe`, `yt-dlp`, `npm`, browser openers, and OS keychain helpers) are resolved only from absolute directories in `PATH`. The current project directory is searched only when `PATH` explicitly lists it.
232
-
233
243
  ## Related docs
234
244
 
235
- - [Built-in tools](/tools) covers `read` URL fetching, `code_search`, and tool selection.
236
- - [SDK tools](/sdk/reference#tools) covers `builtins`, `tools`, and `excludedTools`.
237
- - [CLI reference](/reference/cli) covers `--tools`, `--exclude-tools`, and `--no-tools`.
238
- - [Environment variables](/environment-variables) lists `EXA_API_KEY`, `PERPLEXITY_API_KEY`, `GEMINI_API_KEY`, and `ATOMIC_ALLOW_BROWSER_COOKIES`.
245
+ <Columns cols={2}>
246
+ <Card title="Built-in tools" href="/tools">
247
+ Compare `read` URL fetching and `code_search`, and configure default tools.
248
+ </Card>
249
+ <Card title="Environment variables" href="/environment-variables">
250
+ Atomic environment variables, browser cookie opt-in, and provider credentials.
251
+ </Card>
252
+ <Card title="CLI reference" href="/reference/cli#tool-options">
253
+ Filter tools with `--tools`, `--exclude-tools`, and `--no-tools`.
254
+ </Card>
255
+ <Card title="SDK tools" href="/sdk/reference#tools">
256
+ Configure `builtins`, `tools`, and `excludedTools` programmatically.
257
+ </Card>
258
+ </Columns>