@qwen-code/qwen-code 0.19.10 → 0.19.11-nightly.20260718.767a32484

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 (307) hide show
  1. package/bundled/qc-helper/docs/configuration/model-providers.md +11 -0
  2. package/bundled/qc-helper/docs/configuration/settings.md +15 -14
  3. package/bundled/qc-helper/docs/features/approval-mode.md +2 -2
  4. package/bundled/qc-helper/docs/features/channels/dingtalk.md +30 -0
  5. package/bundled/qc-helper/docs/features/channels/overview.md +66 -17
  6. package/bundled/qc-helper/docs/features/channels/wecom.md +8 -7
  7. package/bundled/qc-helper/docs/features/sandbox.md +2 -0
  8. package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +42 -7
  9. package/bundled/qc-helper/docs/qwen-serve.md +77 -46
  10. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
  11. package/bundled/review/SKILL.md +163 -403
  12. package/chunks/{MaxSizedBox-67ODZ4SZ.js → MaxSizedBox-ZFHA4QEQ.js} +30 -30
  13. package/chunks/{StandaloneSessionPicker-SIPBQT5Z.js → StandaloneSessionPicker-YRWOQVQA.js} +44 -44
  14. package/chunks/{acpAgent-VPZJXLFX.js → acpAgent-U2P2IESZ.js} +1423 -487
  15. package/chunks/{agent-Z7NWL6XL.js → agent-GQXX6X5Y.js} +26 -26
  16. package/chunks/{agent-headless-73HZ6ROQ.js → agent-headless-3572NBCK.js} +26 -26
  17. package/chunks/{anthropicContentGenerator-56U3YCP2.js → anthropicContentGenerator-Y65DMM64.js} +103 -18
  18. package/chunks/{artifact-tool-BWZZJ42H.js → artifact-tool-WR7I2XON.js} +2 -2
  19. package/chunks/{askUserQuestion-WU3S5A5T.js → askUserQuestion-B4FUTPHD.js} +2 -44
  20. package/chunks/{bridge-XFKW6S7Q.js → bridge-N5RMGD7G.js} +31 -33
  21. package/chunks/{ca-C2JTT2N5.js → ca-M3GQQ26D.js} +7 -2
  22. package/chunks/channel-worker-group-HZVJKLGX.js +21 -0
  23. package/chunks/{channel-worker-manager-5RWKSGEU.js → channel-worker-manager-3WDK4HNS.js} +34 -10
  24. package/chunks/{channel-worker-supervisor-PCDAZN4D.js → channel-worker-supervisor-U2W6Q5F7.js} +6 -4
  25. package/chunks/{chunk-YYPXHMWO.js → chunk-2XRGFF5K.js} +6 -6
  26. package/chunks/{chunk-ZKMGAFYV.js → chunk-2YSZE74N.js} +2 -2
  27. package/chunks/{chunk-L5U3ELZX.js → chunk-335ECZTA.js} +1 -1
  28. package/chunks/{chunk-5EBKKSBX.js → chunk-336KPNNV.js} +2 -2
  29. package/chunks/{chunk-Q5GLXH5Q.js → chunk-3CL5SEDT.js} +6 -6
  30. package/chunks/{chunk-2FO5GFKZ.js → chunk-3DJY4IFO.js} +1 -1
  31. package/chunks/{chunk-CJFNEBYB.js → chunk-3NWYQ7FX.js} +2 -2
  32. package/chunks/{chunk-WIASPMLX.js → chunk-3X2CFOUM.js} +358 -298
  33. package/chunks/{chunk-K7CRWKOE.js → chunk-3YJZ6WNY.js} +5812 -4520
  34. package/chunks/{chunk-Y66VOBRP.js → chunk-4CA4WUMS.js} +2 -2
  35. package/chunks/{chunk-LQIDP6K5.js → chunk-4CHDYDG3.js} +1 -1
  36. package/chunks/{chunk-TISZXPAX.js → chunk-4HCYNDMG.js} +1 -1
  37. package/chunks/chunk-4JBTZBCW.js +140 -0
  38. package/chunks/{chunk-TV6K2FB4.js → chunk-4RPARQ5D.js} +2 -2
  39. package/chunks/{chunk-RCEEXIOO.js → chunk-4XCVGEEX.js} +3 -3
  40. package/chunks/{chunk-N6FXRR6P.js → chunk-57RWF6R7.js} +1 -1
  41. package/chunks/chunk-5O34IMY5.js +59 -0
  42. package/chunks/{chunk-5LROA5W4.js → chunk-5QRK2VZG.js} +8 -8
  43. package/chunks/{chunk-7L4XBYVW.js → chunk-632KROVU.js} +10 -3
  44. package/chunks/{chunk-65N2J6V2.js → chunk-64XGKNSI.js} +3 -3
  45. package/chunks/{chunk-P6LART6G.js → chunk-66IT3EY2.js} +1059 -129
  46. package/chunks/{chunk-FXMC7SL2.js → chunk-6ITLKEOZ.js} +3 -3
  47. package/chunks/{chunk-F7NXQH4Y.js → chunk-6YIRYY3P.js} +1 -1
  48. package/chunks/{chunk-GGJII3FM.js → chunk-6Z5NRZVU.js} +92 -3
  49. package/chunks/{chunk-DPFBNG72.js → chunk-AEKYFMYE.js} +1 -1
  50. package/chunks/{chunk-2UUAIFQO.js → chunk-ANRANWVE.js} +9 -1
  51. package/chunks/{chunk-SXU3KKNI.js → chunk-ATJ7H5AS.js} +419 -76
  52. package/chunks/{chunk-6GETGQWP.js → chunk-C5NSOSF4.js} +64 -18
  53. package/chunks/{chunk-TQBODCFD.js → chunk-CMVFTMRD.js} +251 -3
  54. package/chunks/{chunk-DK33QJ3V.js → chunk-CZSAIBUB.js} +733 -14
  55. package/chunks/{chunk-3MX7D6QN.js → chunk-DASWPKXR.js} +32 -4
  56. package/chunks/{chunk-JSJFKYWT.js → chunk-DPSHAB47.js} +2 -2
  57. package/chunks/{chunk-7MJAZMXK.js → chunk-ECZFTRTP.js} +29 -78
  58. package/chunks/{chunk-H3FQOPPS.js → chunk-EKG3BHQY.js} +4 -4
  59. package/chunks/{chunk-FSA7ERJ2.js → chunk-F2RR4HO2.js} +1 -1
  60. package/chunks/{chunk-EQY6POVO.js → chunk-F5XYN5VF.js} +2 -2
  61. package/chunks/chunk-FEOZBUMT.js +77 -0
  62. package/chunks/{chunk-L62SEJWY.js → chunk-FHUXCRAF.js} +4 -4
  63. package/chunks/{chunk-OFEVHGVU.js → chunk-FSJGBUQI.js} +818 -31
  64. package/chunks/{chunk-FBU7WRZI.js → chunk-FUTHTZVV.js} +1 -1
  65. package/chunks/{chunk-ZRKBI3DP.js → chunk-FZRES4GK.js} +1 -1
  66. package/chunks/{chunk-OKAIGAYW.js → chunk-G274ETR6.js} +3 -3
  67. package/chunks/{chunk-6GKMJPOC.js → chunk-GA3WUOO7.js} +5 -5
  68. package/chunks/{chunk-X362TMXZ.js → chunk-GAQOQMHY.js} +8 -6
  69. package/chunks/{chunk-WLXYAKV7.js → chunk-GG6RSNWS.js} +9 -4
  70. package/chunks/{chunk-CEW4HDPK.js → chunk-GUNTLALV.js} +2484 -362
  71. package/chunks/{chunk-LXLTBIDP.js → chunk-HCCR43AY.js} +1 -1
  72. package/chunks/{chunk-RDRVMDWV.js → chunk-HIMIG6PI.js} +11 -11
  73. package/chunks/{chunk-MO7O5722.js → chunk-HQXQCIT2.js} +45 -5
  74. package/chunks/{chunk-LTNI523B.js → chunk-HT7L5FCZ.js} +28 -5
  75. package/chunks/{chunk-7NAWTFVY.js → chunk-IENO2YAT.js} +3 -3
  76. package/chunks/{chunk-3XJFUTNM.js → chunk-IK5TYYVR.js} +59 -12
  77. package/chunks/{chunk-AAR5SGMD.js → chunk-IVKLDHU6.js} +7 -5
  78. package/chunks/{chunk-6W6DI34P.js → chunk-IX7O5WI3.js} +180 -8
  79. package/chunks/{chunk-SPJQO2CE.js → chunk-J2MKYJKZ.js} +2 -2
  80. package/chunks/{chunk-SPUYQB4T.js → chunk-JBAQ5BYX.js} +1 -1
  81. package/chunks/{chunk-TYLOFD2U.js → chunk-JCJPZMJV.js} +1 -1
  82. package/chunks/chunk-JDIUK2Y3.js +226 -0
  83. package/chunks/{chunk-L37RC7MQ.js → chunk-JUVTV4NF.js} +1 -1
  84. package/chunks/{chunk-WDWJ4OQJ.js → chunk-K2GBHL73.js} +4 -4
  85. package/chunks/{chunk-HHEFI4RP.js → chunk-KEVDWH3U.js} +857 -137
  86. package/chunks/{chunk-YU56QGXX.js → chunk-KTKETHMY.js} +1 -1
  87. package/chunks/{chunk-WDW64OW3.js → chunk-LGY7PG7Q.js} +5 -5
  88. package/chunks/{chunk-E67NFMF4.js → chunk-LKR7QQ63.js} +37 -3
  89. package/chunks/{chunk-4YWLED2A.js → chunk-LSFVUGXT.js} +9 -6
  90. package/chunks/{chunk-W34A5MJH.js → chunk-LTD3CHGS.js} +1 -1
  91. package/chunks/chunk-LXXMOYPL.js +22 -0
  92. package/chunks/{chunk-BBNVFRGD.js → chunk-MI2V6IWU.js} +1 -1
  93. package/chunks/{chunk-UFOKA4PR.js → chunk-O2K6BLPZ.js} +114 -4
  94. package/chunks/{chunk-B5I2IIWY.js → chunk-OBYAX5QZ.js} +6 -6
  95. package/chunks/{chunk-V7EQTZYR.js → chunk-OCQ2QTFJ.js} +203 -47
  96. package/chunks/{chunk-VBRRNQB7.js → chunk-OPVIKLKK.js} +112 -25
  97. package/chunks/{chunk-2Z5UX4KI.js → chunk-OSSDHJDU.js} +1 -1
  98. package/chunks/{chunk-TTUO4DNG.js → chunk-OXOEOOQU.js} +126 -734
  99. package/chunks/{chunk-4FMG7EDJ.js → chunk-PWYLF7SS.js} +79 -16
  100. package/chunks/chunk-QFEY6OXH.js +45 -0
  101. package/chunks/{chunk-YX4LLZ3D.js → chunk-QPRDXJIC.js} +115 -40
  102. package/chunks/{chunk-7R4DPSRA.js → chunk-R3VWUU2E.js} +1 -1
  103. package/chunks/{chunk-XLIRF7IK.js → chunk-S4N3G4BB.js} +1 -1
  104. package/chunks/{chunk-ARKANCNX.js → chunk-SGPFJMRP.js} +1 -1
  105. package/chunks/{chunk-WTSXKLG5.js → chunk-SUARMD4Q.js} +1 -1
  106. package/chunks/{chunk-PZL23GTM.js → chunk-T3W4SDRB.js} +2 -0
  107. package/chunks/chunk-T4TZQJ7W.js +48 -0
  108. package/chunks/{chunk-K4PZ5F5T.js → chunk-TVYM3Q3J.js} +101 -8
  109. package/chunks/{chunk-4LD5APFL.js → chunk-TYQMGACW.js} +1 -0
  110. package/chunks/{chunk-6OATMEYN.js → chunk-U2LNTX56.js} +12 -4
  111. package/chunks/{chunk-422XAKCK.js → chunk-U2XBPBO3.js} +4 -3
  112. package/chunks/{chunk-LNUXFLLJ.js → chunk-U4FJ26D2.js} +54 -6
  113. package/chunks/{chunk-ZQTZXVHP.js → chunk-U6OPT4H2.js} +4 -18
  114. package/chunks/{chunk-7NFB7LBQ.js → chunk-UE5TZ55T.js} +8 -0
  115. package/chunks/{chunk-CUUXANEQ.js → chunk-URP6O2PP.js} +6 -1
  116. package/chunks/{chunk-GDQQRV43.js → chunk-V2FRLYHN.js} +3 -3
  117. package/chunks/{chunk-WIEO4CWB.js → chunk-VAJS2E2D.js} +1 -1
  118. package/chunks/{chunk-TXY2C3D2.js → chunk-VNN3JNYT.js} +1 -1
  119. package/chunks/{chunk-YHN5SUIJ.js → chunk-W7H223ZZ.js} +1 -1
  120. package/chunks/{chunk-WX6SD4IQ.js → chunk-WEPXQKGP.js} +1 -1
  121. package/chunks/{chunk-KSO42X3Z.js → chunk-X6YQWCIJ.js} +21 -2
  122. package/chunks/{chunk-URU5UEK6.js → chunk-XA7OKDWM.js} +135 -68
  123. package/chunks/{chunk-Q6TUALBE.js → chunk-XAAEDML2.js} +1 -1
  124. package/chunks/{chunk-KKRTYONM.js → chunk-XSPFQQRE.js} +3 -3
  125. package/chunks/{chunk-OATTJGPJ.js → chunk-Y72B36CP.js} +7 -7
  126. package/chunks/{chunk-ZPAHLFZU.js → chunk-Z2LBNX3R.js} +2 -2
  127. package/chunks/{chunk-XXJKGHZV.js → chunk-ZTSDZQZO.js} +131 -4
  128. package/chunks/{computer-use-IYTX45WA.js → computer-use-UIFBH25Y.js} +26 -26
  129. package/chunks/{config-utils-CFT33LTP.js → config-utils-2LHI7JXU.js} +3 -3
  130. package/chunks/{contextCommand-272V77WU.js → contextCommand-VGZHKEH2.js} +28 -28
  131. package/chunks/{create-sub-session-WNX2OQVX.js → create-sub-session-DIJOV6HV.js} +2 -2
  132. package/chunks/{create-sub-session-CBJMQLYP.js → create-sub-session-OFVI4H6I.js} +26 -26
  133. package/chunks/{cron-create-36TIFKRT.js → cron-create-34GVLSW5.js} +4 -4
  134. package/chunks/{cron-delete-OQD3WULU.js → cron-delete-NMVKUL45.js} +4 -4
  135. package/chunks/{cron-list-4533T2FH.js → cron-list-277ZOR7L.js} +4 -4
  136. package/chunks/{daemon-RNGFPMAB.js → daemon-72MEV3TY.js} +361 -84
  137. package/chunks/daemon-status-provider-ZJJ6AOG2.js +75 -0
  138. package/chunks/{de-2VCDRDGU.js → de-56TMDIKS.js} +7 -2
  139. package/chunks/{dist-3V3ZV6ML.js → dist-4W3UGU2A.js} +1 -1
  140. package/chunks/{dist-HNN7DR2L.js → dist-G6QCGO2K.js} +58 -30
  141. package/chunks/{dist-ERCPDVA6.js → dist-ILVRL322.js} +4 -51
  142. package/chunks/{dist-PHEPJLXD.js → dist-KEZ5JWH4.js} +2 -2
  143. package/chunks/{dist-JZE7F6YR.js → dist-LQHDHBPP.js} +1 -1
  144. package/chunks/{dist-MOEC47TR.js → dist-SVHAGOLN.js} +1 -1
  145. package/chunks/{earlyInputCapture-EN4BRREQ.js → earlyInputCapture-NPF4PVUE.js} +27 -27
  146. package/chunks/{edit-OMAF2QDR.js → edit-F7CT6NZH.js} +27 -27
  147. package/chunks/{en-NJCA3TAA.js → en-AXS2N62H.js} +12 -3
  148. package/chunks/{enter-worktree-BBZX52HG.js → enter-worktree-Z4ET3MZL.js} +26 -26
  149. package/chunks/{enterPlanMode-5NNFMBUY.js → enterPlanMode-VYR7T5NX.js} +27 -29
  150. package/chunks/{environment-7TEWMJYN.js → environment-MBTXL57Q.js} +28 -28
  151. package/chunks/{errors-I4VKVX3F.js → errors-HN36J4FR.js} +28 -28
  152. package/chunks/{exit-worktree-FUWRJI33.js → exit-worktree-RU7JYFMF.js} +26 -26
  153. package/chunks/exitPlanMode-LUBAWMZQ.js +390 -0
  154. package/chunks/{fast-path-ZA57TOH4.js → fast-path-RFT3CDNZ.js} +2 -2
  155. package/chunks/{fr-5F3E7WKD.js → fr-ZJPE5OVN.js} +7 -2
  156. package/chunks/{gemini-UOAKVXBG.js → gemini-37NTNKZF.js} +215 -231
  157. package/chunks/{geminiContentGenerator-G6UCE6MW.js → geminiContentGenerator-76HNOYNQ.js} +5 -5
  158. package/chunks/{glob-4GJQ2UFF.js → glob-DWD7JCZE.js} +32 -27
  159. package/chunks/{grep-5QSYXF2E.js → grep-NJRXFV5C.js} +32 -27
  160. package/chunks/{handleAutoUpdate-ULHNWL6R.js → handleAutoUpdate-7GBDXW6U.js} +30 -30
  161. package/chunks/{i18n-CYDUTF6F.js → i18n-MYD5VGED.js} +27 -27
  162. package/chunks/{initializer-NRFKUGIO.js → initializer-4DHPNAZG.js} +32 -32
  163. package/chunks/{installationInfo-WELKRHHE.js → installationInfo-RWOW6BZO.js} +27 -27
  164. package/chunks/{ja-66J6B53L.js → ja-57GG4QSL.js} +7 -2
  165. package/chunks/{keychain-token-storage-AU22CQI6.js → keychain-token-storage-K23CFKGN.js} +2 -2
  166. package/chunks/{list-JVDXEG2E.js → list-MMCNNHE7.js} +34 -34
  167. package/chunks/{loadedSettingsAdapter-WAM4VUTG.js → loadedSettingsAdapter-UK4JWPYU.js} +31 -31
  168. package/chunks/{loop-wakeup-MVUKDVCP.js → loop-wakeup-KCLY4XQM.js} +5 -5
  169. package/chunks/{ls-RXNIAQDE.js → ls-UNI4LAJ3.js} +4 -4
  170. package/chunks/{lsp-HB5LM5IL.js → lsp-HPACPJAN.js} +2 -2
  171. package/chunks/{mcp-YHOZN3ZM.js → mcp-AFCVA4UV.js} +31 -31
  172. package/chunks/{monitor-R7XZPJHQ.js → monitor-RK637BNO.js} +28 -27
  173. package/chunks/nonInteractiveCli-OUGWLHNV.js +129 -0
  174. package/chunks/{notebook-edit-6RNKE2L2.js → notebook-edit-LY2X3CMF.js} +27 -27
  175. package/chunks/{openaiContentGenerator-XNS5S64I.js → openaiContentGenerator-MDYDW7IA.js} +14 -14
  176. package/chunks/{pidfile-XE4RRR2P.js → pidfile-2NUYRLKB.js} +27 -27
  177. package/chunks/processUtils-7QH3VBVN.js +29 -0
  178. package/chunks/{pt-TFZO5Y6T.js → pt-MCGZ3RZ4.js} +7 -2
  179. package/chunks/{qwenContentGenerator-APDPJ3VN.js → qwenContentGenerator-3HT4TVDL.js} +28 -28
  180. package/chunks/{qwenOAuth2-LEYOU7RU.js → qwenOAuth2-3A4TJVZT.js} +5 -5
  181. package/chunks/{read-file-XSUWXSR7.js → read-file-NE4FREFR.js} +10 -10
  182. package/chunks/{read-mcp-resource-6LRTZKXI.js → read-mcp-resource-C6NT52T6.js} +2 -2
  183. package/chunks/{record-artifact-PMDTY4OS.js → record-artifact-ENCU7QCL.js} +2 -2
  184. package/chunks/{ripGrep-APB3CDMU.js → ripGrep-DBLXWQCJ.js} +26 -26
  185. package/chunks/{ru-4L4LFHIT.js → ru-GA3NZW5Q.js} +7 -2
  186. package/chunks/{run-qwen-serve-NWTGPERT.js → run-qwen-serve-3NOCI6IL.js} +63 -39
  187. package/chunks/{runtime-EIO3NQKR.js → runtime-ZI7DSZSS.js} +35 -35
  188. package/chunks/{scheduler-JJDZBDRN.js → scheduler-SOVEP5K7.js} +26 -26
  189. package/chunks/{send-message-SR4WSXP2.js → send-message-5IFPZTPE.js} +3 -3
  190. package/chunks/{serve-WTIPB3EI.js → serve-DB6OCXIA.js} +31 -31
  191. package/chunks/{server-NJPHQHLH.js → server-LDY4YVU4.js} +2257 -648
  192. package/chunks/{session-O4AO7FTS.js → session-D6OG5SKX.js} +99 -72
  193. package/chunks/{settings-HQNDK7TG.js → settings-L52ZV5LO.js} +30 -30
  194. package/chunks/{shell-UIXM6PWG.js → shell-IU27OY3Q.js} +28 -26
  195. package/chunks/{skill-3XMB4ULV.js → skill-BSOJT7LE.js} +12 -12
  196. package/chunks/{spawnChannel-3R632QRM.js → spawnChannel-HQAM25DD.js} +28 -29
  197. package/chunks/{src-USZKPUOC.js → src-7ZBIMTJZ.js} +130 -51
  198. package/chunks/{standalone-update-L5XW3D7K.js → standalone-update-77457VVK.js} +28 -28
  199. package/chunks/{startInteractiveUI-CPZOL2WB.js → startInteractiveUI-S7WC6EZG.js} +2310 -1835
  200. package/chunks/{syntheticOutput-YKFNUQZD.js → syntheticOutput-ULOVVLY4.js} +3 -3
  201. package/chunks/{task-create-NUFOHU53.js → task-create-V2DCDSET.js} +7 -7
  202. package/chunks/{task-list-Z2IKQY3S.js → task-list-DPL5ZN55.js} +5 -5
  203. package/chunks/{task-stop-KQFIVQTJ.js → task-stop-CPEQWOT6.js} +2 -2
  204. package/chunks/{task-update-HKADXSTD.js → task-update-ZR45M5Q7.js} +7 -7
  205. package/chunks/{team-create-XXPRF3IQ.js → team-create-CO7HSUON.js} +26 -26
  206. package/chunks/{team-delete-SDNTGZLG.js → team-delete-HIWXCWJU.js} +5 -5
  207. package/chunks/{team-plan-approval-EOTTKHDW.js → team-plan-approval-QDZF5YZY.js} +26 -26
  208. package/chunks/{theme-manager-P6UITO2L.js → theme-manager-UTUT3I4P.js} +27 -27
  209. package/chunks/todoWrite-HK6B3RHJ.js +358 -0
  210. package/chunks/{tool-search-DDNGK2LR.js → tool-search-2UUORA35.js} +11 -11
  211. package/chunks/{total-session-admission-PL5N7DNY.js → total-session-admission-NTWG6G3F.js} +32 -34
  212. package/chunks/{trustedFolders-C5LMF3UR.js → trustedFolders-YF37ZCN5.js} +27 -27
  213. package/chunks/update-relaunch-QFNHPMZZ.js +87 -0
  214. package/chunks/{updateCheck-QTVVISH7.js → updateCheck-B6O42VMD.js} +30 -28
  215. package/chunks/{validateNonInterActiveAuth-RY4RKBQG.js → validateNonInterActiveAuth-SCIWJ4CX.js} +65 -65
  216. package/chunks/{version-U45RYOSD.js → version-7DA6LAI3.js} +1 -1
  217. package/chunks/{web-fetch-ZSPR3PRR.js → web-fetch-B62SJXM2.js} +5 -6
  218. package/chunks/{workflow-TCIAQYOA.js → workflow-Q5WG4THP.js} +27 -27
  219. package/chunks/{workspace-providers-status-I3G2HYLY.js → workspace-providers-status-WWLAGWQW.js} +34 -34
  220. package/chunks/{workspace-registration-store-IH5GLZ6Y.js → workspace-registration-store-BVYQVY2H.js} +1 -1
  221. package/chunks/{workspace-registry-QEKBELIX.js → workspace-registry-OD7ACADD.js} +32 -34
  222. package/chunks/{workspace-service-ORKHGLP3.js → workspace-service-4LYJWS63.js} +37 -38
  223. package/chunks/{workspace-skills-status-D7QCNDYY.js → workspace-skills-status-P2AQLZZS.js} +32 -32
  224. package/chunks/{write-file-JGRQR5VM.js → write-file-TEPGXNM3.js} +60 -27
  225. package/chunks/{zh-FSAH32JB.js → zh-E34DZ2S3.js} +12 -3
  226. package/chunks/{zh-TW-D2YIE2LO.js → zh-TW-PEI2ZWUR.js} +12 -3
  227. package/cli-entry.js +92 -8
  228. package/cli.js +11 -11
  229. package/locales/ca.js +12 -2
  230. package/locales/de.js +12 -2
  231. package/locales/en.js +20 -5
  232. package/locales/fr.js +12 -2
  233. package/locales/ja.js +12 -2
  234. package/locales/pt.js +12 -2
  235. package/locales/ru.js +12 -2
  236. package/locales/zh-TW.js +19 -3
  237. package/locales/zh.js +19 -3
  238. package/package.json +3 -3
  239. package/web-shell/assets/{arc-CUeDlxvE.js → arc-Dh-N5oEG.js} +1 -1
  240. package/web-shell/assets/{architectureDiagram-3BPJPVTR-PiUszkQA.js → architectureDiagram-3BPJPVTR-DBOQgtfF.js} +1 -1
  241. package/web-shell/assets/{blockDiagram-GPEHLZMM-s2wYSO7e.js → blockDiagram-GPEHLZMM-Dyxbuyju.js} +1 -1
  242. package/web-shell/assets/{c4Diagram-AAUBKEIU-DyLxZoz9.js → c4Diagram-AAUBKEIU-DCJR5HPT.js} +1 -1
  243. package/web-shell/assets/channel-DY0fkcKT.js +1 -0
  244. package/web-shell/assets/{chunk-2J33WTMH-Dsdai7Tk.js → chunk-2J33WTMH-BkMUcy3O.js} +1 -1
  245. package/web-shell/assets/{chunk-4BX2VUAB-DEosOjV7.js → chunk-4BX2VUAB-BSm4pLQk.js} +1 -1
  246. package/web-shell/assets/{chunk-55IACEB6-sNsRLTXf.js → chunk-55IACEB6-CuRr-XgW.js} +1 -1
  247. package/web-shell/assets/{chunk-727SXJPM-DkRNZzmh.js → chunk-727SXJPM-CLv7-w3t.js} +1 -1
  248. package/web-shell/assets/{chunk-AQP2D5EJ-BrsRNpzd.js → chunk-AQP2D5EJ-Cz_n3-JW.js} +1 -1
  249. package/web-shell/assets/{chunk-FMBD7UC4-CI039lpl.js → chunk-FMBD7UC4-CFT_62Hq.js} +1 -1
  250. package/web-shell/assets/{chunk-ND2GUHAM-M-pkeIfu.js → chunk-ND2GUHAM-DWz6DOZ6.js} +1 -1
  251. package/web-shell/assets/{chunk-QZHKN3VN-C4ckGNbH.js → chunk-QZHKN3VN-C-mRhUzw.js} +1 -1
  252. package/web-shell/assets/classDiagram-4FO5ZUOK-DBvJ6PZo.js +1 -0
  253. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-DBvJ6PZo.js +1 -0
  254. package/web-shell/assets/{cose-bilkent-S5V4N54A-BciKUAFq.js → cose-bilkent-S5V4N54A-BqCZS3i1.js} +1 -1
  255. package/web-shell/assets/{dagre-BM42HDAG-C1nTSgU6.js → dagre-BM42HDAG-BGasdP8i.js} +1 -1
  256. package/web-shell/assets/{diagram-2AECGRRQ-BDPNWr1m.js → diagram-2AECGRRQ-BSyLDkMy.js} +1 -1
  257. package/web-shell/assets/{diagram-5GNKFQAL-CNFhTszL.js → diagram-5GNKFQAL-CM-ZJxWC.js} +1 -1
  258. package/web-shell/assets/{diagram-KO2AKTUF-CjPa4p5a.js → diagram-KO2AKTUF-wJdzt_C5.js} +1 -1
  259. package/web-shell/assets/{diagram-LMA3HP47-ZzPykSyG.js → diagram-LMA3HP47-DiH2fhpL.js} +1 -1
  260. package/web-shell/assets/{diagram-OG6HWLK6-0UVtZ9A4.js → diagram-OG6HWLK6-BZ9z1ZBl.js} +1 -1
  261. package/web-shell/assets/{erDiagram-TEJ5UH35-CajDZCat.js → erDiagram-TEJ5UH35-BsyWDziR.js} +1 -1
  262. package/web-shell/assets/{flowDiagram-I6XJVG4X-BRuFBIvL.js → flowDiagram-I6XJVG4X-CzdkxIrq.js} +1 -1
  263. package/web-shell/assets/{ganttDiagram-6RSMTGT7-BevGmJqG.js → ganttDiagram-6RSMTGT7-javIv2r2.js} +1 -1
  264. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DvPMpBMb.js → gitGraphDiagram-PVQCEYII-CjHstylC.js} +1 -1
  265. package/web-shell/assets/{index-DzHwQkQq.js → index-BnJGxpah.js} +1 -1
  266. package/web-shell/assets/index-DhXB9nTa.js +1161 -0
  267. package/web-shell/assets/index-vYHgZ7bL.css +5 -0
  268. package/web-shell/assets/{infoDiagram-5YYISTIA-Oixn7tA9.js → infoDiagram-5YYISTIA-yXuQsomo.js} +1 -1
  269. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BgKpeg-j.js → ishikawaDiagram-YF4QCWOH-a85JhE6F.js} +1 -1
  270. package/web-shell/assets/{journeyDiagram-JHISSGLW-74mwxIaA.js → journeyDiagram-JHISSGLW-Dak_4BVj.js} +1 -1
  271. package/web-shell/assets/{kanban-definition-UN3LZRKU-D4D6cEqA.js → kanban-definition-UN3LZRKU-COA-LuCV.js} +1 -1
  272. package/web-shell/assets/{linear-atZRE_L2.js → linear-DNAAAQWq.js} +1 -1
  273. package/web-shell/assets/{mermaid.core-KKudX-JC.js → mermaid.core-7Ff3aIUD.js} +5 -5
  274. package/web-shell/assets/{mindmap-definition-RKZ34NQL-CMCej9yG.js → mindmap-definition-RKZ34NQL-_rCOIODU.js} +1 -1
  275. package/web-shell/assets/{pieDiagram-4H26LBE5-nhx40X7q.js → pieDiagram-4H26LBE5-C9QCQ8EW.js} +1 -1
  276. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CUmVcN3M.js → quadrantDiagram-W4KKPZXB-CsaE4FA8.js} +1 -1
  277. package/web-shell/assets/{requirementDiagram-4Y6WPE33-C_vyEwyy.js → requirementDiagram-4Y6WPE33-tV78naTg.js} +1 -1
  278. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DU6G4VWR.js → sankeyDiagram-5OEKKPKP-Dk3Rw7BZ.js} +1 -1
  279. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DdeRR_KJ.js → sequenceDiagram-3UESZ5HK-BGsAWcMX.js} +1 -1
  280. package/web-shell/assets/{stateDiagram-AJRCARHV-C6iCI8ps.js → stateDiagram-AJRCARHV-zSxdtdoB.js} +1 -1
  281. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-vLEEtDpO.js +1 -0
  282. package/web-shell/assets/{timeline-definition-PNZ67QCA-B_Ea8Cb7.js → timeline-definition-PNZ67QCA-j0BQh9Go.js} +1 -1
  283. package/web-shell/assets/{vennDiagram-CIIHVFJN-BPUVZEJA.js → vennDiagram-CIIHVFJN-CRaUFFIu.js} +1 -1
  284. package/web-shell/assets/{wardley-L42UT6IY-BWEj0lKY.js → wardley-L42UT6IY-D7Py_ofm.js} +1 -1
  285. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BvDsdIQw.js → wardleyDiagram-YWT4CUSO-BrDIAZcp.js} +1 -1
  286. package/web-shell/assets/{xychartDiagram-2RQKCTM6-crz0QhF_.js → xychartDiagram-2RQKCTM6-Cecdw-w2.js} +1 -1
  287. package/web-shell/index.html +2 -2
  288. package/chunks/channel-worker-group-K7QKH6IG.js +0 -13
  289. package/chunks/chunk-2HRYPZT5.js +0 -25
  290. package/chunks/chunk-B7NUUEXC.js +0 -311
  291. package/chunks/chunk-CARU2RR2.js +0 -24
  292. package/chunks/chunk-GYTKQYDB.js +0 -23
  293. package/chunks/chunk-LQU7EVFA.js +0 -30
  294. package/chunks/chunk-OCPBI7J5.js +0 -18
  295. package/chunks/chunk-OJAMDVF5.js +0 -66
  296. package/chunks/chunk-QAW7PIHT.js +0 -168
  297. package/chunks/chunk-TEGEBB2I.js +0 -122
  298. package/chunks/daemon-status-provider-L4STG5VO.js +0 -76
  299. package/chunks/exitPlanMode-IHCJ5EEI.js +0 -909
  300. package/chunks/nonInteractiveCli-NSOB6D74.js +0 -129
  301. package/chunks/todoWrite-YNXB27GB.js +0 -531
  302. package/web-shell/assets/channel-DkuJJ0qd.js +0 -1
  303. package/web-shell/assets/classDiagram-4FO5ZUOK-CwqHc0TB.js +0 -1
  304. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CwqHc0TB.js +0 -1
  305. package/web-shell/assets/index-Cnvv4VcI.css +0 -5
  306. package/web-shell/assets/index-D1Uyklxa.js +0 -1088
  307. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C0_6nR6C.js +0 -1
@@ -1,311 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- init_esbuild_shims
5
- } from "./chunk-5O2XNYP6.js";
6
- import {
7
- __name
8
- } from "./chunk-J2S4EL5Y.js";
9
-
10
- // packages/core/src/core/tokenLimits.ts
11
- init_esbuild_shims();
12
- var DEFAULT_TOKEN_LIMIT = 2e5;
13
- var DEFAULT_OUTPUT_TOKEN_LIMIT = 32e3;
14
- var ESCALATED_MAX_TOKENS = 64e3;
15
- var OUTPUT_TOKEN_CEILING = ESCALATED_MAX_TOKENS;
16
- var MIN_CLAMPED_OUTPUT_TOKENS = 4e3;
17
- function outputClampMargin(contextWindowSize) {
18
- return Math.max(1e4, Math.round(0.05 * contextWindowSize));
19
- }
20
- __name(outputClampMargin, "outputClampMargin");
21
- function clampOutputTokensToWindow(outputCeiling, contextWindowSize, promptTokens) {
22
- const room = contextWindowSize - promptTokens - outputClampMargin(contextWindowSize);
23
- return Math.min(outputCeiling, Math.max(MIN_CLAMPED_OUTPUT_TOKENS, room));
24
- }
25
- __name(clampOutputTokensToWindow, "clampOutputTokensToWindow");
26
- function parsePositiveIntegerEnvValue(raw) {
27
- if (raw === void 0) return void 0;
28
- const trimmed = raw.trim();
29
- if (!/^\d+$/.test(trimmed)) return void 0;
30
- const parsed = Number(trimmed);
31
- if (!Number.isSafeInteger(parsed) || parsed <= 0) return void 0;
32
- return parsed;
33
- }
34
- __name(parsePositiveIntegerEnvValue, "parsePositiveIntegerEnvValue");
35
- var LIMITS = {
36
- "32k": 32768,
37
- "64k": 65536,
38
- "128k": 131072,
39
- "192k": 196608,
40
- // MiniMax-M2.5 context window
41
- "200k": 2e5,
42
- // vendor-declared decimal, used by OpenAI, Anthropic, etc.
43
- "256k": 262144,
44
- "272k": 272e3,
45
- // vendor-declared decimal, GPT-5.x input (400K total - 128K output)
46
- "384k": 384e3,
47
- // vendor-declared decimal, DeepSeek V4 max output
48
- "400k": 4e5,
49
- // vendor-declared decimal, used by OpenAI GPT-5.x
50
- "512k": 524288,
51
- "1m": 1e6,
52
- // Output token limits (typically much smaller than input limits)
53
- "4k": 4096,
54
- "8k": 8192,
55
- "16k": 16384
56
- };
57
- function normalize(model) {
58
- let s = (model ?? "").toLowerCase().trim();
59
- s = s.replace(/^.*\//, "");
60
- s = s.split("|").pop() ?? s;
61
- s = s.split(":").pop() ?? s;
62
- s = s.replace(/\s+/g, "-");
63
- s = s.replace(/-preview/g, "");
64
- if (!s.match(/^qwen-(?:plus|flash|vl-max)-latest$/) && !s.match(/^kimi-k2-\d{4}$/)) {
65
- s = s.replace(
66
- /-(?:\d{4,}|\d+x\d+b|v\d+(?:\.\d+)*|(?<=-[^-]+-)\d+(?:\.\d+)+|latest|exp)$/g,
67
- ""
68
- );
69
- }
70
- s = s.replace(/-(?:\d?bit|int[48]|bf16|fp16|q[45]|quantized)$/g, "");
71
- return s;
72
- }
73
- __name(normalize, "normalize");
74
- var PATTERNS = [
75
- // -------------------
76
- // Google Gemini
77
- // -------------------
78
- [/^gemini-3/, LIMITS["1m"]],
79
- // Gemini 3.x (Pro, Flash, 3.1, etc.): 1M
80
- [/^gemini-/, LIMITS["1m"]],
81
- // Gemini fallback (1.5, 2.x): 1M
82
- // -------------------
83
- // OpenAI
84
- // -------------------
85
- [/^gpt-5/, LIMITS["272k"]],
86
- // GPT-5.x: 272K input (400K total - 128K output)
87
- [/^gpt-/, LIMITS["128k"]],
88
- // GPT fallback (4o, 4.1, etc.): 128K
89
- [/^o\d/, LIMITS["200k"]],
90
- // o-series (o3, o4-mini, etc.): 200K
91
- // -------------------
92
- // Anthropic Claude
93
- // -------------------
94
- [/^claude-opus-4-(?:6|7|8)/, LIMITS["1m"]],
95
- // Opus 4.6-4.8: 1M
96
- [/^claude-/, LIMITS["200k"]],
97
- // All Claude models: 200K
98
- // -------------------
99
- // Alibaba / Qwen
100
- // -------------------
101
- // Commercial API models (1,000,000 context)
102
- [/^qwen3-coder-plus/, LIMITS["1m"]],
103
- [/^qwen3-coder-flash/, LIMITS["1m"]],
104
- [/^qwen3\.\d/, LIMITS["1m"]],
105
- [/^qwen-plus-latest$/, LIMITS["1m"]],
106
- [/^qwen-flash-latest$/, LIMITS["1m"]],
107
- [/^coder-model$/, LIMITS["1m"]],
108
- // Commercial API models (256K context)
109
- [/^qwen3-max/, LIMITS["256k"]],
110
- // Open-source Qwen3 variants: 256K native
111
- [/^qwen3-coder-/, LIMITS["256k"]],
112
- // Qwen fallback (VL, turbo, plus, 2.5, etc.): 256K
113
- [/^qwen/, LIMITS["256k"]],
114
- // -------------------
115
- // DeepSeek
116
- // -------------------
117
- [/^deepseek-v4/, LIMITS["1m"]],
118
- // DeepSeek V4 (flash, pro): 1M
119
- [/^deepseek/, LIMITS["128k"]],
120
- // -------------------
121
- // Zhipu GLM
122
- // -------------------
123
- // 1M context is the forward default for new GLM releases (GLM-5.2+, GLM-6.x,
124
- // and beyond) so they need no future code change. Confirmed 200K families
125
- // (GLM-5 / 5.0 / 5.1, GLM-4.x and older) are pinned explicitly first.
126
- [/^glm-5(\.[01])?(-|$)/, 202752],
127
- // GLM-5 / 5.0 / 5.1: 200K
128
- [/^glm-(?:[5-9]|\d{2,})/, LIMITS["1m"]],
129
- // GLM-5.2+, 6.x..9.x, 10.x+: 1M
130
- [/^glm-/, 202752],
131
- // GLM <=4.x / non-numeric fallback: 200K
132
- // -------------------
133
- // MiniMax
134
- // -------------------
135
- [/^minimax-m3/i, LIMITS["1m"]],
136
- // MiniMax-M3: 1,000,000
137
- [/^minimax-m2\.5/i, LIMITS["192k"]],
138
- // MiniMax-M2.5: 196,608
139
- [/^minimax-/i, LIMITS["200k"]],
140
- // MiniMax fallback: 200K
141
- // -------------------
142
- // Moonshot / Kimi
143
- // -------------------
144
- [/^kimi-/, LIMITS["256k"]],
145
- // Kimi fallback: 256K
146
- // -------------------
147
- // ByteDance Seed-OSS (512K)
148
- // -------------------
149
- [/^seed-oss/, LIMITS["512k"]]
150
- ];
151
- var OUTPUT_PATTERNS = [
152
- // Google Gemini
153
- [/^gemini-3/, LIMITS["64k"]],
154
- // Gemini 3.x: 64K
155
- [/^gemini-/, LIMITS["8k"]],
156
- // Gemini fallback: 8K
157
- // OpenAI
158
- [/^gpt-5/, LIMITS["128k"]],
159
- // GPT-5.x: 128K
160
- [/^gpt-/, LIMITS["16k"]],
161
- // GPT fallback: 16K
162
- [/^o\d/, LIMITS["128k"]],
163
- // o-series: 128K
164
- // Anthropic Claude
165
- [/^claude-opus-4-(?:6|7|8)/, 128e3],
166
- // Opus 4.6-4.8: 128K
167
- [/^claude-sonnet-4-6/, LIMITS["64k"]],
168
- // Sonnet 4.6: 64K
169
- [/^claude-/, LIMITS["64k"]],
170
- // Claude fallback: 64K
171
- // Alibaba / Qwen
172
- [/^qwen3\.\d/, LIMITS["64k"]],
173
- [/^coder-model$/, LIMITS["64k"]],
174
- [/^qwen/, LIMITS["32k"]],
175
- // Qwen fallback (VL, turbo, plus, etc.): 32K
176
- // DeepSeek
177
- [/^deepseek-v4/, LIMITS["384k"]],
178
- // DeepSeek V4 (flash, pro): 384K
179
- [/^deepseek-reasoner/, LIMITS["64k"]],
180
- [/^deepseek-r1/, LIMITS["64k"]],
181
- [/^deepseek-chat/, LIMITS["8k"]],
182
- // Zhipu GLM
183
- [/^glm-5(?:\.\d+)?(?:-|$)/, LIMITS["128k"]],
184
- [/^glm-4\.7/, LIMITS["16k"]],
185
- // MiniMax
186
- [/^minimax-m2\.5/i, LIMITS["64k"]],
187
- // Kimi
188
- [/^kimi-k2\.5/, LIMITS["32k"]]
189
- ];
190
- function findTokenLimit(model, type = "input") {
191
- const norm = normalize(model);
192
- const patterns = type === "output" ? OUTPUT_PATTERNS : PATTERNS;
193
- for (const [regex, limit] of patterns) {
194
- if (regex.test(norm)) {
195
- return limit;
196
- }
197
- }
198
- return void 0;
199
- }
200
- __name(findTokenLimit, "findTokenLimit");
201
- function hasExplicitOutputLimit(model) {
202
- const norm = normalize(model);
203
- return OUTPUT_PATTERNS.some(([regex]) => regex.test(norm));
204
- }
205
- __name(hasExplicitOutputLimit, "hasExplicitOutputLimit");
206
- function knownTokenLimit(model, type = "input") {
207
- return findTokenLimit(model, type);
208
- }
209
- __name(knownTokenLimit, "knownTokenLimit");
210
- function tokenLimit(model, type = "input") {
211
- return knownTokenLimit(model, type) ?? (type === "output" ? DEFAULT_OUTPUT_TOKEN_LIMIT : DEFAULT_TOKEN_LIMIT);
212
- }
213
- __name(tokenLimit, "tokenLimit");
214
- function defaultOutputCeiling(model) {
215
- const outputLimit = tokenLimit(model, "output");
216
- if (/^claude-opus-4-(?:6|7|8)/.test(normalize(model))) {
217
- return outputLimit;
218
- }
219
- return Math.min(outputLimit, OUTPUT_TOKEN_CEILING);
220
- }
221
- __name(defaultOutputCeiling, "defaultOutputCeiling");
222
- function reconcileMaxTokens(configMaxTokens, requestMaxTokens) {
223
- if (typeof configMaxTokens === "number" && typeof requestMaxTokens === "number") {
224
- return Math.min(configMaxTokens, requestMaxTokens);
225
- }
226
- return void 0;
227
- }
228
- __name(reconcileMaxTokens, "reconcileMaxTokens");
229
-
230
- // packages/core/src/core/openaiContentGenerator/constants.ts
231
- init_esbuild_shims();
232
- var DEFAULT_TIMEOUT = 12e4;
233
- var DISABLED_REQUEST_TIMEOUT_MS = 2147483647;
234
- function resolveRequestTimeout(timeout) {
235
- if (timeout === void 0 || timeout === null) {
236
- return DEFAULT_TIMEOUT;
237
- }
238
- return timeout <= 0 ? DISABLED_REQUEST_TIMEOUT_MS : timeout;
239
- }
240
- __name(resolveRequestTimeout, "resolveRequestTimeout");
241
- var DEFAULT_STREAM_IDLE_TIMEOUT_MS = 24e4;
242
- var QWEN_STREAM_IDLE_TIMEOUT_MS_ENV = "QWEN_STREAM_IDLE_TIMEOUT_MS";
243
- var MAX_STREAM_IDLE_TIMEOUT_MS = 2147483647;
244
- var DEFAULT_MAX_RETRIES = 3;
245
- var DEFAULT_OPENAI_BASE_URL = "https://api.openai.com/v1";
246
- var DEFAULT_DASHSCOPE_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1";
247
- var DASHSCOPE_PROXY_BASE_URL = process.env["DASHSCOPE_PROXY_BASE_URL"];
248
-
249
- // packages/core/src/utils/request-tokenizer/supportedImageFormats.ts
250
- init_esbuild_shims();
251
- var SUPPORTED_IMAGE_MIME_TYPES = [
252
- "image/bmp",
253
- "image/gif",
254
- "image/jpeg",
255
- "image/jpg",
256
- // Alternative MIME type for JPEG
257
- "image/png",
258
- "image/tiff",
259
- "image/webp",
260
- "image/heic"
261
- ];
262
- function isSupportedImageMimeType(mimeType) {
263
- return SUPPORTED_IMAGE_MIME_TYPES.includes(
264
- mimeType
265
- );
266
- }
267
- __name(isSupportedImageMimeType, "isSupportedImageMimeType");
268
- function getSupportedImageFormatsString() {
269
- return SUPPORTED_IMAGE_MIME_TYPES.map(
270
- (type) => type.replace("image/", "").toUpperCase()
271
- ).join(", ");
272
- }
273
- __name(getSupportedImageFormatsString, "getSupportedImageFormatsString");
274
- function getUnsupportedImageFormatWarning() {
275
- return `Only the following image formats are supported: ${getSupportedImageFormatsString()}. Other formats may not work as expected.`;
276
- }
277
- __name(getUnsupportedImageFormatWarning, "getUnsupportedImageFormatWarning");
278
-
279
- export {
280
- DEFAULT_TOKEN_LIMIT,
281
- DEFAULT_OUTPUT_TOKEN_LIMIT,
282
- ESCALATED_MAX_TOKENS,
283
- OUTPUT_TOKEN_CEILING,
284
- MIN_CLAMPED_OUTPUT_TOKENS,
285
- outputClampMargin,
286
- clampOutputTokensToWindow,
287
- parsePositiveIntegerEnvValue,
288
- normalize,
289
- hasExplicitOutputLimit,
290
- knownTokenLimit,
291
- tokenLimit,
292
- defaultOutputCeiling,
293
- reconcileMaxTokens,
294
- resolveRequestTimeout,
295
- DEFAULT_STREAM_IDLE_TIMEOUT_MS,
296
- QWEN_STREAM_IDLE_TIMEOUT_MS_ENV,
297
- MAX_STREAM_IDLE_TIMEOUT_MS,
298
- DEFAULT_MAX_RETRIES,
299
- DEFAULT_OPENAI_BASE_URL,
300
- DEFAULT_DASHSCOPE_BASE_URL,
301
- DASHSCOPE_PROXY_BASE_URL,
302
- SUPPORTED_IMAGE_MIME_TYPES,
303
- isSupportedImageMimeType,
304
- getSupportedImageFormatsString,
305
- getUnsupportedImageFormatWarning
306
- };
307
- /**
308
- * @license
309
- * Copyright 2025 Qwen
310
- * SPDX-License-Identifier: Apache-2.0
311
- */
@@ -1,24 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- init_esbuild_shims
5
- } from "./chunk-5O2XNYP6.js";
6
-
7
- // packages/core/src/config/models.ts
8
- init_esbuild_shims();
9
- var DEFAULT_QWEN_MODEL = "coder-model";
10
- var DEFAULT_QWEN_FLASH_MODEL = "coder-model";
11
- var DEFAULT_QWEN_EMBEDDING_MODEL = "text-embedding-v4";
12
- var MAINLINE_CODER_MODEL = "qwen3.5-plus";
13
-
14
- export {
15
- DEFAULT_QWEN_MODEL,
16
- DEFAULT_QWEN_FLASH_MODEL,
17
- DEFAULT_QWEN_EMBEDDING_MODEL,
18
- MAINLINE_CODER_MODEL
19
- };
20
- /**
21
- * @license
22
- * Copyright 2025 Google LLC
23
- * SPDX-License-Identifier: Apache-2.0
24
- */
@@ -1,23 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- init_esbuild_shims
5
- } from "./chunk-5O2XNYP6.js";
6
-
7
- // packages/cli/src/serve/channel-worker-env.ts
8
- init_esbuild_shims();
9
- var CHANNEL_DAEMON_WORKER_SENTINEL = "QWEN_CHANNEL_DAEMON_WORKER";
10
- var CHANNEL_WORKER_HEARTBEAT_INTERVAL_MS = 15e3;
11
- var QWEN_DAEMON_TOKEN_ENV = "QWEN_DAEMON_TOKEN";
12
- var QWEN_DAEMON_URL_ENV = "QWEN_DAEMON_URL";
13
- var QWEN_DAEMON_WORKSPACE_ENV = "QWEN_DAEMON_WORKSPACE";
14
- var QWEN_SERVER_TOKEN_ENV = "QWEN_SERVER_TOKEN";
15
-
16
- export {
17
- CHANNEL_DAEMON_WORKER_SENTINEL,
18
- CHANNEL_WORKER_HEARTBEAT_INTERVAL_MS,
19
- QWEN_DAEMON_TOKEN_ENV,
20
- QWEN_DAEMON_URL_ENV,
21
- QWEN_DAEMON_WORKSPACE_ENV,
22
- QWEN_SERVER_TOKEN_ENV
23
- };
@@ -1,30 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- runExitCleanup
5
- } from "./chunk-TISZXPAX.js";
6
- import {
7
- init_esbuild_shims
8
- } from "./chunk-5O2XNYP6.js";
9
- import {
10
- __name
11
- } from "./chunk-J2S4EL5Y.js";
12
-
13
- // packages/cli/src/utils/processUtils.ts
14
- init_esbuild_shims();
15
- var RELAUNCH_EXIT_CODE = 42;
16
- async function relaunchApp() {
17
- await runExitCleanup();
18
- process.exit(RELAUNCH_EXIT_CODE);
19
- }
20
- __name(relaunchApp, "relaunchApp");
21
-
22
- export {
23
- RELAUNCH_EXIT_CODE,
24
- relaunchApp
25
- };
26
- /**
27
- * @license
28
- * Copyright 2025 Google LLC
29
- * SPDX-License-Identifier: Apache-2.0
30
- */
@@ -1,18 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- init_esbuild_shims
5
- } from "./chunk-5O2XNYP6.js";
6
-
7
- // packages/acp-bridge/src/mcpTimeouts.ts
8
- init_esbuild_shims();
9
- var MCP_RESTART_SERVER_DEADLINE_MS = 3e5;
10
-
11
- export {
12
- MCP_RESTART_SERVER_DEADLINE_MS
13
- };
14
- /**
15
- * @license
16
- * Copyright 2025 Qwen Team
17
- * SPDX-License-Identifier: Apache-2.0
18
- */
@@ -1,66 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- init_esbuild_shims
5
- } from "./chunk-5O2XNYP6.js";
6
- import {
7
- __name
8
- } from "./chunk-J2S4EL5Y.js";
9
-
10
- // packages/cli/src/serve/channel-webhook-ipc.ts
11
- init_esbuild_shims();
12
- import { randomUUID } from "node:crypto";
13
- var CHANNEL_WEBHOOK_ENQUEUE_ERROR_CODES = /* @__PURE__ */ new Set([
14
- "channel_worker_unavailable",
15
- "channel_webhook_enqueue_timeout",
16
- "channel_webhook_queue_full",
17
- "channel_webhook_target_unavailable",
18
- "channel_webhook_invalid_task",
19
- "channel_webhook_enqueue_failed"
20
- ]);
21
- var ChannelWebhookEnqueueError = class extends Error {
22
- constructor(code, message) {
23
- super(message);
24
- this.code = code;
25
- this.name = "ChannelWebhookEnqueueError";
26
- }
27
- static {
28
- __name(this, "ChannelWebhookEnqueueError");
29
- }
30
- };
31
- function isChannelWebhookEnqueueErrorCode(value) {
32
- return typeof value === "string" && CHANNEL_WEBHOOK_ENQUEUE_ERROR_CODES.has(value);
33
- }
34
- __name(isChannelWebhookEnqueueErrorCode, "isChannelWebhookEnqueueErrorCode");
35
- function isChannelWebhookEnqueueError(value) {
36
- return value instanceof ChannelWebhookEnqueueError || typeof value === "object" && value !== null && isChannelWebhookEnqueueErrorCode(value.code) && typeof value.message === "string";
37
- }
38
- __name(isChannelWebhookEnqueueError, "isChannelWebhookEnqueueError");
39
- var CHANNEL_WEBHOOK_TASK_IPC_TIMEOUT_MS = 3e4;
40
- function createChannelWebhookTaskMessage(task) {
41
- return {
42
- type: "webhook_task",
43
- id: randomUUID(),
44
- expiresAt: Date.now() + CHANNEL_WEBHOOK_TASK_IPC_TIMEOUT_MS,
45
- task
46
- };
47
- }
48
- __name(createChannelWebhookTaskMessage, "createChannelWebhookTaskMessage");
49
- function isChannelWebhookTaskMessage(value) {
50
- return typeof value === "object" && value !== null && value.type === "webhook_task" && typeof value.id === "string" && typeof value.expiresAt === "number" && typeof value.task === "object" && value.task !== null;
51
- }
52
- __name(isChannelWebhookTaskMessage, "isChannelWebhookTaskMessage");
53
- function isChannelWebhookTaskResultMessage(value) {
54
- return typeof value === "object" && value !== null && value.type === "webhook_task_result" && typeof value.id === "string" && typeof value.ok === "boolean";
55
- }
56
- __name(isChannelWebhookTaskResultMessage, "isChannelWebhookTaskResultMessage");
57
-
58
- export {
59
- ChannelWebhookEnqueueError,
60
- isChannelWebhookEnqueueErrorCode,
61
- isChannelWebhookEnqueueError,
62
- CHANNEL_WEBHOOK_TASK_IPC_TIMEOUT_MS,
63
- createChannelWebhookTaskMessage,
64
- isChannelWebhookTaskMessage,
65
- isChannelWebhookTaskResultMessage
66
- };
@@ -1,168 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- isTeamAutoMemPath
5
- } from "./chunk-FBU7WRZI.js";
6
- import {
7
- createDebugLogger
8
- } from "./chunk-7NFB7LBQ.js";
9
- import {
10
- init_esbuild_shims
11
- } from "./chunk-5O2XNYP6.js";
12
- import {
13
- __name
14
- } from "./chunk-J2S4EL5Y.js";
15
-
16
- // packages/core/src/memory/team-memory-secret-guard.ts
17
- init_esbuild_shims();
18
-
19
- // packages/core/src/memory/secret-scanner.ts
20
- init_esbuild_shims();
21
- var SECRET_RULES = [
22
- // Cloud providers
23
- {
24
- id: "aws-access-token",
25
- // Suffix is base62 ([A-Z0-9]) per gitleaks; base32 [A-Z2-7] missed 0/1/8/9.
26
- source: "\\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z0-9]{16})\\b"
27
- },
28
- {
29
- id: "alibaba-cloud-access-key",
30
- source: "\\b(LTAI[a-zA-Z0-9]{12,20})\\b"
31
- },
32
- // A distinctive prefix + a high-entropy length is enough to identify these;
33
- // no trailing delimiter is required (requiring one missed secrets followed by
34
- // `.` `,` `)` `}` — common in prose and code samples).
35
- {
36
- id: "gcp-api-key",
37
- source: "AIza[\\w-]{35}"
38
- },
39
- {
40
- // Google OAuth client secret (GOCSPX- prefix + 24 base64url chars).
41
- id: "gcp-oauth-client-secret",
42
- source: "GOCSPX-[\\w-]{24}"
43
- },
44
- {
45
- id: "digitalocean-pat",
46
- source: "dop_v1_[a-f0-9]{64}"
47
- },
48
- // AI APIs
49
- {
50
- id: "anthropic-api-key",
51
- source: "sk-ant-[a-zA-Z0-9_-]{20,}"
52
- },
53
- {
54
- // New project/service/admin prefixes, the T3BlbkFJ-marker format, and the
55
- // retired bare `sk-` + 48 base62 chars (archived legacy keys).
56
- // Both classes around the T3BlbkFJ literal are upper-bounded ({20,512}, like
57
- // `private-key`): two unbounded {20,} quantifiers around a literal that may
58
- // be absent backtrack in O(n²) on crafted `sk-…` input (ReDoS). Real keys
59
- // are far shorter than the bound, so genuine matches are unaffected.
60
- id: "openai-api-key",
61
- source: "sk-(?:proj|svcacct|admin)-[a-zA-Z0-9_-]{20,}|sk-[a-zA-Z0-9_-]{20,512}T3BlbkFJ[a-zA-Z0-9_-]{20,512}|sk-[a-zA-Z0-9]{48}"
62
- },
63
- {
64
- id: "huggingface-access-token",
65
- source: "hf_[a-zA-Z0-9]{34,}"
66
- },
67
- // Version control
68
- { id: "github-pat", source: "ghp_[0-9a-zA-Z]{36}" },
69
- { id: "github-fine-grained-pat", source: "github_pat_\\w{82}" },
70
- { id: "github-app-token", source: "(?:ghu|ghs)_[0-9a-zA-Z]{36}" },
71
- { id: "github-oauth", source: "gho_[0-9a-zA-Z]{36}" },
72
- { id: "gitlab-pat", source: "glpat-[\\w-]{20}" },
73
- // Communication
74
- {
75
- id: "slack-bot-token",
76
- // The [b] class avoids embedding a Slack token prefix that vsce flags.
77
- source: "xox[b]-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*"
78
- },
79
- {
80
- id: "slack-app-token",
81
- source: "xapp-\\d-[A-Z0-9]+-\\d+-[a-z0-9]+",
82
- flags: "i"
83
- },
84
- {
85
- // SendGrid API key: SG. + 22-char id . + 43-char secret (gitleaks).
86
- id: "sendgrid-api-token",
87
- source: "SG\\.[\\w-]{22}\\.[\\w-]{43}"
88
- },
89
- // Dev tooling
90
- { id: "npm-access-token", source: "npm_[a-zA-Z0-9]{36}" },
91
- {
92
- id: "stripe-access-token",
93
- source: "(?:sk|rk)_(?:test|live|prod)_[a-zA-Z0-9]{10,99}"
94
- },
95
- // Crypto
96
- {
97
- id: "private-key",
98
- source: "-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----[\\s\\S-]{64,16384}?-----END[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----",
99
- flags: "i"
100
- }
101
- ];
102
- var compiledRules = null;
103
- function getCompiledRules() {
104
- compiledRules ??= SECRET_RULES.map((r) => ({
105
- id: r.id,
106
- re: new RegExp(r.source, r.flags)
107
- }));
108
- return compiledRules;
109
- }
110
- __name(getCompiledRules, "getCompiledRules");
111
- var LABEL_SPECIAL_CASE = {
112
- aws: "AWS",
113
- gcp: "GCP",
114
- api: "API",
115
- pat: "PAT",
116
- oauth: "OAuth",
117
- npm: "NPM",
118
- github: "GitHub",
119
- gitlab: "GitLab",
120
- openai: "OpenAI",
121
- digitalocean: "DigitalOcean",
122
- huggingface: "HuggingFace",
123
- alibaba: "Alibaba",
124
- sendgrid: "SendGrid"
125
- };
126
- function ruleIdToLabel(ruleId) {
127
- return ruleId.split("-").map(
128
- (part) => LABEL_SPECIAL_CASE[part] ?? part.charAt(0).toUpperCase() + part.slice(1)
129
- ).join(" ");
130
- }
131
- __name(ruleIdToLabel, "ruleIdToLabel");
132
- function scanForSecrets(content) {
133
- const matches = [];
134
- for (const rule of getCompiledRules()) {
135
- if (rule.re.test(content)) {
136
- matches.push({ ruleId: rule.id, label: ruleIdToLabel(rule.id) });
137
- }
138
- }
139
- return matches;
140
- }
141
- __name(scanForSecrets, "scanForSecrets");
142
-
143
- // packages/core/src/memory/team-memory-secret-guard.ts
144
- var debugLogger = createDebugLogger("TEAM_MEMORY_SECRET_GUARD");
145
- function checkTeamMemorySecrets(filePath, content, projectRoot) {
146
- if (!isTeamAutoMemPath(filePath, projectRoot)) {
147
- return null;
148
- }
149
- const matches = scanForSecrets(content);
150
- if (matches.length === 0) {
151
- return null;
152
- }
153
- debugLogger.debug(
154
- `Blocked team-memory write; matched rules: ${matches.map((m) => m.ruleId).join(", ")}`
155
- );
156
- const labels = matches.map((m) => m.label).join(", ");
157
- return `Content contains potential secrets (${labels}) and cannot be written to team memory. Team memory is shared with all repository collaborators. Remove the sensitive content and try again.`;
158
- }
159
- __name(checkTeamMemorySecrets, "checkTeamMemorySecrets");
160
-
161
- export {
162
- checkTeamMemorySecrets
163
- };
164
- /**
165
- * @license
166
- * Copyright 2025 Google LLC
167
- * SPDX-License-Identifier: Apache-2.0
168
- */