@qwen-code/qwen-code 0.19.4 → 0.19.5

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 (224) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +22 -6
  2. package/bundled/qc-helper/docs/features/commands.md +41 -34
  3. package/bundled/qc-helper/docs/features/headless.md +19 -18
  4. package/bundled/qc-helper/docs/qwen-serve.md +34 -0
  5. package/bundled/qc-helper/docs/support/troubleshooting.md +5 -0
  6. package/chunks/{MaxSizedBox-ERTNFI22.js → MaxSizedBox-5JV77KRA.js} +11 -10
  7. package/chunks/{StandaloneSessionPicker-Y5NGRLRY.js → StandaloneSessionPicker-MGUGB6PH.js} +21 -20
  8. package/chunks/{acpAgent-UMN6OYTR.js → acpAgent-4F36XM3X.js} +75 -73
  9. package/chunks/{agent-56DZU4ZU.js → agent-IWBUZI6A.js} +8 -7
  10. package/chunks/{agent-headless-SR7N2IJG.js → agent-headless-JUTICAYO.js} +8 -7
  11. package/chunks/{anthropicContentGenerator-5OZFO6WQ.js → anthropicContentGenerator-WL3LJOUB.js} +99 -23
  12. package/chunks/{artifact-tool-JVZMHA4B.js → artifact-tool-W76WC2JX.js} +1 -1
  13. package/chunks/{askUserQuestion-CMJZ2F3D.js → askUserQuestion-J3P6TH3V.js} +1 -1
  14. package/chunks/{bridge-AUHNFOUS.js → bridge-DHZHQ4UV.js} +14 -12
  15. package/chunks/{ca-RYOETBUW.js → ca-HCMB2I54.js} +1 -0
  16. package/chunks/channel-worker-supervisor-EVPAYNZ5.js +665 -0
  17. package/chunks/{chunk-HRZB5CSC.js → chunk-2CAII5HD.js} +1 -1
  18. package/chunks/{chunk-FYKX6XOT.js → chunk-2YH27UNF.js} +1 -1
  19. package/chunks/chunk-2Z43HUXT.js +99 -0
  20. package/chunks/{chunk-ZXCVPMIK.js → chunk-4MCC4XHH.js} +167 -54
  21. package/chunks/{chunk-J3F7X3LW.js → chunk-5B2WNM6V.js} +1 -1
  22. package/chunks/{chunk-VKGG724L.js → chunk-6KPZJJ6U.js} +9 -8
  23. package/chunks/{chunk-BFG6OZN7.js → chunk-6QTCOQX7.js} +3470 -2654
  24. package/chunks/{chunk-QAFQLTXG.js → chunk-6QVQZAW6.js} +1 -1
  25. package/chunks/{chunk-HI55Z6PR.js → chunk-7DMQRPC7.js} +401 -58
  26. package/chunks/{chunk-MKHC4BYZ.js → chunk-BC4R5C5R.js} +20 -4
  27. package/chunks/chunk-BPFJQGY7.js +193 -0
  28. package/chunks/{chunk-FNLXLI4I.js → chunk-CBJE2PLG.js} +2 -2
  29. package/chunks/{chunk-HJDF3ZVU.js → chunk-CHY5C5T4.js} +6 -6
  30. package/chunks/{chunk-UT5JU5DJ.js → chunk-CSPSJU5R.js} +40 -13
  31. package/chunks/chunk-CXBG27SF.js +35 -0
  32. package/chunks/{chunk-UQFP2FEF.js → chunk-DG573EOO.js} +1 -1
  33. package/chunks/{chunk-UQYOMM6J.js → chunk-DM4E337C.js} +10 -10
  34. package/chunks/{chunk-CS5XYDBO.js → chunk-DRS2HTNT.js} +5 -5
  35. package/chunks/{chunk-MVZXZWGT.js → chunk-EJ7BN3EN.js} +125 -52
  36. package/chunks/{chunk-YBDZ63KI.js → chunk-EROWZQN7.js} +8 -4
  37. package/chunks/{chunk-CUGEBAKG.js → chunk-G4M7FPNY.js} +1 -1
  38. package/chunks/{chunk-ND25GXEU.js → chunk-HISPEX42.js} +11 -3
  39. package/chunks/{chunk-TTFNVEO5.js → chunk-IMAMNLY6.js} +3 -3
  40. package/chunks/{chunk-7VPC7D7O.js → chunk-J3ERRYYI.js} +2 -2
  41. package/chunks/{chunk-OAFUMTWW.js → chunk-JJ6B3ZD3.js} +2 -2
  42. package/chunks/{chunk-W2ZOAX7F.js → chunk-JKGCBO3O.js} +3 -3
  43. package/chunks/{chunk-BQNJBEUA.js → chunk-K4I4STSL.js} +16 -2
  44. package/chunks/{chunk-MEQWZGK5.js → chunk-L7OJ3ZO3.js} +1 -1
  45. package/chunks/{chunk-GICCHL2Q.js → chunk-LHMZCIKL.js} +1 -1
  46. package/chunks/{chunk-XCUFHOAD.js → chunk-M5ITDKSM.js} +1 -1
  47. package/chunks/{chunk-7KPI4LAI.js → chunk-MDBNFHIO.js} +3 -3
  48. package/chunks/{chunk-BNJLLAQ7.js → chunk-MNOXKSM2.js} +1 -1
  49. package/chunks/{chunk-4VZH35PN.js → chunk-MTNTVOJR.js} +2 -0
  50. package/chunks/{chunk-CG7SVARK.js → chunk-NDY7OENU.js} +2 -2
  51. package/chunks/{chunk-DQ74W65K.js → chunk-NNEJEBCF.js} +49 -22
  52. package/chunks/{chunk-L7VH7HQA.js → chunk-NSSVORTQ.js} +29 -4
  53. package/chunks/{chunk-6CIIP6OE.js → chunk-OQHLUA2Y.js} +3 -3
  54. package/chunks/{chunk-6TLY5W3B.js → chunk-QHYITL6P.js} +127 -23
  55. package/chunks/{chunk-73H73ASU.js → chunk-R3UWLLRQ.js} +1 -1
  56. package/chunks/{chunk-UANCYOOQ.js → chunk-R6RI2HIC.js} +1 -1
  57. package/chunks/{chunk-PIYV6COW.js → chunk-RNGAT2Y2.js} +1 -1
  58. package/chunks/{chunk-W6X4FGWX.js → chunk-RSBQS6M4.js} +1 -1
  59. package/chunks/{chunk-EDAGQADF.js → chunk-S6RLAIUR.js} +2 -0
  60. package/chunks/{chunk-C2IHHGBZ.js → chunk-SBMHB6N5.js} +12 -12
  61. package/chunks/chunk-SIUQ3YYX.js +78 -0
  62. package/chunks/{chunk-MNDTD5E5.js → chunk-SJVPSHXU.js} +4 -4
  63. package/chunks/chunk-TN6RT6EJ.js +86 -0
  64. package/chunks/{chunk-75X2VLSH.js → chunk-UJT42DB6.js} +26 -5
  65. package/chunks/{chunk-QMIND2AS.js → chunk-UY2TCIZS.js} +15 -1
  66. package/chunks/{chunk-6AQR7732.js → chunk-WALEWZ44.js} +1 -1
  67. package/chunks/{chunk-SFN4TEHY.js → chunk-WZ724G6K.js} +4 -4
  68. package/chunks/{chunk-2X2JUE47.js → chunk-XKZXGIRM.js} +2 -2
  69. package/chunks/{chunk-Q7VHIRDD.js → chunk-Y4UQT3PM.js} +1 -1
  70. package/chunks/{chunk-B7KGXIPZ.js → chunk-YCU7QV7Q.js} +11 -4
  71. package/chunks/{chunk-OJCECIJA.js → chunk-YHTNWGRR.js} +5 -4
  72. package/chunks/{chunk-ZJP5T7IA.js → chunk-Z7XNVNPM.js} +1 -1
  73. package/chunks/{chunk-KVPFPC4J.js → chunk-ZISMVA6U.js} +14 -14
  74. package/chunks/{computer-use-VWN5HH6A.js → computer-use-ON3JQUHW.js} +8 -7
  75. package/chunks/{contextCommand-DFFG5KDJ.js → contextCommand-OGCG7W6N.js} +10 -9
  76. package/chunks/{cron-create-CSSWJ67I.js → cron-create-6YTCOX6P.js} +1 -1
  77. package/chunks/{cron-delete-E56CFQ7A.js → cron-delete-E3NIFSUK.js} +1 -1
  78. package/chunks/{cron-list-BKSINY6Y.js → cron-list-Q64MNQNE.js} +1 -1
  79. package/chunks/{daemon-5T6IHWJV.js → daemon-EEB2RYOL.js} +23 -0
  80. package/chunks/{daemon-status-provider-V5UY7O7J.js → daemon-status-provider-P72STMLB.js} +17 -15
  81. package/chunks/{de-HB5NJXGB.js → de-PLLFDERI.js} +1 -0
  82. package/chunks/{dist-TAVAGZU6.js → dist-AP5V4WYU.js} +54 -14
  83. package/chunks/{dist-XBOVZ3R5.js → dist-IZP2VV4C.js} +156 -57
  84. package/chunks/{dist-B7SSDVWT.js → dist-SNXOUPYS.js} +201 -7
  85. package/chunks/{dist-2HDL5SHQ.js → dist-X4ZDE726.js} +43 -8
  86. package/chunks/{dist-BL3SL665.js → dist-Z57Q4YF5.js} +1 -1
  87. package/chunks/{earlyInputCapture-VVYU4FDO.js → earlyInputCapture-DAFHSGVW.js} +8 -7
  88. package/chunks/{edit-F35PTMBA.js → edit-3QFNCSZH.js} +13 -16
  89. package/chunks/{en-FZREZFPO.js → en-M4EBUBNU.js} +2 -0
  90. package/chunks/{enter-worktree-3DIW7EGJ.js → enter-worktree-62EQQMLD.js} +8 -7
  91. package/chunks/{enterPlanMode-QNXT77KP.js → enterPlanMode-VUQSE4EG.js} +10 -9
  92. package/chunks/{errors-M53YG76R.js → errors-PW75PZXE.js} +10 -9
  93. package/chunks/{exit-worktree-BSDWNWHZ.js → exit-worktree-VVNH7OVY.js} +8 -7
  94. package/chunks/{exitPlanMode-EL7AY327.js → exitPlanMode-RUYRCYZW.js} +106 -11
  95. package/chunks/{fast-path-DUCSMUFW.js → fast-path-TFRJRTTR.js} +5 -3
  96. package/chunks/{fr-XY3NQFCM.js → fr-MBMNQSQ6.js} +1 -0
  97. package/chunks/{gemini-F3IERB37.js → gemini-XW7ZDUVR.js} +50 -47
  98. package/chunks/{geminiContentGenerator-6OULAKFQ.js → geminiContentGenerator-MZDVHVZH.js} +39 -3
  99. package/chunks/{glob-ZMLFTD4T.js → glob-WAY2PUWA.js} +8 -7
  100. package/chunks/{grep-H5X66EI7.js → grep-W6CBKSYC.js} +8 -7
  101. package/chunks/{initializer-LEOT2OLH.js → initializer-HK2XE6P2.js} +12 -11
  102. package/chunks/{ja-J7YAG7SA.js → ja-HFV5QCHR.js} +1 -0
  103. package/chunks/{list-M3DKXML6.js → list-RVLIIKKL.js} +14 -13
  104. package/chunks/{loadedSettingsAdapter-OKMQFGGG.js → loadedSettingsAdapter-C63OUYZC.js} +12 -11
  105. package/chunks/{loop-wakeup-FPBAVVPR.js → loop-wakeup-G2EHBRGR.js} +2 -2
  106. package/chunks/{ls-UGWQXPTY.js → ls-IDHUVSAG.js} +1 -1
  107. package/chunks/{lsp-24WV7NXB.js → lsp-FSRYXGFT.js} +1 -1
  108. package/chunks/{monitor-ARL5P45R.js → monitor-FOG36ABM.js} +10 -9
  109. package/chunks/{nonInteractiveCli-NUVLF3YR.js → nonInteractiveCli-6BYQSJTB.js} +40 -39
  110. package/chunks/{notebook-edit-ANTZ2DDY.js → notebook-edit-GC6NXRCX.js} +13 -15
  111. package/chunks/{openaiContentGenerator-TFGMKGHN.js → openaiContentGenerator-EXR3ZL3Z.js} +4 -4
  112. package/chunks/{pidfile-AWTL4C63.js → pidfile-FNZM2DDH.js} +9 -8
  113. package/chunks/{pt-6RTAA6SS.js → pt-2THT3YHA.js} +1 -0
  114. package/chunks/{qwenContentGenerator-6QWAYTWS.js → qwenContentGenerator-A7B6J4U7.js} +9 -8
  115. package/chunks/{read-file-EJY73XQ3.js → read-file-6JL4ULMY.js} +3 -3
  116. package/chunks/{read-mcp-resource-NCBTPP7X.js → read-mcp-resource-PIJF24RO.js} +1 -1
  117. package/chunks/{ripGrep-HC4SA6CQ.js → ripGrep-DIUGLJE5.js} +8 -7
  118. package/chunks/{ru-AUBGJ2C4.js → ru-Z67YJHBG.js} +1 -0
  119. package/chunks/{run-qwen-serve-AGLZ642J.js → run-qwen-serve-CME3AKM4.js} +123 -30
  120. package/chunks/{scheduler-TURO7NGY.js → scheduler-L7F6GDDT.js} +8 -7
  121. package/chunks/{send-message-3S2NYS3O.js → send-message-33PYFMCT.js} +15 -1
  122. package/chunks/{serve-5DAMOIDW.js → serve-SRCBOJGP.js} +12 -11
  123. package/chunks/{server-4AGEK2HC.js → server-QSQ45QFR.js} +184 -170
  124. package/chunks/{session-7ZOQUC4Y.js → session-5DG6NXHZ.js} +41 -40
  125. package/chunks/{settings-DR4V6L5Y.js → settings-3EEQI4MN.js} +11 -10
  126. package/chunks/{shell-H5WFKUXH.js → shell-B7FNYF5S.js} +8 -7
  127. package/chunks/{skill-ANHU5ZCR.js → skill-AAOGHD5O.js} +3 -3
  128. package/chunks/{spawnChannel-VN5LJV7Z.js → spawnChannel-3CBN3ZLK.js} +11 -9
  129. package/chunks/{src-OVZLTVVM.js → src-T5A7P7FS.js} +20 -9
  130. package/chunks/{startInteractiveUI-OA22V32P.js → startInteractiveUI-2FGEQ6AS.js} +2648 -2500
  131. package/chunks/{syntheticOutput-SV7GBHZ5.js → syntheticOutput-YOSWIHDJ.js} +2 -2
  132. package/chunks/{task-create-W2H2UJCH.js → task-create-NHS2NGB3.js} +3 -2
  133. package/chunks/{task-list-THBOPV4G.js → task-list-5UIB564R.js} +1 -1
  134. package/chunks/{task-stop-33FVCNCJ.js → task-stop-HGXZ2VZ3.js} +1 -1
  135. package/chunks/{task-update-LVFQLXEI.js → task-update-IYYWUILG.js} +34 -2
  136. package/chunks/{team-create-OYL5CAQO.js → team-create-KDF6W6PV.js} +8 -7
  137. package/chunks/{team-delete-NTUQ25UY.js → team-delete-FEKJCU4P.js} +1 -1
  138. package/chunks/team-plan-approval-PSFKQX7M.js +202 -0
  139. package/chunks/{theme-manager-XCMPF2SI.js → theme-manager-5XOA2AO7.js} +8 -7
  140. package/chunks/{todoWrite-SEPO2RI3.js → todoWrite-TKMVZ2HT.js} +1 -1
  141. package/chunks/{tool-search-YXW55X6Z.js → tool-search-LFRILZXC.js} +8 -6
  142. package/chunks/{trustedFolders-TEPGM5YL.js → trustedFolders-7HQY6T6X.js} +9 -8
  143. package/chunks/{validateNonInterActiveAuth-OQIS7WUE.js → validateNonInterActiveAuth-UC27B7BA.js} +37 -36
  144. package/chunks/{web-fetch-OE7LHURA.js → web-fetch-J4PIW36Q.js} +2 -2
  145. package/chunks/{workflow-RTUWORAP.js → workflow-KUTESS6L.js} +11 -10
  146. package/chunks/{workspace-providers-status-DM2XANVB.js → workspace-providers-status-LJT5AQDS.js} +14 -13
  147. package/chunks/{workspace-service-VKBI2KZD.js → workspace-service-YOBYVDXH.js} +16 -15
  148. package/chunks/workspace-skills-status-ONEPXJV6.js +62 -0
  149. package/chunks/{write-file-WGALQ53L.js → write-file-FJYBZUHP.js} +13 -17
  150. package/chunks/{zh-V3B4TFWL.js → zh-SLZNSSZB.js} +2 -0
  151. package/chunks/{zh-TW-6GIKXEAN.js → zh-TW-P53C2SL5.js} +2 -0
  152. package/cli.js +6 -6
  153. package/locales/ca.js +2 -0
  154. package/locales/de.js +2 -0
  155. package/locales/en.js +3 -0
  156. package/locales/fr.js +2 -0
  157. package/locales/ja.js +2 -0
  158. package/locales/pt.js +2 -0
  159. package/locales/ru.js +2 -0
  160. package/locales/zh-TW.js +3 -0
  161. package/locales/zh.js +3 -0
  162. package/node_modules/@qwen-code/audio-capture/package.json +1 -1
  163. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
  164. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
  165. package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
  166. package/package.json +6 -15
  167. package/web-shell/assets/{arc-Det5Ccum.js → arc-D_rAuMDd.js} +1 -1
  168. package/web-shell/assets/{architectureDiagram-3BPJPVTR-DqNWVFpl.js → architectureDiagram-3BPJPVTR-DUCzbHVo.js} +1 -1
  169. package/web-shell/assets/{blockDiagram-GPEHLZMM-CYl7tYBi.js → blockDiagram-GPEHLZMM-BEEBt1LL.js} +1 -1
  170. package/web-shell/assets/{c4Diagram-AAUBKEIU-DaAEi0NQ.js → c4Diagram-AAUBKEIU-5ZJ_DeFL.js} +1 -1
  171. package/web-shell/assets/channel-B5ynH0q8.js +1 -0
  172. package/web-shell/assets/{chunk-2J33WTMH-Df2CDEE2.js → chunk-2J33WTMH-Cfw7EiLn.js} +1 -1
  173. package/web-shell/assets/{chunk-4BX2VUAB-DNBFcyL2.js → chunk-4BX2VUAB-FGuZNCZY.js} +1 -1
  174. package/web-shell/assets/{chunk-55IACEB6-BKjF-0HI.js → chunk-55IACEB6-CaBwYPBF.js} +1 -1
  175. package/web-shell/assets/{chunk-727SXJPM-DYwAwfIM.js → chunk-727SXJPM-BlR04OFz.js} +1 -1
  176. package/web-shell/assets/{chunk-AQP2D5EJ-C6FswLqy.js → chunk-AQP2D5EJ-D3_mYJH5.js} +1 -1
  177. package/web-shell/assets/{chunk-FMBD7UC4-DRWAcZSY.js → chunk-FMBD7UC4-7D4q4SbB.js} +1 -1
  178. package/web-shell/assets/{chunk-ND2GUHAM-AoL16mNR.js → chunk-ND2GUHAM-BjX_Iwmr.js} +1 -1
  179. package/web-shell/assets/{chunk-QZHKN3VN-a8PtLMck.js → chunk-QZHKN3VN-C3Hz_ZQh.js} +1 -1
  180. package/web-shell/assets/classDiagram-4FO5ZUOK-CK3ibywp.js +1 -0
  181. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CK3ibywp.js +1 -0
  182. package/web-shell/assets/{cose-bilkent-S5V4N54A-C4Aeu5qf.js → cose-bilkent-S5V4N54A-Ax4UycaT.js} +1 -1
  183. package/web-shell/assets/{dagre-BM42HDAG-BOulamjo.js → dagre-BM42HDAG-C6hmPtGt.js} +1 -1
  184. package/web-shell/assets/{diagram-2AECGRRQ-D1wt2ykO.js → diagram-2AECGRRQ-tXZnxjmw.js} +1 -1
  185. package/web-shell/assets/{diagram-5GNKFQAL-BRseus-O.js → diagram-5GNKFQAL-99dwIzQG.js} +1 -1
  186. package/web-shell/assets/{diagram-KO2AKTUF-XSMkNzpZ.js → diagram-KO2AKTUF-Bqhn0-2s.js} +1 -1
  187. package/web-shell/assets/{diagram-LMA3HP47-21KNLqoi.js → diagram-LMA3HP47-DzThVSvo.js} +1 -1
  188. package/web-shell/assets/{diagram-OG6HWLK6-DnUI8F5G.js → diagram-OG6HWLK6-DPE8vjln.js} +1 -1
  189. package/web-shell/assets/{erDiagram-TEJ5UH35-BVSOMuM2.js → erDiagram-TEJ5UH35-KzUKgQCV.js} +1 -1
  190. package/web-shell/assets/{flowDiagram-I6XJVG4X-fYtDPJsW.js → flowDiagram-I6XJVG4X-DBN-DXw5.js} +1 -1
  191. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CmRXosW_.js → ganttDiagram-6RSMTGT7-DuBsP9u8.js} +1 -1
  192. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DPrmySxO.js → gitGraphDiagram-PVQCEYII-BjWHMyKR.js} +1 -1
  193. package/web-shell/assets/index-9qfvU0_r.css +5 -0
  194. package/web-shell/assets/index-CWzDaQT5.js +717 -0
  195. package/web-shell/assets/{infoDiagram-5YYISTIA-x3VbEuCV.js → infoDiagram-5YYISTIA-BVux0vP6.js} +1 -1
  196. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-SmitHRMC.js → ishikawaDiagram-YF4QCWOH-2qzw7f--.js} +1 -1
  197. package/web-shell/assets/{journeyDiagram-JHISSGLW-BxvA551S.js → journeyDiagram-JHISSGLW-Dnl65sxL.js} +1 -1
  198. package/web-shell/assets/{kanban-definition-UN3LZRKU-DNHC16jY.js → kanban-definition-UN3LZRKU-BElSQYtY.js} +1 -1
  199. package/web-shell/assets/{linear-CQ6irBL9.js → linear-BjoycSSY.js} +1 -1
  200. package/web-shell/assets/{mermaid.core-DtB6NO1e.js → mermaid.core-xe6bvMRz.js} +5 -5
  201. package/web-shell/assets/{mindmap-definition-RKZ34NQL-QKMAgV2v.js → mindmap-definition-RKZ34NQL-D8DQgI4U.js} +1 -1
  202. package/web-shell/assets/{pieDiagram-4H26LBE5-bvb6dGn6.js → pieDiagram-4H26LBE5-Dwh7Gp7c.js} +1 -1
  203. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DLgdlG4D.js → quadrantDiagram-W4KKPZXB-BXKNBln2.js} +1 -1
  204. package/web-shell/assets/{requirementDiagram-4Y6WPE33-2M9YH4GF.js → requirementDiagram-4Y6WPE33-BzaC3cIA.js} +1 -1
  205. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DzwfclTH.js → sankeyDiagram-5OEKKPKP-DP2t7eZk.js} +1 -1
  206. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-BvPmTuy2.js → sequenceDiagram-3UESZ5HK-XlFiWEYv.js} +1 -1
  207. package/web-shell/assets/{stateDiagram-AJRCARHV-BjwUmrJF.js → stateDiagram-AJRCARHV-CupgUMJO.js} +1 -1
  208. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-By3E4QwN.js +1 -0
  209. package/web-shell/assets/{timeline-definition-PNZ67QCA-CXzS6qqz.js → timeline-definition-PNZ67QCA-DstuGywa.js} +1 -1
  210. package/web-shell/assets/{vennDiagram-CIIHVFJN-yRSolF5B.js → vennDiagram-CIIHVFJN-CnbNp6zu.js} +1 -1
  211. package/web-shell/assets/{wardley-L42UT6IY-ClLJjHPG.js → wardley-L42UT6IY-DnvoHq6R.js} +1 -1
  212. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-VIa6t2p2.js → wardleyDiagram-YWT4CUSO-Cz0xHEWB.js} +1 -1
  213. package/web-shell/assets/{xychartDiagram-2RQKCTM6-CtmrkezW.js → xychartDiagram-2RQKCTM6-p36gfo88.js} +1 -1
  214. package/web-shell/index.html +28 -3
  215. package/chunks/channel-worker-supervisor-A74FV522.js +0 -308
  216. package/chunks/chunk-S5EQPDTM.js +0 -91
  217. package/patches/chrome-devtools-mcp+1.4.0.patch +0 -31
  218. package/postinstall.js +0 -50
  219. package/web-shell/assets/channel-Bm0bFauD.js +0 -1
  220. package/web-shell/assets/classDiagram-4FO5ZUOK--NgUfb55.js +0 -1
  221. package/web-shell/assets/classDiagram-v2-Q7XG4LA2--NgUfb55.js +0 -1
  222. package/web-shell/assets/index-BpKnmyFV.js +0 -717
  223. package/web-shell/assets/index-fLrtxpOG.css +0 -5
  224. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C4L8zXeL.js +0 -1
@@ -1,308 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- CHANNEL_DAEMON_WORKER_SENTINEL,
5
- QWEN_DAEMON_TOKEN_ENV,
6
- QWEN_DAEMON_URL_ENV,
7
- QWEN_DAEMON_WORKSPACE_ENV,
8
- QWEN_SERVER_TOKEN_ENV
9
- } from "./chunk-EDAGQADF.js";
10
- import {
11
- channelSelectionNames
12
- } from "./chunk-MX2YXRER.js";
13
- import {
14
- sanitizeLogText
15
- } from "./chunk-HI55Z6PR.js";
16
- import "./chunk-UFC57OYT.js";
17
- import "./chunk-K5PGHDBN.js";
18
- import {
19
- init_esbuild_shims
20
- } from "./chunk-A4BMJM77.js";
21
- import {
22
- __name
23
- } from "./chunk-J2S4EL5Y.js";
24
-
25
- // packages/cli/src/serve/channel-worker-supervisor.ts
26
- init_esbuild_shims();
27
- import { fork } from "node:child_process";
28
- import { randomUUID } from "node:crypto";
29
- var DEFAULT_CHANNEL_WORKER_STARTUP_TIMEOUT_MS = 3e4;
30
- function selectionChannelArgs(selection) {
31
- return channelSelectionNames(selection).flatMap((name) => [
32
- "--channel",
33
- name
34
- ]);
35
- }
36
- __name(selectionChannelArgs, "selectionChannelArgs");
37
- function defaultSpawnWorker(execPath, argv, options) {
38
- const child = fork(argv[0], argv.slice(1), {
39
- execPath,
40
- cwd: options.cwd,
41
- env: options.env,
42
- stdio: options.stdio
43
- });
44
- return child;
45
- }
46
- __name(defaultSpawnWorker, "defaultSpawnWorker");
47
- function isReadyMessage(message) {
48
- return typeof message === "object" && message !== null && message.type === "ready";
49
- }
50
- __name(isReadyMessage, "isReadyMessage");
51
- function requestedChannelNames(selection) {
52
- return selection.mode === "names" ? [...selection.names] : void 0;
53
- }
54
- __name(requestedChannelNames, "requestedChannelNames");
55
- function sanitizeWorkerError(error) {
56
- return Array.from(sanitizeLogText(error, 512)).slice(0, 512).join("");
57
- }
58
- __name(sanitizeWorkerError, "sanitizeWorkerError");
59
- function notifyExit(onExit, snapshot) {
60
- try {
61
- onExit?.(snapshot);
62
- } catch {
63
- }
64
- }
65
- __name(notifyExit, "notifyExit");
66
- function waitForExit(child, timeoutMs) {
67
- return new Promise((resolve) => {
68
- let settled = false;
69
- const done = /* @__PURE__ */ __name((exited) => {
70
- if (settled) return;
71
- settled = true;
72
- if (timer) clearTimeout(timer);
73
- resolve(exited);
74
- }, "done");
75
- const timer = setTimeout(() => done(false), timeoutMs);
76
- timer.unref();
77
- child.once("exit", () => done(true));
78
- });
79
- }
80
- __name(waitForExit, "waitForExit");
81
- function hasObservedExit(snapshot) {
82
- return snapshot.exitCode !== void 0 || snapshot.signal !== void 0;
83
- }
84
- __name(hasObservedExit, "hasObservedExit");
85
- function createWorkerEnv(opts) {
86
- const env = { ...process.env };
87
- env["QWEN_CODE_NO_RELAUNCH"] = "true";
88
- env[CHANNEL_DAEMON_WORKER_SENTINEL] = randomUUID();
89
- env[QWEN_DAEMON_URL_ENV] = opts.daemonUrl;
90
- env[QWEN_DAEMON_WORKSPACE_ENV] = opts.workspace;
91
- delete env[QWEN_SERVER_TOKEN_ENV];
92
- delete env[QWEN_DAEMON_TOKEN_ENV];
93
- if (opts.daemonToken) {
94
- env[QWEN_DAEMON_TOKEN_ENV] = opts.daemonToken;
95
- }
96
- return env;
97
- }
98
- __name(createWorkerEnv, "createWorkerEnv");
99
- function createChannelWorkerSupervisor(opts) {
100
- const spawnWorker = opts.spawnWorker ?? defaultSpawnWorker;
101
- let child;
102
- let snapshot = {
103
- enabled: true,
104
- state: "disabled",
105
- channels: channelSelectionNames(opts.selection)
106
- };
107
- let ready = false;
108
- let stopping = false;
109
- let exitNotified = false;
110
- const snapshotCopy = /* @__PURE__ */ __name(() => ({
111
- ...snapshot,
112
- channels: [...snapshot.channels],
113
- ...snapshot.requestedChannels ? { requestedChannels: [...snapshot.requestedChannels] } : {}
114
- }), "snapshotCopy");
115
- const setExited = /* @__PURE__ */ __name((state, code, signal, error) => {
116
- const next = {
117
- ...snapshot,
118
- state,
119
- exitCode: code,
120
- signal
121
- };
122
- if (error) {
123
- next.error = error;
124
- } else {
125
- delete next.error;
126
- }
127
- snapshot = {
128
- ...next
129
- };
130
- }, "setExited");
131
- return {
132
- async start() {
133
- if (child) return;
134
- ready = false;
135
- stopping = false;
136
- exitNotified = false;
137
- const argv = [
138
- opts.cliEntryPath,
139
- "channel",
140
- "daemon-worker",
141
- ...selectionChannelArgs(opts.selection)
142
- ];
143
- const env = createWorkerEnv({
144
- daemonUrl: opts.daemonUrl,
145
- workspace: opts.workspace,
146
- ...opts.daemonToken ? { daemonToken: opts.daemonToken } : {}
147
- });
148
- const requestedChannels = requestedChannelNames(opts.selection);
149
- snapshot = {
150
- enabled: true,
151
- state: "starting",
152
- channels: channelSelectionNames(opts.selection),
153
- ...requestedChannels ? { requestedChannels } : {},
154
- startedAt: (/* @__PURE__ */ new Date()).toISOString()
155
- };
156
- child = spawnWorker(process.execPath, argv, {
157
- cwd: opts.workspace,
158
- env,
159
- stdio: ["ignore", "inherit", "inherit", "ipc"]
160
- });
161
- if (child.pid !== void 0) {
162
- snapshot = { ...snapshot, pid: child.pid };
163
- }
164
- const startedChild = child;
165
- await new Promise((resolve, reject) => {
166
- let settled = false;
167
- let exitObserved = false;
168
- let startupTimer;
169
- function cleanupReadyWait() {
170
- if (startupTimer) {
171
- clearTimeout(startupTimer);
172
- startupTimer = void 0;
173
- }
174
- startedChild.removeListener("message", settleReady);
175
- }
176
- __name(cleanupReadyWait, "cleanupReadyWait");
177
- function failBeforeReady(err) {
178
- if (settled) return;
179
- settled = true;
180
- cleanupReadyWait();
181
- reject(err);
182
- }
183
- __name(failBeforeReady, "failBeforeReady");
184
- function settleReady(message) {
185
- if (settled || !isReadyMessage(message)) return;
186
- if (child !== startedChild) return;
187
- settled = true;
188
- ready = true;
189
- cleanupReadyWait();
190
- const next = {
191
- ...snapshot,
192
- state: "running",
193
- pid: message.pid ?? startedChild.pid,
194
- channels: message.channels && message.channels.length > 0 ? [...message.channels] : [...snapshot.channels]
195
- };
196
- if (message.requestedChannels?.length) {
197
- next.requestedChannels = [...message.requestedChannels];
198
- }
199
- snapshot = next;
200
- resolve();
201
- }
202
- __name(settleReady, "settleReady");
203
- function settleExit(code, signal) {
204
- if (child !== startedChild) return;
205
- exitObserved = true;
206
- const state = ready ? "exited" : "failed";
207
- const message = `Channel worker exited before ready (code=${code ?? "null"}, signal=${signal ?? "null"}).`;
208
- setExited(
209
- state,
210
- code,
211
- signal,
212
- snapshot.error ?? (ready ? void 0 : sanitizeWorkerError(message))
213
- );
214
- if (ready && !stopping && !exitNotified) {
215
- exitNotified = true;
216
- notifyExit(opts.onExit, snapshotCopy());
217
- }
218
- if (!settled) {
219
- failBeforeReady(new Error(snapshot.error ?? message));
220
- }
221
- child = void 0;
222
- }
223
- __name(settleExit, "settleExit");
224
- function settleError(err) {
225
- if (child !== startedChild || exitObserved) return;
226
- if (settled && ready) return;
227
- snapshot = {
228
- ...snapshot,
229
- state: "failed",
230
- error: sanitizeWorkerError(err.message)
231
- };
232
- if (!settled) {
233
- failBeforeReady(new Error(snapshot.error));
234
- }
235
- }
236
- __name(settleError, "settleError");
237
- startupTimer = setTimeout(() => {
238
- const timeoutMs = opts.startupTimeoutMs ?? DEFAULT_CHANNEL_WORKER_STARTUP_TIMEOUT_MS;
239
- const error = `Channel worker did not become ready within ${timeoutMs}ms.`;
240
- snapshot = {
241
- ...snapshot,
242
- state: "failed",
243
- error: sanitizeWorkerError(error)
244
- };
245
- failBeforeReady(new Error(error));
246
- if (child === startedChild) {
247
- child.kill("SIGTERM");
248
- }
249
- }, opts.startupTimeoutMs ?? DEFAULT_CHANNEL_WORKER_STARTUP_TIMEOUT_MS);
250
- startupTimer.unref();
251
- startedChild.on("message", settleReady);
252
- startedChild.once("exit", settleExit);
253
- startedChild.once("error", settleError);
254
- });
255
- },
256
- async stop() {
257
- if (!child || snapshot.state === "exited" || snapshot.state === "failed" && hasObservedExit(snapshot) || snapshot.state === "stopped") {
258
- child = void 0;
259
- snapshot = { ...snapshot, state: "stopped" };
260
- return;
261
- }
262
- const exited = waitForExit(child, 5e3);
263
- stopping = true;
264
- child.kill("SIGTERM");
265
- if (!await exited) {
266
- const killed = waitForExit(child, 2e3);
267
- child.kill("SIGKILL");
268
- if (!await killed) {
269
- child = void 0;
270
- stopping = false;
271
- snapshot = {
272
- ...snapshot,
273
- state: "failed",
274
- signal: "SIGKILL",
275
- error: "Channel worker did not exit after SIGKILL."
276
- };
277
- return;
278
- }
279
- }
280
- child = void 0;
281
- stopping = false;
282
- snapshot = { ...snapshot, state: "stopped" };
283
- },
284
- killAllSync() {
285
- if (!child || snapshot.state === "exited" || snapshot.state === "failed" && hasObservedExit(snapshot) || snapshot.state === "stopped") {
286
- return;
287
- }
288
- const preserveFailure = snapshot.state === "failed" && !hasObservedExit(snapshot);
289
- stopping = true;
290
- child.kill("SIGKILL");
291
- child = void 0;
292
- if (!preserveFailure) {
293
- snapshot = {
294
- ...snapshot,
295
- state: "stopped",
296
- signal: "SIGKILL"
297
- };
298
- }
299
- },
300
- snapshot() {
301
- return snapshotCopy();
302
- }
303
- };
304
- }
305
- __name(createChannelWorkerSupervisor, "createChannelWorkerSupervisor");
306
- export {
307
- createChannelWorkerSupervisor
308
- };
@@ -1,91 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- isTeammate
5
- } from "./chunk-GO6LNQXT.js";
6
- import {
7
- ToolNames
8
- } from "./chunk-4VZH35PN.js";
9
- import {
10
- init_esbuild_shims
11
- } from "./chunk-A4BMJM77.js";
12
- import {
13
- __name
14
- } from "./chunk-J2S4EL5Y.js";
15
-
16
- // packages/core/src/agents/runtime/agent-context.ts
17
- init_esbuild_shims();
18
- import { AsyncLocalStorage } from "node:async_hooks";
19
- var storage = new AsyncLocalStorage();
20
- function runWithAgentContext(agentId, fn) {
21
- const current = storage.getStore() ?? {};
22
- const depth = (current.depth ?? -1) + 1;
23
- return storage.run({ ...current, agentId, depth }, fn);
24
- }
25
- __name(runWithAgentContext, "runWithAgentContext");
26
- function runWithRuntimeContentGenerator(view, fn) {
27
- const current = storage.getStore() ?? {};
28
- return storage.run({ ...current, runtimeView: view }, fn);
29
- }
30
- __name(runWithRuntimeContentGenerator, "runWithRuntimeContentGenerator");
31
- function getCurrentAgentId() {
32
- return storage.getStore()?.agentId ?? null;
33
- }
34
- __name(getCurrentAgentId, "getCurrentAgentId");
35
- function getCurrentAgentDepth() {
36
- return storage.getStore()?.depth ?? 0;
37
- }
38
- __name(getCurrentAgentDepth, "getCurrentAgentDepth");
39
- function getRuntimeContentGenerator() {
40
- return storage.getStore()?.runtimeView;
41
- }
42
- __name(getRuntimeContentGenerator, "getRuntimeContentGenerator");
43
-
44
- // packages/core/src/agents/runtime/subagent-plan-tool-policy.ts
45
- init_esbuild_shims();
46
- var SUBAGENT_PLAN_LIFECYCLE_TOOLS = /* @__PURE__ */ new Set([
47
- ToolNames.ENTER_PLAN_MODE,
48
- ToolNames.EXIT_PLAN_MODE
49
- ]);
50
- function isSubagentLikeExecutionContext() {
51
- return getCurrentAgentId() !== null || isTeammate();
52
- }
53
- __name(isSubagentLikeExecutionContext, "isSubagentLikeExecutionContext");
54
- function isPlanLifecycleToolUnavailableInSubagent(toolName) {
55
- return isSubagentLikeExecutionContext() && SUBAGENT_PLAN_LIFECYCLE_TOOLS.has(toolName);
56
- }
57
- __name(isPlanLifecycleToolUnavailableInSubagent, "isPlanLifecycleToolUnavailableInSubagent");
58
- function getSubagentPlanToolUnavailableMessage(toolName) {
59
- return `${toolName} is not available inside subagents or team agents. Plan mode is owned by the caller/main session; return your plan, findings, or constraints to the caller in your normal response instead of entering or exiting plan mode.`;
60
- }
61
- __name(getSubagentPlanToolUnavailableMessage, "getSubagentPlanToolUnavailableMessage");
62
- function buildSubagentPlanToolBlockedResult(toolName, logTag, logger) {
63
- const message = getSubagentPlanToolUnavailableMessage(toolName);
64
- logger.warn(
65
- `[${logTag}] Blocked plan lifecycle tool call from subagent: ${toolName}`
66
- );
67
- return {
68
- llmContent: message,
69
- returnDisplay: message,
70
- error: { message }
71
- };
72
- }
73
- __name(buildSubagentPlanToolBlockedResult, "buildSubagentPlanToolBlockedResult");
74
-
75
- export {
76
- runWithAgentContext,
77
- runWithRuntimeContentGenerator,
78
- getCurrentAgentId,
79
- getCurrentAgentDepth,
80
- getRuntimeContentGenerator,
81
- SUBAGENT_PLAN_LIFECYCLE_TOOLS,
82
- isSubagentLikeExecutionContext,
83
- isPlanLifecycleToolUnavailableInSubagent,
84
- getSubagentPlanToolUnavailableMessage,
85
- buildSubagentPlanToolBlockedResult
86
- };
87
- /**
88
- * @license
89
- * Copyright 2025 Qwen
90
- * SPDX-License-Identifier: Apache-2.0
91
- */
@@ -1,31 +0,0 @@
1
- diff --git a/node_modules/chrome-devtools-mcp/build/src/McpContext.js b/node_modules/chrome-devtools-mcp/build/src/McpContext.js
2
- index 6fce02e..15d221d 100644
3
- --- a/node_modules/chrome-devtools-mcp/build/src/McpContext.js
4
- +++ b/node_modules/chrome-devtools-mcp/build/src/McpContext.js
5
- @@ -78,8 +78,24 @@ export class McpContext {
6
- const workers = await this.createExtensionServiceWorkersSnapshot();
7
- await this.#networkCollector.init(pages);
8
- await this.#consoleCollector.init(pages);
9
- - await this.#devtoolsUniverseManager.init(pages);
10
- - await this.#serviceWorkerConsoleCollector.init(workers);
11
- + // qwen-code Plan C CDP tunnel (#5626): these two collectors call
12
- + // page.createCDPSession() -> Target.attachToTarget, which a
13
- + // chrome.debugger-backed CDP endpoint rejects with -32000 'Not allowed'
14
- + // (Puppeteer #13251). Making each non-fatal lets the server start so the
15
- + // page-level tools work; only performance_* / service-worker console
16
- + // (which need the extra session) degrade.
17
- + try {
18
- + await this.#devtoolsUniverseManager.init(pages);
19
- + }
20
- + catch (error) {
21
- + console.error('[qwen-code patch] devtoolsUniverseManager.init skipped:', error?.message ?? error);
22
- + }
23
- + try {
24
- + await this.#serviceWorkerConsoleCollector.init(workers);
25
- + }
26
- + catch (error) {
27
- + console.error('[qwen-code patch] serviceWorkerConsoleCollector.init skipped:', error?.message ?? error);
28
- + }
29
- }
30
- dispose() {
31
- this.#networkCollector.dispose();
package/postinstall.js DELETED
@@ -1,50 +0,0 @@
1
- #!/usr/bin/env node
2
- import { spawnSync } from 'node:child_process';
3
- import { existsSync } from 'node:fs';
4
- import { createRequire } from 'node:module';
5
- import path from 'node:path';
6
- import { fileURLToPath } from 'node:url';
7
-
8
- const require = createRequire(import.meta.url);
9
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
10
-
11
- function resolvePackageJson(packageName) {
12
- try {
13
- return require.resolve(packageName + '/package.json');
14
- } catch {
15
- return undefined;
16
- }
17
- }
18
-
19
- function findInstallRoot(packageJsonPath) {
20
- let dir = path.dirname(packageJsonPath);
21
- while (dir !== path.parse(dir).root) {
22
- const parent = path.dirname(dir);
23
- if (path.basename(parent) === 'node_modules') {
24
- return path.dirname(parent);
25
- }
26
- dir = parent;
27
- }
28
- return undefined;
29
- }
30
-
31
- const chromeDevtoolsMcpPackageJson = resolvePackageJson('chrome-devtools-mcp');
32
- if (chromeDevtoolsMcpPackageJson) {
33
- const installRoot = findInstallRoot(chromeDevtoolsMcpPackageJson);
34
- const patchDir = path.join(__dirname, 'patches');
35
- if (!installRoot || !existsSync(patchDir)) {
36
- process.exit(0);
37
- }
38
- const relativePatchDir = path.relative(installRoot, patchDir) || '.';
39
- const patchPackageBin = require.resolve('patch-package/index.js');
40
- const result = spawnSync(
41
- process.execPath,
42
- [patchPackageBin, '--patch-dir', relativePatchDir, '--error-on-fail'],
43
- { cwd: installRoot, stdio: 'inherit' },
44
- );
45
- if (result.signal) {
46
- process.kill(process.pid, result.signal);
47
- } else {
48
- process.exit(result.status ?? 1);
49
- }
50
- }
@@ -1 +0,0 @@
1
- import{U as a,D as n}from"./mermaid.core-DtB6NO1e.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-727SXJPM-DYwAwfIM.js";import{_ as i}from"./mermaid.core-DtB6NO1e.js";import"./chunk-FMBD7UC4-DRWAcZSY.js";import"./chunk-ND2GUHAM-AoL16mNR.js";import"./chunk-55IACEB6-BKjF-0HI.js";import"./chunk-2J33WTMH-Df2CDEE2.js";import"./index-BpKnmyFV.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-727SXJPM-DYwAwfIM.js";import{_ as i}from"./mermaid.core-DtB6NO1e.js";import"./chunk-FMBD7UC4-DRWAcZSY.js";import"./chunk-ND2GUHAM-AoL16mNR.js";import"./chunk-55IACEB6-BKjF-0HI.js";import"./chunk-2J33WTMH-Df2CDEE2.js";import"./index-BpKnmyFV.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};