@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,31 +1,31 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
3
  import {
4
- formatAcpModelId,
4
+ buildAcpModelOptions,
5
5
  getAuthTypeFromEnv,
6
+ getCurrentAcpModelId,
6
7
  parseAcpBaseModelId,
7
8
  resolveCliGenerationConfig,
8
9
  sanitizeProviderBaseUrl
9
- } from "./chunk-GGJII3FM.js";
10
+ } from "./chunk-WZJELXEU.js";
10
11
  import {
11
12
  snapshotProcessEnv
12
- } from "./chunk-ZKMGAFYV.js";
13
+ } from "./chunk-3LS57JZI.js";
13
14
  import {
14
15
  STATUS_SCHEMA_VERSION
15
- } from "./chunk-CUUXANEQ.js";
16
+ } from "./chunk-W6J7RSCK.js";
16
17
  import {
17
18
  loadSettings
18
- } from "./chunk-6GETGQWP.js";
19
+ } from "./chunk-5WWYHNAH.js";
19
20
  import {
20
- ModelsConfig,
21
- resolveProviderProtocol
22
- } from "./chunk-K7CRWKOE.js";
21
+ ModelsConfig
22
+ } from "./chunk-R6AO7HBQ.js";
23
23
  import {
24
24
  APPROVAL_MODES
25
- } from "./chunk-TXY2C3D2.js";
25
+ } from "./chunk-F333XEAU.js";
26
26
  import {
27
27
  tokenLimit
28
- } from "./chunk-B7NUUEXC.js";
28
+ } from "./chunk-VRR65QYW.js";
29
29
  import {
30
30
  createDebugLogger
31
31
  } from "./chunk-7NFB7LBQ.js";
@@ -75,17 +75,24 @@ function buildWorkspaceProvidersStatus(workspaceCwd, acpChannelLive, options) {
75
75
  const currentAuth = selectedAuthType;
76
76
  const currentModelId = (resolvedCliConfig.model || modelsConfig.getModel() || "").trim();
77
77
  const hasCurrentModel = currentModelId.length > 0;
78
- const currentAcpModelId = hasCurrentModel && currentAuth ? formatAcpModelId(currentModelId, currentAuth) : currentModelId || void 0;
79
- const currentBaseUrl = resolvedCliConfig.sources["baseUrl"] ? resolvedCliConfig.baseUrl || void 0 : void 0;
78
+ const modelCameFromSettings = !argv.model && settings.model?.name?.trim() === currentModelId;
79
+ const currentBaseUrl = modelCameFromSettings && settings.model?.baseUrl !== void 0 ? settings.model.baseUrl || void 0 : resolvedCliConfig.sources["baseUrl"] ? resolvedCliConfig.baseUrl || void 0 : void 0;
80
+ const currentRegistryBaseUrl = modelCameFromSettings && currentAuth ? settings.model?.baseUrl !== void 0 ? settings.model.baseUrl || null : modelsConfig.getResolvedModel(currentAuth, currentModelId)?.registryBaseUrl ?? null : void 0;
81
+ const modelOptions = buildAcpModelOptions(
82
+ modelsConfig.getAllConfiguredModels()
83
+ );
84
+ const currentAcpModelId = hasCurrentModel ? getCurrentAcpModelId(
85
+ modelOptions,
86
+ currentModelId,
87
+ currentAuth,
88
+ currentRegistryBaseUrl
89
+ ) : void 0;
80
90
  const fastModelId = typeof settings.fastModel === "string" && settings.fastModel.length > 0 ? settings.fastModel : void 0;
81
91
  const visionModelId = typeof settings.visionModel === "string" && settings.visionModel.length > 0 ? settings.visionModel : void 0;
82
92
  const approvalMode = resolveApprovalMode(settings);
83
93
  const providers = /* @__PURE__ */ new Map();
84
- const explicitModelBaseUrls = buildExplicitModelBaseUrls(
85
- settings.modelProviders,
86
- settings.providerProtocol
87
- );
88
- for (const model of modelsConfig.getAllConfiguredModels().filter(isMainSelectableModel)) {
94
+ for (const option of modelOptions) {
95
+ const { model, effectiveModelId, modelId } = option;
89
96
  if (model.isRuntimeModel) continue;
90
97
  const authType = String(model.authType);
91
98
  let provider = providers.get(authType);
@@ -99,15 +106,7 @@ function buildWorkspaceProvidersStatus(workspaceCwd, acpChannelLive, options) {
99
106
  };
100
107
  providers.set(authType, provider);
101
108
  }
102
- const effectiveModelId = model.id;
103
- const modelId = formatAcpModelId(effectiveModelId, model.authType);
104
- const isCurrent = currentAuth === model.authType && hasCurrentModel && matchesCurrentModel(currentModelId, effectiveModelId, modelId) && matchesCurrentBaseUrl(
105
- currentBaseUrl,
106
- model.baseUrl,
107
- model.baseUrl !== void 0 && explicitModelBaseUrls.has(
108
- modelBaseUrlKey(authType, effectiveModelId, model.baseUrl)
109
- )
110
- );
109
+ const isCurrent = currentAuth === model.authType && currentAcpModelId === modelId;
111
110
  const providerModel = {
112
111
  modelId,
113
112
  baseModelId: parseAcpBaseModelId(effectiveModelId),
@@ -168,7 +167,7 @@ function buildWorkspaceProvidersStatus(workspaceCwd, acpChannelLive, options) {
168
167
  __name(buildWorkspaceProvidersStatus, "buildWorkspaceProvidersStatus");
169
168
  function resolveApprovalMode(settings) {
170
169
  const value = settings.tools?.approvalMode;
171
- if (typeof value !== "string") return "default" /* DEFAULT */;
170
+ if (typeof value !== "string") return "auto" /* AUTO */;
172
171
  const normalized = value.trim().toLowerCase().replaceAll("_", "-");
173
172
  const mode = normalized === "autoedit" ? "auto-edit" /* AUTO_EDIT */ : normalized;
174
173
  if (APPROVAL_MODES.includes(mode)) {
@@ -176,60 +175,12 @@ function resolveApprovalMode(settings) {
176
175
  }
177
176
  if (value.trim().length > 0) {
178
177
  debugLogger.warn(
179
- `[workspace-providers-status] unrecognized approvalMode "${value}", falling back to default`
178
+ `[workspace-providers-status] unrecognized approvalMode "${value}", falling back to auto`
180
179
  );
181
180
  }
182
- return "default" /* DEFAULT */;
181
+ return "auto" /* AUTO */;
183
182
  }
184
183
  __name(resolveApprovalMode, "resolveApprovalMode");
185
- function isMainSelectableModel(model) {
186
- return model.fastOnly !== true && model.voiceOnly !== true;
187
- }
188
- __name(isMainSelectableModel, "isMainSelectableModel");
189
- function matchesCurrentModel(currentModelId, baseModelId, acpModelId) {
190
- return currentModelId === baseModelId || currentModelId === acpModelId;
191
- }
192
- __name(matchesCurrentModel, "matchesCurrentModel");
193
- function matchesCurrentBaseUrl(currentBaseUrl, modelBaseUrl, modelHasExplicitBaseUrl) {
194
- if (!currentBaseUrl) return !modelHasExplicitBaseUrl;
195
- return currentBaseUrl === modelBaseUrl;
196
- }
197
- __name(matchesCurrentBaseUrl, "matchesCurrentBaseUrl");
198
- function buildExplicitModelBaseUrls(modelProviders, providerProtocol) {
199
- const baseUrls = /* @__PURE__ */ new Set();
200
- if (!modelProviders) return baseUrls;
201
- for (const [providerId, providerConfig] of Object.entries(modelProviders)) {
202
- const authType = resolveProviderProtocol(providerId, providerProtocol);
203
- if (!authType) continue;
204
- const models = readProviderModels(providerConfig);
205
- for (const model of models) {
206
- if (typeof model.id === "string" && typeof model.baseUrl === "string" && model.baseUrl.length > 0) {
207
- baseUrls.add(modelBaseUrlKey(authType, model.id, model.baseUrl));
208
- }
209
- }
210
- }
211
- return baseUrls;
212
- }
213
- __name(buildExplicitModelBaseUrls, "buildExplicitModelBaseUrls");
214
- function readProviderModels(providerConfig) {
215
- if (Array.isArray(providerConfig)) {
216
- return providerConfig.filter(isProviderModelBaseUrlConfig);
217
- }
218
- if (typeof providerConfig !== "object" || providerConfig === null) {
219
- return [];
220
- }
221
- const { models } = providerConfig;
222
- return Array.isArray(models) ? models.filter(isProviderModelBaseUrlConfig) : [];
223
- }
224
- __name(readProviderModels, "readProviderModels");
225
- function isProviderModelBaseUrlConfig(value) {
226
- return typeof value === "object" && value !== null;
227
- }
228
- __name(isProviderModelBaseUrlConfig, "isProviderModelBaseUrlConfig");
229
- function modelBaseUrlKey(authType, modelId, baseUrl) {
230
- return `${authType}\0${modelId}\0${baseUrl}`;
231
- }
232
- __name(modelBaseUrlKey, "modelBaseUrlKey");
233
184
  var URL_LIKE_PATTERN = /\b[A-Za-z][A-Za-z\d+.-]*:\/\/[^\s'"`<>]+/g;
234
185
  var URL_START_PATTERN = /\b[A-Za-z][A-Za-z\d+.-]*:\/\//g;
235
186
  function sanitizeProviderWarning(warning) {
@@ -5,10 +5,10 @@ import {
5
5
  } from "./chunk-E5Z2AVNV.js";
6
6
  import {
7
7
  getCliVersion
8
- } from "./chunk-YU56QGXX.js";
8
+ } from "./chunk-Y3TNSHKF.js";
9
9
  import {
10
10
  IdeClient
11
- } from "./chunk-K7CRWKOE.js";
11
+ } from "./chunk-R6AO7HBQ.js";
12
12
  import {
13
13
  createDebugLogger
14
14
  } from "./chunk-7NFB7LBQ.js";
@@ -27,7 +27,7 @@ import { execFile } from "node:child_process";
27
27
 
28
28
  // packages/cli/src/generated/git-commit.ts
29
29
  init_esbuild_shims();
30
- var GIT_COMMIT_INFO = "095bd1609";
30
+ var GIT_COMMIT_INFO = "491f937af";
31
31
 
32
32
  // packages/cli/src/utils/systemInfo.ts
33
33
  var debugLogger = createDebugLogger("STATUS");
@@ -5,17 +5,17 @@ import {
5
5
  } from "./chunk-2W3OOD4W.js";
6
6
  import {
7
7
  STATUS_SCHEMA_VERSION
8
- } from "./chunk-CUUXANEQ.js";
8
+ } from "./chunk-W6J7RSCK.js";
9
9
  import {
10
10
  loadSettings
11
- } from "./chunk-6GETGQWP.js";
11
+ } from "./chunk-5WWYHNAH.js";
12
12
  import {
13
13
  writeStderrLine
14
14
  } from "./chunk-YUZI3WAC.js";
15
15
  import {
16
16
  SkillManager,
17
17
  isSafeModeEnv
18
- } from "./chunk-K7CRWKOE.js";
18
+ } from "./chunk-R6AO7HBQ.js";
19
19
  import {
20
20
  init_esbuild_shims
21
21
  } from "./chunk-5O2XNYP6.js";
@@ -3,16 +3,16 @@
3
3
  import {
4
4
  getInstallationInfo,
5
5
  resolveUpdateCommand
6
- } from "./chunk-EQY6POVO.js";
6
+ } from "./chunk-GLEJW7T2.js";
7
7
  import {
8
8
  performStandaloneUpdate
9
- } from "./chunk-7L4XBYVW.js";
9
+ } from "./chunk-XK42MWWO.js";
10
10
  import {
11
11
  updateEventEmitter
12
12
  } from "./chunk-YAF2MQZ6.js";
13
13
  import {
14
14
  t
15
- } from "./chunk-RDRVMDWV.js";
15
+ } from "./chunk-EMJJBXS7.js";
16
16
  import {
17
17
  createDebugLogger
18
18
  } from "./chunk-7NFB7LBQ.js";
@@ -5,14 +5,14 @@ import {
5
5
  Text,
6
6
  require_jsx_runtime,
7
7
  theme
8
- } from "./chunk-K4PZ5F5T.js";
8
+ } from "./chunk-OWT2CAEQ.js";
9
9
  import {
10
10
  require_react
11
11
  } from "./chunk-HTHUX2T5.js";
12
12
  import {
13
13
  stringWidth,
14
14
  toCodePoints
15
- } from "./chunk-WTSXKLG5.js";
15
+ } from "./chunk-SUARMD4Q.js";
16
16
  import {
17
17
  createDebugLogger
18
18
  } from "./chunk-7NFB7LBQ.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  t
5
- } from "./chunk-RDRVMDWV.js";
5
+ } from "./chunk-EMJJBXS7.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  registerCleanup
5
- } from "./chunk-TISZXPAX.js";
5
+ } from "./chunk-L263ROM6.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-YUZI3WAC.js";
6
6
  import {
7
7
  resolveBundleDir
8
- } from "./chunk-K7CRWKOE.js";
8
+ } from "./chunk-R6AO7HBQ.js";
9
9
  import {
10
10
  Storage
11
11
  } from "./chunk-7NFB7LBQ.js";
@@ -267,15 +267,15 @@ var MUST_TRANSLATE_KEYS = [
267
267
 
268
268
  // import("./locales/**/*.js") in packages/cli/src/i18n/index.ts
269
269
  var globImport_locales_js = __glob({
270
- "./locales/ca.js": () => import("./ca-C2JTT2N5.js"),
271
- "./locales/de.js": () => import("./de-2VCDRDGU.js"),
272
- "./locales/en.js": () => import("./en-NJCA3TAA.js"),
273
- "./locales/fr.js": () => import("./fr-5F3E7WKD.js"),
274
- "./locales/ja.js": () => import("./ja-66J6B53L.js"),
275
- "./locales/pt.js": () => import("./pt-TFZO5Y6T.js"),
276
- "./locales/ru.js": () => import("./ru-4L4LFHIT.js"),
277
- "./locales/zh-TW.js": () => import("./zh-TW-D2YIE2LO.js"),
278
- "./locales/zh.js": () => import("./zh-FSAH32JB.js")
270
+ "./locales/ca.js": () => import("./ca-CODEN7TD.js"),
271
+ "./locales/de.js": () => import("./de-NOXPCSYN.js"),
272
+ "./locales/en.js": () => import("./en-JFVULHTB.js"),
273
+ "./locales/fr.js": () => import("./fr-HVFNU42H.js"),
274
+ "./locales/ja.js": () => import("./ja-PY5AF544.js"),
275
+ "./locales/pt.js": () => import("./pt-A3PRQXMU.js"),
276
+ "./locales/ru.js": () => import("./ru-IBCWUTOC.js"),
277
+ "./locales/zh-TW.js": () => import("./zh-TW-GNEUIUFF.js"),
278
+ "./locales/zh.js": () => import("./zh-PAUNIMHQ.js")
279
279
  });
280
280
 
281
281
  // packages/cli/src/i18n/index.ts
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6AM5D4ME.js";
7
7
  import {
8
8
  ToolNames
9
- } from "./chunk-2UUAIFQO.js";
9
+ } from "./chunk-JGUT3LWZ.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-5O2XNYP6.js";
@@ -0,0 +1,77 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ init_esbuild_shims
5
+ } from "./chunk-5O2XNYP6.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
9
+
10
+ // packages/core/src/core/openaiContentGenerator/constants.ts
11
+ init_esbuild_shims();
12
+ var DEFAULT_TIMEOUT = 12e4;
13
+ var DISABLED_REQUEST_TIMEOUT_MS = 2147483647;
14
+ function resolveRequestTimeout(timeout) {
15
+ if (timeout === void 0 || timeout === null) {
16
+ return DEFAULT_TIMEOUT;
17
+ }
18
+ return timeout <= 0 ? DISABLED_REQUEST_TIMEOUT_MS : timeout;
19
+ }
20
+ __name(resolveRequestTimeout, "resolveRequestTimeout");
21
+ var DEFAULT_STREAM_IDLE_TIMEOUT_MS = 24e4;
22
+ var QWEN_STREAM_IDLE_TIMEOUT_MS_ENV = "QWEN_STREAM_IDLE_TIMEOUT_MS";
23
+ var MAX_STREAM_IDLE_TIMEOUT_MS = 2147483647;
24
+ var DEFAULT_MAX_RETRIES = 3;
25
+ var DEFAULT_OPENAI_BASE_URL = "https://api.openai.com/v1";
26
+ var DEFAULT_DASHSCOPE_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1";
27
+ var DASHSCOPE_PROXY_BASE_URL = process.env["DASHSCOPE_PROXY_BASE_URL"];
28
+
29
+ // packages/core/src/utils/request-tokenizer/supportedImageFormats.ts
30
+ init_esbuild_shims();
31
+ var SUPPORTED_IMAGE_MIME_TYPES = [
32
+ "image/bmp",
33
+ "image/gif",
34
+ "image/jpeg",
35
+ "image/jpg",
36
+ // Alternative MIME type for JPEG
37
+ "image/png",
38
+ "image/tiff",
39
+ "image/webp",
40
+ "image/heic"
41
+ ];
42
+ function isSupportedImageMimeType(mimeType) {
43
+ return SUPPORTED_IMAGE_MIME_TYPES.includes(
44
+ mimeType
45
+ );
46
+ }
47
+ __name(isSupportedImageMimeType, "isSupportedImageMimeType");
48
+ function getSupportedImageFormatsString() {
49
+ return SUPPORTED_IMAGE_MIME_TYPES.map(
50
+ (type) => type.replace("image/", "").toUpperCase()
51
+ ).join(", ");
52
+ }
53
+ __name(getSupportedImageFormatsString, "getSupportedImageFormatsString");
54
+ function getUnsupportedImageFormatWarning() {
55
+ return `Only the following image formats are supported: ${getSupportedImageFormatsString()}. Other formats may not work as expected.`;
56
+ }
57
+ __name(getUnsupportedImageFormatWarning, "getUnsupportedImageFormatWarning");
58
+
59
+ export {
60
+ resolveRequestTimeout,
61
+ DEFAULT_STREAM_IDLE_TIMEOUT_MS,
62
+ QWEN_STREAM_IDLE_TIMEOUT_MS_ENV,
63
+ MAX_STREAM_IDLE_TIMEOUT_MS,
64
+ DEFAULT_MAX_RETRIES,
65
+ DEFAULT_OPENAI_BASE_URL,
66
+ DEFAULT_DASHSCOPE_BASE_URL,
67
+ DASHSCOPE_PROXY_BASE_URL,
68
+ SUPPORTED_IMAGE_MIME_TYPES,
69
+ isSupportedImageMimeType,
70
+ getSupportedImageFormatsString,
71
+ getUnsupportedImageFormatWarning
72
+ };
73
+ /**
74
+ * @license
75
+ * Copyright 2025 Qwen
76
+ * SPDX-License-Identifier: Apache-2.0
77
+ */
@@ -2,13 +2,13 @@
2
2
  "use strict";
3
3
  import {
4
4
  loadSettings
5
- } from "./chunk-6GETGQWP.js";
5
+ } from "./chunk-5WWYHNAH.js";
6
6
  import {
7
7
  getCurrentLanguage
8
- } from "./chunk-RDRVMDWV.js";
8
+ } from "./chunk-EMJJBXS7.js";
9
9
  import {
10
10
  isWorkspaceTrusted
11
- } from "./chunk-4YWLED2A.js";
11
+ } from "./chunk-PNCWEDF6.js";
12
12
  import {
13
13
  require_strip_json_comments
14
14
  } from "./chunk-ALGGS7UH.js";
@@ -26,7 +26,7 @@ import {
26
26
  hashMcpServerConfig,
27
27
  isGatedMcpScope,
28
28
  normalizeClaudeMcpServer
29
- } from "./chunk-K7CRWKOE.js";
29
+ } from "./chunk-R6AO7HBQ.js";
30
30
  import {
31
31
  atomicWriteFile
32
32
  } from "./chunk-WIEO4CWB.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  resolvePath
5
- } from "./chunk-SXU3KKNI.js";
5
+ } from "./chunk-ZQIYGQCG.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -0,0 +1,140 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ appEvents
5
+ } from "./chunk-ZK4AMPKI.js";
6
+ import {
7
+ assembleMcpServers,
8
+ getPendingGatedMcpServers,
9
+ getPromptableMcpServers
10
+ } from "./chunk-FEYHXPZG.js";
11
+ import {
12
+ getMCPServerStatus
13
+ } from "./chunk-BTSE2DUP.js";
14
+ import {
15
+ require_fast_deep_equal
16
+ } from "./chunk-JGUT3LWZ.js";
17
+ import {
18
+ createDebugLogger
19
+ } from "./chunk-7NFB7LBQ.js";
20
+ import {
21
+ init_esbuild_shims
22
+ } from "./chunk-5O2XNYP6.js";
23
+ import {
24
+ __name,
25
+ __toESM
26
+ } from "./chunk-J2S4EL5Y.js";
27
+
28
+ // packages/cli/src/config/hot-reload.ts
29
+ init_esbuild_shims();
30
+ var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
31
+ var debugLogger = createDebugLogger("MCP_HOT_RELOAD");
32
+ function mcpServersEqual(a, b) {
33
+ return (0, import_fast_deep_equal.default)(a ?? {}, b ?? {});
34
+ }
35
+ __name(mcpServersEqual, "mcpServersEqual");
36
+ function mcpGatingEqual(a, b) {
37
+ const norm = /* @__PURE__ */ __name((xs) => [...xs ?? []].sort(), "norm");
38
+ const allowedEqual = a.allowed === void 0 === (b.allowed === void 0) && (0, import_fast_deep_equal.default)(norm(a.allowed), norm(b.allowed));
39
+ 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));
40
+ }
41
+ __name(mcpGatingEqual, "mcpGatingEqual");
42
+ function recomputeMcpGating(settings, assembled, cwd, bootAllowed, isYolo) {
43
+ const settingsAllowed = settings.merged.mcp?.allowed?.filter(Boolean);
44
+ const excluded = settings.merged.mcp?.excluded?.filter(Boolean);
45
+ let allowed = settingsAllowed;
46
+ if (bootAllowed) {
47
+ allowed = settingsAllowed ? settingsAllowed.filter((n) => bootAllowed.includes(n)) : [...bootAllowed];
48
+ }
49
+ return {
50
+ allowed,
51
+ excluded: excluded && excluded.length > 0 ? excluded : void 0,
52
+ pending: isYolo ? void 0 : getPendingGatedMcpServers(assembled, cwd)
53
+ };
54
+ }
55
+ __name(recomputeMcpGating, "recomputeMcpGating");
56
+ function registerMcpHotReload(watcher, settings, config, topTierMcpServers) {
57
+ debugLogger.debug("registered MCP hot-reload listener on SettingsWatcher");
58
+ return watcher.addChangeListener(async (events) => {
59
+ debugLogger.debug(
60
+ `settings change fired (${events.length} event(s)): ${events.map((e) => `${e.scope}:${e.changeType}`).join(", ")}`
61
+ );
62
+ const cwd = config.getTargetDir();
63
+ const next = assembleMcpServers(
64
+ settings.merged.mcpServers,
65
+ cwd,
66
+ topTierMcpServers
67
+ );
68
+ const isYolo = config.getApprovalMode() === "yolo" /* YOLO */;
69
+ const nextGating = recomputeMcpGating(
70
+ settings,
71
+ next,
72
+ cwd,
73
+ config.getCliAllowedMcpServerNames(),
74
+ isYolo
75
+ );
76
+ const prevServers = config.getSettingsMcpServers();
77
+ const prevGating = config.getMcpGating();
78
+ debugLogger.debug(
79
+ `assembled servers: prev=[${Object.keys(prevServers ?? {}).join(
80
+ ", "
81
+ )}] next=[${Object.keys(next).join(", ")}]`
82
+ );
83
+ debugLogger.debug(
84
+ `gating next: excluded=[${(nextGating.excluded ?? []).join(
85
+ ", "
86
+ )}] allowed=[${(nextGating.allowed ?? []).join(
87
+ ", "
88
+ )}] pending=[${(nextGating.pending ?? []).join(", ")}]`
89
+ );
90
+ const serversChanged = !mcpServersEqual(prevServers, next);
91
+ const gatingChanged = !mcpGatingEqual(prevGating, nextGating);
92
+ if (!serversChanged && !gatingChanged) {
93
+ debugLogger.debug(
94
+ "no MCP-relevant change (servers + gating unchanged) \u2014 skipping reconcile"
95
+ );
96
+ return;
97
+ }
98
+ debugLogger.debug(
99
+ `MCP-relevant change detected (serversChanged=${serversChanged} gatingChanged=${gatingChanged}) \u2014 reconciling`
100
+ );
101
+ const promptable = getPromptableMcpServers(next, cwd);
102
+ config.setExcludedMcpServers(nextGating.excluded ?? []);
103
+ config.setAllowedMcpServers(nextGating.allowed);
104
+ config.setPendingMcpServers(nextGating.pending);
105
+ try {
106
+ await config.reinitializeMcpServers(next);
107
+ const finalStatuses = Object.keys(next).map((name) => `${name}=${getMCPServerStatus(name)}`).join(", ");
108
+ debugLogger.debug(
109
+ `reinitializeMcpServers resolved; final statuses=[${finalStatuses}]`
110
+ );
111
+ } catch (err) {
112
+ debugLogger.error(
113
+ `reinitializeMcpServers threw: ${err instanceof Error ? err.stack ?? err.message : String(err)}`
114
+ );
115
+ appEvents.emit(
116
+ "log-error" /* LogError */,
117
+ "Failed to reload MCP server settings; existing MCP state may be unchanged. Run with --debug for details."
118
+ );
119
+ }
120
+ if (!isYolo && promptable.length > 0) {
121
+ debugLogger.debug(
122
+ `gated servers awaiting approval \u2192 emitting ${"mcp-pending-approval-changed" /* McpPendingApprovalChanged */}: [${promptable.join(
123
+ ", "
124
+ )}]`
125
+ );
126
+ appEvents.emit("mcp-pending-approval-changed" /* McpPendingApprovalChanged */);
127
+ }
128
+ });
129
+ }
130
+ __name(registerMcpHotReload, "registerMcpHotReload");
131
+
132
+ export {
133
+ recomputeMcpGating,
134
+ registerMcpHotReload
135
+ };
136
+ /**
137
+ * @license
138
+ * Copyright 2025 Qwen
139
+ * SPDX-License-Identifier: Apache-2.0
140
+ */
@@ -4,11 +4,11 @@ import {
4
4
  disableMouseEvents,
5
5
  enableMouseEvents,
6
6
  useKeypressContext
7
- } from "./chunk-DK33QJ3V.js";
7
+ } from "./chunk-GCRFH57X.js";
8
8
  import {
9
9
  use_stdin_default,
10
10
  use_stdout_default
11
- } from "./chunk-K4PZ5F5T.js";
11
+ } from "./chunk-OWT2CAEQ.js";
12
12
  import {
13
13
  require_react
14
14
  } from "./chunk-HTHUX2T5.js";