@bastani/atomic 0.10.19 → 0.10.20-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 (328) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_shared/adapter-open-DXXV6ATH.js +22 -0
  3. package/dist/_shared/adapter-open-DXXV6ATH.js.map +1 -0
  4. package/dist/_shared/dist-KOELCESV.js +2 -2
  5. package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
  6. package/dist/_shared/lib-4PES5P4V.js +2 -2
  7. package/dist/_shared/mode-interactive-sdk-JXBZ3H27.js +439 -217
  8. package/dist/_shared/mode-interactive-sdk-JXBZ3H27.js.map +1 -1
  9. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +19 -11
  10. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
  11. package/dist/_shared/mode-shared-2QJSCUM6.js +9 -9
  12. package/dist/_shared/p0-cli-BB45ZQY6.js +2 -2
  13. package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
  14. package/dist/_shared/runtime-O4KCSG4C.js +5 -5
  15. package/dist/_shared/{sdk-BHX35EPK.js → sdk-5ZFNDXUJ.js} +119 -40
  16. package/dist/_shared/sdk-5ZFNDXUJ.js.map +1 -0
  17. package/dist/_shared/session-data-AHTU7IS6.js +5 -4
  18. package/dist/_shared/session-data-AHTU7IS6.js.map +1 -1
  19. package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
  20. package/dist/_shared/settings-startup-HXQLSUWM.js.map +1 -1
  21. package/dist/_shared/{startup-0-0-4EDVBK5P.js → startup-0-0-FPPQF42L.js} +69 -26
  22. package/dist/_shared/startup-0-0-FPPQF42L.js.map +1 -0
  23. package/dist/_shared/{startup-0-1-H5IXVRXQ.js → startup-0-1-Q7GBLBEL.js} +158 -37
  24. package/dist/_shared/startup-0-1-Q7GBLBEL.js.map +1 -0
  25. package/dist/_shared/{startup-0-2-YZZOC22D.js → startup-0-2-JNYN24UI.js} +40 -6
  26. package/dist/_shared/startup-0-2-JNYN24UI.js.map +1 -0
  27. package/dist/_shared/startup-0-3-DE2NCS6A.js +26 -41
  28. package/dist/_shared/startup-0-3-DE2NCS6A.js.map +1 -1
  29. package/dist/_shared/{startup-0-4-ZMJV547D.js → startup-0-4-ZZXFKE55.js} +85 -19
  30. package/dist/_shared/startup-0-4-ZZXFKE55.js.map +1 -0
  31. package/dist/_shared/{startup-0-5-HZX3ZPTP.js → startup-0-5-WN2IYA25.js} +112 -15
  32. package/dist/_shared/startup-0-5-WN2IYA25.js.map +1 -0
  33. package/dist/_shared/{startup-10-0-TDQNBDDL.js → startup-10-0-O6DAT7U4.js} +65 -117
  34. package/dist/_shared/startup-10-0-O6DAT7U4.js.map +1 -0
  35. package/dist/_shared/startup-12-0-55AAXBJZ.js +2 -2
  36. package/dist/_shared/startup-14-0-MLX36RBG.js +8 -5
  37. package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
  38. package/dist/_shared/{startup-15-0-YUKGAC63.js → startup-15-0-E7RYG5YF.js} +8 -8
  39. package/dist/_shared/{startup-15-0-YUKGAC63.js.map → startup-15-0-E7RYG5YF.js.map} +1 -1
  40. package/dist/_shared/startup-15-1-WQZBOTMZ.js +73 -28
  41. package/dist/_shared/startup-15-1-WQZBOTMZ.js.map +1 -1
  42. package/dist/_shared/startup-8-0-34CBHPZH.js +31 -21
  43. package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
  44. package/dist/_shared/startup-8-1-QZMXUGHI.js +34 -24
  45. package/dist/_shared/startup-8-1-QZMXUGHI.js.map +1 -1
  46. package/dist/_shared/storage-command-7MGXLJGZ.js +9 -5
  47. package/dist/_shared/storage-command-7MGXLJGZ.js.map +1 -1
  48. package/dist/_shared/{storage-status-K7PX2RXA.js → storage-status-T6FUXRIM.js} +7 -23
  49. package/dist/_shared/{storage-status-K7PX2RXA.js.map → storage-status-T6FUXRIM.js.map} +1 -1
  50. package/dist/_shared/task-reference-stream-JWMUZSJX.js +1 -1
  51. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  52. package/dist/_shared/team-DOQKICG2.js +3 -2
  53. package/dist/_shared/team-DOQKICG2.js.map +1 -1
  54. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  55. package/dist/binary-self-update.js +3 -3
  56. package/dist/builtin/intercom/index.bundle.mjs +1 -1
  57. package/dist/builtin/intercom/package.json +1 -1
  58. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  59. package/dist/builtin/mcp/package.json +1 -1
  60. package/dist/builtin/subagents/package.json +1 -1
  61. package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
  62. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  63. package/dist/builtin/web-access/package.json +1 -1
  64. package/dist/cli/args.js +2 -2
  65. package/dist/cli/auth-cli.code.js +5 -5
  66. package/dist/cli/auth-cli.impl.js +3 -3
  67. package/dist/cli/auth-cli.js +3 -3
  68. package/dist/cli/blueprint-command.code.js +3 -3
  69. package/dist/cli/blueprint-command.impl.js +3 -3
  70. package/dist/cli/blueprint-command.js +3 -3
  71. package/dist/cli/intercom-command.code.js +3 -3
  72. package/dist/cli/intercom-command.impl.js +3 -3
  73. package/dist/cli/intercom-command.js +3 -3
  74. package/dist/cli/list-models.code.js +3 -3
  75. package/dist/cli/list-models.impl.js +3 -3
  76. package/dist/cli/list-models.js +3 -3
  77. package/dist/cli/session-picker.code.js +2 -2
  78. package/dist/cli/session-picker.impl.js +3 -3
  79. package/dist/cli/session-picker.js +3 -3
  80. package/dist/cli/startup-ui.code.js +2 -2
  81. package/dist/cli/startup-ui.impl.js +3 -3
  82. package/dist/cli/startup-ui.js +3 -3
  83. package/dist/cli/storage-command.impl.js +3 -3
  84. package/dist/cli/storage-command.js +3 -3
  85. package/dist/cli/storage-search-session.code.js +2 -2
  86. package/dist/cli/storage-search-session.impl.js +3 -3
  87. package/dist/cli/storage-search-session.js +3 -3
  88. package/dist/cli/team-command.code.js +3 -3
  89. package/dist/cli/team-command.impl.js +3 -3
  90. package/dist/cli/team-command.js +3 -3
  91. package/dist/cli.js +2 -2
  92. package/dist/core/agent-session-runtime.d.ts +2 -1
  93. package/dist/core/debug.impl.js +3 -3
  94. package/dist/core/debug.js +3 -3
  95. package/dist/core/export-html/card-projection.code.js +1 -1
  96. package/dist/core/export-html/card-projection.impl.js +3 -3
  97. package/dist/core/export-html/card-projection.js +3 -3
  98. package/dist/core/export-html/index.code.js +44 -41
  99. package/dist/core/export-html/index.code.js.map +1 -1
  100. package/dist/core/export-html/index.impl.js +3 -3
  101. package/dist/core/export-html/index.js +3 -3
  102. package/dist/core/export-html/json-spans.impl.js +3 -3
  103. package/dist/core/export-html/json-spans.js +3 -3
  104. package/dist/core/export-html/oversized-render-inputs.code.js +1 -1
  105. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  106. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  107. package/dist/core/export-html/template.js +12 -25
  108. package/dist/core/export-html/tool-renderer.code.js +1 -1
  109. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  110. package/dist/core/export-html/tool-renderer.js +3 -3
  111. package/dist/core/extensions/context-types.d.ts +3 -0
  112. package/dist/core/extensions/context-types.js.map +1 -1
  113. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  114. package/dist/core/extensions/jiti-loader.js +3 -3
  115. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  116. package/dist/core/extensions/jiti-static-loader.js +3 -3
  117. package/dist/core/extensions/loader-host-modules.code.js +1 -1
  118. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  119. package/dist/core/extensions/loader-host-modules.js +3 -3
  120. package/dist/core/extensions/loader-virtual-modules.js +2 -2
  121. package/dist/core/extensions/runner-context.d.ts +1 -0
  122. package/dist/core/extensions/runner-context.js +17 -1
  123. package/dist/core/extensions/runner-context.js.map +1 -1
  124. package/dist/core/extensions/runner.d.ts +1 -0
  125. package/dist/core/extensions/runtime-types.d.ts +1 -0
  126. package/dist/core/extensions/runtime-types.js.map +1 -1
  127. package/dist/core/intercom-broker-control-host.code.js +1 -1
  128. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  129. package/dist/core/intercom-broker-control-host.js +3 -3
  130. package/dist/core/intercom-broker-control.code.js +3 -3
  131. package/dist/core/intercom-broker-control.impl.js +3 -3
  132. package/dist/core/intercom-broker-control.js +3 -3
  133. package/dist/core/model-registry.js +2 -2
  134. package/dist/core/model-runtime-streaming.d.ts +3 -1
  135. package/dist/core/model-runtime.d.ts +2 -0
  136. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  137. package/dist/core/package-manager-storage-adapters.js +3 -3
  138. package/dist/core/sdk.code.js +3 -3
  139. package/dist/core/sdk.impl.js +3 -3
  140. package/dist/core/sdk.js +3 -3
  141. package/dist/core/session-manager-core.d.ts +4 -0
  142. package/dist/core/session-manager-core.js +46 -18
  143. package/dist/core/session-manager-core.js.map +1 -1
  144. package/dist/core/session-manager-history.d.ts +1 -1
  145. package/dist/core/session-manager-list.impl.js +3 -3
  146. package/dist/core/session-manager-list.js +3 -3
  147. package/dist/core/session-manager.code.js +2 -2
  148. package/dist/core/session-manager.impl.js +3 -3
  149. package/dist/core/session-manager.js +3 -3
  150. package/dist/core/session-storage.impl.js +3 -3
  151. package/dist/core/session-storage.js +3 -3
  152. package/dist/core/settings-manager.js +1 -1
  153. package/dist/core/storage/adapter-open.js +3 -0
  154. package/dist/core/storage/adapter-open.js.map +1 -0
  155. package/dist/core/storage/index.js +2 -2
  156. package/dist/core/storage/node-sqlite-thread.js +2 -2
  157. package/dist/core/storage/node-sqlite.js +2 -2
  158. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  159. package/dist/core/storage/offline-snapshot-file.js +3 -3
  160. package/dist/core/storage/prefix.js +1 -0
  161. package/dist/core/storage/prefix.js.map +1 -1
  162. package/dist/core/storage/provider.js +2 -2
  163. package/dist/core/storage/selection.js +2 -2
  164. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  165. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  166. package/dist/core/storage/session/branch-fork-source.js +3 -3
  167. package/dist/core/storage/session/card-view.impl.js +3 -3
  168. package/dist/core/storage/session/card-view.js +3 -3
  169. package/dist/core/storage/session/child-reader.code.js +7 -7
  170. package/dist/core/storage/session/child-reader.code.js.map +1 -1
  171. package/dist/core/storage/session/child-reader.d.ts +1 -0
  172. package/dist/core/storage/session/child-reader.impl.js +3 -3
  173. package/dist/core/storage/session/child-reader.js +3 -3
  174. package/dist/core/storage/session/chunked-resume-projection.code.js +1 -1
  175. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  176. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  177. package/dist/core/storage/session/expanded-child-details.code.js +3 -3
  178. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  179. package/dist/core/storage/session/expanded-child-details.js +3 -3
  180. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  181. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  182. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  183. package/dist/core/storage/session/fork-row-index.js +3 -3
  184. package/dist/core/storage/session/fork-staging.code.js +2 -2
  185. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  186. package/dist/core/storage/session/fork-staging.js +3 -3
  187. package/dist/core/storage/session/fork-window.code.js +5 -4
  188. package/dist/core/storage/session/fork-window.code.js.map +1 -1
  189. package/dist/core/storage/session/fork-window.impl.js +3 -3
  190. package/dist/core/storage/session/fork-window.js +3 -3
  191. package/dist/core/storage/session/history-pages.impl.js +3 -3
  192. package/dist/core/storage/session/history-pages.js +3 -3
  193. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  194. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  195. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  196. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  197. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  198. package/dist/core/storage/session/memory-session-store.js +3 -3
  199. package/dist/core/storage/session/pinned-branch-resume.code.js +3 -3
  200. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  201. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  202. package/dist/core/storage/session/released-history-files.code.js +3 -3
  203. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  204. package/dist/core/storage/session/released-history-files.js +3 -3
  205. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  206. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  207. package/dist/core/storage/session/session-resume.impl.js +3 -3
  208. package/dist/core/storage/session/session-resume.js +3 -3
  209. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  210. package/dist/core/storage/session/snapshot-cut.js +3 -3
  211. package/dist/core/storage/session/snapshot-history.code.js +3 -3
  212. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  213. package/dist/core/storage/session/snapshot-history.js +3 -3
  214. package/dist/core/storage/session/sql-session-store.code.js +1 -1
  215. package/dist/core/storage/session/sql-session-store.d.ts +3 -17
  216. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  217. package/dist/core/storage/session/sql-session-store.js +3 -3
  218. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  219. package/dist/core/storage/session/tree-outline.js +3 -3
  220. package/dist/core/storage/session/tree-presentation.code.js +1 -1
  221. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  222. package/dist/core/storage/session/tree-presentation.js +3 -3
  223. package/dist/core/storage/session/types.d.ts +2 -0
  224. package/dist/core/storage/session/usage-observations.d.ts +27 -0
  225. package/dist/core/storage/session/usage-observations.js +3 -0
  226. package/dist/core/storage/session/usage-observations.js.map +1 -0
  227. package/dist/core/storage/storage-status.code.js +1 -1
  228. package/dist/core/storage/storage-status.impl.js +3 -3
  229. package/dist/core/storage/storage-status.js +3 -3
  230. package/dist/core/storage/team.impl.js +3 -3
  231. package/dist/core/storage/team.js +3 -3
  232. package/dist/core/structured-output/index.code.js +1 -1
  233. package/dist/core/structured-output/index.impl.js +3 -3
  234. package/dist/core/structured-output/index.js +3 -3
  235. package/dist/core/subscription-usage-identity.d.ts +9 -0
  236. package/dist/core/subscription-usage-observations.d.ts +15 -0
  237. package/dist/core/subscription-usage-storage.js +3 -0
  238. package/dist/core/subscription-usage-storage.js.map +1 -0
  239. package/dist/core/subscription-usage.d.ts +20 -3
  240. package/dist/core/tasks/task-completion-entry.code.js +1 -1
  241. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  242. package/dist/core/tasks/task-completion-entry.js +3 -3
  243. package/dist/core/tasks/task-file-history.code.js +3 -3
  244. package/dist/core/tasks/task-file-history.impl.js +3 -3
  245. package/dist/core/tasks/task-file-history.js +3 -3
  246. package/dist/core/tasks/task-reference-archive.code.js +4 -4
  247. package/dist/core/tasks/task-reference-archive.js +3 -3
  248. package/dist/core/tasks/task-reference-identity.code.js +1 -1
  249. package/dist/core/tasks/task-reference-identity.js +3 -3
  250. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  251. package/dist/core/tasks/task-reference-stream.js +3 -3
  252. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  253. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  254. package/dist/core/tasks/task-view-source.impl.js +3 -3
  255. package/dist/core/tasks/task-view-source.js +3 -3
  256. package/dist/core/tools/read-url.code.js +2 -2
  257. package/dist/core/tools/read-url.impl.js +3 -3
  258. package/dist/core/tools/read-url.js +3 -3
  259. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  260. package/dist/core/worktree-snapshot/errors.code.js +3 -3
  261. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  262. package/dist/core/worktree-snapshot/errors.js +3 -3
  263. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  264. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  265. package/dist/extensions/codemode/execute.code.js +2 -2
  266. package/dist/extensions/codemode/execute.impl.js +3 -3
  267. package/dist/extensions/codemode/execute.js +3 -3
  268. package/dist/extensions/codemode/renderer.code.js +2 -2
  269. package/dist/extensions/codemode/renderer.impl.js +3 -3
  270. package/dist/extensions/codemode/renderer.js +3 -3
  271. package/dist/extensions/mcp/cli.code.js +3 -3
  272. package/dist/extensions/mcp/cli.impl.js +3 -3
  273. package/dist/extensions/mcp/cli.js +3 -3
  274. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  275. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  276. package/dist/extensions/mcp/cli.lazy.js +3 -3
  277. package/dist/extensions/mcp/runtime.code.js +1 -1
  278. package/dist/extensions/mcp/runtime.impl.js +3 -3
  279. package/dist/extensions/mcp/runtime.js +3 -3
  280. package/dist/index.d.ts +1 -1
  281. package/dist/index.js +8 -8
  282. package/dist/main-first-time-setup.code.js +2 -2
  283. package/dist/main-first-time-setup.impl.js +3 -3
  284. package/dist/main-first-time-setup.js +3 -3
  285. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  286. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  287. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  288. package/dist/modes/interactive/components/user-message-selector-archive.code.js +1 -1
  289. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  290. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  291. package/dist/modes/interactive-engine/isolated-runtime.d.ts +1 -0
  292. package/dist/modes/interactive-engine/protocol.d.ts +4 -0
  293. package/dist/modes/print-mode.js +1 -1
  294. package/dist/modes/rpc/rpc-client.d.ts +1 -1
  295. package/dist/modes/rpc/rpc-types.d.ts +5 -0
  296. package/dist/package-manager-cli.code.js +6 -6
  297. package/dist/package-manager-cli.impl.js +3 -3
  298. package/dist/package-manager-cli.js +3 -3
  299. package/dist/rpc-entry.js +1 -1
  300. package/dist/startup-files.json +1 -1
  301. package/dist/startup-stages/10.js +1 -1
  302. package/dist/startup-stages/4.js +1 -1
  303. package/dist/startup-stages/6.js +1 -1
  304. package/dist/startup-stages/7.js +1 -1
  305. package/dist/startup-stages/8.js +1 -1
  306. package/dist/utils/startup-database-spare.code.js +3 -3
  307. package/dist/utils/startup-database-spare.impl.js +3 -3
  308. package/dist/utils/startup-database-spare.js +3 -3
  309. package/dist/utils/tools-manager.code.js +1 -1
  310. package/dist/utils/tools-manager.impl.js +3 -3
  311. package/dist/utils/tools-manager.js +3 -3
  312. package/docs/changelog.mdx +23 -0
  313. package/docs/extensions/api-reference.md +6 -0
  314. package/docs/guides/subscription-usage.md +28 -82
  315. package/docs/reference/cli.md +3 -1
  316. package/docs/rpc/protocol.md +30 -2
  317. package/docs/sdk/reference.md +26 -1
  318. package/docs/sessions.md +3 -1
  319. package/docs/slash-commands.md +1 -1
  320. package/docs/usage.md +1 -1
  321. package/package.json +8 -8
  322. package/dist/_shared/sdk-BHX35EPK.js.map +0 -1
  323. package/dist/_shared/startup-0-0-4EDVBK5P.js.map +0 -1
  324. package/dist/_shared/startup-0-1-H5IXVRXQ.js.map +0 -1
  325. package/dist/_shared/startup-0-2-YZZOC22D.js.map +0 -1
  326. package/dist/_shared/startup-0-4-ZMJV547D.js.map +0 -1
  327. package/dist/_shared/startup-0-5-HZX3ZPTP.js.map +0 -1
  328. package/dist/_shared/startup-10-0-TDQNBDDL.js.map +0 -1
@@ -5,12 +5,12 @@ import { createHash, randomUUID } from "node:crypto";
5
5
  import { lstat, mkdir, readFile, rm, stat } from "node:fs/promises";
6
6
  import { homedir } from "node:os";
7
7
  import { SettingsManager, blueprintRepository, resumeStoreDir, runBlueprintBuild } from "../_shared/startup-8-1-QZMXUGHI.js";
8
- import { admitPooledWorktree, blueprintPlatformOf, captureWorktreeSnapshot, discardPooledWorktree, evictIdleWorktrees, insideThroughDirectories, isDeniedSnapshotPath, nulFields, objectStorePath, parseBlueprint, readRepositoryConfig, releaseRestoredWorktree, removeRestoredWorktree, restoreWorktreeAt, runGit, seedDirectory, seedManifestPath, seedPathSegments, storeCheckoutHead, withSeedLock, writeSeedManifest } from "../_shared/startup-0-5-HZX3ZPTP.js";
8
+ import { admitPooledWorktree, blueprintPlatformOf, captureWorktreeSnapshot, discardPooledWorktree, evictIdleWorktrees, insideThroughDirectories, isDeniedSnapshotPath, nulFields, objectStorePath, parseBlueprint, readRepositoryConfig, releaseRestoredWorktree, removeRestoredWorktree, restoreWorktreeAt, runGit, seedDirectory, seedManifestPath, seedPathSegments, storeCheckoutHead, withSeedLock, writeSeedManifest } from "../_shared/startup-0-5-WN2IYA25.js";
9
9
  import { computeEnvironmentHash, sha256Hex } from "../_shared/startup-0-3-DE2NCS6A.js";
10
- import { canonicalizeWorktreePath, repositoryIdOf, sharedRepositoryIdOf } from "../_shared/startup-0-4-ZMJV547D.js";
10
+ import { canonicalizeWorktreePath, repositoryIdOf, sharedRepositoryIdOf } from "../_shared/startup-0-4-ZZXFKE55.js";
11
11
  import { ProjectTrustStore, renameWithRetry } from "../_shared/p1b-elig-BY2G5BUE.js";
12
12
  import { MemorySnapshotBlobStore } from "../core/worktree-snapshot/blob-store.js";
13
- import { ResumeTimingsRecorder, formatResumeTimings, timeCheckoutRestore } from "../_shared/startup-0-1-H5IXVRXQ.js";
13
+ import { ResumeTimingsRecorder, formatResumeTimings, timeCheckoutRestore } from "../_shared/startup-0-1-Q7GBLBEL.js";
14
14
  // dist/core/resume/blueprint/cache-stores.js
15
15
  /**
16
16
  * The package-manager stores `atomic blueprint cache-key` detects (#4748): which lockfiles at the repository root name a
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,6 +1,6 @@
1
1
  import "../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { APP_NAME } from "../_shared/p0-cli-BB45ZQY6.js";
3
- import { processStorageEnvironment } from "../_shared/startup-0-2-YZZOC22D.js";
3
+ import { processStorageEnvironment } from "../_shared/startup-0-2-JNYN24UI.js";
4
4
  // dist/cli/intercom-command.js
5
5
  /**
6
6
  * `atomic intercom restart` replaces the agent directory's Intercom broker, so it reads the current storage
@@ -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.19`;
115
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19" ? installed : running !== undefined && running.version !== "0.10.19" ? "0.10.19" : undefined;
143
+ const updatedTo = typeof installed === "string" && installed !== "0.10.20-alpha.1" ? installed : running !== undefined && running.version !== "0.10.20-alpha.1" ? "0.10.20-alpha.1" : 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using intercom.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using intercom.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using intercom.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,9 +1,9 @@
1
1
  import "../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { fuzzyFilter } from "@bastani/atomic-tui";
3
3
  import chalk from "chalk";
4
- import { formatNoModelsAvailableMessage, formatTokenCount } from "../_shared/startup-0-0-4EDVBK5P.js";
5
- import { formatModelLabel } from "../_shared/startup-0-4-ZMJV547D.js";
6
- import { thinkingLevelForModelSwitch } from "../_shared/startup-0-1-H5IXVRXQ.js";
4
+ import { formatNoModelsAvailableMessage, formatTokenCount } from "../_shared/startup-0-0-FPPQF42L.js";
5
+ import { formatModelLabel } from "../_shared/startup-0-4-ZZXFKE55.js";
6
+ import { thinkingLevelForModelSwitch } from "../_shared/startup-0-1-Q7GBLBEL.js";
7
7
  import { getModelSearchText } from "../_shared/mode-shared-2QJSCUM6.js";
8
8
  // dist/cli/list-models.js
9
9
  /**
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -3,8 +3,8 @@ import { ProcessTerminal, TuiMainScreen, setCapabilityOverrides, setKeybindings
3
3
  import { getAgentDir } from "../_shared/p0-cli-BB45ZQY6.js";
4
4
  import { KeybindingsManager as KeybindingsManager$1, keepStartupDialogDraft, withEarlyInputHeldForStartupDialog } from "../_shared/p2-shell-main-B2WIALFD.js";
5
5
  import { SessionSelectorComponent } from "../_shared/mode-shared-2QJSCUM6.js";
6
- import { STARTUP_DECISION_TYPED_TEXT_NOTICE, TrustDecisionSelector } from "../_shared/startup-0-0-4EDVBK5P.js";
7
- import { StartupDialogInputGuard } from "../_shared/startup-0-2-YZZOC22D.js";
6
+ import { STARTUP_DECISION_TYPED_TEXT_NOTICE, TrustDecisionSelector } from "../_shared/startup-0-0-FPPQF42L.js";
7
+ import { StartupDialogInputGuard } from "../_shared/startup-0-2-JNYN24UI.js";
8
8
  // dist/cli/session-picker.js
9
9
  /**
10
10
  * TUI session selector for --resume flag
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import "../_shared/rolldown-runtime-BGM3D5V3.js";
2
- import { shouldRunFirstTimeSetup } from "../_shared/startup-0-0-4EDVBK5P.js";
3
- import { StartupDialogInputGuard, detectStartupTheme, showFirstTimeSetup, showStartupInput, showStartupSelector } from "../_shared/startup-0-2-YZZOC22D.js";
2
+ import { shouldRunFirstTimeSetup } from "../_shared/startup-0-0-FPPQF42L.js";
3
+ import { StartupDialogInputGuard, detectStartupTheme, showFirstTimeSetup, showStartupInput, showStartupSelector } from "../_shared/startup-0-2-JNYN24UI.js";
4
4
  export { StartupDialogInputGuard, detectStartupTheme, shouldRunFirstTimeSetup, showFirstTimeSetup, showStartupInput, showStartupSelector };
5
5
  //# sourceMappingURL=startup-ui.code.js.map
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using session storage.", {
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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using session storage.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,11 +1,11 @@
1
1
  import "../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { resolve } from "node:path";
3
3
  import { renderStorageIdentifiers } from "../core/storage/prefix.js";
4
- import { SESSION_TABLES, SqlSessionStore } from "../_shared/sdk-BHX35EPK.js";
4
+ import { SESSION_TABLES, SqlSessionStore } from "../_shared/sdk-5ZFNDXUJ.js";
5
5
  import { createHistoryRouter, createSearchToolDefinition } from "../_shared/startup-8-1-QZMXUGHI.js";
6
6
  import { lstat, realpath, stat } from "node:fs/promises";
7
7
  import { pathToFileURL } from "node:url";
8
- import { SqliteSelectorConnection } from "../_shared/startup-0-0-4EDVBK5P.js";
8
+ import { SqliteSelectorConnection } from "../_shared/startup-0-0-FPPQF42L.js";
9
9
  // dist/cli/storage-search-database.js
10
10
  async function existingFile(path) {
11
11
  try {
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using session storage.", {
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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using session storage.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -2,10 +2,10 @@ import "../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { APP_NAME } from "../_shared/p0-cli-BB45ZQY6.js";
3
3
  import { StorageError, TeamProfileConfigError, isTeamProfileConfigError, isTeamProfileError } from "../core/storage/errors.js";
4
4
  import { LIBSQL_MIGRATION_DOCS_URL } from "../core/storage/libsql-removed.js";
5
- import { processStorageEnvironment } from "../_shared/startup-0-2-YZZOC22D.js";
6
- import { collectStorageStatus, describeStorageError as describeStorageError$1 } from "../_shared/storage-status-K7PX2RXA.js";
5
+ import { processStorageEnvironment } from "../_shared/startup-0-2-JNYN24UI.js";
6
+ import { collectStorageStatus, describeStorageError as describeStorageError$1 } from "../_shared/storage-status-T6FUXRIM.js";
7
7
  import { selectTeamProfile } from "../_shared/team-DOQKICG2.js";
8
- import { createGitEnvironment } from "../_shared/startup-0-0-4EDVBK5P.js";
8
+ import { createGitEnvironment } from "../_shared/startup-0-0-FPPQF42L.js";
9
9
  import { failed, formatStorageStatus, loadBrokerControl } from "../_shared/storage-command-7MGXLJGZ.js";
10
10
  // dist/cli/team-command.js
11
11
  /**
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
package/dist/cli.js CHANGED
@@ -94,7 +94,7 @@ function __atomicOnDemandFailed(error, feature) {
94
94
  return (async () => {
95
95
  const root = new URL("./", import.meta.url);
96
96
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
97
- const key = `${root.href}#0.10.19`;
97
+ const key = `${root.href}#0.10.20-alpha.1`;
98
98
  let release = releases.get(key);
99
99
  if (release === undefined) {
100
100
  const current = (async () => {
@@ -122,7 +122,7 @@ function __atomicOnDemandFailed(error, feature) {
122
122
  } catch {
123
123
  // No installation to read, as in a bundle of the package: the release the process runs decides.
124
124
  }
125
- const updatedTo = typeof installed === "string" && installed !== "0.10.19" ? installed : running !== undefined && running.version !== "0.10.19" ? "0.10.19" : undefined;
125
+ const updatedTo = typeof installed === "string" && installed !== "0.10.20-alpha.1" ? installed : running !== undefined && running.version !== "0.10.20-alpha.1" ? "0.10.20-alpha.1" : undefined;
126
126
  if (updatedTo === undefined) throw error;
127
127
  const application = typeof running?.name === "string" ? running.name : "atomic";
128
128
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {
@@ -8,7 +8,7 @@ import type { ProjectTrustContext, ReplacedSessionContext, SessionStartEvent } f
8
8
  import type { ModelFallbackReason } from "./model-resolver-types.ts";
9
9
  import type { SessionTrustDecisions } from "./project-trust-state.ts";
10
10
  import type { AuthStatus } from "./provider-composer.ts";
11
- import { type ResumeNotice } from "./resume/session-resume.ts";
11
+ import { type PrepareSessionResumeOptions, type ResumeNotice } from "./resume/session-resume.ts";
12
12
  import type { CreateAgentSessionResult } from "./sdk.ts";
13
13
  import { SessionManager } from "./session-manager.ts";
14
14
  /**
@@ -214,6 +214,7 @@ export declare class AgentSessionRuntime {
214
214
  withSession?: (ctx: ReplacedSessionContext) => Promise<void>;
215
215
  projectTrustContextFactory?: (cwd: string) => ProjectTrustContext;
216
216
  history?: "tail" | "full";
217
+ onProgress?: PrepareSessionResumeOptions["onProgress"];
217
218
  /**
218
219
  * @internal The session was created just before this switch, as the fork a session whose directory is missing
219
220
  * asks for, so it is a new session rather than a resumed one: the manager that created it, which hands its
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,6 +1,6 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { createHash } from "node:crypto";
3
- import { read, skip, stringValue } from "../../_shared/startup-0-5-HZX3ZPTP.js";
3
+ import { read, skip, stringValue } from "../../_shared/startup-0-5-WN2IYA25.js";
4
4
  // dist/core/export-html/card-projection.js
5
5
  const obj = (v) => v !== null && typeof v === "object" && !Array.isArray(v) ? v : {};
6
6
  const fields = (shape) => function* (t) {
@@ -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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session export.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using session export.", {
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.19`;
9
+ const key = `${root.href}#0.10.20-alpha.1`;
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.19") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19 while this session was running; restart it to keep using session export.", {
30
+ if (running === undefined || running.version === "0.10.20-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.20-alpha.1 while this session was running; restart it to keep using session export.", {
32
32
  cause: error,
33
33
  });
34
34
  }