@qwen-code/qwen-code 0.19.5 → 0.19.6-nightly.20260704.5dc2e1501

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 (235) hide show
  1. package/bundled/dataviz/SKILL.md +50 -0
  2. package/bundled/dataviz/references/anti-patterns.md +12 -0
  3. package/bundled/dataviz/references/choosing-a-form.md +16 -0
  4. package/bundled/dataviz/references/palette.md +57 -0
  5. package/bundled/dataviz/scripts/validate_palette.js +328 -0
  6. package/bundled/loop/SKILL.md +1 -1
  7. package/bundled/qc-helper/docs/configuration/settings.md +9 -8
  8. package/bundled/qc-helper/docs/features/headless.md +2 -2
  9. package/bundled/qc-helper/docs/features/scheduled-tasks.md +4 -2
  10. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
  11. package/bundled/review/DESIGN.md +23 -0
  12. package/bundled/review/SKILL.md +65 -8
  13. package/chunks/{MaxSizedBox-5JV77KRA.js → MaxSizedBox-44K34KSF.js} +14 -14
  14. package/chunks/{StandaloneSessionPicker-MGUGB6PH.js → StandaloneSessionPicker-6WZYYTZE.js} +25 -25
  15. package/chunks/{acpAgent-4F36XM3X.js → acpAgent-2CMYPFHV.js} +346 -131
  16. package/chunks/{agent-IWBUZI6A.js → agent-UOEAYBCX.js} +11 -11
  17. package/chunks/{agent-headless-JUTICAYO.js → agent-headless-7SCVZZGJ.js} +11 -11
  18. package/chunks/{anthropicContentGenerator-WL3LJOUB.js → anthropicContentGenerator-H5ZOEENQ.js} +2 -2
  19. package/chunks/{artifact-tool-W76WC2JX.js → artifact-tool-SLYPWG3C.js} +15 -2
  20. package/chunks/{askUserQuestion-J3P6TH3V.js → askUserQuestion-OKPTECON.js} +1 -1
  21. package/chunks/{bridge-DHZHQ4UV.js → bridge-IGX2XPWV.js} +17 -16
  22. package/chunks/{channel-worker-supervisor-EVPAYNZ5.js → channel-worker-supervisor-JUYQ5Z4R.js} +5 -5
  23. package/chunks/{chunk-EROWZQN7.js → chunk-2HK52TS2.js} +6 -6
  24. package/chunks/chunk-3RW4AZJV.js +5063 -0
  25. package/chunks/chunk-3VJ7MT3N.js +111 -0
  26. package/chunks/{chunk-JJ6B3ZD3.js → chunk-3ZSJDRNO.js} +2 -2
  27. package/chunks/{chunk-SJVPSHXU.js → chunk-4OIKNWUQ.js} +4 -4
  28. package/chunks/{chunk-PPFWEV7G.js → chunk-4RQIB5UZ.js} +62 -62
  29. package/chunks/{chunk-MDBNFHIO.js → chunk-4YMVQKCZ.js} +3 -3
  30. package/chunks/{chunk-2YH27UNF.js → chunk-4YXBDLX7.js} +1 -1
  31. package/chunks/{chunk-6QVQZAW6.js → chunk-537ZUZEH.js} +1 -1
  32. package/chunks/{chunk-L7OJ3ZO3.js → chunk-5ES5YPED.js} +1 -1
  33. package/chunks/{chunk-UJT42DB6.js → chunk-5QC7Y5TJ.js} +5 -5
  34. package/chunks/{chunk-BC4R5C5R.js → chunk-5WYLPENX.js} +32 -6
  35. package/chunks/{chunk-7DMQRPC7.js → chunk-6BEOH4KK.js} +1 -1
  36. package/chunks/{chunk-CXBG27SF.js → chunk-6IAWPIQ6.js} +3 -2
  37. package/chunks/{chunk-RM3PGSGL.js → chunk-6SHO7WFF.js} +15 -2
  38. package/chunks/{chunk-CBJE2PLG.js → chunk-777PHAJF.js} +2 -2
  39. package/chunks/{chunk-NSSVORTQ.js → chunk-7UU2AGR4.js} +16 -12
  40. package/chunks/{chunk-RNGAT2Y2.js → chunk-AGLMKJH5.js} +1 -1
  41. package/chunks/{chunk-J3ERRYYI.js → chunk-AWSTZHHZ.js} +2 -2
  42. package/chunks/{chunk-6QTCOQX7.js → chunk-B5ZACOMA.js} +1967 -1399
  43. package/chunks/{chunk-R6RI2HIC.js → chunk-CLQPBI4H.js} +40 -13
  44. package/chunks/{chunk-SJBIFVD2.js → chunk-DMSNJDWG.js} +5 -1
  45. package/chunks/{chunk-KKQWC6WS.js → chunk-DNV4FSN5.js} +1 -1
  46. package/chunks/{chunk-Z7XNVNPM.js → chunk-EMSRFDBD.js} +1 -1
  47. package/chunks/{chunk-HISPEX42.js → chunk-G645A66S.js} +7 -7
  48. package/chunks/{chunk-WALEWZ44.js → chunk-H3GBYW5M.js} +1 -1
  49. package/chunks/{chunk-2Z43HUXT.js → chunk-HLKG6CZN.js} +3 -2
  50. package/chunks/{chunk-XKZXGIRM.js → chunk-HNGXPBWR.js} +2 -2
  51. package/chunks/{chunk-QHYITL6P.js → chunk-HXX7S2AE.js} +5 -11
  52. package/chunks/{chunk-XKSCTXPK.js → chunk-J6ABRKAB.js} +2 -1
  53. package/chunks/{chunk-DX3TKXNT.js → chunk-JA5KWZTJ.js} +1 -1
  54. package/chunks/{chunk-4MCC4XHH.js → chunk-KBKWNEPS.js} +38 -37
  55. package/chunks/{chunk-MNOXKSM2.js → chunk-KEKV2TOO.js} +1 -1
  56. package/chunks/{chunk-R3UWLLRQ.js → chunk-KP6O77UN.js} +1 -1
  57. package/chunks/{chunk-YTFBURQD.js → chunk-KYTQOCDE.js} +1 -1
  58. package/chunks/{chunk-TN6RT6EJ.js → chunk-LJUWNRJH.js} +16 -4
  59. package/chunks/{chunk-BPFJQGY7.js → chunk-LM3YCCZJ.js} +164 -5
  60. package/chunks/{chunk-G4M7FPNY.js → chunk-M6IUEDXM.js} +1 -1
  61. package/chunks/{chunk-MTNTVOJR.js → chunk-MJKMIQMK.js} +5 -2
  62. package/chunks/{chunk-2CAII5HD.js → chunk-MWGIMAYM.js} +1 -1
  63. package/chunks/{chunk-NDY7OENU.js → chunk-N3QDCSLP.js} +2 -2
  64. package/chunks/{chunk-IMAMNLY6.js → chunk-N6AGVKMC.js} +3 -3
  65. package/chunks/{chunk-WZ724G6K.js → chunk-NGCPNXJC.js} +5 -5
  66. package/chunks/{chunk-YXK4GPYO.js → chunk-NVFJSIAX.js} +29 -0
  67. package/chunks/{chunk-6KPZJJ6U.js → chunk-P2OIJOKP.js} +9 -9
  68. package/chunks/{chunk-RSBQS6M4.js → chunk-P2RRV2UB.js} +1 -1
  69. package/chunks/{chunk-NNEJEBCF.js → chunk-PGMCFUZS.js} +30 -21
  70. package/chunks/{chunk-CSPSJU5R.js → chunk-PNGENHT7.js} +16 -16
  71. package/chunks/{chunk-Y4UQT3PM.js → chunk-QQXG2BL6.js} +1 -1
  72. package/chunks/{chunk-M5ITDKSM.js → chunk-RUM2UEL3.js} +1 -1
  73. package/chunks/{chunk-DG573EOO.js → chunk-RZORUN6X.js} +1 -1
  74. package/chunks/{chunk-LHMZCIKL.js → chunk-SZFYG244.js} +3 -1
  75. package/chunks/{chunk-CHY5C5T4.js → chunk-TDMIHT6B.js} +171 -79
  76. package/chunks/{chunk-DRS2HTNT.js → chunk-TE6JTKY5.js} +5 -5
  77. package/chunks/chunk-U7UXWKGG.js +949 -0
  78. package/chunks/{chunk-JKGCBO3O.js → chunk-UPYORLKQ.js} +3 -3
  79. package/chunks/{chunk-UY2TCIZS.js → chunk-V5VTULL5.js} +2 -2
  80. package/chunks/{chunk-ZISMVA6U.js → chunk-WGCLCXAN.js} +1371 -24
  81. package/chunks/chunk-WSOGYJMT.js +5630 -0
  82. package/chunks/{chunk-SBMHB6N5.js → chunk-WWGZJJRG.js} +12 -12
  83. package/chunks/{chunk-DM4E337C.js → chunk-X3UQVEBR.js} +4 -4
  84. package/chunks/{chunk-K4I4STSL.js → chunk-XPOO5OMB.js} +2 -2
  85. package/chunks/{chunk-5B2WNM6V.js → chunk-ZI4MGBB5.js} +1 -1
  86. package/chunks/{chunk-OQHLUA2Y.js → chunk-ZLJKZ57K.js} +3 -3
  87. package/chunks/{chunk-YCU7QV7Q.js → chunk-ZZDAIAA6.js} +32 -0
  88. package/chunks/{computer-use-ON3JQUHW.js → computer-use-TQWGUBPQ.js} +11 -11
  89. package/chunks/{contextCommand-OGCG7W6N.js → contextCommand-XDK5RNWI.js} +13 -13
  90. package/chunks/{cron-create-6YTCOX6P.js → cron-create-7JYUDTUY.js} +20 -5
  91. package/chunks/{cron-delete-E3NIFSUK.js → cron-delete-YPULQQAK.js} +2 -2
  92. package/chunks/{cron-list-Q64MNQNE.js → cron-list-HJIW5MHP.js} +2 -2
  93. package/chunks/{daemon-EEB2RYOL.js → daemon-7XYW4BC3.js} +102 -0
  94. package/chunks/{daemon-status-provider-P72STMLB.js → daemon-status-provider-6UEN56WN.js} +20 -19
  95. package/chunks/{dist-AP5V4WYU.js → dist-AAO65DPC.js} +2 -2
  96. package/chunks/{dist-X4ZDE726.js → dist-ABQ7VWRR.js} +3 -3
  97. package/chunks/{dist-SNXOUPYS.js → dist-AW5ZYMUI.js} +2 -2
  98. package/chunks/{dist-Z57Q4YF5.js → dist-BV56HW3W.js} +276 -95
  99. package/chunks/{dist-IZP2VV4C.js → dist-JPSVN367.js} +2 -2
  100. package/chunks/{earlyInputCapture-DAFHSGVW.js → earlyInputCapture-7MNFMUJE.js} +11 -11
  101. package/chunks/{edit-3QFNCSZH.js → edit-HOC63PHG.js} +12 -12
  102. package/chunks/{en-M4EBUBNU.js → en-XR3S5VWY.js} +1 -0
  103. package/chunks/{enter-worktree-62EQQMLD.js → enter-worktree-THXLMUX2.js} +11 -11
  104. package/chunks/{enterPlanMode-VUQSE4EG.js → enterPlanMode-TW4WQVEI.js} +11 -11
  105. package/chunks/{errors-PW75PZXE.js → errors-NTNVSC6G.js} +13 -13
  106. package/chunks/{exit-worktree-VVNH7OVY.js → exit-worktree-CLL7RGAT.js} +11 -11
  107. package/chunks/{exitPlanMode-RUYRCYZW.js → exitPlanMode-BTZZ3QEL.js} +11 -11
  108. package/chunks/{fast-path-TFRJRTTR.js → fast-path-RYXBU6AS.js} +3 -3
  109. package/chunks/{fast-path-settings-UQLRFDQP.js → fast-path-settings-RCRXH2JG.js} +2 -2
  110. package/chunks/{gemini-XW7ZDUVR.js → gemini-36FE3OHS.js} +69 -64
  111. package/chunks/{geminiContentGenerator-MZDVHVZH.js → geminiContentGenerator-JEG2PANG.js} +1 -1
  112. package/chunks/{glob-WAY2PUWA.js → glob-EYVHOFCY.js} +11 -11
  113. package/chunks/{grep-W6CBKSYC.js → grep-TZY5TDGH.js} +11 -11
  114. package/chunks/{initializer-HK2XE6P2.js → initializer-HPF2RBSB.js} +16 -16
  115. package/chunks/{list-RVLIIKKL.js → list-THUTQ7B5.js} +18 -18
  116. package/chunks/{loadedSettingsAdapter-C63OUYZC.js → loadedSettingsAdapter-CUMWJNWJ.js} +16 -16
  117. package/chunks/{loop-wakeup-G2EHBRGR.js → loop-wakeup-34YK7T7O.js} +3 -3
  118. package/chunks/{ls-IDHUVSAG.js → ls-MPD5OJUX.js} +1 -1
  119. package/chunks/{lsp-FSRYXGFT.js → lsp-72PWTDW7.js} +1 -1
  120. package/chunks/{workspace-skills-status-ONEPXJV6.js → mcp-NQD5MT2T.js} +20 -16
  121. package/chunks/{monitor-FOG36ABM.js → monitor-PB7NVSG2.js} +11 -11
  122. package/chunks/{nonInteractiveCli-6BYQSJTB.js → nonInteractiveCli-F5FJXYQR.js} +46 -44
  123. package/chunks/{notebook-edit-GC6NXRCX.js → notebook-edit-LAK6OHS6.js} +12 -12
  124. package/chunks/{openaiContentGenerator-EXR3ZL3Z.js → openaiContentGenerator-GMMEY5PG.js} +6 -6
  125. package/chunks/{pidfile-FNZM2DDH.js → pidfile-NQ2YUNKI.js} +11 -11
  126. package/chunks/{qwenContentGenerator-A7B6J4U7.js → qwenContentGenerator-7XCBMQBM.js} +13 -13
  127. package/chunks/{read-file-6JL4ULMY.js → read-file-KUROJDUQ.js} +3 -3
  128. package/chunks/{read-mcp-resource-PIJF24RO.js → read-mcp-resource-OWOBJY72.js} +1 -1
  129. package/chunks/record-artifact-URK3YUDJ.js +343 -0
  130. package/chunks/{ripGrep-DIUGLJE5.js → ripGrep-USDWBX4L.js} +11 -11
  131. package/chunks/{run-qwen-serve-CME3AKM4.js → run-qwen-serve-WKCKS23N.js} +72 -28
  132. package/chunks/{scheduler-L7F6GDDT.js → scheduler-QR4F5TAH.js} +11 -11
  133. package/chunks/{send-message-33PYFMCT.js → send-message-L7OLQEKH.js} +2 -2
  134. package/chunks/{serve-SRCBOJGP.js → serve-2EIPX62G.js} +18 -18
  135. package/chunks/{server-QSQ45QFR.js → server-UJ7ZF5D7.js} +1184 -490
  136. package/chunks/{session-5DG6NXHZ.js → session-XB3CFJ6R.js} +48 -46
  137. package/chunks/{settings-3EEQI4MN.js → settings-DYVJFW5H.js} +15 -15
  138. package/chunks/{shell-B7FNYF5S.js → shell-IG7KGPLR.js} +11 -11
  139. package/chunks/{skill-AAOGHD5O.js → skill-RWX646DC.js} +4 -4
  140. package/chunks/{spawnChannel-3CBN3ZLK.js → spawnChannel-GWIJHDZ5.js} +15 -15
  141. package/chunks/{src-T5A7P7FS.js → src-IYODJOVK.js} +47 -21
  142. package/chunks/{startInteractiveUI-2FGEQ6AS.js → startInteractiveUI-PLEZAI44.js} +354 -152
  143. package/chunks/{syntheticOutput-YOSWIHDJ.js → syntheticOutput-J3MLCQAR.js} +2 -2
  144. package/chunks/{task-create-NHS2NGB3.js → task-create-ELEBZ7H2.js} +3 -3
  145. package/chunks/{task-list-5UIB564R.js → task-list-IEUZLF3Y.js} +1 -1
  146. package/chunks/{task-stop-HGXZ2VZ3.js → task-stop-QEZW3UDY.js} +1 -1
  147. package/chunks/{task-update-IYYWUILG.js → task-update-DW36J5P5.js} +3 -3
  148. package/chunks/{team-create-KDF6W6PV.js → team-create-RXRE7FCH.js} +11 -11
  149. package/chunks/{team-delete-FEKJCU4P.js → team-delete-SVITIMBO.js} +1 -1
  150. package/chunks/{team-plan-approval-PSFKQX7M.js → team-plan-approval-OJDMQXOK.js} +11 -11
  151. package/chunks/{theme-manager-5XOA2AO7.js → theme-manager-QBK6PZOQ.js} +11 -11
  152. package/chunks/{todoWrite-TKMVZ2HT.js → todoWrite-SFFQHZYY.js} +2 -2
  153. package/chunks/{tool-search-LFRILZXC.js → tool-search-EZQYPVFF.js} +4 -4
  154. package/chunks/{trustedFolders-7HQY6T6X.js → trustedFolders-GZDMSATB.js} +12 -12
  155. package/chunks/{validateNonInterActiveAuth-UC27B7BA.js → validateNonInterActiveAuth-AHXCFAV6.js} +43 -41
  156. package/chunks/version-KQ5CA4C5.js +10 -0
  157. package/chunks/{web-fetch-J4PIW36Q.js → web-fetch-SXAXJHIO.js} +2 -2
  158. package/chunks/{workflow-KUTESS6L.js → workflow-KUBRBYWH.js} +20 -13
  159. package/chunks/{workspace-providers-status-LJT5AQDS.js → workspace-providers-status-LRMZ4KYI.js} +18 -18
  160. package/chunks/{workspace-service-YOBYVDXH.js → workspace-service-5UYFHP42.js} +23 -23
  161. package/chunks/workspace-skills-status-TKLU5O2X.js +68 -0
  162. package/chunks/{write-file-FJYBZUHP.js → write-file-37LNLFQC.js} +12 -12
  163. package/chunks/yargs-B64EYTCF.js +10 -0
  164. package/chunks/{zh-SLZNSSZB.js → zh-FSVJTXA4.js} +1 -0
  165. package/chunks/{zh-TW-P53C2SL5.js → zh-TW-66MG4LWL.js} +1 -0
  166. package/cli-entry.js +81 -8
  167. package/cli.js +348 -55
  168. package/locales/en.js +1 -0
  169. package/locales/zh-TW.js +1 -0
  170. package/locales/zh.js +1 -0
  171. package/node_modules/@qwen-code/audio-capture/package.json +1 -1
  172. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
  173. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
  174. package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
  175. package/package.json +3 -3
  176. package/web-shell/assets/{arc-D_rAuMDd.js → arc-CUpe0ibu.js} +1 -1
  177. package/web-shell/assets/{architectureDiagram-3BPJPVTR-DUCzbHVo.js → architectureDiagram-3BPJPVTR-JvyrY_mK.js} +1 -1
  178. package/web-shell/assets/{blockDiagram-GPEHLZMM-BEEBt1LL.js → blockDiagram-GPEHLZMM-CK3Y_vom.js} +1 -1
  179. package/web-shell/assets/{c4Diagram-AAUBKEIU-5ZJ_DeFL.js → c4Diagram-AAUBKEIU-DprSnyrf.js} +1 -1
  180. package/web-shell/assets/channel-BAxQ2-aZ.js +1 -0
  181. package/web-shell/assets/{chunk-2J33WTMH-Cfw7EiLn.js → chunk-2J33WTMH-DJtRJPmu.js} +1 -1
  182. package/web-shell/assets/{chunk-4BX2VUAB-FGuZNCZY.js → chunk-4BX2VUAB-ON6Q2-BG.js} +1 -1
  183. package/web-shell/assets/{chunk-55IACEB6-CaBwYPBF.js → chunk-55IACEB6-c60ou5HZ.js} +1 -1
  184. package/web-shell/assets/{chunk-727SXJPM-BlR04OFz.js → chunk-727SXJPM-BamtPKxx.js} +1 -1
  185. package/web-shell/assets/{chunk-AQP2D5EJ-D3_mYJH5.js → chunk-AQP2D5EJ-CsVgpu-T.js} +1 -1
  186. package/web-shell/assets/{chunk-FMBD7UC4-7D4q4SbB.js → chunk-FMBD7UC4-vZrpjAx4.js} +1 -1
  187. package/web-shell/assets/{chunk-ND2GUHAM-BjX_Iwmr.js → chunk-ND2GUHAM-qxyNOd5t.js} +1 -1
  188. package/web-shell/assets/{chunk-QZHKN3VN-C3Hz_ZQh.js → chunk-QZHKN3VN-BvTJSM_S.js} +1 -1
  189. package/web-shell/assets/classDiagram-4FO5ZUOK-Cvd_xhZI.js +1 -0
  190. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cvd_xhZI.js +1 -0
  191. package/web-shell/assets/{cose-bilkent-S5V4N54A-Ax4UycaT.js → cose-bilkent-S5V4N54A-1tXB4pju.js} +1 -1
  192. package/web-shell/assets/{dagre-BM42HDAG-C6hmPtGt.js → dagre-BM42HDAG-DglBzme8.js} +1 -1
  193. package/web-shell/assets/{diagram-2AECGRRQ-tXZnxjmw.js → diagram-2AECGRRQ-DEJpqsWz.js} +1 -1
  194. package/web-shell/assets/{diagram-5GNKFQAL-99dwIzQG.js → diagram-5GNKFQAL-CsQ1NrMG.js} +1 -1
  195. package/web-shell/assets/{diagram-KO2AKTUF-Bqhn0-2s.js → diagram-KO2AKTUF-Z-3codAi.js} +1 -1
  196. package/web-shell/assets/{diagram-LMA3HP47-DzThVSvo.js → diagram-LMA3HP47-mBuPTA2i.js} +1 -1
  197. package/web-shell/assets/{diagram-OG6HWLK6-DPE8vjln.js → diagram-OG6HWLK6-tcA3K3s9.js} +1 -1
  198. package/web-shell/assets/{erDiagram-TEJ5UH35-KzUKgQCV.js → erDiagram-TEJ5UH35-D9bXFRyZ.js} +1 -1
  199. package/web-shell/assets/{flowDiagram-I6XJVG4X-DBN-DXw5.js → flowDiagram-I6XJVG4X-Ck0Py04s.js} +1 -1
  200. package/web-shell/assets/{ganttDiagram-6RSMTGT7-DuBsP9u8.js → ganttDiagram-6RSMTGT7-rOevCekE.js} +1 -1
  201. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BjWHMyKR.js → gitGraphDiagram-PVQCEYII-CoPQaLj0.js} +1 -1
  202. package/web-shell/assets/index-Cr7MYW6T.css +5 -0
  203. package/web-shell/assets/index-DCHPAUp3.js +730 -0
  204. package/web-shell/assets/{infoDiagram-5YYISTIA-BVux0vP6.js → infoDiagram-5YYISTIA-a77CUKoI.js} +1 -1
  205. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-2qzw7f--.js → ishikawaDiagram-YF4QCWOH-DlLgUAO-.js} +1 -1
  206. package/web-shell/assets/{journeyDiagram-JHISSGLW-Dnl65sxL.js → journeyDiagram-JHISSGLW-BXR5kVAZ.js} +1 -1
  207. package/web-shell/assets/{kanban-definition-UN3LZRKU-BElSQYtY.js → kanban-definition-UN3LZRKU-h5CoHZg7.js} +1 -1
  208. package/web-shell/assets/{linear-BjoycSSY.js → linear-BkaREbyD.js} +1 -1
  209. package/web-shell/assets/{mermaid.core-xe6bvMRz.js → mermaid.core-Bkagz0ng.js} +5 -5
  210. package/web-shell/assets/{mindmap-definition-RKZ34NQL-D8DQgI4U.js → mindmap-definition-RKZ34NQL-D7EMKR_5.js} +1 -1
  211. package/web-shell/assets/{pieDiagram-4H26LBE5-Dwh7Gp7c.js → pieDiagram-4H26LBE5-DAmPOjsL.js} +1 -1
  212. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BXKNBln2.js → quadrantDiagram-W4KKPZXB-e4WFQkQu.js} +1 -1
  213. package/web-shell/assets/{requirementDiagram-4Y6WPE33-BzaC3cIA.js → requirementDiagram-4Y6WPE33-v1zo7OiV.js} +1 -1
  214. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DP2t7eZk.js → sankeyDiagram-5OEKKPKP-Bstm4aW_.js} +1 -1
  215. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-XlFiWEYv.js → sequenceDiagram-3UESZ5HK-DzcZy6xN.js} +1 -1
  216. package/web-shell/assets/{stateDiagram-AJRCARHV-CupgUMJO.js → stateDiagram-AJRCARHV-BEJH6YbH.js} +1 -1
  217. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BopifCBI.js +1 -0
  218. package/web-shell/assets/{timeline-definition-PNZ67QCA-DstuGywa.js → timeline-definition-PNZ67QCA-TI1wH-Pm.js} +1 -1
  219. package/web-shell/assets/{vennDiagram-CIIHVFJN-CnbNp6zu.js → vennDiagram-CIIHVFJN-YaH8VDMS.js} +1 -1
  220. package/web-shell/assets/{wardley-L42UT6IY-DnvoHq6R.js → wardley-L42UT6IY-B80co7OP.js} +1 -1
  221. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Cz0xHEWB.js → wardleyDiagram-YWT4CUSO-4fHNDEMl.js} +1 -1
  222. package/web-shell/assets/{xychartDiagram-2RQKCTM6-p36gfo88.js → xychartDiagram-2RQKCTM6-DT3q4Z3J.js} +1 -1
  223. package/web-shell/index.html +2 -2
  224. package/bundled/loop/SKILL.test.ts +0 -119
  225. package/bundled/loop/autonomous-loop.test.ts +0 -59
  226. package/bundled/loop/loop-task-file.test.ts +0 -1064
  227. package/bundled/loop/loop-tick-resolver.test.ts +0 -906
  228. package/chunks/chunk-EJ7BN3EN.js +0 -11396
  229. package/web-shell/assets/channel-B5ynH0q8.js +0 -1
  230. package/web-shell/assets/classDiagram-4FO5ZUOK-CK3ibywp.js +0 -1
  231. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CK3ibywp.js +0 -1
  232. package/web-shell/assets/index-9qfvU0_r.css +0 -5
  233. package/web-shell/assets/index-CWzDaQT5.js +0 -717
  234. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-By3E4QwN.js +0 -1
  235. package/chunks/{chunk-UFC57OYT.js → chunk-VRDMOSQS.js} +54 -54
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  SkillError
5
- } from "./chunk-6QTCOQX7.js";
5
+ } from "./chunk-B5ZACOMA.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -86,6 +86,8 @@ var SERVE_CONTROL_EXT_METHODS = {
86
86
  workspaceAgentGenerate: "qwen/control/workspace/agents/generate",
87
87
  workspaceMemoryRememberAvailability: "qwen/control/workspace/memory/remember/availability",
88
88
  workspaceMemoryRemember: "qwen/control/workspace/memory/remember",
89
+ workspaceMemoryForget: "qwen/control/workspace/memory/forget",
90
+ workspaceMemoryDream: "qwen/control/workspace/memory/dream",
89
91
  // Runtime MCP server mutation ext-methods
90
92
  sessionTaskCancel: "qwen/control/session/task/cancel",
91
93
  sessionGoalClear: "qwen/control/session/goal/clear",
@@ -29,13 +29,13 @@ import {
29
29
  } from "./chunk-BZHLWC6T.js";
30
30
  import {
31
31
  STRUCTURED_OUTPUT_REDACTED_ARGS
32
- } from "./chunk-DG573EOO.js";
32
+ } from "./chunk-RZORUN6X.js";
33
33
  import {
34
34
  BaseDeclarativeTool,
35
35
  BaseToolInvocation,
36
36
  ToolDisplayNames,
37
37
  ToolNames
38
- } from "./chunk-MTNTVOJR.js";
38
+ } from "./chunk-MJKMIQMK.js";
39
39
  import {
40
40
  atomicWriteFile,
41
41
  atomicWriteFileSync
@@ -64131,21 +64131,22 @@ function convertOpenAITextToParts(text, requestContext, final = true) {
64131
64131
  return parseTaggedThinkingText(text);
64132
64132
  }
64133
64133
  __name(convertOpenAITextToParts, "convertOpenAITextToParts");
64134
- function hasThoughtPart(parts) {
64135
- return parts.some((part) => part.thought === true);
64136
- }
64137
- __name(hasThoughtPart, "hasThoughtPart");
64138
64134
  function convertOpenAIResponseToGemini(openaiResponse, requestContext) {
64139
64135
  const choice = openaiResponse.choices?.[0];
64140
64136
  const response = new GenerateContentResponse();
64141
64137
  if (choice) {
64142
64138
  const parts = [];
64143
- const textParts = choice.message.content ? convertOpenAITextToParts(choice.message.content, requestContext) : [];
64144
- const reasoningText = choice.message.reasoning_content ?? choice.message.reasoning;
64145
- if (reasoningText && !hasThoughtPart(textParts)) {
64146
- parts.push({ text: reasoningText, thought: true });
64139
+ if (!requestContext.responseParsingOptions?.taggedThinkingTags) {
64140
+ const reasoningText = choice.message.reasoning_content ?? choice.message.reasoning;
64141
+ if (reasoningText) {
64142
+ parts.push({ text: reasoningText, thought: true });
64143
+ }
64144
+ }
64145
+ if (choice.message.content) {
64146
+ parts.push(
64147
+ ...convertOpenAITextToParts(choice.message.content, requestContext)
64148
+ );
64147
64149
  }
64148
- parts.push(...textParts);
64149
64150
  if (choice.message.tool_calls) {
64150
64151
  for (const toolCall of choice.message.tool_calls) {
64151
64152
  if (toolCall.function) {
@@ -64219,8 +64220,22 @@ function convertOpenAIChunkToGemini(chunk, requestContext) {
64219
64220
  }
64220
64221
  if (choice) {
64221
64222
  const parts = [];
64222
- let contentParts = [];
64223
- const reasoningText = choice.delta?.reasoning_content ?? choice.delta?.reasoning;
64223
+ if (!requestContext.responseParsingOptions?.taggedThinkingTags) {
64224
+ const reasoningText = choice.delta?.reasoning_content ?? choice.delta?.reasoning;
64225
+ if (reasoningText) {
64226
+ const normalizedReasoningText = normalizeStreamingTextDelta(
64227
+ reasoningText,
64228
+ requestContext.reasoningDeltaState ??= {
64229
+ emittedText: "",
64230
+ emittedLength: 0,
64231
+ cumulativeMode: false
64232
+ }
64233
+ );
64234
+ if (normalizedReasoningText) {
64235
+ parts.push({ text: normalizedReasoningText, thought: true });
64236
+ }
64237
+ }
64238
+ }
64224
64239
  if (typeof choice.delta?.content === "string") {
64225
64240
  const normalizedContent = normalizeStreamingTextDelta(
64226
64241
  choice.delta.content,
@@ -64231,72 +64246,17 @@ function convertOpenAIChunkToGemini(chunk, requestContext) {
64231
64246
  }
64232
64247
  );
64233
64248
  if (normalizedContent || choice.finish_reason) {
64234
- contentParts = convertOpenAITextToParts(
64235
- normalizedContent,
64236
- requestContext,
64237
- Boolean(choice.finish_reason)
64249
+ parts.push(
64250
+ ...convertOpenAITextToParts(
64251
+ normalizedContent,
64252
+ requestContext,
64253
+ Boolean(choice.finish_reason)
64254
+ )
64238
64255
  );
64239
64256
  }
64240
64257
  } else if (choice.finish_reason) {
64241
- contentParts = convertOpenAITextToParts("", requestContext, true);
64242
- }
64243
- if (hasThoughtPart(contentParts)) {
64244
- requestContext.hasTaggedThinkingThought = true;
64245
- requestContext.pendingReasoningText = void 0;
64246
- debugLogger6.debug(
64247
- "convertOpenAIChunkToGemini: tagged thinking content emitted a thought; dropping buffered reasoning"
64248
- );
64249
- if (requestContext.pendingContentParts?.length) {
64250
- debugLogger6.debug(
64251
- `convertOpenAIChunkToGemini: flushing ${requestContext.pendingContentParts.length} buffered content part(s) before tagged content`
64252
- );
64253
- parts.push(...requestContext.pendingContentParts);
64254
- requestContext.pendingContentParts = void 0;
64255
- }
64256
- }
64257
- if (reasoningText && (!requestContext.responseParsingOptions?.taggedThinkingTags || !requestContext.hasTaggedThinkingThought)) {
64258
- const normalizedReasoningText = normalizeStreamingTextDelta(
64259
- reasoningText,
64260
- requestContext.reasoningDeltaState ??= {
64261
- emittedText: "",
64262
- emittedLength: 0,
64263
- cumulativeMode: false
64264
- }
64265
- );
64266
- if (normalizedReasoningText && !requestContext.responseParsingOptions?.taggedThinkingTags) {
64267
- parts.push({ text: normalizedReasoningText, thought: true });
64268
- } else if (normalizedReasoningText && !requestContext.hasTaggedThinkingThought) {
64269
- requestContext.pendingReasoningText = (requestContext.pendingReasoningText ?? "") + normalizedReasoningText;
64270
- debugLogger6.debug(
64271
- `convertOpenAIChunkToGemini: buffered reasoning text (${requestContext.pendingReasoningText.length} chars) for tagged stream`
64272
- );
64273
- }
64274
- }
64275
- if (requestContext.responseParsingOptions?.taggedThinkingTags && !requestContext.hasTaggedThinkingThought && requestContext.pendingReasoningText && contentParts.length) {
64276
- requestContext.pendingContentParts = [
64277
- ...requestContext.pendingContentParts ?? [],
64278
- ...contentParts
64279
- ];
64280
- debugLogger6.debug(
64281
- `convertOpenAIChunkToGemini: buffered ${contentParts.length} content part(s) behind pending reasoning`
64282
- );
64283
- contentParts = [];
64258
+ parts.push(...convertOpenAITextToParts("", requestContext, true));
64284
64259
  }
64285
- if (choice.finish_reason && requestContext.responseParsingOptions?.taggedThinkingTags && !requestContext.hasTaggedThinkingThought && requestContext.pendingReasoningText) {
64286
- debugLogger6.debug(
64287
- "convertOpenAIChunkToGemini: flushing buffered reasoning for tagged stream with no tagged thought"
64288
- );
64289
- parts.push({ text: requestContext.pendingReasoningText, thought: true });
64290
- requestContext.pendingReasoningText = void 0;
64291
- }
64292
- if (choice.finish_reason && requestContext.pendingContentParts?.length) {
64293
- debugLogger6.debug(
64294
- `convertOpenAIChunkToGemini: flushing ${requestContext.pendingContentParts.length} buffered content part(s) on stream finish`
64295
- );
64296
- parts.push(...requestContext.pendingContentParts);
64297
- requestContext.pendingContentParts = void 0;
64298
- }
64299
- parts.push(...contentParts);
64300
64260
  if (choice.delta?.tool_calls) {
64301
64261
  for (const toolCall of choice.delta.tool_calls) {
64302
64262
  const index = toolCall.index ?? 0;
@@ -67637,6 +67597,7 @@ var DAEMON_PROMPT_QUEUE_WAIT = `${SERVICE_NAME}.daemon.prompt.queue_wait`;
67637
67597
  var DAEMON_PROMPT_DURATION = `${SERVICE_NAME}.daemon.prompt.duration`;
67638
67598
  var DAEMON_BRIDGE_ERROR_COUNT = `${SERVICE_NAME}.daemon.bridge.error.count`;
67639
67599
  var DAEMON_CANCEL_COUNT = `${SERVICE_NAME}.daemon.cancel.count`;
67600
+ var DAEMON_PIPE_MESSAGE_BYTES = `${SERVICE_NAME}.daemon.pipe.message_bytes`;
67640
67601
  var DAEMON_SSE_ACTIVE = `${SERVICE_NAME}.daemon.sse.active`;
67641
67602
  var DAEMON_PROCESS_HEAP_USED = `${SERVICE_NAME}.daemon.process.heap_used`;
67642
67603
  var KNOWN_ERROR_TYPES = /* @__PURE__ */ new Set([
@@ -67669,6 +67630,7 @@ var promptQueueWaitHistogram;
67669
67630
  var promptDurationHistogram;
67670
67631
  var bridgeErrorCounter;
67671
67632
  var cancelCounter;
67633
+ var pipeMessageBytesHistogram;
67672
67634
  function normalizeErrorType(err) {
67673
67635
  const name = err instanceof Error ? err.name : typeof err;
67674
67636
  return KNOWN_ERROR_TYPES.has(name) ? name : "unknown";
@@ -67764,6 +67726,24 @@ function initializeDaemonMetrics() {
67764
67726
  description: "Daemon cancel request count.",
67765
67727
  valueType: ValueType.INT
67766
67728
  });
67729
+ pipeMessageBytesHistogram = meter.createHistogram(DAEMON_PIPE_MESSAGE_BYTES, {
67730
+ description: "Daemon ACP child pipe message payload size in bytes.",
67731
+ unit: "By",
67732
+ valueType: ValueType.INT,
67733
+ advice: {
67734
+ explicitBucketBoundaries: [
67735
+ 256,
67736
+ 1024,
67737
+ 4096,
67738
+ 16384,
67739
+ 65536,
67740
+ 262144,
67741
+ 1048576,
67742
+ 4194304,
67743
+ 16777216
67744
+ ]
67745
+ }
67746
+ });
67767
67747
  initialized = true;
67768
67748
  }
67769
67749
  __name(initializeDaemonMetrics, "initializeDaemonMetrics");
@@ -67843,6 +67823,114 @@ function recordDaemonCancel() {
67843
67823
  cancelCounter?.add(1);
67844
67824
  }
67845
67825
  __name(recordDaemonCancel, "recordDaemonCancel");
67826
+ function recordDaemonPipeMessage(direction, bytes) {
67827
+ if (!initialized) return;
67828
+ pipeMessageBytesHistogram?.record(bytes, { direction });
67829
+ }
67830
+ __name(recordDaemonPipeMessage, "recordDaemonPipeMessage");
67831
+
67832
+ // packages/core/src/telemetry/event-loop-lag.ts
67833
+ init_esbuild_shims();
67834
+ import { monitorEventLoopDelay } from "node:perf_hooks";
67835
+ var DEFAULT_RESOLUTION_MS = 20;
67836
+ var DEFAULT_STALL_THRESHOLD_MS = 1e3;
67837
+ var NS_PER_MS = 1e6;
67838
+ function startEventLoopLagMonitor(options = {}) {
67839
+ const resolutionMs = positiveFiniteOrDefault(
67840
+ options.resolutionMs,
67841
+ DEFAULT_RESOLUTION_MS
67842
+ );
67843
+ const stallThresholdMs = positiveFiniteOrDefault(
67844
+ options.stallThresholdMs,
67845
+ DEFAULT_STALL_THRESHOLD_MS
67846
+ );
67847
+ const histogram = monitorEventLoopDelay({ resolution: resolutionMs });
67848
+ histogram.enable();
67849
+ let disposed = false;
67850
+ let lastReportedMaxMs = 0;
67851
+ const readMaxMs = /* @__PURE__ */ __name(() => nsToMs(histogram.max), "readMaxMs");
67852
+ const checkForNewMaxStall = /* @__PURE__ */ __name(() => {
67853
+ if (disposed || !options.onNewMaxStall) return;
67854
+ const maxMs = readMaxMs();
67855
+ if (maxMs >= stallThresholdMs && maxMs > lastReportedMaxMs) {
67856
+ lastReportedMaxMs = maxMs;
67857
+ try {
67858
+ options.onNewMaxStall(maxMs);
67859
+ } catch {
67860
+ }
67861
+ }
67862
+ }, "checkForNewMaxStall");
67863
+ const interval = options.onNewMaxStall !== void 0 ? setInterval(checkForNewMaxStall, resolutionMs) : void 0;
67864
+ interval?.unref();
67865
+ return {
67866
+ snapshot() {
67867
+ return {
67868
+ meanMs: nsToMs(histogram.mean),
67869
+ p50Ms: nsToMs(histogram.percentile(50)),
67870
+ p99Ms: nsToMs(histogram.percentile(99)),
67871
+ maxMs: readMaxMs()
67872
+ };
67873
+ },
67874
+ dispose() {
67875
+ if (disposed) return;
67876
+ disposed = true;
67877
+ if (interval) {
67878
+ clearInterval(interval);
67879
+ }
67880
+ histogram.disable();
67881
+ }
67882
+ };
67883
+ }
67884
+ __name(startEventLoopLagMonitor, "startEventLoopLagMonitor");
67885
+ function nsToMs(value) {
67886
+ return Number.isFinite(value) ? value / NS_PER_MS : 0;
67887
+ }
67888
+ __name(nsToMs, "nsToMs");
67889
+ function positiveFiniteOrDefault(value, fallback) {
67890
+ return value !== void 0 && Number.isFinite(value) && value > 0 ? value : fallback;
67891
+ }
67892
+ __name(positiveFiniteOrDefault, "positiveFiniteOrDefault");
67893
+
67894
+ // packages/core/src/telemetry/event-loop-lag-metrics.ts
67895
+ init_esbuild_shims();
67896
+ init_esm();
67897
+ var DAEMON_EVENT_LOOP_LAG = `${SERVICE_NAME}.daemon.event_loop.lag`;
67898
+ var ACP_EVENT_LOOP_LAG = `${SERVICE_NAME}.acp.event_loop.lag`;
67899
+ var daemonGaugeRegistered = false;
67900
+ var acpGaugeRegistered = false;
67901
+ function registerDaemonEventLoopLagGauge(read2) {
67902
+ if (daemonGaugeRegistered) return;
67903
+ daemonGaugeRegistered = registerEventLoopLagGauge(
67904
+ DAEMON_EVENT_LOOP_LAG,
67905
+ read2
67906
+ );
67907
+ }
67908
+ __name(registerDaemonEventLoopLagGauge, "registerDaemonEventLoopLagGauge");
67909
+ function registerAcpEventLoopLagGauge(read2) {
67910
+ if (acpGaugeRegistered) return;
67911
+ acpGaugeRegistered = registerEventLoopLagGauge(ACP_EVENT_LOOP_LAG, read2);
67912
+ }
67913
+ __name(registerAcpEventLoopLagGauge, "registerAcpEventLoopLagGauge");
67914
+ function registerEventLoopLagGauge(name, read2) {
67915
+ const meter = getMeter();
67916
+ if (!meter) return false;
67917
+ meter.createObservableGauge(name, {
67918
+ description: "Event loop lag in milliseconds.",
67919
+ unit: "ms",
67920
+ valueType: ValueType.DOUBLE
67921
+ }).addCallback((result) => {
67922
+ try {
67923
+ const snapshot = read2();
67924
+ result.observe(snapshot.meanMs, { stat: "mean" });
67925
+ result.observe(snapshot.p50Ms, { stat: "p50" });
67926
+ result.observe(snapshot.p99Ms, { stat: "p99" });
67927
+ result.observe(snapshot.maxMs, { stat: "max" });
67928
+ } catch {
67929
+ }
67930
+ });
67931
+ return true;
67932
+ }
67933
+ __name(registerEventLoopLagGauge, "registerEventLoopLagGauge");
67846
67934
 
67847
67935
  // packages/core/src/telemetry/index.ts
67848
67936
  var TelemetryTarget = /* @__PURE__ */ ((TelemetryTarget2) => {
@@ -68959,11 +69047,11 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
68959
69047
  let baseGenerator;
68960
69048
  try {
68961
69049
  if (authType === "openai" /* USE_OPENAI */) {
68962
- const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-EXR3ZL3Z.js");
69050
+ const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-GMMEY5PG.js");
68963
69051
  baseGenerator = createOpenAIContentGenerator(generatorConfig, config);
68964
69052
  } else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
68965
69053
  const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-LWLA6MQG.js");
68966
- const { QwenContentGenerator } = await import("./qwenContentGenerator-A7B6J4U7.js");
69054
+ const { QwenContentGenerator } = await import("./qwenContentGenerator-7XCBMQBM.js");
68967
69055
  try {
68968
69056
  const qwenClient = await getQwenOauthClient(
68969
69057
  config,
@@ -68981,10 +69069,10 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
68981
69069
  throw new Error(error instanceof Error ? error.message : String(error));
68982
69070
  }
68983
69071
  } else if (authType === "anthropic" /* USE_ANTHROPIC */) {
68984
- const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-WL3LJOUB.js");
69072
+ const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-H5ZOEENQ.js");
68985
69073
  baseGenerator = createAnthropicContentGenerator(generatorConfig, config);
68986
69074
  } else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
68987
- const { createGeminiContentGenerator } = await import("./geminiContentGenerator-MZDVHVZH.js");
69075
+ const { createGeminiContentGenerator } = await import("./geminiContentGenerator-JEG2PANG.js");
68988
69076
  baseGenerator = createGeminiContentGenerator(generatorConfig, config);
68989
69077
  } else {
68990
69078
  throw new Error(
@@ -72045,6 +72133,10 @@ export {
72045
72133
  recordDaemonPromptDuration,
72046
72134
  recordDaemonBridgeError,
72047
72135
  recordDaemonCancel,
72136
+ recordDaemonPipeMessage,
72137
+ startEventLoopLagMonitor,
72138
+ registerDaemonEventLoopLagGauge,
72139
+ registerAcpEventLoopLagGauge,
72048
72140
  TelemetryTarget,
72049
72141
  DEFAULT_TELEMETRY_TARGET,
72050
72142
  DEFAULT_OTLP_ENDPOINT,
@@ -5,19 +5,19 @@ import {
5
5
  } from "./chunk-3GONHQOA.js";
6
6
  import {
7
7
  getErrorMessage
8
- } from "./chunk-JJ6B3ZD3.js";
8
+ } from "./chunk-3ZSJDRNO.js";
9
9
  import {
10
10
  loadSettings
11
- } from "./chunk-BC4R5C5R.js";
11
+ } from "./chunk-5WYLPENX.js";
12
12
  import {
13
13
  getCurrentLanguage,
14
14
  initializeI18n,
15
15
  resolveLanguageSetting,
16
16
  t
17
- } from "./chunk-DM4E337C.js";
17
+ } from "./chunk-X3UQVEBR.js";
18
18
  import {
19
19
  isWorkspaceTrusted
20
- } from "./chunk-Z7XNVNPM.js";
20
+ } from "./chunk-EMSRFDBD.js";
21
21
  import {
22
22
  writeStderrLine,
23
23
  writeStdoutLine
@@ -29,7 +29,7 @@ import {
29
29
  redactUrlCredentials,
30
30
  require_prompts,
31
31
  stripAnsi
32
- } from "./chunk-6QTCOQX7.js";
32
+ } from "./chunk-B5ZACOMA.js";
33
33
  import {
34
34
  init_esbuild_shims
35
35
  } from "./chunk-A4BMJM77.js";