@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
@@ -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
+ */
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  JsonFormatter,
8
8
  parseAndFormatApiError
9
- } from "./chunk-6QTCOQX7.js";
9
+ } from "./chunk-B5ZACOMA.js";
10
10
  import {
11
11
  FatalBudgetExceededError,
12
12
  FatalCancellationError,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-AVQDCKNF.js";
16
16
  import {
17
17
  runExitCleanup
18
- } from "./chunk-2YH27UNF.js";
18
+ } from "./chunk-4YXBDLX7.js";
19
19
  import {
20
20
  init_esbuild_shims
21
21
  } from "./chunk-A4BMJM77.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  Colors,
5
5
  RowMouseController
6
- } from "./chunk-NDY7OENU.js";
6
+ } from "./chunk-N3QDCSLP.js";
7
7
  import {
8
8
  theme
9
9
  } from "./chunk-VXGPYF7U.js";
@@ -11,18 +11,18 @@ import {
11
11
  Box_default,
12
12
  Text,
13
13
  require_jsx_runtime
14
- } from "./chunk-XKZXGIRM.js";
14
+ } from "./chunk-HNGXPBWR.js";
15
15
  import {
16
16
  require_react
17
17
  } from "./chunk-KYMBIKIW.js";
18
18
  import {
19
19
  t
20
- } from "./chunk-DM4E337C.js";
20
+ } from "./chunk-X3UQVEBR.js";
21
21
  import {
22
22
  readManyFiles,
23
23
  shouldRunVisionBridge,
24
24
  stripTerminalControlSequences
25
- } from "./chunk-6QTCOQX7.js";
25
+ } from "./chunk-B5ZACOMA.js";
26
26
  import {
27
27
  emptyMcpResourceText,
28
28
  formatMcpResourceContents,
@@ -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
@@ -8,16 +8,16 @@ import {
8
8
  initializeI18n,
9
9
  resolveLanguageSetting,
10
10
  t
11
- } from "./chunk-DM4E337C.js";
11
+ } from "./chunk-X3UQVEBR.js";
12
12
  import {
13
13
  IdeClient
14
- } from "./chunk-6QTCOQX7.js";
14
+ } from "./chunk-B5ZACOMA.js";
15
15
  import {
16
16
  AuthEvent,
17
17
  IdeConnectionEvent,
18
18
  logAuth,
19
19
  logIdeConnection
20
- } from "./chunk-CHY5C5T4.js";
20
+ } from "./chunk-TDMIHT6B.js";
21
21
  import {
22
22
  getErrorMessage
23
23
  } from "./chunk-AVQDCKNF.js";
@@ -60,7 +60,7 @@ async function runExitCleanup(options = {}) {
60
60
  }
61
61
  __name(runExitCleanup, "runExitCleanup");
62
62
  async function cleanupCheckpoints() {
63
- const { Storage } = await import("./src-T5A7P7FS.js");
63
+ const { Storage } = await import("./src-IYODJOVK.js");
64
64
  const storage = new Storage(process.cwd());
65
65
  const tempDir = storage.getProjectTempDir();
66
66
  const checkpointsDir = join(tempDir, "checkpoints");
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  parseRule
5
- } from "./chunk-6QTCOQX7.js";
5
+ } from "./chunk-B5ZACOMA.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-OFEVLU4C.js";
6
6
  import {
7
7
  SchemaValidator
8
- } from "./chunk-MTNTVOJR.js";
8
+ } from "./chunk-MJKMIQMK.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-A4BMJM77.js";
@@ -7,25 +7,25 @@ import {
7
7
  require_jsx_runtime,
8
8
  use_stdin_default,
9
9
  use_stdout_default
10
- } from "./chunk-XKZXGIRM.js";
10
+ } from "./chunk-HNGXPBWR.js";
11
11
  import {
12
12
  require_react
13
13
  } from "./chunk-KYMBIKIW.js";
14
14
  import {
15
15
  sanitizeFilenameForDisplay
16
- } from "./chunk-2CAII5HD.js";
16
+ } from "./chunk-MWGIMAYM.js";
17
17
  import {
18
18
  t
19
- } from "./chunk-DM4E337C.js";
19
+ } from "./chunk-X3UQVEBR.js";
20
20
  import {
21
21
  fetchGitDiff,
22
22
  findProviderByCredentials,
23
23
  resolveMetadataKey
24
- } from "./chunk-6QTCOQX7.js";
24
+ } from "./chunk-B5ZACOMA.js";
25
25
  import {
26
26
  KittySequenceOverflowEvent,
27
27
  logKittySequenceOverflow
28
- } from "./chunk-CHY5C5T4.js";
28
+ } from "./chunk-TDMIHT6B.js";
29
29
  import {
30
30
  createDebugLogger
31
31
  } from "./chunk-AVQDCKNF.js";
@@ -6,7 +6,7 @@ import {
6
6
  getLanguageNameFromLocale,
7
7
  getLanguageSettingsOptions,
8
8
  t
9
- } from "./chunk-DM4E337C.js";
9
+ } from "./chunk-X3UQVEBR.js";
10
10
  import {
11
11
  DEFAULT_DARK_THEME_NAME,
12
12
  DEFAULT_LIGHT_THEME_NAME
@@ -25,22 +25,23 @@ import {
25
25
  getSystemDefaultsPath,
26
26
  getSystemSettingsPath,
27
27
  resolveEnvVarsInObject
28
- } from "./chunk-PPFWEV7G.js";
28
+ } from "./chunk-4RQIB5UZ.js";
29
29
  import {
30
30
  isWorkspaceTrusted,
31
31
  updateSettingsFilePreservingFormat
32
- } from "./chunk-Z7XNVNPM.js";
32
+ } from "./chunk-EMSRFDBD.js";
33
33
  import {
34
34
  require_strip_json_comments
35
35
  } from "./chunk-QYUE6W3T.js";
36
36
  import {
37
+ DEFAULT_MAX_SUBAGENT_DEPTH,
37
38
  DEFAULT_STOP_HOOK_BLOCK_CAP,
38
39
  DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
39
40
  DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,
40
41
  DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
41
42
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
42
43
  stripRuntimeSnapshotPrefix
43
- } from "./chunk-6QTCOQX7.js";
44
+ } from "./chunk-B5ZACOMA.js";
44
45
  import {
45
46
  require_main
46
47
  } from "./chunk-SKAZWEV5.js";
@@ -50,7 +51,7 @@ import {
50
51
  import {
51
52
  DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
52
53
  SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT
53
- } from "./chunk-CHY5C5T4.js";
54
+ } from "./chunk-TDMIHT6B.js";
54
55
  import {
55
56
  FatalConfigError,
56
57
  QWEN_DIR,
@@ -1170,6 +1171,15 @@ var SETTINGS_SCHEMA = {
1170
1171
  description: 'Cumulative tool-call budget for a run (counts every executed tool, success or failure; structured_output under --json-schema is exempt). -1 means unlimited; 0 means "no tool calls allowed" (first call aborts). Capped at 1,000,000 to catch typos. Overridable via --max-tool-calls.',
1171
1172
  showInDialog: false
1172
1173
  },
1174
+ maxSubagentDepth: {
1175
+ type: "number",
1176
+ label: "Max Sub-agent Nesting Depth",
1177
+ category: "Model",
1178
+ requiresRestart: false,
1179
+ default: DEFAULT_MAX_SUBAGENT_DEPTH,
1180
+ description: "Maximum sub-agent nesting depth (1-based levels: a top-level sub-agent is level 1). 1 keeps sub-agents available but disables nesting; the default 5 allows nesting up to five levels deep. Values clamp to the range 1-100; non-finite values fall back to the default. Teammates, forks, and workflow-spawned agents never nest regardless of this setting. Overridable via --max-subagent-depth.",
1181
+ showInDialog: false
1182
+ },
1173
1183
  chatCompression: {
1174
1184
  type: "object",
1175
1185
  label: "Chat Compression",
@@ -2623,6 +2633,22 @@ var SETTINGS_SCHEMA = {
2623
2633
  description: "Enable in-session cron/loop tools. When enabled, the model can create recurring prompts using cron_create, cron_list, and cron_delete tools. Can be disabled via QWEN_CODE_DISABLE_CRON=1 environment variable.",
2624
2634
  showInDialog: true
2625
2635
  },
2636
+ cronRecurringMaxAgeDays: {
2637
+ type: "number",
2638
+ label: "Recurring Cron Max Age (Days)",
2639
+ category: "Experimental",
2640
+ requiresRestart: true,
2641
+ default: 7,
2642
+ description: "Days a recurring cron/loop job lives before auto-expiring (it fires one final time, then is deleted). Set to 0 to disable expiry so jobs run until deleted \u2014 useful for long-running daemon deployments. Can be overridden via the QWEN_CODE_CRON_MAX_AGE_DAYS environment variable.",
2643
+ // A deployment-time knob (cloud daemons, containers), not a common
2644
+ // interactive preference.
2645
+ showInDialog: false,
2646
+ jsonSchemaOverride: {
2647
+ type: "number",
2648
+ minimum: 0,
2649
+ default: 7
2650
+ }
2651
+ },
2626
2652
  agentTeam: {
2627
2653
  type: "boolean",
2628
2654
  label: "Enable Agent Team",
@@ -2638,7 +2664,7 @@ var SETTINGS_SCHEMA = {
2638
2664
  category: "Experimental",
2639
2665
  requiresRestart: true,
2640
2666
  default: false,
2641
- description: "Enable the Artifact tool (experimental). When enabled, the model can publish a self-contained HTML page as an interactive Artifact and open it in the browser. Interactive, non-SDK sessions only. Can also be enabled via QWEN_CODE_ENABLE_ARTIFACT=1, or hard-disabled via QWEN_CODE_DISABLE_ARTIFACT=1.",
2667
+ description: "Enable the Artifact tool (experimental). When enabled, the model can publish a self-contained HTML page as an interactive Artifact and open it in the browser. Interactive, non-SDK sessions only. QWEN_CODE_ENABLE_ARTIFACT=1 enables the metadata-only record_artifact tool for non-SDK daemon sessions, and also enables the Artifact tool in interactive sessions. QWEN_CODE_DISABLE_ARTIFACT=1 hard-disables both.",
2642
2668
  showInDialog: true
2643
2669
  },
2644
2670
  emitToolUseSummaries: {
@@ -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,
@@ -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
  /**
@@ -7,14 +7,14 @@ import {
7
7
  Box_default,
8
8
  Text,
9
9
  require_jsx_runtime
10
- } from "./chunk-XKZXGIRM.js";
10
+ } from "./chunk-HNGXPBWR.js";
11
11
  import {
12
12
  require_react
13
13
  } from "./chunk-KYMBIKIW.js";
14
14
  import {
15
15
  stringWidth,
16
16
  toCodePoints
17
- } from "./chunk-2CAII5HD.js";
17
+ } from "./chunk-MWGIMAYM.js";
18
18
  import {
19
19
  createDebugLogger
20
20
  } from "./chunk-AVQDCKNF.js";
@@ -6,23 +6,23 @@ import {
6
6
  parseAcpBaseModelId,
7
7
  resolveCliGenerationConfig,
8
8
  sanitizeProviderBaseUrl
9
- } from "./chunk-K4I4STSL.js";
10
- import {
11
- STATUS_SCHEMA_VERSION
12
- } from "./chunk-LHMZCIKL.js";
9
+ } from "./chunk-XPOO5OMB.js";
13
10
  import {
14
11
  loadSettings
15
- } from "./chunk-BC4R5C5R.js";
12
+ } from "./chunk-5WYLPENX.js";
13
+ import {
14
+ STATUS_SCHEMA_VERSION
15
+ } from "./chunk-SZFYG244.js";
16
16
  import {
17
17
  ModelsConfig,
18
18
  resolveProviderProtocol
19
- } from "./chunk-6QTCOQX7.js";
19
+ } from "./chunk-B5ZACOMA.js";
20
20
  import {
21
21
  APPROVAL_MODES
22
- } from "./chunk-BPFJQGY7.js";
22
+ } from "./chunk-LM3YCCZJ.js";
23
23
  import {
24
24
  tokenLimit
25
- } from "./chunk-YTFBURQD.js";
25
+ } from "./chunk-KYTQOCDE.js";
26
26
  import {
27
27
  createDebugLogger
28
28
  } from "./chunk-AVQDCKNF.js";
@@ -72,6 +72,7 @@ function buildWorkspaceProvidersStatus(workspaceCwd, acpChannelLive, options) {
72
72
  const currentAcpModelId = hasCurrentModel && currentAuth ? formatAcpModelId(currentModelId, currentAuth) : currentModelId || void 0;
73
73
  const currentBaseUrl = resolvedCliConfig.sources["baseUrl"] ? resolvedCliConfig.baseUrl || void 0 : void 0;
74
74
  const fastModelId = typeof settings.fastModel === "string" && settings.fastModel.length > 0 ? settings.fastModel : void 0;
75
+ const visionModelId = typeof settings.visionModel === "string" && settings.visionModel.length > 0 ? settings.visionModel : void 0;
75
76
  const approvalMode = resolveApprovalMode(settings);
76
77
  const providers = /* @__PURE__ */ new Map();
77
78
  const explicitModelBaseUrls = buildExplicitModelBaseUrls(
@@ -120,7 +121,8 @@ function buildWorkspaceProvidersStatus(workspaceCwd, acpChannelLive, options) {
120
121
  currentAuth,
121
122
  currentAcpModelId,
122
123
  currentBaseUrl,
123
- fastModelId
124
+ fastModelId,
125
+ visionModelId
124
126
  );
125
127
  return {
126
128
  v: STATUS_SCHEMA_VERSION,
@@ -274,13 +276,15 @@ function hasCredentialPrefix(segment, markerLength, at) {
274
276
  return !/[/?#\s'"`<>]/.test(username);
275
277
  }
276
278
  __name(hasCredentialPrefix, "hasCredentialPrefix");
277
- function buildCurrent(authType, modelId, baseUrl, fastModelId) {
278
- if (!authType && !modelId && !baseUrl && !fastModelId) return void 0;
279
+ function buildCurrent(authType, modelId, baseUrl, fastModelId, visionModelId) {
280
+ if (!authType && !modelId && !baseUrl && !fastModelId && !visionModelId)
281
+ return void 0;
279
282
  return {
280
283
  ...authType ? { authType: String(authType) } : {},
281
284
  ...modelId ? { modelId } : {},
282
285
  ...baseUrl ? { baseUrl: sanitizeProviderBaseUrl(baseUrl) } : {},
283
- ...fastModelId ? { fastModelId } : {}
286
+ ...fastModelId ? { fastModelId } : {},
287
+ ...visionModelId ? { visionModelId } : {}
284
288
  };
285
289
  }
286
290
  __name(buildCurrent, "buildCurrent");
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  BaseJsonOutputAdapter
5
- } from "./chunk-J3ERRYYI.js";
5
+ } from "./chunk-AWSTZHHZ.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-A4BMJM77.js";
@@ -2,10 +2,10 @@
2
2
  "use strict";
3
3
  import {
4
4
  functionResponsePartsToString
5
- } from "./chunk-4MCC4XHH.js";
5
+ } from "./chunk-KBKWNEPS.js";
6
6
  import {
7
7
  parseAndFormatApiError
8
- } from "./chunk-6QTCOQX7.js";
8
+ } from "./chunk-B5ZACOMA.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-A4BMJM77.js";