@qwen-code/qwen-code 0.19.2-preview.0 → 0.19.3

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 (282) hide show
  1. package/bundled/extension-creator/SKILL.md +357 -0
  2. package/bundled/loop/SKILL.md +12 -7
  3. package/bundled/loop/SKILL.test.ts +32 -0
  4. package/bundled/qc-helper/SKILL.md +14 -14
  5. package/bundled/qc-helper/docs/configuration/auth.md +11 -11
  6. package/bundled/qc-helper/docs/configuration/model-providers.md +13 -13
  7. package/bundled/qc-helper/docs/configuration/settings.md +60 -60
  8. package/bundled/qc-helper/docs/features/commands.md +108 -77
  9. package/bundled/qc-helper/docs/features/memory.md +52 -0
  10. package/bundled/qc-helper/docs/qwen-serve.md +24 -2
  11. package/bundled/qc-helper/docs/support/tos-privacy.md +16 -3
  12. package/chunks/{MaxSizedBox-ZGJWTRFD.js → MaxSizedBox-QNF3EIGU.js} +29 -30
  13. package/chunks/{StandaloneSessionPicker-BUCTAFOX.js → StandaloneSessionPicker-Z52JTYST.js} +42 -40
  14. package/chunks/{acpAgent-JO2ITCNM.js → acpAgent-7RZUOWOM.js} +406 -118
  15. package/chunks/{agent-MY66OFO7.js → agent-4FG7WTHJ.js} +24 -26
  16. package/chunks/{agent-headless-SRMNGWN5.js → agent-headless-RQ5BTX3G.js} +24 -26
  17. package/chunks/{anthropicContentGenerator-E3TQ5XJJ.js → anthropicContentGenerator-PFITVL7Y.js} +31 -13
  18. package/chunks/{artifact-tool-QA4KRO3B.js → artifact-tool-D2X7G3C3.js} +2 -2
  19. package/chunks/{askUserQuestion-HMWXW6VN.js → askUserQuestion-UGETICJQ.js} +2 -2
  20. package/chunks/{bridge-GZCNYBHI.js → bridge-JL2PMCIW.js} +29 -32
  21. package/chunks/{ca-7WC7ELX6.js → ca-IUFWESZL.js} +1 -0
  22. package/chunks/{chunk-3UALQ56H.js → chunk-3227DZO4.js} +1 -1
  23. package/chunks/{chunk-2TLWKT22.js → chunk-3TV3HUWZ.js} +16 -7
  24. package/chunks/{chunk-WQ523TWK.js → chunk-4LUZAKMK.js} +45 -3
  25. package/chunks/{chunk-KDRNHNFO.js → chunk-4QK3O43S.js} +6 -27
  26. package/chunks/chunk-5GOVVXEV.js +73 -0
  27. package/chunks/{chunk-C4YPMKVC.js → chunk-6V4NZFUS.js} +5 -5
  28. package/chunks/{chunk-QCE46JPS.js → chunk-ADCIHOQZ.js} +138 -28
  29. package/chunks/chunk-BC3C4F3Q.js +40 -0
  30. package/chunks/{chunk-CGEGHF2C.js → chunk-BKXBARJZ.js} +1 -1
  31. package/chunks/chunk-BMFMJINR.js +45 -0
  32. package/chunks/chunk-BTLJ2MF5.js +690 -0
  33. package/chunks/{chunk-OIC6S73E.js → chunk-BUUQ5HPX.js} +1 -1
  34. package/chunks/{chunk-2BIF2NVV.js → chunk-BVSVIN45.js} +2 -2
  35. package/chunks/{chunk-JXQ23SNT.js → chunk-BW4KCQFD.js} +54 -2
  36. package/chunks/{chunk-TOEGRAVX.js → chunk-BX5YO7UW.js} +17 -5
  37. package/chunks/{chunk-3GOWF4JW.js → chunk-BXSHL2SF.js} +1 -1
  38. package/chunks/{chunk-UN3C6GOR.js → chunk-CF6BB3LT.js} +0 -107
  39. package/chunks/{chunk-Z7XXFPGP.js → chunk-CKQA6AWF.js} +1 -1
  40. package/chunks/{chunk-S3QKD3KC.js → chunk-CNLEDYE3.js} +7 -5
  41. package/chunks/{chunk-PRYMDRBV.js → chunk-DDMOU62Q.js} +1 -1
  42. package/chunks/chunk-EDMZZFDU.js +11213 -0
  43. package/chunks/{chunk-IRJWHZWU.js → chunk-EJYJYJZ2.js} +70 -3
  44. package/chunks/{chunk-Z3GEHYNS.js → chunk-F3ZYSEY6.js} +151 -4775
  45. package/chunks/chunk-FKAVULLM.js +4909 -0
  46. package/chunks/{chunk-QEFO4ZHF.js → chunk-FNJ7BDPH.js} +6 -6
  47. package/chunks/{chunk-ZMYGPJZ2.js → chunk-FXKVLFFY.js} +1 -1
  48. package/chunks/{chunk-NISEO774.js → chunk-GGBIN5K7.js} +1 -1
  49. package/chunks/{chunk-MLZC2B46.js → chunk-GT2FGICD.js} +1 -1
  50. package/chunks/{chunk-6RSJXDOE.js → chunk-HPZTOP4I.js} +75 -23
  51. package/chunks/{chunk-OTBK43JR.js → chunk-HYCC3XM3.js} +1 -1
  52. package/chunks/{chunk-MAJFZ73U.js → chunk-HZT4UCFB.js} +4 -4
  53. package/chunks/{chunk-VGU3SDPN.js → chunk-I2LYBGNI.js} +1 -1
  54. package/chunks/{chunk-TMBPDHXD.js → chunk-I4H7PRWQ.js} +1 -1
  55. package/chunks/{chunk-LUNAHBBC.js → chunk-J33ZR6OJ.js} +404 -4
  56. package/chunks/{chunk-MB7CQE2R.js → chunk-J7FA27RO.js} +109 -6
  57. package/chunks/{chunk-S566HKUS.js → chunk-JE5FVRPC.js} +38 -7
  58. package/chunks/{chunk-HKGTXQ2Q.js → chunk-JJXWTVSK.js} +1 -1
  59. package/chunks/{chunk-EEEZIVFJ.js → chunk-JOLIREYR.js} +1 -1
  60. package/chunks/{chunk-CGONIGON.js → chunk-JVHEVCAU.js} +5 -5
  61. package/chunks/chunk-K5XU6E4T.js +167 -0
  62. package/chunks/{chunk-EW6C27XX.js → chunk-KMGMKW5Q.js} +1 -1
  63. package/chunks/{chunk-B734I4XN.js → chunk-L7OKCI7T.js} +4 -2
  64. package/chunks/{chunk-3PPKH5TY.js → chunk-M2U5NM24.js} +188 -11366
  65. package/chunks/{chunk-PCTRA6JV.js → chunk-MNF6S5PR.js} +4 -4
  66. package/chunks/{chunk-FPACXT7T.js → chunk-N4EJFBN5.js} +421 -163
  67. package/chunks/chunk-NDOC6M5S.js +481 -0
  68. package/chunks/{chunk-HGNSRCRB.js → chunk-NL4C3H6C.js} +1 -1
  69. package/chunks/{chunk-GZCJS5WH.js → chunk-O2VBQ3Y2.js} +2 -2
  70. package/chunks/{chunk-Q47HB5BI.js → chunk-O75BHFQW.js} +10 -460
  71. package/chunks/{chunk-EPHYP7YA.js → chunk-ODLIHNOY.js} +1 -2
  72. package/chunks/{chunk-R44WETZC.js → chunk-PDE7CSDS.js} +2 -2
  73. package/chunks/{chunk-C7WPMYY6.js → chunk-PR32FRT6.js} +3 -3
  74. package/chunks/{chunk-7ACQGQWS.js → chunk-QE6KJYLT.js} +56 -29
  75. package/chunks/{chunk-3RJ3ZPPR.js → chunk-QI7GOGJR.js} +7 -7
  76. package/chunks/{chunk-XU5P23GN.js → chunk-QLDPRILK.js} +3 -3
  77. package/chunks/{chunk-S77J57YJ.js → chunk-QNKBEJO2.js} +359 -76
  78. package/chunks/{chunk-3MEMSFD3.js → chunk-QWFNTRH4.js} +1 -1
  79. package/chunks/chunk-QYUE6W3T.js +123 -0
  80. package/chunks/{chunk-WEOJMFUO.js → chunk-R5OP2ATH.js} +11 -11
  81. package/chunks/{chunk-BNXANYLH.js → chunk-RD6YJJJ6.js} +81 -1
  82. package/chunks/{chunk-3VWNMDXT.js → chunk-RRFZXMYP.js} +380 -400
  83. package/chunks/{chunk-ZN5T4BHI.js → chunk-RYLJU2DY.js} +1 -1
  84. package/chunks/{chunk-ZD3NW5KL.js → chunk-S7AKE7HL.js} +3 -3
  85. package/chunks/{chunk-BG4BIP7F.js → chunk-SBBN4BWR.js} +4 -2
  86. package/chunks/{chunk-T2VDEFUU.js → chunk-SKQZZVAV.js} +2 -2
  87. package/chunks/{chunk-EDEHJ6DO.js → chunk-SLNKLLEO.js} +14 -9
  88. package/chunks/chunk-SMXULRAN.js +37 -0
  89. package/chunks/{chunk-BUY35XTH.js → chunk-SMYQZVZ3.js} +1 -1
  90. package/chunks/{chunk-YTHAFW7O.js → chunk-STUWFKGD.js} +1001 -887
  91. package/chunks/{chunk-SFUYT3EQ.js → chunk-T4T2FNV4.js} +2 -2
  92. package/chunks/{chunk-F6XNTYNE.js → chunk-U3KSMM7G.js} +8 -4
  93. package/chunks/chunk-UFLGERMB.js +813 -0
  94. package/chunks/{chunk-BGUDAULQ.js → chunk-UO5GVXQE.js} +5 -5
  95. package/chunks/{chunk-C4K3FEQ2.js → chunk-UX4SGCGN.js} +32 -3
  96. package/chunks/{chunk-TWMKA4OQ.js → chunk-UYT3MWEB.js} +85 -8
  97. package/chunks/{chunk-5J3QYE2J.js → chunk-VBZ452JT.js} +113 -24
  98. package/chunks/{chunk-KBXLIVWQ.js → chunk-VVLOGDB6.js} +2 -2
  99. package/chunks/{chunk-TXVGVZYR.js → chunk-XJYUPHRC.js} +3 -3
  100. package/chunks/{chunk-2JD55C6G.js → chunk-Y6YMRS3U.js} +2 -2
  101. package/chunks/{chunk-ACZI6UDO.js → chunk-YAINVQ3Q.js} +2961 -1349
  102. package/chunks/{chunk-X6EDWN44.js → chunk-ZP6UKOPB.js} +1 -1
  103. package/chunks/{computer-use-6OUCN274.js → computer-use-JGB36FDW.js} +103 -52
  104. package/chunks/{contextCommand-M5IKMWCY.js → contextCommand-WYU6OQ2F.js} +26 -28
  105. package/chunks/{cron-create-4KQE6YLH.js → cron-create-SKEY55RG.js} +4 -4
  106. package/chunks/{cron-delete-THME66UP.js → cron-delete-I3NAT32Z.js} +6 -6
  107. package/chunks/{cron-list-7A54SJ5N.js → cron-list-6XRRL6TH.js} +5 -5
  108. package/chunks/daemon-status-provider-HH2EC5FI.js +65 -0
  109. package/chunks/{de-ACHALDED.js → de-EOW5PVHF.js} +1 -0
  110. package/chunks/{dist-BOOH5JWN.js → dist-663NZ6MI.js} +1 -1
  111. package/chunks/{dist-QHJRBCMP.js → dist-J37VXPLD.js} +46 -5
  112. package/chunks/{dist-OD2FY543.js → dist-LB6OGPVM.js} +1 -1
  113. package/chunks/{dist-BD27IA3L.js → dist-NHEYYB2B.js} +2 -2
  114. package/chunks/{dist-QFFZWACU.js → dist-PQPZ5Q4N.js} +1 -1
  115. package/chunks/{earlyInputCapture-HX4EHHVF.js → earlyInputCapture-44RISVVJ.js} +25 -27
  116. package/chunks/{edit-AHPBJWZO.js → edit-NN6GM5DT.js} +68 -30
  117. package/chunks/{en-NCUBOJOY.js → en-HPWEJBTR.js} +8 -0
  118. package/chunks/{enter-worktree-PB45KTMD.js → enter-worktree-PB3O2C7D.js} +24 -26
  119. package/chunks/{enterPlanMode-WBJ23SFX.js → enterPlanMode-YQFNNSUA.js} +24 -26
  120. package/chunks/{errors-OBDZ5XIW.js → errors-LS7XU5DZ.js} +26 -28
  121. package/chunks/{exit-worktree-VZK27UQY.js → exit-worktree-E2FTNSBK.js} +24 -26
  122. package/chunks/{exitPlanMode-SVJCUCD2.js → exitPlanMode-GLYK2BUB.js} +24 -26
  123. package/chunks/{fast-path-LCCPZVEW.js → fast-path-WQ6M7LI7.js} +4 -4
  124. package/chunks/{fast-path-settings-TSVI53EB.js → fast-path-settings-OAGU3X5H.js} +3 -2
  125. package/chunks/{fr-GVKZ27MF.js → fr-BN5NKSAC.js} +1 -0
  126. package/chunks/{gemini-NVIOUXR6.js → gemini-2YFLVA2M.js} +204 -103
  127. package/chunks/{geminiContentGenerator-35K5AQ5O.js → geminiContentGenerator-XV6SV6CD.js} +4 -4
  128. package/chunks/{glob-JU4Y7GPG.js → glob-2H6CDDMK.js} +24 -26
  129. package/chunks/{grep-J4B63YPZ.js → grep-VXIUXM3C.js} +24 -26
  130. package/chunks/{headlessSafetyWarnings-23EM5RH2.js → headlessSafetyWarnings-TBE35GJ4.js} +24 -26
  131. package/chunks/initializer-2Y7SLOKV.js +61 -0
  132. package/chunks/{ja-FKZ2WZ4D.js → ja-7DEUB2TS.js} +1 -0
  133. package/chunks/{keychain-token-storage-CSYMNRPP.js → keychain-token-storage-YLMDLKXT.js} +2 -2
  134. package/chunks/list-ZAFHZ7OS.js +65 -0
  135. package/chunks/loadedSettingsAdapter-6KJXD6M3.js +60 -0
  136. package/chunks/{loop-wakeup-33GPXJLA.js → loop-wakeup-CITGGQHA.js} +7 -7
  137. package/chunks/{ls-BYQY7RVV.js → ls-R5WP4BGZ.js} +4 -4
  138. package/chunks/{lsp-X54RO4IV.js → lsp-GSICJMMW.js} +2 -2
  139. package/chunks/{monitor-WU7WVFM2.js → monitor-HKLRS2HQ.js} +24 -26
  140. package/chunks/nonInteractiveCli-5W4GIZQM.js +96 -0
  141. package/chunks/{notebook-edit-UGVPLPX4.js → notebook-edit-Y6SKSGTT.js} +52 -26
  142. package/chunks/{openaiContentGenerator-TI3M5VNP.js → openaiContentGenerator-J7G2FYJT.js} +13 -14
  143. package/chunks/{pt-SY5NCFGR.js → pt-TNZRNLQB.js} +1 -0
  144. package/chunks/{qwenContentGenerator-7WDBLJ77.js → qwenContentGenerator-5XIEM5GV.js} +26 -28
  145. package/chunks/{qwenOAuth2-K4AASPCV.js → qwenOAuth2-AG3PFFLZ.js} +4 -4
  146. package/chunks/{read-file-Y4NNE7M7.js → read-file-J7D552ZJ.js} +9 -10
  147. package/chunks/{read-mcp-resource-I5HCZJ6X.js → read-mcp-resource-DQQW7H7T.js} +2 -2
  148. package/chunks/{ripGrep-I5KP7EQ7.js → ripGrep-IEIFIWP4.js} +24 -26
  149. package/chunks/{ru-FWNXJG4F.js → ru-NIAUBKCN.js} +1 -0
  150. package/chunks/{run-qwen-serve-VRHHXLVN.js → run-qwen-serve-SGEEVMXD.js} +149 -41
  151. package/chunks/{scheduler-MPIZJSXK.js → scheduler-7CQI3S4Q.js} +24 -26
  152. package/chunks/{send-message-2DAFXEYP.js → send-message-EE4TWKVU.js} +2 -2
  153. package/chunks/{serve-O2HA5D2Y.js → serve-V6GVZR6U.js} +31 -31
  154. package/chunks/{server-ZU5GPYYG.js → server-4QMUWXPW.js} +6996 -5864
  155. package/chunks/{session-TBV6PADC.js → session-NRO7UFOY.js} +62 -57
  156. package/chunks/{settings-2IYAFT2Z.js → settings-SGWRDQSC.js} +30 -30
  157. package/chunks/{shell-EZRRV6ET.js → shell-62ANGIHL.js} +24 -26
  158. package/chunks/{skill-2UPCJCHZ.js → skill-VWAQAWW6.js} +39 -13
  159. package/chunks/{spawnChannel-2LTBWDWZ.js → spawnChannel-3VHW5EPY.js} +26 -28
  160. package/chunks/{src-UKQZLQ6R.js → src-KUV5J5Q2.js} +52 -28
  161. package/chunks/{startInteractiveUI-C3TJCUJP.js → startInteractiveUI-6EYJN3JV.js} +2588 -2371
  162. package/chunks/{syntheticOutput-PPS3HDVA.js → syntheticOutput-T5YHQ6S2.js} +3 -3
  163. package/chunks/{task-create-OUYCA553.js → task-create-BLY7RHXX.js} +6 -6
  164. package/chunks/{task-list-WAX7I2IA.js → task-list-3QUYNVYR.js} +5 -5
  165. package/chunks/{task-stop-CAIL6FNH.js → task-stop-U4RATK2V.js} +2 -2
  166. package/chunks/{task-update-AHEO5OUT.js → task-update-U54O7KJX.js} +6 -6
  167. package/chunks/{team-create-3UXTW2MP.js → team-create-LPOGCPM7.js} +24 -26
  168. package/chunks/{team-delete-HGHFG23B.js → team-delete-LKBYPASD.js} +5 -5
  169. package/chunks/{theme-manager-3M5P6HST.js → theme-manager-LYLGAERF.js} +25 -27
  170. package/chunks/{todoWrite-IFBMN3FH.js → todoWrite-OYXKTVYN.js} +4 -4
  171. package/chunks/{tool-search-BHVIDD3W.js → tool-search-YPUFJ3ZQ.js} +102 -18
  172. package/chunks/trustedFolders-5B24TMEA.js +73 -0
  173. package/chunks/types-QX5C3CHJ.js +12 -0
  174. package/chunks/{validateNonInterActiveAuth-HHD2CROM.js → validateNonInterActiveAuth-BTDTYOVT.js} +57 -54
  175. package/chunks/{web-fetch-B5IIQ5TT.js → web-fetch-EEB5LZYU.js} +28 -15
  176. package/chunks/{workflow-PPOHBLSJ.js → workflow-LAWIW5LI.js} +32 -33
  177. package/chunks/workspace-providers-status-PIAFVYHA.js +62 -0
  178. package/chunks/workspace-service-YAIOD4HG.js +71 -0
  179. package/chunks/{write-file-44GS2JVH.js → write-file-PCV226DJ.js} +63 -30
  180. package/chunks/{zh-RBEGQVQT.js → zh-5EUYXASN.js} +8 -0
  181. package/chunks/{zh-TW-QGAVRXT3.js → zh-TW-TR3XYGE5.js} +8 -0
  182. package/cli-entry.js +20 -9
  183. package/cli.js +6 -6
  184. package/locales/ca.js +2 -0
  185. package/locales/de.js +2 -0
  186. package/locales/en.js +14 -0
  187. package/locales/fr.js +2 -0
  188. package/locales/ja.js +1 -0
  189. package/locales/pt.js +2 -0
  190. package/locales/ru.js +2 -0
  191. package/locales/zh-TW.js +12 -0
  192. package/locales/zh.js +12 -0
  193. package/node_modules/@qwen-code/audio-capture/dist/index.d.ts +35 -0
  194. package/node_modules/@qwen-code/audio-capture/dist/index.js +48 -0
  195. package/node_modules/@qwen-code/audio-capture/dist/index.js.map +1 -0
  196. package/node_modules/@qwen-code/audio-capture/dist/platform.d.ts +7 -0
  197. package/node_modules/@qwen-code/audio-capture/dist/platform.js +18 -0
  198. package/node_modules/@qwen-code/audio-capture/dist/platform.js.map +1 -0
  199. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/LICENSE +21 -0
  200. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/README.md +58 -0
  201. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/SECURITY.md +5 -0
  202. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/bin.js +84 -0
  203. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/build-test.js +19 -0
  204. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/index.js +6 -0
  205. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/node-gyp-build.js +207 -0
  206. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/optional.js +7 -0
  207. package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/package.json +43 -0
  208. package/node_modules/@qwen-code/audio-capture/package.json +30 -0
  209. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
  210. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
  211. package/node_modules/@qwen-code/audio-capture/prebuilds/linux-arm64/@qwen-code+audio-capture.node +0 -0
  212. package/node_modules/@qwen-code/audio-capture/prebuilds/linux-x64/@qwen-code+audio-capture.node +0 -0
  213. package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
  214. package/package.json +6 -3
  215. package/web-shell/assets/{arc-D_ae_Y9k.js → arc-DA7r8Ueo.js} +1 -1
  216. package/web-shell/assets/{architectureDiagram-3BPJPVTR-BMLRjppa.js → architectureDiagram-3BPJPVTR-ZDUxPtZ2.js} +1 -1
  217. package/web-shell/assets/{blockDiagram-GPEHLZMM-qVDQC8KL.js → blockDiagram-GPEHLZMM-vrtOf1kJ.js} +1 -1
  218. package/web-shell/assets/{c4Diagram-AAUBKEIU-CxWS6MBd.js → c4Diagram-AAUBKEIU-BHFjzIi4.js} +1 -1
  219. package/web-shell/assets/channel-iRo68q4Q.js +1 -0
  220. package/web-shell/assets/{chunk-2J33WTMH-BtNuY5Yp.js → chunk-2J33WTMH-mdeQVz59.js} +1 -1
  221. package/web-shell/assets/{chunk-4BX2VUAB-BU-x368d.js → chunk-4BX2VUAB-BkKMlwBX.js} +1 -1
  222. package/web-shell/assets/{chunk-55IACEB6-DRgTLvBu.js → chunk-55IACEB6-B7bnXNfu.js} +1 -1
  223. package/web-shell/assets/{chunk-727SXJPM-D2aElv7q.js → chunk-727SXJPM-DGz8Mm6i.js} +1 -1
  224. package/web-shell/assets/{chunk-AQP2D5EJ-BwHCMRQ0.js → chunk-AQP2D5EJ-BQAydUNk.js} +1 -1
  225. package/web-shell/assets/{chunk-FMBD7UC4-BMyPH-ku.js → chunk-FMBD7UC4-GHr2LN_p.js} +1 -1
  226. package/web-shell/assets/{chunk-ND2GUHAM-BNKTstUf.js → chunk-ND2GUHAM-7R91lnUx.js} +1 -1
  227. package/web-shell/assets/{chunk-QZHKN3VN-gD3vsFId.js → chunk-QZHKN3VN-aTJD3lSQ.js} +1 -1
  228. package/web-shell/assets/classDiagram-4FO5ZUOK-iHF24a8X.js +1 -0
  229. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-iHF24a8X.js +1 -0
  230. package/web-shell/assets/{cose-bilkent-S5V4N54A-BG9FAsXE.js → cose-bilkent-S5V4N54A-BTf8t1RL.js} +1 -1
  231. package/web-shell/assets/{dagre-BM42HDAG-Cy1sR7om.js → dagre-BM42HDAG-_sgp3WuA.js} +1 -1
  232. package/web-shell/assets/default-aEtf0G7-.svg +1 -0
  233. package/web-shell/assets/{diagram-2AECGRRQ-Bxi1I_Vu.js → diagram-2AECGRRQ-CROtRy1w.js} +1 -1
  234. package/web-shell/assets/{diagram-5GNKFQAL-BGCJjO6y.js → diagram-5GNKFQAL-BqGRzwSc.js} +1 -1
  235. package/web-shell/assets/{diagram-KO2AKTUF-CMTeLXp7.js → diagram-KO2AKTUF-CMrcEtA7.js} +1 -1
  236. package/web-shell/assets/{diagram-LMA3HP47-BN1wyAGh.js → diagram-LMA3HP47-BRydGNW5.js} +1 -1
  237. package/web-shell/assets/{diagram-OG6HWLK6-UYSG_zcp.js → diagram-OG6HWLK6-D0ilgNjV.js} +1 -1
  238. package/web-shell/assets/{erDiagram-TEJ5UH35-DqXL08lw.js → erDiagram-TEJ5UH35-2lnQeJUM.js} +1 -1
  239. package/web-shell/assets/{flowDiagram-I6XJVG4X-BPJ9SFji.js → flowDiagram-I6XJVG4X-C_ZMdQiC.js} +1 -1
  240. package/web-shell/assets/{ganttDiagram-6RSMTGT7-BEd9Pnms.js → ganttDiagram-6RSMTGT7-Dw9V_Ny0.js} +1 -1
  241. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DrNRH3oi.js → gitGraphDiagram-PVQCEYII-HDXI-F1B.js} +1 -1
  242. package/web-shell/assets/index-CHmzAWys.css +5 -0
  243. package/web-shell/assets/index-w6GTOHh1.js +713 -0
  244. package/web-shell/assets/{infoDiagram-5YYISTIA-CFYBrkVI.js → infoDiagram-5YYISTIA-CuB8Ebua.js} +1 -1
  245. package/web-shell/assets/insert-DmRbh9Rv.svg +1 -0
  246. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Dxsddth7.js → ishikawaDiagram-YF4QCWOH-D_tyhVwh.js} +1 -1
  247. package/web-shell/assets/{journeyDiagram-JHISSGLW-DxaDK80t.js → journeyDiagram-JHISSGLW-CgCwJQNU.js} +1 -1
  248. package/web-shell/assets/{kanban-definition-UN3LZRKU-Q0jQCOct.js → kanban-definition-UN3LZRKU-PZUtcbPx.js} +1 -1
  249. package/web-shell/assets/{linear-DGGM2kcP.js → linear-CZqRdJIU.js} +1 -1
  250. package/web-shell/assets/{mermaid.core-ByoxnWut.js → mermaid.core-CPW_4UEF.js} +5 -5
  251. package/web-shell/assets/{mindmap-definition-RKZ34NQL-C0ZseHsi.js → mindmap-definition-RKZ34NQL-D_Y75ID7.js} +1 -1
  252. package/web-shell/assets/{pieDiagram-4H26LBE5-MQXNhl5A.js → pieDiagram-4H26LBE5-Q4dTyLeF.js} +1 -1
  253. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DIR4ee2A.js → quadrantDiagram-W4KKPZXB-ckw329Ft.js} +1 -1
  254. package/web-shell/assets/queue-DWpnpFgW.svg +1 -0
  255. package/web-shell/assets/{requirementDiagram-4Y6WPE33-BTR0UdYQ.js → requirementDiagram-4Y6WPE33-DbVDm4It.js} +1 -1
  256. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-sfnhMELN.js → sankeyDiagram-5OEKKPKP-CHuZ_ecH.js} +1 -1
  257. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DXczHOHH.js → sequenceDiagram-3UESZ5HK-DU2YSpq-.js} +1 -1
  258. package/web-shell/assets/{stateDiagram-AJRCARHV-DdE_KQFH.js → stateDiagram-AJRCARHV-CA9PEBUo.js} +1 -1
  259. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-t1LRI0oY.js +1 -0
  260. package/web-shell/assets/{timeline-definition-PNZ67QCA-DIc61uE8.js → timeline-definition-PNZ67QCA-Bhlo4WVc.js} +1 -1
  261. package/web-shell/assets/{vennDiagram-CIIHVFJN-BF7ODmxB.js → vennDiagram-CIIHVFJN-6xtPLsyl.js} +1 -1
  262. package/web-shell/assets/{wardley-L42UT6IY-3pc1MEaw.js → wardley-L42UT6IY-3eozmXPf.js} +1 -1
  263. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-9jnPcZuP.js → wardleyDiagram-YWT4CUSO-BOn6hKss.js} +1 -1
  264. package/web-shell/assets/{xychartDiagram-2RQKCTM6-DcthaZK6.js → xychartDiagram-2RQKCTM6-BsP4-I_y.js} +1 -1
  265. package/web-shell/index.html +2 -2
  266. package/chunks/chunk-5P5XGNYH.js +0 -93
  267. package/chunks/chunk-CL7QBVGW.js +0 -410
  268. package/chunks/chunk-SEZC2725.js +0 -36
  269. package/chunks/chunk-SYCJMSIJ.js +0 -82
  270. package/chunks/daemon-status-provider-TME7FJJD.js +0 -68
  271. package/chunks/initializer-GVY6XSFS.js +0 -61
  272. package/chunks/list-ZSIVGCZJ.js +0 -65
  273. package/chunks/loadedSettingsAdapter-KCX2EYFY.js +0 -60
  274. package/chunks/nonInteractiveCli-HNXJ6X6Z.js +0 -91
  275. package/chunks/workspace-providers-status-NAQJK6DP.js +0 -62
  276. package/chunks/workspace-service-YREVMAQD.js +0 -60
  277. package/web-shell/assets/channel-DYPNiTww.js +0 -1
  278. package/web-shell/assets/classDiagram-4FO5ZUOK-p_g25Tni.js +0 -1
  279. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-p_g25Tni.js +0 -1
  280. package/web-shell/assets/index-CpOXWDPh.js +0 -714
  281. package/web-shell/assets/index-oVK7qhre.css +0 -5
  282. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BHUSEndU.js +0 -1
@@ -108,6 +108,9 @@ var SessionRouter = class {
108
108
  getTarget(sessionId) {
109
109
  return this.toTarget.get(sessionId);
110
110
  }
111
+ getSession(channelName, senderId, chatId, threadId) {
112
+ return this.toSession.get(this.routingKey(channelName, senderId, chatId, threadId));
113
+ }
111
114
  hasSession(channelName, senderId, chatId) {
112
115
  if (chatId) {
113
116
  return this.toSession.has(this.routingKey(channelName, senderId, chatId));
@@ -265,6 +268,11 @@ var BlockStreamer = class {
265
268
  }
266
269
  await this.sending;
267
270
  }
271
+ /** Drop buffered text and cancel future idle emission. */
272
+ stop() {
273
+ this.clearIdleTimer();
274
+ this.buffer = "";
275
+ }
268
276
  // ---------------------------------------------------------------------------
269
277
  // Internal
270
278
  // ---------------------------------------------------------------------------
@@ -607,6 +615,37 @@ var ChannelBase = class {
607
615
  registerCommand(name, handler) {
608
616
  this.commands.set(name.toLowerCase(), handler);
609
617
  }
618
+ registerCancelCommand(name = "cancel") {
619
+ this.registerCommand(name, async (envelope) => {
620
+ const activeSessionId = this.findActiveSessionId(envelope);
621
+ if (!activeSessionId) {
622
+ await this.sendMessage(envelope.chatId, "No request is currently running.");
623
+ return true;
624
+ }
625
+ const active = this.activePrompts.get(activeSessionId);
626
+ if (!active) {
627
+ await this.sendMessage(envelope.chatId, "No request is currently running.");
628
+ return true;
629
+ }
630
+ const cancelRequested = active.cancelRequested ?? this.bridge.cancelSession(activeSessionId).then(() => true, (err) => {
631
+ process.stderr.write(`[${this.name}] cancelSession failed for session=${activeSessionId}: ${err instanceof Error ? err.message : err}
632
+ `);
633
+ active.cancelRequested = void 0;
634
+ return false;
635
+ });
636
+ active.cancelRequested = cancelRequested;
637
+ const cancelSucceeded = await cancelRequested;
638
+ if (!cancelSucceeded) {
639
+ await this.sendMessage(envelope.chatId, "Failed to cancel current request.");
640
+ return true;
641
+ }
642
+ active.cancelled = true;
643
+ active.stopStreaming?.();
644
+ this.collectBuffers.delete(activeSessionId);
645
+ await this.sendMessage(envelope.chatId, "Cancelled current request.");
646
+ return true;
647
+ });
648
+ }
610
649
  /** Register shared slash commands. Called from constructor. */
611
650
  registerSharedCommands() {
612
651
  const clearHandler = /* @__PURE__ */ __name(async (envelope) => {
@@ -666,6 +705,10 @@ var ChannelBase = class {
666
705
  const parsed = this.parseCommand(text);
667
706
  return parsed !== null && this.commands.has(parsed.command);
668
707
  }
708
+ findActiveSessionId(envelope) {
709
+ const sessionId = this.router.getSession(this.name, envelope.senderId, envelope.chatId, envelope.threadId);
710
+ return sessionId && this.activePrompts.has(sessionId) ? sessionId : void 0;
711
+ }
669
712
  /**
670
713
  * Parse a slash command from message text.
671
714
  * Returns { command, args } or null if not a slash command.
@@ -792,7 +835,11 @@ ${promptText}`;
792
835
  const done = new Promise((r) => {
793
836
  doneResolve = r;
794
837
  });
795
- const promptState = { cancelled: false, done, resolve: doneResolve };
838
+ const promptState = {
839
+ cancelled: false,
840
+ done,
841
+ resolve: doneResolve
842
+ };
796
843
  this.activePrompts.set(sessionId, promptState);
797
844
  this.onPromptStart(envelope.chatId, sessionId, envelope.messageId);
798
845
  const streamer = useBlockStreaming ? new BlockStreamer({
@@ -801,8 +848,9 @@ ${promptText}`;
801
848
  idleMs: this.config.blockStreamingCoalesce?.idleMs ?? 1500,
802
849
  send: /* @__PURE__ */ __name((text) => this.sendMessage(envelope.chatId, text), "send")
803
850
  }) : null;
851
+ promptState.stopStreaming = () => streamer?.stop();
804
852
  const onChunk = /* @__PURE__ */ __name((sid, chunk) => {
805
- if (sid === sessionId) {
853
+ if (sid === sessionId && !promptState.cancelled) {
806
854
  this.onResponseChunk(envelope.chatId, chunk, sessionId);
807
855
  streamer?.push(chunk);
808
856
  }
@@ -813,6 +861,9 @@ ${promptText}`;
813
861
  imageBase64,
814
862
  imageMimeType
815
863
  });
864
+ if (promptState.cancelRequested && !promptState.cancelled) {
865
+ promptState.cancelled = await promptState.cancelRequested;
866
+ }
816
867
  if (!promptState.cancelled && response) {
817
868
  if (streamer) {
818
869
  await streamer.flush();
@@ -822,6 +873,7 @@ ${promptText}`;
822
873
  }
823
874
  } finally {
824
875
  this.bridge.off("textChunk", onChunk);
876
+ streamer?.stop();
825
877
  this.onPromptEnd(envelope.chatId, sessionId, envelope.messageId);
826
878
  this.activePrompts.delete(sessionId);
827
879
  promptState.resolve();
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-C4K3FEQ2.js";
5
+ } from "./chunk-UX4SGCGN.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -14140,10 +14140,22 @@ var ajvOptions = {
14140
14140
  // strictSchema defaults to true and prevents use of JSON schemas that
14141
14141
  // include unrecognized keywords. The JSON schema spec specifically allows
14142
14142
  // for the use of non-standard keywords and the spec-compliant behavior
14143
- // is to ignore those keywords. Note that setting this to false also
14144
- // allows use of non-standard or custom formats (the unknown format value
14145
- // will be logged but the schema will still be considered valid).
14146
- strictSchema: false
14143
+ // is to ignore those keywords.
14144
+ strictSchema: false,
14145
+ // Ajv still validates known formats, but MCP/OpenAPI schemas often include
14146
+ // annotation-only formats like uint64 that would otherwise spam stderr.
14147
+ logger: {
14148
+ // eslint-disable-next-line no-console
14149
+ log: /* @__PURE__ */ __name((...args) => console.log(...args), "log"),
14150
+ warn: /* @__PURE__ */ __name((...args) => {
14151
+ if (typeof args[0] === "string" && args[0].startsWith("unknown format ")) {
14152
+ return;
14153
+ }
14154
+ console.warn(...args);
14155
+ }, "warn"),
14156
+ // eslint-disable-next-line no-console
14157
+ error: /* @__PURE__ */ __name((...args) => console.error(...args), "error")
14158
+ }
14147
14159
  };
14148
14160
  var ajvDefault = new AjvClass(ajvOptions);
14149
14161
  var ajv2020 = new Ajv2020Class(ajvOptions);
@@ -6,7 +6,7 @@ import {
6
6
  getNestedProperty,
7
7
  getPersistScopeForModelSelection,
8
8
  restoreSettingsFromBackup
9
- } from "./chunk-Z3GEHYNS.js";
9
+ } from "./chunk-FKAVULLM.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-A4BMJM77.js";
@@ -4,83 +4,9 @@ import {
4
4
  init_esbuild_shims
5
5
  } from "./chunk-A4BMJM77.js";
6
6
  import {
7
- __commonJS,
8
7
  __name
9
8
  } from "./chunk-J2S4EL5Y.js";
10
9
 
11
- // node_modules/strip-json-comments/index.js
12
- var require_strip_json_comments = __commonJS({
13
- "node_modules/strip-json-comments/index.js"(exports, module) {
14
- "use strict";
15
- init_esbuild_shims();
16
- var singleComment = Symbol("singleComment");
17
- var multiComment = Symbol("multiComment");
18
- var stripWithoutWhitespace = /* @__PURE__ */ __name(() => "", "stripWithoutWhitespace");
19
- var stripWithWhitespace = /* @__PURE__ */ __name((string, start, end) => string.slice(start, end).replace(/\S/g, " "), "stripWithWhitespace");
20
- var isEscaped = /* @__PURE__ */ __name((jsonString, quotePosition) => {
21
- let index = quotePosition - 1;
22
- let backslashCount = 0;
23
- while (jsonString[index] === "\\") {
24
- index -= 1;
25
- backslashCount += 1;
26
- }
27
- return Boolean(backslashCount % 2);
28
- }, "isEscaped");
29
- module.exports = (jsonString, options = {}) => {
30
- if (typeof jsonString !== "string") {
31
- throw new TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof jsonString}\``);
32
- }
33
- const strip = options.whitespace === false ? stripWithoutWhitespace : stripWithWhitespace;
34
- let insideString = false;
35
- let insideComment = false;
36
- let offset = 0;
37
- let result = "";
38
- for (let i = 0; i < jsonString.length; i++) {
39
- const currentCharacter = jsonString[i];
40
- const nextCharacter = jsonString[i + 1];
41
- if (!insideComment && currentCharacter === '"') {
42
- const escaped = isEscaped(jsonString, i);
43
- if (!escaped) {
44
- insideString = !insideString;
45
- }
46
- }
47
- if (insideString) {
48
- continue;
49
- }
50
- if (!insideComment && currentCharacter + nextCharacter === "//") {
51
- result += jsonString.slice(offset, i);
52
- offset = i;
53
- insideComment = singleComment;
54
- i++;
55
- } else if (insideComment === singleComment && currentCharacter + nextCharacter === "\r\n") {
56
- i++;
57
- insideComment = false;
58
- result += strip(jsonString, offset, i);
59
- offset = i;
60
- continue;
61
- } else if (insideComment === singleComment && currentCharacter === "\n") {
62
- insideComment = false;
63
- result += strip(jsonString, offset, i);
64
- offset = i;
65
- } else if (!insideComment && currentCharacter + nextCharacter === "/*") {
66
- result += jsonString.slice(offset, i);
67
- offset = i;
68
- insideComment = multiComment;
69
- i++;
70
- continue;
71
- } else if (insideComment === multiComment && currentCharacter + nextCharacter === "*/") {
72
- i++;
73
- insideComment = false;
74
- result += strip(jsonString, offset, i + 1);
75
- offset = i + 1;
76
- continue;
77
- }
78
- }
79
- return result + (insideComment ? strip(jsonString.slice(offset)) : jsonString.slice(offset));
80
- };
81
- }
82
- });
83
-
84
10
  // packages/cli/src/config/migration/versions/v1-to-v2-shared.ts
85
11
  init_esbuild_shims();
86
12
  var V1_TO_V2_MIGRATION_MAP = {
@@ -308,35 +234,6 @@ function getSystemDefaultsPath() {
308
234
  }
309
235
  __name(getSystemDefaultsPath, "getSystemDefaultsPath");
310
236
 
311
- // packages/cli/src/config/path-comparison.ts
312
- init_esbuild_shims();
313
- import * as fs from "node:fs";
314
- import * as path2 from "node:path";
315
- function isWithinRoot(childPath, parentPath) {
316
- const relativePath = path2.relative(parentPath, childPath);
317
- return relativePath === "" || !relativePath.startsWith(`..${path2.sep}`) && relativePath !== ".." && !path2.isAbsolute(relativePath);
318
- }
319
- __name(isWithinRoot, "isWithinRoot");
320
- function getPathComparisonVariants(rawPath) {
321
- const variants = /* @__PURE__ */ new Set([path2.normalize(path2.resolve(rawPath))]);
322
- try {
323
- variants.add(path2.normalize(fs.realpathSync(rawPath)));
324
- } catch {
325
- }
326
- return variants;
327
- }
328
- __name(getPathComparisonVariants, "getPathComparisonVariants");
329
- function arePathsEquivalent(left, right) {
330
- const rightVariants = getPathComparisonVariants(right);
331
- for (const leftVariant of getPathComparisonVariants(left)) {
332
- if (rightVariants.has(leftVariant)) {
333
- return true;
334
- }
335
- }
336
- return false;
337
- }
338
- __name(arePathsEquivalent, "arePathsEquivalent");
339
-
340
237
  // packages/cli/src/utils/envVarResolver.ts
341
238
  init_esbuild_shims();
342
239
  function resolveEnvVarsInString(value, customEnv) {
@@ -398,7 +295,6 @@ function resolveEnvVarsInObjectInternal(obj, visited, customEnv) {
398
295
  __name(resolveEnvVarsInObjectInternal, "resolveEnvVarsInObjectInternal");
399
296
 
400
297
  export {
401
- require_strip_json_comments,
402
298
  V1_TO_V2_MIGRATION_MAP,
403
299
  V2_CONTAINER_KEYS,
404
300
  V1_TO_V2_PRESERVE_DISABLE_MAP,
@@ -414,9 +310,6 @@ export {
414
310
  getGlobalQwenDirLite,
415
311
  getSystemSettingsPath,
416
312
  getSystemDefaultsPath,
417
- isWithinRoot,
418
- getPathComparisonVariants,
419
- arePathsEquivalent,
420
313
  resolveEnvVarsInObject
421
314
  };
422
315
  /**
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  getGlobalQwenDir
5
- } from "./chunk-JXQ23SNT.js";
5
+ } from "./chunk-BW4KCQFD.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -5,17 +5,19 @@ import {
5
5
  } from "./chunk-3GONHQOA.js";
6
6
  import {
7
7
  getErrorMessage
8
- } from "./chunk-C7WPMYY6.js";
8
+ } from "./chunk-PR32FRT6.js";
9
9
  import {
10
- isWorkspaceTrusted,
11
10
  loadSettings
12
- } from "./chunk-Z3GEHYNS.js";
11
+ } from "./chunk-FKAVULLM.js";
13
12
  import {
14
13
  getCurrentLanguage,
15
14
  initializeI18n,
16
15
  resolveLanguageSetting,
17
16
  t
18
- } from "./chunk-WEOJMFUO.js";
17
+ } from "./chunk-R5OP2ATH.js";
18
+ import {
19
+ isWorkspaceTrusted
20
+ } from "./chunk-F3ZYSEY6.js";
19
21
  import {
20
22
  writeStderrLine,
21
23
  writeStdoutLine
@@ -27,7 +29,7 @@ import {
27
29
  redactUrlCredentials,
28
30
  require_prompts,
29
31
  stripAnsi
30
- } from "./chunk-ACZI6UDO.js";
32
+ } from "./chunk-YAINVQ3Q.js";
31
33
  import {
32
34
  init_esbuild_shims
33
35
  } from "./chunk-A4BMJM77.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-C4K3FEQ2.js";
5
+ } from "./chunk-UX4SGCGN.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";