@organizaone/o1-code 0.23.6 → 0.24.0

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 (288) hide show
  1. package/README.md +3 -2
  2. package/bundled/qc-helper/docs/configuration/settings.md +17 -9
  3. package/bundled/qc-helper/docs/support/tos-privacy.md +46 -9
  4. package/chunks/{MaxSizedBox-5A6YVHNU.js → MaxSizedBox-NW262WFI.js} +19 -20
  5. package/chunks/{StandaloneSessionPicker-PJ7OY7NU.js → StandaloneSessionPicker-BOHECLEP.js} +35 -36
  6. package/chunks/{acp-subagent-executor-2ZPRNNEN.js → acp-subagent-executor-2OUSOGPA.js} +22 -23
  7. package/chunks/{acpAgent-ROSUR5V5.js → acpAgent-R34ZNNS6.js} +63 -64
  8. package/chunks/{agent-MQPQSPI3.js → agent-SNMW6ERQ.js} +9 -10
  9. package/chunks/{agent-headless-O5TVVFJH.js → agent-headless-UEFKIYQS.js} +9 -10
  10. package/chunks/{all-providers-KR7IGRXW.js → all-providers-OYDP36LL.js} +2 -2
  11. package/chunks/{anthropicContentGenerator-GH5RSH2R.js → anthropicContentGenerator-WU44URNX.js} +4 -4
  12. package/chunks/{bridge-NWKP65DQ.js → bridge-UYNHUFJI.js} +22 -23
  13. package/chunks/{ca-RHSADBKV.js → ca-KPICWCC2.js} +1 -0
  14. package/chunks/{chunk-FTNIX7MV.js → chunk-2CJBQ4YG.js} +3 -3
  15. package/chunks/{chunk-RDB6TCBX.js → chunk-2GNBSOP4.js} +1 -1
  16. package/chunks/{chunk-ETYF6LYZ.js → chunk-2UCDNTD2.js} +1 -1
  17. package/chunks/{chunk-6WAQ7FHW.js → chunk-2YIQBT2C.js} +8 -8
  18. package/chunks/{chunk-BIZ2BU2R.js → chunk-34Z26OAQ.js} +1 -1
  19. package/chunks/{chunk-IGMGIUFK.js → chunk-36IJSJE2.js} +1 -1
  20. package/chunks/{chunk-HTVAOY4O.js → chunk-3DM3J46X.js} +2 -2
  21. package/chunks/{chunk-J6WYDHKN.js → chunk-3EDYFAU4.js} +3 -3
  22. package/chunks/{chunk-ID3UO626.js → chunk-3IYGC56V.js} +3 -3
  23. package/chunks/{chunk-BZYI5TLI.js → chunk-3QVQBDHI.js} +765 -104
  24. package/chunks/{chunk-G2F7N4LU.js → chunk-3WWUP2NW.js} +1 -1
  25. package/chunks/{chunk-2DEMKCA3.js → chunk-44NOS72H.js} +9 -9
  26. package/chunks/{chunk-IBU44H7B.js → chunk-4JL4O3E5.js} +3 -3
  27. package/chunks/{chunk-WWQPZYX5.js → chunk-5LEPITKL.js} +1 -1
  28. package/chunks/{chunk-CMOGRWCB.js → chunk-5R2TUBJU.js} +3 -3
  29. package/chunks/{chunk-LJDZX4VQ.js → chunk-63BOUM6Z.js} +5 -5
  30. package/chunks/{chunk-JTC5IEN7.js → chunk-64CIVB5J.js} +4 -4
  31. package/chunks/{chunk-KJHPBYQF.js → chunk-66AMVKR6.js} +12 -3
  32. package/chunks/{chunk-GRAOOEUB.js → chunk-6JVEPDU3.js} +31 -31
  33. package/chunks/{chunk-X3QJWMUS.js → chunk-6LMQD7ZE.js} +32 -31
  34. package/chunks/{chunk-6CNJPPFQ.js → chunk-6PEK3OUO.js} +2 -2
  35. package/chunks/{chunk-3OPD6SKW.js → chunk-7TZUSRNH.js} +1 -1
  36. package/chunks/{chunk-TASQRFKT.js → chunk-7ZTPEKFK.js} +1 -1
  37. package/chunks/{chunk-YGXPIUEI.js → chunk-AQDRP2A7.js} +2 -2
  38. package/chunks/{chunk-LLFQZCAH.js → chunk-ARHICYDP.js} +2 -2
  39. package/chunks/{chunk-WI6QV2NN.js → chunk-BDOUB4E3.js} +1 -1
  40. package/chunks/{chunk-RZPP3VY2.js → chunk-BEGEBCMX.js} +2 -2
  41. package/chunks/{chunk-A23F5S2K.js → chunk-C2YN37HW.js} +3 -3
  42. package/chunks/{chunk-QP6RBTM4.js → chunk-CHNSFIEU.js} +5 -5
  43. package/chunks/{chunk-QPGYYXO7.js → chunk-CJNSFVIZ.js} +1 -1
  44. package/chunks/{chunk-EVA537RP.js → chunk-DAPZIEPC.js} +34 -19
  45. package/chunks/{chunk-WBTYXDPX.js → chunk-EENXLL76.js} +5 -5
  46. package/chunks/{chunk-QMGEY2UY.js → chunk-EJW2UKS5.js} +2 -2
  47. package/chunks/{chunk-JMPUWQD3.js → chunk-ELP6GWFS.js} +7 -7
  48. package/chunks/{chunk-5ACLXRPB.js → chunk-EQHHF6S6.js} +1 -1
  49. package/chunks/{chunk-IEQ6NPJE.js → chunk-EQKGACYA.js} +1 -1
  50. package/chunks/{chunk-7FLIIJZS.js → chunk-EU6EPX73.js} +1 -1
  51. package/chunks/{chunk-CT7CAQHP.js → chunk-FKRAMAQF.js} +3 -3
  52. package/chunks/{chunk-QQXXDTSU.js → chunk-FMZNCMYH.js} +1 -1
  53. package/chunks/{chunk-QGIH3XTQ.js → chunk-FNNSDOOR.js} +1 -1
  54. package/chunks/{chunk-FKZLKS2Y.js → chunk-FNO7JO44.js} +6 -6
  55. package/chunks/{chunk-M52KEKEQ.js → chunk-GB3X2SWN.js} +3 -3
  56. package/chunks/{chunk-3MKWVUHT.js → chunk-GE7ZIINK.js} +1 -1
  57. package/chunks/{chunk-JWNNGKHN.js → chunk-GGHW4H75.js} +4 -4
  58. package/chunks/{chunk-D54VYWTE.js → chunk-GR257V6A.js} +1 -1
  59. package/chunks/{chunk-LPL2HPIA.js → chunk-HFP2JZHJ.js} +8 -8
  60. package/chunks/{chunk-EW22CPY6.js → chunk-HNM45NML.js} +2 -2
  61. package/chunks/{chunk-TARYKOVC.js → chunk-JL5EW2PU.js} +2 -2
  62. package/chunks/{chunk-UCONY426.js → chunk-JVBAE6OK.js} +5 -5
  63. package/chunks/{chunk-WORJQQZV.js → chunk-JZT4J3NV.js} +7 -7
  64. package/chunks/{chunk-PZ5JMLBW.js → chunk-K7C6CBTQ.js} +1 -1
  65. package/chunks/{chunk-OEIADC4I.js → chunk-KL5F53MI.js} +1 -1
  66. package/chunks/{chunk-A2C6XF4K.js → chunk-L3GVNOEE.js} +2 -2
  67. package/chunks/{chunk-PK6INTPC.js → chunk-L5FX6L3R.js} +1 -1
  68. package/chunks/{chunk-LXZAJXKF.js → chunk-LFC5TDYS.js} +9 -9
  69. package/chunks/{chunk-ZIWHK3AH.js → chunk-LPO2VYWD.js} +1 -1
  70. package/chunks/{chunk-35E4S7ST.js → chunk-LWXN3Q3G.js} +1 -1
  71. package/chunks/{chunk-UPBQTOA2.js → chunk-MEWLOSNA.js} +1 -1
  72. package/chunks/{chunk-H44SDTNA.js → chunk-OF7YPDIT.js} +1 -1
  73. package/chunks/{chunk-RUXCXLXJ.js → chunk-OFSATB6H.js} +3 -3
  74. package/chunks/{chunk-HFYL2VZG.js → chunk-ON5CGP6B.js} +1 -1
  75. package/chunks/{chunk-KCZRUX5N.js → chunk-OU5J6GPI.js} +1 -1
  76. package/chunks/{chunk-4MIZQ3C4.js → chunk-PVANGQVK.js} +4 -4
  77. package/chunks/{chunk-YYBOCLG4.js → chunk-QIUKEACF.js} +19 -8
  78. package/chunks/{chunk-UMXXMSBY.js → chunk-QJLOQHNR.js} +1 -1
  79. package/chunks/{chunk-LH7D54QG.js → chunk-QXMLP3XZ.js} +4 -4
  80. package/chunks/{chunk-W5ZH4ECA.js → chunk-RWENGGG4.js} +4 -4
  81. package/chunks/{chunk-AR2D2LDB.js → chunk-S7CKMFYO.js} +3 -3
  82. package/chunks/{chunk-27ZPT247.js → chunk-SVCTCXHN.js} +1 -1
  83. package/chunks/{chunk-BEANXNLH.js → chunk-SZM235C4.js} +6 -6
  84. package/chunks/{chunk-PVY6INBW.js → chunk-TEMHFHQV.js} +3 -3
  85. package/chunks/{chunk-ZRXKKB63.js → chunk-TRO6XIDF.js} +3 -3
  86. package/chunks/{chunk-LUCOEEAB.js → chunk-TVL24FJB.js} +8 -8
  87. package/chunks/{chunk-UBMMODJB.js → chunk-TXP5BHCF.js} +2 -2
  88. package/chunks/{chunk-J5HQL7OD.js → chunk-ULLCJNT5.js} +1 -1
  89. package/chunks/{chunk-XXQ2DA7F.js → chunk-USYQVZYJ.js} +2 -2
  90. package/chunks/{chunk-DGLZ7R67.js → chunk-V4SPTFEG.js} +3 -3
  91. package/chunks/{chunk-O63DUL4M.js → chunk-VDVSVZWL.js} +1 -1
  92. package/chunks/{chunk-NAHGNNZB.js → chunk-VEVQ3KOQ.js} +15 -15
  93. package/chunks/{chunk-3FDAQK6P.js → chunk-VFRSPZOW.js} +1 -1
  94. package/chunks/{chunk-EFK6RU3T.js → chunk-VIPQLTDR.js} +10 -10
  95. package/chunks/{chunk-5C43GL67.js → chunk-VN5T2QYU.js} +1 -1
  96. package/chunks/{chunk-AE4IQ5HU.js → chunk-VQCUTIBI.js} +1 -1
  97. package/chunks/{chunk-4AJKZMFN.js → chunk-VTNFDCQ7.js} +3 -3
  98. package/chunks/{chunk-57ZQZ7JI.js → chunk-VZOQANTZ.js} +54 -49
  99. package/chunks/{chunk-WRUO75DK.js → chunk-WCXEBLWO.js} +3 -3
  100. package/chunks/{chunk-RARNV4EH.js → chunk-WORPBFTT.js} +4 -4
  101. package/chunks/{chunk-LALBZLWX.js → chunk-WQEJFN6F.js} +3 -3
  102. package/chunks/{chunk-YFOXEHTY.js → chunk-XAZYQDOU.js} +4 -4
  103. package/chunks/{chunk-JPVHQJJL.js → chunk-XJJ4HAJ3.js} +2 -2
  104. package/chunks/{chunk-4LBEZCUL.js → chunk-Y4H5A6N7.js} +2 -2
  105. package/chunks/{chunk-TSXPF6BH.js → chunk-Z4RNAWAT.js} +2 -2
  106. package/chunks/{codex-subagent-executor-OOB7YKI7.js → codex-subagent-executor-N7XUDMMR.js} +22 -23
  107. package/chunks/{contextCommand-AUXKVKG3.js → contextCommand-3UGTHGWI.js} +21 -22
  108. package/chunks/{core-runtime-DXCLVHP7.js → core-runtime-2XWWOJBK.js} +19 -20
  109. package/chunks/{create-sub-session-7WGLBJIN.js → create-sub-session-7A3XG4EB.js} +20 -21
  110. package/chunks/{daemon-git-worktree-guard-PQJHEHBQ.js → daemon-git-worktree-guard-6R5CAJML.js} +19 -20
  111. package/chunks/{daemon-status-provider-QMJM7BR5.js → daemon-status-provider-LTXP4ZPC.js} +27 -28
  112. package/chunks/{daemon-trust-policy-5EX7GV5Z.js → daemon-trust-policy-BUHLBXK5.js} +25 -26
  113. package/chunks/{daemon-trust-policy-monitor-JEF7HPYA.js → daemon-trust-policy-monitor-FDMNA7XP.js} +25 -26
  114. package/chunks/{de-SJHLEQC4.js → de-XOVGUB4E.js} +1 -0
  115. package/chunks/{deferred-core-runtime-IZN37DMY.js → deferred-core-runtime-ESODQ2KQ.js} +19 -20
  116. package/chunks/{edit-LVDJRLUV.js → edit-XYJP2KNH.js} +11 -12
  117. package/chunks/{en-QZTJJ53G.js → en-ZRJL6ZFP.js} +12 -0
  118. package/chunks/{enterPlanMode-XVSKZDGB.js → enterPlanMode-4CRUU346.js} +9 -10
  119. package/chunks/{environment-C4MVG2DW.js → environment-OP72OBEN.js} +21 -22
  120. package/chunks/{errors-QTLX62VA.js → errors-O5NZTPS7.js} +21 -22
  121. package/chunks/{execution-tool-BHO5C2VQ.js → execution-tool-UOEMZ4JH.js} +11 -12
  122. package/chunks/{execution-worker-NMOR3MNG.js → execution-worker-AVMMC3VO.js} +14 -15
  123. package/chunks/{exitPlanMode-7MHEUFDV.js → exitPlanMode-674TFQOK.js} +9 -10
  124. package/chunks/{fast-path-VT2OPWKI.js → fast-path-BCYZT2KL.js} +2 -2
  125. package/chunks/{foreground-runner-K2QWPCZE.js → foreground-runner-HN72IMP6.js} +21 -22
  126. package/chunks/{fr-AKEMVHLD.js → fr-5BYN3TTH.js} +1 -0
  127. package/chunks/{gateway-models-OIKGYG7E.js → gateway-models-TJBRDGHL.js} +3 -3
  128. package/chunks/{glob-G255OEF6.js → glob-KG235VRI.js} +9 -10
  129. package/chunks/{goal-tools-RL5CWTHU.js → goal-tools-6IDXMQKW.js} +9 -10
  130. package/chunks/{handleAutoUpdate-SDFQDGCZ.js → handleAutoUpdate-AV4Q3YRO.js} +22 -23
  131. package/chunks/{i18n-5B7KH5SJ.js → i18n-RHYMG7VN.js} +20 -21
  132. package/chunks/{initializer-6MIEFQRW.js → initializer-KCHB7PDB.js} +25 -26
  133. package/chunks/{installationInfo-ODECMI3W.js → installationInfo-7N3QG56L.js} +19 -20
  134. package/chunks/{ja-P2B6FRH4.js → ja-YPJM4227.js} +1 -0
  135. package/chunks/{list-6ZK5SEMU.js → list-4PQFRRXT.js} +27 -28
  136. package/chunks/{llm-IFIIWNTL.js → llm-Q2LRDZO4.js} +58 -52
  137. package/chunks/{llm-content-generator-XNQGMFYV.js → llm-content-generator-YCIEYW2F.js} +5 -18
  138. package/chunks/{loadedSettingsAdapter-KJMHK55W.js → loadedSettingsAdapter-DQM3AZQR.js} +25 -26
  139. package/chunks/{local-execution-environment-GDPNG5NI.js → local-execution-environment-SIUMWD5D.js} +14 -15
  140. package/chunks/{loggingContentGenerator-7XAJ2A4G.js → loggingContentGenerator-HC7VOMHJ.js} +10 -11
  141. package/chunks/{managed-npm-update-D4JUQCQE.js → managed-npm-update-QCKGNRCE.js} +19 -20
  142. package/chunks/{mcp-TO2VWBD7.js → mcp-YGWHYFFO.js} +25 -26
  143. package/chunks/{model-call-collection-6PFJENXQ.js → model-call-collection-KBA6G3V6.js} +1 -1
  144. package/chunks/{model-configuration-ZJ6DE3FV.js → model-configuration-KIMDI7TW.js} +26 -27
  145. package/chunks/{modelConfigUtils-2LB4IWYJ.js → modelConfigUtils-UZEDX3FT.js} +21 -22
  146. package/chunks/{monitor-TJMX2NLL.js → monitor-ASQYO4GM.js} +9 -10
  147. package/chunks/{nonInteractiveCli-NLCACNXO.js → nonInteractiveCli-MF2FIH2O.js} +54 -55
  148. package/chunks/{nonInteractiveToolExecutor-2XCCGQVD.js → nonInteractiveToolExecutor-NDCIOIYA.js} +10 -11
  149. package/chunks/{notebook-edit-22CCHEKF.js → notebook-edit-NTZXXCOL.js} +10 -11
  150. package/chunks/{omni-GHWWZCTK.js → omni-UQEXZ4BK.js} +8 -8
  151. package/chunks/{openaiContentGenerator-4KZJGLHL.js → openaiContentGenerator-MCJFRRRD.js} +6 -7
  152. package/chunks/{openaiResponsesContentGenerator-XMSIHEXH.js → openaiResponsesContentGenerator-WH65SYNI.js} +3 -3
  153. package/chunks/{processUtils-G5XIHIEB.js → processUtils-LZ6A4WQW.js} +2 -2
  154. package/chunks/{prompt-terminal-ledger-EDQLBIDN.js → prompt-terminal-ledger-EICIC7RD.js} +20 -21
  155. package/chunks/{pt-KE77XTFU.js → pt-2EWDZAFN.js} +14 -1
  156. package/chunks/{reactive-degrade-GN7KK6DW.js → reactive-degrade-3VSDADKG.js} +7 -7
  157. package/chunks/{read-file-A4CXZWYH.js → read-file-SQ22CUV3.js} +2 -3
  158. package/chunks/{resumeHistoryUtils-DKTXJYOA.js → resumeHistoryUtils-UBYP65XN.js} +23 -24
  159. package/chunks/{ripGrep-D4DC66BW.js → ripGrep-BGA3IHCY.js} +3 -4
  160. package/chunks/{ru-MA3PS5E7.js → ru-5OPL2N6C.js} +1 -0
  161. package/chunks/{run-o1-code-serve-AEXABP6Z.js → run-o1-code-serve-F2VC5WU5.js} +32 -32
  162. package/chunks/{sandboxConfig-4LDHTJCR.js → sandboxConfig-LQ3GNTI3.js} +19 -20
  163. package/chunks/{scheduled-tasks-RBG6SOSD.js → scheduled-tasks-G3IFPCBU.js} +25 -26
  164. package/chunks/{scheduler-COH4ACGI.js → scheduler-SGFONO5S.js} +21 -22
  165. package/chunks/{serve-2BXYKN3V.js → serve-FTRLUIUN.js} +25 -26
  166. package/chunks/{server-WTXMKEIU.js → server-BZZH5CGH.js} +55 -56
  167. package/chunks/{session-H6WQHUHM.js → session-6H5CXEX7.js} +1 -1
  168. package/chunks/{session-MWHR5RKX.js → session-UI2PNFG3.js} +55 -56
  169. package/chunks/{session-attachments-root-N5USBADP.js → session-attachments-root-452F3VSU.js} +19 -20
  170. package/chunks/{session-pr-refresh-OUHCMC7D.js → session-pr-refresh-FXPK57QE.js} +24 -25
  171. package/chunks/{settings-3HZFXPLI.js → settings-4WK2SUTD.js} +24 -25
  172. package/chunks/{shell-EVILFWQQ.js → shell-XSXZX45R.js} +9 -10
  173. package/chunks/{skill-J2KGAN2V.js → skill-E7EQ7OCS.js} +3 -4
  174. package/chunks/{skill-settings-ACT6L5LV.js → skill-settings-PVGNKXS4.js} +25 -26
  175. package/chunks/{spawnChannel-X3THBSPW.js → spawnChannel-7PTECX7U.js} +21 -22
  176. package/chunks/{standalone-update-6QFNZ25N.js → standalone-update-XKIDAQJP.js} +21 -22
  177. package/chunks/{startInteractiveUI-FSE44WKV.js → startInteractiveUI-GDH6ENTN.js} +225 -163
  178. package/chunks/{supervisor-runner-2HPHLD33.js → supervisor-runner-3VG6JYOQ.js} +2 -2
  179. package/chunks/{team-create-BMDCZ6ON.js → team-create-2KXZ6OAD.js} +9 -10
  180. package/chunks/{team-plan-approval-CM7KG4VK.js → team-plan-approval-R4IUE6MT.js} +9 -10
  181. package/chunks/{terminal-image-renderer-FCOPZR55.js → terminal-image-renderer-RVGZDQ7O.js} +19 -20
  182. package/chunks/{theme-manager-FGCT4MJ4.js → theme-manager-MM2LI23D.js} +19 -20
  183. package/chunks/{tool-result-media-6ALUQCCK.js → tool-result-media-QQZVNJYE.js} +8 -8
  184. package/chunks/{tool-search-PI7BCUFL.js → tool-search-WSYXEHPX.js} +2 -3
  185. package/chunks/{total-session-admission-H4D6P5V3.js → total-session-admission-UWISNN3E.js} +22 -23
  186. package/chunks/{trustedFolders-IHXTSUQS.js → trustedFolders-IQF6LGEC.js} +20 -21
  187. package/chunks/{update-relaunch-Y6AUJ76M.js → update-relaunch-BQF3QA55.js} +5 -5
  188. package/chunks/{updateCheck-UYWXFZ2F.js → updateCheck-2HZGFVB2.js} +21 -22
  189. package/chunks/{upload-config-HGV6EP3I.js → upload-config-6WCS4KWI.js} +5 -5
  190. package/chunks/{useAutoAcceptIndicator-3UC36KZX.js → useAutoAcceptIndicator-RMS6JD7Q.js} +27 -28
  191. package/chunks/{validateNonInterActiveAuth-2GPESD6I.js → validateNonInterActiveAuth-BJGQQMTP.js} +51 -52
  192. package/chunks/{version-7P2HKCWW.js → version-OFS2KGHG.js} +1 -1
  193. package/chunks/{web-fetch-6JT5AFZC.js → web-fetch-DXHJIPFR.js} +2 -3
  194. package/chunks/{web-search-GIJKSYEU.js → web-search-2CZKPAEO.js} +5 -5
  195. package/chunks/{workflow-52ZDOZ2U.js → workflow-SWL56JZ7.js} +10 -11
  196. package/chunks/{workspace-providers-status-2YEJMZUJ.js → workspace-providers-status-W3NF7BSW.js} +31 -32
  197. package/chunks/{workspace-registration-store-IBPUQZDV.js → workspace-registration-store-2LKHCWUR.js} +1 -1
  198. package/chunks/{workspace-registry-DMVT27FO.js → workspace-registry-4BQ3HJ7V.js} +22 -23
  199. package/chunks/{workspace-runtime-coordinator-5MDFGBZH.js → workspace-runtime-coordinator-EGYPCB7P.js} +23 -24
  200. package/chunks/{workspace-service-7O3JOAVE.js → workspace-service-YSXEDPRL.js} +29 -30
  201. package/chunks/{workspace-skills-status-HEVD2N4F.js → workspace-skills-status-JE6VIEKK.js} +28 -29
  202. package/chunks/{workspace-trust-reconciler-DGRT7GIX.js → workspace-trust-reconciler-I36XWEA3.js} +28 -29
  203. package/chunks/{write-file-CTQPOA7R.js → write-file-AY2MQ57Y.js} +11 -12
  204. package/chunks/{zh-IAQUI2JQ.js → zh-JJGCFWTL.js} +1 -0
  205. package/chunks/{zh-TW-OJB2TVMP.js → zh-TW-7LWX7CCJ.js} +1 -0
  206. package/chunks/{zoom-image-OAEB4KD7.js → zoom-image-YCUUFF5K.js} +2 -3
  207. package/cli.js +15 -15
  208. package/execution-worker.js +1 -1
  209. package/export-transcript-document.js +1 -1
  210. package/locales/ca.js +1 -0
  211. package/locales/de.js +1 -0
  212. package/locales/en.js +18 -0
  213. package/locales/fr.js +1 -0
  214. package/locales/ja.js +1 -0
  215. package/locales/pt.js +22 -2
  216. package/locales/ru.js +1 -0
  217. package/locales/zh-TW.js +1 -0
  218. package/locales/zh.js +1 -0
  219. package/package.json +2 -2
  220. package/release-notes.json +13 -0
  221. package/vendor/o1-connect/.lintstagedrc.mjs +7 -0
  222. package/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
  223. package/vendor/tree-sitter/tree-sitter.wasm +0 -0
  224. package/web-shell/assets/{abnfDiagram-VCTEODGH-DX-WMq-5.js → abnfDiagram-VCTEODGH-DJqfEsci.js} +1 -1
  225. package/web-shell/assets/{arc-BTsycUPV.js → arc-DwKtjY60.js} +1 -1
  226. package/web-shell/assets/{architectureDiagram-5GKGNRK7-DDSm7j8E.js → architectureDiagram-5GKGNRK7-VM02_lKX.js} +1 -1
  227. package/web-shell/assets/{blockDiagram-NRAW4CY4-D6tFEZam.js → blockDiagram-NRAW4CY4-DHHAUVDx.js} +1 -1
  228. package/web-shell/assets/{c4Diagram-UCG6FXSJ-Bjy_QWLJ.js → c4Diagram-UCG6FXSJ-DoICQl3v.js} +1 -1
  229. package/web-shell/assets/channel-9IZtxCcP.js +1 -0
  230. package/web-shell/assets/{chunk-2Q5K7J3B-Cisyo9Dc.js → chunk-2Q5K7J3B-CCX9-GRY.js} +1 -1
  231. package/web-shell/assets/{chunk-5VM5RSS4-C0U4YghO.js → chunk-5VM5RSS4-DGzp5GbB.js} +1 -1
  232. package/web-shell/assets/{chunk-F27PBJKO-ChrcfQnU.js → chunk-F27PBJKO-BkIltNHV.js} +1 -1
  233. package/web-shell/assets/{chunk-G27WJ6UU-C6Xt2Op6.js → chunk-G27WJ6UU-6qfbGGi_.js} +1 -1
  234. package/web-shell/assets/{chunk-JWPE2WC7-__BIxbxL.js → chunk-JWPE2WC7-h2kgmECK.js} +1 -1
  235. package/web-shell/assets/{chunk-LCL6LL3I-BGm7osZW.js → chunk-LCL6LL3I-Bts05Qgz.js} +1 -1
  236. package/web-shell/assets/{chunk-POPQ4Y6H-DdFsl1Dw.js → chunk-POPQ4Y6H-CiW-js_k.js} +1 -1
  237. package/web-shell/assets/{chunk-SVP7TREG-BsMEsSe2.js → chunk-SVP7TREG-C-nBC0m1.js} +1 -1
  238. package/web-shell/assets/{chunk-XXDRQBXY-CL91xHLm.js → chunk-XXDRQBXY-B6dbvzNn.js} +1 -1
  239. package/web-shell/assets/classDiagram-DTDB5LWJ-C2d-V-B1.js +1 -0
  240. package/web-shell/assets/classDiagram-v2-JRS7N3AN-C2d-V-B1.js +1 -0
  241. package/web-shell/assets/{cose-bilkent-JH36ORCC-CCkiL4oo.js → cose-bilkent-JH36ORCC-CaNFLz_b.js} +1 -1
  242. package/web-shell/assets/{cynefin-OW5HDTMX-CSUZ1mkI.js → cynefin-OW5HDTMX-CfvtnSJ8.js} +1 -1
  243. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BWX97QVr.js → cynefinDiagram-5FMLGOSQ-EyJXaNiT.js} +1 -1
  244. package/web-shell/assets/{dagre-3AP2YEHR-BqGHe5Nd.js → dagre-3AP2YEHR-Dfqppraz.js} +1 -1
  245. package/web-shell/assets/{diagram-S7CK7UJ4-BiJnzVoi.js → diagram-S7CK7UJ4-CoFgSAcK.js} +1 -1
  246. package/web-shell/assets/{diagram-UQ7AKVKN-pEu46e8x.js → diagram-UQ7AKVKN-CPkM_U3C.js} +1 -1
  247. package/web-shell/assets/{diagram-VSXAHHWV-7OpCXsso.js → diagram-VSXAHHWV-CxUsPmcQ.js} +1 -1
  248. package/web-shell/assets/{diagram-VX7I27RA-C2tOGWNB.js → diagram-VX7I27RA-CJ4xqC11.js} +1 -1
  249. package/web-shell/assets/{diagram-Z3DM3KII-CajemOIp.js → diagram-Z3DM3KII-BbpVhyGE.js} +1 -1
  250. package/web-shell/assets/{ebnfDiagram-PWID7BFC-BS_0Vcuk.js → ebnfDiagram-PWID7BFC-0g_6zZa6.js} +1 -1
  251. package/web-shell/assets/{erDiagram-SSCWMZ5O-DTl51hCc.js → erDiagram-SSCWMZ5O-CctfGwzh.js} +1 -1
  252. package/web-shell/assets/{flowDiagram-A5DVABFB-DEGnc-gk.js → flowDiagram-A5DVABFB-D52Yh-kY.js} +1 -1
  253. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-CRRQ7NXM.js → ganttDiagram-EL5Y4UJY--V15ib0A.js} +1 -1
  254. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Cuz0yxgq.js → gitGraphDiagram-WWUBYQGX-D4Ah0ltR.js} +1 -1
  255. package/web-shell/assets/{index-CabBtppt.js → index-BG19yWJ0.js} +1 -1
  256. package/web-shell/assets/{index-CwSc_wHq.js → index-DSDcyyHv.js} +3 -3
  257. package/web-shell/assets/{infoDiagram-RXCK75RN-__m4BRLE.js → infoDiagram-RXCK75RN-CxgOq49b.js} +1 -1
  258. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-D9-giwSc.js → ishikawaDiagram-5VMMS53U-BZDGTKew.js} +1 -1
  259. package/web-shell/assets/{journeyDiagram-EYS64GPL-D6wcRzSR.js → journeyDiagram-EYS64GPL-DLJR_58Z.js} +1 -1
  260. package/web-shell/assets/{kanban-definition-3QL26DDD-C5U3RnTE.js → kanban-definition-3QL26DDD-C0F5MJ5k.js} +1 -1
  261. package/web-shell/assets/{layout-WWFI0sC8.js → layout-C5P3DPCU.js} +1 -1
  262. package/web-shell/assets/{linear-Chfo4D6Z.js → linear-NQ7gpy58.js} +1 -1
  263. package/web-shell/assets/{mermaid.core-B-VksWPM.js → mermaid.core-CRq5Hiko.js} +6 -6
  264. package/web-shell/assets/{mindmap-definition-FBJOCRG2-XM4KHyex.js → mindmap-definition-FBJOCRG2-CHxQjl37.js} +1 -1
  265. package/web-shell/assets/{pegDiagram-XKGWAZYB-BXt64I2s.js → pegDiagram-XKGWAZYB-CW_08JXd.js} +1 -1
  266. package/web-shell/assets/{pieDiagram-E7YTZNPT-BvfbAKpr.js → pieDiagram-E7YTZNPT-OPBIljdJ.js} +1 -1
  267. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DLB8Sxqr.js → quadrantDiagram-AXDQQJYC-DqqiukBo.js} +1 -1
  268. package/web-shell/assets/{railroadDiagram-O6MQD6OU-DwqZtLH2.js → railroadDiagram-O6MQD6OU-pCIab1na.js} +1 -1
  269. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-D--ACyGX.js → requirementDiagram-EFPCY7ZU-W8-fLuK7.js} +1 -1
  270. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DvlrX2JB.js → sankeyDiagram-P5KCCOFB-Bwom-URo.js} +1 -1
  271. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BRrJXThj.js → sequenceDiagram-WJ2MYXX4-Pk0GErkP.js} +1 -1
  272. package/web-shell/assets/{sizeCapture-X5ZJPWSS-BA-oi6RP.js → sizeCapture-X5ZJPWSS-CkowtnzF.js} +1 -1
  273. package/web-shell/assets/{stateDiagram-HBIQ2CUA-C1aCDG7D.js → stateDiagram-HBIQ2CUA-BEzw-aWX.js} +1 -1
  274. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-C2Vexpwc.js +1 -0
  275. package/web-shell/assets/{swimlanes-XN3QIQJK-DnOwGDqw.js → swimlanes-XN3QIQJK-BkPUceuB.js} +1 -1
  276. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DOumBFMr.js +8 -0
  277. package/web-shell/assets/{timeline-definition-24CTP7MA-CBKIYQa1.js → timeline-definition-24CTP7MA-BZdCZ9lC.js} +1 -1
  278. package/web-shell/assets/{vennDiagram-4TSXK5OY-Dw-D7NXl.js → vennDiagram-4TSXK5OY-D3_JAiBx.js} +1 -1
  279. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BINiTZLS.js → wardleyDiagram-VM6X3IG4-BpruzF1j.js} +1 -1
  280. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BepJ-qL9.js → xychartDiagram-S5SC5T6Z-BIOPhU2U.js} +1 -1
  281. package/web-shell/index.html +1 -1
  282. package/web-shell/sw.js +1 -1
  283. package/chunks/chunk-HOPKSSYR.js +0 -78
  284. package/web-shell/assets/channel-DE7rYJuG.js +0 -1
  285. package/web-shell/assets/classDiagram-DTDB5LWJ-SxdhKxC5.js +0 -1
  286. package/web-shell/assets/classDiagram-v2-JRS7N3AN-SxdhKxC5.js +0 -1
  287. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CLW-6vrZ.js +0 -1
  288. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BElLo_er.js +0 -8
@@ -6,13 +6,13 @@ import {
6
6
  import {
7
7
  TUI_CHAT_RECORDING_FAILURE_MESSAGE,
8
8
  reportChatRecordingFailureToAdapter
9
- } from "./chunk-J5HQL7OD.js";
9
+ } from "./chunk-ULLCJNT5.js";
10
10
  import {
11
11
  StreamJsonOutputAdapter
12
- } from "./chunk-LH7D54QG.js";
12
+ } from "./chunk-QXMLP3XZ.js";
13
13
  import {
14
14
  startPostRenderPrefetches
15
- } from "./chunk-LUCOEEAB.js";
15
+ } from "./chunk-TVL24FJB.js";
16
16
  import {
17
17
  AboutBox,
18
18
  BaseSelectionList,
@@ -115,7 +115,7 @@ import {
115
115
  useUIActions,
116
116
  useUIState,
117
117
  useVirtualViewport
118
- } from "./chunk-EVA537RP.js";
118
+ } from "./chunk-DAPZIEPC.js";
119
119
  import {
120
120
  CATEGORY_LABELS,
121
121
  ICON,
@@ -137,25 +137,25 @@ import {
137
137
  showsToolLabel,
138
138
  useStreamingContext,
139
139
  waitForGoalRuntime
140
- } from "./chunk-FKZLKS2Y.js";
140
+ } from "./chunk-FNO7JO44.js";
141
141
  import {
142
142
  stopAndGetCapturedInput
143
143
  } from "./chunk-VFLUNXD6.js";
144
144
  import {
145
145
  useAutoAcceptIndicator
146
- } from "./chunk-6CNJPPFQ.js";
146
+ } from "./chunk-6PEK3OUO.js";
147
147
  import {
148
148
  KeypressProvider,
149
149
  useFocus,
150
150
  useKeypress,
151
151
  useKeypressContext
152
- } from "./chunk-XXQ2DA7F.js";
152
+ } from "./chunk-USYQVZYJ.js";
153
153
  import {
154
154
  MAX_ACCEPTED_BACKLOG,
155
155
  PeerMessaging,
156
156
  classifyApiError,
157
157
  fireSessionDeleteHook
158
- } from "./chunk-OEIADC4I.js";
158
+ } from "./chunk-KL5F53MI.js";
159
159
  import {
160
160
  MAX_SUGGESTIONS_TO_SHOW,
161
161
  SESSION_MENTION_PREFIX,
@@ -168,7 +168,7 @@ import {
168
168
  normalizeDescription,
169
169
  normalizePartList,
170
170
  resolveAtCommandQuery
171
- } from "./chunk-LPL2HPIA.js";
171
+ } from "./chunk-HFP2JZHJ.js";
172
172
  import {
173
173
  BuiltinCommandLoader,
174
174
  BundledSkillLoader,
@@ -225,7 +225,7 @@ import {
225
225
  resolveOutputStyleChoice,
226
226
  serializeUserPromptExpansionPrompt,
227
227
  supportsMatchers
228
- } from "./chunk-GRAOOEUB.js";
228
+ } from "./chunk-6JVEPDU3.js";
229
229
  import {
230
230
  EXTENSION_RELOAD_FAILED_REASON,
231
231
  ExtensionRefreshState,
@@ -233,7 +233,7 @@ import {
233
233
  cleanupReviewWorktreeLeases,
234
234
  loadHierarchicalMemory,
235
235
  openRemoteSession
236
- } from "./chunk-X3QJWMUS.js";
236
+ } from "./chunk-6LMQD7ZE.js";
237
237
  import {
238
238
  BRAND,
239
239
  MAX_EXTENSION_OWNER_LABEL_WIDTH,
@@ -243,14 +243,14 @@ import {
243
243
  getEffectiveSupportedModes,
244
244
  repoDocUrl,
245
245
  skillOriginLabel
246
- } from "./chunk-YFOXEHTY.js";
246
+ } from "./chunk-XAZYQDOU.js";
247
247
  import {
248
248
  contextUsageLabel,
249
249
  formatDuration,
250
250
  formatPercentageUsed,
251
251
  formatRelativeTime,
252
252
  formatTokenCount
253
- } from "./chunk-D54VYWTE.js";
253
+ } from "./chunk-GR257V6A.js";
254
254
  import {
255
255
  disableKittyProtocol,
256
256
  isKittyProtocolEnabled,
@@ -269,10 +269,10 @@ import {
269
269
  oscKittyNotify,
270
270
  saveClipboardImage,
271
271
  writeOsc52
272
- } from "./chunk-IEQ6NPJE.js";
272
+ } from "./chunk-EQKGACYA.js";
273
273
  import {
274
274
  sanitizeDisplayText
275
- } from "./chunk-RARNV4EH.js";
275
+ } from "./chunk-WORPBFTT.js";
276
276
  import "./chunk-AHKE26WU.js";
277
277
  import "./chunk-UMIHM32I.js";
278
278
  import {
@@ -309,15 +309,15 @@ import {
309
309
  import {
310
310
  require_react
311
311
  } from "./chunk-2KK65OQ6.js";
312
- import "./chunk-HFYL2VZG.js";
312
+ import "./chunk-ON5CGP6B.js";
313
313
  import {
314
314
  handleAutoUpdate,
315
315
  setUpdateHandler
316
- } from "./chunk-YYBOCLG4.js";
316
+ } from "./chunk-QIUKEACF.js";
317
317
  import {
318
318
  isHistoryItemVisibleAfterRestore
319
319
  } from "./chunk-64WBFX5X.js";
320
- import "./chunk-LLFQZCAH.js";
320
+ import "./chunk-ARHICYDP.js";
321
321
  import "./chunk-AZMVJ5C3.js";
322
322
  import {
323
323
  updateEventEmitter
@@ -328,31 +328,31 @@ import {
328
328
  collectInlineImages,
329
329
  getInlineImageData
330
330
  } from "./chunk-KIN34HCU.js";
331
- import "./chunk-PVY6INBW.js";
331
+ import "./chunk-TEMHFHQV.js";
332
332
  import {
333
333
  requestConsentInteractive,
334
334
  requestConsentOrFail
335
- } from "./chunk-LJDZX4VQ.js";
335
+ } from "./chunk-63BOUM6Z.js";
336
336
  import "./chunk-XZ3MQL2U.js";
337
337
  import {
338
338
  getErrorMessage as getErrorMessage2
339
- } from "./chunk-DGLZ7R67.js";
339
+ } from "./chunk-V4SPTFEG.js";
340
340
  import {
341
341
  relaunchApp,
342
342
  relaunchForUpdate
343
- } from "./chunk-H44SDTNA.js";
343
+ } from "./chunk-OF7YPDIT.js";
344
344
  import "./chunk-XG36NMOI.js";
345
345
  import "./chunk-SPLQKNEP.js";
346
346
  import "./chunk-HX6PP5L7.js";
347
- import "./chunk-LALBZLWX.js";
347
+ import "./chunk-WQEJFN6F.js";
348
348
  import "./chunk-LXUIOY3M.js";
349
349
  import {
350
350
  openDashScopeAsrRealtimeStream,
351
351
  openVoiceStream,
352
352
  openVoiceStreamWithRetry
353
353
  } from "./chunk-MTSHGY6F.js";
354
- import "./chunk-EFK6RU3T.js";
355
- import "./chunk-3OPD6SKW.js";
354
+ import "./chunk-VIPQLTDR.js";
355
+ import "./chunk-7TZUSRNH.js";
356
356
  import {
357
357
  cpLen,
358
358
  cpSlice,
@@ -376,41 +376,41 @@ import {
376
376
  isStreamingVoiceModel,
377
377
  resolveVoiceStreamConfig,
378
378
  transcribeVoiceAudio
379
- } from "./chunk-TSXPF6BH.js";
379
+ } from "./chunk-Z4RNAWAT.js";
380
380
  import {
381
381
  formatUnsupportedVoiceModelMessage,
382
382
  isSelectableVoiceModel
383
- } from "./chunk-UMXXMSBY.js";
383
+ } from "./chunk-QJLOQHNR.js";
384
384
  import "./chunk-TESN7CJW.js";
385
385
  import {
386
386
  REASONING_EFFORT_DEFAULT,
387
387
  getReasoningEffortsForConfig,
388
388
  getReasoningForDisplay
389
- } from "./chunk-EW22CPY6.js";
389
+ } from "./chunk-HNM45NML.js";
390
390
  import {
391
391
  buildHigherDisabled,
392
392
  computeWorkspaceSkillListUpdates,
393
393
  skillSettingStrings
394
- } from "./chunk-TASQRFKT.js";
394
+ } from "./chunk-7ZTPEKFK.js";
395
395
  import "./chunk-W2R46PFD.js";
396
396
  import {
397
397
  createLoadedSettingsAdapter,
398
398
  getRawModelProviders
399
- } from "./chunk-W5ZH4ECA.js";
399
+ } from "./chunk-RWENGGG4.js";
400
400
  import {
401
401
  getExtendedSystemInfo
402
- } from "./chunk-M52KEKEQ.js";
403
- import "./chunk-YGXPIUEI.js";
402
+ } from "./chunk-GB3X2SWN.js";
403
+ import "./chunk-AQDRP2A7.js";
404
404
  import "./chunk-QTAUA6ED.js";
405
405
  import "./chunk-LPCPB2S5.js";
406
406
  import "./chunk-LD2T7YET.js";
407
407
  import "./chunk-O7MSLRFZ.js";
408
408
  import "./chunk-W3YES77O.js";
409
- import "./chunk-ETYF6LYZ.js";
410
- import "./chunk-JTC5IEN7.js";
409
+ import "./chunk-2UCDNTD2.js";
410
+ import "./chunk-64CIVB5J.js";
411
411
  import {
412
412
  isInlineModelOverrideAllowed
413
- } from "./chunk-G2F7N4LU.js";
413
+ } from "./chunk-3WWUP2NW.js";
414
414
  import {
415
415
  formatUpdateInstructions,
416
416
  getInstallationInfo
@@ -437,7 +437,7 @@ import {
437
437
  } from "./chunk-7HN3RHKV.js";
438
438
  import {
439
439
  loadMcpApprovals
440
- } from "./chunk-BEANXNLH.js";
440
+ } from "./chunk-SZM235C4.js";
441
441
  import {
442
442
  CORRUPTED_SUFFIX,
443
443
  SettingScope,
@@ -460,7 +460,7 @@ import {
460
460
  settingExistsInScope,
461
461
  validateSettingValue,
462
462
  writeOutputLanguageAndRegisterPath
463
- } from "./chunk-UCONY426.js";
463
+ } from "./chunk-JVBAE6OK.js";
464
464
  import {
465
465
  LOGO_ANIMATIONS,
466
466
  LOGO_FRAME_MS,
@@ -470,7 +470,7 @@ import {
470
470
  pickLogoAnimation,
471
471
  renderLogoRows,
472
472
  restFrame
473
- } from "./chunk-KJHPBYQF.js";
473
+ } from "./chunk-66AMVKR6.js";
474
474
  import "./chunk-EDRKBK4B.js";
475
475
  import "./chunk-2JJLDP4A.js";
476
476
  import {
@@ -478,21 +478,21 @@ import {
478
478
  localizeToolDisplayName,
479
479
  t,
480
480
  ta
481
- } from "./chunk-2DEMKCA3.js";
481
+ } from "./chunk-44NOS72H.js";
482
482
  import "./chunk-Q2V34OV7.js";
483
- import "./chunk-HTVAOY4O.js";
483
+ import "./chunk-3DM3J46X.js";
484
484
  import "./chunk-MLAF3GLB.js";
485
485
  import {
486
486
  formatVersionLabel,
487
487
  getCliVersion
488
- } from "./chunk-7FLIIJZS.js";
488
+ } from "./chunk-EU6EPX73.js";
489
489
  import "./chunk-Y75AMWDB.js";
490
490
  import "./chunk-FRITN2AG.js";
491
491
  import "./chunk-F4S6U26O.js";
492
492
  import {
493
493
  isWorkspaceTrusted,
494
494
  loadTrustedFolders
495
- } from "./chunk-3MKWVUHT.js";
495
+ } from "./chunk-GE7ZIINK.js";
496
496
  import "./chunk-BHXBXELA.js";
497
497
  import "./chunk-MXCWSDSC.js";
498
498
  import {
@@ -538,14 +538,14 @@ import {
538
538
  subagentGenerator,
539
539
  supportsHyperlinks,
540
540
  wrapForMultiplexer
541
- } from "./chunk-JWNNGKHN.js";
541
+ } from "./chunk-GGHW4H75.js";
542
542
  import "./chunk-MYMATZAY.js";
543
543
  import "./chunk-6IFQXZTP.js";
544
544
  import "./chunk-CJ7JDQEG.js";
545
545
  import "./chunk-CS4CELQI.js";
546
546
  import "./chunk-FMWE3YMM.js";
547
547
  import "./chunk-BNJ3IJB7.js";
548
- import "./chunk-QQXXDTSU.js";
548
+ import "./chunk-FMZNCMYH.js";
549
549
  import "./chunk-Z563JBRI.js";
550
550
  import {
551
551
  clearWorktreeSession,
@@ -553,7 +553,7 @@ import {
553
553
  readWorktreeSession,
554
554
  restoreWorktreeContext
555
555
  } from "./chunk-B5GTZ6E6.js";
556
- import "./chunk-RUXCXLXJ.js";
556
+ import "./chunk-OFSATB6H.js";
557
557
  import "./chunk-4JDEAIW5.js";
558
558
  import {
559
559
  PEER_ADMISSION_LIMITS,
@@ -562,8 +562,8 @@ import {
562
562
  describeHoldCause,
563
563
  parseHeldExpiry
564
564
  } from "./chunk-AEGEUWVC.js";
565
- import "./chunk-CT7CAQHP.js";
566
- import "./chunk-BIZ2BU2R.js";
565
+ import "./chunk-FKRAMAQF.js";
566
+ import "./chunk-34Z26OAQ.js";
567
567
  import "./chunk-NWCDFCWK.js";
568
568
  import "./chunk-ZMZRVR62.js";
569
569
  import "./chunk-A7JWEUTB.js";
@@ -572,18 +572,18 @@ import {
572
572
  isToolHiddenBehindToolSearch,
573
573
  resolveWorkflowAuthoringSurface,
574
574
  toolSearchBridgeSentence
575
- } from "./chunk-J6WYDHKN.js";
575
+ } from "./chunk-3EDYFAU4.js";
576
576
  import "./chunk-VVGCAYOV.js";
577
- import "./chunk-QGIH3XTQ.js";
578
- import "./chunk-IBU44H7B.js";
577
+ import "./chunk-FNNSDOOR.js";
578
+ import "./chunk-4JL4O3E5.js";
579
579
  import "./chunk-F3FKDGHN.js";
580
- import "./chunk-RDB6TCBX.js";
580
+ import "./chunk-2GNBSOP4.js";
581
581
  import "./chunk-UBWL27PO.js";
582
582
  import "./chunk-UW4Q5E5P.js";
583
583
  import "./chunk-DM6W2QYB.js";
584
584
  import "./chunk-UAACCQBD.js";
585
585
  import "./chunk-VEGSKFFR.js";
586
- import "./chunk-PZ5JMLBW.js";
586
+ import "./chunk-K7C6CBTQ.js";
587
587
  import {
588
588
  checkProviderKey
589
589
  } from "./chunk-RI6JVRWR.js";
@@ -649,7 +649,7 @@ import {
649
649
  saveWorkflowScript,
650
650
  updateSetting,
651
651
  validateWorkflowName
652
- } from "./chunk-57ZQZ7JI.js";
652
+ } from "./chunk-VZOQANTZ.js";
653
653
  import "./chunk-WXTAP6NR.js";
654
654
  import "./chunk-BZOAEOYF.js";
655
655
  import "./chunk-BIDB75DA.js";
@@ -671,7 +671,7 @@ import {
671
671
  elapsedActiveTime,
672
672
  goalPauseReasonForFailure,
673
673
  goalRequiresExactPermit
674
- } from "./chunk-AE4IQ5HU.js";
674
+ } from "./chunk-VQCUTIBI.js";
675
675
  import "./chunk-AJDAOH4D.js";
676
676
  import {
677
677
  GitWorktreeService,
@@ -726,9 +726,9 @@ import {
726
726
  import "./chunk-5QSLFAMR.js";
727
727
  import "./chunk-ZUNJAPSW.js";
728
728
  import "./chunk-HPQNI3OQ.js";
729
- import "./chunk-PK6INTPC.js";
729
+ import "./chunk-L5FX6L3R.js";
730
730
  import "./chunk-CI2ZHR5C.js";
731
- import "./chunk-KCZRUX5N.js";
731
+ import "./chunk-OU5J6GPI.js";
732
732
  import "./chunk-4LCUE7BN.js";
733
733
  import "./chunk-RIN7SNJN.js";
734
734
  import "./chunk-4J6KRUQB.js";
@@ -755,7 +755,7 @@ import "./chunk-6YS3YH6O.js";
755
755
  import "./chunk-AVCUVYSA.js";
756
756
  import "./chunk-6CW53FOJ.js";
757
757
  import "./chunk-HX6AICAX.js";
758
- import "./chunk-TARYKOVC.js";
758
+ import "./chunk-JL5EW2PU.js";
759
759
  import "./chunk-65B6QBMP.js";
760
760
  import "./chunk-O4IWNFDK.js";
761
761
  import "./chunk-WMJL2XAM.js";
@@ -801,7 +801,7 @@ import {
801
801
  runVisionBridge,
802
802
  shouldRunVisionBridge,
803
803
  splitImageParts
804
- } from "./chunk-BZYI5TLI.js";
804
+ } from "./chunk-3QVQBDHI.js";
805
805
  import "./chunk-242JUBPM.js";
806
806
  import {
807
807
  AUTO_MEMORY_INDEX_FILENAME,
@@ -828,7 +828,6 @@ import {
828
828
  } from "./chunk-SZ26YNBZ.js";
829
829
  import "./chunk-R7FX7HIR.js";
830
830
  import "./chunk-23AFREUQ.js";
831
- import "./chunk-HOPKSSYR.js";
832
831
  import "./chunk-IMLPJ76O.js";
833
832
  import {
834
833
  getStartupContextLength
@@ -853,7 +852,7 @@ import "./chunk-CP63SY5N.js";
853
852
  import "./chunk-WDBSTICZ.js";
854
853
  import {
855
854
  resolveReasoningForModel
856
- } from "./chunk-27ZPT247.js";
855
+ } from "./chunk-SVCTCXHN.js";
857
856
  import {
858
857
  fetchKeyInfo,
859
858
  onLowRateLimit
@@ -897,7 +896,7 @@ import {
897
896
  resolveSavedModelApiKey,
898
897
  shouldShowStep,
899
898
  withdrawExportedCredential
900
- } from "./chunk-4AJKZMFN.js";
899
+ } from "./chunk-VTNFDCQ7.js";
901
900
  import {
902
901
  DEFAULT_TOKEN_LIMIT,
903
902
  REASONING_EFFORT_TIERS,
@@ -921,7 +920,7 @@ import {
921
920
  } from "./chunk-VYRPAY75.js";
922
921
  import "./chunk-S7GOFMLU.js";
923
922
  import "./chunk-RC67CA5Z.js";
924
- import "./chunk-5C43GL67.js";
923
+ import "./chunk-VN5T2QYU.js";
925
924
  import "./chunk-HHIX6THS.js";
926
925
  import {
927
926
  DEFAULT_COMMAND_OPTIONS,
@@ -930,7 +929,7 @@ import {
930
929
  import {
931
930
  registerCleanup,
932
931
  runExitCleanup
933
- } from "./chunk-WI6QV2NN.js";
932
+ } from "./chunk-BDOUB4E3.js";
934
933
  import {
935
934
  finalizeStartupProfile,
936
935
  profileCheckpoint
@@ -961,7 +960,7 @@ import {
961
960
  } from "./chunk-EPJAMNLS.js";
962
961
  import {
963
962
  MAINLINE_CODER_MODEL
964
- } from "./chunk-JMPUWQD3.js";
963
+ } from "./chunk-ELP6GWFS.js";
965
964
  import "./chunk-LEXKU5FI.js";
966
965
  import {
967
966
  ORGANIZAONE_ENV_KEY,
@@ -2707,16 +2706,23 @@ var Notifications = /* @__PURE__ */ __name(() => {
2707
2706
  // packages/cli/src/ui/components/UpdateNotification.tsx
2708
2707
  init_esbuild_shims();
2709
2708
  var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
2710
- var UpdateNotification = /* @__PURE__ */ __name(({ message }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
2711
- Box_default,
2712
- {
2713
- borderStyle: "round",
2714
- borderColor: theme.status.warning,
2715
- paddingX: 1,
2716
- marginY: 1,
2717
- children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { color: theme.status.warning, children: message })
2718
- }
2719
- ), "UpdateNotification");
2709
+ var UpdateNotification = /* @__PURE__ */ __name(({ message }) => {
2710
+ const [headline = "", ...rest] = message.split("\n");
2711
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
2712
+ Box_default,
2713
+ {
2714
+ borderStyle: "round",
2715
+ borderColor: extendedTheme.ui.brand,
2716
+ flexDirection: "column",
2717
+ paddingX: 2,
2718
+ marginY: 1,
2719
+ children: [
2720
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { color: theme.text.primary, bold: true, wrap: "wrap", children: headline }),
2721
+ rest.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { color: extendedTheme.text.muted, wrap: "wrap", children: rest.join("\n") })
2722
+ ]
2723
+ }
2724
+ );
2725
+ }, "UpdateNotification");
2720
2726
 
2721
2727
  // packages/cli/src/ui/components/MainContent.tsx
2722
2728
  init_esbuild_shims();
@@ -5563,49 +5569,61 @@ var ProviderUpdatePrompt = /* @__PURE__ */ __name(({
5563
5569
  const title = entries.length === 1 ? t("Built-in Provider Update \xB7 {{provider}}", {
5564
5570
  provider: entries[0].providerLabel
5565
5571
  }) : t("Built-in Provider Updates");
5566
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
5567
- Box_default,
5568
- {
5569
- borderStyle: "round",
5570
- borderColor: theme.border.default,
5571
- flexDirection: "column",
5572
- paddingY: 1,
5573
- paddingX: 2,
5574
- children: [
5575
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { bold: true, children: title }),
5576
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { flexDirection: "column", marginTop: 1, gap: 1, children: entries.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ProviderDiffSection, { entry }, entry.providerLabel)) }),
5577
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Box_default, { flexDirection: "column", marginTop: 1, children: [
5578
- affectedEntry && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.status.warning, children: t(
5579
- "Note: Your selected model is being removed. Please choose a new one with /model."
5572
+ const frame = TOP_FRAME[glyphs().borderStyle];
5573
+ const frameColor = extendedTheme.ui.brand;
5574
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Box_default, { flexDirection: "column", children: [
5575
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Box_default, { height: 1, children: [
5576
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: frameColor, children: `${frame.topLeft}${frame.top} ` }),
5577
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { flexShrink: 1, minWidth: 0, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.text.primary, bold: true, wrap: "truncate-end", children: title }) }),
5578
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: frameColor, children: " " }),
5579
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { flexGrow: 1, flexShrink: 1, flexBasis: 0, overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: frameColor, children: frame.top.repeat(400) }) }),
5580
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: frameColor, children: frame.topRight })
5581
+ ] }),
5582
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
5583
+ Box_default,
5584
+ {
5585
+ borderStyle: glyphs().borderStyle,
5586
+ borderTop: false,
5587
+ borderColor: frameColor,
5588
+ flexDirection: "column",
5589
+ paddingY: 1,
5590
+ paddingX: 2,
5591
+ children: [
5592
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { flexDirection: "column", gap: 1, children: entries.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ProviderDiffSection, { entry }, entry.providerLabel)) }),
5593
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Box_default, { flexDirection: "column", marginTop: 1, children: [
5594
+ affectedEntry && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.status.warning, children: t(
5595
+ "Note: Your selected model is being removed. Please choose a new one with /model."
5596
+ ) }),
5597
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: extendedTheme.text.muted, children: t("Your credentials will not be modified.") })
5598
+ ] }),
5599
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5600
+ RadioButtonSelect,
5601
+ {
5602
+ items: [
5603
+ {
5604
+ label: t("Update all"),
5605
+ value: "update",
5606
+ key: "update"
5607
+ },
5608
+ {
5609
+ label: t("Skip this version"),
5610
+ value: "skip",
5611
+ key: "skip"
5612
+ },
5613
+ {
5614
+ label: t("Remind me later"),
5615
+ value: "later",
5616
+ key: "later"
5617
+ }
5618
+ ],
5619
+ onSelect: onConfirm
5620
+ }
5580
5621
  ) }),
5581
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.text.secondary, children: t("Tips: Your credentials will not be modified.") })
5582
- ] }),
5583
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5584
- RadioButtonSelect,
5585
- {
5586
- items: [
5587
- {
5588
- label: t("Update all"),
5589
- value: "update",
5590
- key: "update"
5591
- },
5592
- {
5593
- label: t("Skip this version"),
5594
- value: "skip",
5595
- key: "skip"
5596
- },
5597
- {
5598
- label: t("Remind me later (esc)"),
5599
- value: "later",
5600
- key: "later"
5601
- }
5602
- ],
5603
- onSelect: onConfirm
5604
- }
5605
- ) })
5606
- ]
5607
- }
5608
- );
5622
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: extendedTheme.text.muted, wrap: "truncate-end", children: t("\u2191\u2193 choose \xB7 enter select \xB7 esc later") }) })
5623
+ ]
5624
+ }
5625
+ )
5626
+ ] });
5609
5627
  }, "ProviderUpdatePrompt");
5610
5628
 
5611
5629
  // packages/cli/src/ui/components/ApplicationUpdateDialog.tsx
@@ -5620,7 +5638,8 @@ function ApplicationUpdateDialog({
5620
5638
  }) {
5621
5639
  const { columns, rows } = useTerminalSize();
5622
5640
  const width = Math.max(1, Math.min(92, columns - 4));
5623
- const contentWidth = Math.max(1, width - 4);
5641
+ const paddingX = width >= 40 ? 2 : 1;
5642
+ const contentWidth = Math.max(1, width - 2 - paddingX * 2);
5624
5643
  const budget = Math.max(1, Math.min(rows, Math.floor(availableHeight)));
5625
5644
  const [offset, setOffset] = (0, import_react22.useState)(0);
5626
5645
  const busy = state.phase === "preparing" || state.phase === "restarting";
@@ -5635,7 +5654,9 @@ function ApplicationUpdateDialog({
5635
5654
  available: t(
5636
5655
  "Update now, or continue and update the next time you open the app."
5637
5656
  ),
5638
- preparing: t(
5657
+ preparing: state.restartRequested ? t("The app restarts as soon as the update is prepared.") : state.canRestart ? t(
5658
+ "Restart as soon as it is prepared, or continue and update the next time you open the app."
5659
+ ) : t(
5639
5660
  "You can continue using the app. The update takes effect after restarting."
5640
5661
  ),
5641
5662
  ready: t(
@@ -5644,12 +5665,13 @@ function ApplicationUpdateDialog({
5644
5665
  failed: t("Your current version is still available."),
5645
5666
  restarting: t("Opening the prepared version.")
5646
5667
  };
5668
+ const restartAfterPreparing = state.phase === "preparing" && state.canRestart && !state.restartRequested;
5647
5669
  const items = [
5648
- ...!busy && (state.canRestart || state.canPrepare && state.phase !== "ready") ? [
5670
+ ...!busy && (state.canRestart || state.canPrepare && state.phase !== "ready") || restartAfterPreparing ? [
5649
5671
  {
5650
5672
  key: "apply",
5651
5673
  value: "apply",
5652
- label: !state.canRestart ? t("Prepare update") : state.phase === "ready" ? t("Restart and update") : state.phase === "failed" ? t("Try again") : t("Update and restart")
5674
+ label: !state.canRestart ? t("Prepare update") : state.phase === "ready" ? t("Restart and update") : state.phase === "failed" ? t("Try again") : state.phase === "preparing" ? t("Restart when prepared") : t("Update and restart")
5653
5675
  }
5654
5676
  ] : [],
5655
5677
  ...state.phase !== "restarting" ? [
@@ -5671,12 +5693,17 @@ function ApplicationUpdateDialog({
5671
5693
  }).split("\n");
5672
5694
  const statusRows = budget >= 9 ? 1 : 0;
5673
5695
  const footerRows = budget >= 8 ? 1 : 0;
5696
+ const actionGapRows = budget >= 10 ? 1 : 0;
5697
+ const edgeGapRows = budget >= 13 ? 1 : 0;
5698
+ const footerGapRows = footerRows && edgeGapRows ? 1 : 0;
5699
+ const versionGapRows = budget >= 14 ? 1 : 0;
5700
+ const gapRows = actionGapRows + edgeGapRows * 2 + footerGapRows + versionGapRows * 2;
5674
5701
  const actionRows = Math.min(items.length, Math.max(1, budget - 4));
5675
5702
  const detailRows = Math.max(
5676
5703
  0,
5677
5704
  Math.min(
5678
5705
  detailLines.length,
5679
- budget - 3 - statusRows - footerRows - actionRows
5706
+ budget - 3 - statusRows - footerRows - actionRows - gapRows
5680
5707
  )
5681
5708
  );
5682
5709
  const maxOffset = Math.max(0, detailLines.length - detailRows);
@@ -5684,7 +5711,7 @@ function ApplicationUpdateDialog({
5684
5711
  const needsPaging = detailRows > 0 && detailLines.length > detailRows;
5685
5712
  const height = Math.min(
5686
5713
  budget,
5687
- 3 + statusRows + footerRows + actionRows + detailRows
5714
+ 3 + statusRows + footerRows + actionRows + detailRows + gapRows
5688
5715
  );
5689
5716
  const frameColor = state.phase === "failed" ? theme.status.error : extendedTheme.ui.brand;
5690
5717
  const frame = TOP_FRAME[glyphs().borderStyle];
@@ -5725,11 +5752,14 @@ function ApplicationUpdateDialog({
5725
5752
  borderTop: false,
5726
5753
  borderColor: frameColor,
5727
5754
  flexDirection: "column",
5728
- paddingX: 1,
5755
+ paddingX,
5756
+ paddingY: edgeGapRows,
5729
5757
  overflow: "hidden",
5730
5758
  children: [
5731
5759
  statusRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { bold: true, color: theme.text.primary, wrap: "truncate-end", children: titles[state.phase] }),
5732
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: theme.text.secondary, wrap: "truncate-end", children: `${state.info.update.current} \u2192 ${state.info.update.latest}` }),
5760
+ versionGapRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { height: 1 }),
5761
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { bold: true, color: theme.text.primary, wrap: "truncate-end", children: `${state.info.update.current} \u2192 ${state.info.update.latest}` }),
5762
+ versionGapRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { height: 1 }),
5733
5763
  detailRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { height: detailRows, flexShrink: 0, flexDirection: "column", children: detailLines.slice(visibleOffset, visibleOffset + detailRows).map((line, index) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5734
5764
  Text,
5735
5765
  {
@@ -5739,6 +5769,7 @@ function ApplicationUpdateDialog({
5739
5769
  },
5740
5770
  visibleOffset + index
5741
5771
  )) }),
5772
+ items.length > 0 && actionGapRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { height: 1 }),
5742
5773
  items.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5743
5774
  BaseSelectionList,
5744
5775
  {
@@ -5749,6 +5780,7 @@ function ApplicationUpdateDialog({
5749
5780
  },
5750
5781
  `${state.phase}:${state.canRestart}`
5751
5782
  ),
5783
+ footerGapRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { height: 1 }),
5752
5784
  footerRows > 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { color: extendedTheme.text.muted, wrap: "truncate-end", children: needsPaging ? t("PgUp/PgDn details \xB7 esc later") : t("\u2191\u2193 choose \xB7 enter select \xB7 esc later") })
5753
5785
  ]
5754
5786
  }
@@ -39437,7 +39469,7 @@ var DefaultAppLayout = /* @__PURE__ */ __name(() => {
39437
39469
  /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(ExitWarning, {})
39438
39470
  ] })
39439
39471
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(ScrollContext.Provider, { value: scrollActions, children: [
39440
- !(isCompactUpdate && uiState.useTerminalBuffer) && /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
39472
+ !(uiState.applicationUpdate?.visible && uiState.useTerminalBuffer) && /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
39441
39473
  MainContent,
39442
39474
  {
39443
39475
  footerRef,
@@ -42383,7 +42415,8 @@ ${commandToExecute.subCommands.map((sc) => ` - ${sc.name}: ${sc.description ||
42383
42415
  const event = makeSlashCommandEvent({
42384
42416
  command: resolvedCommandPath[0],
42385
42417
  subcommand,
42386
- status: "error" /* ERROR */
42418
+ status: "error" /* ERROR */,
42419
+ built_in: commandToExecute?.kind === "built-in" /* BUILT_IN */
42387
42420
  });
42388
42421
  logSlashCommand(config, event);
42389
42422
  }
@@ -42427,7 +42460,8 @@ ${commandToExecute.subCommands.map((sc) => ` - ${sc.name}: ${sc.description ||
42427
42460
  const event = makeSlashCommandEvent({
42428
42461
  command: resolvedCommandPath[0],
42429
42462
  subcommand,
42430
- status: "success" /* SUCCESS */
42463
+ status: "success" /* SUCCESS */,
42464
+ built_in: commandToExecute?.kind === "built-in" /* BUILT_IN */
42431
42465
  });
42432
42466
  logSlashCommand(config, event);
42433
42467
  }
@@ -50455,42 +50489,56 @@ function useApplicationUpdate(options) {
50455
50489
  updateEventEmitter.off("update-failed", failed);
50456
50490
  };
50457
50491
  }, [publish, cancelPendingRestart]);
50458
- const prepare = (0, import_react166.useCallback)(async () => {
50459
- const previous = current.current;
50460
- if (!previous || previous.phase === "preparing" || previous.phase === "restarting")
50461
- return false;
50462
- if (previous.phase === "ready") return true;
50463
- const attempt = ++generation.current;
50464
- failure.current = void 0;
50465
- publish({ ...previous, phase: "preparing", error: void 0 });
50466
- let success = false;
50467
- try {
50468
- success = await handleAutoUpdate(
50469
- previous.info,
50470
- {
50471
- ...live.current.settings,
50472
- merged: {
50473
- ...live.current.settings.merged,
50474
- general: {
50475
- ...live.current.settings.merged.general,
50476
- enableAutoUpdate: true
50492
+ const preparation = (0, import_react166.useRef)(void 0);
50493
+ const runPreparation = (0, import_react166.useCallback)(
50494
+ async (previous) => {
50495
+ const attempt = ++generation.current;
50496
+ failure.current = void 0;
50497
+ publish({ ...previous, phase: "preparing", error: void 0 });
50498
+ let success = false;
50499
+ try {
50500
+ success = await handleAutoUpdate(
50501
+ previous.info,
50502
+ {
50503
+ ...live.current.settings,
50504
+ merged: {
50505
+ ...live.current.settings.merged,
50506
+ general: {
50507
+ ...live.current.settings.merged.general,
50508
+ enableAutoUpdate: true
50509
+ }
50477
50510
  }
50478
- }
50479
- },
50480
- live.current.projectRoot
50481
- ) === true;
50482
- } catch (error) {
50483
- failure.current = error instanceof Error ? error.message : String(error);
50484
- }
50485
- if (attempt !== generation.current || current.current?.info !== previous.info)
50486
- return false;
50487
- publish({
50488
- ...previous,
50489
- phase: success ? "ready" : "failed",
50490
- error: success ? void 0 : failure.current ?? t("Automatic update failed. Please try updating manually.")
50511
+ },
50512
+ live.current.projectRoot
50513
+ ) === true;
50514
+ } catch (error) {
50515
+ failure.current = error instanceof Error ? error.message : String(error);
50516
+ }
50517
+ if (attempt !== generation.current || current.current?.info !== previous.info)
50518
+ return false;
50519
+ publish({
50520
+ ...previous,
50521
+ phase: success ? "ready" : "failed",
50522
+ error: success ? void 0 : failure.current ?? t("Automatic update failed. Please try updating manually.")
50523
+ });
50524
+ return success;
50525
+ },
50526
+ [publish]
50527
+ );
50528
+ const prepare = (0, import_react166.useCallback)(() => {
50529
+ const previous = current.current;
50530
+ if (previous?.phase === "preparing" && preparation.current)
50531
+ return preparation.current;
50532
+ if (!previous || previous.phase === "restarting")
50533
+ return Promise.resolve(false);
50534
+ if (previous.phase === "ready") return Promise.resolve(true);
50535
+ const running = runPreparation(previous);
50536
+ preparation.current = running;
50537
+ void running.finally(() => {
50538
+ if (preparation.current === running) preparation.current = void 0;
50491
50539
  });
50492
- return success;
50493
- }, [publish]);
50540
+ return running;
50541
+ }, [runPreparation]);
50494
50542
  (0, import_react166.useEffect)(() => {
50495
50543
  if (options.idle && options.autoPrepare && state?.phase === "available" && state.canPrepare) {
50496
50544
  void prepare();
@@ -50501,6 +50549,9 @@ function useApplicationUpdate(options) {
50501
50549
  if (!previous || !previous.canRestart && !previous.canPrepare || !live.current.idle || live.current.blocked)
50502
50550
  return;
50503
50551
  const intent = ++restartIntent.current;
50552
+ if (previous.phase === "preparing" && previous.canRestart) {
50553
+ publish({ ...previous, restartRequested: true });
50554
+ }
50504
50555
  if (previous.canPrepare && !await prepare()) return;
50505
50556
  if (!previous.canRestart) return;
50506
50557
  if (!live.current.idle || live.current.blocked || intent !== restartIntent.current)
@@ -50525,8 +50576,12 @@ function useApplicationUpdate(options) {
50525
50576
  }, [prepare, publish]);
50526
50577
  const dismiss = (0, import_react166.useCallback)(() => {
50527
50578
  restartIntent.current++;
50579
+ const previous = current.current;
50580
+ if (previous?.restartRequested) {
50581
+ publish({ ...previous, restartRequested: false });
50582
+ }
50528
50583
  setOpen(false);
50529
- }, []);
50584
+ }, [publish]);
50530
50585
  const visible = open && options.idle && !options.blocked && state !== void 0;
50531
50586
  return (0, import_react166.useMemo)(
50532
50587
  () => ({ state, visible, dismiss, apply }),
@@ -52787,9 +52842,15 @@ var AppContainer = /* @__PURE__ */ __name((props) => {
52787
52842
  const availableTerminalHeightRef = (0, import_react183.useRef)(0);
52788
52843
  const terminalWidthRef = (0, import_react183.useRef)(0);
52789
52844
  const updateHandlerRef = (0, import_react183.useRef)(null);
52845
+ const updateDialogVisibleRef = (0, import_react183.useRef)(false);
52790
52846
  const addUpdateItem = historyManager.addItem;
52791
52847
  (0, import_react183.useEffect)(() => {
52792
- const handler = setUpdateHandler(addUpdateItem, setUpdateInfo, isIdleRef);
52848
+ const handler = setUpdateHandler(
52849
+ addUpdateItem,
52850
+ setUpdateInfo,
52851
+ isIdleRef,
52852
+ updateDialogVisibleRef
52853
+ );
52793
52854
  updateHandlerRef.current = handler;
52794
52855
  const whatsNew = takeWhatsNew(config.getCliVersion?.() ?? "");
52795
52856
  if (whatsNew) addUpdateItem(whatsNewNotice(whatsNew), Date.now());
@@ -54742,6 +54803,7 @@ ${currentText}` : popped.modelText
54742
54803
  });
54743
54804
  const dialogsVisible = otherDialogsVisible || applicationUpdateFlow.visible;
54744
54805
  dialogsVisibleRef.current = dialogsVisible;
54806
+ updateDialogVisibleRef.current = applicationUpdateFlow.visible;
54745
54807
  const agentSessionActiveTheme = themeManager.getActiveTheme();
54746
54808
  const agentSessionTheme = agentSessionActiveTheme.type === "light" ? "light" : "dark";
54747
54809
  const agentSessionThemeName = agentSessionActiveTheme.name;