@bastani/atomic 0.10.5 → 0.10.6

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 (315) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/THIRD_PARTY_NOTICES.md +1 -1
  3. package/dist/_shared/APEv2Parser-APXNTTFS.js.map +1 -1
  4. package/dist/_shared/AsfParser-AP272OWG.js +1 -1
  5. package/dist/_shared/DsfParser-FTOZZCZP.js +2 -2
  6. package/dist/_shared/FlacParser-WJATCQT6.js +2 -2
  7. package/dist/_shared/FlacParser-WJATCQT6.js.map +1 -1
  8. package/dist/_shared/ID3v1Parser-XVX6XPGB.js +1 -1
  9. package/dist/_shared/ID3v2Parser-DB2T4Z6M.js +2 -2
  10. package/dist/_shared/MP4Parser-2TZWZV4K.js +3 -3
  11. package/dist/_shared/MP4Parser-2TZWZV4K.js.map +1 -1
  12. package/dist/_shared/MatroskaParser-V22CGP72.js.map +1 -1
  13. package/dist/_shared/MusepackParser-XEUVYWNQ.js +2 -2
  14. package/dist/_shared/MusepackParser-XEUVYWNQ.js.map +1 -1
  15. package/dist/_shared/OggParser-Y7FSZNTO.js +1 -1
  16. package/dist/_shared/OggParser-Y7FSZNTO.js.map +1 -1
  17. package/dist/_shared/ParseError-VXOGXIIE.js +2 -2
  18. package/dist/_shared/ParseError-VXOGXIIE.js.map +1 -1
  19. package/dist/_shared/WavPackParser-ZYK4CLSW.js +1 -1
  20. package/dist/_shared/WaveParser-VA3P7P3H.js +2 -2
  21. package/dist/_shared/dist-KOELCESV.js +55 -63
  22. package/dist/_shared/dist-KOELCESV.js.map +1 -1
  23. package/dist/_shared/fork-row-index-UAUAQRD5.js +3 -3
  24. package/dist/_shared/full.umd-CBF7UGXV.js +7 -6
  25. package/dist/_shared/full.umd-CBF7UGXV.js.map +1 -1
  26. package/dist/_shared/http-YFAPTIZD.js +2 -2
  27. package/dist/_shared/http-YFAPTIZD.js.map +1 -1
  28. package/dist/_shared/http-undici-FVPTZA4G.js +19 -20
  29. package/dist/_shared/http-undici-FVPTZA4G.js.map +1 -1
  30. package/dist/_shared/lib-4PES5P4V.js +8 -8
  31. package/dist/_shared/lib-4PES5P4V.js.map +1 -1
  32. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +5 -4
  33. package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
  34. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +20 -20
  35. package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
  36. package/dist/_shared/mode-shared-2QJSCUM6.js +441 -341
  37. package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
  38. package/dist/_shared/p0-cli-BB45ZQY6.js +8 -12
  39. package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
  40. package/dist/_shared/p1a-prewarm-UQY3X2UK.js +8 -8
  41. package/dist/_shared/p1b-elig-ENCUPKKJ.js +17 -17
  42. package/dist/_shared/p1b-elig-ENCUPKKJ.js.map +1 -1
  43. package/dist/_shared/p2-shell-TJBYQMCJ.js +27 -28
  44. package/dist/_shared/p2-shell-TJBYQMCJ.js.map +1 -1
  45. package/dist/_shared/p2-shell-main-B2WIALFD.js +44 -47
  46. package/dist/_shared/p2-shell-main-B2WIALFD.js.map +1 -1
  47. package/dist/_shared/rolldown-runtime-BGM3D5V3.js +4 -4
  48. package/dist/_shared/runtime-O4KCSG4C.js +7 -7
  49. package/dist/_shared/runtime-O4KCSG4C.js.map +1 -1
  50. package/dist/_shared/sdk-WQIOHVKO.js +24 -24
  51. package/dist/_shared/sdk-WQIOHVKO.js.map +1 -1
  52. package/dist/_shared/session-data-AHTU7IS6.js +4 -4
  53. package/dist/_shared/session-manager-list-2BLEEZVG.js +3 -3
  54. package/dist/_shared/{settings-startup-65YEWRV2.js → settings-startup-4QCVCI53.js} +2 -32
  55. package/dist/_shared/settings-startup-4QCVCI53.js.map +1 -0
  56. package/dist/_shared/settings-startup-8-DNZ2RIHM.js +35 -0
  57. package/dist/_shared/settings-startup-8-DNZ2RIHM.js.map +1 -0
  58. package/dist/_shared/sql-session-store-5FD3WBMZ.js +12 -12
  59. package/dist/_shared/startup-0-0-TYUFUOJZ.js +143 -115
  60. package/dist/_shared/startup-0-0-TYUFUOJZ.js.map +1 -1
  61. package/dist/_shared/{startup-0-1-D4LGGINF.js → startup-0-1-W2G2UY7R.js} +365 -27
  62. package/dist/_shared/startup-0-1-W2G2UY7R.js.map +1 -0
  63. package/dist/_shared/startup-0-2-SZGQIWHI.js +19 -24
  64. package/dist/_shared/startup-0-2-SZGQIWHI.js.map +1 -1
  65. package/dist/_shared/startup-0-3-T4DVFYWX.js +7 -7
  66. package/dist/_shared/startup-0-3-T4DVFYWX.js.map +1 -1
  67. package/dist/_shared/startup-0-4-HN5EB4K7.js +7 -7
  68. package/dist/_shared/startup-0-4-HN5EB4K7.js.map +1 -1
  69. package/dist/_shared/startup-0-5-OHJNE6JH.js +157 -92
  70. package/dist/_shared/startup-0-5-OHJNE6JH.js.map +1 -1
  71. package/dist/_shared/startup-10-0-TDQNBDDL.js +4 -4
  72. package/dist/_shared/startup-10-0-TDQNBDDL.js.map +1 -1
  73. package/dist/_shared/startup-14-0-MLX36RBG.js +19 -19
  74. package/dist/_shared/startup-14-0-MLX36RBG.js.map +1 -1
  75. package/dist/_shared/startup-15-0-YUKGAC63.js +17 -16
  76. package/dist/_shared/startup-15-0-YUKGAC63.js.map +1 -1
  77. package/dist/_shared/startup-15-1-4S7FLMNG.js +5 -5
  78. package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
  79. package/dist/_shared/startup-8-0-34CBHPZH.js +23 -23
  80. package/dist/_shared/startup-8-0-34CBHPZH.js.map +1 -1
  81. package/dist/_shared/startup-8-1-SJW2GMAM.js +113 -114
  82. package/dist/_shared/startup-8-1-SJW2GMAM.js.map +1 -1
  83. package/dist/_shared/storage-command-7MGXLJGZ.js +15 -14
  84. package/dist/_shared/storage-command-7MGXLJGZ.js.map +1 -1
  85. package/dist/_shared/task-reference-stream-JWMUZSJX.js +7 -7
  86. package/dist/_shared/task-reference-stream-JWMUZSJX.js.map +1 -1
  87. package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
  88. package/dist/_shared/tree-outline-MUEPK5B7.js +4 -4
  89. package/dist/_shared/turndown.cjs-7Z43JOED.js +7 -10
  90. package/dist/_shared/turndown.cjs-7Z43JOED.js.map +1 -1
  91. package/dist/builtin/intercom/CHANGELOG.md +12 -0
  92. package/dist/builtin/intercom/index.bundle.mjs +2 -2
  93. package/dist/builtin/intercom/package.json +1 -1
  94. package/dist/builtin/mcp/index.bundle.mjs +1 -1
  95. package/dist/builtin/mcp/package.json +1 -1
  96. package/dist/builtin/subagents/CHANGELOG.md +12 -0
  97. package/dist/builtin/subagents/package.json +1 -1
  98. package/dist/builtin/subagents/src/extension/index.bundle.mjs +15 -12
  99. package/dist/builtin/web-access/index.bundle.mjs +1 -1
  100. package/dist/builtin/web-access/package.json +1 -1
  101. package/dist/cli/args.js +1 -1
  102. package/dist/cli/auth-cli.code.js +10 -13
  103. package/dist/cli/auth-cli.code.js.map +1 -1
  104. package/dist/cli/auth-cli.impl.js +3 -3
  105. package/dist/cli/auth-cli.js +3 -3
  106. package/dist/cli/blueprint-command.code.js +8 -8
  107. package/dist/cli/blueprint-command.impl.js +3 -3
  108. package/dist/cli/blueprint-command.js +3 -3
  109. package/dist/cli/intercom-command.code.js +2 -2
  110. package/dist/cli/intercom-command.impl.js +3 -3
  111. package/dist/cli/intercom-command.js +3 -3
  112. package/dist/cli/list-models.code.js +3 -3
  113. package/dist/cli/list-models.impl.js +3 -3
  114. package/dist/cli/list-models.js +3 -3
  115. package/dist/cli/session-picker.code.js +3 -3
  116. package/dist/cli/session-picker.impl.js +3 -3
  117. package/dist/cli/session-picker.js +3 -3
  118. package/dist/cli/settings-startup.js +1 -1
  119. package/dist/cli/startup-ui.impl.js +3 -3
  120. package/dist/cli/startup-ui.js +3 -3
  121. package/dist/cli/storage-command.impl.js +3 -3
  122. package/dist/cli/storage-command.js +3 -3
  123. package/dist/cli/storage-search-session.code.js +4 -4
  124. package/dist/cli/storage-search-session.impl.js +3 -3
  125. package/dist/cli/storage-search-session.js +3 -3
  126. package/dist/cli/team-command.code.js +3 -3
  127. package/dist/cli/team-command.impl.js +3 -3
  128. package/dist/cli/team-command.js +3 -3
  129. package/dist/cli.js +2 -2
  130. package/dist/cli.js.map +1 -1
  131. package/dist/core/debug.impl.js +3 -3
  132. package/dist/core/debug.js +3 -3
  133. package/dist/core/export-html/card-projection.code.js +2 -2
  134. package/dist/core/export-html/card-projection.code.js.map +1 -1
  135. package/dist/core/export-html/card-projection.impl.js +3 -3
  136. package/dist/core/export-html/card-projection.js +3 -3
  137. package/dist/core/export-html/index.code.js +9 -9
  138. package/dist/core/export-html/index.code.js.map +1 -1
  139. package/dist/core/export-html/index.impl.js +3 -3
  140. package/dist/core/export-html/index.js +3 -3
  141. package/dist/core/export-html/json-spans.impl.js +3 -3
  142. package/dist/core/export-html/json-spans.js +3 -3
  143. package/dist/core/export-html/oversized-render-inputs.code.js +1 -1
  144. package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
  145. package/dist/core/export-html/oversized-render-inputs.js +3 -3
  146. package/dist/core/export-html/tool-renderer.code.js +1 -1
  147. package/dist/core/export-html/tool-renderer.impl.js +3 -3
  148. package/dist/core/export-html/tool-renderer.js +3 -3
  149. package/dist/core/extensions/jiti-loader.impl.js +3 -3
  150. package/dist/core/extensions/jiti-loader.js +3 -3
  151. package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
  152. package/dist/core/extensions/jiti-static-loader.js +3 -3
  153. package/dist/core/extensions/loader-host-modules.code.js +1 -1
  154. package/dist/core/extensions/loader-host-modules.impl.js +3 -3
  155. package/dist/core/extensions/loader-host-modules.js +3 -3
  156. package/dist/core/extensions/loader-virtual-modules.js +1 -1
  157. package/dist/core/extensions/runner-context.js +5 -5
  158. package/dist/core/extensions/runner-context.js.map +1 -1
  159. package/dist/core/http-dispatcher.js +2 -0
  160. package/dist/core/intercom-broker-control-host.impl.js +3 -3
  161. package/dist/core/intercom-broker-control-host.js +3 -3
  162. package/dist/core/intercom-broker-control.code.js +3 -3
  163. package/dist/core/intercom-broker-control.impl.js +3 -3
  164. package/dist/core/intercom-broker-control.js +3 -3
  165. package/dist/core/package-manager-storage-adapters.impl.js +3 -3
  166. package/dist/core/package-manager-storage-adapters.js +3 -3
  167. package/dist/core/sdk.code.js +1 -1
  168. package/dist/core/sdk.impl.js +3 -3
  169. package/dist/core/sdk.js +3 -3
  170. package/dist/core/session-manager-core.js +15 -15
  171. package/dist/core/session-manager-core.js.map +1 -1
  172. package/dist/core/session-manager-list.impl.js +3 -3
  173. package/dist/core/session-manager-list.js +3 -3
  174. package/dist/core/session-manager.code.js +1 -1
  175. package/dist/core/session-manager.impl.js +3 -3
  176. package/dist/core/session-manager.js +3 -3
  177. package/dist/core/session-storage.impl.js +3 -3
  178. package/dist/core/session-storage.js +3 -3
  179. package/dist/core/storage/index.js +2 -2
  180. package/dist/core/storage/node-sqlite-thread.js +2 -2
  181. package/dist/core/storage/node-sqlite.js +2 -2
  182. package/dist/core/storage/offline-snapshot-file.code.js +1 -1
  183. package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
  184. package/dist/core/storage/offline-snapshot-file.js +3 -3
  185. package/dist/core/storage/provider.js +2 -2
  186. package/dist/core/storage/selection.js +2 -2
  187. package/dist/core/storage/session/branch-fork-source.code.js +3 -3
  188. package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
  189. package/dist/core/storage/session/branch-fork-source.js +3 -3
  190. package/dist/core/storage/session/card-view.impl.js +3 -3
  191. package/dist/core/storage/session/card-view.js +3 -3
  192. package/dist/core/storage/session/child-reader.code.js +5 -4
  193. package/dist/core/storage/session/child-reader.code.js.map +1 -1
  194. package/dist/core/storage/session/child-reader.impl.js +3 -3
  195. package/dist/core/storage/session/child-reader.js +3 -3
  196. package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
  197. package/dist/core/storage/session/chunked-resume-projection.js +3 -3
  198. package/dist/core/storage/session/errors.js +1 -0
  199. package/dist/core/storage/session/errors.js.map +1 -1
  200. package/dist/core/storage/session/expanded-child-details.code.js +4 -4
  201. package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
  202. package/dist/core/storage/session/expanded-child-details.js +3 -3
  203. package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
  204. package/dist/core/storage/session/fork-row-bytes.js +3 -3
  205. package/dist/core/storage/session/fork-row-index.impl.js +3 -3
  206. package/dist/core/storage/session/fork-row-index.js +3 -3
  207. package/dist/core/storage/session/fork-staging.code.js +5 -4
  208. package/dist/core/storage/session/fork-staging.code.js.map +1 -1
  209. package/dist/core/storage/session/fork-staging.impl.js +3 -3
  210. package/dist/core/storage/session/fork-staging.js +3 -3
  211. package/dist/core/storage/session/fork-window.code.js +3 -3
  212. package/dist/core/storage/session/fork-window.impl.js +3 -3
  213. package/dist/core/storage/session/fork-window.js +3 -3
  214. package/dist/core/storage/session/history-pages.impl.js +3 -3
  215. package/dist/core/storage/session/history-pages.js +3 -3
  216. package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
  217. package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
  218. package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
  219. package/dist/core/storage/session/jsonl-session-store.js +3 -3
  220. package/dist/core/storage/session/memory-session-store.impl.js +3 -3
  221. package/dist/core/storage/session/memory-session-store.js +3 -3
  222. package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
  223. package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
  224. package/dist/core/storage/session/pinned-branch-resume.js +3 -3
  225. package/dist/core/storage/session/released-history-files.code.js +12 -12
  226. package/dist/core/storage/session/released-history-files.code.js.map +1 -1
  227. package/dist/core/storage/session/released-history-files.impl.js +3 -3
  228. package/dist/core/storage/session/released-history-files.js +3 -3
  229. package/dist/core/storage/session/resident-fork-rows.code.js +1 -1
  230. package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
  231. package/dist/core/storage/session/resident-fork-rows.js +3 -3
  232. package/dist/core/storage/session/session-resume.impl.js +3 -3
  233. package/dist/core/storage/session/session-resume.js +3 -3
  234. package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
  235. package/dist/core/storage/session/snapshot-cut.js +3 -3
  236. package/dist/core/storage/session/snapshot-history.code.js +3 -3
  237. package/dist/core/storage/session/snapshot-history.impl.js +3 -3
  238. package/dist/core/storage/session/snapshot-history.js +3 -3
  239. package/dist/core/storage/session/sql-session-store.impl.js +3 -3
  240. package/dist/core/storage/session/sql-session-store.js +3 -3
  241. package/dist/core/storage/session/tree-outline.impl.js +3 -3
  242. package/dist/core/storage/session/tree-outline.js +3 -3
  243. package/dist/core/storage/session/tree-presentation.impl.js +3 -3
  244. package/dist/core/storage/session/tree-presentation.js +3 -3
  245. package/dist/core/storage/storage-status.impl.js +3 -3
  246. package/dist/core/storage/storage-status.js +3 -3
  247. package/dist/core/storage/team.impl.js +3 -3
  248. package/dist/core/storage/team.js +3 -3
  249. package/dist/core/structured-output/index.impl.js +3 -3
  250. package/dist/core/structured-output/index.js +3 -3
  251. package/dist/core/tasks/task-completion-entry.impl.js +3 -3
  252. package/dist/core/tasks/task-completion-entry.js +3 -3
  253. package/dist/core/tasks/task-file-history.code.js +5 -5
  254. package/dist/core/tasks/task-file-history.code.js.map +1 -1
  255. package/dist/core/tasks/task-file-history.impl.js +3 -3
  256. package/dist/core/tasks/task-file-history.js +3 -3
  257. package/dist/core/tasks/task-reference-archive.code.js +11 -11
  258. package/dist/core/tasks/task-reference-archive.code.js.map +1 -1
  259. package/dist/core/tasks/task-reference-archive.js +3 -3
  260. package/dist/core/tasks/task-reference-identity.code.js +2 -2
  261. package/dist/core/tasks/task-reference-identity.js +3 -3
  262. package/dist/core/tasks/task-reference-stream.impl.js +3 -3
  263. package/dist/core/tasks/task-reference-stream.js +3 -3
  264. package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
  265. package/dist/core/tasks/task-unsaved-answer.js +3 -3
  266. package/dist/core/tasks/task-view-source.impl.js +3 -3
  267. package/dist/core/tasks/task-view-source.js +3 -3
  268. package/dist/core/tools/read-url.code.js +9 -9
  269. package/dist/core/tools/read-url.impl.js +3 -3
  270. package/dist/core/tools/read-url.js +3 -3
  271. package/dist/core/worktree-snapshot/blob-store.js +2 -2
  272. package/dist/core/worktree-snapshot/errors.code.js +1 -1
  273. package/dist/core/worktree-snapshot/errors.impl.js +3 -3
  274. package/dist/core/worktree-snapshot/errors.js +3 -3
  275. package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
  276. package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
  277. package/dist/extensions/codemode/execute.code.js +3 -3
  278. package/dist/extensions/codemode/execute.impl.js +3 -3
  279. package/dist/extensions/codemode/execute.js +3 -3
  280. package/dist/extensions/codemode/renderer.code.js +1 -1
  281. package/dist/extensions/codemode/renderer.impl.js +3 -3
  282. package/dist/extensions/codemode/renderer.js +3 -3
  283. package/dist/extensions/mcp/cli.code.js +7 -7
  284. package/dist/extensions/mcp/cli.impl.js +3 -3
  285. package/dist/extensions/mcp/cli.js +3 -3
  286. package/dist/extensions/mcp/cli.lazy.code.js +2 -2
  287. package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
  288. package/dist/extensions/mcp/cli.lazy.js +3 -3
  289. package/dist/extensions/mcp/runtime.impl.js +3 -3
  290. package/dist/extensions/mcp/runtime.js +3 -3
  291. package/dist/index.js +2 -2
  292. package/dist/main-first-time-setup.impl.js +3 -3
  293. package/dist/main-first-time-setup.js +3 -3
  294. package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
  295. package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
  296. package/dist/modes/interactive/components/stored-tree-view.js +3 -3
  297. package/dist/modes/interactive/components/task-inspector.d.ts +10 -2
  298. package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
  299. package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
  300. package/dist/package-manager-cli.code.js +14 -14
  301. package/dist/package-manager-cli.impl.js +3 -3
  302. package/dist/package-manager-cli.js +3 -3
  303. package/dist/rpc-entry.js +3 -3
  304. package/dist/startup-files.json +1 -1
  305. package/dist/startup-stages/7.js +1 -1
  306. package/dist/utils/startup-database-spare.code.js +5 -5
  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/background-tasks.md +2 -2
  313. package/package.json +9 -9
  314. package/dist/_shared/settings-startup-65YEWRV2.js.map +0 -1
  315. package/dist/_shared/startup-0-1-D4LGGINF.js.map +0 -1
@@ -1,21 +1,21 @@
1
1
  import { __commonJSMin, __require } from "./rolldown-runtime-BGM3D5V3.js";
2
2
  import { APP_NAME, ENV_SESSION_DIR, VERSION, createChildProcessEnvironment, createModuleRequire, findHelperExecutable, findHelperExecutableAsync, getAgentDir, getBinDir, getProjectConfigDirs, isBunBinary, isBundledBuild, isPathWithin, loadOnDemand, markLifecycleTiming, normalizePath, processLaunch, processLaunchAsync, releaseRetainedWindowsProcessExitHandle, resolutionBaseUrl, resolvePath, resolveSafeWindowsKillCwdLexical, resolveSafeWindowsWorkingDirectoryAsync, retainWindowsProcessExitHandle, spawnLaunchedProcess, spawnLaunchedProcessSync, stripBom } from "./p0-cli-BB45ZQY6.js";
3
3
  import { ActivityWatchdog, Diff, JSON_RPC_ERROR_CODES, MAX_TOOL_DETACHMENT_AFTER_MS, McpAbortError, McpConnectionClosedError, NON_SECRET_HTTP_HEADERS, ROW_INTENT_META, STARTUP_DECISION_TYPED_TEXT_NOTICE, TASK_MARKS, TaskCleanupAdmissionTimeoutError, TaskEvictedError, TrustDecisionSelector, VisualLinePreview, asyncScope, chatEpoch, collectSecretsForMasking, combineUsage, computeBoxDimensions, createSourceInfo, createTypeScriptSourceSpecifierTransform, defaultModelPerProvider, defineTool, fetchWithRetry, fieldTone, flushable, formatSize, getErrnoCode, getFunctionList, getPiUserAgent, getSyntheticPathSource, getTextOutput, holdProcessDescendants, holdProcessDescendantsResult, invalidArgText, isFlushable, isFunctionList, isJsonRpcRequest, isJsonRpcResponse, isStdoutTakenOver, isStop, isSyntheticPath, isTrustDecision, isValidThinkingLevel, linkPath, many, none, parseJsonRpcMessage, redactCredentials, redactOAuthErrorText, redactOAuthErrorTextCapped, redactWwwAuthenticateHeader, removedProviderMessage, renderBorderedBox, require_applyReviver, require_constants, require_debug, require_identifiers, require_identity, require_parse_options, require_parse_url, resolveDecisionDeadlineMs, resourceInternals, safeTrustChoiceIndex, scrubFetchError, scrubUnknownErrorData, setFunctionList, spanElapsedMs, spawnContainedProcess, str, styleFieldTone, toError, validateTimeoutOverride } from "./startup-0-0-TYUFUOJZ.js";
4
- import { AgentRehydrateError, AgentReleaseConfigError, EMPTY_OUTPUT_TEXT, ExtensionInputComponent, ExtensionSelectorComponent, FirstTimeSetupComponent, LlamaClient, MULTI_SUBMIT_LABEL, MarkdownContentCache, NestedToolCallRunner, RESERVED_LABELS, SESSION_STORAGE_JOIN, SessionKeyDigests, SessionStorageSelectionSchema, SettingsSchema, StorageSelectionSchema, StringEnum as StringEnum$1, TransportEvents, WorkspaceConfigError, WrappingSelect, acceptsForkReplay, cancelReceiptStatus, chatAnswerIntent, chatNumberingFor, cleanupFailureSummary, computeFocusedOptionHasPreview, currentResourceAdmission, diffLines, discoverChatFile, errorMessage, flush, formatAnswerScalar, formatTokenSegment, genBridge, getBuiltinExtensionEntryLabel, getCommandEnv, getGitShellEnvironmentAsync, getLoaderAgentDirs, getVirtualModules, lifecycleScopeForOwner, llamaInferenceUrl, messageIsLlmVisible, next, normalizeLlamaServerUrl, normalizeMessageContent, normalizeModelFailureSignal, normalizeModelReference, normalizeProviderKeys, parseInteractiveEngineMessage, presentTaskError, readFileChatRecords, readInlineCaret, require_from_url, require_re, require_toJS, require_visit, resizeImageInProcess, resolveInlineDraftValue, runCallback, runSynchronousCallback, selectActivePreviewPaneIndex, selectActiveTabItems, selectConfirmedIndicator, sessionLifecycleCreation, stopIndex, streamCutDurationMs, tokenize, trackTranspileCacheWrite, trackWindowsDirectorySecurityWork, userLikeContentBlockIsLlmVisible, verifyWindowsDirectorySecurity, verifyWindowsDirectorySecurityAsync, waitResultTail, waitStatus, withInlineDraft, withTranspileCacheWriteOwner, withWindowsDirectorySecurityOwner } from "./startup-0-1-D4LGGINF.js";
4
+ import { AgentRehydrateError, AgentReleaseConfigError, EMPTY_OUTPUT_TEXT, ExtensionInputComponent, ExtensionSelectorComponent, FirstTimeSetupComponent, LlamaClient, MULTI_SUBMIT_LABEL, MarkdownContentCache, NestedToolCallRunner, RESERVED_LABELS, SESSION_STORAGE_JOIN, SessionKeyDigests, SessionStorageSelectionSchema, SettingsSchema, StorageSelectionSchema, StringEnum as StringEnum$1, TransportEvents, WorkspaceConfigError, WrappingSelect, acceptsForkReplay, cancelReceiptStatus, chatAnswerIntent, chatNumberingFor, cleanupFailureSummary, computeFocusedOptionHasPreview, currentResourceAdmission, diffLines, discoverChatFile, errorMessage, flush, formatAnswerScalar, formatTokenSegment, genBridge, getBuiltinExtensionEntryLabel, getCommandEnv, getGitShellEnvironmentAsync, getLoaderAgentDirs, getVirtualModules, lifecycleScopeForOwner, llamaInferenceUrl, messageIsLlmVisible, next, normalizeLlamaServerUrl, normalizeMessageContent, normalizeModelFailureSignal, normalizeModelReference, normalizeProviderKeys, parseInteractiveEngineMessage, presentTaskError, readFileChatRecords, readInlineCaret, require_from_url, require_re, require_toJS, require_visit, resizeImageInProcess, resolveInlineDraftValue, runCallback, runSynchronousCallback, selectActivePreviewPaneIndex, selectActiveTabItems, selectConfirmedIndicator, sessionLifecycleCreation, stopIndex, streamCutDurationMs, tokenize, trackTranspileCacheWrite, trackWindowsDirectorySecurityWork, userLikeContentBlockIsLlmVisible, verifyWindowsDirectorySecurity, verifyWindowsDirectorySecurityAsync, waitResultTail, waitStatus, withInlineDraft, withTranspileCacheWriteOwner, withWindowsDirectorySecurityOwner } from "./startup-0-1-W2G2UY7R.js";
5
5
  import { KeybindingsManager as KeybindingsManager$1, clickableHintText, clickableKeyTextHint, detectTerminalThemeForAuto, graphemeAt, initTheme, keepStartupDialogDraft, parenthesizedKeyHint, setTheme, singleLineDisplayText, terminalDisplayCursor, terminalDisplayText, theme, withEarlyInputHeldForStartupDialog } from "./p2-shell-main-B2WIALFD.js";
6
6
  import { stripJsonComments } from "./p1-shared-RG5I5LJ6.js";
7
7
  import { findInCauseChain, guardLockRemoval, nativeProcessCreationTime, nativeTerminateProcess, redactCredentialShapes, rehydrateErrorCause, releaseLock, releaseLockSync, renameReplacing, renameReplacingAsync, serializeErrorCause, waitForLock, waitForLockSync } from "./p1b-elig-ENCUPKKJ.js";
8
- import { rehydrateDecisionError } from "./settings-startup-65YEWRV2.js";
9
- import * as fs$1 from "node:fs/promises";
8
+ import { rehydrateDecisionError } from "./settings-startup-4QCVCI53.js";
9
+ import * as fs from "node:fs/promises";
10
10
  import { chmod, lstat, mkdir, mkdtemp, readFile, rm, stat } from "node:fs/promises";
11
11
  import { chmodSync, existsSync, mkdirSync, readFileSync, realpath as realpath$1, realpathSync, rmSync, statSync, writeFileSync } from "fs";
12
12
  import { basename, dirname, join } from "path";
13
13
  import { tmpdir, userInfo } from "node:os";
14
- import * as path$1 from "node:path";
14
+ import * as path from "node:path";
15
15
  import { delimiter as delimiter$1, dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1, resolve as resolve$1, sep as sep$1, win32 as win32$1 } from "node:path";
16
16
  import { spawn } from "child_process";
17
17
  import { pathExists } from "../utils/path-exists.js";
18
- import * as fs$2 from "node:fs";
18
+ import * as fs$1 from "node:fs";
19
19
  import { accessSync as accessSync$1, chmodSync as chmodSync$1, constants as constants$2, lstatSync as lstatSync$1, mkdirSync as mkdirSync$1, mkdtempSync, readFileSync as readFileSync$1, realpath as realpath$2, realpathSync as realpathSync$1, statSync as statSync$1 } from "node:fs";
20
20
  import { Worker } from "node:worker_threads";
21
21
  import { EVAL_WORKER_BUILTIN, evalWorkerExecArgv, startModuleWorker } from "../utils/worker-threads.js";
@@ -3243,8 +3243,7 @@ var TaskSupervisor = class {
3243
3243
  const held = state.permits.get(taskId);
3244
3244
  if (!held) return;
3245
3245
  state.permits.delete(taskId);
3246
- const release = held.release;
3247
- const pending = release().catch((error) => {
3246
+ const pending = (0, held.release)().catch((error) => {
3248
3247
  state.releaseFailures.push(new Error(rejectionMessage(error)));
3249
3248
  }).finally(() => state.releases.delete(pending));
3250
3249
  state.releases.add(pending);
@@ -3447,8 +3446,7 @@ var TaskSupervisor = class {
3447
3446
  }
3448
3447
  if (state.launches.launchHeartbeats.get(operation) === provisional) state.launches.launchHeartbeats.delete(operation);
3449
3448
  try {
3450
- const release = held?.release;
3451
- await release?.();
3449
+ await (0, held?.release)?.();
3452
3450
  } finally {
3453
3451
  state.commandAdmissions.delete(admission);
3454
3452
  finishAdmission();
@@ -3989,7 +3987,7 @@ function normalizeDerivedSessionEntries(entries) {
3989
3987
  const gen = (...fns) => genBridge(fns, false);
3990
3988
  // ../../node_modules/stream-chain/src/fun.js
3991
3989
  const asArray = (...fns) => {
3992
- fns = fns.filter((fn) => fn).flat(Infinity).map((fn) => isFunctionList(fn) ? getFunctionList(fn) : fn).flat(Infinity);
3990
+ fns = fns.filter((fn) => fn).flat(1e400).map((fn) => isFunctionList(fn) ? getFunctionList(fn) : fn).flat(1e400);
3993
3991
  if (!fns.length) fns = [(x) => x];
3994
3992
  let flushed = false;
3995
3993
  let stopAt = 0;
@@ -4149,7 +4147,7 @@ function installHostModuleBridge() {
4149
4147
  }
4150
4148
  // dist/core/extensions/transform-graph.js
4151
4149
  const TYPESCRIPT_FILE = /\.[cm]?tsx?$/;
4152
- const READ_FLAGS = fs$2.constants.O_RDONLY | (fs$2.constants.O_NONBLOCK ?? 0);
4150
+ const READ_FLAGS = fs$1.constants.O_RDONLY | (fs$1.constants.O_NONBLOCK ?? 0);
4153
4151
  /** The options jiti's transform hands the `transform` option for a TypeScript module it imports. */
4154
4152
  function moduleTransformOptions(template, filename, source) {
4155
4153
  const babel = template.babel?.sourceMaps ? {
@@ -4172,7 +4170,7 @@ function isTypeScriptFile(filename) {
4172
4170
  async function readModuleSource(filename) {
4173
4171
  let handle;
4174
4172
  try {
4175
- handle = await fs$2.promises.open(filename, READ_FLAGS);
4173
+ handle = await fs$1.promises.open(filename, READ_FLAGS);
4176
4174
  } catch {
4177
4175
  return;
4178
4176
  }
@@ -5069,8 +5067,7 @@ function doneFor(state, ctx, cancelled) {
5069
5067
  };
5070
5068
  }
5071
5069
  const navHandler = (state, action, ctx) => {
5072
- const item = (ctx.itemsByTab[state.currentTab] ?? [])[action.nextIndex];
5073
- const owner = inlineOwnerForItem(item);
5070
+ const owner = inlineOwnerForItem((ctx.itemsByTab[state.currentTab] ?? [])[action.nextIndex]);
5074
5071
  const next = withFocusedOptionHasPreview({
5075
5072
  ...state,
5076
5073
  chatFocused: false,
@@ -5200,8 +5197,7 @@ const notesExitHandler = (state, _action, _ctx) => {
5200
5197
  };
5201
5198
  };
5202
5199
  const focusOptionsHandler = (state, action, ctx) => {
5203
- const focused = (ctx.itemsByTab[state.currentTab] ?? [])[action.optionIndex];
5204
- const owner = inlineOwnerForItem(focused);
5200
+ const owner = inlineOwnerForItem((ctx.itemsByTab[state.currentTab] ?? [])[action.optionIndex]);
5205
5201
  const next = withFocusedOptionHasPreview({
5206
5202
  ...state,
5207
5203
  chatFocused: false,
@@ -5276,8 +5272,7 @@ const HANDLERS = {
5276
5272
  * `ignore` is also handled outside the reducer by `handleIgnoreInline` in the runtime fast path.
5277
5273
  */
5278
5274
  function reduce(state, action, ctx) {
5279
- const handler = HANDLERS[action.kind];
5280
- return handler(state, action, ctx);
5275
+ return (0, HANDLERS[action.kind])(state, action, ctx);
5281
5276
  }
5282
5277
  // dist/core/tools/ask-user-question/tool/response-envelope.js
5283
5278
  const DECLINE_MESSAGE = "User declined to answer questions";
@@ -7163,9 +7158,9 @@ function stringifyParams(params) {
7163
7158
  }
7164
7159
  }
7165
7160
  async function writePrivateJsonFile(filePath, serializedJson) {
7166
- await fs$1.mkdir(path$1.dirname(filePath), { recursive: true });
7167
- await fs$1.writeFile(filePath, serializedJson, { mode: 384 });
7168
- await fs$1.chmod(filePath, 384);
7161
+ await fs.mkdir(path.dirname(filePath), { recursive: true });
7162
+ await fs.writeFile(filePath, serializedJson, { mode: 384 });
7163
+ await fs.chmod(filePath, 384);
7169
7164
  }
7170
7165
  async function writeCapturedOutput(output, serializedParams) {
7171
7166
  try {
@@ -7194,7 +7189,7 @@ function createStructuredOutputTool(options) {
7194
7189
  `Do not write a prose final answer after calling ${name}.`
7195
7190
  ],
7196
7191
  parameters: StructuredOutputParameters,
7197
- maxResultSizeChars: Infinity,
7192
+ maxResultSizeChars: 1e400,
7198
7193
  structuredOutput: true,
7199
7194
  async execute(_toolCallId, params, signal, _onUpdate, ctx) {
7200
7195
  const { generateStructuredOutput } = await import("../core/structured-output/index.code.js").catch((error) => __atomicOnDemandFailed(error, "structured output"));
@@ -12136,7 +12131,7 @@ function __atomicOnDemandFailed(error, feature) {
12136
12131
  return (async () => {
12137
12132
  const root = new URL("../", import.meta.url);
12138
12133
  const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
12139
- const key = `${root.href}#0.10.5`;
12134
+ const key = `${root.href}#0.10.6`;
12140
12135
  let release = releases.get(key);
12141
12136
  if (release === undefined) {
12142
12137
  const current = (async () => {
@@ -12164,7 +12159,7 @@ function __atomicOnDemandFailed(error, feature) {
12164
12159
  } catch {
12165
12160
  // No installation to read, as in a bundle of the package: the release the process runs decides.
12166
12161
  }
12167
- const updatedTo = typeof installed === "string" && installed !== "0.10.5" ? installed : running !== undefined && running.version !== "0.10.5" ? "0.10.5" : undefined;
12162
+ const updatedTo = typeof installed === "string" && installed !== "0.10.6" ? installed : running !== undefined && running.version !== "0.10.6" ? "0.10.6" : undefined;
12168
12163
  if (updatedTo === undefined) throw error;
12169
12164
  const application = typeof running?.name === "string" ? running.name : "atomic";
12170
12165
  const restart = new Error(`${application} was updated to ${updatedTo} while this session was running; restart it to keep using ${feature}.`, {