@organizaone/o1-code 0.26.0 → 0.27.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 (289) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +3 -2
  2. package/bundled/qc-helper/docs/features/auto-mode.md +10 -0
  3. package/chunks/{MaxSizedBox-BT4NRHBZ.js → MaxSizedBox-KRTRIJEA.js} +25 -25
  4. package/chunks/{StandaloneSessionPicker-AB5L4OIP.js → StandaloneSessionPicker-57TP44KF.js} +41 -41
  5. package/chunks/{acp-subagent-executor-J6YQDFIY.js → acp-subagent-executor-7764VWKH.js} +28 -28
  6. package/chunks/{acpAgent-UNNKQA2R.js → acpAgent-TQRW6SNF.js} +137 -80
  7. package/chunks/{agent-4JVSTPOZ.js → agent-P7LNA44U.js} +13 -13
  8. package/chunks/{agent-headless-SQ3YMNWD.js → agent-headless-FC25Z4YM.js} +13 -13
  9. package/chunks/{all-providers-A35HOOOY.js → all-providers-IMJ6QB2I.js} +2 -2
  10. package/chunks/{anthropicContentGenerator-X6IMIHOI.js → anthropicContentGenerator-V2MYNWJ3.js} +4 -4
  11. package/chunks/{artifact-tool-6QDGNGTO.js → artifact-tool-2YUI7TMU.js} +2 -1
  12. package/chunks/{askUserQuestion-YPA2ZZLO.js → askUserQuestion-CJCXE4MK.js} +1 -1
  13. package/chunks/{bridge-RP3BQEM7.js → bridge-LELJ7HU5.js} +28 -28
  14. package/chunks/{chunk-UXFP67XM.js → chunk-2GK6MYTP.js} +4 -4
  15. package/chunks/{chunk-U7EB32Z2.js → chunk-2J7VJ3WC.js} +2 -2
  16. package/chunks/{chunk-UOG4OHEQ.js → chunk-3IRUUZTV.js} +49 -33
  17. package/chunks/{chunk-DFRZXARB.js → chunk-3Q4HEGB4.js} +2 -2
  18. package/chunks/{chunk-QU2DEIX4.js → chunk-42N5UTUK.js} +1 -1
  19. package/chunks/{chunk-7TZUSRNH.js → chunk-4INACGIR.js} +1 -1
  20. package/chunks/{chunk-B5DA6HBM.js → chunk-4UZ3FFYZ.js} +1 -1
  21. package/chunks/{chunk-SJSBSQJI.js → chunk-56HGN3XV.js} +1 -1
  22. package/chunks/{chunk-SJGCHKHG.js → chunk-5DFZNI3G.js} +8 -8
  23. package/chunks/{chunk-ZQ7TCAOB.js → chunk-5N5IZTS4.js} +6 -6
  24. package/chunks/{chunk-O6GD6SFV.js → chunk-5ONKDCZM.js} +4 -0
  25. package/chunks/{chunk-MSBLDE7B.js → chunk-5P7NQWE6.js} +6 -6
  26. package/chunks/{chunk-73UYQDL3.js → chunk-5QMNIJZ2.js} +4 -4
  27. package/chunks/{chunk-ITXHD6QG.js → chunk-6A3PCAAJ.js} +5 -5
  28. package/chunks/{chunk-B6U27UHQ.js → chunk-6LRWLIIP.js} +3 -3
  29. package/chunks/{chunk-KPRGWI4Y.js → chunk-6VHB4YQZ.js} +1 -1
  30. package/chunks/{chunk-O53S3WDY.js → chunk-6VT5UW66.js} +1 -1
  31. package/chunks/{chunk-3UIMC3MD.js → chunk-7UDEBIOM.js} +4 -4
  32. package/chunks/{chunk-KRE356Z5.js → chunk-7XELAF5M.js} +2 -2
  33. package/chunks/{chunk-UW4ZP77X.js → chunk-AEVV2DGL.js} +8 -3
  34. package/chunks/{chunk-SF7RCEDN.js → chunk-AXXXWTIX.js} +1 -1
  35. package/chunks/{chunk-BWF5HABA.js → chunk-BBHBNCB5.js} +2 -2
  36. package/chunks/{chunk-YRW7SOH4.js → chunk-BNSYZYXR.js} +43 -12
  37. package/chunks/{chunk-O7BIOEV2.js → chunk-C3UOC4LM.js} +1 -1
  38. package/chunks/{chunk-BQKZFSFW.js → chunk-CBLW5IOQ.js} +3 -3
  39. package/chunks/{chunk-44NOS72H.js → chunk-CDHOAM2E.js} +2 -2
  40. package/chunks/{chunk-UA6BRUXW.js → chunk-DKBLEAGB.js} +2 -2
  41. package/chunks/{chunk-HASGT63Y.js → chunk-DQGAJLPJ.js} +5 -5
  42. package/chunks/{chunk-WIQEF7ON.js → chunk-DV2KGLEW.js} +1 -1
  43. package/chunks/{chunk-ZME3GEAN.js → chunk-EE265U33.js} +3 -3
  44. package/chunks/{chunk-5UTAX2O6.js → chunk-EEJGIKBZ.js} +3 -3
  45. package/chunks/{chunk-QIGHINXO.js → chunk-ESGMIMHJ.js} +1 -1
  46. package/chunks/{chunk-M5BPWICM.js → chunk-EVYREOIG.js} +61 -37
  47. package/chunks/{chunk-Y24XITI5.js → chunk-FX3MQOWG.js} +24 -11
  48. package/chunks/{chunk-JDMI736Y.js → chunk-FZSAZTOI.js} +2 -2
  49. package/chunks/{chunk-2B5MRPGZ.js → chunk-GVZFZZPK.js} +9 -9
  50. package/chunks/{chunk-NUUQWXXC.js → chunk-HHXRZCTN.js} +1 -1
  51. package/chunks/{chunk-WIDNRAGK.js → chunk-HKDI4HXA.js} +2 -2
  52. package/chunks/{chunk-JYZMO5E7.js → chunk-HTH6D3WU.js} +7 -7
  53. package/chunks/{chunk-GOPTB5FL.js → chunk-IASFPTGI.js} +5 -5
  54. package/chunks/{chunk-HKWXDV5S.js → chunk-IHW6SWYM.js} +1 -1
  55. package/chunks/{chunk-76FPHNLE.js → chunk-IKGD36IH.js} +19 -18
  56. package/chunks/{chunk-A3XVGA3W.js → chunk-J6UKVQX6.js} +1 -1
  57. package/chunks/{chunk-INUPQ3V2.js → chunk-JPCQCUTS.js} +3 -3
  58. package/chunks/{chunk-BBBU4UJL.js → chunk-K7C5JCE7.js} +1 -1
  59. package/chunks/{chunk-CQPBRNKG.js → chunk-KFN7QGTC.js} +1 -1
  60. package/chunks/{chunk-LDKVV42E.js → chunk-KIHOIJMQ.js} +2 -2
  61. package/chunks/{chunk-ON5CGP6B.js → chunk-KP6VAFGI.js} +1 -1
  62. package/chunks/{chunk-T4X6ZODK.js → chunk-KRTC55S6.js} +2 -2
  63. package/chunks/{chunk-UDUKUEW5.js → chunk-KSO7FXQU.js} +4 -4
  64. package/chunks/{chunk-SU4W42KU.js → chunk-LBX7KU43.js} +2 -2
  65. package/chunks/{chunk-JKBN3WM5.js → chunk-LHP2IJ7A.js} +1 -1
  66. package/chunks/{chunk-3GZRVIU2.js → chunk-LP74MLBE.js} +2 -2
  67. package/chunks/{chunk-ITHF4F4L.js → chunk-LYWFQGEQ.js} +4 -4
  68. package/chunks/{chunk-IDOFNXOM.js → chunk-MNLPYHDS.js} +59 -11
  69. package/chunks/{chunk-LU2TTE5Y.js → chunk-MNLVE24R.js} +3 -3
  70. package/chunks/{chunk-6XC7AQHT.js → chunk-MWYTSG52.js} +83 -3
  71. package/chunks/{chunk-A2MUOMJH.js → chunk-N5TOXL3M.js} +2 -2
  72. package/chunks/{chunk-ULLCJNT5.js → chunk-N5XZKWJE.js} +1 -1
  73. package/chunks/{chunk-LGFB7Z2H.js → chunk-NRDEPGVR.js} +4 -4
  74. package/chunks/{chunk-2SKOHXQM.js → chunk-OHPK6LGA.js} +3 -3
  75. package/chunks/{chunk-FVH27ARU.js → chunk-OILOGMTY.js} +8 -8
  76. package/chunks/{chunk-QJLOQHNR.js → chunk-OKSSY3ER.js} +1 -1
  77. package/chunks/{chunk-3H6ZRETK.js → chunk-OR4LJOK3.js} +2 -2
  78. package/chunks/{chunk-6VXX63QU.js → chunk-OSCUGEQY.js} +3 -3
  79. package/chunks/{chunk-HNHCMHHY.js → chunk-OZKJJI3M.js} +3 -3
  80. package/chunks/{chunk-JVRNE7NT.js → chunk-PJOCOZLX.js} +262 -73
  81. package/chunks/{chunk-MEPWN6XC.js → chunk-PMKHXJAS.js} +1 -1
  82. package/chunks/{chunk-RLV563CG.js → chunk-POWVKJJ5.js} +1 -1
  83. package/chunks/{chunk-P5EIXSKJ.js → chunk-PQGBLD36.js} +1 -1
  84. package/chunks/{chunk-YXIMD7AK.js → chunk-PVJDGMEJ.js} +4 -4
  85. package/chunks/{chunk-YMESB5YT.js → chunk-PXOBO32R.js} +3 -3
  86. package/chunks/{chunk-6HLOPCFZ.js → chunk-PYQSQFGU.js} +1 -1
  87. package/chunks/{chunk-B7QLJKM6.js → chunk-QHMLRTHD.js} +8 -5
  88. package/chunks/{chunk-F3762QZG.js → chunk-QIFODGLE.js} +1 -1
  89. package/chunks/{chunk-BNX26EYK.js → chunk-QYXH4QO6.js} +1 -1
  90. package/chunks/{chunk-ASR3UKPL.js → chunk-R2MRYCHR.js} +5 -5
  91. package/chunks/{chunk-3UZT6L3M.js → chunk-RHP5L25J.js} +3 -3
  92. package/chunks/{chunk-GLXNABTW.js → chunk-RM54W4ER.js} +1 -1
  93. package/chunks/{chunk-AOJFG2LZ.js → chunk-S5TFGSM3.js} +10 -10
  94. package/chunks/{chunk-PUBPS6I4.js → chunk-SR7O2YDD.js} +112728 -111448
  95. package/chunks/{chunk-6TAZUYYH.js → chunk-TJ7Q4T4P.js} +1 -1
  96. package/chunks/{chunk-FGV2OPGK.js → chunk-UCSYEHMM.js} +1 -1
  97. package/chunks/{chunk-6CW53FOJ.js → chunk-VBDYNBGQ.js} +33 -0
  98. package/chunks/{chunk-OWWR2OAO.js → chunk-VJ5BVYSX.js} +1 -1
  99. package/chunks/{chunk-BNJ3IJB7.js → chunk-VLTW32Z7.js} +5 -1
  100. package/chunks/{chunk-GR257V6A.js → chunk-VM3UK3TM.js} +1 -1
  101. package/chunks/{chunk-S2HJR2FT.js → chunk-VQURYS66.js} +1 -1
  102. package/chunks/{chunk-USSMX7ZA.js → chunk-W7OUXB6F.js} +7 -7
  103. package/chunks/{chunk-EJHVUZDO.js → chunk-WKC6U3JJ.js} +1 -1
  104. package/chunks/{chunk-VMWSMIAG.js → chunk-WRF5CAXN.js} +1 -1
  105. package/chunks/{chunk-QRDZ4FN6.js → chunk-WTFO7IQM.js} +3 -3
  106. package/chunks/{chunk-3GPZEENL.js → chunk-WXIXWH7M.js} +3 -3
  107. package/chunks/{chunk-SQZJGTAP.js → chunk-X2Z2Y7GS.js} +15 -15
  108. package/chunks/{chunk-IDL5E3SK.js → chunk-X5MCTTTU.js} +1 -1
  109. package/chunks/{chunk-UKUBYF44.js → chunk-XBC4ZFXH.js} +9 -9
  110. package/chunks/{chunk-ZZYIXQMV.js → chunk-YAUL5ZQW.js} +6 -6
  111. package/chunks/{chunk-JMMAXVTG.js → chunk-YCR4JZUC.js} +2 -2
  112. package/chunks/{chunk-3NWXBIE2.js → chunk-YRYQC7GO.js} +1 -1
  113. package/chunks/{chunk-4UZHVDN6.js → chunk-Z4HXY45F.js} +1 -1
  114. package/chunks/{chunk-K5Y3DMKT.js → chunk-ZGCZQZ24.js} +23 -7
  115. package/chunks/{chunk-G6PZ7ZRF.js → chunk-ZX7J6RLA.js} +1 -1
  116. package/chunks/{codex-subagent-executor-ME2J5ZAK.js → codex-subagent-executor-IBUIGPDN.js} +28 -28
  117. package/chunks/{contextCommand-G3DP2V3O.js → contextCommand-6EFJ3QJU.js} +27 -27
  118. package/chunks/{core-runtime-GHUSNSJC.js → core-runtime-2IRY3OGU.js} +25 -25
  119. package/chunks/{create-sub-session-UEQ23VBD.js → create-sub-session-7RBPOM63.js} +1 -1
  120. package/chunks/{create-sub-session-ZVGBSQEO.js → create-sub-session-YPMC7OTH.js} +26 -26
  121. package/chunks/{daemon-git-worktree-guard-JSMTW3IM.js → daemon-git-worktree-guard-O5PEMNIJ.js} +25 -25
  122. package/chunks/{daemon-status-provider-C5NDII62.js → daemon-status-provider-HV3XFWXG.js} +33 -33
  123. package/chunks/{daemon-trust-policy-22D6WDDX.js → daemon-trust-policy-NJGWWUJF.js} +31 -31
  124. package/chunks/{daemon-trust-policy-monitor-RLYT7BZS.js → daemon-trust-policy-monitor-XDGGMLUX.js} +31 -31
  125. package/chunks/{deferred-core-runtime-KWFERRTL.js → deferred-core-runtime-QJEIQQRV.js} +25 -25
  126. package/chunks/{edit-XYXDIK5B.js → edit-DAMGKYG4.js} +15 -15
  127. package/chunks/{en-ZRJL6ZFP.js → en-FVPIFYM3.js} +1 -0
  128. package/chunks/{enterPlanMode-VQQZ2UW6.js → enterPlanMode-ZVG6QCWE.js} +13 -13
  129. package/chunks/{environment-EBFJ4TH2.js → environment-N7R6TMQF.js} +27 -27
  130. package/chunks/{errors-3B4RPL2I.js → errors-4MXYEHDC.js} +27 -27
  131. package/chunks/{execution-tool-JVQOMMTE.js → execution-tool-YKY2TRGU.js} +15 -15
  132. package/chunks/{execution-worker-JMNHLRNL.js → execution-worker-65BZHXUO.js} +18 -18
  133. package/chunks/{exitPlanMode-7MZNYWO4.js → exitPlanMode-3ONQQHEA.js} +13 -13
  134. package/chunks/{fast-path-NJVM56IM.js → fast-path-OL4RWGDQ.js} +2 -2
  135. package/chunks/{foreground-runner-LQEPDOLD.js → foreground-runner-MGGMRN3K.js} +27 -27
  136. package/chunks/{gateway-models-2M6TFLX3.js → gateway-models-NFDZZXWP.js} +3 -3
  137. package/chunks/{glob-LPOYT76M.js → glob-OIDBOW4G.js} +13 -13
  138. package/chunks/{goal-tools-RUTV37TK.js → goal-tools-DMZIYTZT.js} +13 -13
  139. package/chunks/{handleAutoUpdate-FYNNYADV.js → handleAutoUpdate-I3HSNEZY.js} +28 -28
  140. package/chunks/{i18n-QOCTCT72.js → i18n-6BLWGPIF.js} +26 -26
  141. package/chunks/{initializer-VMXV3BW6.js → initializer-3NT4PSG5.js} +31 -31
  142. package/chunks/{installationInfo-ZMTB5KY4.js → installationInfo-YFS4WR5Z.js} +25 -25
  143. package/chunks/{list-HWTHYFDH.js → list-WSW25XV4.js} +33 -33
  144. package/chunks/{list-agents-QNCQCPBU.js → list-agents-YJZPHUQG.js} +12 -2
  145. package/chunks/{llm-BSHLCKRC.js → llm-DHEJE335.js} +58 -58
  146. package/chunks/{llm-content-generator-FOOFF7NM.js → llm-content-generator-LCRFLNVM.js} +4 -4
  147. package/chunks/{loadedSettingsAdapter-DVQC5LYU.js → loadedSettingsAdapter-LZEJHSTQ.js} +31 -31
  148. package/chunks/{local-execution-environment-NIQC5LCT.js → local-execution-environment-ZPGY5MSH.js} +18 -18
  149. package/chunks/{loggingContentGenerator-KMXV7FXR.js → loggingContentGenerator-OLR57SV6.js} +15 -15
  150. package/chunks/{managed-npm-update-6NXTMHIC.js → managed-npm-update-KRSAJ37W.js} +25 -25
  151. package/chunks/{mcp-B6BEFRFC.js → mcp-BQGQ7QLI.js} +31 -31
  152. package/chunks/{model-call-collection-JGJ4TLCJ.js → model-call-collection-TVSEFAQV.js} +1 -1
  153. package/chunks/{model-configuration-HSAVOFVS.js → model-configuration-GJFGTJ5Y.js} +32 -32
  154. package/chunks/{modelConfigUtils-E7WNOMPL.js → modelConfigUtils-6CWVK6HU.js} +27 -27
  155. package/chunks/{monitor-X5SXPGKJ.js → monitor-2T7KABJD.js} +15 -14
  156. package/chunks/{nonInteractiveCli-ALN7VTV2.js → nonInteractiveCli-K4JM4ENC.js} +61 -61
  157. package/chunks/{nonInteractiveToolExecutor-EP57MOQU.js → nonInteractiveToolExecutor-5GOEPWYO.js} +14 -14
  158. package/chunks/{notebook-edit-6AJJRXJE.js → notebook-edit-DAENEK5S.js} +14 -14
  159. package/chunks/{omni-X2QDE2SC.js → omni-H42BCXPX.js} +8 -8
  160. package/chunks/{openaiContentGenerator-DGFUUNP4.js → openaiContentGenerator-EH2MHLQR.js} +125 -13
  161. package/chunks/{openaiResponsesContentGenerator-QBWIVIZ3.js → openaiResponsesContentGenerator-RQROUO3C.js} +483 -381
  162. package/chunks/{processUtils-RAKPTGL4.js → processUtils-FAIS7M3Y.js} +2 -2
  163. package/chunks/{prompt-terminal-ledger-LNMBMLKZ.js → prompt-terminal-ledger-7N4QXMSN.js} +26 -26
  164. package/chunks/{pt-2EWDZAFN.js → pt-NR7K5X64.js} +1 -0
  165. package/chunks/{reactive-degrade-2R225XZN.js → reactive-degrade-SUQLWXQ6.js} +7 -7
  166. package/chunks/{read-file-PVJ2UFNR.js → read-file-XE7ME3BR.js} +2 -2
  167. package/chunks/{record-source-ZEVZHGGT.js → record-source-6XCNP6XF.js} +2 -2
  168. package/chunks/{request-shutdown-WWNRWY6N.js → request-shutdown-6M76E2KV.js} +1 -1
  169. package/chunks/{resumeHistoryUtils-7JVBU7F6.js → resumeHistoryUtils-DUYOO4BU.js} +29 -29
  170. package/chunks/{ripGrep-SGVDEPUA.js → ripGrep-3LGQ4SE4.js} +3 -3
  171. package/chunks/{run-o1-code-serve-6YBADDNM.js → run-o1-code-serve-GDYUXK5W.js} +32 -32
  172. package/chunks/{sandboxConfig-XSRSA444.js → sandboxConfig-UOOGX443.js} +25 -25
  173. package/chunks/{scheduled-tasks-I2ERGMGX.js → scheduled-tasks-J3BZWWMO.js} +31 -31
  174. package/chunks/{scheduler-DOUZC3BT.js → scheduler-EPXMQ35M.js} +27 -27
  175. package/chunks/{send-message-ZCE2ZSEV.js → send-message-B2HM2LKH.js} +1 -1
  176. package/chunks/{serve-TWF224E6.js → serve-UUAH4RD4.js} +31 -31
  177. package/chunks/{server-QM5WDSMX.js → server-JDRC2EN6.js} +64 -69
  178. package/chunks/{session-UAA3BUYD.js → session-M6GUKX2G.js} +62 -62
  179. package/chunks/{session-YILUXNUN.js → session-Q2LHHXY4.js} +1 -1
  180. package/chunks/{session-attachments-root-7SV6ROO3.js → session-attachments-root-CCIAH6U6.js} +25 -25
  181. package/chunks/{session-pr-refresh-ZQEMZUOC.js → session-pr-refresh-GTIOMUNU.js} +30 -30
  182. package/chunks/{settings-I5BT5XJA.js → settings-SBWV33ZU.js} +30 -30
  183. package/chunks/{shell-CXFG4D26.js → shell-J4HQKVRT.js} +13 -13
  184. package/chunks/{skill-XAI4BN7B.js → skill-KI27WO4D.js} +3 -3
  185. package/chunks/{skill-settings-I6V36IWY.js → skill-settings-AYZSCDA2.js} +31 -31
  186. package/chunks/{spawnChannel-A3JN3SKE.js → spawnChannel-XXWTNIFF.js} +27 -27
  187. package/chunks/{standalone-update-665KNR5K.js → standalone-update-F7SJN6QH.js} +27 -27
  188. package/chunks/{startInteractiveUI-3SDDBRSS.js → startInteractiveUI-QBRDQBKB.js} +295 -110
  189. package/chunks/{supervisor-runner-GJZ5FZ2L.js → supervisor-runner-YREQDAAR.js} +2 -2
  190. package/chunks/{task-create-7KKOP2J2.js → task-create-AJSUW4SS.js} +2 -2
  191. package/chunks/{task-update-RDNOVBEQ.js → task-update-X65AWLX3.js} +2 -2
  192. package/chunks/{team-create-B3GZHAVJ.js → team-create-AWX3WCOX.js} +13 -13
  193. package/chunks/{team-plan-approval-AA23AXBX.js → team-plan-approval-XADKQBWB.js} +13 -13
  194. package/chunks/{terminal-image-renderer-645UO3CY.js → terminal-image-renderer-3IULS2LY.js} +25 -25
  195. package/chunks/{theme-manager-Z724NWSU.js → theme-manager-S2SNBVMH.js} +25 -25
  196. package/chunks/{tool-call-BUCHKNUE.js → tool-call-BERI4DIZ.js} +2 -2
  197. package/chunks/{tool-result-media-F3GNEFYA.js → tool-result-media-SU4PKTY5.js} +8 -8
  198. package/chunks/{tool-search-ORCJKBH7.js → tool-search-YVDXMR22.js} +7 -4
  199. package/chunks/{total-session-admission-FVSADUS4.js → total-session-admission-JXG2Y7T7.js} +28 -28
  200. package/chunks/{trustedFolders-53SWJNQM.js → trustedFolders-7IPBJUC7.js} +26 -26
  201. package/chunks/{update-relaunch-TO7RIC2Z.js → update-relaunch-NN2CBTSS.js} +5 -5
  202. package/chunks/{updateCheck-ZO65M4E7.js → updateCheck-FJQDYAG6.js} +27 -27
  203. package/chunks/{upload-config-GPGQJLHV.js → upload-config-YCM5FBRA.js} +5 -5
  204. package/chunks/{useAutoAcceptIndicator-XSYAN4MD.js → useAutoAcceptIndicator-LFIUN7PN.js} +33 -33
  205. package/chunks/{validateNonInterActiveAuth-KYRPPB7L.js → validateNonInterActiveAuth-JOX24GXO.js} +58 -58
  206. package/chunks/{version-QWEY3XDL.js → version-JFJPSBUT.js} +1 -1
  207. package/chunks/{web-fetch-QKY4VT64.js → web-fetch-K5XFX4U5.js} +34 -18
  208. package/chunks/{web-search-AMRNCSP6.js → web-search-DJOLXUKE.js} +5 -5
  209. package/chunks/{workflow-QBLEKR24.js → workflow-DDRDQXO3.js} +16 -15
  210. package/chunks/{workspace-providers-status-CH7DJDKT.js → workspace-providers-status-NYUD74M7.js} +37 -37
  211. package/chunks/{workspace-registration-store-HU2UBVSE.js → workspace-registration-store-YH4N3DDV.js} +1 -1
  212. package/chunks/{workspace-registry-PKZFC4K6.js → workspace-registry-WNJX32P3.js} +28 -28
  213. package/chunks/{workspace-runtime-coordinator-HLMOBHFQ.js → workspace-runtime-coordinator-7CBX333P.js} +29 -29
  214. package/chunks/{workspace-service-CD6JZZGR.js → workspace-service-M3HENJTA.js} +36 -36
  215. package/chunks/{workspace-skills-status-ECZGFEYZ.js → workspace-skills-status-DMRJPYZD.js} +34 -34
  216. package/chunks/{workspace-trust-reconciler-NADYMCWA.js → workspace-trust-reconciler-TWROHM3Q.js} +34 -34
  217. package/chunks/{write-file-4QSLWQJN.js → write-file-NPDFTBGT.js} +15 -15
  218. package/chunks/{zoom-image-FGAGFWD3.js → zoom-image-JIHUP4HA.js} +2 -2
  219. package/cli.js +16 -16
  220. package/execution-worker.js +1 -1
  221. package/export-transcript-document.js +1 -1
  222. package/locales/en.js +2 -0
  223. package/locales/pt.js +2 -0
  224. package/package.json +2 -2
  225. package/release-notes.json +24 -0
  226. package/web-shell/assets/{abnfDiagram-VCTEODGH-CXGkTYKR.js → abnfDiagram-VCTEODGH-CmJn1PDE.js} +1 -1
  227. package/web-shell/assets/{arc-Bgtf2wGs.js → arc-BmZjGB_w.js} +1 -1
  228. package/web-shell/assets/{architectureDiagram-5GKGNRK7-CdAnFxID.js → architectureDiagram-5GKGNRK7-DX-36I_j.js} +1 -1
  229. package/web-shell/assets/{blockDiagram-NRAW4CY4-BetLLPQA.js → blockDiagram-NRAW4CY4-DxTx3zwB.js} +1 -1
  230. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BVEDlbNL.js → c4Diagram-UCG6FXSJ-rXvYjVVs.js} +1 -1
  231. package/web-shell/assets/channel-DhUh1Prc.js +1 -0
  232. package/web-shell/assets/{chunk-2Q5K7J3B-Bu_XLqIX.js → chunk-2Q5K7J3B-DBgDB2KW.js} +1 -1
  233. package/web-shell/assets/{chunk-5VM5RSS4-CuIm-L87.js → chunk-5VM5RSS4-CoxrLXwk.js} +1 -1
  234. package/web-shell/assets/{chunk-F27PBJKO-zdnqrtCA.js → chunk-F27PBJKO-DC5NQEjf.js} +1 -1
  235. package/web-shell/assets/{chunk-G27WJ6UU-DA0j2ueI.js → chunk-G27WJ6UU-Cf3GRKgO.js} +1 -1
  236. package/web-shell/assets/{chunk-JWPE2WC7-BYP9xsTl.js → chunk-JWPE2WC7-DxsEZUOD.js} +1 -1
  237. package/web-shell/assets/{chunk-LCL6LL3I-CqZfx1I5.js → chunk-LCL6LL3I-CEQc9n40.js} +1 -1
  238. package/web-shell/assets/{chunk-POPQ4Y6H-BEYiYIxG.js → chunk-POPQ4Y6H-DsiSLluJ.js} +1 -1
  239. package/web-shell/assets/{chunk-SVP7TREG-Df7kB2kI.js → chunk-SVP7TREG-CxvHOpi6.js} +1 -1
  240. package/web-shell/assets/{chunk-XXDRQBXY-DSVwWamu.js → chunk-XXDRQBXY-CGvG4BqT.js} +1 -1
  241. package/web-shell/assets/classDiagram-DTDB5LWJ-u9x7IqO_.js +1 -0
  242. package/web-shell/assets/classDiagram-v2-JRS7N3AN-u9x7IqO_.js +1 -0
  243. package/web-shell/assets/{cose-bilkent-JH36ORCC-3y3UQaAQ.js → cose-bilkent-JH36ORCC-wq1CwvXH.js} +1 -1
  244. package/web-shell/assets/{cynefin-OW5HDTMX-D5boSC-y.js → cynefin-OW5HDTMX-CCzVtrpa.js} +1 -1
  245. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-D06h0zad.js → cynefinDiagram-5FMLGOSQ-CrsY22No.js} +1 -1
  246. package/web-shell/assets/{dagre-3AP2YEHR-B5PC4pJb.js → dagre-3AP2YEHR-Bt0t_pl2.js} +1 -1
  247. package/web-shell/assets/{diagram-S7CK7UJ4-CQkjaeF5.js → diagram-S7CK7UJ4-CgFmr50g.js} +1 -1
  248. package/web-shell/assets/{diagram-UQ7AKVKN-Dp4B8BsM.js → diagram-UQ7AKVKN-F5rdharJ.js} +1 -1
  249. package/web-shell/assets/{diagram-VSXAHHWV-1WUz-IlV.js → diagram-VSXAHHWV-CLtQI9Us.js} +1 -1
  250. package/web-shell/assets/{diagram-VX7I27RA-CVOE8dqI.js → diagram-VX7I27RA-Bvcc0y0l.js} +1 -1
  251. package/web-shell/assets/{diagram-Z3DM3KII-3gYRwIVB.js → diagram-Z3DM3KII-B0Zv86Nw.js} +1 -1
  252. package/web-shell/assets/{ebnfDiagram-PWID7BFC-tVjIWybZ.js → ebnfDiagram-PWID7BFC-Ue6Kp4zy.js} +1 -1
  253. package/web-shell/assets/{erDiagram-SSCWMZ5O-DKQv6Y6l.js → erDiagram-SSCWMZ5O-EP13tHtp.js} +1 -1
  254. package/web-shell/assets/{flowDiagram-A5DVABFB-C1aZT9uy.js → flowDiagram-A5DVABFB-DKQhXSAb.js} +1 -1
  255. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BKVpaHRR.js → ganttDiagram-EL5Y4UJY-DOM1GL3N.js} +1 -1
  256. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-BZOhM9h_.js → gitGraphDiagram-WWUBYQGX-BXWWwMVj.js} +1 -1
  257. package/web-shell/assets/{index-CB3Jrunr.js → index-B-JFgxf_.js} +1 -1
  258. package/web-shell/assets/{index-Do4y2b4t.js → index-BySRifK6.js} +3 -3
  259. package/web-shell/assets/{infoDiagram-RXCK75RN-D1uBMMVt.js → infoDiagram-RXCK75RN-C_0yC8Ij.js} +1 -1
  260. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CEucsPqw.js → ishikawaDiagram-5VMMS53U-Cb2loNBZ.js} +1 -1
  261. package/web-shell/assets/{journeyDiagram-EYS64GPL-DZzzYLoO.js → journeyDiagram-EYS64GPL-RPQBx8RB.js} +1 -1
  262. package/web-shell/assets/{kanban-definition-3QL26DDD-C9BYwkVP.js → kanban-definition-3QL26DDD-BclR2dqV.js} +1 -1
  263. package/web-shell/assets/{layout-CsgRL45r.js → layout-SQVyFkqM.js} +1 -1
  264. package/web-shell/assets/{linear-BUq0-ZDw.js → linear-DWbtI-Pa.js} +1 -1
  265. package/web-shell/assets/{mermaid.core-D3JSOWCq.js → mermaid.core-Bm1cOFEw.js} +6 -6
  266. package/web-shell/assets/{mindmap-definition-FBJOCRG2-BLHYT_f0.js → mindmap-definition-FBJOCRG2-j9RYxk62.js} +1 -1
  267. package/web-shell/assets/{pegDiagram-XKGWAZYB-B2QHW9UX.js → pegDiagram-XKGWAZYB-B6GhUCAI.js} +1 -1
  268. package/web-shell/assets/{pieDiagram-E7YTZNPT-4QDrwUVJ.js → pieDiagram-E7YTZNPT-D7co7Zdb.js} +1 -1
  269. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CHkz8icI.js → quadrantDiagram-AXDQQJYC-WLfkJYEi.js} +1 -1
  270. package/web-shell/assets/{railroadDiagram-O6MQD6OU-Y1UZxdd7.js → railroadDiagram-O6MQD6OU-CH6JUyt5.js} +1 -1
  271. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-B2STIEs-.js → requirementDiagram-EFPCY7ZU-dqpSnQop.js} +1 -1
  272. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-QX0whSnt.js → sankeyDiagram-P5KCCOFB-Bjm20XGX.js} +1 -1
  273. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-JSPBV6Z9.js → sequenceDiagram-WJ2MYXX4-CE1HvQ3r.js} +1 -1
  274. package/web-shell/assets/{sizeCapture-X5ZJPWSS-BHR85hzV.js → sizeCapture-X5ZJPWSS-D-jc__e7.js} +1 -1
  275. package/web-shell/assets/{stateDiagram-HBIQ2CUA-5yqdcEJk.js → stateDiagram-HBIQ2CUA-D4oPWH6C.js} +1 -1
  276. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Cj2MLX5C.js +1 -0
  277. package/web-shell/assets/{swimlanes-XN3QIQJK-DtaoSfgY.js → swimlanes-XN3QIQJK-CxwnXXV2.js} +1 -1
  278. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Ke9hgQpA.js +8 -0
  279. package/web-shell/assets/{timeline-definition-24CTP7MA-Di2q68WC.js → timeline-definition-24CTP7MA-BF9F9CDF.js} +1 -1
  280. package/web-shell/assets/{vennDiagram-4TSXK5OY-BiIN5IkG.js → vennDiagram-4TSXK5OY-CkDMgOFv.js} +1 -1
  281. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Cjx_SM3A.js → wardleyDiagram-VM6X3IG4-DJ2f-coT.js} +1 -1
  282. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-VAFMpQ3K.js → xychartDiagram-S5SC5T6Z-tfnnRI2D.js} +1 -1
  283. package/web-shell/index.html +1 -1
  284. package/web-shell/sw.js +1 -1
  285. package/web-shell/assets/channel-qApIjhnO.js +0 -1
  286. package/web-shell/assets/classDiagram-DTDB5LWJ-DEyyr5tF.js +0 -1
  287. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DEyyr5tF.js +0 -1
  288. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BHsx9uG6.js +0 -1
  289. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-AVscCGHh.js +0 -8
@@ -6,13 +6,13 @@ import {
6
6
  import {
7
7
  TUI_CHAT_RECORDING_FAILURE_MESSAGE,
8
8
  reportChatRecordingFailureToAdapter
9
- } from "./chunk-ULLCJNT5.js";
9
+ } from "./chunk-N5XZKWJE.js";
10
10
  import {
11
11
  StreamJsonOutputAdapter
12
- } from "./chunk-YXIMD7AK.js";
12
+ } from "./chunk-PVJDGMEJ.js";
13
13
  import {
14
14
  startPostRenderPrefetches
15
- } from "./chunk-FVH27ARU.js";
15
+ } from "./chunk-OILOGMTY.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-76FPHNLE.js";
118
+ } from "./chunk-IKGD36IH.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-ZZYIXQMV.js";
140
+ } from "./chunk-YAUL5ZQW.js";
141
141
  import {
142
142
  stopAndGetCapturedInput
143
143
  } from "./chunk-VFLUNXD6.js";
144
144
  import {
145
145
  useAutoAcceptIndicator
146
- } from "./chunk-3H6ZRETK.js";
146
+ } from "./chunk-OR4LJOK3.js";
147
147
  import {
148
148
  KeypressProvider,
149
149
  useFocus,
150
150
  useKeypress,
151
151
  useKeypressContext
152
- } from "./chunk-U7EB32Z2.js";
152
+ } from "./chunk-2J7VJ3WC.js";
153
153
  import {
154
154
  MAX_ACCEPTED_BACKLOG,
155
155
  PeerMessaging,
156
156
  classifyApiError,
157
157
  fireSessionDeleteHook
158
- } from "./chunk-O53S3WDY.js";
158
+ } from "./chunk-6VT5UW66.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-SJGCHKHG.js";
171
+ } from "./chunk-5DFZNI3G.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-M5BPWICM.js";
228
+ } from "./chunk-EVYREOIG.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-UOG4OHEQ.js";
236
+ } from "./chunk-3IRUUZTV.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-LGFB7Z2H.js";
246
+ } from "./chunk-NRDEPGVR.js";
247
247
  import {
248
248
  contextUsageLabel,
249
249
  formatDuration,
250
250
  formatPercentageUsed,
251
251
  formatRelativeTime,
252
252
  formatTokenCount
253
- } from "./chunk-GR257V6A.js";
253
+ } from "./chunk-VM3UK3TM.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-MEPWN6XC.js";
272
+ } from "./chunk-PMKHXJAS.js";
273
273
  import {
274
274
  sanitizeDisplayText
275
- } from "./chunk-ITHF4F4L.js";
275
+ } from "./chunk-LYWFQGEQ.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-ON5CGP6B.js";
312
+ import "./chunk-KP6VAFGI.js";
313
313
  import {
314
314
  handleAutoUpdate,
315
315
  setUpdateHandler
316
- } from "./chunk-DFRZXARB.js";
316
+ } from "./chunk-3Q4HEGB4.js";
317
317
  import {
318
318
  isHistoryItemVisibleAfterRestore
319
319
  } from "./chunk-64WBFX5X.js";
320
- import "./chunk-SU4W42KU.js";
320
+ import "./chunk-LBX7KU43.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-LU2TTE5Y.js";
331
+ import "./chunk-MNLVE24R.js";
332
332
  import {
333
333
  requestConsentInteractive,
334
334
  requestConsentOrFail
335
- } from "./chunk-ITXHD6QG.js";
335
+ } from "./chunk-6A3PCAAJ.js";
336
336
  import "./chunk-XZ3MQL2U.js";
337
337
  import {
338
338
  getErrorMessage as getErrorMessage2
339
- } from "./chunk-6VXX63QU.js";
339
+ } from "./chunk-OSCUGEQY.js";
340
340
  import {
341
341
  relaunchApp,
342
342
  relaunchForUpdate
343
- } from "./chunk-4UZHVDN6.js";
343
+ } from "./chunk-Z4HXY45F.js";
344
344
  import "./chunk-XG36NMOI.js";
345
345
  import "./chunk-53HMO7K2.js";
346
346
  import "./chunk-H65DRJN2.js";
347
- import "./chunk-3GPZEENL.js";
347
+ import "./chunk-WXIXWH7M.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-AOJFG2LZ.js";
355
- import "./chunk-7TZUSRNH.js";
354
+ import "./chunk-S5TFGSM3.js";
355
+ import "./chunk-4INACGIR.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-A2MUOMJH.js";
379
+ } from "./chunk-N5TOXL3M.js";
380
380
  import {
381
381
  formatUnsupportedVoiceModelMessage,
382
382
  isSelectableVoiceModel
383
- } from "./chunk-QJLOQHNR.js";
383
+ } from "./chunk-OKSSY3ER.js";
384
384
  import "./chunk-TESN7CJW.js";
385
385
  import {
386
386
  REASONING_EFFORT_DEFAULT,
387
387
  getReasoningEffortsForConfig,
388
388
  getReasoningForDisplay
389
- } from "./chunk-JMMAXVTG.js";
389
+ } from "./chunk-YCR4JZUC.js";
390
390
  import {
391
391
  buildHigherDisabled,
392
392
  computeWorkspaceSkillListUpdates,
393
393
  skillSettingStrings
394
- } from "./chunk-IDL5E3SK.js";
394
+ } from "./chunk-X5MCTTTU.js";
395
395
  import "./chunk-W2R46PFD.js";
396
396
  import {
397
397
  createLoadedSettingsAdapter,
398
398
  getRawModelProviders
399
- } from "./chunk-73UYQDL3.js";
399
+ } from "./chunk-5QMNIJZ2.js";
400
400
  import {
401
401
  getExtendedSystemInfo
402
- } from "./chunk-YMESB5YT.js";
403
- import "./chunk-KRE356Z5.js";
402
+ } from "./chunk-PXOBO32R.js";
403
+ import "./chunk-7XELAF5M.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-6HLOPCFZ.js";
410
- import "./chunk-3UIMC3MD.js";
409
+ import "./chunk-PYQSQFGU.js";
410
+ import "./chunk-7UDEBIOM.js";
411
411
  import {
412
412
  isInlineModelOverrideAllowed
413
- } from "./chunk-BBBU4UJL.js";
413
+ } from "./chunk-K7C5JCE7.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-ZQ7TCAOB.js";
440
+ } from "./chunk-5N5IZTS4.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-HASGT63Y.js";
463
+ } from "./chunk-DQGAJLPJ.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-UXFP67XM.js";
473
+ } from "./chunk-2GK6MYTP.js";
474
474
  import "./chunk-EDRKBK4B.js";
475
475
  import "./chunk-2JJLDP4A.js";
476
476
  import {
@@ -478,19 +478,19 @@ import {
478
478
  localizeToolDisplayName,
479
479
  t,
480
480
  ta
481
- } from "./chunk-44NOS72H.js";
481
+ } from "./chunk-CDHOAM2E.js";
482
482
  import "./chunk-Q2V34OV7.js";
483
- import "./chunk-UA6BRUXW.js";
483
+ import "./chunk-DKBLEAGB.js";
484
484
  import "./chunk-Z4T563RX.js";
485
485
  import {
486
486
  formatVersionLabel,
487
487
  getCliVersion
488
- } from "./chunk-GLXNABTW.js";
488
+ } from "./chunk-RM54W4ER.js";
489
489
  import "./chunk-Y75AMWDB.js";
490
490
  import {
491
491
  isWorkspaceTrusted,
492
492
  loadTrustedFolders
493
- } from "./chunk-P5EIXSKJ.js";
493
+ } from "./chunk-PQGBLD36.js";
494
494
  import "./chunk-BHXBXELA.js";
495
495
  import "./chunk-MXCWSDSC.js";
496
496
  import {
@@ -537,14 +537,14 @@ import {
537
537
  subagentGenerator,
538
538
  supportsHyperlinks,
539
539
  wrapForMultiplexer
540
- } from "./chunk-MSBLDE7B.js";
540
+ } from "./chunk-5P7NQWE6.js";
541
541
  import "./chunk-MYMATZAY.js";
542
542
  import "./chunk-6IFQXZTP.js";
543
543
  import "./chunk-CJ7JDQEG.js";
544
544
  import "./chunk-CS4CELQI.js";
545
545
  import "./chunk-FMWE3YMM.js";
546
- import "./chunk-BNJ3IJB7.js";
547
- import "./chunk-QIGHINXO.js";
546
+ import "./chunk-VLTW32Z7.js";
547
+ import "./chunk-ESGMIMHJ.js";
548
548
  import "./chunk-Z563JBRI.js";
549
549
  import {
550
550
  clearWorktreeSession,
@@ -552,7 +552,7 @@ import {
552
552
  readWorktreeSession,
553
553
  restoreWorktreeContext
554
554
  } from "./chunk-HJYSTI5W.js";
555
- import "./chunk-INUPQ3V2.js";
555
+ import "./chunk-JPCQCUTS.js";
556
556
  import "./chunk-4JDEAIW5.js";
557
557
  import {
558
558
  PEER_ADMISSION_LIMITS,
@@ -561,8 +561,8 @@ import {
561
561
  describeHoldCause,
562
562
  parseHeldExpiry
563
563
  } from "./chunk-5PE7PZL7.js";
564
- import "./chunk-2SKOHXQM.js";
565
- import "./chunk-QU2DEIX4.js";
564
+ import "./chunk-OHPK6LGA.js";
565
+ import "./chunk-42N5UTUK.js";
566
566
  import "./chunk-NWCDFCWK.js";
567
567
  import "./chunk-ZMZRVR62.js";
568
568
  import "./chunk-A7JWEUTB.js";
@@ -571,18 +571,18 @@ import {
571
571
  isToolHiddenBehindToolSearch,
572
572
  resolveWorkflowAuthoringSurface,
573
573
  toolSearchBridgeSentence
574
- } from "./chunk-UDUKUEW5.js";
575
- import "./chunk-S2HJR2FT.js";
576
- import "./chunk-KPRGWI4Y.js";
577
- import "./chunk-B6U27UHQ.js";
574
+ } from "./chunk-KSO7FXQU.js";
575
+ import "./chunk-VQURYS66.js";
576
+ import "./chunk-6VHB4YQZ.js";
577
+ import "./chunk-6LRWLIIP.js";
578
578
  import "./chunk-F3FKDGHN.js";
579
- import "./chunk-G6PZ7ZRF.js";
579
+ import "./chunk-ZX7J6RLA.js";
580
580
  import "./chunk-UBWL27PO.js";
581
581
  import "./chunk-UW4Q5E5P.js";
582
582
  import "./chunk-DM6W2QYB.js";
583
583
  import "./chunk-UAACCQBD.js";
584
584
  import "./chunk-VEGSKFFR.js";
585
- import "./chunk-SF7RCEDN.js";
585
+ import "./chunk-AXXXWTIX.js";
586
586
  import {
587
587
  checkProviderKey
588
588
  } from "./chunk-2EQYAHKO.js";
@@ -648,7 +648,7 @@ import {
648
648
  saveWorkflowScript,
649
649
  updateSetting,
650
650
  validateWorkflowName
651
- } from "./chunk-PUBPS6I4.js";
651
+ } from "./chunk-SR7O2YDD.js";
652
652
  import "./chunk-WXTAP6NR.js";
653
653
  import "./chunk-BZOAEOYF.js";
654
654
  import "./chunk-BIDB75DA.js";
@@ -670,7 +670,7 @@ import {
670
670
  elapsedActiveTime,
671
671
  goalPauseReasonForFailure,
672
672
  goalRequiresExactPermit
673
- } from "./chunk-WIQEF7ON.js";
673
+ } from "./chunk-DV2KGLEW.js";
674
674
  import "./chunk-A5ZAKF2B.js";
675
675
  import {
676
676
  GitWorktreeService,
@@ -723,22 +723,22 @@ import {
723
723
  import "./chunk-5QSLFAMR.js";
724
724
  import "./chunk-K7JOSPO4.js";
725
725
  import "./chunk-HPQNI3OQ.js";
726
- import "./chunk-JKBN3WM5.js";
726
+ import "./chunk-LHP2IJ7A.js";
727
727
  import "./chunk-CI2ZHR5C.js";
728
- import "./chunk-SJSBSQJI.js";
728
+ import "./chunk-56HGN3XV.js";
729
729
  import "./chunk-4LCUE7BN.js";
730
730
  import "./chunk-RIN7SNJN.js";
731
731
  import "./chunk-4J6KRUQB.js";
732
- import "./chunk-F3762QZG.js";
732
+ import "./chunk-QIFODGLE.js";
733
733
  import {
734
734
  parseRule
735
- } from "./chunk-6XC7AQHT.js";
735
+ } from "./chunk-MWYTSG52.js";
736
736
  import {
737
737
  APPROVAL_MODES
738
738
  } from "./chunk-KQAVEXYD.js";
739
739
  import {
740
740
  BUILT_IN_OUTPUT_STYLES
741
- } from "./chunk-UW4ZP77X.js";
741
+ } from "./chunk-AEVV2DGL.js";
742
742
  import {
743
743
  NO_EXEC_CONFIG,
744
744
  getGitBranch
@@ -749,9 +749,9 @@ import "./chunk-ETGSZYWP.js";
749
749
  import "./chunk-RCZHQZJJ.js";
750
750
  import "./chunk-6YS3YH6O.js";
751
751
  import "./chunk-AVCUVYSA.js";
752
- import "./chunk-6CW53FOJ.js";
752
+ import "./chunk-VBDYNBGQ.js";
753
753
  import "./chunk-HX6AICAX.js";
754
- import "./chunk-T4X6ZODK.js";
754
+ import "./chunk-KRTC55S6.js";
755
755
  import "./chunk-65B6QBMP.js";
756
756
  import "./chunk-O4IWNFDK.js";
757
757
  import "./chunk-WMJL2XAM.js";
@@ -797,7 +797,7 @@ import {
797
797
  runVisionBridge,
798
798
  shouldRunVisionBridge,
799
799
  splitImageParts
800
- } from "./chunk-IDOFNXOM.js";
800
+ } from "./chunk-MNLPYHDS.js";
801
801
  import "./chunk-242JUBPM.js";
802
802
  import {
803
803
  AUTO_MEMORY_INDEX_FILENAME,
@@ -852,7 +852,7 @@ import "./chunk-CP63SY5N.js";
852
852
  import "./chunk-WDBSTICZ.js";
853
853
  import {
854
854
  resolveReasoningForModel
855
- } from "./chunk-B5DA6HBM.js";
855
+ } from "./chunk-4UZ3FFYZ.js";
856
856
  import {
857
857
  fetchKeyInfo,
858
858
  onLowRateLimit
@@ -896,7 +896,7 @@ import {
896
896
  resolveSavedModelApiKey,
897
897
  shouldShowStep,
898
898
  withdrawExportedCredential
899
- } from "./chunk-ZME3GEAN.js";
899
+ } from "./chunk-EE265U33.js";
900
900
  import {
901
901
  DEFAULT_TOKEN_LIMIT,
902
902
  REASONING_EFFORT_TIERS,
@@ -920,16 +920,16 @@ import {
920
920
  } from "./chunk-VYRPAY75.js";
921
921
  import "./chunk-S7GOFMLU.js";
922
922
  import "./chunk-RC67CA5Z.js";
923
- import "./chunk-VMWSMIAG.js";
923
+ import "./chunk-WRF5CAXN.js";
924
924
  import "./chunk-HHIX6THS.js";
925
925
  import {
926
926
  DEFAULT_COMMAND_OPTIONS,
927
927
  TOP_LEVEL_GLOBAL_OPTIONS
928
- } from "./chunk-O6GD6SFV.js";
928
+ } from "./chunk-5ONKDCZM.js";
929
929
  import {
930
930
  registerCleanup,
931
931
  runExitCleanup
932
- } from "./chunk-FGV2OPGK.js";
932
+ } from "./chunk-UCSYEHMM.js";
933
933
  import {
934
934
  finalizeStartupProfile,
935
935
  profileCheckpoint
@@ -960,7 +960,7 @@ import {
960
960
  } from "./chunk-EPJAMNLS.js";
961
961
  import {
962
962
  MAINLINE_CODER_MODEL
963
- } from "./chunk-USSMX7ZA.js";
963
+ } from "./chunk-W7OUXB6F.js";
964
964
  import "./chunk-LEXKU5FI.js";
965
965
  import {
966
966
  ORGANIZAONE_ENV_KEY,
@@ -26732,6 +26732,7 @@ var DEFAULT_STATE = {
26732
26732
  selectedIndex: 0,
26733
26733
  dialogMode: "closed",
26734
26734
  dialogOpen: false,
26735
+ autoOpened: false,
26735
26736
  pillFocused: false,
26736
26737
  livePanelFocused: false,
26737
26738
  livePanelSelectedIndex: 0
@@ -26747,6 +26748,7 @@ var DEFAULT_ACTIONS = {
26747
26748
  enterDetail: noop,
26748
26749
  exitDetail: noop,
26749
26750
  enterDetailFromPanel: noop,
26751
+ acknowledgeAutoOpen: noop,
26750
26752
  cancelSelected: noop,
26751
26753
  resumeSelected: /* @__PURE__ */ __name(async () => {
26752
26754
  }, "resumeSelected"),
@@ -26771,6 +26773,7 @@ function BackgroundTaskViewProvider({
26771
26773
  const { entries } = useBackgroundTaskView(config ?? null);
26772
26774
  const [rawSelectedIndex, setRawSelectedIndex] = (0, import_react86.useState)(0);
26773
26775
  const [dialogMode, setDialogMode] = (0, import_react86.useState)("closed");
26776
+ const [autoOpened, setAutoOpened] = (0, import_react86.useState)(false);
26774
26777
  const [pillFocused, setPillFocused] = (0, import_react86.useState)(false);
26775
26778
  const [livePanelFocused, setLivePanelFocusedRaw] = (0, import_react86.useState)(false);
26776
26779
  const [livePanelSelectedIndex, setLivePanelSelectedIndex] = (0, import_react86.useState)(0);
@@ -26787,6 +26790,32 @@ function BackgroundTaskViewProvider({
26787
26790
  (0, import_react86.useEffect)(() => {
26788
26791
  if (livePanelFocused && !hasAgentEntries) setLivePanelFocusedRaw(false);
26789
26792
  }, [livePanelFocused, hasAgentEntries]);
26793
+ const surfacedApprovalIdsRef = (0, import_react86.useRef)(/* @__PURE__ */ new Set());
26794
+ const parkedHeadIds = entries.map(
26795
+ (entry) => entry.kind === "workflow" ? entry.pendingApprovals[0]?.approvalId ?? "" : ""
26796
+ ).join("|");
26797
+ const closedParkedHeadIdsRef = (0, import_react86.useRef)(null);
26798
+ (0, import_react86.useEffect)(() => {
26799
+ if (dialogMode !== "closed") return;
26800
+ if (closedParkedHeadIdsRef.current !== null) {
26801
+ if (closedParkedHeadIdsRef.current === parkedHeadIds) return;
26802
+ closedParkedHeadIdsRef.current = null;
26803
+ }
26804
+ const index = entries.findIndex(
26805
+ (entry2) => entry2.kind === "workflow" && !!entry2.pendingApprovals[0] && !surfacedApprovalIdsRef.current.has(
26806
+ entry2.pendingApprovals[0].approvalId
26807
+ )
26808
+ );
26809
+ const entry = entries[index];
26810
+ if (entry?.kind !== "workflow") return;
26811
+ const approval = entry.pendingApprovals[0];
26812
+ if (!approval) return;
26813
+ surfacedApprovalIdsRef.current.add(approval.approvalId);
26814
+ setRawSelectedIndex(index);
26815
+ setPillFocused(false);
26816
+ setAutoOpened(true);
26817
+ setDialogMode("list");
26818
+ }, [entries, dialogMode, parkedHeadIds]);
26790
26819
  const selectedIndex = entries.length === 0 ? 0 : Math.min(Math.max(0, rawSelectedIndex), entries.length - 1);
26791
26820
  const moveSelectionUp = (0, import_react86.useCallback)(() => {
26792
26821
  if (selectedIndex <= 0) return false;
@@ -26800,18 +26829,26 @@ function BackgroundTaskViewProvider({
26800
26829
  return true;
26801
26830
  }, [entries.length, selectedIndex]);
26802
26831
  const openDialog = (0, import_react86.useCallback)(() => {
26832
+ setAutoOpened(false);
26803
26833
  setDialogMode("list");
26804
26834
  setPillFocused(false);
26805
26835
  }, []);
26806
26836
  const closeDialog = (0, import_react86.useCallback)(() => {
26837
+ if (autoOpened) return;
26838
+ closedParkedHeadIdsRef.current = parkedHeadIds;
26807
26839
  setDialogMode("closed");
26840
+ }, [autoOpened, parkedHeadIds]);
26841
+ const acknowledgeAutoOpen = (0, import_react86.useCallback)(() => {
26842
+ setAutoOpened(false);
26808
26843
  }, []);
26809
26844
  const enterDetail = (0, import_react86.useCallback)(() => {
26810
26845
  if (entries.length === 0) return;
26846
+ setAutoOpened(false);
26811
26847
  setDialogMode("detail");
26812
26848
  }, [entries.length]);
26813
26849
  const enterDetailFromPanel = (0, import_react86.useCallback)(() => {
26814
26850
  if (entries.length === 0) return;
26851
+ setAutoOpened(false);
26815
26852
  setDialogMode("detail-from-panel");
26816
26853
  }, [entries.length]);
26817
26854
  const exitDetail = (0, import_react86.useCallback)(() => {
@@ -26886,6 +26923,7 @@ function BackgroundTaskViewProvider({
26886
26923
  selectedIndex,
26887
26924
  dialogMode,
26888
26925
  dialogOpen,
26926
+ autoOpened,
26889
26927
  pillFocused,
26890
26928
  livePanelFocused,
26891
26929
  livePanelSelectedIndex
@@ -26895,6 +26933,7 @@ function BackgroundTaskViewProvider({
26895
26933
  selectedIndex,
26896
26934
  dialogMode,
26897
26935
  dialogOpen,
26936
+ autoOpened,
26898
26937
  pillFocused,
26899
26938
  livePanelFocused,
26900
26939
  livePanelSelectedIndex
@@ -26909,6 +26948,7 @@ function BackgroundTaskViewProvider({
26909
26948
  enterDetail,
26910
26949
  enterDetailFromPanel,
26911
26950
  exitDetail,
26951
+ acknowledgeAutoOpen,
26912
26952
  cancelSelected,
26913
26953
  resumeSelected,
26914
26954
  toggleSelectedWorkflowPause,
@@ -26925,6 +26965,7 @@ function BackgroundTaskViewProvider({
26925
26965
  enterDetail,
26926
26966
  enterDetailFromPanel,
26927
26967
  exitDetail,
26968
+ acknowledgeAutoOpen,
26928
26969
  cancelSelected,
26929
26970
  resumeSelected,
26930
26971
  toggleSelectedWorkflowPause,
@@ -28405,7 +28446,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
28405
28446
  availableTerminalHeight,
28406
28447
  terminalWidth
28407
28448
  }) => {
28408
- const { entries, selectedIndex, dialogOpen, dialogMode } = useBackgroundTaskViewState();
28449
+ const { entries, selectedIndex, dialogOpen, dialogMode, autoOpened } = useBackgroundTaskViewState();
28409
28450
  const isDetailMode = dialogMode === "detail" || dialogMode === "detail-from-panel";
28410
28451
  const {
28411
28452
  moveSelectionUp,
@@ -28414,6 +28455,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
28414
28455
  openDialog,
28415
28456
  enterDetail,
28416
28457
  exitDetail,
28458
+ acknowledgeAutoOpen,
28417
28459
  cancelSelected,
28418
28460
  resumeSelected,
28419
28461
  toggleSelectedWorkflowPause,
@@ -28621,6 +28663,12 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
28621
28663
  (key) => {
28622
28664
  if (!dialogOpen) return;
28623
28665
  if (saveActive) return;
28666
+ if (autoOpened) {
28667
+ if ((key.name === "up" || key.name === "down") && !key.ctrl && !key.meta && !key.shift) {
28668
+ acknowledgeAutoOpen();
28669
+ }
28670
+ return;
28671
+ }
28624
28672
  if (approvalActive && !approvalUsesQuestionDialog) {
28625
28673
  if (key.name === "left") {
28626
28674
  setReviewingApproval(null);
@@ -28762,6 +28810,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
28762
28810
  const selectedEntryKey = selectedEntry ? entryId(selectedEntry) : null;
28763
28811
  const selectedWorkflowPauseHint = workflowPauseHint(selectedEntry);
28764
28812
  const showCancelConfirmHint = pendingCancelEntryId !== null && pendingCancelEntryId === selectedEntryKey;
28813
+ const autoOpenNotice = autoOpened ? t("A workflow needs approval \xB7 press \u2191 or \u2193 to continue") : void 0;
28765
28814
  const hints = [];
28766
28815
  if (approvalActive) {
28767
28816
  hints.push(t("Approve or deny the request above"));
@@ -28875,11 +28924,11 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
28875
28924
  width: terminalWidth,
28876
28925
  height: availableTerminalHeight,
28877
28926
  actionHints,
28878
- footerMessage: showCancelConfirmHint ? t(
28927
+ footerMessage: autoOpenNotice ?? (showCancelConfirmHint ? t(
28879
28928
  "Press x again to stop; this ends the blocking turn. Esc cancels."
28880
28929
  ) : pauseRejected?.entryKey === selectedEntryKey ? t(
28881
28930
  "Pause/resume was rejected; the workflow state changed. Try again."
28882
- ) : void 0,
28931
+ ) : void 0),
28883
28932
  renderOtherDetail: (entry, height, width) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(DetailBody, { entry, maxHeight: height, maxWidth: width })
28884
28933
  }
28885
28934
  );
@@ -28943,7 +28992,7 @@ var BackgroundTasksDialog = /* @__PURE__ */ __name(({
28943
28992
  isActive: saveActive,
28944
28993
  onClose: () => setSaveActive(false)
28945
28994
  }
28946
- ) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Box_default, { marginTop: 1, paddingX: 1, children: pauseRejected && pauseRejected.entryKey === selectedEntryKey ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.status.warning, children: t(
28995
+ ) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Box_default, { marginTop: 1, paddingX: 1, children: autoOpenNotice ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.status.warning, wrap: "truncate-end", children: autoOpenNotice }) : pauseRejected && pauseRejected.entryKey === selectedEntryKey ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.status.warning, children: t(
28947
28996
  "Pause/resume was rejected; the workflow state changed. Try again."
28948
28997
  ) }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Text, { color: theme.text.secondary, children: hints.join(" \xB7 ") }) })
28949
28998
  ]
@@ -44015,6 +44064,51 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44015
44064
  }, [pendingHistoryItemRef, setPendingAssistantItems, setPendingHistoryItem]);
44016
44065
  const [pendingThoughtItem, pendingThoughtItemRef, setPendingThoughtItem] = useStateAndRef(null);
44017
44066
  const thoughtStartTimeRef = (0, import_react156.useRef)(null);
44067
+ const thoughtGroupIdRef = (0, import_react156.useRef)(void 0);
44068
+ const lastThoughtGroupIdRef = (0, import_react156.useRef)(0);
44069
+ const commitPendingThought = (0, import_react156.useCallback)(
44070
+ (userMessageTimestamp, keepStaged = false) => {
44071
+ const pendingThought = pendingThoughtItemRef.current;
44072
+ const isThought = /* @__PURE__ */ __name((item) => item.type === "gemini_thought" || item.type === "gemini_thought_content", "isThought");
44073
+ const groupId = pendingThought && isThought(pendingThought) ? pendingThought.thoughtGroupId : void 0;
44074
+ if (groupId !== void 0) {
44075
+ setPendingAssistantItems(
44076
+ (items) => items.map(
44077
+ (item) => isThought(item) && item.thoughtGroupId === groupId ? { ...item, isStreaming: false } : item
44078
+ )
44079
+ );
44080
+ }
44081
+ const stageThought = keepStaged && pendingAssistantItemsRef.current.length > 0;
44082
+ if (!keepStaged) {
44083
+ commitPendingAssistantItems(userMessageTimestamp);
44084
+ }
44085
+ if (pendingThought) {
44086
+ const item = { ...pendingThought };
44087
+ if (isThought(item) && item.thoughtGroupId !== void 0) {
44088
+ item.isStreaming = false;
44089
+ }
44090
+ if (item.type === "gemini_thought" && thoughtStartTimeRef.current) {
44091
+ item.durationMs = Date.now() - thoughtStartTimeRef.current;
44092
+ }
44093
+ if (stageThought) {
44094
+ setPendingAssistantItems((items) => [...items, item]);
44095
+ } else {
44096
+ addItem(item, userMessageTimestamp);
44097
+ }
44098
+ }
44099
+ setPendingThoughtItem(null);
44100
+ thoughtStartTimeRef.current = null;
44101
+ thoughtGroupIdRef.current = void 0;
44102
+ },
44103
+ [
44104
+ addItem,
44105
+ commitPendingAssistantItems,
44106
+ pendingAssistantItemsRef,
44107
+ pendingThoughtItemRef,
44108
+ setPendingAssistantItems,
44109
+ setPendingThoughtItem
44110
+ ]
44111
+ );
44018
44112
  const [
44019
44113
  pendingRetryErrorItem,
44020
44114
  pendingRetryErrorItemRef,
@@ -44316,6 +44410,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44316
44410
  loopWakeupsCancelled > 0 ? loopWakeupsCancelled : void 0
44317
44411
  );
44318
44412
  logApiCancel(config, cancellationEvent);
44413
+ commitPendingThought(Date.now());
44319
44414
  if (pendingHistoryItemRef.current) {
44320
44415
  commitItemInOrder(pendingHistoryItemRef.current, Date.now());
44321
44416
  }
@@ -44362,6 +44457,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44362
44457
  streamingState,
44363
44458
  addItem,
44364
44459
  commitItemInOrder,
44460
+ commitPendingThought,
44365
44461
  setPendingHistoryItem,
44366
44462
  onCancelSubmit,
44367
44463
  pendingHistoryItemRef,
@@ -44787,6 +44883,18 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44787
44883
  if (startingNewThought) {
44788
44884
  thoughtStartTimeRef.current = Date.now();
44789
44885
  newThoughtBuffer = description;
44886
+ thoughtGroupIdRef.current = void 0;
44887
+ if (pendingAssistantItemsRef.current.length > 0) {
44888
+ for (const item of historyRef.current) {
44889
+ if ((item.type === "gemini_thought" || item.type === "gemini_thought_content") && item.thoughtGroupId !== void 0) {
44890
+ lastThoughtGroupIdRef.current = Math.min(
44891
+ lastThoughtGroupIdRef.current,
44892
+ item.thoughtGroupId
44893
+ );
44894
+ }
44895
+ }
44896
+ thoughtGroupIdRef.current = --lastThoughtGroupIdRef.current;
44897
+ }
44790
44898
  }
44791
44899
  mergeThought({
44792
44900
  ...eventValue,
@@ -44794,14 +44902,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44794
44902
  });
44795
44903
  let pendingThoughtType = startingNewThought ? "gemini_thought" : pendingThoughtItemRef.current?.type === "gemini_thought_content" ? "gemini_thought_content" : "gemini_thought";
44796
44904
  const getThoughtDurationMs = /* @__PURE__ */ __name(() => thoughtStartTimeRef.current ? Date.now() - thoughtStartTimeRef.current : 0, "getThoughtDurationMs");
44797
- const buildThoughtItem = /* @__PURE__ */ __name((type, text) => type === "gemini_thought" ? {
44905
+ const buildThoughtItem = /* @__PURE__ */ __name((type, text) => ({
44798
44906
  type,
44799
44907
  text,
44800
- durationMs: getThoughtDurationMs()
44801
- } : {
44802
- type,
44803
- text
44804
- }, "buildThoughtItem");
44908
+ ...type === "gemini_thought" ? { durationMs: getThoughtDurationMs() } : {},
44909
+ ...thoughtGroupIdRef.current !== void 0 ? { thoughtGroupId: thoughtGroupIdRef.current, isStreaming: true } : {}
44910
+ }), "buildThoughtItem");
44805
44911
  let splitPoint = findLastSafeSplitPoint(
44806
44912
  newThoughtBuffer,
44807
44913
  STREAM_PENDING_ITEM_MAX_CHARS
@@ -44812,10 +44918,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44812
44918
  newThoughtBuffer,
44813
44919
  safeSplitPoint
44814
44920
  );
44815
- addItem(
44816
- buildThoughtItem(pendingThoughtType, beforeText),
44817
- userMessageTimestamp
44818
- );
44921
+ const splitItem = buildThoughtItem(pendingThoughtType, beforeText);
44922
+ if (pendingAssistantItemsRef.current.length > 0) {
44923
+ setPendingAssistantItems((items) => [...items, splitItem]);
44924
+ } else {
44925
+ addItem(splitItem, userMessageTimestamp);
44926
+ }
44819
44927
  pendingThoughtType = "gemini_thought_content";
44820
44928
  newThoughtBuffer = afterText;
44821
44929
  splitPoint = findLastSafeSplitPoint(
@@ -44828,21 +44936,14 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
44828
44936
  );
44829
44937
  return newThoughtBuffer;
44830
44938
  },
44831
- [addItem, mergeThought, pendingThoughtItemRef, setPendingThoughtItem]
44832
- );
44833
- const commitPendingThought = (0, import_react156.useCallback)(
44834
- (userMessageTimestamp) => {
44835
- if (pendingThoughtItemRef.current) {
44836
- const item = { ...pendingThoughtItemRef.current };
44837
- if (item.type === "gemini_thought" && thoughtStartTimeRef.current) {
44838
- item.durationMs = Date.now() - thoughtStartTimeRef.current;
44839
- }
44840
- addItem(item, userMessageTimestamp);
44841
- }
44842
- setPendingThoughtItem(null);
44843
- thoughtStartTimeRef.current = null;
44844
- },
44845
- [addItem, pendingThoughtItemRef, setPendingThoughtItem]
44939
+ [
44940
+ addItem,
44941
+ mergeThought,
44942
+ pendingAssistantItemsRef,
44943
+ pendingThoughtItemRef,
44944
+ setPendingAssistantItems,
44945
+ setPendingThoughtItem
44946
+ ]
44846
44947
  );
44847
44948
  const handleUserCancelledEvent = (0, import_react156.useCallback)(
44848
44949
  (userMessageTimestamp) => {
@@ -45238,16 +45339,25 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45238
45339
  thoughtDescriptions.push(queuedThought.value.description);
45239
45340
  }
45240
45341
  }
45342
+ const description = thoughtDescriptions.join("");
45343
+ if (!turnCancelledRef.current && description.trim().length > 0 && stagePendingAssistantItem()) {
45344
+ llmMessageBuffer = "";
45345
+ }
45241
45346
  thoughtBuffer = handleThoughtEvent(
45242
45347
  {
45243
45348
  subject,
45244
- description: thoughtDescriptions.join("")
45349
+ description
45245
45350
  },
45246
45351
  thoughtBuffer,
45247
45352
  userMessageTimestamp
45248
45353
  );
45249
45354
  }
45250
45355
  }, "flushBufferedStreamEvents");
45356
+ const sealPendingThought = /* @__PURE__ */ __name(() => {
45357
+ commitPendingThought(userMessageTimestamp);
45358
+ thoughtBuffer = "";
45359
+ setThought(null);
45360
+ }, "sealPendingThought");
45251
45361
  const scheduleBufferedStreamFlush = /* @__PURE__ */ __name(() => {
45252
45362
  if (flushTimer) {
45253
45363
  return;
@@ -45280,7 +45390,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45280
45390
  case "content" /* Content */: {
45281
45391
  if (pendingThoughtItemRef.current || bufferedEvents.some((e) => e.kind === "thought")) {
45282
45392
  flushBufferedStreamEvents();
45283
- commitPendingThought(userMessageTimestamp);
45393
+ commitPendingThought(userMessageTimestamp, true);
45284
45394
  thoughtBuffer = "";
45285
45395
  }
45286
45396
  setThought((prev) => prev ? null : prev);
@@ -45304,7 +45414,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45304
45414
  }
45305
45415
  case "tool_call_request" /* ToolCallRequest */:
45306
45416
  flushBufferedStreamEvents();
45307
- commitPendingThought(userMessageTimestamp);
45417
+ commitPendingThought(userMessageTimestamp, true);
45308
45418
  thoughtBuffer = "";
45309
45419
  setThought((prev) => prev ? null : prev);
45310
45420
  if (event.value.goalContext && turnAdmission) {
@@ -45337,6 +45447,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45337
45447
  break;
45338
45448
  case "chat_compressed" /* ChatCompressed */:
45339
45449
  flushBufferedStreamEvents();
45450
+ sealPendingThought();
45340
45451
  handleChatCompressionEvent(event.value, userMessageTimestamp);
45341
45452
  llmMessageBuffer = "";
45342
45453
  assistantOutputStarted = false;
@@ -45347,6 +45458,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45347
45458
  break;
45348
45459
  case "max_session_turns" /* MaxSessionTurns */:
45349
45460
  flushBufferedStreamEvents();
45461
+ sealPendingThought();
45350
45462
  if (pendingHistoryItemRef.current) {
45351
45463
  commitItemInOrder(
45352
45464
  pendingHistoryItemRef.current,
@@ -45360,6 +45472,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45360
45472
  break;
45361
45473
  case "session_token_limit_exceeded" /* SessionTokenLimitExceeded */:
45362
45474
  flushBufferedStreamEvents();
45475
+ sealPendingThought();
45363
45476
  if (pendingHistoryItemRef.current) {
45364
45477
  commitItemInOrder(
45365
45478
  pendingHistoryItemRef.current,
@@ -45393,11 +45506,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45393
45506
  break;
45394
45507
  case "citation" /* Citation */:
45395
45508
  flushBufferedStreamEvents();
45396
- handleCitationEvent(event.value, userMessageTimestamp);
45397
45509
  if (showCitations(settings)) {
45510
+ sealPendingThought();
45398
45511
  llmMessageBuffer = "";
45399
45512
  assistantOutputStarted = false;
45400
45513
  }
45514
+ handleCitationEvent(event.value, userMessageTimestamp);
45401
45515
  break;
45402
45516
  case "loop_detected" /* LoopDetected */:
45403
45517
  flushBufferedStreamEvents();
@@ -45406,11 +45520,11 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45406
45520
  case "retry" /* Retry */:
45407
45521
  if (!event.isContinuation) {
45408
45522
  discardBufferedStreamEvents();
45523
+ commitPendingThought(userMessageTimestamp, true);
45409
45524
  setPendingAssistantItems([]);
45410
45525
  if (pendingHistoryItemRef.current) {
45411
45526
  setPendingHistoryItem(null);
45412
45527
  }
45413
- commitPendingThought(userMessageTimestamp);
45414
45528
  thoughtBuffer = "";
45415
45529
  setThought(null);
45416
45530
  llmMessageBuffer = "";
@@ -45428,11 +45542,11 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45428
45542
  break;
45429
45543
  case "model_fallback" /* ModelFallback */: {
45430
45544
  discardBufferedStreamEvents();
45545
+ commitPendingThought(userMessageTimestamp, true);
45431
45546
  setPendingAssistantItems([]);
45432
45547
  if (pendingHistoryItemRef.current) {
45433
45548
  setPendingHistoryItem(null);
45434
45549
  }
45435
- commitPendingThought(userMessageTimestamp);
45436
45550
  thoughtBuffer = "";
45437
45551
  setThought(null);
45438
45552
  llmMessageBuffer = "";
@@ -45453,6 +45567,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45453
45567
  }
45454
45568
  case "hook_system_message" /* HookSystemMessage */:
45455
45569
  flushBufferedStreamEvents();
45570
+ sealPendingThought();
45456
45571
  if (pendingHistoryItemRef.current) {
45457
45572
  commitItemInOrder(
45458
45573
  pendingHistoryItemRef.current,
@@ -45472,6 +45587,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45472
45587
  break;
45473
45588
  case "goal_settlement_failed" /* GoalSettlementFailed */:
45474
45589
  flushBufferedStreamEvents();
45590
+ sealPendingThought();
45475
45591
  if (pendingHistoryItemRef.current) {
45476
45592
  commitItemInOrder(
45477
45593
  pendingHistoryItemRef.current,
@@ -45488,6 +45604,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45488
45604
  break;
45489
45605
  case "user_prompt_submit_blocked" /* UserPromptSubmitBlocked */:
45490
45606
  flushBufferedStreamEvents();
45607
+ sealPendingThought();
45491
45608
  userPromptBlocked = true;
45492
45609
  handleUserPromptSubmitBlockedEvent(
45493
45610
  event.value,
@@ -45498,6 +45615,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45498
45615
  break;
45499
45616
  case "stop_hook_loop" /* StopHookLoop */:
45500
45617
  flushBufferedStreamEvents();
45618
+ sealPendingThought();
45501
45619
  handleStopHookLoopEvent(event.value, userMessageTimestamp);
45502
45620
  llmMessageBuffer = "";
45503
45621
  assistantOutputStarted = false;
@@ -45505,6 +45623,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45505
45623
  case "goal_state" /* GoalState */:
45506
45624
  if (event.cause && shouldDisplayGoalStateCause(event.cause)) {
45507
45625
  flushBufferedStreamEvents();
45626
+ sealPendingThought();
45508
45627
  if (pendingHistoryItemRef.current) {
45509
45628
  commitItemInOrder(
45510
45629
  pendingHistoryItemRef.current,
@@ -45532,11 +45651,12 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45532
45651
  }
45533
45652
  } finally {
45534
45653
  flushBufferedStreamEvents();
45535
- commitPendingThought(userMessageTimestamp);
45654
+ commitPendingThought(userMessageTimestamp, true);
45536
45655
  discardBufferedStreamEvents();
45537
45656
  flushBufferedStreamEventsRef.current.delete(flushBufferedStreamEvents);
45538
45657
  dualOutput?.finalizeAssistantMessage();
45539
45658
  }
45659
+ commitPendingAssistantItems(userMessageTimestamp);
45540
45660
  if (toolCallRequests.length > 0 && !signal.aborted && !loopDetectedRef.current) {
45541
45661
  const executableToolCallRequests = [];
45542
45662
  const duplicateResponses = [];
@@ -45682,6 +45802,7 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
45682
45802
  clearRetryCountdown,
45683
45803
  setThought,
45684
45804
  commitPendingThought,
45805
+ commitPendingAssistantItems,
45685
45806
  pendingHistoryItemRef,
45686
45807
  pendingAssistantItemsRef,
45687
45808
  pendingThoughtItemRef,
@@ -46687,9 +46808,72 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
46687
46808
  );
46688
46809
  const dedupedCallIds = dedupedTools.map((tc) => tc.request.callId);
46689
46810
  if (dedupedCallIds.length > 0) {
46690
- debugLogger37.warn(
46691
- `[REPAIR] Dropping ${dedupedCallIds.length} late tool result(s) whose callId already has a functionResponse in history: ${dedupedCallIds.join(", ")}`
46811
+ const synthesizedRepairCallIds = llmClient?.getSynthesizedRepairCallIds() ?? /* @__PURE__ */ new Set();
46812
+ const replaceableTools = dedupedTools.filter(
46813
+ (tc) => synthesizedRepairCallIds.has(tc.request.callId)
46814
+ );
46815
+ const replacedCallIds = /* @__PURE__ */ new Set();
46816
+ let sessionChangedDuringFinalize = false;
46817
+ if (llmClient && replaceableTools.length > 0) {
46818
+ const sessionIdAtCompletion = config.getSessionId();
46819
+ const finalizedReplaceable = await finalizeToolResponses(
46820
+ config,
46821
+ replaceableTools.map(({ request, response }) => ({
46822
+ callId: request.callId,
46823
+ toolName: request.name,
46824
+ responseParts: response.responseParts,
46825
+ persistedOutputFiles: response.persistedOutputFiles,
46826
+ artifacts: response.artifacts
46827
+ })),
46828
+ new Map(
46829
+ replaceableTools.flatMap(
46830
+ ({ request }) => request.prompt_id ? [[request.callId, request.prompt_id]] : []
46831
+ )
46832
+ )
46833
+ );
46834
+ if (config.getSessionId() === sessionIdAtCompletion) {
46835
+ finalizedReplaceable.forEach((entry, index) => {
46836
+ const { request, response, status } = replaceableTools[index];
46837
+ if (!llmClient.replaceSynthesizedToolResponse(
46838
+ entry.callId,
46839
+ entry.responseParts
46840
+ )) {
46841
+ return;
46842
+ }
46843
+ replacedCallIds.add(entry.callId);
46844
+ dualOutput?.emitToolResult(request, response);
46845
+ config.getChatRecordingService?.()?.recordToolResult?.(
46846
+ entry.responseParts,
46847
+ {
46848
+ callId: entry.callId,
46849
+ status,
46850
+ resultDisplay: response.resultDisplay,
46851
+ persistedOutputFiles: entry.persistedOutputFiles,
46852
+ artifacts: entry.artifacts,
46853
+ error: response.error,
46854
+ errorType: response.errorType,
46855
+ executionStatus: response.executionStatus
46856
+ },
46857
+ goalToolResultProvenance(request)
46858
+ );
46859
+ });
46860
+ } else {
46861
+ sessionChangedDuringFinalize = true;
46862
+ }
46863
+ }
46864
+ if (replacedCallIds.size > 0) {
46865
+ debugLogger37.warn(
46866
+ `[REPAIR] Replaced synthesized placeholder(s) with late real tool result(s) for callId(s): ${[...replacedCallIds].join(", ")}`
46867
+ );
46868
+ }
46869
+ const droppedCallIds = dedupedCallIds.filter(
46870
+ (callId) => !replacedCallIds.has(callId)
46692
46871
  );
46872
+ if (droppedCallIds.length > 0) {
46873
+ debugLogger37.warn(
46874
+ `[REPAIR] Dropping ${droppedCallIds.length} late tool result(s) whose callId already has a functionResponse in history: ${droppedCallIds.join(", ")}` + (sessionChangedDuringFinalize ? ` (the session changed while finalizing, so no placeholder was replaced)` : ``)
46875
+ );
46876
+ }
46693
46877
  for (const tc of dedupedTools) {
46694
46878
  if (tc.request.isClientInitiated) continue;
46695
46879
  if (tc.status === "cancelled") continue;
@@ -47536,9 +47720,10 @@ var useLlmStream = /* @__PURE__ */ __name((llmClient, history, addItem, config,
47536
47720
  }, [handleCompletedTools]);
47537
47721
  const pendingHistoryItems = (0, import_react156.useMemo)(
47538
47722
  () => [
47539
- // Reasoning renders above the streaming answer.
47540
- pendingThoughtItem,
47723
+ // Reasoning renders below the output staged before it and above the
47724
+ // answer still streaming.
47541
47725
  ...pendingAssistantItems,
47726
+ pendingThoughtItem,
47542
47727
  pendingHistoryItem,
47543
47728
  pendingRetryErrorItem,
47544
47729
  pendingRetryCountdownItem,