@bastani/atomic 0.10.10-alpha.1 → 0.10.10-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 (289) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +22 -15
  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 +2 -2
  7. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +2 -2
  8. package/dist/_shared/mode-shared-2QJSCUM6.js +2 -2
  9. package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
  10. package/dist/_shared/sdk-RRLVN7ER.js +2 -2
  11. package/dist/_shared/session-data-AHTU7IS6.js +2 -2
  12. package/dist/_shared/startup-0-0-4VG2G44V.js +2 -2
  13. package/dist/_shared/startup-0-1-XTIL65D4.js +2 -2
  14. package/dist/_shared/startup-0-2-27OWFHV6.js +7 -6
  15. package/dist/_shared/startup-0-2-27OWFHV6.js.map +1 -1
  16. package/dist/_shared/startup-0-3-T4DVFYWX.js +2 -2
  17. package/dist/_shared/startup-0-4-ZMJV547D.js +2 -2
  18. package/dist/_shared/startup-0-5-FD2P735I.js +2 -2
  19. package/dist/_shared/startup-10-0-TDQNBDDL.js +2 -2
  20. package/dist/_shared/startup-15-1-4S7FLMNG.js +2 -2
  21. package/dist/_shared/startup-8-0-34CBHPZH.js +2 -2
  22. package/dist/_shared/startup-8-1-4KANEHRA.js +2 -2
  23. package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
  24. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  25. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  26. package/dist/builtin/intercom/README.md +4 -4
  27. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  28. package/dist/builtin/intercom/package.json +1 -1
  29. package/dist/builtin/mcp/README.md +28 -4
  30. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  31. package/dist/builtin/mcp/package.json +1 -1
  32. package/dist/builtin/subagents/README.md +3 -3
  33. package/dist/builtin/subagents/package.json +1 -1
  34. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  35. package/dist/builtin/web-access/README.md +2 -2
  36. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  37. package/dist/builtin/web-access/package.json +1 -1
  38. package/dist/cli/auth-cli.impl.js +3 -3
  39. package/dist/cli/auth-cli.js +3 -3
  40. package/dist/cli/blueprint-command.impl.js +3 -3
  41. package/dist/cli/blueprint-command.js +3 -3
  42. package/dist/cli/intercom-command.code.js +2 -2
  43. package/dist/cli/intercom-command.impl.js +3 -3
  44. package/dist/cli/intercom-command.js +3 -3
  45. package/dist/cli/list-models.impl.js +3 -3
  46. package/dist/cli/list-models.js +3 -3
  47. package/dist/cli/session-picker.impl.js +3 -3
  48. package/dist/cli/session-picker.js +3 -3
  49. package/dist/cli/startup-ui.impl.js +3 -3
  50. package/dist/cli/startup-ui.js +3 -3
  51. package/dist/cli/storage-command.impl.js +3 -3
  52. package/dist/cli/storage-command.js +3 -3
  53. package/dist/cli/storage-search-session.impl.js +3 -3
  54. package/dist/cli/storage-search-session.js +3 -3
  55. package/dist/cli/team-command.impl.js +3 -3
  56. package/dist/cli/team-command.js +3 -3
  57. package/dist/cli.js +2 -2
  58. package/dist/core/debug.impl.js +3 -3
  59. package/dist/core/debug.js +3 -3
  60. package/dist/core/export-html/card-projection.impl.js +3 -3
  61. package/dist/core/export-html/card-projection.js +3 -3
  62. package/dist/core/export-html/index.code.js +2 -2
  63. package/dist/core/export-html/index.impl.js +3 -3
  64. package/dist/core/export-html/index.js +3 -3
  65. package/dist/core/export-html/json-spans.impl.js +3 -3
  66. package/dist/core/export-html/json-spans.js +3 -3
  67. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  68. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  69. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  70. package/dist/core/export-html/tool-renderer.js +3 -3
  71. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  72. package/dist/core/extensions/jiti-loader.js +3 -3
  73. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  74. package/dist/core/extensions/jiti-static-loader.js +3 -3
  75. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  76. package/dist/core/extensions/loader-host-modules.js +3 -3
  77. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  78. package/dist/core/intercom-broker-control-host.js +3 -3
  79. package/dist/core/intercom-broker-control.code.js +2 -2
  80. package/dist/core/intercom-broker-control.impl.js +3 -3
  81. package/dist/core/intercom-broker-control.js +3 -3
  82. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  83. package/dist/core/package-manager-storage-adapters.js +3 -3
  84. package/dist/core/sdk.impl.js +3 -3
  85. package/dist/core/sdk.js +3 -3
  86. package/dist/core/session-manager-core.js +2 -2
  87. package/dist/core/session-manager-list.impl.js +3 -3
  88. package/dist/core/session-manager-list.js +3 -3
  89. package/dist/core/session-manager.impl.js +3 -3
  90. package/dist/core/session-manager.js +3 -3
  91. package/dist/core/session-storage.impl.js +3 -3
  92. package/dist/core/session-storage.js +3 -3
  93. package/dist/core/storage/index.js +2 -2
  94. package/dist/core/storage/node-sqlite-thread.js +2 -2
  95. package/dist/core/storage/node-sqlite.js +2 -2
  96. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  97. package/dist/core/storage/offline-snapshot-file.js +3 -3
  98. package/dist/core/storage/provider.js +2 -2
  99. package/dist/core/storage/selection.js +2 -2
  100. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  101. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  102. package/dist/core/storage/session/branch-fork-source.js +3 -3
  103. package/dist/core/storage/session/card-view.impl.js +3 -3
  104. package/dist/core/storage/session/card-view.js +3 -3
  105. package/dist/core/storage/session/child-reader.code.js +2 -2
  106. package/dist/core/storage/session/child-reader.impl.js +3 -3
  107. package/dist/core/storage/session/child-reader.js +3 -3
  108. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  109. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  110. package/dist/core/storage/session/expanded-child-details.code.js +2 -2
  111. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  112. package/dist/core/storage/session/expanded-child-details.js +3 -3
  113. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  114. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  115. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  116. package/dist/core/storage/session/fork-row-index.js +3 -3
  117. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  118. package/dist/core/storage/session/fork-staging.js +3 -3
  119. package/dist/core/storage/session/fork-window.code.js +2 -2
  120. package/dist/core/storage/session/fork-window.impl.js +3 -3
  121. package/dist/core/storage/session/fork-window.js +3 -3
  122. package/dist/core/storage/session/history-pages.impl.js +3 -3
  123. package/dist/core/storage/session/history-pages.js +3 -3
  124. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  125. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  126. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  127. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  128. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  129. package/dist/core/storage/session/memory-session-store.js +3 -3
  130. package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
  131. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  132. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  133. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  134. package/dist/core/storage/session/released-history-files.js +3 -3
  135. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  136. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  137. package/dist/core/storage/session/session-resume.impl.js +3 -3
  138. package/dist/core/storage/session/session-resume.js +3 -3
  139. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  140. package/dist/core/storage/session/snapshot-cut.js +3 -3
  141. package/dist/core/storage/session/snapshot-history.code.js +2 -2
  142. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  143. package/dist/core/storage/session/snapshot-history.js +3 -3
  144. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  145. package/dist/core/storage/session/sql-session-store.js +3 -3
  146. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  147. package/dist/core/storage/session/tree-outline.js +3 -3
  148. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  149. package/dist/core/storage/session/tree-presentation.js +3 -3
  150. package/dist/core/storage/storage-status.impl.js +3 -3
  151. package/dist/core/storage/storage-status.js +3 -3
  152. package/dist/core/storage/team.impl.js +3 -3
  153. package/dist/core/storage/team.js +3 -3
  154. package/dist/core/structured-output/index.impl.js +3 -3
  155. package/dist/core/structured-output/index.js +3 -3
  156. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  157. package/dist/core/tasks/task-completion-entry.js +3 -3
  158. package/dist/core/tasks/task-file-history.code.js +2 -2
  159. package/dist/core/tasks/task-file-history.impl.js +3 -3
  160. package/dist/core/tasks/task-file-history.js +3 -3
  161. package/dist/core/tasks/task-reference-archive.code.js +2 -2
  162. package/dist/core/tasks/task-reference-archive.js +3 -3
  163. package/dist/core/tasks/task-reference-identity.js +3 -3
  164. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  165. package/dist/core/tasks/task-reference-stream.js +3 -3
  166. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  167. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  168. package/dist/core/tasks/task-view-source.impl.js +3 -3
  169. package/dist/core/tasks/task-view-source.js +3 -3
  170. package/dist/core/tools/read-url.impl.js +3 -3
  171. package/dist/core/tools/read-url.js +3 -3
  172. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  173. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  174. package/dist/core/worktree-snapshot/errors.js +3 -3
  175. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  176. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  177. package/dist/extensions/codemode/execute.impl.js +3 -3
  178. package/dist/extensions/codemode/execute.js +3 -3
  179. package/dist/extensions/codemode/renderer.impl.js +3 -3
  180. package/dist/extensions/codemode/renderer.js +3 -3
  181. package/dist/extensions/mcp/cli.impl.js +3 -3
  182. package/dist/extensions/mcp/cli.js +3 -3
  183. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  184. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  185. package/dist/extensions/mcp/cli.lazy.js +3 -3
  186. package/dist/extensions/mcp/runtime.impl.js +3 -3
  187. package/dist/extensions/mcp/runtime.js +3 -3
  188. package/dist/main-first-time-setup.impl.js +3 -3
  189. package/dist/main-first-time-setup.js +3 -3
  190. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  191. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  192. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  193. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  194. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  195. package/dist/package-manager-cli.code.js +2 -2
  196. package/dist/package-manager-cli.impl.js +3 -3
  197. package/dist/package-manager-cli.js +3 -3
  198. package/dist/startup-files.json +1 -1
  199. package/dist/utils/startup-database-spare.impl.js +3 -3
  200. package/dist/utils/startup-database-spare.js +3 -3
  201. package/dist/utils/tools-manager.impl.js +3 -3
  202. package/dist/utils/tools-manager.js +3 -3
  203. package/docs/background-tasks.md +8 -5
  204. package/docs/build.md +11 -6
  205. package/docs/changelog.mdx +1 -1
  206. package/docs/codemode.md +10 -2
  207. package/docs/compaction/reference.md +6 -4
  208. package/docs/compaction.md +3 -3
  209. package/docs/containerization.md +13 -5
  210. package/docs/custom-provider/api-reference.md +8 -6
  211. package/docs/custom-provider/oauth.md +4 -4
  212. package/docs/custom-provider/registration.md +3 -3
  213. package/docs/custom-provider.md +8 -8
  214. package/docs/development.md +40 -5
  215. package/docs/docs.json +21 -5
  216. package/docs/environment-variables.md +20 -18
  217. package/docs/extensions/api-reference.md +8 -6
  218. package/docs/extensions/authoring.md +4 -4
  219. package/docs/extensions.md +43 -6
  220. package/docs/guides/configuration.md +21 -1
  221. package/docs/guides/intercom.md +4 -0
  222. package/docs/guides/non-interactive.md +4 -2
  223. package/docs/guides/orchestration.md +4 -2
  224. package/docs/guides/resume-on-any-machine.md +12 -6
  225. package/docs/guides/subagents.md +4 -0
  226. package/docs/guides/team-setup.md +13 -2
  227. package/docs/guides.md +10 -4
  228. package/docs/herdr.md +4 -4
  229. package/docs/index.md +12 -4
  230. package/docs/intercom/operations.md +26 -4
  231. package/docs/intercom/reference.md +25 -3
  232. package/docs/intercom.md +13 -5
  233. package/docs/json.md +2 -0
  234. package/docs/keybindings.md +17 -4
  235. package/docs/libraries/agent-core.md +4 -2
  236. package/docs/libraries/ai.md +71 -53
  237. package/docs/libraries/codemode.md +3 -2
  238. package/docs/libraries/schema.md +5 -2
  239. package/docs/libraries/storage-libsql.md +92 -0
  240. package/docs/libraries/storage-postgres.md +119 -0
  241. package/docs/libraries/telemetry.md +35 -2
  242. package/docs/libraries.md +23 -6
  243. package/docs/llama-cpp.md +2 -2
  244. package/docs/mcp-servers.md +50 -4
  245. package/docs/models/reference.md +13 -9
  246. package/docs/models-configuration.md +7 -7
  247. package/docs/models.md +18 -8
  248. package/docs/orchestration/migrating-workflows.md +2 -2
  249. package/docs/orchestration/patterns.md +8 -8
  250. package/docs/orchestration.md +5 -3
  251. package/docs/packages/authoring.md +3 -1
  252. package/docs/packages/reference.md +3 -1
  253. package/docs/packages.md +5 -3
  254. package/docs/programmatic.md +14 -8
  255. package/docs/prompt-templates.md +5 -3
  256. package/docs/providers/reference.md +7 -7
  257. package/docs/providers.md +22 -10
  258. package/docs/quickstart.md +13 -11
  259. package/docs/reference/cli.md +10 -5
  260. package/docs/reference.md +8 -4
  261. package/docs/rpc/examples.md +47 -0
  262. package/docs/rpc/extension-ui.md +7 -1
  263. package/docs/rpc/protocol.md +3 -2
  264. package/docs/rpc.md +3 -1
  265. package/docs/sdk/reference.md +144 -38
  266. package/docs/sdk/storage.md +614 -0
  267. package/docs/sdk/structured-decisions.md +77 -4
  268. package/docs/sdk/web-server.md +3 -2
  269. package/docs/sdk.md +26 -115
  270. package/docs/security.md +17 -7
  271. package/docs/session-format.md +38 -24
  272. package/docs/sessions.md +21 -15
  273. package/docs/settings.md +17 -14
  274. package/docs/skills.md +47 -3
  275. package/docs/storage.md +38 -24
  276. package/docs/subagents/authoring.md +3 -1
  277. package/docs/subagents/reference.md +8 -2
  278. package/docs/subagents.md +35 -6
  279. package/docs/terminal-setup.md +1 -1
  280. package/docs/themes.md +5 -3
  281. package/docs/tmux.md +4 -4
  282. package/docs/tools.md +11 -0
  283. package/docs/usage.md +25 -15
  284. package/docs/web-access.md +35 -0
  285. package/docs/windows.md +9 -6
  286. package/docs/worktree-snapshots.md +22 -11
  287. package/examples/sdk/11-sessions.ts +4 -4
  288. package/package.json +8 -8
  289. package/schemas/models.schema.json +7 -7
@@ -5863,7 +5863,7 @@ function __atomicOnDemandFailed(error, feature) {
5863
5863
  return (async () => {
5864
5864
  const root = new URL("../", import.meta.url);
5865
5865
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
5866
- const key = `${root.href}#0.10.10-alpha.1`;
5866
+ const key = `${root.href}#0.10.10-alpha.2`;
5867
5867
  let release = releases.get(key);
5868
5868
  if (release === undefined) {
5869
5869
  const current = (async () => {
@@ -5891,7 +5891,7 @@ function __atomicOnDemandFailed(error, feature) {
5891
5891
  } catch {
5892
5892
  // No installation to read, as in a bundle of the package: the release the process runs decides.
5893
5893
  }
5894
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
5894
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
5895
5895
  if (updatedTo === undefined) throw error;
5896
5896
  const application = typeof running?.name === "string" ? running.name : "atomic";
5897
5897
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -6115,7 +6115,7 @@ function __atomicOnDemandFailed(error, feature) {
6115
6115
  return (async () => {
6116
6116
  const root = new URL("../", import.meta.url);
6117
6117
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
6118
- const key = `${root.href}#0.10.10-alpha.1`;
6118
+ const key = `${root.href}#0.10.10-alpha.2`;
6119
6119
  let release = releases.get(key);
6120
6120
  if (release === undefined) {
6121
6121
  const current = (async () => {
@@ -6143,7 +6143,7 @@ function __atomicOnDemandFailed(error, feature) {
6143
6143
  } catch {
6144
6144
  // No installation to read, as in a bundle of the package: the release the process runs decides.
6145
6145
  }
6146
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
6146
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
6147
6147
  if (updatedTo === undefined) throw error;
6148
6148
  const application = typeof running?.name === "string" ? running.name : "atomic";
6149
6149
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -28236,7 +28236,7 @@ function __atomicOnDemandFailed(error, feature) {
28236
28236
  return (async () => {
28237
28237
  const root = new URL("../", import.meta.url);
28238
28238
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
28239
- const key = `${root.href}#0.10.10-alpha.1`;
28239
+ const key = `${root.href}#0.10.10-alpha.2`;
28240
28240
  let release = releases.get(key);
28241
28241
  if (release === undefined) {
28242
28242
  const current = (async () => {
@@ -28264,7 +28264,7 @@ function __atomicOnDemandFailed(error, feature) {
28264
28264
  } catch {
28265
28265
  // No installation to read, as in a bundle of the package: the release the process runs decides.
28266
28266
  }
28267
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
28267
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
28268
28268
  if (updatedTo === undefined) throw error;
28269
28269
  const application = typeof running?.name === "string" ? running.name : "atomic";
28270
28270
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -1130,7 +1130,7 @@ function __atomicOnDemandFailed(error, feature) {
1130
1130
  return (async () => {
1131
1131
  const root = new URL("../", import.meta.url);
1132
1132
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
1133
- const key = `${root.href}#0.10.10-alpha.1`;
1133
+ const key = `${root.href}#0.10.10-alpha.2`;
1134
1134
  let release = releases.get(key);
1135
1135
  if (release === undefined) {
1136
1136
  const current = (async () => {
@@ -1158,7 +1158,7 @@ function __atomicOnDemandFailed(error, feature) {
1158
1158
  } catch {
1159
1159
  // No installation to read, as in a bundle of the package: the release the process runs decides.
1160
1160
  }
1161
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
1161
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
1162
1162
  if (updatedTo === undefined) throw error;
1163
1163
  const application = typeof running?.name === "string" ? running.name : "atomic";
1164
1164
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -9175,7 +9175,7 @@ function __atomicOnDemandFailed(error, feature) {
9175
9175
  return (async () => {
9176
9176
  const root = new URL("../", import.meta.url);
9177
9177
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9178
- const key = `${root.href}#0.10.10-alpha.1`;
9178
+ const key = `${root.href}#0.10.10-alpha.2`;
9179
9179
  let release = releases.get(key);
9180
9180
  if (release === undefined) {
9181
9181
  const current = (async () => {
@@ -9203,7 +9203,7 @@ function __atomicOnDemandFailed(error, feature) {
9203
9203
  } catch {
9204
9204
  // No installation to read, as in a bundle of the package: the release the process runs decides.
9205
9205
  }
9206
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
9206
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
9207
9207
  if (updatedTo === undefined) throw error;
9208
9208
  const application = typeof running?.name === "string" ? running.name : "atomic";
9209
9209
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -8023,7 +8023,7 @@ function __atomicOnDemandFailed(error, feature) {
8023
8023
  return (async () => {
8024
8024
  const root = new URL("../", import.meta.url);
8025
8025
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
8026
- const key = `${root.href}#0.10.10-alpha.1`;
8026
+ const key = `${root.href}#0.10.10-alpha.2`;
8027
8027
  let release = releases.get(key);
8028
8028
  if (release === undefined) {
8029
8029
  const current = (async () => {
@@ -8051,7 +8051,7 @@ function __atomicOnDemandFailed(error, feature) {
8051
8051
  } catch {
8052
8052
  // No installation to read, as in a bundle of the package: the release the process runs decides.
8053
8053
  }
8054
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
8054
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
8055
8055
  if (updatedTo === undefined) throw error;
8056
8056
  const application = typeof running?.name === "string" ? running.name : "atomic";
8057
8057
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -28216,7 +28216,7 @@ function __atomicOnDemandFailed(error, feature) {
28216
28216
  return (async () => {
28217
28217
  const root = new URL("../", import.meta.url);
28218
28218
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
28219
- const key = `${root.href}#0.10.10-alpha.1`;
28219
+ const key = `${root.href}#0.10.10-alpha.2`;
28220
28220
  let release = releases.get(key);
28221
28221
  if (release === undefined) {
28222
28222
  const current = (async () => {
@@ -28244,7 +28244,7 @@ function __atomicOnDemandFailed(error, feature) {
28244
28244
  } catch {
28245
28245
  // No installation to read, as in a bundle of the package: the release the process runs decides.
28246
28246
  }
28247
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
28247
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
28248
28248
  if (updatedTo === undefined) throw error;
28249
28249
  const application = typeof running?.name === "string" ? running.name : "atomic";
28250
28250
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -1012,7 +1012,7 @@ function __atomicOnDemandFailed(error, feature) {
1012
1012
  return (async () => {
1013
1013
  const root = new URL("../", import.meta.url);
1014
1014
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
1015
- const key = `${root.href}#0.10.10-alpha.1`;
1015
+ const key = `${root.href}#0.10.10-alpha.2`;
1016
1016
  let release = releases.get(key);
1017
1017
  if (release === undefined) {
1018
1018
  const current = (async () => {
@@ -1040,7 +1040,7 @@ function __atomicOnDemandFailed(error, feature) {
1040
1040
  } catch {
1041
1041
  // No installation to read, as in a bundle of the package: the release the process runs decides.
1042
1042
  }
1043
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
1043
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
1044
1044
  if (updatedTo === undefined) throw error;
1045
1045
  const application = typeof running?.name === "string" ? running.name : "atomic";
1046
1046
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -31,7 +31,7 @@ function __atomicOnDemandFailed(error, feature) {
31
31
  return (async () => {
32
32
  const root = new URL("../", import.meta.url);
33
33
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
34
- const key = `${root.href}#0.10.10-alpha.1`;
34
+ const key = `${root.href}#0.10.10-alpha.2`;
35
35
  let release = releases.get(key);
36
36
  if (release === undefined) {
37
37
  const current = (async () => {
@@ -59,7 +59,7 @@ function __atomicOnDemandFailed(error, feature) {
59
59
  } catch {
60
60
  // No installation to read, as in a bundle of the package: the release the process runs decides.
61
61
  }
62
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
62
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
63
63
  if (updatedTo === undefined) throw error;
64
64
  const application = typeof running?.name === "string" ? running.name : "atomic";
65
65
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -88,7 +88,7 @@ function __atomicOnDemandFailed(error, feature) {
88
88
  return (async () => {
89
89
  const root = new URL("../", import.meta.url);
90
90
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
91
- const key = `${root.href}#0.10.10-alpha.1`;
91
+ const key = `${root.href}#0.10.10-alpha.2`;
92
92
  let release = releases.get(key);
93
93
  if (release === undefined) {
94
94
  const current = (async () => {
@@ -116,7 +116,7 @@ function __atomicOnDemandFailed(error, feature) {
116
116
  } catch {
117
117
  // No installation to read, as in a bundle of the package: the release the process runs decides.
118
118
  }
119
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
119
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
120
120
  if (updatedTo === undefined) throw error;
121
121
  const application = typeof running?.name === "string" ? running.name : "atomic";
122
122
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -181,7 +181,7 @@ To coordinate two chat sessions privately without changing startup settings, hav
181
181
 
182
182
  ## Subagent escalation with `contact_supervisor`
183
183
 
184
- When a subagent is launched with supervisor coordination, it receives the `contact_supervisor` tool alongside `intercom`. Regular sessions never see `contact_supervisor`.
184
+ When a [subagent](https://docs.bastani.ai/subagents) is launched with supervisor coordination, it receives the `contact_supervisor` tool alongside `intercom`. Regular sessions never see `contact_supervisor`.
185
185
 
186
186
  In interactive and standard sessions, blocking `contact_supervisor` requests wait inside the requesting child and continue that same child once the supervisor replies. Active and queued siblings keep running with their original identities and worktrees. In custom SDK sessions without background task support, a blocking request ends the child with a `[TASK_CONTEXT]` handoff.
187
187
 
@@ -379,7 +379,7 @@ graph TB
379
379
  B2 <-->|Local Socket/Pipe| B3
380
380
  ```
381
381
 
382
- The broker is a standalone process that manages session registration and message routing over length-prefixed JSON frames on a Unix domain socket (macOS and Linux) or named pipe (Windows). When shared storage is configured through `@bastani/atomic-storage-libsql` or `@bastani/atomic-storage-postgres`, brokers also enable multi-node routing so sessions on different machines can list and message each other, and ungrouped sessions default to their repository's `project:<owner>/<repo>` group instead of `default`.
382
+ The broker is a standalone process that manages session registration and message routing over length-prefixed JSON frames on a Unix domain socket (macOS and Linux) or named pipe (Windows). When [shared storage](https://docs.bastani.ai/storage) is configured through [`@bastani/atomic-storage-libsql`](https://docs.bastani.ai/libraries/storage-libsql) or [`@bastani/atomic-storage-postgres`](https://docs.bastani.ai/libraries/storage-postgres), brokers also enable multi-node routing so sessions on different machines can list and message each other, and ungrouped sessions default to their repository's `project:<owner>/<repo>` group instead of `default`.
383
383
 
384
384
  ### Broker lifecycle and recovery
385
385
 
@@ -392,7 +392,7 @@ The broker is a standalone process that manages session registration and message
392
392
 
393
393
  ### Runtime files
394
394
 
395
- Runtime files live in `~/.atomic/agent/intercom/`. Setting `ATOMIC_CODING_AGENT_DIR` (or legacy `PI_CODING_AGENT_DIR` when unset) relocates this directory.
395
+ Runtime files live in `~/.atomic/agent/intercom/`. Setting [`ATOMIC_CODING_AGENT_DIR`](https://docs.bastani.ai/environment-variables) (or legacy `PI_CODING_AGENT_DIR` when unset) relocates this directory.
396
396
 
397
397
  - `broker.sock` holds the Unix domain socket on macOS and Linux (Windows uses a named pipe). If the path exceeds the platform Unix socket limit (107 bytes on Linux, 103 bytes on macOS), the broker creates an owner-only `atomic-intercom-<uid>/<digest>.sock` socket under `$XDG_RUNTIME_DIR` or the system temp directory and records its path in `broker.sock.path`.
398
398
  - `broker.pid`, `broker.starting`, `broker.spawn.lock`, and `broker.sock.replace.lock` coordinate broker startup and lock ownership.
@@ -404,7 +404,7 @@ Runtime files live in `~/.atomic/agent/intercom/`. Setting `ATOMIC_CODING_AGENT_
404
404
 
405
405
  ## Limitations
406
406
 
407
- - **Local IPC by default:** Without shared storage, Intercom connects sessions on the same machine only. Cross-machine messaging requires configuring a shared storage adapter (`@bastani/atomic-storage-libsql` or `@bastani/atomic-storage-postgres`).
407
+ - **Local IPC by default:** Without [shared storage](https://docs.bastani.ai/storage), Intercom connects sessions on the same machine only. Cross-machine messaging requires configuring a shared storage adapter ([`@bastani/atomic-storage-libsql`](https://docs.bastani.ai/libraries/storage-libsql) or [`@bastani/atomic-storage-postgres`](https://docs.bastani.ai/libraries/storage-postgres)).
408
408
  - **No separate transcript file:** Messages are stored in Atomic session history rather than a dedicated Intercom inbox file.
409
409
  - **No attachments UI:** The `intercom` tool supports `file`, `snippet`, and `context` attachments, while the `Alt+M` compose overlay sends plain text only.
410
410
  - **Connected sessions only:** `intercom list` shows sessions currently registered with the broker, not disconnected or offline Atomic processes.
@@ -7,7 +7,7 @@ import * as __atomicHostImport1 from "@bastani/atomic-ai";
7
7
  if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
8
8
  if (missing.length > 0) {
9
9
  const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
10
- if (__atomicHostImport0.VERSION !== "0.10.10-alpha.1") missing.unshift(application + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using the intercom extension.");
10
+ if (__atomicHostImport0.VERSION !== "0.10.10-alpha.2") missing.unshift(application + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using the intercom extension.");
11
11
  throw new Error(missing.join("\n"));
12
12
  }
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/intercom",
3
- "version": "0.10.10-alpha.1",
3
+ "version": "0.10.10-alpha.2",
4
4
  "private": true,
5
5
  "description": "Atomic extension for direct messaging and coordination between parent, child, and peer agent sessions.",
6
6
  "contributors": [
@@ -14,7 +14,7 @@ atomic mcp list
14
14
  atomic
15
15
  ```
16
16
 
17
- Commands write `~/.atomic/agent/mcp.json` by default. Add `--local` (`-l`) to use `.atomic/mcp.json` in the current project. Project servers are read only after project trust is granted. A project entry defining `command`, `url`, or `type` replaces a user-level entry of the same name. A project entry without `command`, `url`, or `type` overrides only `enabled`, `exposure`, and `toolExposure` while inheriting the user-level server's connection and credentials.
17
+ Commands write `~/.atomic/agent/mcp.json` by default. Add `--local` (`-l`) to use `.atomic/mcp.json` in the current project. Project servers are read only after [project trust](https://docs.bastani.ai/security) is granted. A project entry defining `command`, `url`, or `type` replaces a user-level entry of the same name. A project entry without `command`, `url`, or `type` overrides only `enabled`, `exposure`, and `toolExposure` while inheriting the user-level server's connection and credentials.
18
18
 
19
19
  Both files use this shape:
20
20
 
@@ -67,7 +67,7 @@ Common `atomic mcp add` options include `-l`/`--local`, `--env KEY=VALUE`, `--cw
67
67
 
68
68
  Stdio servers use `command`, `args`, `env`, and `cwd`. HTTP servers use `url`, `headers`, and `oauth`. Set optional `type` to `"stdio"`, `"http"`, or `"streamable-http"` when you want to make the transport explicit.
69
69
 
70
- URLs support `${NAME}` and `$env:NAME` environment references, resolved in memory before validation without rewriting files. `env`, `headers`, and `oauth.clientSecret` support `${NAME}` references and whole-value `!command` expressions. Escape literal `$` as `$$` and a leading literal `!` as `$!`. Only use `!command` expressions in configuration you trust.
70
+ URLs support `${NAME}` and `$env:NAME` environment references, resolved in memory before validation without rewriting files. `env`, `headers`, and `oauth.clientSecret` support `${NAME}` references and whole-value `!command` expressions. Escape literal `$` as `$$` and a leading literal `!` as `$!`. Only use `!command` expressions in configuration you trust ([Security](https://docs.bastani.ai/security)).
71
71
 
72
72
  | Setting | Meaning |
73
73
  | --- | --- |
@@ -80,13 +80,37 @@ URLs support `${NAME}` and `$env:NAME` environment references, resolved in memor
80
80
 
81
81
  Package and extension contributions use the same server shape and sit below file-configured servers. `ATOMIC_CODING_AGENT_DIR` relocates the Atomic agent directory.
82
82
 
83
+ Extensions can register runtime-computed servers with [`atomic.registerMcpServer()`](https://docs.bastani.ai/extensions/api-reference#atomic-registermcpserver-name-config):
84
+
85
+ ```typescript
86
+ import type { ExtensionAPI } from "@bastani/atomic";
87
+
88
+ export default function (atomic: ExtensionAPI) {
89
+ atomic.registerMcpServer("local-docs", {
90
+ url: "http://127.0.0.1:4321/mcp",
91
+ exposure: "codemode",
92
+ description: "Local documentation server",
93
+ });
94
+ }
95
+ ```
96
+
83
97
  ## Tools and resources
84
98
 
85
99
  Tools use names such as `mcp__github__search_code`. Collisions after identifier normalization receive deterministic hash suffixes. Call names returned by discovery instead of constructing them manually.
86
100
 
87
- The default exposure is `codemode`: scripts discover tools through `searchTools()`, `describeTool()`, and `ALL_TOOLS`, then call them. `deferred` tools become declared after `tool_search` loads a match (`codemode-deferred` is accepted as an alias). `direct` tools are declared immediately; `hidden` tools are unreachable. `toolExposure` overrides the server's default. Exact names win over patterns, and among patterns the first match wins.
101
+ The default exposure is [`codemode`](https://docs.bastani.ai/codemode): scripts discover tools through `searchTools()`, `describeTool()`, and `ALL_TOOLS`, then call them. `deferred` tools become declared after `tool_search` loads a match (`codemode-deferred` is accepted as an alias). `direct` tools are declared immediately; `hidden` tools are unreachable. `toolExposure` overrides the server's default. Exact names win over patterns, and among patterns the first match wins.
88
102
 
89
- Atomic activates `codemode` automatically for codemode servers and `tool_search` for deferred servers. An explicit `-codemode` in `defaultTools` or `--tools` prevents MCP from activating codemode; omission from a plain `defaultTools` list does not. Set `"autoEnableCodemode": false` beside `mcpServers` to disable automatic activation without removing codemode from the defaults. A project value overrides the user-level value. Scripts read server instructions with `describeNamespace("mcp__github")`.
103
+ Atomic activates `codemode` automatically for codemode servers and `tool_search` for deferred servers. An explicit `-codemode` in `defaultTools` or `--tools` prevents MCP from activating codemode; omission from a plain `defaultTools` list does not. Set `"autoEnableCodemode": false` beside `mcpServers` to disable automatic activation without removing codemode from the defaults. A project value overrides the user-level value. Scripts read server instructions with `describeNamespace("mcp__github")`:
104
+
105
+ ```typescript
106
+ const server = await describeNamespace("mcp__github");
107
+ const matches = await searchTools("search code", { namespace: "mcp__github", limit: 5 });
108
+
109
+ if (server && matches.length > 0) {
110
+ const result = await tools.mcp__github__search_code({ q: "registerMcpServer" });
111
+ text(result);
112
+ }
113
+ ```
90
114
 
91
115
  Enabled servers connect in the background. The first prompt waits up to 10 seconds for direct-tool servers. Discovery and calls wait for the servers they need. Dropped connections reconnect on the next call, and tool-list notifications refresh registrations automatically.
92
116
 
@@ -6,7 +6,7 @@ import * as __atomicHostImport0 from "@bastani/atomic";
6
6
  if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
7
7
  if (missing.length > 0) {
8
8
  const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
9
- if (__atomicHostImport0.VERSION !== "0.10.10-alpha.1") missing.unshift(application + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using the mcp extension.");
9
+ if (__atomicHostImport0.VERSION !== "0.10.10-alpha.2") missing.unshift(application + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using the mcp extension.");
10
10
  throw new Error(missing.join("\n"));
11
11
  }
12
12
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/mcp",
3
- "version": "0.10.10-alpha.1",
3
+ "version": "0.10.10-alpha.2",
4
4
  "private": true,
5
5
  "description": "Atomic's MCP integration for server connections, OAuth, tools, resources, and terminal management.",
6
6
  "contributors": [
@@ -8,7 +8,7 @@ See the [subagents guide](https://docs.bastani.ai/subagents), [custom subagents]
8
8
 
9
9
  ## Setup
10
10
 
11
- Atomic bundles `@bastani/subagents` with `@bastani/atomic`. No separate installation is required.
11
+ Atomic bundles `@bastani/subagents` with `@bastani/atomic` ([Installation](https://docs.bastani.ai/getting-started/installation)). No separate installation is required.
12
12
 
13
13
  ## Try this first
14
14
 
@@ -151,7 +151,7 @@ Delegation is strictly one level deep. Child sessions may use `list`, `get`, `st
151
151
 
152
152
  ## Intercom coordination
153
153
 
154
- Atomic bundles `@bastani/intercom` alongside `@bastani/subagents`. No separate install is needed for parent-child or sibling coordination.
154
+ Atomic bundles `@bastani/intercom` alongside `@bastani/subagents`. No separate install is needed for parent-child or sibling coordination. See the [Intercom guide](https://docs.bastani.ai/intercom) for full group and messaging rules.
155
155
 
156
156
  When Intercom is active, subagents receive a private route back to the parent session through `contact_supervisor`:
157
157
 
@@ -275,7 +275,7 @@ Examples:
275
275
  - Setting `tools: mcp:chrome-devtools` keeps normal built-in tools and adds direct tools from the `chrome-devtools` MCP server.
276
276
  - Setting `tools: read, bash, mcp:chrome-devtools` restricts built-in tools to `read` and `bash` and adds direct tools from the `chrome-devtools` MCP server.
277
277
 
278
- Direct `mcp:` selections work with servers configured in Atomic's bundled `@bastani/mcp` extension (`~/.atomic/agent/mcp.json` or trusted `.atomic/mcp.json`), promoting matching non-hidden server tools to direct exposure in that child session.
278
+ Direct `mcp:` selections work with servers configured in Atomic's bundled `@bastani/mcp` extension (`~/.atomic/agent/mcp.json` or trusted `.atomic/mcp.json`; see [MCP servers](https://docs.bastani.ai/mcp-servers)), promoting matching non-hidden server tools to direct exposure in that child session.
279
279
 
280
280
  `extensions` controls child extension loading and takes precedence over extension paths implied by `tools`:
281
281
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/subagents",
3
- "version": "0.10.10-alpha.1",
3
+ "version": "0.10.10-alpha.2",
4
4
  "private": true,
5
5
  "description": "Atomic extension for delegating tasks to subagents with parallel execution.",
6
6
  "contributors": [
@@ -10,7 +10,7 @@ import * as __atomicHostImport4 from "@bastani/atomic-ai";
10
10
  if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
11
11
  if (missing.length > 0) {
12
12
  const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
13
- if (__atomicHostImport0.VERSION !== "0.10.10-alpha.1") missing.unshift(application + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using the subagents extension.");
13
+ if (__atomicHostImport0.VERSION !== "0.10.10-alpha.2") missing.unshift(application + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using the subagents extension.");
14
14
  throw new Error(missing.join("\n"));
15
15
  }
16
16
  }
@@ -183,7 +183,7 @@ PDF URLs up to 20 MB are extracted as text (up to 100 pages) and saved to `~/Dow
183
183
 
184
184
  When Readability fails or returns only a cookie notice, the extension tries the Next.js RSC flight data parser, Jina Reader (server-side JS rendering with no API key), Gemini URL Context API, and then Gemini Web when browser cookies are enabled. Text responses are capped at 5 MB and 20 redirects.
185
185
 
186
- Only `http` and `https` URLs are fetched. URLs with embedded credentials, local or private addresses (including redirects to them), and intranet host names are never sent to remote fallbacks.
186
+ Only `http` and `https` URLs are fetched. URLs with embedded credentials, local or private addresses (including redirects to them), and intranet host names are never sent to remote fallbacks ([Security](https://docs.bastani.ai/security), [Tools](https://docs.bastani.ai/tools#documents-and-urls)).
187
187
 
188
188
  ## Routing
189
189
 
@@ -299,7 +299,7 @@ Store settings in `~/.atomic/web-search.json`. Every field is optional. Environm
299
299
  | `searchModel` | `"gemini-3-flash-preview"` | Gemini API model used by `web_search` without changing URL, YouTube, or video extraction defaults. |
300
300
  | `summaryModel` | built-in preference list | Preferred model for curator summary drafts (must be available in your model registry). |
301
301
  | `curatorTimeoutSeconds` | `20` | Initial curator idle timeout in seconds (max `600`). |
302
- | `allowBrowserCookies` | `false` | Enable Chromium cookie extraction for Gemini Web (also controllable per process with `ATOMIC_ALLOW_BROWSER_COOKIES=1`). |
302
+ | `allowBrowserCookies` | `false` | Enable Chromium cookie extraction for Gemini Web (also controllable per process with `ATOMIC_ALLOW_BROWSER_COOKIES=1`; see [Environment variables](https://docs.bastani.ai/environment-variables)). |
303
303
  | `chromeProfile` | auto-detected | Override Chromium profile directory for Gemini Web cookie lookup. |
304
304
  | `githubClone.enabled` | `true` | Enable local GitHub repository cloning in `fetch_content`. |
305
305
  | `githubClone.maxRepoSizeMB` | `350` | Size threshold above which `fetch_content` falls back to the GitHub API unless `forceClone: true`. |
@@ -8,7 +8,7 @@ import * as __atomicHostImport2 from "@bastani/atomic-ai/compat";
8
8
  if (!(name in namespace)) missing.push(`The requested module '${specifier}' does not provide an export named '${name}'`);
9
9
  if (missing.length > 0) {
10
10
  const application = typeof __atomicHostImport0.APP_NAME === "string" ? __atomicHostImport0.APP_NAME : "atomic";
11
- if (__atomicHostImport0.VERSION !== "0.10.10-alpha.1") missing.unshift(application + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using the web-access extension.");
11
+ if (__atomicHostImport0.VERSION !== "0.10.10-alpha.2") missing.unshift(application + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using the web-access extension.");
12
12
  throw new Error(missing.join("\n"));
13
13
  }
14
14
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/web-access",
3
- "version": "0.10.10-alpha.1",
3
+ "version": "0.10.10-alpha.2",
4
4
  "private": true,
5
5
  "description": "Atomic extension for web search, URL fetching, GitHub repository cloning, and PDF and video extraction.",
6
6
  "contributors": [
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -112,7 +112,7 @@ function __atomicOnDemandFailed(error, feature) {
112
112
  return (async () => {
113
113
  const root = new URL("../", import.meta.url);
114
114
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
115
- const key = `${root.href}#0.10.10-alpha.1`;
115
+ const key = `${root.href}#0.10.10-alpha.2`;
116
116
  let release = releases.get(key);
117
117
  if (release === undefined) {
118
118
  const current = (async () => {
@@ -140,7 +140,7 @@ function __atomicOnDemandFailed(error, feature) {
140
140
  } catch {
141
141
  // No installation to read, as in a bundle of the package: the release the process runs decides.
142
142
  }
143
- const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.1" ? installed : running !== undefined && running.version !== "0.10.10-alpha.1" ? "0.10.10-alpha.1" : undefined;
143
+ const updatedTo = typeof installed === "string" && installed !== "0.10.10-alpha.2" ? installed : running !== undefined && running.version !== "0.10.10-alpha.2" ? "0.10.10-alpha.2" : undefined;
144
144
  if (updatedTo === undefined) throw error;
145
145
  const application = typeof running?.name === "string" ? running.name : "atomic";
146
146
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using intercom.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using intercom.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using intercom.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using intercom.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -6,7 +6,7 @@ try {
6
6
  } catch (error) {
7
7
  const root = new URL("../", import.meta.url);
8
8
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
9
- const key = `${root.href}#0.10.10-alpha.1`;
9
+ const key = `${root.href}#0.10.10-alpha.2`;
10
10
  let release = releases.get(key);
11
11
  if (release === undefined) {
12
12
  const current = (async () => {
@@ -27,8 +27,8 @@ try {
27
27
  release = current;
28
28
  }
29
29
  const running = await release;
30
- if (running === undefined || running.version === "0.10.10-alpha.1") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.1 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.10-alpha.2") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.10-alpha.2 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }