@qwen-code/qwen-code 0.19.9 → 0.19.10

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 (310) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +7 -0
  2. package/bundled/qc-helper/docs/features/channels/dingtalk.md +3 -0
  3. package/bundled/qc-helper/docs/features/channels/overview.md +11 -3
  4. package/bundled/qc-helper/docs/features/code-review.md +88 -44
  5. package/bundled/qc-helper/docs/features/commands.md +6 -6
  6. package/bundled/qc-helper/docs/features/hooks.md +29 -0
  7. package/bundled/qc-helper/docs/features/sub-agents.md +21 -0
  8. package/bundled/qc-helper/docs/qwen-serve.md +46 -20
  9. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
  10. package/bundled/review/DESIGN.md +219 -33
  11. package/bundled/review/SKILL.md +449 -153
  12. package/chunks/{MaxSizedBox-6HYJ3ZPJ.js → MaxSizedBox-67ODZ4SZ.js} +31 -31
  13. package/chunks/{StandaloneSessionPicker-WS4GXYOG.js → StandaloneSessionPicker-SIPBQT5Z.js} +51 -49
  14. package/chunks/{acpAgent-5FWSOZL5.js → acpAgent-VPZJXLFX.js} +528 -478
  15. package/chunks/{agent-HOLHB3RT.js → agent-Z7NWL6XL.js} +26 -26
  16. package/chunks/{agent-headless-SXL6H56A.js → agent-headless-73HZ6ROQ.js} +26 -26
  17. package/chunks/{anthropicContentGenerator-L73TO3DB.js → anthropicContentGenerator-56U3YCP2.js} +5 -5
  18. package/chunks/{artifact-tool-U7IRTLIV.js → artifact-tool-BWZZJ42H.js} +2 -2
  19. package/chunks/{askUserQuestion-2DLUUZZG.js → askUserQuestion-WU3S5A5T.js} +2 -2
  20. package/chunks/{bridge-BCJQ7BBB.js → bridge-XFKW6S7Q.js} +32 -32
  21. package/chunks/{ca-UJ6HC4H2.js → ca-C2JTT2N5.js} +4 -1
  22. package/chunks/channel-worker-group-K7QKH6IG.js +13 -0
  23. package/chunks/channel-worker-manager-5RWKSGEU.js +418 -0
  24. package/chunks/channel-worker-supervisor-PCDAZN4D.js +20 -0
  25. package/chunks/{chunk-LXNEJD34.js → chunk-2FO5GFKZ.js} +1 -1
  26. package/chunks/{chunk-B5ORX3FG.js → chunk-2UUAIFQO.js} +1 -1
  27. package/chunks/{chunk-L36P3NBD.js → chunk-2W3OOD4W.js} +2 -0
  28. package/chunks/{chunk-7R3CZA3Q.js → chunk-2Z5UX4KI.js} +1 -1
  29. package/chunks/chunk-3MX7D6QN.js +516 -0
  30. package/chunks/{chunk-E2IY465S.js → chunk-3XJFUTNM.js} +10 -10
  31. package/chunks/{chunk-JZETEN3Z.js → chunk-422XAKCK.js} +3 -3
  32. package/chunks/{chunk-N3EMS75V.js → chunk-4FMG7EDJ.js} +1268 -1233
  33. package/chunks/{chunk-HKMAENAO.js → chunk-4YWLED2A.js} +8 -6
  34. package/chunks/{chunk-SCGXUJBT.js → chunk-5EBKKSBX.js} +3 -3
  35. package/chunks/chunk-5HBA2Z7V.js +28 -0
  36. package/chunks/{chunk-XYQSMABS.js → chunk-5LROA5W4.js} +4 -4
  37. package/chunks/{chunk-ZJE7NSL3.js → chunk-5M6IDOMF.js} +34 -97
  38. package/chunks/{chunk-VA4KQY6V.js → chunk-65N2J6V2.js} +3 -3
  39. package/chunks/{chunk-4C5BQ2D2.js → chunk-6GETGQWP.js} +71 -12
  40. package/chunks/{chunk-PVZM22CK.js → chunk-6GKMJPOC.js} +5 -5
  41. package/chunks/{chunk-W2UIXQDL.js → chunk-6OATMEYN.js} +1 -1
  42. package/chunks/{chunk-GZRTYZ2R.js → chunk-6W6DI34P.js} +154 -1
  43. package/chunks/{chunk-EMDMPBJ4.js → chunk-7L4XBYVW.js} +3 -3
  44. package/chunks/{chunk-EAXLGSFP.js → chunk-7MJAZMXK.js} +8 -8
  45. package/chunks/{chunk-K434OPES.js → chunk-7NAWTFVY.js} +3 -3
  46. package/chunks/{chunk-J4TSQ5EQ.js → chunk-7NFB7LBQ.js} +8 -1
  47. package/chunks/{chunk-5SFOMFG4.js → chunk-7R4DPSRA.js} +36 -2
  48. package/chunks/{chunk-P67PFTUT.js → chunk-AAR5SGMD.js} +4 -4
  49. package/chunks/{chunk-RDJSGHZE.js → chunk-ALGGS7UH.js} +1 -38
  50. package/chunks/{chunk-GWHYEOV2.js → chunk-ARKANCNX.js} +2 -1
  51. package/chunks/{chunk-D2GFWEXB.js → chunk-B5I2IIWY.js} +6 -6
  52. package/chunks/{chunk-524RQP4Q.js → chunk-B7NUUEXC.js} +10 -4
  53. package/chunks/{chunk-CUMMSHH6.js → chunk-BBNVFRGD.js} +1 -1
  54. package/chunks/{chunk-5HOMWMCL.js → chunk-CEW4HDPK.js} +4166 -1338
  55. package/chunks/chunk-CJFNEBYB.js +91 -0
  56. package/chunks/{chunk-VWPVHAMO.js → chunk-CUUXANEQ.js} +5 -1
  57. package/chunks/{chunk-GWLSNBG4.js → chunk-DK33QJ3V.js} +30 -26
  58. package/chunks/{chunk-HPDUL5MF.js → chunk-DPFBNG72.js} +1 -1
  59. package/chunks/{chunk-KKNMOEZH.js → chunk-E2UVIFI2.js} +185 -398
  60. package/chunks/{chunk-MC23XKFE.js → chunk-E67NFMF4.js} +3 -3
  61. package/chunks/{chunk-OQ4DRIOA.js → chunk-EQY6POVO.js} +2 -2
  62. package/chunks/{chunk-XUOOWUZS.js → chunk-F7NXQH4Y.js} +1 -1
  63. package/chunks/{chunk-YLV3XXFB.js → chunk-FBU7WRZI.js} +17 -1
  64. package/chunks/{chunk-LK7KUE55.js → chunk-FSA7ERJ2.js} +1 -1
  65. package/chunks/{chunk-PDZ7MBDG.js → chunk-FXMC7SL2.js} +27 -6
  66. package/chunks/{chunk-SJHDYNHF.js → chunk-GDQQRV43.js} +3 -3
  67. package/chunks/{chunk-34MW4KTI.js → chunk-GGJII3FM.js} +2 -2
  68. package/chunks/{chunk-3BTRNWWD.js → chunk-GOXKNSDZ.js} +1 -64
  69. package/chunks/chunk-GYTKQYDB.js +23 -0
  70. package/chunks/{chunk-HVY356M2.js → chunk-H3FQOPPS.js} +3 -3
  71. package/chunks/{chunk-YVEDCAUE.js → chunk-HGT6JR3U.js} +19 -0
  72. package/chunks/{chunk-WQUQVGTF.js → chunk-HHEFI4RP.js} +183 -96
  73. package/chunks/chunk-IDS7MSUP.js +74 -0
  74. package/chunks/{chunk-6PESIEKJ.js → chunk-JSJFKYWT.js} +68 -6
  75. package/chunks/{chunk-CNEIYWSA.js → chunk-K4PZ5F5T.js} +5 -5
  76. package/chunks/{chunk-NVYTCB5Z.js → chunk-K7CRWKOE.js} +14534 -13980
  77. package/chunks/{chunk-ORBGV7NJ.js → chunk-KKRTYONM.js} +6 -4
  78. package/chunks/{chunk-IAVB3HM3.js → chunk-KSO42X3Z.js} +13 -0
  79. package/chunks/chunk-L37RC7MQ.js +493 -0
  80. package/chunks/{chunk-4QLQE5WJ.js → chunk-L5U3ELZX.js} +1 -1
  81. package/chunks/{chunk-3G7CIHVV.js → chunk-L62SEJWY.js} +4 -4
  82. package/chunks/{chunk-EGYZ275M.js → chunk-LNUXFLLJ.js} +4 -4
  83. package/chunks/{chunk-4ZVWQHEQ.js → chunk-LQIDP6K5.js} +1 -1
  84. package/chunks/{chunk-VTU57BWZ.js → chunk-LQU7EVFA.js} +1 -1
  85. package/chunks/{chunk-B4G2WOFA.js → chunk-LTNI523B.js} +2 -2
  86. package/chunks/{chunk-DC5Z3DU6.js → chunk-LXLTBIDP.js} +43 -6
  87. package/chunks/{chunk-KHUQZZJ6.js → chunk-MO7O5722.js} +370 -36
  88. package/chunks/chunk-MR3PXB6E.js +48 -0
  89. package/chunks/{chunk-5VXNZWGF.js → chunk-N6FXRR6P.js} +1 -1
  90. package/chunks/{chunk-WL4L7EZH.js → chunk-OA4JVLSA.js} +27 -1
  91. package/chunks/{chunk-TO6QE22P.js → chunk-OATTJGPJ.js} +26 -22
  92. package/chunks/{chunk-X6TJ3YZV.js → chunk-OFEVHGVU.js} +159 -57
  93. package/chunks/{chunk-X4NKFGFJ.js → chunk-OJAMDVF5.js} +0 -15
  94. package/chunks/{chunk-BZIFY5TF.js → chunk-OKAIGAYW.js} +3 -3
  95. package/chunks/{chunk-3VAGG5T5.js → chunk-P6LART6G.js} +116 -15
  96. package/chunks/{chunk-3SJSQXNS.js → chunk-PEJWA3QQ.js} +12 -8
  97. package/chunks/{chunk-BAPGSC7U.js → chunk-Q5GLXH5Q.js} +23 -9
  98. package/chunks/{chunk-MXL5UP4X.js → chunk-Q6TUALBE.js} +1 -1
  99. package/chunks/{chunk-QYMQSECS.js → chunk-QAW7PIHT.js} +2 -2
  100. package/chunks/{chunk-LUODI7WD.js → chunk-RCEEXIOO.js} +6 -4
  101. package/chunks/{chunk-YAUFFXDS.js → chunk-RDRVMDWV.js} +12 -11
  102. package/chunks/{chunk-CEA3E3JB.js → chunk-SPJQO2CE.js} +2 -2
  103. package/chunks/{chunk-U2NNEY4R.js → chunk-SPUYQB4T.js} +1 -1
  104. package/chunks/{chunk-34Z3U5RQ.js → chunk-SXU3KKNI.js} +514 -114
  105. package/chunks/{chunk-ECNYL4AA.js → chunk-TISZXPAX.js} +1 -1
  106. package/chunks/{chunk-JSG7ZSBC.js → chunk-TQBODCFD.js} +1 -1
  107. package/chunks/{chunk-AKIVHSJR.js → chunk-TTUO4DNG.js} +111 -93
  108. package/chunks/chunk-TV6K2FB4.js +224 -0
  109. package/chunks/{chunk-4GORAUCN.js → chunk-TXY2C3D2.js} +1 -1
  110. package/chunks/{chunk-5XUCZNSY.js → chunk-TYLOFD2U.js} +1 -1
  111. package/chunks/{chunk-CLFKOZEK.js → chunk-UFOKA4PR.js} +1 -1
  112. package/chunks/{channel-worker-supervisor-WSOAAYUO.js → chunk-URU5UEK6.js} +67 -35
  113. package/chunks/{chunk-D5SKC4YG.js → chunk-V7EQTZYR.js} +41 -13
  114. package/chunks/{chunk-L6P4KPHR.js → chunk-VBRRNQB7.js} +59 -39
  115. package/chunks/{chunk-BMGVRZN4.js → chunk-W34A5MJH.js} +1 -1
  116. package/chunks/{chunk-PODM4SZ4.js → chunk-WDW64OW3.js} +5 -5
  117. package/chunks/{chunk-W3JHSWRP.js → chunk-WDWJ4OQJ.js} +4 -4
  118. package/chunks/{chunk-Q4YQW46J.js → chunk-WIASPMLX.js} +31 -17
  119. package/chunks/{chunk-ZLXQN2QS.js → chunk-WIEO4CWB.js} +1 -1
  120. package/chunks/{chunk-A3XKDTSH.js → chunk-WLXYAKV7.js} +4 -4
  121. package/chunks/{chunk-Q6I5QHMH.js → chunk-WTSXKLG5.js} +1 -1
  122. package/chunks/{chunk-J3JA76CF.js → chunk-WX6SD4IQ.js} +1 -1
  123. package/chunks/{chunk-77XJ3SWN.js → chunk-X362TMXZ.js} +5 -5
  124. package/chunks/{chunk-CCDMCZPP.js → chunk-XLIRF7IK.js} +1 -1
  125. package/chunks/{chunk-AURZZYMD.js → chunk-XXJKGHZV.js} +4 -4
  126. package/chunks/{chunk-TDEXZKMT.js → chunk-Y66VOBRP.js} +2 -2
  127. package/chunks/{chunk-CC2ITGCF.js → chunk-YHN5SUIJ.js} +49 -6
  128. package/chunks/{chunk-3AHXV67U.js → chunk-YU56QGXX.js} +1 -1
  129. package/chunks/{chunk-5U27BZ72.js → chunk-YX4LLZ3D.js} +187 -75
  130. package/chunks/{chunk-ATAKVRIF.js → chunk-YYPXHMWO.js} +7 -7
  131. package/chunks/{chunk-XLA62MYB.js → chunk-ZKMGAFYV.js} +2 -2
  132. package/chunks/{chunk-UOZWKTQG.js → chunk-ZPAHLFZU.js} +2 -2
  133. package/chunks/{chunk-7PU4FYLG.js → chunk-ZQTZXVHP.js} +4 -4
  134. package/chunks/chunk-ZRKBI3DP.js +34 -0
  135. package/chunks/{computer-use-HM37RX6A.js → computer-use-IYTX45WA.js} +26 -26
  136. package/chunks/{config-utils-NV2SVGPB.js → config-utils-CFT33LTP.js} +3 -2
  137. package/chunks/{contextCommand-OF5SFGH2.js → contextCommand-272V77WU.js} +28 -28
  138. package/chunks/{create-sub-session-KPRT7ECJ.js → create-sub-session-CBJMQLYP.js} +26 -26
  139. package/chunks/{create-sub-session-INX7TXJI.js → create-sub-session-WNX2OQVX.js} +2 -2
  140. package/chunks/{cron-create-AMBKGZX6.js → cron-create-36TIFKRT.js} +4 -4
  141. package/chunks/{cron-delete-LRU4OJYG.js → cron-delete-OQD3WULU.js} +4 -4
  142. package/chunks/{cron-list-WVP2JXER.js → cron-list-4533T2FH.js} +4 -4
  143. package/chunks/{daemon-ARHTSTXP.js → daemon-RNGFPMAB.js} +575 -58
  144. package/chunks/{daemon-status-provider-B2UTZUJ2.js → daemon-status-provider-L4STG5VO.js} +36 -36
  145. package/chunks/{de-EBJN3OVN.js → de-2VCDRDGU.js} +4 -1
  146. package/chunks/{dist-VHV4EVHG.js → dist-3V3ZV6ML.js} +1 -1
  147. package/chunks/{dist-XKU3ABM5.js → dist-ERCPDVA6.js} +1 -1
  148. package/chunks/{dist-PNVLTKTL.js → dist-HNN7DR2L.js} +158 -4
  149. package/chunks/{dist-WKPOYU7O.js → dist-JZE7F6YR.js} +1 -1
  150. package/chunks/{dist-QYCAEZIT.js → dist-MOEC47TR.js} +5 -1
  151. package/chunks/{dist-R7LN5AZE.js → dist-PHEPJLXD.js} +2 -2
  152. package/chunks/{earlyInputCapture-3VTHRC4C.js → earlyInputCapture-EN4BRREQ.js} +27 -27
  153. package/chunks/{edit-VNI4NJ73.js → edit-OMAF2QDR.js} +27 -27
  154. package/chunks/{en-5A6LA7RK.js → en-NJCA3TAA.js} +5 -1
  155. package/chunks/{enter-worktree-IYYBKPZT.js → enter-worktree-BBZX52HG.js} +26 -26
  156. package/chunks/{enterPlanMode-GMC5FD5A.js → enterPlanMode-5NNFMBUY.js} +42 -27
  157. package/chunks/{environment-5HSSRMJ7.js → environment-7TEWMJYN.js} +30 -29
  158. package/chunks/{errors-HMFCJJ7P.js → errors-I4VKVX3F.js} +28 -28
  159. package/chunks/{exit-worktree-6BHCMP5G.js → exit-worktree-FUWRJI33.js} +26 -26
  160. package/chunks/{exitPlanMode-CJW7G74W.js → exitPlanMode-IHCJ5EEI.js} +26 -26
  161. package/chunks/{fast-path-FRDMDVHG.js → fast-path-ZA57TOH4.js} +3 -3
  162. package/chunks/{fast-path-settings-5QZE64HR.js → fast-path-settings-DAOVFADC.js} +6 -4
  163. package/chunks/{fr-YXRABLYZ.js → fr-5F3E7WKD.js} +4 -1
  164. package/chunks/{gemini-QYSEGHAX.js → gemini-UOAKVXBG.js} +139 -76
  165. package/chunks/{geminiContentGenerator-J7YNZDYP.js → geminiContentGenerator-G6UCE6MW.js} +4 -4
  166. package/chunks/{glob-BRCSGFOT.js → glob-4GJQ2UFF.js} +28 -27
  167. package/chunks/{grep-EE2DUOSY.js → grep-5QSYXF2E.js} +26 -26
  168. package/chunks/{handleAutoUpdate-5NWTLR67.js → handleAutoUpdate-ULHNWL6R.js} +30 -30
  169. package/chunks/{i18n-BASPENNQ.js → i18n-CYDUTF6F.js} +27 -27
  170. package/chunks/initializer-NRFKUGIO.js +73 -0
  171. package/chunks/{installationInfo-W6V4DT7W.js → installationInfo-WELKRHHE.js} +27 -27
  172. package/chunks/{ja-7VQOANVG.js → ja-66J6B53L.js} +5 -2
  173. package/chunks/{keychain-token-storage-VKUBNCP4.js → keychain-token-storage-AU22CQI6.js} +2 -2
  174. package/chunks/list-JVDXEG2E.js +76 -0
  175. package/chunks/loadedSettingsAdapter-WAM4VUTG.js +70 -0
  176. package/chunks/{loop-wakeup-WX7BLWWP.js → loop-wakeup-MVUKDVCP.js} +5 -5
  177. package/chunks/{ls-ZB2BDP6T.js → ls-RXNIAQDE.js} +4 -4
  178. package/chunks/{lsp-V5DN4YUJ.js → lsp-HB5LM5IL.js} +2 -2
  179. package/chunks/mcp-YHOZN3ZM.js +70 -0
  180. package/chunks/{monitor-X5Z3H4FY.js → monitor-R7XZPJHQ.js} +26 -26
  181. package/chunks/nonInteractiveCli-NSOB6D74.js +129 -0
  182. package/chunks/{notebook-edit-TRM2QIJK.js → notebook-edit-6RNKE2L2.js} +27 -27
  183. package/chunks/{openaiContentGenerator-AAYONPMF.js → openaiContentGenerator-XNS5S64I.js} +12 -12
  184. package/chunks/{pidfile-D4I4FTVA.js → pidfile-XE4RRR2P.js} +27 -27
  185. package/chunks/{pt-2C6YCSHL.js → pt-TFZO5Y6T.js} +4 -1
  186. package/chunks/{qwenContentGenerator-K3HZ2H76.js → qwenContentGenerator-APDPJ3VN.js} +28 -28
  187. package/chunks/{qwenOAuth2-PJQ27GSO.js → qwenOAuth2-LEYOU7RU.js} +5 -5
  188. package/chunks/{read-file-7SZSIZOL.js → read-file-XSUWXSR7.js} +8 -8
  189. package/chunks/{read-mcp-resource-SM5DA4RG.js → read-mcp-resource-6LRTZKXI.js} +2 -2
  190. package/chunks/{record-artifact-4XKZX3UW.js → record-artifact-PMDTY4OS.js} +2 -2
  191. package/chunks/{ripGrep-YNPFVCZP.js → ripGrep-APB3CDMU.js} +26 -26
  192. package/chunks/{ru-6BBHVZZV.js → ru-4L4LFHIT.js} +4 -1
  193. package/chunks/{run-qwen-serve-DMWV5N6L.js → run-qwen-serve-NWTGPERT.js} +1232 -371
  194. package/chunks/{runtime-57WWRVHN.js → runtime-EIO3NQKR.js} +42 -37
  195. package/chunks/{scheduler-YBLGWSIL.js → scheduler-JJDZBDRN.js} +26 -26
  196. package/chunks/{send-message-F36YD6KQ.js → send-message-SR4WSXP2.js} +3 -3
  197. package/chunks/{serve-R63NK3CV.js → serve-WTIPB3EI.js} +36 -34
  198. package/chunks/{server-Z22GCAXP.js → server-NJPHQHLH.js} +5238 -1328
  199. package/chunks/{session-HKAAI7BN.js → session-O4AO7FTS.js} +298 -98
  200. package/chunks/{settings-3EYN66GK.js → settings-HQNDK7TG.js} +34 -32
  201. package/chunks/{shell-6YXINTWJ.js → shell-UIXM6PWG.js} +26 -26
  202. package/chunks/{skill-OO57P4X6.js → skill-3XMB4ULV.js} +10 -10
  203. package/chunks/{spawnChannel-JD7G4VU6.js → spawnChannel-3R632QRM.js} +28 -28
  204. package/chunks/{src-G5UPLZSZ.js → src-USZKPUOC.js} +85 -27
  205. package/chunks/{standalone-update-OB7F4JPZ.js → standalone-update-L5XW3D7K.js} +28 -28
  206. package/chunks/{startInteractiveUI-73EGLIIH.js → startInteractiveUI-CPZOL2WB.js} +730 -397
  207. package/chunks/{syntheticOutput-34H7LGA7.js → syntheticOutput-YKFNUQZD.js} +3 -3
  208. package/chunks/{task-create-FRGOEIKY.js → task-create-NUFOHU53.js} +8 -7
  209. package/chunks/{task-list-OW766BXZ.js → task-list-Z2IKQY3S.js} +6 -5
  210. package/chunks/{task-stop-SIR5SNBN.js → task-stop-KQFIVQTJ.js} +2 -2
  211. package/chunks/{task-update-YRA532MT.js → task-update-HKADXSTD.js} +8 -7
  212. package/chunks/{team-create-PECAAPXK.js → team-create-XXPRF3IQ.js} +26 -26
  213. package/chunks/{team-delete-6OSECUZC.js → team-delete-SDNTGZLG.js} +6 -5
  214. package/chunks/{team-plan-approval-L6F434RY.js → team-plan-approval-EOTTKHDW.js} +26 -26
  215. package/chunks/{theme-manager-ZG4RY6GU.js → theme-manager-P6UITO2L.js} +27 -27
  216. package/chunks/{todoWrite-YDMFEV4G.js → todoWrite-YNXB27GB.js} +4 -4
  217. package/chunks/{tool-search-THVIWAPB.js → tool-search-DDNGK2LR.js} +9 -9
  218. package/chunks/{total-session-admission-JOKNRIIA.js → total-session-admission-PL5N7DNY.js} +33 -33
  219. package/chunks/tree-sitter-YJVE2ZUK.js +2980 -0
  220. package/chunks/{trustedFolders-EOGT3UVS.js → trustedFolders-C5LMF3UR.js} +29 -28
  221. package/chunks/types-ML3TRJQ5.js +16 -0
  222. package/chunks/{updateCheck-2KYEYVSB.js → updateCheck-QTVVISH7.js} +29 -29
  223. package/chunks/{validateNonInterActiveAuth-EN6ZQSR2.js → validateNonInterActiveAuth-RY4RKBQG.js} +75 -71
  224. package/chunks/{version-3UEA6ZIR.js → version-U45RYOSD.js} +1 -1
  225. package/chunks/{web-fetch-PAAEQKBW.js → web-fetch-ZSPR3PRR.js} +5 -5
  226. package/chunks/{workflow-QCCCMYP3.js → workflow-TCIAQYOA.js} +27 -27
  227. package/chunks/workspace-providers-status-I3G2HYLY.js +73 -0
  228. package/chunks/workspace-registration-store-IH5GLZ6Y.js +27 -0
  229. package/chunks/{workspace-registry-24QFLQYH.js → workspace-registry-QEKBELIX.js} +33 -33
  230. package/chunks/workspace-service-ORKHGLP3.js +86 -0
  231. package/chunks/workspace-skills-status-D7QCNDYY.js +72 -0
  232. package/chunks/{write-file-I3MUDRIE.js → write-file-JGRQR5VM.js} +27 -27
  233. package/chunks/{zh-RQE7I22T.js → zh-FSAH32JB.js} +6 -2
  234. package/chunks/{zh-TW-TBPQGHKH.js → zh-TW-D2YIE2LO.js} +6 -2
  235. package/cli.js +11 -11
  236. package/locales/ca.js +6 -0
  237. package/locales/de.js +6 -0
  238. package/locales/en.js +8 -0
  239. package/locales/fr.js +6 -0
  240. package/locales/ja.js +7 -1
  241. package/locales/pt.js +6 -0
  242. package/locales/ru.js +6 -0
  243. package/locales/zh-TW.js +9 -1
  244. package/locales/zh.js +9 -1
  245. package/package.json +3 -3
  246. package/web-shell/assets/{arc-C15hqnJe.js → arc-CUeDlxvE.js} +1 -1
  247. package/web-shell/assets/{architectureDiagram-3BPJPVTR-B-At37J_.js → architectureDiagram-3BPJPVTR-PiUszkQA.js} +1 -1
  248. package/web-shell/assets/{blockDiagram-GPEHLZMM-B51wjcU7.js → blockDiagram-GPEHLZMM-s2wYSO7e.js} +1 -1
  249. package/web-shell/assets/{c4Diagram-AAUBKEIU-xBK7BAwN.js → c4Diagram-AAUBKEIU-DyLxZoz9.js} +1 -1
  250. package/web-shell/assets/channel-DkuJJ0qd.js +1 -0
  251. package/web-shell/assets/{chunk-2J33WTMH-xKmLg7Yr.js → chunk-2J33WTMH-Dsdai7Tk.js} +1 -1
  252. package/web-shell/assets/{chunk-4BX2VUAB-BfkdKZCM.js → chunk-4BX2VUAB-DEosOjV7.js} +1 -1
  253. package/web-shell/assets/{chunk-55IACEB6-DT713sZf.js → chunk-55IACEB6-sNsRLTXf.js} +1 -1
  254. package/web-shell/assets/{chunk-727SXJPM-CYEeAamv.js → chunk-727SXJPM-DkRNZzmh.js} +1 -1
  255. package/web-shell/assets/{chunk-AQP2D5EJ-DBN-5CFd.js → chunk-AQP2D5EJ-BrsRNpzd.js} +1 -1
  256. package/web-shell/assets/{chunk-FMBD7UC4-CGZKk4PH.js → chunk-FMBD7UC4-CI039lpl.js} +1 -1
  257. package/web-shell/assets/{chunk-ND2GUHAM-qQbC2O-y.js → chunk-ND2GUHAM-M-pkeIfu.js} +1 -1
  258. package/web-shell/assets/{chunk-QZHKN3VN-B3zeXwsX.js → chunk-QZHKN3VN-C4ckGNbH.js} +1 -1
  259. package/web-shell/assets/classDiagram-4FO5ZUOK-CwqHc0TB.js +1 -0
  260. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CwqHc0TB.js +1 -0
  261. package/web-shell/assets/{cose-bilkent-S5V4N54A-BKsl1Wvy.js → cose-bilkent-S5V4N54A-BciKUAFq.js} +1 -1
  262. package/web-shell/assets/{dagre-BM42HDAG-CuuuLiBK.js → dagre-BM42HDAG-C1nTSgU6.js} +1 -1
  263. package/web-shell/assets/{diagram-2AECGRRQ-CG4_eKiV.js → diagram-2AECGRRQ-BDPNWr1m.js} +1 -1
  264. package/web-shell/assets/{diagram-5GNKFQAL-DSFTmZB1.js → diagram-5GNKFQAL-CNFhTszL.js} +1 -1
  265. package/web-shell/assets/{diagram-KO2AKTUF-BxwlEHn8.js → diagram-KO2AKTUF-CjPa4p5a.js} +1 -1
  266. package/web-shell/assets/{diagram-LMA3HP47-BUAg-jMG.js → diagram-LMA3HP47-ZzPykSyG.js} +1 -1
  267. package/web-shell/assets/{diagram-OG6HWLK6-BFM2jlO5.js → diagram-OG6HWLK6-0UVtZ9A4.js} +1 -1
  268. package/web-shell/assets/{erDiagram-TEJ5UH35-CerbFPa2.js → erDiagram-TEJ5UH35-CajDZCat.js} +1 -1
  269. package/web-shell/assets/{flowDiagram-I6XJVG4X-BNeZz5Zz.js → flowDiagram-I6XJVG4X-BRuFBIvL.js} +1 -1
  270. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CTOogLaM.js → ganttDiagram-6RSMTGT7-BevGmJqG.js} +3 -3
  271. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-yxSFkXPj.js → gitGraphDiagram-PVQCEYII-DvPMpBMb.js} +1 -1
  272. package/web-shell/assets/index-Cnvv4VcI.css +5 -0
  273. package/web-shell/assets/index-D1Uyklxa.js +1088 -0
  274. package/web-shell/assets/index-DzHwQkQq.js +3 -0
  275. package/web-shell/assets/{infoDiagram-5YYISTIA-DYdAUevm.js → infoDiagram-5YYISTIA-Oixn7tA9.js} +1 -1
  276. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CNuijZ90.js → ishikawaDiagram-YF4QCWOH-BgKpeg-j.js} +1 -1
  277. package/web-shell/assets/{journeyDiagram-JHISSGLW-BTyiuonf.js → journeyDiagram-JHISSGLW-74mwxIaA.js} +1 -1
  278. package/web-shell/assets/{kanban-definition-UN3LZRKU-DPJo0Uow.js → kanban-definition-UN3LZRKU-D4D6cEqA.js} +1 -1
  279. package/web-shell/assets/{linear-C8wKCbIC.js → linear-atZRE_L2.js} +1 -1
  280. package/web-shell/assets/{mermaid.core-BV5o7nW5.js → mermaid.core-KKudX-JC.js} +5 -5
  281. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BtLcBmSt.js → mindmap-definition-RKZ34NQL-CMCej9yG.js} +1 -1
  282. package/web-shell/assets/{pieDiagram-4H26LBE5-C22J7A9Q.js → pieDiagram-4H26LBE5-nhx40X7q.js} +1 -1
  283. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DSL10wiL.js → quadrantDiagram-W4KKPZXB-CUmVcN3M.js} +1 -1
  284. package/web-shell/assets/{requirementDiagram-4Y6WPE33-feqh0UpX.js → requirementDiagram-4Y6WPE33-C_vyEwyy.js} +1 -1
  285. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Z4OVaWaZ.js → sankeyDiagram-5OEKKPKP-DU6G4VWR.js} +1 -1
  286. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DIluIcb1.js → sequenceDiagram-3UESZ5HK-DdeRR_KJ.js} +1 -1
  287. package/web-shell/assets/{stateDiagram-AJRCARHV-hlhnuoYH.js → stateDiagram-AJRCARHV-C6iCI8ps.js} +1 -1
  288. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C0_6nR6C.js +1 -0
  289. package/web-shell/assets/{timeline-definition-PNZ67QCA-Dqf_CqgL.js → timeline-definition-PNZ67QCA-B_Ea8Cb7.js} +1 -1
  290. package/web-shell/assets/{vennDiagram-CIIHVFJN-DD2QhaTX.js → vennDiagram-CIIHVFJN-BPUVZEJA.js} +1 -1
  291. package/web-shell/assets/{wardley-L42UT6IY-B2uI85U_.js → wardley-L42UT6IY-BWEj0lKY.js} +1 -1
  292. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-U1aJX71g.js → wardleyDiagram-YWT4CUSO-BvDsdIQw.js} +1 -1
  293. package/web-shell/assets/{xychartDiagram-2RQKCTM6-C0ODHUee.js → xychartDiagram-2RQKCTM6-crz0QhF_.js} +1 -1
  294. package/web-shell/index.html +2 -2
  295. package/chunks/chunk-CU3L64TP.js +0 -93
  296. package/chunks/initializer-UTQ7FB7G.js +0 -71
  297. package/chunks/list-DEICDL65.js +0 -74
  298. package/chunks/loadedSettingsAdapter-NOWEGDYJ.js +0 -68
  299. package/chunks/mcp-L5JXEEIA.js +0 -68
  300. package/chunks/nonInteractiveCli-LS2K4X6A.js +0 -124
  301. package/chunks/types-JNKGKUJT.js +0 -12
  302. package/chunks/workspace-providers-status-4KMGETOJ.js +0 -71
  303. package/chunks/workspace-service-RVLBMSMZ.js +0 -80
  304. package/chunks/workspace-skills-status-DS4ZVFTO.js +0 -70
  305. package/web-shell/assets/channel-CLiQD50f.js +0 -1
  306. package/web-shell/assets/classDiagram-4FO5ZUOK-D3sYqow5.js +0 -1
  307. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-D3sYqow5.js +0 -1
  308. package/web-shell/assets/index-D5IWFVk1.css +0 -5
  309. package/web-shell/assets/index-KFJRDhX7.js +0 -783
  310. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BhQMwgpl.js +0 -1
@@ -2,15 +2,14 @@
2
2
  "use strict";
3
3
  import {
4
4
  ExtensionRefreshState,
5
+ clearSkillArgs,
5
6
  isValidSessionId,
6
- validateAuthMethod
7
- } from "./chunk-5HOMWMCL.js";
8
- import {
9
- isKittyProtocolEnabled
10
- } from "./chunk-5DTTYNB7.js";
11
- import {
12
- contextCommand
13
- } from "./chunk-D2GFWEXB.js";
7
+ skillArgsNote,
8
+ skillArgsPath,
9
+ staleArgsWarning,
10
+ validateAuthMethod,
11
+ writeSkillArgs
12
+ } from "./chunk-CEW4HDPK.js";
14
13
  import {
15
14
  VSCODE_SHIFT_ENTER_SEQUENCE,
16
15
  calculateCost,
@@ -22,28 +21,31 @@ import {
22
21
  levelLabel,
23
22
  useKeypress,
24
23
  writeOsc52
25
- } from "./chunk-GWLSNBG4.js";
24
+ } from "./chunk-DK33QJ3V.js";
25
+ import {
26
+ Text
27
+ } from "./chunk-K4PZ5F5T.js";
28
+ import {
29
+ isKittyProtocolEnabled
30
+ } from "./chunk-5DTTYNB7.js";
31
+ import {
32
+ contextCommand
33
+ } from "./chunk-B5I2IIWY.js";
26
34
  import {
27
35
  isTerminalGoalStatusKind
28
36
  } from "./chunk-7X7TEQNX.js";
29
- import {
30
- Text
31
- } from "./chunk-CNEIYWSA.js";
32
37
  import {
33
38
  require_react
34
39
  } from "./chunk-HTHUX2T5.js";
35
- import {
36
- themeManager
37
- } from "./chunk-MXL5UP4X.js";
38
- import {
39
- getErrorMessage as getErrorMessage2
40
- } from "./chunk-VA4KQY6V.js";
41
40
  import {
42
41
  getInstallationInfo
43
- } from "./chunk-OQ4DRIOA.js";
42
+ } from "./chunk-EQY6POVO.js";
44
43
  import {
45
44
  rollbackStandaloneUpdate
46
- } from "./chunk-EMDMPBJ4.js";
45
+ } from "./chunk-7L4XBYVW.js";
46
+ import {
47
+ themeManager
48
+ } from "./chunk-Q6TUALBE.js";
47
49
  import {
48
50
  GITHUB_WORKFLOW_PATHS,
49
51
  INSIGHT_CSS,
@@ -56,24 +58,19 @@ import {
56
58
  toJson,
57
59
  toJsonl,
58
60
  toMarkdown
59
- } from "./chunk-N3EMS75V.js";
61
+ } from "./chunk-4FMG7EDJ.js";
60
62
  import {
61
63
  stripUnsafeCharacters,
62
64
  toCodePoints
63
- } from "./chunk-Q6I5QHMH.js";
65
+ } from "./chunk-WTSXKLG5.js";
64
66
  import {
65
- formatUnsupportedVoiceModelMessage,
66
- getVoiceSettingsScope,
67
- isSelectableVoiceModel,
68
- isVoiceEnabled,
69
- readVoiceMode,
70
- readVoiceModel
71
- } from "./chunk-HPDUL5MF.js";
67
+ getErrorMessage as getErrorMessage2
68
+ } from "./chunk-65N2J6V2.js";
72
69
  import {
73
70
  getExtendedSystemInfo,
74
71
  getGitVersion,
75
72
  getNpmVersion
76
- } from "./chunk-W3JHSWRP.js";
73
+ } from "./chunk-WDWJ4OQJ.js";
77
74
  import {
78
75
  formatDuration,
79
76
  formatMemoryUsage,
@@ -82,7 +79,15 @@ import {
82
79
  import {
83
80
  isInlineModelOverrideAllowed,
84
81
  parseAcpModelOption
85
- } from "./chunk-34MW4KTI.js";
82
+ } from "./chunk-GGJII3FM.js";
83
+ import {
84
+ formatUnsupportedVoiceModelMessage,
85
+ getVoiceSettingsScope,
86
+ isSelectableVoiceModel,
87
+ isVoiceEnabled,
88
+ readVoiceMode,
89
+ readVoiceModel
90
+ } from "./chunk-DPFBNG72.js";
86
91
  import {
87
92
  OUTPUT_LANGUAGE_AUTO,
88
93
  getAllSettingKeys,
@@ -94,7 +99,7 @@ import {
94
99
  resolveOutputLanguage,
95
100
  validateSettingValue,
96
101
  writeOutputLanguageAndRegisterPath
97
- } from "./chunk-4C5BQ2D2.js";
102
+ } from "./chunk-6GETGQWP.js";
98
103
  import {
99
104
  SUPPORTED_LANGUAGES,
100
105
  getCurrentLanguage,
@@ -102,14 +107,14 @@ import {
102
107
  resolveSupportedLanguage,
103
108
  setLanguageAsync,
104
109
  t
105
- } from "./chunk-YAUFFXDS.js";
110
+ } from "./chunk-RDRVMDWV.js";
106
111
  import {
107
112
  isFolderTrustEnabled,
108
113
  loadTrustedFolders
109
- } from "./chunk-HKMAENAO.js";
114
+ } from "./chunk-4YWLED2A.js";
110
115
  import {
111
116
  require_strip_json_comments
112
- } from "./chunk-RDJSGHZE.js";
117
+ } from "./chunk-ALGGS7UH.js";
113
118
  import {
114
119
  ArenaManager,
115
120
  BTW_MAX_INPUT_LENGTH,
@@ -153,6 +158,7 @@ import {
153
158
  glob,
154
159
  hookEventSupportsMatcher,
155
160
  ideContextStore,
161
+ isExtensionCommittedWithWarningsError,
156
162
  isImageCapable,
157
163
  isSuccessStatus,
158
164
  isTerminalStatus,
@@ -178,25 +184,25 @@ import {
178
184
  stripStartupContext,
179
185
  tryGenerateSessionTitle,
180
186
  unregisterGoalHook
181
- } from "./chunk-NVYTCB5Z.js";
187
+ } from "./chunk-K7CRWKOE.js";
182
188
  import {
183
189
  external_exports
184
190
  } from "./chunk-H6XPXXMH.js";
185
191
  import {
186
192
  runSideQuery
187
- } from "./chunk-W2UIXQDL.js";
193
+ } from "./chunk-6OATMEYN.js";
188
194
  import {
189
195
  APPROVAL_MODES,
190
196
  FORK_SUBAGENT_TYPE
191
- } from "./chunk-4GORAUCN.js";
197
+ } from "./chunk-TXY2C3D2.js";
192
198
  import {
193
199
  applySkillAllowedTools,
194
200
  buildSkillLlmContent
195
- } from "./chunk-7R3CZA3Q.js";
201
+ } from "./chunk-2Z5UX4KI.js";
196
202
  import {
197
203
  HookEventName,
198
204
  sanitizeUserPromptExpansionAdditionalContext
199
- } from "./chunk-GWHYEOV2.js";
205
+ } from "./chunk-ARKANCNX.js";
200
206
  import {
201
207
  IdeConnectionEvent,
202
208
  formatTokenUsageSummaryAsCsv,
@@ -209,13 +215,13 @@ import {
209
215
  recordSkillInvocation,
210
216
  resolveOpenAILogDir,
211
217
  uiTelemetryService
212
- } from "./chunk-3VAGG5T5.js";
218
+ } from "./chunk-P6LART6G.js";
213
219
  import {
214
220
  getAutoMemoryRoot
215
- } from "./chunk-YLV3XXFB.js";
221
+ } from "./chunk-FBU7WRZI.js";
216
222
  import {
217
223
  ToolNames
218
- } from "./chunk-B5ORX3FG.js";
224
+ } from "./chunk-2UUAIFQO.js";
219
225
  import {
220
226
  openBrowserSecurely
221
227
  } from "./chunk-JESCGQM3.js";
@@ -231,12 +237,12 @@ import {
231
237
  isSubpath,
232
238
  resolvePath,
233
239
  updateSymlink
234
- } from "./chunk-J4TSQ5EQ.js";
240
+ } from "./chunk-7NFB7LBQ.js";
235
241
  import {
236
242
  isCpuProfileRecording,
237
243
  startCpuProfile,
238
244
  stopCpuProfile
239
- } from "./chunk-CCDMCZPP.js";
245
+ } from "./chunk-XLIRF7IK.js";
240
246
  import {
241
247
  init_esbuild_shims
242
248
  } from "./chunk-5O2XNYP6.js";
@@ -1823,7 +1829,12 @@ init_esbuild_shims();
1823
1829
  // packages/cli/src/ui/hooks/useAutoAcceptIndicator.ts
1824
1830
  init_esbuild_shims();
1825
1831
  var import_react = __toESM(require_react(), 1);
1826
- var AUTO_MODE_FIRST_TIME_MESSAGE = "Auto mode enabled.\n An LLM classifier evaluates each tool call \u2014 safe actions auto-approve,\n risky ones are blocked. Exit: Shift+Tab or /approval-mode default.";
1832
+ var AUTO_MODE_FIRST_TIME_MESSAGE_KEY = "auto_mode.entry_notice";
1833
+ var AUTO_MODE_FIRST_TIME_MESSAGE_FALLBACK = "Auto mode enabled.\n An LLM classifier evaluates each tool call \u2014 safe actions auto-approve,\n risky ones are blocked. Exit: Shift+Tab or /approval-mode default.";
1834
+ var getAutoModeFirstTimeMessage = /* @__PURE__ */ __name(() => {
1835
+ const message = t(AUTO_MODE_FIRST_TIME_MESSAGE_KEY);
1836
+ return message === AUTO_MODE_FIRST_TIME_MESSAGE_KEY ? AUTO_MODE_FIRST_TIME_MESSAGE_FALLBACK : message;
1837
+ }, "getAutoModeFirstTimeMessage");
1827
1838
  function useAutoAcceptIndicator({
1828
1839
  config,
1829
1840
  settings,
@@ -1884,7 +1895,7 @@ function emitAutoModeEntryNotices(opts) {
1884
1895
  const acknowledged = settings?.merged.ui?.autoModeAcknowledged === true;
1885
1896
  if (!acknowledged) {
1886
1897
  addItem(
1887
- { type: "info" /* INFO */, text: AUTO_MODE_FIRST_TIME_MESSAGE },
1898
+ { type: "info" /* INFO */, text: getAutoModeFirstTimeMessage() },
1888
1899
  now
1889
1900
  );
1890
1901
  if (settings) {
@@ -1913,10 +1924,16 @@ __name(emitAutoModeEntryNotices, "emitAutoModeEntryNotices");
1913
1924
  init_esbuild_shims();
1914
1925
  function formatApprovalModeName(mode) {
1915
1926
  switch (mode) {
1927
+ case "plan" /* PLAN */:
1928
+ return t("plan mode");
1916
1929
  case "default" /* DEFAULT */:
1917
1930
  return t("Ask permissions");
1931
+ case "auto-edit" /* AUTO_EDIT */:
1932
+ return t("auto-accept edits");
1933
+ case "auto" /* AUTO */:
1934
+ return t("Auto mode");
1918
1935
  case "yolo" /* YOLO */:
1919
- return "YOLO";
1936
+ return t("YOLO mode");
1920
1937
  default:
1921
1938
  return mode;
1922
1939
  }
@@ -3359,6 +3376,13 @@ var compressFastCommand = {
3359
3376
  );
3360
3377
  return;
3361
3378
  }
3379
+ if (context.invocation?.args?.trim()) {
3380
+ return {
3381
+ type: "message",
3382
+ messageType: "info",
3383
+ content: t("The /compress-fast command does not accept arguments.")
3384
+ };
3385
+ }
3362
3386
  const pendingMessage = {
3363
3387
  type: "compression" /* COMPRESSION */,
3364
3388
  compression: {
@@ -5970,6 +5994,20 @@ async function installAction(context, args) {
5970
5994
  );
5971
5995
  context.ui.reloadCommands();
5972
5996
  } catch (error) {
5997
+ if (isExtensionCommittedWithWarningsError(error)) {
5998
+ context.ui.addItem(
5999
+ {
6000
+ type: "warning" /* WARNING */,
6001
+ text: t(
6002
+ "Extension was installed but could not be reloaded: {{error}}",
6003
+ { error: redactUrlCredentials(getErrorMessage2(error)) }
6004
+ )
6005
+ },
6006
+ Date.now()
6007
+ );
6008
+ context.ui.reloadCommands();
6009
+ return;
6010
+ }
5973
6011
  context.ui.addItem(
5974
6012
  {
5975
6013
  type: "error" /* ERROR */,
@@ -6443,6 +6481,16 @@ function getHookExitCodes(eventName) {
6443
6481
  { code: 2, description: t("show stderr to model immediately") },
6444
6482
  { code: "Other", description: t("show stderr to user only") }
6445
6483
  ],
6484
+ ["MessageDisplay" /* MessageDisplay */]: [
6485
+ {
6486
+ code: 0,
6487
+ description: t("fire-and-forget; exit status is ignored")
6488
+ },
6489
+ {
6490
+ code: "Other",
6491
+ description: t("fire-and-forget; exit status is ignored")
6492
+ }
6493
+ ],
6446
6494
  ["Notification" /* Notification */]: [
6447
6495
  { code: 0, description: t("stdout/stderr not shown") },
6448
6496
  { code: "Other", description: t("show stderr to user only") }
@@ -6563,6 +6611,9 @@ function getHookShortDescription(eventName) {
6563
6611
  "When a slash command expands into a prompt"
6564
6612
  ),
6565
6613
  ["SessionStart" /* SessionStart */]: t("When a new session is started"),
6614
+ ["MessageDisplay" /* MessageDisplay */]: t(
6615
+ "Repeatedly, as the assistant reply streams"
6616
+ ),
6566
6617
  ["Stop" /* Stop */]: t("Right before Qwen Code concludes its response"),
6567
6618
  ["SubagentStart" /* SubagentStart */]: t(
6568
6619
  "When a subagent (Agent tool call) is started"
@@ -6618,6 +6669,9 @@ function getHookDescription(eventName) {
6618
6669
  ["SessionStart" /* SessionStart */]: t(
6619
6670
  "Input to command is JSON with session start source."
6620
6671
  ),
6672
+ ["MessageDisplay" /* MessageDisplay */]: t(
6673
+ "Input to command is JSON with message_id, displayed_text (cumulative text streamed so far), and is_final. Fire-and-forget: output and exit status are ignored."
6674
+ ),
6621
6675
  ["SessionEnd" /* SessionEnd */]: t(
6622
6676
  "Input to command is JSON with session end reason."
6623
6677
  ),
@@ -7896,7 +7950,23 @@ function formatUiLanguageDisplay(lang) {
7896
7950
  return option.nativeName && option.nativeName !== option.fullName ? `${option.nativeName} (${option.fullName}) [${option.id}]` : `${option.fullName} [${option.id}]`;
7897
7951
  }
7898
7952
  __name(formatUiLanguageDisplay, "formatUiLanguageDisplay");
7899
- async function setUiLanguage(context, lang) {
7953
+ function parseUiScopeFlags(input) {
7954
+ let remaining = input;
7955
+ const hasProject = /(?:^|\s)--project(?:\s|$)/.test(remaining);
7956
+ const hasGlobal = /(?:^|\s)--global(?:\s|$)/.test(remaining);
7957
+ let scope;
7958
+ if (hasProject) {
7959
+ scope = "Workspace" /* Workspace */;
7960
+ remaining = remaining.replace(/(?:^|\s)--project(?:\s|$)/, " ").trim();
7961
+ }
7962
+ if (hasGlobal) {
7963
+ scope = "User" /* User */;
7964
+ remaining = remaining.replace(/(?:^|\s)--global(?:\s|$)/, " ").trim();
7965
+ }
7966
+ return { scope, remaining, hasProject, hasGlobal };
7967
+ }
7968
+ __name(parseUiScopeFlags, "parseUiScopeFlags");
7969
+ async function setUiLanguage(context, lang, scope = "User" /* User */) {
7900
7970
  const { services } = context;
7901
7971
  if (!services.config) {
7902
7972
  return {
@@ -7908,7 +7978,7 @@ async function setUiLanguage(context, lang) {
7908
7978
  await setLanguageAsync(lang);
7909
7979
  if (services.settings?.setValue) {
7910
7980
  try {
7911
- services.settings.setValue("User" /* User */, "general.language", lang);
7981
+ services.settings.setValue(scope, "general.language", lang);
7912
7982
  } catch (error) {
7913
7983
  debugLogger9.warn("Failed to save language setting:", error);
7914
7984
  }
@@ -8046,7 +8116,28 @@ var languageCommand = {
8046
8116
  kind: "built-in" /* BUILT_IN */,
8047
8117
  supportedModes: ["interactive", "non_interactive", "acp"],
8048
8118
  action: /* @__PURE__ */ __name(async (context, args) => {
8049
- const trimmedArgs = args.trim();
8119
+ const { scope, remaining, hasProject, hasGlobal } = parseUiScopeFlags(
8120
+ args.trim()
8121
+ );
8122
+ if (hasProject && hasGlobal) {
8123
+ return {
8124
+ type: "message",
8125
+ messageType: "error",
8126
+ content: t(
8127
+ "Cannot use both --project and --global. Choose one scope flag."
8128
+ )
8129
+ };
8130
+ }
8131
+ if (scope === "Workspace" /* Workspace */ && context.services.settings && !context.services.settings.isTrusted) {
8132
+ return {
8133
+ type: "message",
8134
+ messageType: "error",
8135
+ content: t(
8136
+ "Workspace is untrusted; run /trust first or use --global."
8137
+ )
8138
+ };
8139
+ }
8140
+ const trimmedArgs = remaining;
8050
8141
  if (!trimmedArgs) {
8051
8142
  return {
8052
8143
  type: "message",
@@ -8079,7 +8170,7 @@ var languageCommand = {
8079
8170
  })
8080
8171
  };
8081
8172
  }
8082
- return setUiLanguage(context, targetLang);
8173
+ return setUiLanguage(context, targetLang, scope);
8083
8174
  }, "action"),
8084
8175
  // Nested subcommands for each supported language (e.g., /language ui zh-CN)
8085
8176
  subCommands: SUPPORTED_LANGUAGES.map(
@@ -9446,7 +9537,10 @@ var renameCommand = {
9446
9537
  }
9447
9538
  const chatRecordingService = config.getChatRecordingService();
9448
9539
  if (chatRecordingService) {
9449
- const ok = chatRecordingService.recordCustomTitle(name, titleSource);
9540
+ const ok = await chatRecordingService.recordCustomTitle(
9541
+ name,
9542
+ titleSource
9543
+ );
9450
9544
  if (!ok) {
9451
9545
  return {
9452
9546
  type: "message",
@@ -12325,6 +12419,7 @@ None captured`;
12325
12419
  async generateMetrics(files, onProgress) {
12326
12420
  const heatmap = {};
12327
12421
  const activeHours = {};
12422
+ let latestActiveTimestamp = null;
12328
12423
  const sessionStartTimes = {};
12329
12424
  const sessionEndTimes = {};
12330
12425
  let totalMessages = 0;
@@ -12350,6 +12445,9 @@ None captured`;
12350
12445
  totalMessages++;
12351
12446
  heatmap[dateKey] = (heatmap[dateKey] || 0) + 1;
12352
12447
  activeHours[hour] = (activeHours[hour] || 0) + 1;
12448
+ if (latestActiveTimestamp === null || timestamp > latestActiveTimestamp) {
12449
+ latestActiveTimestamp = timestamp;
12450
+ }
12353
12451
  }
12354
12452
  if (!sessionStartTimes[record.sessionId]) {
12355
12453
  sessionStartTimes[record.sessionId] = timestamp;
@@ -12412,18 +12510,10 @@ None captured`;
12412
12510
  }
12413
12511
  }
12414
12512
  const totalHours = Math.round(totalDurationMs / (1e3 * 60 * 60));
12415
- let latestActiveTime = null;
12416
- let latestTimestamp = /* @__PURE__ */ new Date(0);
12417
- for (const dateStr in heatmap) {
12418
- const date = new Date(dateStr);
12419
- if (date > latestTimestamp) {
12420
- latestTimestamp = date;
12421
- latestActiveTime = date.toLocaleTimeString([], {
12422
- hour: "2-digit",
12423
- minute: "2-digit"
12424
- });
12425
- }
12426
- }
12513
+ const latestActiveTime = latestActiveTimestamp ? latestActiveTimestamp.toLocaleTimeString([], {
12514
+ hour: "2-digit",
12515
+ minute: "2-digit"
12516
+ }) : null;
12427
12517
  const topTools = Object.entries(toolUsage).sort((a, b) => b[1] - a[1]).slice(0, 10);
12428
12518
  return {
12429
12519
  heatmap,
@@ -12582,6 +12672,7 @@ var TemplateRenderer = class {
12582
12672
  }
12583
12673
  // Render the complete HTML file
12584
12674
  async renderInsightHTML(insights) {
12675
+ const insightJson = JSON.stringify(insights).replace(/</g, "\\u003c").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
12585
12676
  const html = `<!doctype html>
12586
12677
  <html lang="en">
12587
12678
  <head>
@@ -12609,7 +12700,7 @@ var TemplateRenderer = class {
12609
12700
 
12610
12701
  <!-- Application Data -->
12611
12702
  <script>
12612
- window.INSIGHT_DATA = ${JSON.stringify(insights)};
12703
+ window.INSIGHT_DATA = ${insightJson};
12613
12704
  </script>
12614
12705
 
12615
12706
  <!-- App Script -->
@@ -13013,10 +13104,10 @@ var updateCommand = {
13013
13104
  { performStandaloneUpdate },
13014
13105
  installationInfo
13015
13106
  ] = await Promise.all([
13016
- import("./updateCheck-2KYEYVSB.js"),
13017
- import("./handleAutoUpdate-5NWTLR67.js"),
13018
- import("./standalone-update-OB7F4JPZ.js"),
13019
- import("./installationInfo-W6V4DT7W.js")
13107
+ import("./updateCheck-QTVVISH7.js"),
13108
+ import("./handleAutoUpdate-ULHNWL6R.js"),
13109
+ import("./standalone-update-L5XW3D7K.js"),
13110
+ import("./installationInfo-WELKRHHE.js")
13020
13111
  ]);
13021
13112
  const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
13022
13113
  const settings = context.services.settings;
@@ -13292,10 +13383,19 @@ ${body}`;
13292
13383
  dirname2(skill.filePath),
13293
13384
  body
13294
13385
  );
13295
- const content = context.invocation?.args ? appendToLastTextPart(
13296
- [{ text: skillPrompt }],
13297
- context.invocation.raw
13298
- ) : [{ text: skillPrompt }];
13386
+ const rawArgs = context.invocation?.args ?? "";
13387
+ let content;
13388
+ if (rawArgs) {
13389
+ content = appendToLastTextPart(
13390
+ [{ text: skillPrompt }],
13391
+ context.invocation.raw + (writeSkillArgs(skill.name, rawArgs) ? skillArgsNote(skillArgsPath(skill.name), rawArgs) : "")
13392
+ );
13393
+ } else {
13394
+ content = [{ text: skillPrompt }];
13395
+ if (!clearSkillArgs(skill.name)) {
13396
+ content = appendToLastTextPart(content, staleArgsWarning());
13397
+ }
13398
+ }
13299
13399
  return {
13300
13400
  type: "submit_prompt",
13301
13401
  content
@@ -14375,7 +14475,19 @@ var SkillCommandLoader = class {
14375
14475
  dirname3(skill.filePath),
14376
14476
  skill.body
14377
14477
  );
14378
- const content = context.invocation?.args ? appendToLastTextPart([{ text: body }], context.invocation.raw) : [{ text: body }];
14478
+ const rawArgs = context.invocation?.args ?? "";
14479
+ let content;
14480
+ if (rawArgs) {
14481
+ content = appendToLastTextPart(
14482
+ [{ text: body }],
14483
+ context.invocation.raw + (writeSkillArgs(skill.name, rawArgs) ? skillArgsNote(skillArgsPath(skill.name), rawArgs) : "")
14484
+ );
14485
+ } else {
14486
+ content = [{ text: body }];
14487
+ if (!clearSkillArgs(skill.name)) {
14488
+ content = appendToLastTextPart(content, staleArgsWarning());
14489
+ }
14490
+ }
14379
14491
  return {
14380
14492
  type: "submit_prompt",
14381
14493
  content
@@ -2,16 +2,16 @@
2
2
  "use strict";
3
3
  import {
4
4
  loadSettings
5
- } from "./chunk-4C5BQ2D2.js";
5
+ } from "./chunk-6GETGQWP.js";
6
6
  import {
7
7
  getCurrentLanguage
8
- } from "./chunk-YAUFFXDS.js";
8
+ } from "./chunk-RDRVMDWV.js";
9
9
  import {
10
10
  isWorkspaceTrusted
11
- } from "./chunk-HKMAENAO.js";
11
+ } from "./chunk-4YWLED2A.js";
12
12
  import {
13
13
  require_strip_json_comments
14
- } from "./chunk-RDJSGHZE.js";
14
+ } from "./chunk-ALGGS7UH.js";
15
15
  import {
16
16
  writeStderrLine,
17
17
  writeStdoutLine
@@ -26,14 +26,14 @@ import {
26
26
  hashMcpServerConfig,
27
27
  isGatedMcpScope,
28
28
  normalizeClaudeMcpServer
29
- } from "./chunk-NVYTCB5Z.js";
29
+ } from "./chunk-K7CRWKOE.js";
30
30
  import {
31
31
  atomicWriteFile
32
- } from "./chunk-ZLXQN2QS.js";
32
+ } from "./chunk-WIEO4CWB.js";
33
33
  import {
34
34
  Storage,
35
35
  getErrorMessage
36
- } from "./chunk-J4TSQ5EQ.js";
36
+ } from "./chunk-7NFB7LBQ.js";
37
37
  import {
38
38
  init_esbuild_shims
39
39
  } from "./chunk-5O2XNYP6.js";
@@ -2,11 +2,11 @@
2
2
  "use strict";
3
3
  import {
4
4
  STATUS_SCHEMA_VERSION
5
- } from "./chunk-VWPVHAMO.js";
5
+ } from "./chunk-CUUXANEQ.js";
6
6
  import {
7
7
  detectRuntime,
8
8
  redactProxyCredentials
9
- } from "./chunk-4ZVWQHEQ.js";
9
+ } from "./chunk-LQIDP6K5.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-5O2XNYP6.js";
@@ -2,11 +2,11 @@
2
2
  "use strict";
3
3
  import {
4
4
  isTlsVerificationDisabled
5
- } from "./chunk-4ZVWQHEQ.js";
5
+ } from "./chunk-LQIDP6K5.js";
6
6
  import {
7
7
  getErrorMessage,
8
8
  isNodeError
9
- } from "./chunk-J4TSQ5EQ.js";
9
+ } from "./chunk-7NFB7LBQ.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-5O2XNYP6.js";
@@ -3,17 +3,17 @@
3
3
  import {
4
4
  getGitVersion,
5
5
  getNpmVersion
6
- } from "./chunk-W3JHSWRP.js";
6
+ } from "./chunk-WDWJ4OQJ.js";
7
7
  import {
8
8
  buildEnvStatusFromEnv,
9
9
  snapshotProcessEnv
10
- } from "./chunk-XLA62MYB.js";
10
+ } from "./chunk-ZKMGAFYV.js";
11
11
  import {
12
12
  mapDomainErrorToErrorKind
13
- } from "./chunk-VWPVHAMO.js";
13
+ } from "./chunk-CUUXANEQ.js";
14
14
  import {
15
15
  canUseRipgrep
16
- } from "./chunk-NVYTCB5Z.js";
16
+ } from "./chunk-K7CRWKOE.js";
17
17
  import {
18
18
  init_esbuild_shims
19
19
  } from "./chunk-5O2XNYP6.js";
@@ -0,0 +1,34 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ resolvePath
5
+ } from "./chunk-SXU3KKNI.js";
6
+ import {
7
+ init_esbuild_shims
8
+ } from "./chunk-5O2XNYP6.js";
9
+ import {
10
+ __name
11
+ } from "./chunk-J2S4EL5Y.js";
12
+
13
+ // packages/cli/src/commands/channel/channel-cwd.ts
14
+ init_esbuild_shims();
15
+ import * as path from "node:path";
16
+ function isHomeRelative(value) {
17
+ return value === "~" || value.startsWith("~/") || value.startsWith("~\\");
18
+ }
19
+ __name(isHomeRelative, "isHomeRelative");
20
+ function resolveChannelCwd(rawCwd, defaultCwd) {
21
+ if (!rawCwd) return resolvePath(defaultCwd);
22
+ if (isHomeRelative(rawCwd)) return resolvePath(rawCwd);
23
+ return path.resolve(defaultCwd, rawCwd);
24
+ }
25
+ __name(resolveChannelCwd, "resolveChannelCwd");
26
+
27
+ export {
28
+ resolveChannelCwd
29
+ };
30
+ /**
31
+ * @license
32
+ * Copyright 2026 Qwen Team
33
+ * SPDX-License-Identifier: Apache-2.0
34
+ */