@bastani/atomic 0.10.17 → 0.10.18-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/_shared/dist-KOELCESV.js +2 -2
  3. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  4. package/dist/_shared/lib-4PES5P4V.js +2 -2
  5. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +6 -6
  6. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
  7. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +16 -4
  8. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
  9. package/dist/_shared/mode-shared-2QJSCUM6.js +16 -9
  10. package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
  11. package/dist/_shared/p0-cli-BB45ZQY6.js +1 -0
  12. package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
  13. package/dist/_shared/p1a-prewarm-XIU57JHF.js +4 -3
  14. package/dist/_shared/p1a-prewarm-XIU57JHF.js.map +1 -1
  15. package/dist/_shared/p2-shell-main-B2WIALFD.js +1 -1
  16. package/dist/_shared/p2-shell-main-B2WIALFD.js.map +1 -1
  17. package/dist/_shared/runtime-O4KCSG4C.js +2 -2
  18. package/dist/_shared/sdk-OHKMDJ74.js +11 -7
  19. package/dist/_shared/sdk-OHKMDJ74.js.map +1 -1
  20. package/dist/_shared/session-data-AHTU7IS6.js +2 -2
  21. package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
  22. package/dist/_shared/{startup-0-0-ERMIDHQT.js → startup-0-0-OV6RAEAP.js} +338 -75
  23. package/dist/_shared/startup-0-0-OV6RAEAP.js.map +1 -0
  24. package/dist/_shared/{startup-0-1-RTASI3HG.js → startup-0-1-EZAJI6RE.js} +82 -5
  25. package/dist/_shared/startup-0-1-EZAJI6RE.js.map +1 -0
  26. package/dist/_shared/startup-0-2-YZZOC22D.js +4 -4
  27. package/dist/_shared/startup-0-3-DE2NCS6A.js +4 -4
  28. package/dist/_shared/startup-0-4-ZMJV547D.js +10 -6
  29. package/dist/_shared/startup-0-4-ZMJV547D.js.map +1 -1
  30. package/dist/_shared/startup-0-5-HZX3ZPTP.js +41 -10
  31. package/dist/_shared/startup-0-5-HZX3ZPTP.js.map +1 -1
  32. package/dist/_shared/startup-10-0-TDQNBDDL.js +5 -5
  33. package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
  34. package/dist/_shared/startup-12-0-55AAXBJZ.js +1 -1
  35. package/dist/_shared/startup-14-0-MLX36RBG.js +2 -2
  36. package/dist/_shared/startup-15-0-YUKGAC63.js +2 -2
  37. package/dist/_shared/startup-15-1-4S7FLMNG.js +261 -75
  38. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  39. package/dist/_shared/startup-8-0-34CBHPZH.js +23 -8
  40. package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
  41. package/dist/_shared/startup-8-1-LZFXSD3Z.js +328 -19
  42. package/dist/_shared/startup-8-1-LZFXSD3Z.js.map +1 -1
  43. package/dist/_shared/storage-command-7MGXLJGZ.js +4 -4
  44. package/dist/_shared/storage-status-K7PX2RXA.js +2 -2
  45. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  46. package/dist/_shared/team-DOQKICG2.js +1 -1
  47. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  48. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  49. package/dist/builtin/intercom/package.json +1 -1
  50. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  51. package/dist/builtin/mcp/package.json +1 -1
  52. package/dist/builtin/subagents/package.json +1 -1
  53. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  54. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  55. package/dist/builtin/web-access/package.json +1 -1
  56. package/dist/cli/args.js +2 -2
  57. package/dist/cli/auth-cli.code.js +2 -2
  58. package/dist/cli/auth-cli.impl.js +3 -3
  59. package/dist/cli/auth-cli.js +3 -3
  60. package/dist/cli/blueprint-command.code.js +1 -1
  61. package/dist/cli/blueprint-command.impl.js +3 -3
  62. package/dist/cli/blueprint-command.js +3 -3
  63. package/dist/cli/intercom-command.code.js +2 -2
  64. package/dist/cli/intercom-command.impl.js +3 -3
  65. package/dist/cli/intercom-command.js +3 -3
  66. package/dist/cli/list-models.code.js +2 -2
  67. package/dist/cli/list-models.impl.js +3 -3
  68. package/dist/cli/list-models.js +3 -3
  69. package/dist/cli/session-picker.code.js +1 -1
  70. package/dist/cli/session-picker.impl.js +3 -3
  71. package/dist/cli/session-picker.js +3 -3
  72. package/dist/cli/startup-ui.code.js +1 -1
  73. package/dist/cli/startup-ui.impl.js +3 -3
  74. package/dist/cli/startup-ui.js +3 -3
  75. package/dist/cli/storage-command.impl.js +3 -3
  76. package/dist/cli/storage-command.js +3 -3
  77. package/dist/cli/storage-search-session.code.js +1 -1
  78. package/dist/cli/storage-search-session.impl.js +3 -3
  79. package/dist/cli/storage-search-session.js +3 -3
  80. package/dist/cli/team-command.code.js +1 -1
  81. package/dist/cli/team-command.impl.js +3 -3
  82. package/dist/cli/team-command.js +3 -3
  83. package/dist/cli.js +2 -2
  84. package/dist/core/debug.impl.js +3 -3
  85. package/dist/core/debug.js +3 -3
  86. package/dist/core/export-html/card-projection.impl.js +3 -3
  87. package/dist/core/export-html/card-projection.js +3 -3
  88. package/dist/core/export-html/index.code.js +2 -2
  89. package/dist/core/export-html/index.impl.js +3 -3
  90. package/dist/core/export-html/index.js +3 -3
  91. package/dist/core/export-html/json-spans.impl.js +3 -3
  92. package/dist/core/export-html/json-spans.js +3 -3
  93. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  94. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  95. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  96. package/dist/core/export-html/tool-renderer.js +3 -3
  97. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  98. package/dist/core/extensions/jiti-loader.js +3 -3
  99. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  100. package/dist/core/extensions/jiti-static-loader.js +3 -3
  101. package/dist/core/extensions/loader-host-modules.code.js +1 -1
  102. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  103. package/dist/core/extensions/loader-host-modules.js +3 -3
  104. package/dist/core/extensions/loader-virtual-modules.js +1 -1
  105. package/dist/core/extensions/runner-context.js +1 -1
  106. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  107. package/dist/core/intercom-broker-control-host.js +3 -3
  108. package/dist/core/intercom-broker-control.code.js +3 -3
  109. package/dist/core/intercom-broker-control.impl.js +3 -3
  110. package/dist/core/intercom-broker-control.js +3 -3
  111. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  112. package/dist/core/package-manager-storage-adapters.js +3 -3
  113. package/dist/core/sdk.code.js +2 -2
  114. package/dist/core/sdk.impl.js +3 -3
  115. package/dist/core/sdk.js +3 -3
  116. package/dist/core/session-append-recovery.d.ts +3 -3
  117. package/dist/core/session-manager-core.d.ts +1 -1
  118. package/dist/core/session-manager-core.js +14 -13
  119. package/dist/core/session-manager-core.js.map +1 -1
  120. package/dist/core/session-manager-list.impl.js +3 -3
  121. package/dist/core/session-manager-list.js +3 -3
  122. package/dist/core/session-manager.code.js +1 -1
  123. package/dist/core/session-manager.impl.js +3 -3
  124. package/dist/core/session-manager.js +3 -3
  125. package/dist/core/session-storage.impl.js +3 -3
  126. package/dist/core/session-storage.js +3 -3
  127. package/dist/core/storage/errors.d.ts +8 -5
  128. package/dist/core/storage/errors.js +5 -3
  129. package/dist/core/storage/errors.js.map +1 -1
  130. package/dist/core/storage/index.js +2 -2
  131. package/dist/core/storage/node-sqlite-thread.js +2 -2
  132. package/dist/core/storage/node-sqlite.js +2 -2
  133. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  134. package/dist/core/storage/offline-snapshot-file.js +3 -3
  135. package/dist/core/storage/provider.js +2 -2
  136. package/dist/core/storage/selection.js +2 -2
  137. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  138. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  139. package/dist/core/storage/session/branch-fork-source.js +3 -3
  140. package/dist/core/storage/session/card-view.impl.js +3 -3
  141. package/dist/core/storage/session/card-view.js +3 -3
  142. package/dist/core/storage/session/child-reader.code.js +3 -3
  143. package/dist/core/storage/session/child-reader.impl.js +3 -3
  144. package/dist/core/storage/session/child-reader.js +3 -3
  145. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  146. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  147. package/dist/core/storage/session/expanded-child-details.code.js +2 -2
  148. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  149. package/dist/core/storage/session/expanded-child-details.js +3 -3
  150. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  151. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  152. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  153. package/dist/core/storage/session/fork-row-index.js +3 -3
  154. package/dist/core/storage/session/fork-staging.code.js +1 -1
  155. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  156. package/dist/core/storage/session/fork-staging.js +3 -3
  157. package/dist/core/storage/session/fork-window.code.js +3 -3
  158. package/dist/core/storage/session/fork-window.impl.js +3 -3
  159. package/dist/core/storage/session/fork-window.js +3 -3
  160. package/dist/core/storage/session/history-pages.impl.js +3 -3
  161. package/dist/core/storage/session/history-pages.js +3 -3
  162. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  163. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  164. package/dist/core/storage/session/jsonl-session-store.d.ts +1 -0
  165. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  166. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  167. package/dist/core/storage/session/memory-session-store.d.ts +1 -0
  168. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  169. package/dist/core/storage/session/memory-session-store.js +3 -3
  170. package/dist/core/storage/session/pinned-branch-resume.code.js +3 -3
  171. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  172. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  173. package/dist/core/storage/session/released-history-files.code.js +2 -2
  174. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  175. package/dist/core/storage/session/released-history-files.js +3 -3
  176. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  177. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  178. package/dist/core/storage/session/session-resume.impl.js +3 -3
  179. package/dist/core/storage/session/session-resume.js +3 -3
  180. package/dist/core/storage/session/session-summary.d.ts +9 -1
  181. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  182. package/dist/core/storage/session/snapshot-cut.js +3 -3
  183. package/dist/core/storage/session/snapshot-history.code.js +3 -3
  184. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  185. package/dist/core/storage/session/snapshot-history.js +3 -3
  186. package/dist/core/storage/session/sql-session-store.d.ts +1 -0
  187. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  188. package/dist/core/storage/session/sql-session-store.js +3 -3
  189. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  190. package/dist/core/storage/session/tree-outline.js +3 -3
  191. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  192. package/dist/core/storage/session/tree-presentation.js +3 -3
  193. package/dist/core/storage/session/types.d.ts +1 -0
  194. package/dist/core/storage/sqlite-facade.js +6 -1
  195. package/dist/core/storage/sqlite-facade.js.map +1 -1
  196. package/dist/core/storage/storage-status.impl.js +3 -3
  197. package/dist/core/storage/storage-status.js +3 -3
  198. package/dist/core/storage/team.impl.js +3 -3
  199. package/dist/core/storage/team.js +3 -3
  200. package/dist/core/structured-output/index.impl.js +3 -3
  201. package/dist/core/structured-output/index.js +3 -3
  202. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  203. package/dist/core/tasks/task-completion-entry.js +3 -3
  204. package/dist/core/tasks/task-file-history.code.js +3 -3
  205. package/dist/core/tasks/task-file-history.impl.js +3 -3
  206. package/dist/core/tasks/task-file-history.js +3 -3
  207. package/dist/core/tasks/task-reference-archive.code.js +3 -3
  208. package/dist/core/tasks/task-reference-archive.js +3 -3
  209. package/dist/core/tasks/task-reference-identity.js +3 -3
  210. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  211. package/dist/core/tasks/task-reference-stream.js +3 -3
  212. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  213. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  214. package/dist/core/tasks/task-view-source.impl.js +3 -3
  215. package/dist/core/tasks/task-view-source.js +3 -3
  216. package/dist/core/tools/history-session.d.ts +1 -1
  217. package/dist/core/tools/output-accumulator.d.ts +3 -0
  218. package/dist/core/tools/read-url.code.js +2 -2
  219. package/dist/core/tools/read-url.impl.js +3 -3
  220. package/dist/core/tools/read-url.js +3 -3
  221. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  222. package/dist/core/worktree-snapshot/errors.code.js +2 -2
  223. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  224. package/dist/core/worktree-snapshot/errors.js +3 -3
  225. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  226. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  227. package/dist/extensions/codemode/execute.code.js +1 -1
  228. package/dist/extensions/codemode/execute.impl.js +3 -3
  229. package/dist/extensions/codemode/execute.js +3 -3
  230. package/dist/extensions/codemode/renderer.code.js +1 -1
  231. package/dist/extensions/codemode/renderer.impl.js +3 -3
  232. package/dist/extensions/codemode/renderer.js +3 -3
  233. package/dist/extensions/mcp/cli.code.js +1 -1
  234. package/dist/extensions/mcp/cli.impl.js +3 -3
  235. package/dist/extensions/mcp/cli.js +3 -3
  236. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  237. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  238. package/dist/extensions/mcp/cli.lazy.js +3 -3
  239. package/dist/extensions/mcp/runtime.impl.js +3 -3
  240. package/dist/extensions/mcp/runtime.js +3 -3
  241. package/dist/index.js +2 -2
  242. package/dist/main-first-time-setup.code.js +1 -1
  243. package/dist/main-first-time-setup.impl.js +3 -3
  244. package/dist/main-first-time-setup.js +3 -3
  245. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  246. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  247. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  248. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  249. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  250. package/dist/modes/interactive/interactive-mode-helpers.d.ts +8 -1
  251. package/dist/modes/interactive-engine/isolated-runtime.d.ts +21 -0
  252. package/dist/modes/interactive-engine/protocol.d.ts +6 -0
  253. package/dist/modes/rpc/rpc-client.d.ts +2 -0
  254. package/dist/package-manager-cli.code.js +4 -4
  255. package/dist/package-manager-cli.impl.js +3 -3
  256. package/dist/package-manager-cli.js +3 -3
  257. package/dist/rpc-entry.js +1 -1
  258. package/dist/startup-files.json +1 -1
  259. package/dist/startup-stages/4.js +1 -1
  260. package/dist/startup-stages/6.js +1 -1
  261. package/dist/utils/interactive-engine-bootstrap.d.ts +2 -0
  262. package/dist/utils/interactive-engine-env.d.ts +2 -0
  263. package/dist/utils/startup-database-spare.code.js +2 -2
  264. package/dist/utils/startup-database-spare.impl.js +3 -3
  265. package/dist/utils/startup-database-spare.js +3 -3
  266. package/dist/utils/tools-manager.code.js +1 -1
  267. package/dist/utils/tools-manager.impl.js +3 -3
  268. package/dist/utils/tools-manager.js +3 -3
  269. package/docs/changelog.mdx +1 -1
  270. package/docs/guides/resume-on-any-machine.md +1 -1
  271. package/docs/reference/cli.md +1 -1
  272. package/docs/sdk.md +2 -1
  273. package/docs/sessions.md +5 -2
  274. package/docs/settings.md +1 -0
  275. package/docs/storage/custom-adapters.md +1 -1
  276. package/docs/storage/postgres/pgbouncer.md +3 -1
  277. package/docs/storage/postgres.md +41 -7
  278. package/docs/storage.md +4 -2
  279. package/docs/tools.md +1 -0
  280. package/package.json +8 -8
  281. package/dist/_shared/startup-0-0-ERMIDHQT.js.map +0 -1
  282. package/dist/_shared/startup-0-1-RTASI3HG.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.10.18-alpha.1] - 2026-11-28
6
+
7
+ Atomic makes it easier to resume the right session, keeps live sessions open through PostgreSQL stalls, and makes terminal output easier to read.
8
+
9
+ **Sessions and storage**
10
+
11
+ - **Resume the right conversation.** `atomic --continue` prefers a conversation you can pick up over a newer empty session. The resume command follows the session you switched to, and you can continue in another folder if the original is gone ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
12
+ - **Keep working through PostgreSQL stalls.** A stalled database call no longer ends a live session. Atomic tells you it’s waiting and retries pending saves in order, including subagent records ([#6830](https://github.com/bastani-inc/atomic/pull/6830)).
13
+ - **Treat PostgreSQL timeouts as failures.** Once a call times out, a late reply cannot turn it into a success, and a stalled cancellation no longer holds up later calls ([#6830](https://github.com/bastani-inc/atomic/pull/6830)).
14
+
15
+ **Terminal and workspace tools**
16
+
17
+ - **Read more useful terminal output.** History and the initial results from terminal-mode shell commands omit formatting codes, so more readable text fits without changing raw output files ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
18
+ - **Retry interrupted worktree creation.** Atomic clears stale Git locks left by its own interrupted SDK worktree setup without removing unrelated locks ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
19
+
20
+ ### Fixed
21
+
22
+ - If PostgreSQL stops answering, Atomic shows that it's waiting instead of quitting. When the database comes back, the session saves its pending messages and subagent records in order without duplicates ([#6829](https://github.com/bastani-inc/atomic/issues/6829)).
23
+ - `atomic --continue` prefers the most recent session with a conversation, a name, or a summary over a newer empty session. After switching sessions, the interactive resume command and crash recovery follow the session you switched to. Resuming no longer saves another copy of unchanged model or thinking settings, and choosing **Continue** works when the original working directory is gone ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
24
+ - History reads and searches ignore terminal formatting in tool output, without changing user or assistant messages. The first `bash` or `powershell` result with `pty: true` also omits those codes in the text sent to the model. Saved raw output and structured output still contain the original codes ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
25
+ - Retrying an interrupted SDK workspace setup clears the stale Git branch lock left by Atomic, so the new checkout can finish without disturbing unrelated locks ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
26
+
5
27
  ## [0.10.17] - 2026-11-28
6
28
 
7
29
  Atomic opens large existing session databases without upfront migration stalls and speeds up continuing recent sessions.
@@ -31842,7 +31842,7 @@ function __atomicOnDemandFailed(error, feature) {
31842
31842
  return (async () => {
31843
31843
  const root = new URL("../", import.meta.url);
31844
31844
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
31845
- const key = `${root.href}#0.10.17`;
31845
+ const key = `${root.href}#0.10.18-alpha.1`;
31846
31846
  let release = releases.get(key);
31847
31847
  if (release === undefined) {
31848
31848
  const current = (async () => {
@@ -31870,7 +31870,7 @@ function __atomicOnDemandFailed(error, feature) {
31870
31870
  } catch {
31871
31871
  // No installation to read, as in a bundle of the package: the release the process runs decides.
31872
31872
  }
31873
- const updatedTo = typeof installed === "string" && installed !== "0.10.17" ? installed : running !== undefined && running.version !== "0.10.17" ? "0.10.17" : undefined;
31873
+ const updatedTo = typeof installed === "string" && installed !== "0.10.18-alpha.1" ? installed : running !== undefined && running.version !== "0.10.18-alpha.1" ? "0.10.18-alpha.1" : undefined;
31874
31874
  if (updatedTo === undefined) throw error;
31875
31875
  const application = typeof running?.name === "string" ? running.name : "atomic";
31876
31876
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -40,7 +40,7 @@ function __atomicOnDemandFailed(error, feature) {
40
40
  return (async () => {
41
41
  const root = new URL("../", import.meta.url);
42
42
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
43
- const key = `${root.href}#0.10.17`;
43
+ const key = `${root.href}#0.10.18-alpha.1`;
44
44
  let release = releases.get(key);
45
45
  if (release === undefined) {
46
46
  const current = (async () => {
@@ -68,7 +68,7 @@ function __atomicOnDemandFailed(error, feature) {
68
68
  } catch {
69
69
  // No installation to read, as in a bundle of the package: the release the process runs decides.
70
70
  }
71
- const updatedTo = typeof installed === "string" && installed !== "0.10.17" ? installed : running !== undefined && running.version !== "0.10.17" ? "0.10.17" : undefined;
71
+ const updatedTo = typeof installed === "string" && installed !== "0.10.18-alpha.1" ? installed : running !== undefined && running.version !== "0.10.18-alpha.1" ? "0.10.18-alpha.1" : undefined;
72
72
  if (updatedTo === undefined) throw error;
73
73
  const application = typeof running?.name === "string" ? running.name : "atomic";
74
74
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -5131,7 +5131,7 @@ function __atomicOnDemandFailed(error, feature) {
5131
5131
  return (async () => {
5132
5132
  const root = new URL("../", import.meta.url);
5133
5133
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
5134
- const key = `${root.href}#0.10.17`;
5134
+ const key = `${root.href}#0.10.18-alpha.1`;
5135
5135
  let release = releases.get(key);
5136
5136
  if (release === undefined) {
5137
5137
  const current = (async () => {
@@ -5159,7 +5159,7 @@ function __atomicOnDemandFailed(error, feature) {
5159
5159
  } catch {
5160
5160
  // No installation to read, as in a bundle of the package: the release the process runs decides.
5161
5161
  }
5162
- const updatedTo = typeof installed === "string" && installed !== "0.10.17" ? installed : running !== undefined && running.version !== "0.10.17" ? "0.10.17" : undefined;
5162
+ const updatedTo = typeof installed === "string" && installed !== "0.10.18-alpha.1" ? installed : running !== undefined && running.version !== "0.10.18-alpha.1" ? "0.10.18-alpha.1" : undefined;
5163
5163
  if (updatedTo === undefined) throw error;
5164
5164
  const application = typeof running?.name === "string" ? running.name : "atomic";
5165
5165
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -1,7 +1,7 @@
1
1
  import { __name } from "./rolldown-runtime-BGM3D5V3.js";
2
2
  import { APP_NAME, APP_TITLE, CHANGELOG_URL, CONFIG_DIR_NAME, UpdatedInstallError, VERSION, VERSION_ADOPTION_ENDPOINT, canonicalizePathAsync, createChildProcessEnvironment, createModuleRequire, detectInstallChangeAsync, engineHeapRuntimeArgsForHost, findHelperExecutableAsync, getAgentDir, getAuthPath, getChangelogPath, getCwdRelativePath, getDebugLogPath, getDocsPath, getShareViewerUrl, helperLaunchAsync, isModuleLoadFailure, loadOnDemand, markLifecycleTiming, missingHelperOptions, processCompileCacheDeferral, setDebugSetting, shortenHomePath, updatedInstallError } from "./p0-cli-BB45ZQY6.js";
3
- import { BUILTIN_SLASH_COMMANDS, BUNDLED_EXTENSION_SLASH_COMMANDS, CountdownTimer, DynamicBorder, MissingSessionCwdError, NO_QUEUED_MESSAGES, TrustDecisionSelector, asyncScope, carryRowSource, chatPosition, chatReceipt, deduplicateDiagnostics, findProviderDefaultModel, formatAppendRecoveryNotice, formatMissingSessionCwdPrompt, formatNoModelsAvailableMessage, getEngineSessionStats, getMissingSessionCwdOptions, getPiUserAgent, isGitUnavailableError, isInstallTelemetryEnabled, isInteractiveEngineResourceReadinessError, isPathInside, isTrustDecision, isUnknownModel, keepDroppedQueuedMessages, markEventLoopShutdown, markEventLoopStartupComplete, noteRowSource, noteSavedSeq, onSessionProviderRequestDispatched, parseSlashCommand, placeTranscriptFrame, projectTrustWarningVisible, queuedMessagesUnderWay, quitAsInteractiveApp, recordStartupThinkingLevel, rowSource, safeTrustChoiceIndex, savedRowKey, savedSeqOf, setDeprecationWarningSink, setMarkitDiagnosticSink, shouldRenderEngineDiagnosticAsChatError, takeQueuedMessagesDroppedAt, usageCostBreakdown, userMessageOrigin, yieldToEventLoop, yieldToTimerTurn } from "./startup-0-0-ERMIDHQT.js";
4
- import { ExtensionInputComponent, ExtensionSelectorComponent, ReopenedCompletionHeaders, cancelInitialBinding, createCustomMessage, ensurePngTranscoder, ensureTool, formatResumeTimings, formatToolStatus, getBuiltinExtensionEntryLabel, getPromptCacheTtlMs as getPromptCacheTtlMs$1, initialBindScope, isOfflineModeEnabled, isVerbatimCompactionMessage, isWorkspaceError, latestResumeTimings, normalizeMessageContent, normalizeModelFailureSignal, prewarmModelApi, readHostInputFormRequest, registerInitialBindings, stripVerbatimCompactionPrefix, taskPromptHost, thinkingLevelForModelSwitch } from "./startup-0-1-RTASI3HG.js";
3
+ import { BUILTIN_SLASH_COMMANDS, BUNDLED_EXTENSION_SLASH_COMMANDS, CountdownTimer, DynamicBorder, MissingSessionCwdError, NO_QUEUED_MESSAGES, TrustDecisionSelector, asyncScope, carryRowSource, chatPosition, chatReceipt, deduplicateDiagnostics, findProviderDefaultModel, formatAppendRecoveryNotice, formatMissingSessionCwdPrompt, formatNoModelsAvailableMessage, getEngineSessionStats, getMissingSessionCwdOptions, getPiUserAgent, isGitUnavailableError, isInstallTelemetryEnabled, isInteractiveEngineResourceReadinessError, isPathInside, isTrustDecision, isUnknownModel, keepDroppedQueuedMessages, markEventLoopShutdown, markEventLoopStartupComplete, noteRowSource, noteSavedSeq, onSessionProviderRequestDispatched, parseSlashCommand, placeTranscriptFrame, projectTrustWarningVisible, queuedMessagesUnderWay, quitAsInteractiveApp, recordStartupThinkingLevel, rowSource, safeTrustChoiceIndex, savedRowKey, savedSeqOf, setDeprecationWarningSink, setMarkitDiagnosticSink, shouldRenderEngineDiagnosticAsChatError, takeQueuedMessagesDroppedAt, usageCostBreakdown, userMessageOrigin, yieldToEventLoop, yieldToTimerTurn } from "./startup-0-0-OV6RAEAP.js";
4
+ import { ExtensionInputComponent, ExtensionSelectorComponent, ReopenedCompletionHeaders, cancelInitialBinding, createCustomMessage, ensurePngTranscoder, ensureTool, formatResumeTimings, formatToolStatus, getBuiltinExtensionEntryLabel, getPromptCacheTtlMs as getPromptCacheTtlMs$1, initialBindScope, isOfflineModeEnabled, isVerbatimCompactionMessage, isWorkspaceError, latestResumeTimings, normalizeMessageContent, normalizeModelFailureSignal, prewarmModelApi, readHostInputFormRequest, registerInitialBindings, stripVerbatimCompactionPrefix, taskPromptHost, thinkingLevelForModelSwitch } from "./startup-0-1-EZAJI6RE.js";
5
5
  import { KeybindingsManager as KeybindingsManager$1, OVERLAY_ACTIVE_ROW_MARKER, Theme, clickableKeyTextHint, consumeStartupInput, formatKeyText, getAvailableThemes, getAvailableThemesWithPaths, getEditorTheme, getMarkdownTheme, getThemeByName, isNavHelpKey, keyDisplayText, keyHint, keyText, keyTextHint, loadAllHighlightLanguages, navEntryKeyParts, onThemeChange, recordTimeSinceReset, refreshCustomThemes, renderNavKeyOverlay, setRegisteredThemes, slashCommandHint, stopThemeWatcher, theme } from "./p2-shell-main-B2WIALFD.js";
6
6
  import { ProjectTrustStore, failureDebugFields, getProjectTrustPathAsync, hasTrustRequiringProjectResourcesAsync, reportDebugAsync } from "./p1b-elig-BY2G5BUE.js";
7
7
  import { WorkingRunMeter, compactionMeta, findExactModelReferenceMatch, getPowerShellConfigAsync, killSupervisedProcessTrees, killTrackedDetachedChildren, runInProgress, sessionLifetime, showStartupInput, showStartupSelector, taskTranscriptSource } from "./startup-0-2-YZZOC22D.js";
@@ -25119,7 +25119,7 @@ InteractiveModeBase.prototype.maybeShowInstallChangeWarning = async function() {
25119
25119
  if (this.installChangeWarningShown) return true;
25120
25120
  this.installChangeWarningShown = true;
25121
25121
  const cause = change.kind === "updated" ? `${APP_NAME} was updated to ${change.version} while this session was running (${VERSION})` : `The ${APP_NAME} installation this session runs from was removed or replaced`;
25122
- formatResumeCommand(this.sessionManager).then((resume) => this.showWarning(`${cause}. Features that load code on demand can fail until restart. ${resume ? `Restart with \`${resume}\` to continue this session.` : `Restart ${APP_NAME}.`}`));
25122
+ formatResumeCommand(this.sessionManager, process.platform, this.runtimeHost).then((resume) => this.showWarning(`${cause}. Features that load code on demand can fail until restart. ${resume ? `Restart with \`${resume}\` to continue this session.` : `Restart ${APP_NAME}.`}`));
25123
25123
  return true;
25124
25124
  };
25125
25125
  function createToolComponent(mode, toolName, toolCallId, args) {
@@ -26015,7 +26015,7 @@ InteractiveModeBase.prototype.shutdown = async function(options) {
26015
26015
  await disposeRuntime(this, false);
26016
26016
  if (ending.terminalLost) return exitAsTerminalLost(ending);
26017
26017
  ending.quitDisposed = true;
26018
- const resumeCommand = await formatResumeCommand(this.sessionManager);
26018
+ const resumeCommand = await formatResumeCommand(this.sessionManager, process.platform, this.runtimeHost);
26019
26019
  if (ending.consoleClosed) return exitAsTerminalLost(ending);
26020
26020
  if (resumeCommand && !ending.stdoutLost) try {
26021
26021
  process.stdout.write(`${chalk.dim("To resume this session:")} ${resumeCommand}\n`);
@@ -28206,7 +28206,7 @@ function __atomicOnDemandFailed(error, feature) {
28206
28206
  return (async () => {
28207
28207
  const root = new URL("../", import.meta.url);
28208
28208
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
28209
- const key = `${root.href}#0.10.17`;
28209
+ const key = `${root.href}#0.10.18-alpha.1`;
28210
28210
  let release = releases.get(key);
28211
28211
  if (release === undefined) {
28212
28212
  const current = (async () => {
@@ -28234,7 +28234,7 @@ function __atomicOnDemandFailed(error, feature) {
28234
28234
  } catch {
28235
28235
  // No installation to read, as in a bundle of the package: the release the process runs decides.
28236
28236
  }
28237
- const updatedTo = typeof installed === "string" && installed !== "0.10.17" ? installed : running !== undefined && running.version !== "0.10.17" ? "0.10.17" : undefined;
28237
+ const updatedTo = typeof installed === "string" && installed !== "0.10.18-alpha.1" ? installed : running !== undefined && running.version !== "0.10.18-alpha.1" ? "0.10.18-alpha.1" : undefined;
28238
28238
  if (updatedTo === undefined) throw error;
28239
28239
  const application = typeof running?.name === "string" ? running.name : "atomic";
28240
28240
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {