@qwen-code/qwen-code 0.19.5 → 0.19.6-nightly.20260705.015ee4248

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 (264) 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 +14 -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-PRXTXIGC.js} +31 -30
  14. package/chunks/{StandaloneSessionPicker-MGUGB6PH.js → StandaloneSessionPicker-PV7BSC5D.js} +42 -41
  15. package/chunks/{acpAgent-4F36XM3X.js → acpAgent-F34HNAM3.js} +939 -424
  16. package/chunks/{agent-IWBUZI6A.js → agent-XSQDKLST.js} +26 -25
  17. package/chunks/{agent-headless-JUTICAYO.js → agent-headless-B63XCKWX.js} +26 -25
  18. package/chunks/{anthropicContentGenerator-WL3LJOUB.js → anthropicContentGenerator-INXXI4PW.js} +7 -7
  19. package/chunks/{artifact-tool-W76WC2JX.js → artifact-tool-H2TNPNP5.js} +16 -3
  20. package/chunks/{askUserQuestion-J3P6TH3V.js → askUserQuestion-MKL5ZTMC.js} +2 -2
  21. package/chunks/{bridge-DHZHQ4UV.js → bridge-NCZDJBRF.js} +34 -32
  22. package/chunks/{channel-worker-supervisor-EVPAYNZ5.js → channel-worker-supervisor-JUYQ5Z4R.js} +5 -5
  23. package/chunks/{chunk-AVQDCKNF.js → chunk-22MNNNXE.js} +4 -0
  24. package/chunks/chunk-3RW4AZJV.js +5063 -0
  25. package/chunks/chunk-3VJ7MT3N.js +111 -0
  26. package/chunks/{chunk-JKGCBO3O.js → chunk-3VRMGS3A.js} +4 -4
  27. package/chunks/{chunk-TN6RT6EJ.js → chunk-3WOJO5EJ.js} +16 -4
  28. package/chunks/{chunk-G7OQ3RFJ.js → chunk-42XGFRJS.js} +3 -3
  29. package/chunks/{chunk-MOUXUCXQ.js → chunk-4KJ2BPIT.js} +1 -1
  30. package/chunks/{chunk-PPFWEV7G.js → chunk-4RQIB5UZ.js} +62 -62
  31. package/chunks/{chunk-JJ6B3ZD3.js → chunk-544UZQBD.js} +3 -3
  32. package/chunks/{chunk-B236XPGF.js → chunk-5UDYETKK.js} +1 -1
  33. package/chunks/{chunk-7DMQRPC7.js → chunk-6BEOH4KK.js} +1 -1
  34. package/chunks/{chunk-CXBG27SF.js → chunk-6IAWPIQ6.js} +3 -2
  35. package/chunks/{chunk-MDBNFHIO.js → chunk-6MDY7FX3.js} +5 -5
  36. package/chunks/{chunk-RM3PGSGL.js → chunk-6SHO7WFF.js} +15 -2
  37. package/chunks/{chunk-YCU7QV7Q.js → chunk-73WGF3NW.js} +34 -1
  38. package/chunks/{chunk-T42ACHFI.js → chunk-7LTB54MK.js} +1 -1
  39. package/chunks/{chunk-SJVPSHXU.js → chunk-7U6J224Z.js} +132 -25
  40. package/chunks/{chunk-CSPSJU5R.js → chunk-7WLJPMWU.js} +17 -17
  41. package/chunks/{chunk-R6RI2HIC.js → chunk-ACD5DFUY.js} +41 -14
  42. package/chunks/{chunk-EWALXUAD.js → chunk-AGHU5VRK.js} +8 -0
  43. package/chunks/{chunk-GLPV75ES.js → chunk-AHNJGLFV.js} +2 -2
  44. package/chunks/{chunk-DRS2HTNT.js → chunk-AOAFX4PL.js} +5 -5
  45. package/chunks/{chunk-QHYITL6P.js → chunk-CK7IUFOB.js} +63 -22
  46. package/chunks/{chunk-RSBQS6M4.js → chunk-CODWJXQA.js} +1 -1
  47. package/chunks/{chunk-LWGLBVWA.js → chunk-CSOTA7KX.js} +1 -1
  48. package/chunks/{chunk-UJT42DB6.js → chunk-DFH4T5IQ.js} +6 -6
  49. package/chunks/{chunk-DX3TKXNT.js → chunk-DJACOX4C.js} +2 -2
  50. package/chunks/{chunk-KKQWC6WS.js → chunk-DNV4FSN5.js} +1 -1
  51. package/chunks/{chunk-YPCPZSZB.js → chunk-DT3B47QP.js} +1 -1
  52. package/chunks/{chunk-NIOPRZNN.js → chunk-E7KNELIZ.js} +1 -1
  53. package/chunks/{chunk-DG573EOO.js → chunk-FEJ2FZ3U.js} +1 -1
  54. package/chunks/{chunk-M5ITDKSM.js → chunk-FHGQFG2K.js} +1 -1
  55. package/chunks/{chunk-HISPEX42.js → chunk-FSXFNDTI.js} +7 -7
  56. package/chunks/{chunk-LHMZCIKL.js → chunk-FUW7YGJU.js} +3 -1
  57. package/chunks/{chunk-Y4UQT3PM.js → chunk-FV5SBNNC.js} +1 -1
  58. package/chunks/{chunk-YTFBURQD.js → chunk-GB6HDZIK.js} +10 -2
  59. package/chunks/{chunk-D5KISTLW.js → chunk-H6EMK6QK.js} +1 -1
  60. package/chunks/{chunk-2Z43HUXT.js → chunk-HLKG6CZN.js} +3 -2
  61. package/chunks/{chunk-VXGPYF7U.js → chunk-IFEWJXFS.js} +1 -1
  62. package/chunks/{chunk-TENOUWY2.js → chunk-IJRL2S3D.js} +3 -3
  63. package/chunks/{chunk-OQHLUA2Y.js → chunk-IL6ZEDZ2.js} +4 -4
  64. package/chunks/{chunk-2CAII5HD.js → chunk-J7XUJALJ.js} +1 -1
  65. package/chunks/chunk-JFFOH2XO.js +2472 -0
  66. package/chunks/{chunk-NNEJEBCF.js → chunk-K3FZXSTO.js} +95 -107
  67. package/chunks/{chunk-NDY7OENU.js → chunk-KB4ICCA5.js} +3 -3
  68. package/chunks/{chunk-MNOXKSM2.js → chunk-LFFF2SPV.js} +3 -3
  69. package/chunks/{chunk-J3ERRYYI.js → chunk-LTMDKOZC.js} +2 -2
  70. package/chunks/{chunk-R3UWLLRQ.js → chunk-M7AGQP5D.js} +1 -1
  71. package/chunks/{chunk-CBJE2PLG.js → chunk-MLB5AB2I.js} +4 -4
  72. package/chunks/{chunk-YHTNWGRR.js → chunk-MZ7BABX3.js} +1 -1
  73. package/chunks/{chunk-SJBIFVD2.js → chunk-NFE3DQ4R.js} +7 -3
  74. package/chunks/{chunk-BC4R5C5R.js → chunk-NLD2WKE3.js} +55 -12
  75. package/chunks/{chunk-ALX6BUYW.js → chunk-NUGPZXAZ.js} +35 -1
  76. package/chunks/{chunk-NSSVORTQ.js → chunk-NYKWPUAE.js} +17 -13
  77. package/chunks/{chunk-K4I4STSL.js → chunk-OGEJMKN5.js} +2 -2
  78. package/chunks/{chunk-HTWHAN44.js → chunk-PC4ZXHU2.js} +1 -1
  79. package/chunks/{chunk-2YH27UNF.js → chunk-QLBBV7C6.js} +1 -1
  80. package/chunks/chunk-QT7XKZT7.js +293 -0
  81. package/chunks/{chunk-NPQWQYU6.js → chunk-QYNNN7BK.js} +1 -1
  82. package/chunks/chunk-R4N3OALZ.js +5631 -0
  83. package/chunks/{chunk-G4M7FPNY.js → chunk-RB5GAQR6.js} +2 -2
  84. package/chunks/{chunk-SBMHB6N5.js → chunk-RPHMD5UC.js} +15 -15
  85. package/chunks/{chunk-CHY5C5T4.js → chunk-SJ2CTIYH.js} +185 -88
  86. package/chunks/chunk-SLQXGMYY.js +949 -0
  87. package/chunks/{chunk-BZHLWC6T.js → chunk-SUAKHHK7.js} +2 -2
  88. package/chunks/{chunk-IMAMNLY6.js → chunk-SWV4CVYG.js} +158 -3
  89. package/chunks/{chunk-XKSCTXPK.js → chunk-TDGF35EN.js} +4 -3
  90. package/chunks/{chunk-TOAUDIS7.js → chunk-TLWA7TPR.js} +6 -2
  91. package/chunks/{chunk-WALEWZ44.js → chunk-UVHL5TCO.js} +1 -1
  92. package/chunks/{chunk-ZISMVA6U.js → chunk-VDMM5LVR.js} +1566 -37
  93. package/chunks/{chunk-BPFJQGY7.js → chunk-VEB3NYSO.js} +164 -5
  94. package/chunks/{chunk-L7OJ3ZO3.js → chunk-VZ7HY3YU.js} +1 -1
  95. package/chunks/{chunk-6KPZJJ6U.js → chunk-W4I6PLEG.js} +131 -38
  96. package/chunks/{chunk-QOMAHFYI.js → chunk-W7EEOR7D.js} +3 -3
  97. package/chunks/{chunk-6QVQZAW6.js → chunk-WKP5QZOP.js} +1 -1
  98. package/chunks/{chunk-YXK4GPYO.js → chunk-WMPVYQ4P.js} +30 -1
  99. package/chunks/{chunk-DM4E337C.js → chunk-WNTS5A2R.js} +5 -5
  100. package/chunks/{chunk-6QTCOQX7.js → chunk-WOG7QWIT.js} +3086 -2635
  101. package/chunks/{chunk-UY2TCIZS.js → chunk-X265R5C6.js} +3 -3
  102. package/chunks/{chunk-LKWAVAB5.js → chunk-X2XNQQJI.js} +2 -2
  103. package/chunks/{chunk-MTNTVOJR.js → chunk-X3YGAX7V.js} +6 -3
  104. package/chunks/{chunk-EROWZQN7.js → chunk-XD3OLPII.js} +6 -6
  105. package/chunks/{chunk-RNGAT2Y2.js → chunk-YYL6HROQ.js} +1 -1
  106. package/chunks/{chunk-XKZXGIRM.js → chunk-YZ2LNTHO.js} +2 -2
  107. package/chunks/{chunk-Z7XNVNPM.js → chunk-YZ5ANQMR.js} +3 -3
  108. package/chunks/{chunk-4MCC4XHH.js → chunk-Z7EYROOJ.js} +3568 -5508
  109. package/chunks/{chunk-5B2WNM6V.js → chunk-ZI4MGBB5.js} +1 -1
  110. package/chunks/{chunk-WZ724G6K.js → chunk-ZPGE42V7.js} +6 -6
  111. package/chunks/{computer-use-ON3JQUHW.js → computer-use-5I2UHVNY.js} +26 -25
  112. package/chunks/{contextCommand-OGCG7W6N.js → contextCommand-3NWY7AJG.js} +28 -27
  113. package/chunks/{cron-create-6YTCOX6P.js → cron-create-O6ZHD3JN.js} +22 -7
  114. package/chunks/{cron-delete-E3NIFSUK.js → cron-delete-BFD5B2XX.js} +4 -4
  115. package/chunks/{cron-list-Q64MNQNE.js → cron-list-KI6FV4KN.js} +4 -4
  116. package/chunks/{daemon-EEB2RYOL.js → daemon-DRUMLVFP.js} +140 -0
  117. package/chunks/daemon-status-provider-A2DK3ZTO.js +74 -0
  118. package/chunks/{dist-AP5V4WYU.js → dist-AAO65DPC.js} +2 -2
  119. package/chunks/{dist-X4ZDE726.js → dist-ABQ7VWRR.js} +3 -3
  120. package/chunks/{dist-SNXOUPYS.js → dist-AW5ZYMUI.js} +2 -2
  121. package/chunks/{dist-Z57Q4YF5.js → dist-DN6M6TJ5.js} +525 -95
  122. package/chunks/{dist-IZP2VV4C.js → dist-JPSVN367.js} +2 -2
  123. package/chunks/{earlyInputCapture-DAFHSGVW.js → earlyInputCapture-5TMSSPQ5.js} +27 -26
  124. package/chunks/{edit-3QFNCSZH.js → edit-V4ITLSUD.js} +27 -26
  125. package/chunks/{en-M4EBUBNU.js → en-AXARKOWO.js} +2 -0
  126. package/chunks/{enter-worktree-62EQQMLD.js → enter-worktree-7ULPRMTJ.js} +26 -25
  127. package/chunks/{enterPlanMode-VUQSE4EG.js → enterPlanMode-YSHMLHJZ.js} +26 -25
  128. package/chunks/{errors-PW75PZXE.js → errors-TCUTD7NF.js} +28 -27
  129. package/chunks/{exit-worktree-VVNH7OVY.js → exit-worktree-JZDCKR6A.js} +26 -25
  130. package/chunks/{exitPlanMode-RUYRCYZW.js → exitPlanMode-GOQBN6SG.js} +26 -25
  131. package/chunks/{fast-path-TFRJRTTR.js → fast-path-F2HGAKO2.js} +3 -3
  132. package/chunks/{fast-path-settings-UQLRFDQP.js → fast-path-settings-RCRXH2JG.js} +2 -2
  133. package/chunks/{gemini-XW7ZDUVR.js → gemini-3M7ECKNW.js} +86 -80
  134. package/chunks/{geminiContentGenerator-MZDVHVZH.js → geminiContentGenerator-5EG3QEJM.js} +4 -4
  135. package/chunks/{glob-WAY2PUWA.js → glob-2DBDTLR4.js} +54 -29
  136. package/chunks/{grep-W6CBKSYC.js → grep-R27DLGWT.js} +26 -25
  137. package/chunks/{initializer-HK2XE6P2.js → initializer-OXB6BJZU.js} +32 -31
  138. package/chunks/{keychain-token-storage-GPAKRDKQ.js → keychain-token-storage-UJV5XP4Z.js} +2 -2
  139. package/chunks/{list-RVLIIKKL.js → list-HLCOEOSF.js} +33 -32
  140. package/chunks/{loadedSettingsAdapter-C63OUYZC.js → loadedSettingsAdapter-JHTVH3YO.js} +31 -30
  141. package/chunks/{loop-wakeup-G2EHBRGR.js → loop-wakeup-CUVIY2JY.js} +5 -5
  142. package/chunks/{ls-IDHUVSAG.js → ls-L654WOAT.js} +4 -4
  143. package/chunks/{lsp-FSRYXGFT.js → lsp-M35KE54Y.js} +2 -2
  144. package/chunks/mcp-2JWEFAIN.js +67 -0
  145. package/chunks/{monitor-FOG36ABM.js → monitor-5QKFZFDX.js} +26 -25
  146. package/chunks/nonInteractiveCli-W5W5PIHI.js +112 -0
  147. package/chunks/{notebook-edit-GC6NXRCX.js → notebook-edit-XAFBWORI.js} +27 -26
  148. package/chunks/{openaiContentGenerator-EXR3ZL3Z.js → openaiContentGenerator-NULJROYV.js} +13 -12
  149. package/chunks/{pidfile-FNZM2DDH.js → pidfile-3LT7PZSW.js} +27 -26
  150. package/chunks/{qwenContentGenerator-A7B6J4U7.js → qwenContentGenerator-KLSURVNH.js} +28 -27
  151. package/chunks/{qwenOAuth2-LWLA6MQG.js → qwenOAuth2-ZV7YLMND.js} +5 -5
  152. package/chunks/{read-file-6JL4ULMY.js → read-file-HDAM3RHJ.js} +8 -8
  153. package/chunks/{read-mcp-resource-PIJF24RO.js → read-mcp-resource-CNQHBSJM.js} +2 -2
  154. package/chunks/record-artifact-PP3LKHTS.js +343 -0
  155. package/chunks/{ripGrep-DIUGLJE5.js → ripGrep-W36NLR7M.js} +26 -25
  156. package/chunks/{run-qwen-serve-CME3AKM4.js → run-qwen-serve-IMI2CQB5.js} +72 -28
  157. package/chunks/{scheduler-L7F6GDDT.js → scheduler-I5NKE5UJ.js} +26 -25
  158. package/chunks/{send-message-33PYFMCT.js → send-message-OA6MV4EU.js} +3 -3
  159. package/chunks/{serve-SRCBOJGP.js → serve-JMHMOYBO.js} +33 -32
  160. package/chunks/{server-QSQ45QFR.js → server-QIYIN34N.js} +1358 -492
  161. package/chunks/{session-5DG6NXHZ.js → session-BLL6HB35.js} +68 -65
  162. package/chunks/{settings-3EEQI4MN.js → settings-ABECXCTY.js} +30 -29
  163. package/chunks/{shell-B7FNYF5S.js → shell-A2TQI3U4.js} +26 -25
  164. package/chunks/{skill-AAOGHD5O.js → skill-4GTWZZWR.js} +10 -10
  165. package/chunks/{spawnChannel-3CBN3ZLK.js → spawnChannel-DFUVGP53.js} +30 -29
  166. package/chunks/{src-T5A7P7FS.js → src-ZORBMUM7.js} +77 -43
  167. package/chunks/{startInteractiveUI-2FGEQ6AS.js → startInteractiveUI-FH5MVXUE.js} +449 -175
  168. package/chunks/{syntheticOutput-YOSWIHDJ.js → syntheticOutput-F7LSDCAR.js} +3 -3
  169. package/chunks/{task-create-NHS2NGB3.js → task-create-RPFZNB4B.js} +7 -7
  170. package/chunks/{task-list-5UIB564R.js → task-list-TGGJX7EA.js} +5 -5
  171. package/chunks/{task-stop-HGXZ2VZ3.js → task-stop-W7NGTMYQ.js} +2 -2
  172. package/chunks/{task-update-IYYWUILG.js → task-update-5WUG5MVQ.js} +7 -7
  173. package/chunks/{team-create-KDF6W6PV.js → team-create-F76QOR6H.js} +26 -25
  174. package/chunks/{team-delete-FEKJCU4P.js → team-delete-UHQQ2QQX.js} +5 -5
  175. package/chunks/{team-plan-approval-PSFKQX7M.js → team-plan-approval-OKM7YZC2.js} +26 -25
  176. package/chunks/{theme-manager-5XOA2AO7.js → theme-manager-6R7EVWHW.js} +27 -26
  177. package/chunks/{todoWrite-TKMVZ2HT.js → todoWrite-C4ZAMSR3.js} +4 -4
  178. package/chunks/{tool-search-LFRILZXC.js → tool-search-UWXDKI7D.js} +9 -9
  179. package/chunks/{trustedFolders-7HQY6T6X.js → trustedFolders-DHASVVUP.js} +27 -26
  180. package/chunks/{validateNonInterActiveAuth-UC27B7BA.js → validateNonInterActiveAuth-56J7MOOP.js} +62 -59
  181. package/chunks/version-NE2I4PBN.js +10 -0
  182. package/chunks/{web-fetch-J4PIW36Q.js → web-fetch-UYGMOHW4.js} +5 -5
  183. package/chunks/{workflow-KUTESS6L.js → workflow-HGF3URV3.js} +35 -27
  184. package/chunks/{workspace-providers-status-LJT5AQDS.js → workspace-providers-status-KXB2OZFQ.js} +33 -32
  185. package/chunks/{workspace-service-YOBYVDXH.js → workspace-service-NSTI55BC.js} +39 -38
  186. package/chunks/workspace-skills-status-X5S6JGQZ.js +69 -0
  187. package/chunks/{write-file-FJYBZUHP.js → write-file-HVKT5VTX.js} +27 -26
  188. package/chunks/yargs-B64EYTCF.js +10 -0
  189. package/chunks/{zh-SLZNSSZB.js → zh-RS3HZHFH.js} +2 -0
  190. package/chunks/{zh-TW-P53C2SL5.js → zh-TW-L5GRQ4S4.js} +2 -0
  191. package/cli-entry.js +81 -8
  192. package/cli.js +348 -55
  193. package/locales/en.js +2 -0
  194. package/locales/zh-TW.js +2 -0
  195. package/locales/zh.js +2 -0
  196. package/node_modules/@qwen-code/audio-capture/package.json +1 -1
  197. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
  198. package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
  199. package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
  200. package/package.json +3 -3
  201. package/web-shell/assets/{arc-D_rAuMDd.js → arc-Csx4m4N0.js} +1 -1
  202. package/web-shell/assets/{architectureDiagram-3BPJPVTR-DUCzbHVo.js → architectureDiagram-3BPJPVTR-BEa0vCM7.js} +1 -1
  203. package/web-shell/assets/{blockDiagram-GPEHLZMM-BEEBt1LL.js → blockDiagram-GPEHLZMM-BPzbKnn3.js} +1 -1
  204. package/web-shell/assets/{c4Diagram-AAUBKEIU-5ZJ_DeFL.js → c4Diagram-AAUBKEIU-B8YO71yP.js} +1 -1
  205. package/web-shell/assets/channel-QU1XUuVe.js +1 -0
  206. package/web-shell/assets/{chunk-2J33WTMH-Cfw7EiLn.js → chunk-2J33WTMH-32XhwSHt.js} +1 -1
  207. package/web-shell/assets/{chunk-4BX2VUAB-FGuZNCZY.js → chunk-4BX2VUAB-Bmoyo6PS.js} +1 -1
  208. package/web-shell/assets/{chunk-55IACEB6-CaBwYPBF.js → chunk-55IACEB6-TwH6PFhs.js} +1 -1
  209. package/web-shell/assets/{chunk-727SXJPM-BlR04OFz.js → chunk-727SXJPM-RI_IVUtZ.js} +1 -1
  210. package/web-shell/assets/{chunk-AQP2D5EJ-D3_mYJH5.js → chunk-AQP2D5EJ-DH6GIAZD.js} +1 -1
  211. package/web-shell/assets/{chunk-FMBD7UC4-7D4q4SbB.js → chunk-FMBD7UC4-DeD3k3D5.js} +1 -1
  212. package/web-shell/assets/{chunk-ND2GUHAM-BjX_Iwmr.js → chunk-ND2GUHAM-BLPb8nv3.js} +1 -1
  213. package/web-shell/assets/{chunk-QZHKN3VN-C3Hz_ZQh.js → chunk-QZHKN3VN-PZpyglW1.js} +1 -1
  214. package/web-shell/assets/classDiagram-4FO5ZUOK-fv1EWO-L.js +1 -0
  215. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-fv1EWO-L.js +1 -0
  216. package/web-shell/assets/{cose-bilkent-S5V4N54A-Ax4UycaT.js → cose-bilkent-S5V4N54A-Jsd0yKfz.js} +1 -1
  217. package/web-shell/assets/{dagre-BM42HDAG-C6hmPtGt.js → dagre-BM42HDAG-B-zADciZ.js} +1 -1
  218. package/web-shell/assets/{diagram-2AECGRRQ-tXZnxjmw.js → diagram-2AECGRRQ-Cn6GDxoo.js} +1 -1
  219. package/web-shell/assets/{diagram-5GNKFQAL-99dwIzQG.js → diagram-5GNKFQAL-udLgyJxO.js} +1 -1
  220. package/web-shell/assets/{diagram-KO2AKTUF-Bqhn0-2s.js → diagram-KO2AKTUF-EcLpfzy3.js} +1 -1
  221. package/web-shell/assets/{diagram-LMA3HP47-DzThVSvo.js → diagram-LMA3HP47-D-YFbYsJ.js} +1 -1
  222. package/web-shell/assets/{diagram-OG6HWLK6-DPE8vjln.js → diagram-OG6HWLK6-C8oRUATa.js} +1 -1
  223. package/web-shell/assets/{erDiagram-TEJ5UH35-KzUKgQCV.js → erDiagram-TEJ5UH35-DPH5nStc.js} +1 -1
  224. package/web-shell/assets/{flowDiagram-I6XJVG4X-DBN-DXw5.js → flowDiagram-I6XJVG4X-CSOTwkAt.js} +1 -1
  225. package/web-shell/assets/{ganttDiagram-6RSMTGT7-DuBsP9u8.js → ganttDiagram-6RSMTGT7-D0L988t0.js} +1 -1
  226. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BjWHMyKR.js → gitGraphDiagram-PVQCEYII-B9Oo7gxS.js} +1 -1
  227. package/web-shell/assets/index-BYZZL5N7.css +5 -0
  228. package/web-shell/assets/index-C_oTyz0s.js +753 -0
  229. package/web-shell/assets/{infoDiagram-5YYISTIA-BVux0vP6.js → infoDiagram-5YYISTIA-Ddj4YN2P.js} +1 -1
  230. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-2qzw7f--.js → ishikawaDiagram-YF4QCWOH-CBjafcl7.js} +1 -1
  231. package/web-shell/assets/{journeyDiagram-JHISSGLW-Dnl65sxL.js → journeyDiagram-JHISSGLW-Bn3XD99u.js} +1 -1
  232. package/web-shell/assets/{kanban-definition-UN3LZRKU-BElSQYtY.js → kanban-definition-UN3LZRKU-D7PBPJmE.js} +1 -1
  233. package/web-shell/assets/{linear-BjoycSSY.js → linear-Bmfo22rZ.js} +1 -1
  234. package/web-shell/assets/{mermaid.core-xe6bvMRz.js → mermaid.core-xRkAI-EI.js} +5 -5
  235. package/web-shell/assets/{mindmap-definition-RKZ34NQL-D8DQgI4U.js → mindmap-definition-RKZ34NQL-B30zRinm.js} +1 -1
  236. package/web-shell/assets/{pieDiagram-4H26LBE5-Dwh7Gp7c.js → pieDiagram-4H26LBE5-DblnKR9Z.js} +1 -1
  237. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BXKNBln2.js → quadrantDiagram-W4KKPZXB-COkHFKjF.js} +1 -1
  238. package/web-shell/assets/{requirementDiagram-4Y6WPE33-BzaC3cIA.js → requirementDiagram-4Y6WPE33-DDU3MMyn.js} +1 -1
  239. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DP2t7eZk.js → sankeyDiagram-5OEKKPKP-Dt4lqEYv.js} +1 -1
  240. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-XlFiWEYv.js → sequenceDiagram-3UESZ5HK-BRzby5gN.js} +1 -1
  241. package/web-shell/assets/{stateDiagram-AJRCARHV-CupgUMJO.js → stateDiagram-AJRCARHV-CylzByc3.js} +1 -1
  242. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BKWZIKkM.js +1 -0
  243. package/web-shell/assets/{timeline-definition-PNZ67QCA-DstuGywa.js → timeline-definition-PNZ67QCA-BSzaNx6w.js} +1 -1
  244. package/web-shell/assets/{vennDiagram-CIIHVFJN-CnbNp6zu.js → vennDiagram-CIIHVFJN-BbzeKzCo.js} +1 -1
  245. package/web-shell/assets/{wardley-L42UT6IY-DnvoHq6R.js → wardley-L42UT6IY-BRJwCgE_.js} +1 -1
  246. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Cz0xHEWB.js → wardleyDiagram-YWT4CUSO-BmAs0mJ-.js} +1 -1
  247. package/web-shell/assets/{xychartDiagram-2RQKCTM6-p36gfo88.js → xychartDiagram-2RQKCTM6-DqywSqVW.js} +1 -1
  248. package/web-shell/index.html +2 -2
  249. package/bundled/loop/SKILL.test.ts +0 -119
  250. package/bundled/loop/autonomous-loop.test.ts +0 -59
  251. package/bundled/loop/loop-task-file.test.ts +0 -1064
  252. package/bundled/loop/loop-tick-resolver.test.ts +0 -906
  253. package/chunks/chunk-EJ7BN3EN.js +0 -11396
  254. package/chunks/chunk-L7QPM2YD.js +0 -481
  255. package/chunks/daemon-status-provider-P72STMLB.js +0 -72
  256. package/chunks/nonInteractiveCli-6BYQSJTB.js +0 -109
  257. package/chunks/workspace-skills-status-ONEPXJV6.js +0 -62
  258. package/web-shell/assets/channel-B5ynH0q8.js +0 -1
  259. package/web-shell/assets/classDiagram-4FO5ZUOK-CK3ibywp.js +0 -1
  260. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CK3ibywp.js +0 -1
  261. package/web-shell/assets/index-9qfvU0_r.css +0 -5
  262. package/web-shell/assets/index-CWzDaQT5.js +0 -717
  263. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-By3E4QwN.js +0 -1
  264. package/chunks/{chunk-UFC57OYT.js → chunk-VRDMOSQS.js} +54 -54
@@ -0,0 +1,111 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ init_esbuild_shims
5
+ } from "./chunk-A4BMJM77.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
9
+
10
+ // packages/acp-bridge/src/ndJsonStream.ts
11
+ init_esbuild_shims();
12
+ function ndJsonStream(output, input, hooks) {
13
+ const textEncoder = new TextEncoder();
14
+ const textDecoder = new TextDecoder();
15
+ const readable = new ReadableStream({
16
+ async start(controller) {
17
+ const pending = [];
18
+ const reader = input.getReader();
19
+ try {
20
+ while (true) {
21
+ const { value, done } = await reader.read();
22
+ if (done) break;
23
+ if (!value) continue;
24
+ readChunk(value, pending, controller, textDecoder, hooks);
25
+ }
26
+ } finally {
27
+ reader.releaseLock();
28
+ controller.close();
29
+ }
30
+ }
31
+ });
32
+ const writable = new WritableStream({
33
+ async write(message) {
34
+ const content = JSON.stringify(message);
35
+ const payload = textEncoder.encode(content);
36
+ const frame = new Uint8Array(payload.byteLength + 1);
37
+ frame.set(payload);
38
+ frame[payload.byteLength] = 10;
39
+ const writer = output.getWriter();
40
+ try {
41
+ await writer.write(frame);
42
+ callHook(hooks?.onMessageSent, payload.byteLength);
43
+ } finally {
44
+ writer.releaseLock();
45
+ }
46
+ }
47
+ });
48
+ return { readable, writable };
49
+ }
50
+ __name(ndJsonStream, "ndJsonStream");
51
+ function readChunk(chunk, pending, controller, textDecoder, hooks) {
52
+ let start = 0;
53
+ let newline = chunk.indexOf(10, start);
54
+ while (newline !== -1) {
55
+ const lineBytes = takeLineBytes(pending, chunk.subarray(start, newline));
56
+ handleLine(lineBytes, controller, textDecoder, hooks);
57
+ start = newline + 1;
58
+ newline = chunk.indexOf(10, start);
59
+ }
60
+ if (start < chunk.length) {
61
+ pending.push(chunk.subarray(start));
62
+ }
63
+ }
64
+ __name(readChunk, "readChunk");
65
+ function takeLineBytes(pending, current) {
66
+ if (pending.length === 0) return current;
67
+ const totalLength = pending.reduce((sum, part) => sum + part.byteLength, 0) + current.byteLength;
68
+ const line = new Uint8Array(totalLength);
69
+ let offset = 0;
70
+ for (const part of pending) {
71
+ line.set(part, offset);
72
+ offset += part.byteLength;
73
+ }
74
+ line.set(current, offset);
75
+ pending.length = 0;
76
+ return line;
77
+ }
78
+ __name(takeLineBytes, "takeLineBytes");
79
+ function handleLine(lineBytes, controller, textDecoder, hooks) {
80
+ const line = textDecoder.decode(lineBytes);
81
+ const trimmedLine = line.trim();
82
+ if (!trimmedLine) return;
83
+ try {
84
+ const message = JSON.parse(trimmedLine);
85
+ controller.enqueue(message);
86
+ callHook(hooks?.onMessageReceived, jsonPayloadByteLength(lineBytes));
87
+ } catch (err) {
88
+ console.error("Failed to parse JSON message:", trimmedLine, err);
89
+ }
90
+ }
91
+ __name(handleLine, "handleLine");
92
+ function jsonPayloadByteLength(lineBytes) {
93
+ return lineBytes[lineBytes.byteLength - 1] === 13 ? lineBytes.byteLength - 1 : lineBytes.byteLength;
94
+ }
95
+ __name(jsonPayloadByteLength, "jsonPayloadByteLength");
96
+ function callHook(hook, bytes) {
97
+ try {
98
+ hook?.(bytes);
99
+ } catch {
100
+ }
101
+ }
102
+ __name(callHook, "callHook");
103
+
104
+ export {
105
+ ndJsonStream
106
+ };
107
+ /**
108
+ * @license
109
+ * Copyright 2026 Qwen Team
110
+ * SPDX-License-Identifier: Apache-2.0
111
+ */
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-KHDZHZMH.js";
6
6
  import {
7
7
  getCliVersion
8
- } from "./chunk-RSBQS6M4.js";
8
+ } from "./chunk-CODWJXQA.js";
9
9
  import {
10
10
  IdeClient
11
- } from "./chunk-6QTCOQX7.js";
11
+ } from "./chunk-WOG7QWIT.js";
12
12
  import {
13
13
  createDebugLogger
14
- } from "./chunk-AVQDCKNF.js";
14
+ } from "./chunk-22MNNNXE.js";
15
15
  import {
16
16
  init_esbuild_shims
17
17
  } from "./chunk-A4BMJM77.js";
@@ -27,7 +27,7 @@ import { execFile } from "node:child_process";
27
27
 
28
28
  // packages/cli/src/generated/git-commit.ts
29
29
  init_esbuild_shims();
30
- var GIT_COMMIT_INFO = "834e020e1";
30
+ var GIT_COMMIT_INFO = "0e58482d6";
31
31
 
32
32
  // packages/cli/src/utils/systemInfo.ts
33
33
  var debugLogger = createDebugLogger("STATUS");
@@ -2,17 +2,20 @@
2
2
  "use strict";
3
3
  import {
4
4
  mapSkillConfigToStatus
5
- } from "./chunk-CXBG27SF.js";
5
+ } from "./chunk-6IAWPIQ6.js";
6
+ import {
7
+ loadSettings
8
+ } from "./chunk-NLD2WKE3.js";
6
9
  import {
7
10
  STATUS_SCHEMA_VERSION
8
- } from "./chunk-LHMZCIKL.js";
11
+ } from "./chunk-FUW7YGJU.js";
9
12
  import {
10
13
  writeStderrLine
11
14
  } from "./chunk-Y6Z2O3WR.js";
12
15
  import {
13
16
  SkillManager,
14
17
  isSafeModeEnv
15
- } from "./chunk-6QTCOQX7.js";
18
+ } from "./chunk-WOG7QWIT.js";
16
19
  import {
17
20
  init_esbuild_shims
18
21
  } from "./chunk-A4BMJM77.js";
@@ -47,12 +50,13 @@ async function buildWorkspaceSkillsStatus(workspaceCwd, managers) {
47
50
  skillManager = new SkillManager(shim);
48
51
  managers.set(workspaceCwd, skillManager);
49
52
  }
53
+ const disabled = readDisabledSkillNames(workspaceCwd);
50
54
  const skills = await skillManager.listSkills();
51
55
  return {
52
56
  v: STATUS_SCHEMA_VERSION,
53
57
  workspaceCwd,
54
58
  initialized: true,
55
- skills: skills.map(mapSkillConfigToStatus)
59
+ skills: skills.map((skill) => mapSkillConfigToStatus(skill, disabled))
56
60
  };
57
61
  } catch (error) {
58
62
  const message = error instanceof Error ? error.message : String(error);
@@ -75,6 +79,14 @@ async function buildWorkspaceSkillsStatus(workspaceCwd, managers) {
75
79
  }
76
80
  }
77
81
  __name(buildWorkspaceSkillsStatus, "buildWorkspaceSkillsStatus");
82
+ function readDisabledSkillNames(workspaceCwd) {
83
+ const raw = loadSettings(workspaceCwd, false).merged.skills?.disabled;
84
+ if (!Array.isArray(raw)) return /* @__PURE__ */ new Set();
85
+ return new Set(
86
+ raw.filter((name) => typeof name === "string").map((name) => name.trim().toLowerCase()).filter(Boolean)
87
+ );
88
+ }
89
+ __name(readDisabledSkillNames, "readDisabledSkillNames");
78
90
 
79
91
  export {
80
92
  createWorkspaceSkillsStatusProvider
@@ -3,17 +3,17 @@
3
3
  import {
4
4
  getTasksDir,
5
5
  require_proper_lockfile
6
- } from "./chunk-LKWAVAB5.js";
6
+ } from "./chunk-X2XNQQJI.js";
7
7
  import {
8
8
  Mutex
9
9
  } from "./chunk-OMX7CUOE.js";
10
10
  import {
11
11
  atomicWriteJSON
12
- } from "./chunk-T42ACHFI.js";
12
+ } from "./chunk-7LTB54MK.js";
13
13
  import {
14
14
  createDebugLogger,
15
15
  isNodeError
16
- } from "./chunk-AVQDCKNF.js";
16
+ } from "./chunk-22MNNNXE.js";
17
17
  import {
18
18
  init_esbuild_shims
19
19
  } from "./chunk-A4BMJM77.js";
@@ -5,7 +5,7 @@ import {
5
5
  Storage,
6
6
  resolvePath,
7
7
  sanitizeCwd
8
- } from "./chunk-AVQDCKNF.js";
8
+ } from "./chunk-22MNNNXE.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-A4BMJM77.js";
@@ -7,6 +7,66 @@ import {
7
7
  __name
8
8
  } from "./chunk-J2S4EL5Y.js";
9
9
 
10
+ // packages/cli/src/utils/envVarResolver.ts
11
+ init_esbuild_shims();
12
+ function resolveEnvVarsInString(value, customEnv) {
13
+ const envVarRegex = /\$(?:(\w+)|{([^}]+)})/g;
14
+ return value.replace(envVarRegex, (match, varName1, varName2) => {
15
+ const varName = varName1 || varName2;
16
+ if (customEnv && typeof customEnv[varName] === "string") {
17
+ return customEnv[varName];
18
+ }
19
+ if (process && process.env && typeof process.env[varName] === "string") {
20
+ return process.env[varName];
21
+ }
22
+ return match;
23
+ });
24
+ }
25
+ __name(resolveEnvVarsInString, "resolveEnvVarsInString");
26
+ function resolveEnvVarsInObject(obj, customEnv) {
27
+ return resolveEnvVarsInObjectInternal(obj, /* @__PURE__ */ new WeakSet(), customEnv);
28
+ }
29
+ __name(resolveEnvVarsInObject, "resolveEnvVarsInObject");
30
+ function resolveEnvVarsInObjectInternal(obj, visited, customEnv) {
31
+ if (obj === null || obj === void 0 || typeof obj === "boolean" || typeof obj === "number") {
32
+ return obj;
33
+ }
34
+ if (typeof obj === "string") {
35
+ return resolveEnvVarsInString(obj, customEnv);
36
+ }
37
+ if (Array.isArray(obj)) {
38
+ if (visited.has(obj)) {
39
+ return [...obj];
40
+ }
41
+ visited.add(obj);
42
+ const result = obj.map(
43
+ (item) => resolveEnvVarsInObjectInternal(item, visited, customEnv)
44
+ );
45
+ visited.delete(obj);
46
+ return result;
47
+ }
48
+ if (typeof obj === "object") {
49
+ if (visited.has(obj)) {
50
+ return { ...obj };
51
+ }
52
+ visited.add(obj);
53
+ const newObj = { ...obj };
54
+ for (const key in newObj) {
55
+ if (Object.prototype.hasOwnProperty.call(newObj, key)) {
56
+ newObj[key] = resolveEnvVarsInObjectInternal(
57
+ newObj[key],
58
+ visited,
59
+ customEnv
60
+ );
61
+ }
62
+ }
63
+ visited.delete(obj);
64
+ return newObj;
65
+ }
66
+ return obj;
67
+ }
68
+ __name(resolveEnvVarsInObjectInternal, "resolveEnvVarsInObjectInternal");
69
+
10
70
  // packages/cli/src/config/migration/versions/v1-to-v2-shared.ts
11
71
  init_esbuild_shims();
12
72
  var V1_TO_V2_MIGRATION_MAP = {
@@ -243,67 +303,8 @@ function getSystemDefaultsPath() {
243
303
  }
244
304
  __name(getSystemDefaultsPath, "getSystemDefaultsPath");
245
305
 
246
- // packages/cli/src/utils/envVarResolver.ts
247
- init_esbuild_shims();
248
- function resolveEnvVarsInString(value, customEnv) {
249
- const envVarRegex = /\$(?:(\w+)|{([^}]+)})/g;
250
- return value.replace(envVarRegex, (match, varName1, varName2) => {
251
- const varName = varName1 || varName2;
252
- if (customEnv && typeof customEnv[varName] === "string") {
253
- return customEnv[varName];
254
- }
255
- if (process && process.env && typeof process.env[varName] === "string") {
256
- return process.env[varName];
257
- }
258
- return match;
259
- });
260
- }
261
- __name(resolveEnvVarsInString, "resolveEnvVarsInString");
262
- function resolveEnvVarsInObject(obj, customEnv) {
263
- return resolveEnvVarsInObjectInternal(obj, /* @__PURE__ */ new WeakSet(), customEnv);
264
- }
265
- __name(resolveEnvVarsInObject, "resolveEnvVarsInObject");
266
- function resolveEnvVarsInObjectInternal(obj, visited, customEnv) {
267
- if (obj === null || obj === void 0 || typeof obj === "boolean" || typeof obj === "number") {
268
- return obj;
269
- }
270
- if (typeof obj === "string") {
271
- return resolveEnvVarsInString(obj, customEnv);
272
- }
273
- if (Array.isArray(obj)) {
274
- if (visited.has(obj)) {
275
- return [...obj];
276
- }
277
- visited.add(obj);
278
- const result = obj.map(
279
- (item) => resolveEnvVarsInObjectInternal(item, visited, customEnv)
280
- );
281
- visited.delete(obj);
282
- return result;
283
- }
284
- if (typeof obj === "object") {
285
- if (visited.has(obj)) {
286
- return { ...obj };
287
- }
288
- visited.add(obj);
289
- const newObj = { ...obj };
290
- for (const key in newObj) {
291
- if (Object.prototype.hasOwnProperty.call(newObj, key)) {
292
- newObj[key] = resolveEnvVarsInObjectInternal(
293
- newObj[key],
294
- visited,
295
- customEnv
296
- );
297
- }
298
- }
299
- visited.delete(obj);
300
- return newObj;
301
- }
302
- return obj;
303
- }
304
- __name(resolveEnvVarsInObjectInternal, "resolveEnvVarsInObjectInternal");
305
-
306
306
  export {
307
+ resolveEnvVarsInObject,
307
308
  V1_TO_V2_MIGRATION_MAP,
308
309
  V2_CONTAINER_KEYS,
309
310
  V1_TO_V2_PRESERVE_DISABLE_MAP,
@@ -318,8 +319,7 @@ export {
318
319
  resolveConfigPathLite,
319
320
  getGlobalQwenDirLite,
320
321
  getSystemSettingsPath,
321
- getSystemDefaultsPath,
322
- resolveEnvVarsInObject
322
+ getSystemDefaultsPath
323
323
  };
324
324
  /**
325
325
  * @license
@@ -6,16 +6,16 @@ import {
6
6
  import {
7
7
  JsonFormatter,
8
8
  parseAndFormatApiError
9
- } from "./chunk-6QTCOQX7.js";
9
+ } from "./chunk-WOG7QWIT.js";
10
10
  import {
11
11
  FatalBudgetExceededError,
12
12
  FatalCancellationError,
13
13
  FatalTurnLimitedError,
14
14
  createDebugLogger
15
- } from "./chunk-AVQDCKNF.js";
15
+ } from "./chunk-22MNNNXE.js";
16
16
  import {
17
17
  runExitCleanup
18
- } from "./chunk-2YH27UNF.js";
18
+ } from "./chunk-QLBBV7C6.js";
19
19
  import {
20
20
  init_esbuild_shims
21
21
  } from "./chunk-A4BMJM77.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-AVQDCKNF.js";
5
+ } from "./chunk-22MNNNXE.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -4,7 +4,7 @@ import {
4
4
  ClientSideConnection,
5
5
  PROTOCOL_VERSION,
6
6
  ndJsonStream
7
- } from "./chunk-UFC57OYT.js";
7
+ } from "./chunk-VRDMOSQS.js";
8
8
  import {
9
9
  init_esbuild_shims
10
10
  } from "./chunk-A4BMJM77.js";
@@ -9,11 +9,12 @@ import {
9
9
 
10
10
  // packages/cli/src/serve/workspace-skills-mapping.ts
11
11
  init_esbuild_shims();
12
- function mapSkillConfigToStatus(skill) {
12
+ function mapSkillConfigToStatus(skill, disabledSkillNames = /* @__PURE__ */ new Set()) {
13
+ const userDisabled = disabledSkillNames.has(skill.name.toLowerCase());
13
14
  const modelInvocable = skill.disableModelInvocation !== true;
14
15
  return {
15
16
  kind: "skill",
16
- status: modelInvocable ? "ok" : "disabled",
17
+ status: userDisabled ? "disabled" : "ok",
17
18
  name: skill.name,
18
19
  description: skill.description,
19
20
  level: skill.level,
@@ -3,24 +3,24 @@
3
3
  import {
4
4
  AUTO_THEME_NAME,
5
5
  themeManager
6
- } from "./chunk-HTWHAN44.js";
6
+ } from "./chunk-PC4ZXHU2.js";
7
7
  import {
8
8
  initializeI18n,
9
9
  resolveLanguageSetting,
10
10
  t
11
- } from "./chunk-DM4E337C.js";
11
+ } from "./chunk-WNTS5A2R.js";
12
12
  import {
13
13
  IdeClient
14
- } from "./chunk-6QTCOQX7.js";
14
+ } from "./chunk-WOG7QWIT.js";
15
15
  import {
16
16
  AuthEvent,
17
17
  IdeConnectionEvent,
18
18
  logAuth,
19
19
  logIdeConnection
20
- } from "./chunk-CHY5C5T4.js";
20
+ } from "./chunk-SJ2CTIYH.js";
21
21
  import {
22
22
  getErrorMessage
23
- } from "./chunk-AVQDCKNF.js";
23
+ } from "./chunk-22MNNNXE.js";
24
24
  import {
25
25
  init_esbuild_shims
26
26
  } from "./chunk-A4BMJM77.js";
@@ -22,7 +22,7 @@ function errorCodeFromRecord(record) {
22
22
  return void 0;
23
23
  }
24
24
  __name(errorCodeFromRecord, "errorCodeFromRecord");
25
- function extractRememberErrorCode(err) {
25
+ function extractRememberErrorCode(err, fallback = "remember_failed") {
26
26
  if (err && typeof err === "object") {
27
27
  const record = err;
28
28
  const direct = errorCodeFromRecord(record);
@@ -33,7 +33,7 @@ function extractRememberErrorCode(err) {
33
33
  if (causedBy) return causedBy;
34
34
  }
35
35
  }
36
- return "remember_failed";
36
+ return fallback;
37
37
  }
38
38
  __name(extractRememberErrorCode, "extractRememberErrorCode");
39
39
 
@@ -41,6 +41,17 @@ __name(extractRememberErrorCode, "extractRememberErrorCode");
41
41
  init_esbuild_shims();
42
42
  var MAX_REMEMBER_CONTENT_BYTES = 64 * 1024;
43
43
 
44
+ // packages/cli/src/serve/workspace-memory-summaries.ts
45
+ init_esbuild_shims();
46
+ function formatWorkspaceMemoryForgetSummary(removedEntryCount) {
47
+ return removedEntryCount > 0 ? `Forgot ${removedEntryCount} memory entr${removedEntryCount === 1 ? "y" : "ies"}.` : "No managed auto-memory entries matched.";
48
+ }
49
+ __name(formatWorkspaceMemoryForgetSummary, "formatWorkspaceMemoryForgetSummary");
50
+ function formatWorkspaceMemoryDreamSummary(touchedTopicCount) {
51
+ return touchedTopicCount > 0 ? "Managed auto-memory dream completed." : "No managed auto-memory topics changed.";
52
+ }
53
+ __name(formatWorkspaceMemoryDreamSummary, "formatWorkspaceMemoryDreamSummary");
54
+
44
55
  // packages/cli/src/serve/validate-server-name.ts
45
56
  init_esbuild_shims();
46
57
  var VALID_SERVER_NAME = /^[A-Za-z0-9_-]+$/;
@@ -57,6 +68,8 @@ __name(isValidServerName, "isValidServerName");
57
68
  export {
58
69
  extractRememberErrorCode,
59
70
  MAX_REMEMBER_CONTENT_BYTES,
71
+ formatWorkspaceMemoryForgetSummary,
72
+ formatWorkspaceMemoryDreamSummary,
60
73
  isValidServerName
61
74
  };
62
75
  /**
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-7RYW5LQV.js";
12
12
  import {
13
13
  CLIENT_MCP_OVER_WS_CONFIG_FLAG
14
- } from "./chunk-EWALXUAD.js";
14
+ } from "./chunk-AGHU5VRK.js";
15
15
  import {
16
16
  MAX_WORKSPACE_PATH_LENGTH
17
17
  } from "./chunk-SEZC2725.js";
@@ -16429,6 +16429,7 @@ var SERVE_CAPABILITY_REGISTRY = {
16429
16429
  session_prompt: { since: "v1" },
16430
16430
  session_cancel: { since: "v1" },
16431
16431
  session_events: { since: "v1" },
16432
+ session_artifacts: { since: "v1" },
16432
16433
  // Daemon emits `slow_client_warning` synthetic frames at 75% queue
16433
16434
  // fill and honors `?maxQueued=N` (range [16, 2048]) on
16434
16435
  // `GET /session/:id/events`. Old daemons silently lack both — SDK
@@ -16456,6 +16457,8 @@ var SERVE_CAPABILITY_REGISTRY = {
16456
16457
  since: "v1",
16457
16458
  modes: ["workspace", "clean"]
16458
16459
  },
16460
+ workspace_memory_forget: { since: "v1" },
16461
+ workspace_memory_dream: { since: "v1" },
16459
16462
  // Workspace agents CRUD (`GET/POST /workspace/agents` +
16460
16463
  // `GET/POST/DELETE /workspace/agents/:agentType`). Wraps
16461
16464
  // `SubagentManager` over HTTP so remote clients can list / read /
@@ -16475,6 +16478,7 @@ var SERVE_CAPABILITY_REGISTRY = {
16475
16478
  session_close: { since: "v1" },
16476
16479
  session_archive: { since: "v1" },
16477
16480
  session_metadata: { since: "v1" },
16481
+ session_export: { since: "v1" },
16478
16482
  // Daemon supports the MCP client guardrail surface: an in-process
16479
16483
  // counter exposed on `GET /workspace/mcp`, a `--mcp-client-budget=N`
16480
16484
  // flag with `--mcp-budget-mode={enforce, warn, off}`, and a
@@ -17200,6 +17204,7 @@ function parseDaemonStatusDetail(raw) {
17200
17204
  __name(parseDaemonStatusDetail, "parseDaemonStatusDetail");
17201
17205
  async function buildDaemonStatusResponse(detail, input) {
17202
17206
  const bridgeSnapshot = input.bridge.getDaemonStatusSnapshot();
17207
+ const lastActivity = input.bridge.lastActivityAt ?? null;
17203
17208
  const acpSnapshot = input.acpHandle?.registry.getSnapshot();
17204
17209
  const rateLimitHits = input.rateLimiter?.getHitCounts() ?? zeroRateHits();
17205
17210
  const channelWorker = input.getChannelWorkerSnapshot?.() ?? {
@@ -17284,6 +17289,12 @@ async function buildDaemonStatusResponse(detail, input) {
17284
17289
  enabled: input.opts.rateLimit === true,
17285
17290
  rejectedSinceStart: rateLimitHits
17286
17291
  },
17292
+ ...input.getPerfSnapshot ? { perf: input.getPerfSnapshot() } : {},
17293
+ activity: {
17294
+ activePrompts: input.bridge.activePromptCount ?? 0,
17295
+ lastActivityAt: lastActivity !== null ? new Date(lastActivity).toISOString() : null,
17296
+ idleSinceMs: lastActivity !== null ? Date.now() - lastActivity : null
17297
+ },
17287
17298
  process: process.memoryUsage()
17288
17299
  },
17289
17300
  ...full ? { full } : {}
@@ -17547,9 +17558,31 @@ function summarizeStatusData(data) {
17547
17558
  summary[`${key}Count`] = value.length;
17548
17559
  }
17549
17560
  }
17561
+ summarizeMcpServers(data, summary);
17550
17562
  return summary;
17551
17563
  }
17552
17564
  __name(summarizeStatusData, "summarizeStatusData");
17565
+ function summarizeMcpServers(data, summary) {
17566
+ const servers = data["servers"];
17567
+ if (!Array.isArray(servers)) return;
17568
+ let connected = 0;
17569
+ let errored = 0;
17570
+ let disabled = 0;
17571
+ for (const server of servers) {
17572
+ if (!isRecord(server)) continue;
17573
+ if (server["disabled"] === true) {
17574
+ disabled++;
17575
+ } else if (server["status"] === "error") {
17576
+ errored++;
17577
+ } else if (server["mcpStatus"] === "connected") {
17578
+ connected++;
17579
+ }
17580
+ }
17581
+ summary["serversConnected"] = connected;
17582
+ summary["serversErrored"] = errored;
17583
+ summary["serversDisabled"] = disabled;
17584
+ }
17585
+ __name(summarizeMcpServers, "summarizeMcpServers");
17553
17586
  function collectStatuses(data) {
17554
17587
  const statuses = [];
17555
17588
  visitStatusContainers(data, (record) => {
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  createDebugLogger,
5
5
  isNodeError
6
- } from "./chunk-AVQDCKNF.js";
6
+ } from "./chunk-22MNNNXE.js";
7
7
  import {
8
8
  init_esbuild_shims
9
9
  } from "./chunk-A4BMJM77.js";