@qwen-code/qwen-code 0.19.10 → 0.19.11-nightly.20260717.f8e6e8931

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 (275) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +7 -6
  2. package/bundled/qc-helper/docs/features/approval-mode.md +2 -2
  3. package/bundled/qc-helper/docs/features/channels/dingtalk.md +30 -0
  4. package/bundled/qc-helper/docs/features/channels/overview.md +53 -17
  5. package/bundled/qc-helper/docs/features/channels/wecom.md +8 -7
  6. package/bundled/qc-helper/docs/features/sandbox.md +2 -0
  7. package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +42 -7
  8. package/bundled/qc-helper/docs/qwen-serve.md +53 -46
  9. package/bundled/review/SKILL.md +163 -403
  10. package/chunks/{MaxSizedBox-67ODZ4SZ.js → MaxSizedBox-JGTP7YJQ.js} +13 -13
  11. package/chunks/{StandaloneSessionPicker-SIPBQT5Z.js → StandaloneSessionPicker-2XQDOYZ5.js} +27 -27
  12. package/chunks/{acpAgent-VPZJXLFX.js → acpAgent-RXRJA7GD.js} +1135 -373
  13. package/chunks/{agent-Z7NWL6XL.js → agent-UQP53UWQ.js} +10 -10
  14. package/chunks/{agent-headless-73HZ6ROQ.js → agent-headless-I52OXDCK.js} +10 -10
  15. package/chunks/{anthropicContentGenerator-56U3YCP2.js → anthropicContentGenerator-HBRXJSP4.js} +76 -14
  16. package/chunks/{artifact-tool-BWZZJ42H.js → artifact-tool-MIZLXBLF.js} +1 -1
  17. package/chunks/{askUserQuestion-WU3S5A5T.js → askUserQuestion-XMJVPNWM.js} +1 -1
  18. package/chunks/{bridge-XFKW6S7Q.js → bridge-3DVRNBSF.js} +14 -16
  19. package/chunks/{ca-C2JTT2N5.js → ca-CODEN7TD.js} +5 -0
  20. package/chunks/channel-worker-group-SOUWTFHC.js +21 -0
  21. package/chunks/{channel-worker-manager-5RWKSGEU.js → channel-worker-manager-LOVSV3WW.js} +34 -10
  22. package/chunks/{channel-worker-supervisor-PCDAZN4D.js → channel-worker-supervisor-XW6MHJBQ.js} +6 -4
  23. package/chunks/{chunk-BBNVFRGD.js → chunk-3DWIFU7L.js} +1 -1
  24. package/chunks/{chunk-ZQTZXVHP.js → chunk-3KSHYS4T.js} +4 -18
  25. package/chunks/{chunk-ZKMGAFYV.js → chunk-3LS57JZI.js} +1 -1
  26. package/chunks/{chunk-B5I2IIWY.js → chunk-46Y6SSQ7.js} +5 -5
  27. package/chunks/{chunk-GDQQRV43.js → chunk-4BJVSIS3.js} +2 -2
  28. package/chunks/{chunk-L37RC7MQ.js → chunk-4HTHLSIH.js} +1 -1
  29. package/chunks/{chunk-DPFBNG72.js → chunk-4UBEB74N.js} +1 -1
  30. package/chunks/{chunk-AAR5SGMD.js → chunk-4YR7FSAM.js} +7 -5
  31. package/chunks/{chunk-OATTJGPJ.js → chunk-5CNYZ7TN.js} +7 -7
  32. package/chunks/{chunk-JSJFKYWT.js → chunk-5VWYKIMW.js} +1 -1
  33. package/chunks/{chunk-6GETGQWP.js → chunk-5WWYHNAH.js} +39 -10
  34. package/chunks/{chunk-65N2J6V2.js → chunk-6ANLV27M.js} +2 -2
  35. package/chunks/{chunk-L62SEJWY.js → chunk-6RV42SFP.js} +4 -4
  36. package/chunks/{chunk-XXJKGHZV.js → chunk-6VMOP2Z7.js} +4 -4
  37. package/chunks/{chunk-URU5UEK6.js → chunk-6WGZDD67.js} +135 -68
  38. package/chunks/{chunk-7NAWTFVY.js → chunk-6WPJRYLZ.js} +2 -2
  39. package/chunks/chunk-6WVLHULT.js +59 -0
  40. package/chunks/{chunk-N6FXRR6P.js → chunk-7ZFXHKKZ.js} +1 -1
  41. package/chunks/{chunk-E67NFMF4.js → chunk-A2HWMJVO.js} +35 -1
  42. package/chunks/{chunk-4FMG7EDJ.js → chunk-AEKHQ3E5.js} +77 -11
  43. package/chunks/{chunk-WIASPMLX.js → chunk-AH3YAJU6.js} +22 -33
  44. package/chunks/{chunk-6GKMJPOC.js → chunk-AHAH5H6D.js} +3 -3
  45. package/chunks/{chunk-3XJFUTNM.js → chunk-AVAU67KP.js} +57 -10
  46. package/chunks/{chunk-LNUXFLLJ.js → chunk-BDHYJ2MM.js} +53 -5
  47. package/chunks/{chunk-P6LART6G.js → chunk-BTSE2DUP.js} +957 -122
  48. package/chunks/{chunk-7MJAZMXK.js → chunk-BZ5D7OVV.js} +28 -77
  49. package/chunks/{chunk-WDWJ4OQJ.js → chunk-CC2UASQ4.js} +3 -3
  50. package/chunks/{chunk-WLXYAKV7.js → chunk-D7KYA6EY.js} +3 -3
  51. package/chunks/{chunk-5LROA5W4.js → chunk-DD45XVOQ.js} +3 -3
  52. package/chunks/{chunk-H3FQOPPS.js → chunk-DOPUYNXO.js} +2 -2
  53. package/chunks/{chunk-SPUYQB4T.js → chunk-DPXB3XRN.js} +1 -1
  54. package/chunks/{chunk-XLIRF7IK.js → chunk-E7ECGLZW.js} +1 -1
  55. package/chunks/{chunk-RDRVMDWV.js → chunk-EMJJBXS7.js} +10 -10
  56. package/chunks/{chunk-TXY2C3D2.js → chunk-F333XEAU.js} +1 -1
  57. package/chunks/chunk-FEOZBUMT.js +77 -0
  58. package/chunks/{chunk-YYPXHMWO.js → chunk-FEYHXPZG.js} +4 -4
  59. package/chunks/{chunk-ZRKBI3DP.js → chunk-FNX3LGAK.js} +1 -1
  60. package/chunks/chunk-FXK3QMRD.js +140 -0
  61. package/chunks/{chunk-422XAKCK.js → chunk-G5ZKRK2E.js} +2 -2
  62. package/chunks/{chunk-DK33QJ3V.js → chunk-GCRFH57X.js} +732 -13
  63. package/chunks/{chunk-EQY6POVO.js → chunk-GLEJW7T2.js} +1 -1
  64. package/chunks/{chunk-FXMC7SL2.js → chunk-I6NOSIVF.js} +1 -1
  65. package/chunks/{chunk-VBRRNQB7.js → chunk-IHJRUIWN.js} +109 -22
  66. package/chunks/{chunk-F7NXQH4Y.js → chunk-IIXEI2VE.js} +1 -1
  67. package/chunks/{chunk-2UUAIFQO.js → chunk-JGUT3LWZ.js} +5 -0
  68. package/chunks/{chunk-5EBKKSBX.js → chunk-JY74T7PW.js} +1 -1
  69. package/chunks/chunk-KSZKSE23.js +226 -0
  70. package/chunks/{chunk-MO7O5722.js → chunk-KW46DBFM.js} +35 -2
  71. package/chunks/{chunk-TISZXPAX.js → chunk-L263ROM6.js} +1 -1
  72. package/chunks/chunk-LXXMOYPL.js +22 -0
  73. package/chunks/{chunk-YX4LLZ3D.js → chunk-NABT4VOY.js} +109 -35
  74. package/chunks/{chunk-W34A5MJH.js → chunk-NROLDLP4.js} +1 -1
  75. package/chunks/{chunk-V7EQTZYR.js → chunk-O3WCEZEN.js} +191 -44
  76. package/chunks/{chunk-K4PZ5F5T.js → chunk-OWT2CAEQ.js} +1 -1
  77. package/chunks/{chunk-4YWLED2A.js → chunk-PNCWEDF6.js} +7 -4
  78. package/chunks/{chunk-WDW64OW3.js → chunk-PSDTLRAV.js} +5 -5
  79. package/chunks/{chunk-7R4DPSRA.js → chunk-R3VWUU2E.js} +1 -1
  80. package/chunks/{chunk-K7CRWKOE.js → chunk-R6AO7HBQ.js} +4617 -4012
  81. package/chunks/{chunk-6OATMEYN.js → chunk-RTV5TUYB.js} +12 -4
  82. package/chunks/{chunk-6W6DI34P.js → chunk-SE6GSFAO.js} +159 -2
  83. package/chunks/{chunk-WTSXKLG5.js → chunk-SUARMD4Q.js} +1 -1
  84. package/chunks/chunk-T4TZQJ7W.js +48 -0
  85. package/chunks/{chunk-LTNI523B.js → chunk-T7CZYIAU.js} +28 -5
  86. package/chunks/{chunk-3MX7D6QN.js → chunk-TIOE2OPE.js} +32 -4
  87. package/chunks/{chunk-TTUO4DNG.js → chunk-UF6ZTWU5.js} +75 -710
  88. package/chunks/{chunk-Q5GLXH5Q.js → chunk-UJG4VV2O.js} +5 -5
  89. package/chunks/{chunk-CJFNEBYB.js → chunk-VFEZWI6F.js} +1 -1
  90. package/chunks/{chunk-UFOKA4PR.js → chunk-VHCSIMTF.js} +114 -4
  91. package/chunks/{chunk-TQBODCFD.js → chunk-VRR65QYW.js} +250 -2
  92. package/chunks/{chunk-CUUXANEQ.js → chunk-W6J7RSCK.js} +6 -1
  93. package/chunks/{chunk-YHN5SUIJ.js → chunk-W7H223ZZ.js} +1 -1
  94. package/chunks/{chunk-WX6SD4IQ.js → chunk-WTNZ6DXB.js} +1 -1
  95. package/chunks/{chunk-GGJII3FM.js → chunk-WZJELXEU.js} +92 -3
  96. package/chunks/{chunk-OFEVHGVU.js → chunk-X5HZX4EP.js} +9 -11
  97. package/chunks/{chunk-KSO42X3Z.js → chunk-X6YQWCIJ.js} +21 -2
  98. package/chunks/{chunk-7L4XBYVW.js → chunk-XK42MWWO.js} +9 -2
  99. package/chunks/{chunk-X362TMXZ.js → chunk-XQDPCQ3A.js} +7 -5
  100. package/chunks/{chunk-YU56QGXX.js → chunk-Y3TNSHKF.js} +1 -1
  101. package/chunks/{chunk-HHEFI4RP.js → chunk-YOJGIRTD.js} +714 -109
  102. package/chunks/{chunk-CEW4HDPK.js → chunk-ZK4AMPKI.js} +2459 -350
  103. package/chunks/{chunk-SXU3KKNI.js → chunk-ZQIYGQCG.js} +251 -54
  104. package/chunks/{computer-use-IYTX45WA.js → computer-use-LTW3VB6L.js} +10 -10
  105. package/chunks/{config-utils-CFT33LTP.js → config-utils-IQQT3GCI.js} +3 -3
  106. package/chunks/{contextCommand-272V77WU.js → contextCommand-GLMC6CTP.js} +12 -12
  107. package/chunks/{create-sub-session-WNX2OQVX.js → create-sub-session-EAB2U5XW.js} +1 -1
  108. package/chunks/{create-sub-session-CBJMQLYP.js → create-sub-session-YMWQAWSN.js} +10 -10
  109. package/chunks/{cron-create-36TIFKRT.js → cron-create-GMVKSXZT.js} +1 -1
  110. package/chunks/{cron-delete-OQD3WULU.js → cron-delete-VDZKUAVK.js} +1 -1
  111. package/chunks/{cron-list-4533T2FH.js → cron-list-UG7C7RAR.js} +1 -1
  112. package/chunks/{daemon-RNGFPMAB.js → daemon-PRB64RP5.js} +303 -71
  113. package/chunks/{daemon-status-provider-L4STG5VO.js → daemon-status-provider-5OMM5JHF.js} +19 -20
  114. package/chunks/{de-2VCDRDGU.js → de-NOXPCSYN.js} +5 -0
  115. package/chunks/{dist-ERCPDVA6.js → dist-4WCQEZIN.js} +4 -51
  116. package/chunks/{dist-MOEC47TR.js → dist-DOPL5LSQ.js} +1 -1
  117. package/chunks/{dist-JZE7F6YR.js → dist-GXJVCOS7.js} +1 -1
  118. package/chunks/{dist-PHEPJLXD.js → dist-PX2ERZ6I.js} +2 -2
  119. package/chunks/{dist-HNN7DR2L.js → dist-V2YVLYOW.js} +58 -30
  120. package/chunks/{dist-3V3ZV6ML.js → dist-VYWUKURL.js} +1 -1
  121. package/chunks/{earlyInputCapture-EN4BRREQ.js → earlyInputCapture-A3WSRN4T.js} +10 -10
  122. package/chunks/{edit-OMAF2QDR.js → edit-7PG4AH27.js} +10 -10
  123. package/chunks/{en-NJCA3TAA.js → en-JFVULHTB.js} +6 -0
  124. package/chunks/{enter-worktree-BBZX52HG.js → enter-worktree-QUSB44RE.js} +10 -10
  125. package/chunks/{enterPlanMode-5NNFMBUY.js → enterPlanMode-NVSIEL7X.js} +10 -10
  126. package/chunks/{environment-7TEWMJYN.js → environment-AHHXHQTI.js} +12 -12
  127. package/chunks/{errors-I4VKVX3F.js → errors-NSWSRXC7.js} +12 -12
  128. package/chunks/{exit-worktree-FUWRJI33.js → exit-worktree-FXYEYHPL.js} +10 -10
  129. package/chunks/{exitPlanMode-IHCJ5EEI.js → exitPlanMode-JI5GK3F6.js} +10 -10
  130. package/chunks/{fast-path-ZA57TOH4.js → fast-path-X7EVDLKZ.js} +2 -2
  131. package/chunks/{fr-5F3E7WKD.js → fr-HVFNU42H.js} +5 -0
  132. package/chunks/{gemini-UOAKVXBG.js → gemini-YRLHY5KS.js} +162 -206
  133. package/chunks/{geminiContentGenerator-G6UCE6MW.js → geminiContentGenerator-SPLFPV5E.js} +1 -1
  134. package/chunks/{glob-4GJQ2UFF.js → glob-WASUBCSA.js} +10 -10
  135. package/chunks/{grep-5QSYXF2E.js → grep-DUVG3NGA.js} +10 -10
  136. package/chunks/{handleAutoUpdate-ULHNWL6R.js → handleAutoUpdate-NGE5AQ2N.js} +14 -14
  137. package/chunks/{i18n-CYDUTF6F.js → i18n-QNVR36NB.js} +11 -11
  138. package/chunks/{initializer-NRFKUGIO.js → initializer-ZY7ORPMH.js} +15 -15
  139. package/chunks/{installationInfo-WELKRHHE.js → installationInfo-4R75MFTB.js} +11 -11
  140. package/chunks/{ja-66J6B53L.js → ja-PY5AF544.js} +5 -0
  141. package/chunks/{list-JVDXEG2E.js → list-36JCMZRS.js} +18 -18
  142. package/chunks/{loadedSettingsAdapter-WAM4VUTG.js → loadedSettingsAdapter-PQIOJUSJ.js} +15 -15
  143. package/chunks/{loop-wakeup-MVUKDVCP.js → loop-wakeup-QXWZSCYM.js} +2 -2
  144. package/chunks/{ls-RXNIAQDE.js → ls-2OUTG3IZ.js} +1 -1
  145. package/chunks/{lsp-HB5LM5IL.js → lsp-4VMNXZW6.js} +1 -1
  146. package/chunks/{mcp-YHOZN3ZM.js → mcp-QXY6XA6H.js} +15 -15
  147. package/chunks/{monitor-R7XZPJHQ.js → monitor-AVEKRSY3.js} +12 -11
  148. package/chunks/{nonInteractiveCli-NSOB6D74.js → nonInteractiveCli-YWIBKX4M.js} +50 -50
  149. package/chunks/{notebook-edit-6RNKE2L2.js → notebook-edit-4SBTJX72.js} +10 -10
  150. package/chunks/{openaiContentGenerator-XNS5S64I.js → openaiContentGenerator-4EBAO7LR.js} +8 -8
  151. package/chunks/{pidfile-XE4RRR2P.js → pidfile-JMIUPXSU.js} +10 -10
  152. package/chunks/processUtils-EOINMEIH.js +29 -0
  153. package/chunks/{pt-TFZO5Y6T.js → pt-A3PRQXMU.js} +5 -0
  154. package/chunks/{qwenContentGenerator-APDPJ3VN.js → qwenContentGenerator-M7UBL3JS.js} +12 -12
  155. package/chunks/{read-file-XSUWXSR7.js → read-file-DXSEFHCV.js} +5 -5
  156. package/chunks/{read-mcp-resource-6LRTZKXI.js → read-mcp-resource-JUFHCKSC.js} +1 -1
  157. package/chunks/{record-artifact-PMDTY4OS.js → record-artifact-DWSMBXYY.js} +1 -1
  158. package/chunks/{ripGrep-APB3CDMU.js → ripGrep-VTRVFMDJ.js} +10 -10
  159. package/chunks/{ru-4L4LFHIT.js → ru-IBCWUTOC.js} +5 -0
  160. package/chunks/{run-qwen-serve-NWTGPERT.js → run-qwen-serve-P7WQDZAS.js} +59 -38
  161. package/chunks/{runtime-EIO3NQKR.js → runtime-UHYO6JGN.js} +19 -19
  162. package/chunks/{scheduler-JJDZBDRN.js → scheduler-WTK7ZLV5.js} +10 -10
  163. package/chunks/{send-message-SR4WSXP2.js → send-message-JZ752NWD.js} +2 -2
  164. package/chunks/{serve-WTIPB3EI.js → serve-AG2AOG56.js} +15 -15
  165. package/chunks/{server-NJPHQHLH.js → server-G5MM2BRI.js} +1157 -225
  166. package/chunks/{session-O4AO7FTS.js → session-NUAGEMVS.js} +51 -51
  167. package/chunks/{settings-HQNDK7TG.js → settings-VQA5PR2M.js} +14 -14
  168. package/chunks/{shell-UIXM6PWG.js → shell-X33RWGLP.js} +12 -10
  169. package/chunks/{skill-3XMB4ULV.js → skill-PHSU2OPP.js} +5 -5
  170. package/chunks/{spawnChannel-3R632QRM.js → spawnChannel-D6TZN4W7.js} +12 -13
  171. package/chunks/{src-USZKPUOC.js → src-6OJFUPTL.js} +95 -34
  172. package/chunks/{standalone-update-L5XW3D7K.js → standalone-update-ZARRW44Y.js} +12 -12
  173. package/chunks/{startInteractiveUI-CPZOL2WB.js → startInteractiveUI-C6IZRTF3.js} +176 -158
  174. package/chunks/{syntheticOutput-YKFNUQZD.js → syntheticOutput-LELY6HAI.js} +2 -2
  175. package/chunks/{task-create-NUFOHU53.js → task-create-QY3BIMNM.js} +3 -3
  176. package/chunks/{task-list-Z2IKQY3S.js → task-list-D2U47WBJ.js} +1 -1
  177. package/chunks/{task-stop-KQFIVQTJ.js → task-stop-N6E5IYLH.js} +1 -1
  178. package/chunks/{task-update-HKADXSTD.js → task-update-HJCQILLB.js} +3 -3
  179. package/chunks/{team-create-XXPRF3IQ.js → team-create-H434NQP2.js} +10 -10
  180. package/chunks/{team-delete-SDNTGZLG.js → team-delete-RCWYDRF4.js} +1 -1
  181. package/chunks/{team-plan-approval-EOTTKHDW.js → team-plan-approval-IIOHXZU6.js} +10 -10
  182. package/chunks/{theme-manager-P6UITO2L.js → theme-manager-IEOPHMX6.js} +10 -10
  183. package/chunks/{todoWrite-YNXB27GB.js → todoWrite-FKCGATPJ.js} +1 -1
  184. package/chunks/{tool-search-DDNGK2LR.js → tool-search-WIIEDALL.js} +6 -6
  185. package/chunks/{total-session-admission-PL5N7DNY.js → total-session-admission-WU3DORRW.js} +15 -17
  186. package/chunks/{trustedFolders-C5LMF3UR.js → trustedFolders-JVUTUAJ3.js} +11 -11
  187. package/chunks/update-relaunch-X5EQKCH5.js +87 -0
  188. package/chunks/{updateCheck-QTVVISH7.js → updateCheck-TGO2X735.js} +14 -12
  189. package/chunks/{validateNonInterActiveAuth-RY4RKBQG.js → validateNonInterActiveAuth-2MEUL2ME.js} +46 -46
  190. package/chunks/{version-U45RYOSD.js → version-KBGQKZWV.js} +1 -1
  191. package/chunks/{web-fetch-ZSPR3PRR.js → web-fetch-CFCWTCAP.js} +2 -3
  192. package/chunks/{workflow-TCIAQYOA.js → workflow-PAOSF4CG.js} +11 -11
  193. package/chunks/{workspace-providers-status-I3G2HYLY.js → workspace-providers-status-AYHJYSVO.js} +18 -18
  194. package/chunks/{workspace-registration-store-IH5GLZ6Y.js → workspace-registration-store-GZMR53QL.js} +1 -1
  195. package/chunks/{workspace-registry-QEKBELIX.js → workspace-registry-C2IXZWPF.js} +15 -17
  196. package/chunks/{workspace-service-ORKHGLP3.js → workspace-service-KDDAW33F.js} +20 -21
  197. package/chunks/{workspace-skills-status-D7QCNDYY.js → workspace-skills-status-WWEZBZXY.js} +16 -16
  198. package/chunks/{write-file-JGRQR5VM.js → write-file-ACN3TAIX.js} +10 -10
  199. package/chunks/{zh-FSAH32JB.js → zh-PAUNIMHQ.js} +6 -0
  200. package/chunks/{zh-TW-D2YIE2LO.js → zh-TW-GNEUIUFF.js} +6 -0
  201. package/cli-entry.js +92 -8
  202. package/cli.js +11 -11
  203. package/locales/ca.js +10 -0
  204. package/locales/de.js +10 -0
  205. package/locales/en.js +11 -0
  206. package/locales/fr.js +10 -0
  207. package/locales/ja.js +10 -0
  208. package/locales/pt.js +10 -0
  209. package/locales/ru.js +10 -0
  210. package/locales/zh-TW.js +11 -0
  211. package/locales/zh.js +11 -0
  212. package/package.json +3 -3
  213. package/web-shell/assets/{arc-CUeDlxvE.js → arc-Blc5_CnD.js} +1 -1
  214. package/web-shell/assets/{architectureDiagram-3BPJPVTR-PiUszkQA.js → architectureDiagram-3BPJPVTR-Dyv1BvGP.js} +1 -1
  215. package/web-shell/assets/{blockDiagram-GPEHLZMM-s2wYSO7e.js → blockDiagram-GPEHLZMM-CVAb8DyB.js} +1 -1
  216. package/web-shell/assets/{c4Diagram-AAUBKEIU-DyLxZoz9.js → c4Diagram-AAUBKEIU-ClHPb_6S.js} +1 -1
  217. package/web-shell/assets/channel-DkPTtnGS.js +1 -0
  218. package/web-shell/assets/{chunk-2J33WTMH-Dsdai7Tk.js → chunk-2J33WTMH-Dad9g3ZA.js} +1 -1
  219. package/web-shell/assets/{chunk-4BX2VUAB-DEosOjV7.js → chunk-4BX2VUAB-IJJSSdDs.js} +1 -1
  220. package/web-shell/assets/{chunk-55IACEB6-sNsRLTXf.js → chunk-55IACEB6-DRcc-Hl9.js} +1 -1
  221. package/web-shell/assets/{chunk-727SXJPM-DkRNZzmh.js → chunk-727SXJPM-DOCFB-6a.js} +1 -1
  222. package/web-shell/assets/{chunk-AQP2D5EJ-BrsRNpzd.js → chunk-AQP2D5EJ-CRZnSjHp.js} +1 -1
  223. package/web-shell/assets/{chunk-FMBD7UC4-CI039lpl.js → chunk-FMBD7UC4-BwUI4Yes.js} +1 -1
  224. package/web-shell/assets/{chunk-ND2GUHAM-M-pkeIfu.js → chunk-ND2GUHAM-DLy8doxd.js} +1 -1
  225. package/web-shell/assets/{chunk-QZHKN3VN-C4ckGNbH.js → chunk-QZHKN3VN-Bhz7iysj.js} +1 -1
  226. package/web-shell/assets/classDiagram-4FO5ZUOK-DBdPU8ix.js +1 -0
  227. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-DBdPU8ix.js +1 -0
  228. package/web-shell/assets/{cose-bilkent-S5V4N54A-BciKUAFq.js → cose-bilkent-S5V4N54A-jT1e8KzN.js} +1 -1
  229. package/web-shell/assets/{dagre-BM42HDAG-C1nTSgU6.js → dagre-BM42HDAG-C1veApQk.js} +1 -1
  230. package/web-shell/assets/{diagram-2AECGRRQ-BDPNWr1m.js → diagram-2AECGRRQ-C_NOwKeT.js} +1 -1
  231. package/web-shell/assets/{diagram-5GNKFQAL-CNFhTszL.js → diagram-5GNKFQAL-Bigfuz1r.js} +1 -1
  232. package/web-shell/assets/{diagram-KO2AKTUF-CjPa4p5a.js → diagram-KO2AKTUF-CpXltPpU.js} +1 -1
  233. package/web-shell/assets/{diagram-LMA3HP47-ZzPykSyG.js → diagram-LMA3HP47-DYawbYbH.js} +1 -1
  234. package/web-shell/assets/{diagram-OG6HWLK6-0UVtZ9A4.js → diagram-OG6HWLK6-D2t-ttd1.js} +1 -1
  235. package/web-shell/assets/{erDiagram-TEJ5UH35-CajDZCat.js → erDiagram-TEJ5UH35-Buc53PB5.js} +1 -1
  236. package/web-shell/assets/{flowDiagram-I6XJVG4X-BRuFBIvL.js → flowDiagram-I6XJVG4X-DwdFsCN7.js} +1 -1
  237. package/web-shell/assets/{ganttDiagram-6RSMTGT7-BevGmJqG.js → ganttDiagram-6RSMTGT7-XhiEKGoP.js} +1 -1
  238. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DvPMpBMb.js → gitGraphDiagram-PVQCEYII-D6We014a.js} +1 -1
  239. package/web-shell/assets/index-BctAmeF3.js +1143 -0
  240. package/web-shell/assets/{index-DzHwQkQq.js → index-CAWqS-bZ.js} +1 -1
  241. package/web-shell/assets/index-DLyhlZZO.css +5 -0
  242. package/web-shell/assets/{infoDiagram-5YYISTIA-Oixn7tA9.js → infoDiagram-5YYISTIA-C_iugRHQ.js} +1 -1
  243. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BgKpeg-j.js → ishikawaDiagram-YF4QCWOH-CAn9Kaix.js} +1 -1
  244. package/web-shell/assets/{journeyDiagram-JHISSGLW-74mwxIaA.js → journeyDiagram-JHISSGLW-BjDYOkEB.js} +1 -1
  245. package/web-shell/assets/{kanban-definition-UN3LZRKU-D4D6cEqA.js → kanban-definition-UN3LZRKU-Br_oI3Ob.js} +1 -1
  246. package/web-shell/assets/{linear-atZRE_L2.js → linear-BqnWHE9E.js} +1 -1
  247. package/web-shell/assets/{mermaid.core-KKudX-JC.js → mermaid.core-CT-sofSb.js} +5 -5
  248. package/web-shell/assets/{mindmap-definition-RKZ34NQL-CMCej9yG.js → mindmap-definition-RKZ34NQL-BbvrZR4B.js} +1 -1
  249. package/web-shell/assets/{pieDiagram-4H26LBE5-nhx40X7q.js → pieDiagram-4H26LBE5-gAwi3h_Q.js} +1 -1
  250. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CUmVcN3M.js → quadrantDiagram-W4KKPZXB-CONvBIuO.js} +1 -1
  251. package/web-shell/assets/{requirementDiagram-4Y6WPE33-C_vyEwyy.js → requirementDiagram-4Y6WPE33-lpkrcy1e.js} +1 -1
  252. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DU6G4VWR.js → sankeyDiagram-5OEKKPKP-Bk6FJHqb.js} +1 -1
  253. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DdeRR_KJ.js → sequenceDiagram-3UESZ5HK-B9b9bBzt.js} +1 -1
  254. package/web-shell/assets/{stateDiagram-AJRCARHV-C6iCI8ps.js → stateDiagram-AJRCARHV-JqBGC-S3.js} +1 -1
  255. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B_w4fDnm.js +1 -0
  256. package/web-shell/assets/{timeline-definition-PNZ67QCA-B_Ea8Cb7.js → timeline-definition-PNZ67QCA-CCCceXDP.js} +1 -1
  257. package/web-shell/assets/{vennDiagram-CIIHVFJN-BPUVZEJA.js → vennDiagram-CIIHVFJN-EHRnmZ09.js} +1 -1
  258. package/web-shell/assets/{wardley-L42UT6IY-BWEj0lKY.js → wardley-L42UT6IY-CYIcHx3_.js} +1 -1
  259. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BvDsdIQw.js → wardleyDiagram-YWT4CUSO-B81AuYRl.js} +1 -1
  260. package/web-shell/assets/{xychartDiagram-2RQKCTM6-crz0QhF_.js → xychartDiagram-2RQKCTM6-DOQ6E3z7.js} +1 -1
  261. package/web-shell/index.html +2 -2
  262. package/chunks/channel-worker-group-K7QKH6IG.js +0 -13
  263. package/chunks/chunk-B7NUUEXC.js +0 -311
  264. package/chunks/chunk-CARU2RR2.js +0 -24
  265. package/chunks/chunk-GYTKQYDB.js +0 -23
  266. package/chunks/chunk-LQU7EVFA.js +0 -30
  267. package/chunks/chunk-OCPBI7J5.js +0 -18
  268. package/chunks/chunk-OJAMDVF5.js +0 -66
  269. package/chunks/chunk-TEGEBB2I.js +0 -122
  270. package/web-shell/assets/channel-DkuJJ0qd.js +0 -1
  271. package/web-shell/assets/classDiagram-4FO5ZUOK-CwqHc0TB.js +0 -1
  272. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CwqHc0TB.js +0 -1
  273. package/web-shell/assets/index-Cnvv4VcI.css +0 -5
  274. package/web-shell/assets/index-D1Uyklxa.js +0 -1088
  275. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C0_6nR6C.js +0 -1
@@ -1,11 +1,11 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
3
  import {
4
- startEarlyStartupPrefetches
5
- } from "./chunk-3XJFUTNM.js";
4
+ registerMcpHotReload
5
+ } from "./chunk-FXK3QMRD.js";
6
6
  import {
7
- RELAUNCH_EXIT_CODE
8
- } from "./chunk-LQU7EVFA.js";
7
+ startEarlyStartupPrefetches
8
+ } from "./chunk-AVAU67KP.js";
9
9
  import {
10
10
  ExtensionRefreshState,
11
11
  appEvents,
@@ -16,40 +16,48 @@ import {
16
16
  loadSandboxConfig,
17
17
  parseArguments,
18
18
  validateAuthMethod
19
- } from "./chunk-CEW4HDPK.js";
20
- import "./chunk-WTSXKLG5.js";
19
+ } from "./chunk-ZK4AMPKI.js";
20
+ import {
21
+ CUSTOM_SANDBOX_IMAGE_ENV_VAR,
22
+ HOST_UPDATE_RELAUNCH_ENV_VAR,
23
+ RELAUNCH_EXIT_CODE,
24
+ SKIP_UPDATE_CHECK_ENV_VAR,
25
+ UPDATE_COMPLETE_EXIT_CODE,
26
+ UPDATE_ON_EXIT_MESSAGE,
27
+ UPDATE_RELAUNCH_EXIT_CODE
28
+ } from "./chunk-6WVLHULT.js";
29
+ import {
30
+ getInstallationInfo
31
+ } from "./chunk-GLEJW7T2.js";
32
+ import "./chunk-SUARMD4Q.js";
21
33
  import "./chunk-QHTIBUWB.js";
22
34
  import "./chunk-L573Z2QZ.js";
23
35
  import "./chunk-RXFQM6FQ.js";
24
- import "./chunk-WDW64OW3.js";
36
+ import "./chunk-PSDTLRAV.js";
25
37
  import {
26
38
  getHeadlessYoloSafetyWarning
27
39
  } from "./chunk-6H67XLET.js";
28
- import "./chunk-L62SEJWY.js";
29
- import "./chunk-65N2J6V2.js";
30
- import "./chunk-GGJII3FM.js";
40
+ import "./chunk-6RV42SFP.js";
41
+ import "./chunk-6ANLV27M.js";
42
+ import "./chunk-WZJELXEU.js";
31
43
  import "./chunk-FSA7ERJ2.js";
32
44
  import "./chunk-6RLROE6G.js";
33
45
  import "./chunk-COH43MRJ.js";
34
- import "./chunk-Q5GLXH5Q.js";
35
- import "./chunk-AAR5SGMD.js";
46
+ import "./chunk-UJG4VV2O.js";
47
+ import "./chunk-4YR7FSAM.js";
36
48
  import "./chunk-57OAHC2Y.js";
37
- import "./chunk-OATTJGPJ.js";
38
- import "./chunk-ZRKBI3DP.js";
49
+ import "./chunk-5CNYZ7TN.js";
50
+ import "./chunk-FNX3LGAK.js";
39
51
  import "./chunk-V6WHFGST.js";
40
52
  import "./chunk-W7FJ3N32.js";
41
- import "./chunk-GYTKQYDB.js";
53
+ import "./chunk-KSZKSE23.js";
42
54
  import "./chunk-TJTKSVIV.js";
43
- import "./chunk-OJAMDVF5.js";
55
+ import "./chunk-M5GB774H.js";
44
56
  import "./chunk-LXLTBIDP.js";
45
- import "./chunk-BBNVFRGD.js";
46
- import "./chunk-SXU3KKNI.js";
57
+ import "./chunk-3DWIFU7L.js";
58
+ import "./chunk-ZQIYGQCG.js";
47
59
  import "./chunk-UDXSXLER.js";
48
- import {
49
- assembleMcpServers,
50
- getPendingGatedMcpServers,
51
- getPromptableMcpServers
52
- } from "./chunk-YYPXHMWO.js";
60
+ import "./chunk-FEYHXPZG.js";
53
61
  import {
54
62
  createMinimalSettings,
55
63
  getFlattenedSchema,
@@ -57,30 +65,30 @@ import {
57
65
  getUserSettingsDir,
58
66
  initializeLlmOutputLanguage,
59
67
  loadSettings
60
- } from "./chunk-6GETGQWP.js";
68
+ } from "./chunk-5WWYHNAH.js";
61
69
  import "./chunk-RKUWKYED.js";
62
70
  import {
63
71
  initializeI18n,
64
72
  resolveLanguageSetting
65
- } from "./chunk-RDRVMDWV.js";
73
+ } from "./chunk-EMJJBXS7.js";
66
74
  import {
67
75
  SETTINGS_DIRECTORY_NAME,
68
76
  preResolveHomeEnvOverrides
69
- } from "./chunk-5EBKKSBX.js";
77
+ } from "./chunk-JY74T7PW.js";
70
78
  import "./chunk-GOXKNSDZ.js";
71
79
  import "./chunk-IDS7MSUP.js";
72
80
  import {
73
81
  ENV_CORRUPTED_PATH,
74
82
  ENV_WAS_RECOVERED
75
83
  } from "./chunk-QRUIS3DN.js";
76
- import "./chunk-4YWLED2A.js";
84
+ import "./chunk-PNCWEDF6.js";
77
85
  import "./chunk-ALGGS7UH.js";
78
86
  import "./chunk-MR3PXB6E.js";
79
87
  import {
80
88
  writeStderrLine
81
89
  } from "./chunk-YUZI3WAC.js";
82
90
  import "./chunk-XFSFZCM5.js";
83
- import "./chunk-YU56QGXX.js";
91
+ import "./chunk-Y3TNSHKF.js";
84
92
  import "./chunk-VJNBRRZG.js";
85
93
  import {
86
94
  GitWorktreeService,
@@ -99,49 +107,46 @@ import {
99
107
  worktreeBranchForSlug,
100
108
  writeWorktreeSession,
101
109
  writeWorktreeSessionMarker
102
- } from "./chunk-K7CRWKOE.js";
110
+ } from "./chunk-R6AO7HBQ.js";
111
+ import "./chunk-T4TZQJ7W.js";
103
112
  import "./chunk-H6XPXXMH.js";
104
113
  import "./chunk-5M6IDOMF.js";
105
- import "./chunk-E67NFMF4.js";
114
+ import "./chunk-A2HWMJVO.js";
106
115
  import "./chunk-RCEEXIOO.js";
107
116
  import "./chunk-KKRTYONM.js";
108
117
  import "./chunk-TV6K2FB4.js";
109
118
  import "./chunk-E2UVIFI2.js";
110
- import "./chunk-6OATMEYN.js";
111
119
  import "./chunk-XU457J4V.js";
112
120
  import "./chunk-VDDGDZMA.js";
113
121
  import "./chunk-SPJQO2CE.js";
114
122
  import "./chunk-SZRN75WQ.js";
115
123
  import "./chunk-HTO4JFDZ.js";
116
124
  import "./chunk-CPBF7KYF.js";
117
- import "./chunk-TXY2C3D2.js";
125
+ import "./chunk-F333XEAU.js";
118
126
  import "./chunk-6AM5D4ME.js";
119
127
  import "./chunk-2Z5UX4KI.js";
120
128
  import "./chunk-ARKANCNX.js";
121
129
  import "./chunk-L5U3ELZX.js";
122
130
  import "./chunk-TYLOFD2U.js";
123
131
  import {
124
- getMCPServerStatus,
125
132
  logUserPrompt,
126
133
  uiTelemetryService
127
- } from "./chunk-P6LART6G.js";
134
+ } from "./chunk-BTSE2DUP.js";
128
135
  import "./chunk-4WKAA4KS.js";
129
136
  import "./chunk-CR3C7WXL.js";
130
- import "./chunk-CARU2RR2.js";
137
+ import "./chunk-RTV5TUYB.js";
131
138
  import "./chunk-VGC4I5JJ.js";
132
139
  import "./chunk-FBU7WRZI.js";
133
140
  import "./chunk-Y66VOBRP.js";
134
- import "./chunk-WX6SD4IQ.js";
135
- import {
136
- require_fast_deep_equal
137
- } from "./chunk-2UUAIFQO.js";
141
+ import "./chunk-WTNZ6DXB.js";
142
+ import "./chunk-JGUT3LWZ.js";
138
143
  import "./chunk-OKAIGAYW.js";
139
144
  import "./chunk-ZPAHLFZU.js";
140
145
  import "./chunk-JESCGQM3.js";
141
146
  import "./chunk-WIEO4CWB.js";
142
147
  import "./chunk-XVNQMZ2I.js";
143
- import "./chunk-B7NUUEXC.js";
144
- import "./chunk-TQBODCFD.js";
148
+ import "./chunk-FEOZBUMT.js";
149
+ import "./chunk-VRR65QYW.js";
145
150
  import "./chunk-A4UCTEB5.js";
146
151
  import "./chunk-XWRJCPHC.js";
147
152
  import "./chunk-4LD5APFL.js";
@@ -170,7 +175,7 @@ import {
170
175
  cleanupCheckpoints,
171
176
  registerCleanup,
172
177
  runExitCleanup
173
- } from "./chunk-TISZXPAX.js";
178
+ } from "./chunk-L263ROM6.js";
174
179
  import "./chunk-75DOP5OR.js";
175
180
  import "./chunk-DMTGGOSA.js";
176
181
  import "./chunk-YQ3U5MUC.js";
@@ -507,115 +512,11 @@ var SettingsWatcher = class _SettingsWatcher {
507
512
  }
508
513
  };
509
514
 
510
- // packages/cli/src/config/hot-reload.ts
511
- init_esbuild_shims();
512
- var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
513
- var debugLogger2 = createDebugLogger("MCP_HOT_RELOAD");
514
- function mcpServersEqual(a, b) {
515
- return (0, import_fast_deep_equal.default)(a ?? {}, b ?? {});
516
- }
517
- __name(mcpServersEqual, "mcpServersEqual");
518
- function mcpGatingEqual(a, b) {
519
- const norm = /* @__PURE__ */ __name((xs) => [...xs ?? []].sort(), "norm");
520
- const allowedEqual = a.allowed === void 0 === (b.allowed === void 0) && (0, import_fast_deep_equal.default)(norm(a.allowed), norm(b.allowed));
521
- return (0, import_fast_deep_equal.default)(norm(a.excluded), norm(b.excluded)) && allowedEqual && (0, import_fast_deep_equal.default)(norm(a.pending), norm(b.pending));
522
- }
523
- __name(mcpGatingEqual, "mcpGatingEqual");
524
- function recomputeMcpGating(settings, assembled, cwd, bootAllowed, isYolo) {
525
- const settingsAllowed = settings.merged.mcp?.allowed?.filter(Boolean);
526
- const excluded = settings.merged.mcp?.excluded?.filter(Boolean);
527
- let allowed = settingsAllowed;
528
- if (bootAllowed) {
529
- allowed = settingsAllowed ? settingsAllowed.filter((n) => bootAllowed.includes(n)) : [...bootAllowed];
530
- }
531
- return {
532
- allowed,
533
- excluded: excluded && excluded.length > 0 ? excluded : void 0,
534
- pending: isYolo ? void 0 : getPendingGatedMcpServers(assembled, cwd)
535
- };
536
- }
537
- __name(recomputeMcpGating, "recomputeMcpGating");
538
- function registerMcpHotReload(watcher, settings, config, topTierMcpServers) {
539
- debugLogger2.debug("registered MCP hot-reload listener on SettingsWatcher");
540
- return watcher.addChangeListener(async (events) => {
541
- debugLogger2.debug(
542
- `settings change fired (${events.length} event(s)): ${events.map((e) => `${e.scope}:${e.changeType}`).join(", ")}`
543
- );
544
- const cwd = config.getTargetDir();
545
- const next = assembleMcpServers(
546
- settings.merged.mcpServers,
547
- cwd,
548
- topTierMcpServers
549
- );
550
- const isYolo = config.getApprovalMode() === "yolo" /* YOLO */;
551
- const nextGating = recomputeMcpGating(
552
- settings,
553
- next,
554
- cwd,
555
- config.getCliAllowedMcpServerNames(),
556
- isYolo
557
- );
558
- const prevServers = config.getSettingsMcpServers();
559
- const prevGating = config.getMcpGating();
560
- debugLogger2.debug(
561
- `assembled servers: prev=[${Object.keys(prevServers ?? {}).join(
562
- ", "
563
- )}] next=[${Object.keys(next).join(", ")}]`
564
- );
565
- debugLogger2.debug(
566
- `gating next: excluded=[${(nextGating.excluded ?? []).join(
567
- ", "
568
- )}] allowed=[${(nextGating.allowed ?? []).join(
569
- ", "
570
- )}] pending=[${(nextGating.pending ?? []).join(", ")}]`
571
- );
572
- const serversChanged = !mcpServersEqual(prevServers, next);
573
- const gatingChanged = !mcpGatingEqual(prevGating, nextGating);
574
- if (!serversChanged && !gatingChanged) {
575
- debugLogger2.debug(
576
- "no MCP-relevant change (servers + gating unchanged) \u2014 skipping reconcile"
577
- );
578
- return;
579
- }
580
- debugLogger2.debug(
581
- `MCP-relevant change detected (serversChanged=${serversChanged} gatingChanged=${gatingChanged}) \u2014 reconciling`
582
- );
583
- const promptable = getPromptableMcpServers(next, cwd);
584
- config.setExcludedMcpServers(nextGating.excluded ?? []);
585
- config.setAllowedMcpServers(nextGating.allowed);
586
- config.setPendingMcpServers(nextGating.pending);
587
- try {
588
- await config.reinitializeMcpServers(next);
589
- const finalStatuses = Object.keys(next).map((name) => `${name}=${getMCPServerStatus(name)}`).join(", ");
590
- debugLogger2.debug(
591
- `reinitializeMcpServers resolved; final statuses=[${finalStatuses}]`
592
- );
593
- } catch (err) {
594
- debugLogger2.error(
595
- `reinitializeMcpServers threw: ${err instanceof Error ? err.stack ?? err.message : String(err)}`
596
- );
597
- appEvents.emit(
598
- "log-error" /* LogError */,
599
- "Failed to reload MCP server settings; existing MCP state may be unchanged. Run with --debug for details."
600
- );
601
- }
602
- if (!isYolo && promptable.length > 0) {
603
- debugLogger2.debug(
604
- `gated servers awaiting approval \u2192 emitting ${"mcp-pending-approval-changed" /* McpPendingApprovalChanged */}: [${promptable.join(
605
- ", "
606
- )}]`
607
- );
608
- appEvents.emit("mcp-pending-approval-changed" /* McpPendingApprovalChanged */);
609
- }
610
- });
611
- }
612
- __name(registerMcpHotReload, "registerMcpHotReload");
613
-
614
515
  // packages/cli/src/config/lsp-config-watcher.ts
615
516
  init_esbuild_shims();
616
517
  import * as fs2 from "node:fs";
617
518
  import * as path2 from "node:path";
618
- var debugLogger3 = createDebugLogger("LSP_CONFIG_WATCHER");
519
+ var debugLogger2 = createDebugLogger("LSP_CONFIG_WATCHER");
619
520
  var LspConfigWatcher = class _LspConfigWatcher {
620
521
  constructor(workspaceRoot) {
621
522
  this.workspaceRoot = workspaceRoot;
@@ -638,7 +539,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
638
539
  static LISTENER_TIMEOUT_MS = 3e4;
639
540
  startWatching(listener) {
640
541
  if (this.started) return;
641
- debugLogger3.info(`Starting LSP config watcher for ${this.configPath}`);
542
+ debugLogger2.info(`Starting LSP config watcher for ${this.configPath}`);
642
543
  try {
643
544
  const watcher = watch(this.workspaceRoot, {
644
545
  ignoreInitial: true,
@@ -647,7 +548,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
647
548
  if (path2.basename(changedPath) !== ".lsp.json") return;
648
549
  this.scheduleRefresh();
649
550
  }).on("error", (error) => {
650
- debugLogger3.warn(
551
+ debugLogger2.warn(
651
552
  `LSP config watcher error for ${this.workspaceRoot}:`,
652
553
  error
653
554
  );
@@ -659,7 +560,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
659
560
  this.watcher = void 0;
660
561
  this.listener = void 0;
661
562
  this.started = false;
662
- debugLogger3.warn(
563
+ debugLogger2.warn(
663
564
  `Failed to start LSP config watcher for ${this.workspaceRoot}:`,
664
565
  error
665
566
  );
@@ -668,7 +569,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
668
569
  async stopWatching() {
669
570
  if (!this.started) return;
670
571
  this.started = false;
671
- debugLogger3.info(`Stopping LSP config watcher for ${this.configPath}`);
572
+ debugLogger2.info(`Stopping LSP config watcher for ${this.configPath}`);
672
573
  if (this.refreshTimer) {
673
574
  clearTimeout(this.refreshTimer);
674
575
  this.refreshTimer = null;
@@ -679,7 +580,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
679
580
  try {
680
581
  await this.watcher?.close();
681
582
  } catch (error) {
682
- debugLogger3.warn("LSP config watcher close error:", error);
583
+ debugLogger2.warn("LSP config watcher close error:", error);
683
584
  }
684
585
  this.watcher = void 0;
685
586
  }
@@ -691,7 +592,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
691
592
  this.refreshTimer = null;
692
593
  if (this.processing) return;
693
594
  const activeDrain = this.drainPendingChange().catch((error) => {
694
- debugLogger3.warn("LSP config watcher refresh error:", error);
595
+ debugLogger2.warn("LSP config watcher refresh error:", error);
695
596
  });
696
597
  this.activeDrain = activeDrain;
697
598
  void activeDrain.finally(() => {
@@ -727,7 +628,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
727
628
  const before = this.lastSnapshot;
728
629
  const after = this.readSnapshot();
729
630
  if (after.exists && after.canonical === void 0) {
730
- debugLogger3.warn(
631
+ debugLogger2.warn(
731
632
  `Invalid .lsp.json; keeping existing LSP runtime state.`
732
633
  );
733
634
  const notified2 = await this.notifyListener({
@@ -749,7 +650,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
749
650
  path: this.configPath,
750
651
  changeType: !before.exists && after.exists ? "created" : before.exists && !after.exists ? "deleted" : "modified"
751
652
  };
752
- debugLogger3.info(`LSP config changed: ${event.changeType} ${event.path}`);
653
+ debugLogger2.info(`LSP config changed: ${event.changeType} ${event.path}`);
753
654
  const notified = await this.notifyListener(event);
754
655
  if (notified) {
755
656
  this.lastSnapshot = after;
@@ -767,7 +668,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
767
668
  if (error.code === "ENOENT") {
768
669
  return { exists: false };
769
670
  }
770
- debugLogger3.warn("Failed to read .lsp.json:", error);
671
+ debugLogger2.warn("Failed to read .lsp.json:", error);
771
672
  return {
772
673
  exists: true,
773
674
  error: "Failed to read .lsp.json; existing LSP runtime state is unchanged."
@@ -777,7 +678,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
777
678
  const parsed = JSON.parse(raw);
778
679
  return { exists: true, canonical: canonicalize(parsed) };
779
680
  } catch (error) {
780
- debugLogger3.warn("Failed to parse .lsp.json:", error);
681
+ debugLogger2.warn("Failed to parse .lsp.json:", error);
781
682
  return {
782
683
  exists: true,
783
684
  error: "Invalid JSON in .lsp.json; existing LSP runtime state is unchanged."
@@ -814,7 +715,7 @@ var LspConfigWatcher = class _LspConfigWatcher {
814
715
  await Promise.race([listenerPromise, timeoutPromise]);
815
716
  return true;
816
717
  } catch (error) {
817
- debugLogger3.warn("LSP config change listener error:", error);
718
+ debugLogger2.warn("LSP config change listener error:", error);
818
719
  return false;
819
720
  } finally {
820
721
  if (timerId !== void 0) clearTimeout(timerId);
@@ -845,7 +746,7 @@ __name(sortJsonValue, "sortJsonValue");
845
746
  init_esbuild_shims();
846
747
  import * as fs3 from "node:fs";
847
748
  import * as path3 from "node:path";
848
- var debugLogger4 = createDebugLogger("EXTENSION_FILE_WATCHER");
749
+ var debugLogger3 = createDebugLogger("EXTENSION_FILE_WATCHER");
849
750
  var TOP_LEVEL_FILES = /* @__PURE__ */ new Set(["extension-enablement.json"]);
850
751
  var EXTENSION_FILES = /* @__PURE__ */ new Set([
851
752
  "qwen-extension.json",
@@ -911,14 +812,14 @@ var ExtensionFileWatcher = class {
911
812
  "extension files changed"
912
813
  );
913
814
  }
914
- debugLogger4.debug("Extension file event classified", {
815
+ debugLogger3.debug("Extension file event classified", {
915
816
  event,
916
817
  path: resolvedPath,
917
818
  action,
918
819
  marked
919
820
  });
920
821
  }).on("error", (error) => {
921
- debugLogger4.warn("Extension file watcher error:", error);
822
+ debugLogger3.warn("Extension file watcher error:", error);
922
823
  });
923
824
  }
924
825
  if (!fs3.existsSync(this.extensionsDir)) {
@@ -939,10 +840,10 @@ var ExtensionFileWatcher = class {
939
840
  this.mutationListenerDisposer = void 0;
940
841
  this.endPendingMutationSuppressions();
941
842
  watcher?.close().catch((error) => {
942
- debugLogger4.warn("Extension file watcher close error:", error);
843
+ debugLogger3.warn("Extension file watcher close error:", error);
943
844
  });
944
845
  bootstrapWatcher?.close().catch((error) => {
945
- debugLogger4.warn("Extension bootstrap watcher close error:", error);
846
+ debugLogger3.warn("Extension bootstrap watcher close error:", error);
946
847
  });
947
848
  }
948
849
  restartWatching() {
@@ -1016,7 +917,7 @@ var ExtensionFileWatcher = class {
1016
917
  }
1017
918
  });
1018
919
  }).on("error", (error) => {
1019
- debugLogger4.warn("Extension bootstrap watcher error:", error);
920
+ debugLogger3.warn("Extension bootstrap watcher error:", error);
1020
921
  });
1021
922
  }
1022
923
  getRefreshAction(event, changedPath) {
@@ -1130,7 +1031,7 @@ var ExtensionFileWatcher = class {
1130
1031
  const bootstrapWatcher = this.bootstrapWatcher;
1131
1032
  this.bootstrapWatcher = void 0;
1132
1033
  bootstrapWatcher?.close().catch((error) => {
1133
- debugLogger4.warn("Extension bootstrap watcher close error:", error);
1034
+ debugLogger3.warn("Extension bootstrap watcher close error:", error);
1134
1035
  });
1135
1036
  }
1136
1037
  startGenerationPolling() {
@@ -1173,7 +1074,7 @@ var ExtensionFileWatcher = class {
1173
1074
  // packages/cli/src/startup/worktreeStartup.ts
1174
1075
  init_esbuild_shims();
1175
1076
  import * as path4 from "node:path";
1176
- var debugLogger5 = createDebugLogger("WORKTREE_STARTUP");
1077
+ var debugLogger4 = createDebugLogger("WORKTREE_STARTUP");
1177
1078
  var DETACHED_HEAD = "HEAD";
1178
1079
  async function setupStartupWorktree(rawInput, options) {
1179
1080
  if (rawInput === void 0) return null;
@@ -1245,7 +1146,7 @@ async function setupStartupWorktree(rawInput, options) {
1245
1146
  error: `--worktree: failed to chdir into ${worktreePath2} (${error instanceof Error ? error.message : String(error)}).`
1246
1147
  };
1247
1148
  }
1248
- debugLogger5.debug(
1149
+ debugLogger4.debug(
1249
1150
  `setupStartupWorktree: re-attached to existing worktree at ${worktreePath2} (branch=${registered.branch})`
1250
1151
  );
1251
1152
  return {
@@ -1323,7 +1224,7 @@ async function persistStartupWorktreeSidecar(config, context) {
1323
1224
  try {
1324
1225
  previous = await readWorktreeSession(sidecarPath);
1325
1226
  } catch (error) {
1326
- debugLogger5.warn(
1227
+ debugLogger4.warn(
1327
1228
  `persistStartupWorktreeSidecar: failed to read existing sidecar at ${sidecarPath} \u2014 treating as "no previous worktree" and proceeding: ${error}`
1328
1229
  );
1329
1230
  previous = null;
@@ -1342,7 +1243,7 @@ async function persistStartupWorktreeSidecar(config, context) {
1342
1243
  context.repoRoot,
1343
1244
  context.worktreePath
1344
1245
  ]).catch((error) => {
1345
- debugLogger5.warn(
1246
+ debugLogger4.warn(
1346
1247
  `persistStartupWorktreeSidecar: failed to check owner runtime ${owner}: ${error}`
1347
1248
  );
1348
1249
  return true;
@@ -1463,10 +1364,14 @@ __name(readStdin, "readStdin");
1463
1364
  // packages/cli/src/utils/relaunch.ts
1464
1365
  init_esbuild_shims();
1465
1366
  import { spawn } from "node:child_process";
1466
- async function relaunchOnExitCode(runner) {
1367
+ async function relaunchOnExitCode(runner, options) {
1467
1368
  while (true) {
1468
1369
  try {
1469
1370
  const exitCode = await runner();
1371
+ if (exitCode === UPDATE_RELAUNCH_EXIT_CODE && options?.onUpdateRelaunch) {
1372
+ const updatedExitCode = await options.onUpdateRelaunch();
1373
+ process.exit(updatedExitCode);
1374
+ }
1470
1375
  if (exitCode !== RELAUNCH_EXIT_CODE) {
1471
1376
  process.exit(exitCode);
1472
1377
  }
@@ -1484,6 +1389,7 @@ async function relaunchAppInChildProcess(additionalNodeArgs, additionalScriptArg
1484
1389
  return;
1485
1390
  }
1486
1391
  const runner = /* @__PURE__ */ __name(() => {
1392
+ let updateOnExitRequested = false;
1487
1393
  const script = process.argv[1];
1488
1394
  const scriptArgs = process.argv.slice(2);
1489
1395
  const nodeArgs = [
@@ -1496,9 +1402,14 @@ async function relaunchAppInChildProcess(additionalNodeArgs, additionalScriptArg
1496
1402
  const newEnv = { ...process.env, QWEN_CODE_NO_RELAUNCH: "true" };
1497
1403
  process.stdin.pause();
1498
1404
  const child = spawn(process.execPath, nodeArgs, {
1499
- stdio: "inherit",
1405
+ stdio: ["inherit", "inherit", "inherit", "ipc"],
1500
1406
  env: newEnv
1501
1407
  });
1408
+ child.on("message", (message) => {
1409
+ if (typeof message === "object" && message !== null && "type" in message && message.type === UPDATE_ON_EXIT_MESSAGE) {
1410
+ updateOnExitRequested = true;
1411
+ }
1412
+ });
1502
1413
  try {
1503
1414
  options?.afterSpawn?.();
1504
1415
  } catch (err) {
@@ -1509,11 +1420,20 @@ async function relaunchAppInChildProcess(additionalNodeArgs, additionalScriptArg
1509
1420
  child.on("error", reject);
1510
1421
  child.on("close", (code) => {
1511
1422
  process.stdin.resume();
1512
- resolve3(code ?? 1);
1423
+ const exitCode = code ?? 1;
1424
+ if (exitCode === 0 && updateOnExitRequested && options?.onUpdateRelaunch) {
1425
+ updateOnExitRequested = false;
1426
+ void Promise.resolve(options.onUpdateRelaunch()).then(
1427
+ (updatedExitCode) => resolve3(updatedExitCode),
1428
+ reject
1429
+ );
1430
+ return;
1431
+ }
1432
+ resolve3(exitCode);
1513
1433
  });
1514
1434
  });
1515
1435
  }, "runner");
1516
- await relaunchOnExitCode(runner);
1436
+ await relaunchOnExitCode(runner, options);
1517
1437
  }
1518
1438
  __name(relaunchAppInChildProcess, "relaunchAppInChildProcess");
1519
1439
 
@@ -1607,6 +1527,18 @@ var BUILTIN_SEATBELT_PROFILES = [
1607
1527
  "restrictive-closed",
1608
1528
  "restrictive-proxied"
1609
1529
  ];
1530
+ function getSandboxPassthroughEnvArgs(env = process.env) {
1531
+ return [
1532
+ "QWEN_DEBUG_LOG_FILE",
1533
+ "QWEN_CODE_LEGACY_MCP_BLOCKING",
1534
+ SKIP_UPDATE_CHECK_ENV_VAR,
1535
+ CUSTOM_SANDBOX_IMAGE_ENV_VAR,
1536
+ HOST_UPDATE_RELAUNCH_ENV_VAR
1537
+ ].flatMap(
1538
+ (envVar) => env[envVar] === void 0 ? [] : ["--env", `${envVar}=${env[envVar]}`]
1539
+ );
1540
+ }
1541
+ __name(getSandboxPassthroughEnvArgs, "getSandboxPassthroughEnvArgs");
1610
1542
  function resolveSeatbeltProfileFile(profile, importMetaUrl = import.meta.url) {
1611
1543
  if (!BUILTIN_SEATBELT_PROFILES.includes(profile)) {
1612
1544
  return path6.join(SETTINGS_DIRECTORY_NAME, `sandbox-macos-${profile}.sb`);
@@ -2013,14 +1945,7 @@ async function start_sandbox(config, nodeArgs = [], cliConfig, cliArgs = []) {
2013
1945
  `QWEN_CODE_TEST_VAR=${process.env["QWEN_CODE_TEST_VAR"]}`
2014
1946
  );
2015
1947
  }
2016
- for (const envVar of [
2017
- "QWEN_DEBUG_LOG_FILE",
2018
- "QWEN_CODE_LEGACY_MCP_BLOCKING"
2019
- ]) {
2020
- if (process.env[envVar] !== void 0) {
2021
- args.push("--env", `${envVar}=${process.env[envVar]}`);
2022
- }
2023
- }
1948
+ args.push(...getSandboxPassthroughEnvArgs());
2024
1949
  if (process.env["QWEN_CODE_MCP_APPROVALS_PATH"]) {
2025
1950
  args.push(
2026
1951
  "--env",
@@ -2432,7 +2357,7 @@ function initializeWarningHandler() {
2432
2357
  __name(initializeWarningHandler, "initializeWarningHandler");
2433
2358
 
2434
2359
  // packages/cli/src/gemini.tsx
2435
- var debugLogger6 = createDebugLogger("STARTUP");
2360
+ var debugLogger5 = createDebugLogger("STARTUP");
2436
2361
  function clearCorruptionEnvVars() {
2437
2362
  delete process.env[ENV_CORRUPTED_PATH];
2438
2363
  delete process.env[ENV_WAS_RECOVERED];
@@ -2511,7 +2436,7 @@ function installInteractiveSignalHandlers(wasRaw) {
2511
2436
  }
2512
2437
  cleanupStarted = true;
2513
2438
  void runExitCleanup().catch((error) => {
2514
- debugLogger6.error(`Error during ${signal} cleanup:`, error);
2439
+ debugLogger5.error(`Error during ${signal} cleanup:`, error);
2515
2440
  }).finally(() => {
2516
2441
  process.exit(getSignalExitCode(signal));
2517
2442
  });
@@ -2543,6 +2468,10 @@ async function main() {
2543
2468
  preResolveHomeEnvOverrides();
2544
2469
  let argv = await parseArguments();
2545
2470
  profileCheckpoint("after_parse_arguments");
2471
+ if ((argv.acp || argv.experimentalAcp) && process.env["QWEN_CODE_SCRUB_ELECTRON_RUN_AS_NODE"] === "1") {
2472
+ delete process.env["ELECTRON_RUN_AS_NODE"];
2473
+ delete process.env["QWEN_CODE_SCRUB_ELECTRON_RUN_AS_NODE"];
2474
+ }
2546
2475
  if (isBareMode(argv.bare)) {
2547
2476
  process.env[QWEN_CODE_SIMPLE_ENV_VAR] = "1";
2548
2477
  }
@@ -2566,7 +2495,7 @@ async function main() {
2566
2495
  await initializeI18n(
2567
2496
  resolveLanguageSetting(settings.merged.general?.language)
2568
2497
  );
2569
- const { handleList: handleListExtensions } = await import("./list-JVDXEG2E.js");
2498
+ const { handleList: handleListExtensions } = await import("./list-36JCMZRS.js");
2570
2499
  await handleListExtensions();
2571
2500
  process.exit(0);
2572
2501
  }
@@ -2580,7 +2509,7 @@ async function main() {
2580
2509
  dns.setDefaultResultOrder(
2581
2510
  validateDnsResolutionOrder(settings.merged.advanced?.dnsResolutionOrder)
2582
2511
  );
2583
- const { themeManager, AUTO_THEME_NAME } = await import("./theme-manager-P6UITO2L.js");
2512
+ const { themeManager, AUTO_THEME_NAME } = await import("./theme-manager-IEOPHMX6.js");
2584
2513
  themeManager.loadCustomThemes(settings.merged.ui?.customThemes);
2585
2514
  const configuredTheme = settings.merged.ui?.theme;
2586
2515
  if (configuredTheme && configuredTheme !== AUTO_THEME_NAME) {
@@ -2592,7 +2521,30 @@ async function main() {
2592
2521
  }
2593
2522
  if (!process.env["SANDBOX"]) {
2594
2523
  const memoryArgs = settings.merged.advanced?.autoConfigureMemory ? getNodeMemoryArgs(isDebugMode3) : [];
2524
+ const updateProjectRoot = process.cwd();
2525
+ const onUpdateRelaunch = /* @__PURE__ */ __name(async () => {
2526
+ await initializeI18n(
2527
+ resolveLanguageSetting(settings.merged.general?.language)
2528
+ );
2529
+ const { updateBeforeRelaunch } = await import("./update-relaunch-X5EQKCH5.js");
2530
+ const shouldRelaunch = await updateBeforeRelaunch(
2531
+ settings,
2532
+ updateProjectRoot
2533
+ );
2534
+ return shouldRelaunch ? UPDATE_COMPLETE_EXIT_CODE : 0;
2535
+ }, "onUpdateRelaunch");
2595
2536
  const sandboxConfig = await loadSandboxConfig(settings.merged, argv);
2537
+ const customSandboxImage = argv.sandboxImage ?? process.env["QWEN_SANDBOX_IMAGE"] ?? settings.merged.tools?.sandboxImage;
2538
+ if (sandboxConfig && sandboxConfig.command !== "sandbox-exec" && customSandboxImage) {
2539
+ process.env[CUSTOM_SANDBOX_IMAGE_ENV_VAR] = sandboxConfig.image;
2540
+ } else if (sandboxConfig && sandboxConfig.command !== "sandbox-exec") {
2541
+ const hostInstallationInfo = getInstallationInfo(updateProjectRoot, true);
2542
+ process.env[HOST_UPDATE_RELAUNCH_ENV_VAR] = String(
2543
+ Boolean(
2544
+ hostInstallationInfo.updateCommand || hostInstallationInfo.isStandalone && hostInstallationInfo.standaloneDir
2545
+ )
2546
+ );
2547
+ }
2596
2548
  if (sandboxConfig) {
2597
2549
  const partialConfig = await loadCliConfig(
2598
2550
  settings.merged,
@@ -2664,12 +2616,16 @@ ${finalArgs[promptIndex + 1]}`;
2664
2616
  sessionId
2665
2617
  ) : injectStdinIntoArgs(process.argv, stdinData);
2666
2618
  await relaunchOnExitCode(
2667
- () => start_sandbox(sandboxConfig, memoryArgs, partialConfig, sandboxArgs)
2619
+ () => start_sandbox(sandboxConfig, memoryArgs, partialConfig, sandboxArgs),
2620
+ {
2621
+ onUpdateRelaunch
2622
+ }
2668
2623
  );
2669
2624
  process.exit(0);
2670
2625
  } else {
2671
2626
  await relaunchAppInChildProcess(memoryArgs, [], {
2672
- afterSpawn: clearCorruptionEnvVars
2627
+ afterSpawn: clearCorruptionEnvVars,
2628
+ onUpdateRelaunch
2673
2629
  });
2674
2630
  }
2675
2631
  }
@@ -2730,7 +2686,7 @@ ${finalArgs[promptIndex + 1]}`;
2730
2686
  );
2731
2687
  let resolvedSessionId;
2732
2688
  if (argv.resume === "") {
2733
- const { showResumeSessionPicker } = await import("./StandaloneSessionPicker-SIPBQT5Z.js");
2689
+ const { showResumeSessionPicker } = await import("./StandaloneSessionPicker-2XQDOYZ5.js");
2734
2690
  resolvedSessionId = await showResumeSessionPicker();
2735
2691
  } else if (!isValidSessionId(argv.resume)) {
2736
2692
  const sessionService = new SessionService(process.cwd());
@@ -2741,7 +2697,7 @@ ${finalArgs[promptIndex + 1]}`;
2741
2697
  writeStderrLine(
2742
2698
  `Multiple sessions found with title "${argv.resume}". Please select one:`
2743
2699
  );
2744
- const { showResumeSessionPicker } = await import("./StandaloneSessionPicker-SIPBQT5Z.js");
2700
+ const { showResumeSessionPicker } = await import("./StandaloneSessionPicker-2XQDOYZ5.js");
2745
2701
  resolvedSessionId = await showResumeSessionPicker(
2746
2702
  process.cwd(),
2747
2703
  matches
@@ -2829,7 +2785,7 @@ ${finalArgs[promptIndex + 1]}`;
2829
2785
  )
2830
2786
  );
2831
2787
  } catch (error) {
2832
- debugLogger6.warn(
2788
+ debugLogger5.warn(
2833
2789
  `--worktree sidecar persist failed (non-fatal, notice preserved): ${error instanceof Error ? error.message : String(error)}`
2834
2790
  );
2835
2791
  }
@@ -2860,7 +2816,7 @@ ${finalArgs[promptIndex + 1]}`;
2860
2816
  registerCleanup(installInteractiveSignalHandlers(wasRaw));
2861
2817
  }
2862
2818
  if (config.isInteractive() && !wasRaw && process.stdin.isTTY) {
2863
- const { startEarlyInputCapture, stopAndGetCapturedInput } = await import("./earlyInputCapture-EN4BRREQ.js");
2819
+ const { startEarlyInputCapture, stopAndGetCapturedInput } = await import("./earlyInputCapture-A3WSRN4T.js");
2864
2820
  const { detectAndEnableKittyProtocol } = await import("./kittyProtocolDetector-HCNNKJTI.js");
2865
2821
  process.stdin.setRawMode(true);
2866
2822
  startEarlyInputCapture();
@@ -2868,16 +2824,16 @@ ${finalArgs[promptIndex + 1]}`;
2868
2824
  kittyProtocolDetectionComplete = detectAndEnableKittyProtocol();
2869
2825
  if (!configuredTheme || configuredTheme === AUTO_THEME_NAME) {
2870
2826
  themeAutoDetectionComplete = themeManager.resolveAutoThemeAsync().catch((err) => {
2871
- debugLogger6.warn("Async theme auto-detection failed:", err);
2827
+ debugLogger5.warn("Async theme auto-detection failed:", err);
2872
2828
  });
2873
2829
  }
2874
2830
  }
2875
2831
  if (config.isInteractive()) {
2876
- const { setMaxSizedBoxDebugging } = await import("./MaxSizedBox-67ODZ4SZ.js");
2832
+ const { setMaxSizedBoxDebugging } = await import("./MaxSizedBox-JGTP7YJQ.js");
2877
2833
  setMaxSizedBoxDebugging(isDebugMode3);
2878
2834
  }
2879
2835
  const inputFormat = process.stdin.isTTY ? "text" /* TEXT */ : typeof config.getInputFormat === "function" ? config.getInputFormat() : "text" /* TEXT */;
2880
- const { initializeApp } = await import("./initializer-NRFKUGIO.js");
2836
+ const { initializeApp } = await import("./initializer-ZY7ORPMH.js");
2881
2837
  let input = config.getQuestion();
2882
2838
  const hasRemoteInput = Boolean(config.getInputFile?.());
2883
2839
  const deferIdeConnection = config.isInteractive() && !config.getExperimentalZedIntegration() && !input && !hasRemoteInput;
@@ -2886,7 +2842,7 @@ ${finalArgs[promptIndex + 1]}`;
2886
2842
  });
2887
2843
  profileCheckpoint("after_initialize_app");
2888
2844
  if (config.getExperimentalZedIntegration()) {
2889
- const { runAcpAgent } = await import("./acpAgent-VPZJXLFX.js");
2845
+ const { runAcpAgent } = await import("./acpAgent-RXRJA7GD.js");
2890
2846
  await runAcpAgent(config, settings, argv);
2891
2847
  await runExitCleanup();
2892
2848
  process.exit(0);
@@ -2925,7 +2881,7 @@ ${finalArgs[promptIndex + 1]}`;
2925
2881
  setInteractiveMode(true);
2926
2882
  await kittyProtocolDetectionComplete;
2927
2883
  await themeAutoDetectionComplete;
2928
- const { startInteractiveUI } = await import("./startInteractiveUI-CPZOL2WB.js");
2884
+ const { startInteractiveUI } = await import("./startInteractiveUI-C6IZRTF3.js");
2929
2885
  await startInteractiveUI(
2930
2886
  config,
2931
2887
  settings,
@@ -2986,7 +2942,7 @@ ${finalArgs[promptIndex + 1]}`;
2986
2942
  ${input}`;
2987
2943
  }
2988
2944
  }
2989
- const { validateNonInteractiveAuth } = await import("./validateNonInterActiveAuth-RY4RKBQG.js");
2945
+ const { validateNonInteractiveAuth } = await import("./validateNonInterActiveAuth-2MEUL2ME.js");
2990
2946
  const nonInteractiveConfig = await validateNonInteractiveAuth(
2991
2947
  settings.merged.security?.auth?.useExternal,
2992
2948
  config,
@@ -2995,7 +2951,7 @@ ${input}`;
2995
2951
  const prompt_id = createNonInteractivePromptId(config.getSessionId());
2996
2952
  if (inputFormat === "stream-json" /* STREAM_JSON */) {
2997
2953
  const trimmedInput = (input ?? "").trim();
2998
- const { runNonInteractiveStreamJson } = await import("./session-O4AO7FTS.js");
2954
+ const { runNonInteractiveStreamJson } = await import("./session-NUAGEMVS.js");
2999
2955
  await runNonInteractiveStreamJson(
3000
2956
  nonInteractiveConfig,
3001
2957
  trimmedInput.length > 0 ? trimmedInput : "",
@@ -3018,8 +2974,8 @@ ${input}`;
3018
2974
  auth_type: config.getContentGeneratorConfig()?.authType,
3019
2975
  prompt_length: input.length
3020
2976
  });
3021
- debugLogger6.debug(`Session ID: ${config.getSessionId()}`);
3022
- const { runNonInteractive } = await import("./nonInteractiveCli-NSOB6D74.js");
2977
+ debugLogger5.debug(`Session ID: ${config.getSessionId()}`);
2978
+ const { runNonInteractive } = await import("./nonInteractiveCli-YWIBKX4M.js");
3023
2979
  const exitCode = await runNonInteractive(
3024
2980
  nonInteractiveConfig,
3025
2981
  settings,
@@ -3043,16 +2999,16 @@ function registerLspHotReload(config, registerCleanup2) {
3043
2999
  return;
3044
3000
  }
3045
3001
  const lspConfigWatcher = new LspConfigWatcher(config.getProjectRoot());
3046
- debugLogger6.info(
3002
+ debugLogger5.info(
3047
3003
  `Registering LSP config hot reload watcher for ${config.getProjectRoot()}`
3048
3004
  );
3049
3005
  lspConfigWatcher.startWatching(async (event) => {
3050
3006
  if (event.changeType === "invalid") {
3051
- debugLogger6.warn(`Invalid LSP config file ${event.path}: ${event.error}`);
3007
+ debugLogger5.warn(`Invalid LSP config file ${event.path}: ${event.error}`);
3052
3008
  appEvents.emit("log-error" /* LogError */, event.error);
3053
3009
  return;
3054
3010
  }
3055
- debugLogger6.info(
3011
+ debugLogger5.info(
3056
3012
  `Reloading LSP server settings: changeType=${event.changeType}, path=${event.path}`
3057
3013
  );
3058
3014
  let errorReported = false;
@@ -3060,7 +3016,7 @@ function registerLspHotReload(config, registerCleanup2) {
3060
3016
  const result = await reinitializeLsp();
3061
3017
  if (result) {
3062
3018
  const failedServers = getRuntimeReloadFailedNames(result.reconcile);
3063
- debugLogger6.info(
3019
+ debugLogger5.info(
3064
3020
  `Reloaded LSP server settings: added=${formatRuntimeReloadNames(
3065
3021
  result.reconcile.added
3066
3022
  )}, removed=${formatRuntimeReloadNames(
@@ -3092,13 +3048,13 @@ function registerLspHotReload(config, registerCleanup2) {
3092
3048
  throw new Error(message);
3093
3049
  }
3094
3050
  } else {
3095
- debugLogger6.info(
3051
+ debugLogger5.info(
3096
3052
  "Skipped LSP server settings reload because LSP is disabled or no client is available"
3097
3053
  );
3098
3054
  }
3099
3055
  appEvents.emit("lsp-status-changed" /* LspStatusChanged */);
3100
3056
  } catch (error) {
3101
- debugLogger6.warn("Failed to reload LSP server settings:", error);
3057
+ debugLogger5.warn("Failed to reload LSP server settings:", error);
3102
3058
  if (!errorReported) {
3103
3059
  const message = error instanceof Error ? `Failed to reload LSP server settings: ${error.message}. Some LSP servers may have been partially updated. Run with --debug for details.` : "Failed to reload LSP server settings; some LSP servers may have been partially updated. Run with --debug for details.";
3104
3060
  appEvents.emit("log-error" /* LogError */, message);