@bastani/atomic 0.10.15 → 0.10.16-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 (351) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/__atomic_timers/index.js +112 -0
  3. package/dist/__atomic_timers/index.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/http-YFAPTIZD.js +20 -22
  7. package/dist/_shared/http-YFAPTIZD.js.map +1 -1
  8. package/dist/_shared/lib-4PES5P4V.js +2 -2
  9. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +55 -25
  10. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
  11. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +13 -14
  12. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
  13. package/dist/_shared/mode-shared-2QJSCUM6.js +16 -17
  14. package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
  15. package/dist/_shared/p0-cli-BB45ZQY6.js +23 -37
  16. package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
  17. package/dist/_shared/p1a-prewarm-XIU57JHF.js +6 -5
  18. package/dist/_shared/p1a-prewarm-XIU57JHF.js.map +1 -1
  19. package/dist/_shared/{p1b-elig-TVB5CBLL.js → p1b-elig-BY2G5BUE.js} +28 -36
  20. package/dist/_shared/p1b-elig-BY2G5BUE.js.map +1 -0
  21. package/dist/_shared/runtime-O4KCSG4C.js +4 -4
  22. package/dist/_shared/sdk-OHKMDJ74.js +382 -45
  23. package/dist/_shared/sdk-OHKMDJ74.js.map +1 -1
  24. package/dist/_shared/session-data-AHTU7IS6.js +3 -3
  25. package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
  26. package/dist/_shared/settings-startup-HXQLSUWM.js.map +1 -1
  27. package/dist/_shared/{startup-0-0-Q3MWKUK4.js → startup-0-0-ERMIDHQT.js} +296 -382
  28. package/dist/_shared/startup-0-0-ERMIDHQT.js.map +1 -0
  29. package/dist/_shared/{startup-0-1-M6OWAYHH.js → startup-0-1-RTASI3HG.js} +430 -102
  30. package/dist/_shared/startup-0-1-RTASI3HG.js.map +1 -0
  31. package/dist/_shared/{startup-0-2-2HUMCPKX.js → startup-0-2-YZZOC22D.js} +8109 -7962
  32. package/dist/_shared/startup-0-2-YZZOC22D.js.map +1 -0
  33. package/dist/_shared/{startup-0-3-4ZYBYQNM.js → startup-0-3-DE2NCS6A.js} +130 -83
  34. package/dist/_shared/startup-0-3-DE2NCS6A.js.map +1 -0
  35. package/dist/_shared/startup-0-4-ZMJV547D.js +7 -7
  36. package/dist/_shared/{startup-0-5-YDW47QX6.js → startup-0-5-HZX3ZPTP.js} +411 -85
  37. package/dist/_shared/startup-0-5-HZX3ZPTP.js.map +1 -0
  38. package/dist/_shared/startup-10-0-TDQNBDDL.js +42 -29
  39. package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
  40. package/dist/_shared/startup-12-0-55AAXBJZ.js +3 -3
  41. package/dist/_shared/startup-14-0-MLX36RBG.js +11 -10
  42. package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
  43. package/dist/_shared/startup-15-0-YUKGAC63.js +9 -8
  44. package/dist/_shared/startup-15-0-YUKGAC63.js.map +1 -1
  45. package/dist/_shared/startup-15-1-4S7FLMNG.js +24 -16
  46. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  47. package/dist/_shared/startup-8-0-34CBHPZH.js +40 -19
  48. package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
  49. package/dist/_shared/startup-8-1-LZFXSD3Z.js +129 -92
  50. package/dist/_shared/startup-8-1-LZFXSD3Z.js.map +1 -1
  51. package/dist/_shared/storage-command-7MGXLJGZ.js +6 -4
  52. package/dist/_shared/storage-command-7MGXLJGZ.js.map +1 -1
  53. package/dist/_shared/storage-status-K7PX2RXA.js +7 -6
  54. package/dist/_shared/storage-status-K7PX2RXA.js.map +1 -1
  55. package/dist/_shared/task-reference-stream-JWMUZSJX.js +1 -1
  56. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  57. package/dist/_shared/team-DOQKICG2.js +4 -3
  58. package/dist/_shared/team-DOQKICG2.js.map +1 -1
  59. package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
  60. package/dist/builtin/intercom/index.bundle.mjs +1 -2
  61. package/dist/builtin/intercom/package.json +1 -1
  62. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  63. package/dist/builtin/mcp/package.json +1 -1
  64. package/dist/builtin/subagents/CHANGELOG.md +6 -0
  65. package/dist/builtin/subagents/package.json +1 -1
  66. package/dist/builtin/subagents/src/extension/index.bundle.mjs +102 -42
  67. package/dist/builtin/web-access/index.bundle.mjs +1 -2
  68. package/dist/builtin/web-access/package.json +1 -1
  69. package/dist/cli/args.js +2 -2
  70. package/dist/cli/auth-cli.code.js +6 -6
  71. package/dist/cli/auth-cli.impl.js +3 -3
  72. package/dist/cli/auth-cli.js +3 -3
  73. package/dist/cli/blueprint-command.code.js +7 -6
  74. package/dist/cli/blueprint-command.code.js.map +1 -1
  75. package/dist/cli/blueprint-command.impl.js +3 -3
  76. package/dist/cli/blueprint-command.js +3 -3
  77. package/dist/cli/intercom-command.code.js +3 -3
  78. package/dist/cli/intercom-command.impl.js +3 -3
  79. package/dist/cli/intercom-command.js +3 -3
  80. package/dist/cli/list-models.code.js +2 -2
  81. package/dist/cli/list-models.impl.js +3 -3
  82. package/dist/cli/list-models.js +3 -3
  83. package/dist/cli/session-picker.code.js +2 -2
  84. package/dist/cli/session-picker.impl.js +3 -3
  85. package/dist/cli/session-picker.js +3 -3
  86. package/dist/cli/startup-ui.code.js +2 -2
  87. package/dist/cli/startup-ui.impl.js +3 -3
  88. package/dist/cli/startup-ui.js +3 -3
  89. package/dist/cli/storage-command.impl.js +3 -3
  90. package/dist/cli/storage-command.js +3 -3
  91. package/dist/cli/storage-search-session.code.js +1 -1
  92. package/dist/cli/storage-search-session.impl.js +3 -3
  93. package/dist/cli/storage-search-session.js +3 -3
  94. package/dist/cli/team-command.code.js +2 -2
  95. package/dist/cli/team-command.impl.js +3 -3
  96. package/dist/cli/team-command.js +3 -3
  97. package/dist/cli.js +2 -2
  98. package/dist/core/agent-session.d.ts +1 -0
  99. package/dist/core/debug.code.js +1 -1
  100. package/dist/core/debug.impl.js +3 -3
  101. package/dist/core/debug.js +3 -3
  102. package/dist/core/export-html/card-projection.code.js +1 -1
  103. package/dist/core/export-html/card-projection.impl.js +3 -3
  104. package/dist/core/export-html/card-projection.js +3 -3
  105. package/dist/core/export-html/index.code.js +2 -2
  106. package/dist/core/export-html/index.impl.js +3 -3
  107. package/dist/core/export-html/index.js +3 -3
  108. package/dist/core/export-html/json-spans.impl.js +3 -3
  109. package/dist/core/export-html/json-spans.js +3 -3
  110. package/dist/core/export-html/oversized-render-inputs.code.js +1 -1
  111. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  112. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  113. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  114. package/dist/core/export-html/tool-renderer.js +3 -3
  115. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  116. package/dist/core/extensions/jiti-loader.js +3 -3
  117. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  118. package/dist/core/extensions/jiti-static-loader.js +3 -3
  119. package/dist/core/extensions/loader-host-modules.code.js +1 -1
  120. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  121. package/dist/core/extensions/loader-host-modules.js +3 -3
  122. package/dist/core/extensions/loader-virtual-modules.js +2 -2
  123. package/dist/core/extensions/runner-context.js +1 -1
  124. package/dist/core/http-dispatcher.d.ts +2 -1
  125. package/dist/core/intercom-broker-control-host.code.js +1 -1
  126. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  127. package/dist/core/intercom-broker-control-host.js +3 -3
  128. package/dist/core/intercom-broker-control.code.js +3 -3
  129. package/dist/core/intercom-broker-control.impl.js +3 -3
  130. package/dist/core/intercom-broker-control.js +3 -3
  131. package/dist/core/lock-takeover.d.ts +2 -0
  132. package/dist/core/model-config.d.ts +28 -0
  133. package/dist/core/model-registry.js +1 -1
  134. package/dist/core/model-runtime-streaming.d.ts +3 -2
  135. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  136. package/dist/core/package-manager-storage-adapters.js +3 -3
  137. package/dist/core/provider-rate-limits.d.ts +17 -10
  138. package/dist/core/provider-request-admission.d.ts +16 -0
  139. package/dist/core/resume/blueprint/barrier.d.ts +6 -6
  140. package/dist/core/resume/blueprint/build.d.ts +3 -1
  141. package/dist/core/resume/blueprint/ledger.d.ts +3 -2
  142. package/dist/core/resume/blueprint/resume.d.ts +2 -1
  143. package/dist/core/retry-policy.d.ts +3 -1
  144. package/dist/core/sdk.code.js +3 -3
  145. package/dist/core/sdk.impl.js +3 -3
  146. package/dist/core/sdk.js +3 -3
  147. package/dist/core/session-manager-core.js +6 -6
  148. package/dist/core/session-manager-list.impl.js +3 -3
  149. package/dist/core/session-manager-list.js +3 -3
  150. package/dist/core/session-manager-types.d.ts +1 -1
  151. package/dist/core/session-manager.code.js +2 -2
  152. package/dist/core/session-manager.impl.js +3 -3
  153. package/dist/core/session-manager.js +3 -3
  154. package/dist/core/session-open-markers.js +1 -1
  155. package/dist/core/session-storage.impl.js +3 -3
  156. package/dist/core/session-storage.js +3 -3
  157. package/dist/core/settings-duration.d.ts +3 -0
  158. package/dist/core/settings-manager-resource-accessors.d.ts +2 -1
  159. package/dist/core/settings-schema.d.ts +1 -0
  160. package/dist/core/storage/index.js +2 -2
  161. package/dist/core/storage/node-sqlite-file-gate.js +7 -6
  162. package/dist/core/storage/node-sqlite-file-gate.js.map +1 -1
  163. package/dist/core/storage/node-sqlite-thread.js +2 -2
  164. package/dist/core/storage/node-sqlite.js +2 -2
  165. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  166. package/dist/core/storage/offline-snapshot-file.js +3 -3
  167. package/dist/core/storage/prefix.js +3 -0
  168. package/dist/core/storage/prefix.js.map +1 -1
  169. package/dist/core/storage/provider.js +2 -2
  170. package/dist/core/storage/selection.js +2 -2
  171. package/dist/core/storage/session/branch-fork-source.code.js +2 -2
  172. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  173. package/dist/core/storage/session/branch-fork-source.js +3 -3
  174. package/dist/core/storage/session/card-view.impl.js +3 -3
  175. package/dist/core/storage/session/card-view.js +3 -3
  176. package/dist/core/storage/session/child-reader.code.js +24 -7
  177. package/dist/core/storage/session/child-reader.code.js.map +1 -1
  178. package/dist/core/storage/session/child-reader.impl.js +3 -3
  179. package/dist/core/storage/session/child-reader.js +3 -3
  180. package/dist/core/storage/session/chunked-resume-projection.code.js +1 -1
  181. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  182. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  183. package/dist/core/storage/session/expanded-child-details.code.js +3 -3
  184. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  185. package/dist/core/storage/session/expanded-child-details.js +3 -3
  186. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  187. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  188. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  189. package/dist/core/storage/session/fork-row-index.js +3 -3
  190. package/dist/core/storage/session/fork-staging.code.js +1 -1
  191. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  192. package/dist/core/storage/session/fork-staging.js +3 -3
  193. package/dist/core/storage/session/fork-window.code.js +4 -4
  194. package/dist/core/storage/session/fork-window.impl.js +3 -3
  195. package/dist/core/storage/session/fork-window.js +3 -3
  196. package/dist/core/storage/session/history-pages.impl.js +3 -3
  197. package/dist/core/storage/session/history-pages.js +3 -3
  198. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  199. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  200. package/dist/core/storage/session/jsonl-session-store.d.ts +2 -2
  201. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  202. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  203. package/dist/core/storage/session/memory-session-store.d.ts +2 -2
  204. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  205. package/dist/core/storage/session/memory-session-store.js +3 -3
  206. package/dist/core/storage/session/pinned-branch-resume.code.js +3 -3
  207. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  208. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  209. package/dist/core/storage/session/released-history-files.code.js +4 -4
  210. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  211. package/dist/core/storage/session/released-history-files.js +3 -3
  212. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  213. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  214. package/dist/core/storage/session/session-resume.impl.js +3 -3
  215. package/dist/core/storage/session/session-resume.js +3 -3
  216. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  217. package/dist/core/storage/session/snapshot-cut.js +3 -3
  218. package/dist/core/storage/session/snapshot-history.code.js +4 -4
  219. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  220. package/dist/core/storage/session/snapshot-history.js +3 -3
  221. package/dist/core/storage/session/sql-session-store.d.ts +13 -4
  222. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  223. package/dist/core/storage/session/sql-session-store.js +3 -3
  224. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  225. package/dist/core/storage/session/tree-outline.js +3 -3
  226. package/dist/core/storage/session/tree-presentation.code.js +1 -1
  227. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  228. package/dist/core/storage/session/tree-presentation.js +3 -3
  229. package/dist/core/storage/session/types.d.ts +20 -2
  230. package/dist/core/storage/sqlite-facade.js +14 -13
  231. package/dist/core/storage/sqlite-facade.js.map +1 -1
  232. package/dist/core/storage/storage-status.impl.js +3 -3
  233. package/dist/core/storage/storage-status.js +3 -3
  234. package/dist/core/storage/team.impl.js +3 -3
  235. package/dist/core/storage/team.js +3 -3
  236. package/dist/core/structured-output/index.impl.js +3 -3
  237. package/dist/core/structured-output/index.js +3 -3
  238. package/dist/core/tasks/heartbeat.d.ts +1 -0
  239. package/dist/core/tasks/task-completion-entry.code.js +1 -1
  240. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  241. package/dist/core/tasks/task-completion-entry.js +3 -3
  242. package/dist/core/tasks/task-file-history.code.js +3 -3
  243. package/dist/core/tasks/task-file-history.impl.js +3 -3
  244. package/dist/core/tasks/task-file-history.js +3 -3
  245. package/dist/core/tasks/task-reference-archive.code.js +3 -3
  246. package/dist/core/tasks/task-reference-archive.js +3 -3
  247. package/dist/core/tasks/task-reference-identity.js +3 -3
  248. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  249. package/dist/core/tasks/task-reference-stream.js +3 -3
  250. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  251. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  252. package/dist/core/tasks/task-view-source.impl.js +3 -3
  253. package/dist/core/tasks/task-view-source.js +3 -3
  254. package/dist/core/tools/ask-user-question/ask-user-question.d.ts +1 -1
  255. package/dist/core/tools/history-session.d.ts +2 -0
  256. package/dist/core/tools/read-url.code.js +3 -3
  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 +5 -6
  260. package/dist/core/worktree-snapshot/blob-store.js.map +1 -1
  261. package/dist/core/worktree-snapshot/errors.code.js +3 -3
  262. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  263. package/dist/core/worktree-snapshot/errors.js +3 -3
  264. package/dist/core/worktree-snapshot/git.d.ts +2 -0
  265. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  266. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  267. package/dist/extensions/codemode/execute.code.js +6 -5
  268. package/dist/extensions/codemode/execute.code.js.map +1 -1
  269. package/dist/extensions/codemode/execute.impl.js +3 -3
  270. package/dist/extensions/codemode/execute.js +3 -3
  271. package/dist/extensions/codemode/renderer.code.js +1 -1
  272. package/dist/extensions/codemode/renderer.impl.js +3 -3
  273. package/dist/extensions/codemode/renderer.js +3 -3
  274. package/dist/extensions/mcp/cli.code.js +8 -4
  275. package/dist/extensions/mcp/cli.code.js.map +1 -1
  276. package/dist/extensions/mcp/cli.impl.js +3 -3
  277. package/dist/extensions/mcp/cli.js +3 -3
  278. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  279. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  280. package/dist/extensions/mcp/cli.lazy.js +3 -3
  281. package/dist/extensions/mcp/runtime.impl.js +3 -3
  282. package/dist/extensions/mcp/runtime.js +3 -3
  283. package/dist/index.js +6 -6
  284. package/dist/main-first-time-setup.code.js +2 -2
  285. package/dist/main-first-time-setup.impl.js +3 -3
  286. package/dist/main-first-time-setup.js +3 -3
  287. package/dist/modes/interactive/components/stored-tree-view.code.js +3 -3
  288. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  289. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  290. package/dist/modes/interactive/components/user-message-selector-archive.code.js +1 -1
  291. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  292. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  293. package/dist/modes/interactive/startup-shell-eligibility.js +1 -1
  294. package/dist/package-manager-cli.code.js +7 -7
  295. package/dist/package-manager-cli.impl.js +3 -3
  296. package/dist/package-manager-cli.js +3 -3
  297. package/dist/rpc-entry.js +1 -1
  298. package/dist/startup-files.json +1 -1
  299. package/dist/startup-stages/10.js +1 -1
  300. package/dist/startup-stages/11.js +1 -1
  301. package/dist/startup-stages/12.js +1 -1
  302. package/dist/startup-stages/13.js +1 -0
  303. package/dist/startup-stages/2.js +2 -6
  304. package/dist/startup-stages/3.js +6 -1
  305. package/dist/startup-stages/4.js +1 -1
  306. package/dist/startup-stages/5.js +12 -1
  307. package/dist/startup-stages/6.js +8 -4
  308. package/dist/startup-stages/7.js +4 -3
  309. package/dist/startup-stages/8.js +1 -5
  310. package/dist/startup-stages/9.js +5 -1
  311. package/dist/startup-stages/stages.json +1 -1
  312. package/dist/utils/startup-database-spare.code.js +3 -3
  313. package/dist/utils/startup-database-spare.impl.js +3 -3
  314. package/dist/utils/startup-database-spare.js +3 -3
  315. package/dist/utils/tools-manager.code.js +1 -1
  316. package/dist/utils/tools-manager.impl.js +3 -3
  317. package/dist/utils/tools-manager.js +3 -3
  318. package/dist/utils/windows-cwd.js +3 -3
  319. package/dist/utils/windows-cwd.js.map +1 -1
  320. package/docs/changelog.mdx +2 -10
  321. package/docs/codemode.md +5 -2
  322. package/docs/compaction/branch-summaries.md +1 -1
  323. package/docs/compaction/custom-compactors.md +1 -1
  324. package/docs/custom-provider/api-reference.md +1 -1
  325. package/docs/custom-provider/registration.md +3 -0
  326. package/docs/custom-provider/streaming.md +1 -1
  327. package/docs/environment-variables.md +2 -2
  328. package/docs/guides/resume-on-any-machine.md +1 -0
  329. package/docs/libraries/ai.md +4 -2
  330. package/docs/libraries/codemode.md +1 -1
  331. package/docs/models/choose-a-model.md +1 -1
  332. package/docs/models-configuration.md +5 -2
  333. package/docs/models.md +32 -0
  334. package/docs/providers.md +33 -1
  335. package/docs/sdk/structured-decisions.md +4 -2
  336. package/docs/sessions.md +1 -1
  337. package/docs/settings.md +78 -16
  338. package/docs/storage/postgres/tuning.md +1 -0
  339. package/docs/subagents/reference.md +2 -1
  340. package/docs/tools.md +4 -3
  341. package/docs/worktree-snapshots/reference.md +2 -0
  342. package/docs/worktree-snapshots.md +4 -0
  343. package/package.json +9 -9
  344. package/schemas/models.schema.json +21 -0
  345. package/schemas/settings.schema.json +14 -1
  346. package/dist/_shared/p1b-elig-TVB5CBLL.js.map +0 -1
  347. package/dist/_shared/startup-0-0-Q3MWKUK4.js.map +0 -1
  348. package/dist/_shared/startup-0-1-M6OWAYHH.js.map +0 -1
  349. package/dist/_shared/startup-0-2-2HUMCPKX.js.map +0 -1
  350. package/dist/_shared/startup-0-3-4ZYBYQNM.js.map +0 -1
  351. package/dist/_shared/startup-0-5-YDW47QX6.js.map +0 -1
@@ -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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using session storage.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using structured output.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using structured output.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using structured output.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using structured output.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -11,6 +11,7 @@ export declare const TASK_HEARTBEAT_COALESCE_MS = 60000;
11
11
  export declare const TASK_HEARTBEAT_RECHECK_MS = 30000;
12
12
  /** How often a running shell's output is sampled to date its last output. */
13
13
  export declare const TASK_HEARTBEAT_OUTPUT_SAMPLE_MS = 30000;
14
+ /** Longest delay a host timer accepts before it overflows to an immediate fire. */
14
15
  /** Where an owner's heartbeats go. The host binds its own chat; nothing here is model-provided. */
15
16
  export interface TaskHeartbeatDelivery {
16
17
  /** Cadence for tasks launched without their own `heartbeatMs`; `0` disables. */
@@ -1,5 +1,5 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
- import { read, skip, stringValue } from "../../_shared/startup-0-5-YDW47QX6.js";
2
+ import { read, skip, stringValue } from "../../_shared/startup-0-5-HZX3ZPTP.js";
3
3
  // dist/core/tasks/task-completion-entry.js
4
4
  function* object(first, fields) {
5
5
  if (first.name !== "startObject") {
@@ -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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,7 +1,7 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { createHash } from "node:crypto";
3
3
  import { open, stat } from "node:fs/promises";
4
- import { EntryTypeReader, JsonTextChecker } from "../../_shared/startup-0-0-Q3MWKUK4.js";
4
+ import { EntryTypeReader, JsonTextChecker } from "../../_shared/startup-0-0-ERMIDHQT.js";
5
5
  import { SESSION_HISTORY_CHUNK_BYTES } from "../../_shared/settings-startup-HXQLSUWM.js";
6
6
  // dist/core/tasks/task-file-history.js
7
7
  function digest(value) {
@@ -383,7 +383,7 @@ function __atomicOnDemandFailed(error, feature) {
383
383
  return (async () => {
384
384
  const root = new URL("../../", import.meta.url);
385
385
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
386
- const key = `${root.href}#0.10.15`;
386
+ const key = `${root.href}#0.10.16-alpha.1`;
387
387
  let release = releases.get(key);
388
388
  if (release === undefined) {
389
389
  const current = (async () => {
@@ -411,7 +411,7 @@ function __atomicOnDemandFailed(error, feature) {
411
411
  } catch {
412
412
  // No installation to read, as in a bundle of the package: the release the process runs decides.
413
413
  }
414
- const updatedTo = typeof installed === "string" && installed !== "0.10.15" ? installed : running !== undefined && running.version !== "0.10.15" ? "0.10.15" : undefined;
414
+ const updatedTo = typeof installed === "string" && installed !== "0.10.16-alpha.1" ? installed : running !== undefined && running.version !== "0.10.16-alpha.1" ? "0.10.16-alpha.1" : undefined;
415
415
  if (updatedTo === undefined) throw error;
416
416
  const application = typeof running?.name === "string" ? running.name : "atomic";
417
417
  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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,6 +1,6 @@
1
1
  import "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { earlierTranscriptCursor, historyChunks } from "../../_shared/startup-8-0-34CBHPZH.js";
3
- import { watchReferenceCut } from "../../_shared/startup-0-0-Q3MWKUK4.js";
3
+ import { watchReferenceCut } from "../../_shared/startup-0-0-ERMIDHQT.js";
4
4
  import { SessionConflictError } from "../storage/session/errors.js";
5
5
  import { SESSION_HISTORY_PAGE_BYTES } from "../../_shared/settings-startup-HXQLSUWM.js";
6
6
  import { streamedEarlierMatches, streamedTaskReferences, visibleStreamedItem } from "../../_shared/task-reference-stream-JWMUZSJX.js";
@@ -473,7 +473,7 @@ function __atomicOnDemandFailed(error, feature) {
473
473
  return (async () => {
474
474
  const root = new URL("../../", import.meta.url);
475
475
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
476
- const key = `${root.href}#0.10.15`;
476
+ const key = `${root.href}#0.10.16-alpha.1`;
477
477
  let release = releases.get(key);
478
478
  if (release === undefined) {
479
479
  const current = (async () => {
@@ -501,7 +501,7 @@ function __atomicOnDemandFailed(error, feature) {
501
501
  } catch {
502
502
  // No installation to read, as in a bundle of the package: the release the process runs decides.
503
503
  }
504
- const updatedTo = typeof installed === "string" && installed !== "0.10.15" ? installed : running !== undefined && running.version !== "0.10.15" ? "0.10.15" : undefined;
504
+ const updatedTo = typeof installed === "string" && installed !== "0.10.16-alpha.1" ? installed : running !== undefined && running.version !== "0.10.16-alpha.1" ? "0.10.16-alpha.1" : undefined;
505
505
  if (updatedTo === undefined) throw error;
506
506
  const application = typeof running?.name === "string" ? running.name : "atomic";
507
507
  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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using /tasks.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using /tasks.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -27,7 +27,7 @@ export declare const QUESTIONNAIRE_OVERLAY_OPTIONS: OverlayOptions;
27
27
  export declare function buildItemsForQuestion(question: QuestionData): WrappingSelectItem[];
28
28
  export declare const askUserQuestionToolSystemPromptContribution: Readonly<{
29
29
  readonly snippet: "Ask all user questions through this tool, including clarifications and approvals; up to 4 questions with 2-4 options each";
30
- readonly guidelines: readonly ["When ask_user_question or an equivalent question tool is available, all questions to the user must use that tool instead of plain text, including clarifications, preferences, confirmations, approvals, and permission to proceed. Prefer ask_user_question when available. In these sessions, do not end a progress update or final response with a prose-only question such as 'Proceed?'.", "Ask only when a decision is needed; do not seek approval again for already-authorized work. For a confirmation, put the concrete action and its scope in the question and offer explicit proceed and decline options. A cancelled or unanswered question is not approval.", "Each question MUST have 2-4 options. Every option requires a concise label (1-5 words) and a description explaining what the choice means or its trade-offs. The user can additionally type a custom answer (\"Type something.\" row is appended automatically to single-select questions) or pick \"Chat about this\" to abandon the questionnaire.", "Set multiSelect: true when multiple answers are valid; this suppresses the \"Type something.\" row. Provide an options[].preview markdown string when an option benefits from richer side-by-side context (mockups, code snippets, diagrams, configs) — single-select only. NOTE: any non-empty preview on a single-select question ALSO suppresses the \"Type something.\" row (no room in the side-by-side layout); \"Chat about this\" remains the escape hatch. If you recommend a specific option, make it the first option and append \"(Recommended)\" to its label.", "Do not stack multiple ask_user_question calls back-to-back — group all clarifying questions into one invocation.", "If ask_user_question is unavailable, use an equivalent available question tool with its supported schema. If no usable question tool is available, continue autonomously using best judgment and state evidence-backed assumptions. Tool unavailability alone is not a blocker; preserve safety and authorization constraints."];
30
+ readonly guidelines: readonly ["When ask_user_question or an equivalent question tool is available, all questions to the user must use that tool instead of plain text, including clarifications, preferences, confirmations, approvals, and permission to proceed. Prefer ask_user_question when available. In these sessions, do not end a progress update or final response with a prose-only question such as 'Proceed?'.", "Make each question answerable on its own. State the decision and relevant facts and numbers in the question; explain the consequence of each option in its description or preview. Include this context even if you already gave it in a progress update.", "Ask only when a decision is needed; do not seek approval again for already-authorized work. For a confirmation, put the concrete action and its scope in the question and offer explicit proceed and decline options. A cancelled or unanswered question is not approval.", "Each question MUST have 2-4 options. Every option requires a concise label (1-5 words) and a description explaining what the choice means or its trade-offs. The user can additionally type a custom answer (\"Type something.\" row is appended automatically to single-select questions) or pick \"Chat about this\" to abandon the questionnaire.", "Set multiSelect: true when multiple answers are valid; this suppresses the \"Type something.\" row. Provide an options[].preview markdown string when an option benefits from richer side-by-side context (mockups, code snippets, diagrams, configs) — single-select only. NOTE: any non-empty preview on a single-select question ALSO suppresses the \"Type something.\" row (no room in the side-by-side layout); \"Chat about this\" remains the escape hatch. If you recommend a specific option, make it the first option and append \"(Recommended)\" to its label.", "Do not stack multiple ask_user_question calls back-to-back — group all clarifying questions into one invocation.", "If ask_user_question is unavailable, use an equivalent available question tool with its supported schema. If no usable question tool is available, continue autonomously using best judgment and state evidence-backed assumptions. Tool unavailability alone is not a blocker; preserve safety and authorization constraints."];
31
31
  }>;
32
32
  export declare function createAskUserQuestionToolDefinition(options?: {
33
33
  readonly chatAsOption?: boolean;
@@ -28,6 +28,7 @@ export declare class HistoryCallBudget {
28
28
  readonly signal: AbortSignal | undefined;
29
29
  private reservedBytes;
30
30
  private readonly callSignal;
31
+ private readonly clearCallTimer;
31
32
  private readonly timeMs;
32
33
  private readonly deadline;
33
34
  private floor;
@@ -38,6 +39,7 @@ export declare class HistoryCallBudget {
38
39
  get storeSignal(): AbortSignal;
39
40
  holdProgressFloor(): void;
40
41
  markProgress(): void;
42
+ dispose(): void;
41
43
  private withCaller;
42
44
  private effectiveDeadline;
43
45
  pace(): Promise<void>;
@@ -1,14 +1,14 @@
1
1
  import { __toESM } from "../../_shared/rolldown-runtime-BGM3D5V3.js";
2
2
  import { resolve } from "node:path";
3
3
  import { getAgentDir } from "../../_shared/p0-cli-BB45ZQY6.js";
4
- import { sessionScratchDir } from "../../_shared/startup-0-1-M6OWAYHH.js";
4
+ import { sessionScratchDir } from "../../_shared/startup-0-1-RTASI3HG.js";
5
5
  import { lookup } from "node:dns/promises";
6
6
  import { channel, tracingChannel } from "node:diagnostics_channel";
7
7
  import { require_turndown_cjs } from "../../_shared/turndown.cjs-7Z43JOED.js";
8
8
  import { require_undici } from "../../_shared/http-undici-FVPTZA4G.js";
9
- import { findAsciiCaseInsensitive, isAsciiWordCode } from "../../_shared/p1b-elig-TVB5CBLL.js";
9
+ import { findAsciiCaseInsensitive, isAsciiWordCode } from "../../_shared/p1b-elig-BY2G5BUE.js";
10
10
  import { applyReadLineSelection, decodeReadableUrl, extractDocumentMarkdown, getArtifactManager, isDocumentPath } from "../../_shared/startup-8-1-LZFXSD3Z.js";
11
- import { isReadableUrlPath, repairCollapsedScheme } from "../../_shared/startup-0-0-Q3MWKUK4.js";
11
+ import { isReadableUrlPath, repairCollapsedScheme } from "../../_shared/startup-0-0-ERMIDHQT.js";
12
12
  import { isIP } from "node:net";
13
13
  // ../../node_modules/lru-cache/dist/esm/node/index.min.js
14
14
  var S = channel("lru-cache:metrics");
@@ -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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-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.15`;
9
+ const key = `${root.href}#0.10.16-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.15") throw error;
31
- throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.15 while this session was running; restart it to keep using this feature.", {
30
+ if (running === undefined || running.version === "0.10.16-alpha.1") throw error;
31
+ throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.16-alpha.1 while this session was running; restart it to keep using this feature.", {
32
32
  cause: error,
33
33
  });
34
34
  }
@@ -1,3 +1,4 @@
1
+ import { setLongTimeout } from "../../__atomic_timers/index.js";
1
2
  import { storageSchemaCurrent, transactionFinisher } from "../storage/added-exports.js";
2
3
  import { MAX_SEQUENCE_REQUEST_STATEMENTS, noteStorageSchemaTables } from "../storage/added-exports-0-10-11.js";
3
4
  import { dialectOf } from "../storage/dialect.js";
@@ -133,15 +134,13 @@ export class BackgroundCollectionPace {
133
134
  if (signal?.aborted)
134
135
  return resolve();
135
136
  const done = () => {
136
- clearTimeout(timer);
137
+ timer.clear();
137
138
  signal?.removeEventListener("abort", done);
138
139
  this.pending = undefined;
139
140
  resolve();
140
141
  };
141
- const timer = setTimeout(done, milliseconds);
142
+ const timer = setLongTimeout(done, milliseconds, { ref: this.keepAlive });
142
143
  signal?.addEventListener("abort", done, { once: true });
143
- if (!this.keepAlive)
144
- timer.unref();
145
144
  this.pending = timer;
146
145
  });
147
146
  }
@@ -2689,7 +2688,7 @@ function __atomicOnDemandFailed(error, feature) {
2689
2688
  return (async () => {
2690
2689
  const root = new URL("../../", import.meta.url);
2691
2690
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
2692
- const key = `${root.href}#0.10.15`;
2691
+ const key = `${root.href}#0.10.16-alpha.1`;
2693
2692
  let release = releases.get(key);
2694
2693
  if (release === undefined) {
2695
2694
  const current = (async () => {
@@ -2717,7 +2716,7 @@ function __atomicOnDemandFailed(error, feature) {
2717
2716
  } catch {
2718
2717
  // No installation to read, as in a bundle of the package: the release the process runs decides.
2719
2718
  }
2720
- const updatedTo = typeof installed === "string" && installed !== "0.10.15" ? installed : running !== undefined && running.version !== "0.10.15" ? "0.10.15" : undefined;
2719
+ const updatedTo = typeof installed === "string" && installed !== "0.10.16-alpha.1" ? installed : running !== undefined && running.version !== "0.10.16-alpha.1" ? "0.10.16-alpha.1" : undefined;
2721
2720
  if (updatedTo === undefined) throw error;
2722
2721
  const application = typeof running?.name === "string" ? running.name : "atomic";
2723
2722
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {