@qwen-code/qwen-code 0.21.12-preview.5 → 0.21.13

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 (347) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +7 -5
  2. package/bundled/qc-helper/docs/features/channels/overview.md +1 -1
  3. package/bundled/qc-helper/docs/features/channels/plugins.md +11 -11
  4. package/bundled/qc-helper/docs/features/code-review.md +13 -12
  5. package/bundled/qc-helper/docs/qwen-serve.md +65 -0
  6. package/bundled/review/SKILL.md +96 -68
  7. package/chunks/{MaxSizedBox-6STELMXN.js → MaxSizedBox-UQALOVVT.js} +46 -46
  8. package/chunks/{StandaloneSessionPicker-LXMGCAIF.js → StandaloneSessionPicker-KEGXNUG6.js} +68 -69
  9. package/chunks/{acp-startup-profiler-TVI2OVUN.js → acp-startup-profiler-NMDXYGDN.js} +2 -2
  10. package/chunks/{acpAgent-NFRP4O5A.js → acpAgent-XPES32S7.js} +804 -380
  11. package/chunks/{agent-4AGYD6I6.js → agent-DPTOZFEM.js} +42 -42
  12. package/chunks/{agent-headless-GH4UIDXU.js → agent-headless-GJCQMURW.js} +42 -42
  13. package/chunks/{anthropicContentGenerator-ZBBX5VMY.js → anthropicContentGenerator-G7BVXTKN.js} +25 -25
  14. package/chunks/{artifact-tool-RWJAKYBZ.js → artifact-tool-GEXTOPVO.js} +5 -5
  15. package/chunks/{askUserQuestion-IQCA2SOX.js → askUserQuestion-B33XRSB7.js} +2 -2
  16. package/chunks/{bridge-3S4SKXSQ.js → bridge-YNQBAA4Z.js} +48 -48
  17. package/chunks/{build-RZS65IIX.js → build-GDBLPA24.js} +1 -1
  18. package/chunks/{channel-management-service-5ZYX4ROW.js → channel-management-service-GWY2GAIC.js} +4 -4
  19. package/chunks/{channel-settings-store-62E3TWVK.js → channel-settings-store-WNWYFHG7.js} +49 -49
  20. package/chunks/{channel-worker-group-QFJKXO7R.js → channel-worker-group-7LXCMZ77.js} +6 -6
  21. package/chunks/{channel-worker-manager-PWD2UURZ.js → channel-worker-manager-RYEME4ZZ.js} +6 -6
  22. package/chunks/{channel-worker-supervisor-XQJBGFCM.js → channel-worker-supervisor-OEVWBHGT.js} +4 -4
  23. package/chunks/{chunk-LHOG4E6Y.js → chunk-22C7BQ6D.js} +3 -3
  24. package/chunks/{chunk-KTWUFHS4.js → chunk-25EYDK42.js} +3 -3
  25. package/chunks/{chunk-QEWAHAW2.js → chunk-2B2BF7P7.js} +3 -3
  26. package/chunks/{chunk-2SB4SLKC.js → chunk-2IIJTXYF.js} +1 -3
  27. package/chunks/{chunk-6LDLDK6E.js → chunk-2M55OBEB.js} +1 -3
  28. package/chunks/{chunk-V3NMFQD2.js → chunk-3EZLLVDF.js} +2 -2
  29. package/chunks/{chunk-HUDUANHL.js → chunk-3U3VAL47.js} +1 -1
  30. package/chunks/{chunk-BKHCW2BI.js → chunk-3VUENPWF.js} +10 -0
  31. package/chunks/{chunk-XY7DGTIC.js → chunk-45NQKMYB.js} +1 -1
  32. package/chunks/{chunk-VGGNHRYZ.js → chunk-4PKCUT7F.js} +7 -7
  33. package/chunks/{chunk-T7YMWGFY.js → chunk-4S5337WV.js} +1491 -711
  34. package/chunks/{chunk-FVHLDSQS.js → chunk-4W5U2TUT.js} +3 -3
  35. package/chunks/{chunk-6SU6OW5Z.js → chunk-5CVO7YES.js} +1 -1
  36. package/chunks/{chunk-OZTGLK53.js → chunk-5EYKMUUY.js} +1 -1
  37. package/chunks/{chunk-ZRT36RSF.js → chunk-6HY6IF3Z.js} +1 -1
  38. package/chunks/{chunk-HRAFAUM7.js → chunk-6ORZ2EDC.js} +3 -3
  39. package/chunks/{chunk-JOVJCXN4.js → chunk-6QFDQMQX.js} +1 -1
  40. package/chunks/{chunk-CPTIJGUK.js → chunk-6YKYPVDV.js} +4 -4
  41. package/chunks/{chunk-62OKKUOX.js → chunk-76J3IJ3M.js} +9 -7
  42. package/chunks/{chunk-JVY7FHUZ.js → chunk-7U5G6JXI.js} +9 -0
  43. package/chunks/{chunk-TIM7NVEO.js → chunk-7UXUJ5T3.js} +1 -1
  44. package/chunks/{chunk-YCGXJ4Q3.js → chunk-A267JX7H.js} +6 -6
  45. package/chunks/{chunk-4JS2QK7P.js → chunk-A4MFR4C5.js} +1 -1
  46. package/chunks/{chunk-TN3REXN4.js → chunk-A4QRWUDE.js} +79 -36
  47. package/chunks/{chunk-JW5UEE3V.js → chunk-A6NRNRKE.js} +1 -1
  48. package/chunks/{chunk-T4G33L3W.js → chunk-AA2BEKV3.js} +3 -3
  49. package/chunks/{chunk-M3DWLXEO.js → chunk-AFSG32D5.js} +1 -1
  50. package/chunks/{chunk-R4YAQULI.js → chunk-AS5IN4GK.js} +5 -5
  51. package/chunks/{chunk-ADJDLEVO.js → chunk-AW27A43Y.js} +9 -11
  52. package/chunks/{chunk-RIDUB2GC.js → chunk-AW4TRXOC.js} +1 -1
  53. package/chunks/{chunk-XL6GYJL2.js → chunk-AXN7UPYQ.js} +2 -2
  54. package/chunks/{chunk-M4NWDIFU.js → chunk-AZQ3DT76.js} +1 -1
  55. package/chunks/{chunk-OSA2TFDI.js → chunk-BHILXOC3.js} +3 -3
  56. package/chunks/{chunk-YMIQ24FR.js → chunk-BKPPWD33.js} +2 -2
  57. package/chunks/{chunk-YMB77M76.js → chunk-BUQDLC2G.js} +59 -0
  58. package/chunks/{chunk-DXXYMK2U.js → chunk-BVJS5BSP.js} +1 -1
  59. package/chunks/{chunk-EGB2PIYM.js → chunk-BZ263IKX.js} +1 -1
  60. package/chunks/{chunk-6OJDN5ZT.js → chunk-CHHABXPE.js} +1 -1
  61. package/chunks/{chunk-ZPZANKVP.js → chunk-CKSJECTU.js} +4 -4
  62. package/chunks/{chunk-H6BFLALJ.js → chunk-CPHEPGAO.js} +1 -1
  63. package/chunks/{chunk-V6PERRH4.js → chunk-CU6GJD55.js} +1 -1
  64. package/chunks/{chunk-ZZ7RUTJ4.js → chunk-CZBYX5MY.js} +1 -1
  65. package/chunks/{chunk-2OFDCPMS.js → chunk-DGK6P3BQ.js} +13 -13
  66. package/chunks/{chunk-NM33GGOM.js → chunk-DGZEMW5R.js} +3 -3
  67. package/chunks/{chunk-UPUAGRKY.js → chunk-DXIBNLBZ.js} +2 -4
  68. package/chunks/{chunk-J5SUM3ZJ.js → chunk-E23IPNGS.js} +25 -2
  69. package/chunks/{chunk-TNETSI2A.js → chunk-E3DYKPYZ.js} +3 -3
  70. package/chunks/{chunk-3MJ44LNC.js → chunk-EL5SXY3T.js} +265 -138
  71. package/chunks/{chunk-AFKOAHC3.js → chunk-EZ5RP345.js} +13 -11
  72. package/chunks/{chunk-PSTHNTHF.js → chunk-FAAUPSY2.js} +1 -1
  73. package/chunks/{chunk-NW7SPXVG.js → chunk-FDGGZIYW.js} +1 -1
  74. package/chunks/{chunk-6YSSQFHQ.js → chunk-GGDBMYGZ.js} +5 -5
  75. package/chunks/{chunk-CDDLHCC2.js → chunk-GMIEIY3Y.js} +5 -5
  76. package/chunks/{chunk-6JFPUJ2O.js → chunk-GO7STP6N.js} +4 -4
  77. package/chunks/{chunk-7JL5YBSA.js → chunk-H4A72DE5.js} +1 -1
  78. package/chunks/{chunk-I3UEXUWJ.js → chunk-HUTNYWBG.js} +2 -2
  79. package/chunks/{chunk-UQPLUR4A.js → chunk-IA2K2HJE.js} +2 -2
  80. package/chunks/{chunk-Q7VJUIIB.js → chunk-IGGGG5CX.js} +4104 -1293
  81. package/chunks/{chunk-VE2UV7IN.js → chunk-IWPYVAO2.js} +4 -4
  82. package/chunks/{chunk-HAR4G5K2.js → chunk-JNDY2MDR.js} +2 -2
  83. package/chunks/{chunk-UALXTL5Y.js → chunk-JOOFMXGF.js} +6 -6
  84. package/chunks/{chunk-HOXEJHJQ.js → chunk-JUEPY766.js} +3 -3
  85. package/chunks/{chunk-Q7YDKOGY.js → chunk-JVEGA3MM.js} +1 -1
  86. package/chunks/{chunk-QBJYSIQ4.js → chunk-K3LPAED5.js} +53 -12
  87. package/chunks/{chunk-UHF5VBKO.js → chunk-KBXKR5R2.js} +1 -1
  88. package/chunks/{chunk-32SNBMNP.js → chunk-KD5BOPLP.js} +27 -27
  89. package/chunks/{chunk-67F2BEYW.js → chunk-KV27IEHM.js} +1 -1
  90. package/chunks/{chunk-DLDVO2NY.js → chunk-LJQAUZMR.js} +360 -174
  91. package/chunks/{chunk-BNRIQWXW.js → chunk-M732YJPW.js} +7 -7
  92. package/chunks/{chunk-JRTJEGSP.js → chunk-MA2HEDVP.js} +1 -1
  93. package/chunks/{chunk-5IW3FJGD.js → chunk-MC4TLKEI.js} +2 -2
  94. package/chunks/{chunk-2ASWIM4A.js → chunk-MIPFDQAF.js} +1 -1
  95. package/chunks/{chunk-6GTKI2YX.js → chunk-MLPXSYXR.js} +133 -28
  96. package/chunks/{chunk-KRXPRVGL.js → chunk-MLXTMF7H.js} +0 -1
  97. package/chunks/{chunk-NNGCKJAD.js → chunk-MRMJCLIY.js} +3 -3
  98. package/chunks/{chunk-E7XJWIWC.js → chunk-N5YPT6PH.js} +7 -7
  99. package/chunks/{chunk-72SKJ3E7.js → chunk-NEFOOD54.js} +3 -3
  100. package/chunks/{chunk-2U3UCXZ3.js → chunk-NHDR76JX.js} +45 -13
  101. package/chunks/{chunk-QLFTWYTO.js → chunk-NM5V5OVW.js} +3 -3
  102. package/chunks/{chunk-N4LVA3S6.js → chunk-NNHNLJ2X.js} +840 -60
  103. package/chunks/chunk-NYWWQ437.js +24 -0
  104. package/chunks/{chunk-DGNQ5AFX.js → chunk-O4D7SPJN.js} +2 -2
  105. package/chunks/{chunk-YY23TR4M.js → chunk-O565M6A4.js} +411 -10
  106. package/chunks/{chunk-VUTOV2HG.js → chunk-OD2WU5QY.js} +4 -3
  107. package/chunks/{chunk-B66LYK4B.js → chunk-OMLJNPBE.js} +42 -12
  108. package/chunks/{chunk-WAF6AR5Y.js → chunk-OOQUVWIG.js} +4 -4
  109. package/chunks/{chunk-A6GQUQ7I.js → chunk-OVZPVYZB.js} +2 -2
  110. package/chunks/{chunk-VPZMLGD3.js → chunk-OXCMMLED.js} +5 -5
  111. package/chunks/{chunk-646ZB2TS.js → chunk-OY5RNSV4.js} +3 -3
  112. package/chunks/{chunk-V7RNNPGC.js → chunk-P5Y23G2L.js} +18 -1
  113. package/chunks/{chunk-O6SLWH4X.js → chunk-P7MPQI75.js} +2 -2
  114. package/chunks/{chunk-3HXLH5QV.js → chunk-PP4FUZNV.js} +47 -4
  115. package/chunks/{chunk-4XX2LZ3E.js → chunk-PQ36L4F5.js} +1 -1
  116. package/chunks/{chunk-SKRHR6N2.js → chunk-PT4I7NBA.js} +1 -1
  117. package/chunks/{chunk-KQLW7LLV.js → chunk-QF2NHSPB.js} +603 -66
  118. package/chunks/{chunk-KK3FEHPJ.js → chunk-QFJ5JHQR.js} +1 -1
  119. package/chunks/{chunk-N2G4RA77.js → chunk-QIH2HAEN.js} +1 -1
  120. package/chunks/{chunk-QSWDGAIC.js → chunk-QILD6R27.js} +1 -1
  121. package/chunks/{chunk-NHZF4VCD.js → chunk-QNQAPSN2.js} +1 -1
  122. package/chunks/{chunk-6DH5YA3X.js → chunk-QRCNA3SR.js} +8 -8
  123. package/chunks/{chunk-3RC5Q66G.js → chunk-QV5YN5YD.js} +7 -5
  124. package/chunks/{chunk-7TKNMQ6L.js → chunk-RIAABG2K.js} +2 -2
  125. package/chunks/{chunk-LYRA6ZTI.js → chunk-RLKC46YT.js} +138 -11
  126. package/chunks/{chunk-YI5G32RU.js → chunk-ROIYNTHJ.js} +3 -3
  127. package/chunks/{chunk-UAAWNTOC.js → chunk-RVOJ2FBP.js} +12 -12
  128. package/chunks/{chunk-SNHBRO4C.js → chunk-RWDNJBWN.js} +2 -2
  129. package/chunks/{chunk-UFHPAMAV.js → chunk-S5DWMTHO.js} +11 -1
  130. package/chunks/{chunk-TROB4PZY.js → chunk-SG7ZP5PG.js} +4 -4
  131. package/chunks/{chunk-E74YSVIN.js → chunk-SXCOEJO4.js} +1 -1
  132. package/chunks/{chunk-U5C2GIN2.js → chunk-TIGA2IVL.js} +117 -3
  133. package/chunks/chunk-TS6625XH.js +488 -0
  134. package/chunks/{chunk-EHXS5MAC.js → chunk-TUGSVUJB.js} +7 -7
  135. package/chunks/{chunk-E3GLDLYB.js → chunk-TYAMGABM.js} +0 -6
  136. package/chunks/{chunk-ZLX7FTZQ.js → chunk-U3VNBPUO.js} +3 -3
  137. package/chunks/{chunk-F7PTQFTB.js → chunk-UKMR3CKV.js} +4 -4
  138. package/chunks/{chunk-7WUMS2UA.js → chunk-UPDOZBWO.js} +1 -1
  139. package/chunks/{chunk-YK4O72LT.js → chunk-UZPM4XHR.js} +4 -4
  140. package/chunks/{chunk-VKEA37IR.js → chunk-V26NVGAU.js} +1 -1
  141. package/chunks/{chunk-IJCZP2MA.js → chunk-V57QC6WW.js} +3 -3
  142. package/chunks/{chunk-LSMCI42W.js → chunk-WFSTRPRO.js} +3 -3
  143. package/chunks/{chunk-5KZNWF2M.js → chunk-WGHHA7ZH.js} +1 -1
  144. package/chunks/{chunk-A4BAHMJF.js → chunk-WSH6GRKG.js} +4 -4
  145. package/chunks/{chunk-OK727E5D.js → chunk-X26JYGTD.js} +1 -1
  146. package/chunks/{chunk-VAPNUDD5.js → chunk-XHRY7BXD.js} +4 -4
  147. package/chunks/{chunk-XNL23MGG.js → chunk-XIT3GURH.js} +3 -3
  148. package/chunks/{chunk-2RTRFLWH.js → chunk-XLLKYULU.js} +6 -6
  149. package/chunks/{chunk-C2DR57L6.js → chunk-XUJNK7Y6.js} +1 -1
  150. package/chunks/{chunk-AAZWJAPQ.js → chunk-Y3YCSWG5.js} +2 -2
  151. package/chunks/{chunk-ZTBFA7I6.js → chunk-YEYY7TEP.js} +7 -7
  152. package/chunks/{chunk-FTGU6G45.js → chunk-YZHRN3CF.js} +2 -2
  153. package/chunks/{chunk-2N6CV4PW.js → chunk-YZOSNW4R.js} +1 -1
  154. package/chunks/{chunk-U7ROFHSH.js → chunk-ZLCT4C5A.js} +1 -1
  155. package/chunks/{chunk-VBKTP7TH.js → chunk-ZYBBISBY.js} +15 -34
  156. package/chunks/{chunk-7ATQGA6V.js → chunk-ZYYTZUI2.js} +6 -6
  157. package/chunks/{chunk-RXX5T3IF.js → chunk-ZZO74WKW.js} +44 -8
  158. package/chunks/{computer-use-ZFBJYSR3.js → computer-use-77C5FHMW.js} +45 -45
  159. package/chunks/{config-utils-7JZQN6L2.js → config-utils-IVHRSXWI.js} +4 -4
  160. package/chunks/{contextCommand-G3TAIY7T.js → contextCommand-PJ77GBWL.js} +44 -44
  161. package/chunks/{core-runtime-K3MQVNSF.js → core-runtime-7VMIKUTG.js} +42 -42
  162. package/chunks/{create-sub-session-DMTLJPDG.js → create-sub-session-2L5MQRN4.js} +42 -42
  163. package/chunks/{create-sub-session-23ULO5PO.js → create-sub-session-KRQULJE6.js} +2 -2
  164. package/chunks/{cron-create-5WUTNKNF.js → cron-create-H7UEPDSN.js} +4 -4
  165. package/chunks/{cron-delete-JEQ27YPS.js → cron-delete-6SZK7YFM.js} +4 -4
  166. package/chunks/{cron-list-IXGCA7UR.js → cron-list-H25JIHEZ.js} +4 -4
  167. package/chunks/{daemon-UBVOQMWY.js → daemon-2KTG7ZBN.js} +108 -9
  168. package/chunks/daemon-git-worktree-guard-DXYIMWFT.js +2062 -0
  169. package/chunks/{daemon-status-provider-KFLEZGD7.js → daemon-status-provider-ZDOYJCU6.js} +52 -53
  170. package/chunks/{daemon-trust-policy-ZZ6DRDAC.js → daemon-trust-policy-E67OYUK2.js} +48 -48
  171. package/chunks/{daemon-trust-policy-monitor-CIKHNV2K.js → daemon-trust-policy-monitor-RYYGCQ3J.js} +48 -48
  172. package/chunks/{deferred-core-runtime-MM7X7UYR.js → deferred-core-runtime-3SGXFXEQ.js} +44 -44
  173. package/chunks/{devtools-X6ROTKHE.js → devtools-4QFYJT6U.js} +1 -1
  174. package/chunks/discovery-ORA5J7YP.js +27 -0
  175. package/chunks/{display-image-CAD7RAUM.js → display-image-ON3EYFRD.js} +4 -4
  176. package/chunks/{dist-B3ODKYEB.js → dist-4ZPG4BY6.js} +2 -2
  177. package/chunks/{dist-CCUH2Z4C.js → dist-BROOP2EG.js} +1 -1
  178. package/chunks/{dist-DANKRAB3.js → dist-IYYN3RUT.js} +2 -2
  179. package/chunks/{dist-5VDE7U3A.js → dist-JWMKPWT5.js} +3 -1
  180. package/chunks/{dist-6RK4U6VU.js → dist-K7IQB53U.js} +1 -1
  181. package/chunks/{dist-EZHCZSW6.js → dist-MAQXAQ2Y.js} +1 -1
  182. package/chunks/{dist-362MN6CP.js → dist-WJ4BHIEW.js} +2 -2
  183. package/chunks/{dist-M3XMEIP2.js → dist-YEPL4RAW.js} +1 -1
  184. package/chunks/{earlyInputCapture-O77TUBIF.js → earlyInputCapture-KJMLFVQV.js} +43 -43
  185. package/chunks/{edit-CZ23AVP6.js → edit-I4LQFAEC.js} +50 -49
  186. package/chunks/{enter-worktree-4EMS7IRL.js → enter-worktree-YNPOJSRH.js} +47 -47
  187. package/chunks/{enterPlanMode-TS6KO6DU.js → enterPlanMode-XCPK62ER.js} +47 -47
  188. package/chunks/{environment-7JAXEU6I.js → environment-S7CTIHMX.js} +44 -44
  189. package/chunks/{errors-NBABPF4S.js → errors-7HB2AIDS.js} +44 -44
  190. package/chunks/{exit-worktree-Q3NFHYUI.js → exit-worktree-AIIY7SR6.js} +47 -47
  191. package/chunks/{exitPlanMode-4JH6WLKL.js → exitPlanMode-R4JY7V2O.js} +42 -42
  192. package/chunks/{external-tool-guard-provider-5HTGOPGU.js → external-tool-guard-provider-TE4DRY36.js} +1 -1
  193. package/chunks/{fast-path-5LFDLPHJ.js → fast-path-NDJV3ZFJ.js} +3 -3
  194. package/chunks/{gemini-MB4S7YLN.js → gemini-RSUFP5OE.js} +108 -103
  195. package/chunks/{geminiContentGenerator-EQY2QU7K.js → geminiContentGenerator-SQ5XBPZ7.js} +11 -11
  196. package/chunks/{glob-LA5XO2H7.js → glob-J4RUJAHX.js} +49 -49
  197. package/chunks/{goal-tools-LQFO4BRY.js → goal-tools-VHTNVOKK.js} +56 -12
  198. package/chunks/{grep-KYBZMY36.js → grep-VJWPLFOT.js} +47 -47
  199. package/chunks/{handleAutoUpdate-HZJSAUNC.js → handleAutoUpdate-POCX2MNB.js} +46 -46
  200. package/chunks/{i18n-BSCIN4J4.js → i18n-RM5YOICI.js} +43 -43
  201. package/chunks/{image-gen-HGURQAHX.js → image-gen-EXECB5XM.js} +11 -11
  202. package/chunks/{initializer-WUHJXIB3.js → initializer-Z2AFGBNR.js} +49 -49
  203. package/chunks/{installationInfo-G3PDBWG2.js → installationInfo-4I5FXNMH.js} +43 -43
  204. package/chunks/{keychain-token-storage-GU75J2T2.js → keychain-token-storage-3XFJ5ZB2.js} +2 -2
  205. package/chunks/{list-IC7KDSZ6.js → list-ZMBFIGZA.js} +51 -51
  206. package/chunks/{list-agents-5PNMK2AM.js → list-agents-OSVDFI6S.js} +2 -2
  207. package/chunks/{loadedSettingsAdapter-Z3GOJRI7.js → loadedSettingsAdapter-T6TV4YJ7.js} +48 -48
  208. package/chunks/{loggingContentGenerator-E2QENFPH.js → loggingContentGenerator-WF4ZOJEZ.js} +99 -66
  209. package/chunks/{loop-wakeup-OV65FEGR.js → loop-wakeup-WQS6JYAG.js} +5 -5
  210. package/chunks/{ls-RPRSX26R.js → ls-D3HUFHDP.js} +6 -6
  211. package/chunks/{lsp-IWTJWFLT.js → lsp-3QDDJTCS.js} +2 -2
  212. package/chunks/{managed-npm-update-MX2OPCW4.js → managed-npm-update-E7IW6N7V.js} +43 -43
  213. package/chunks/{mcp-QQEWPNWV.js → mcp-6UNYX4HG.js} +48 -48
  214. package/chunks/{monitor-SV64FNV3.js → monitor-EE2UYMGE.js} +47 -47
  215. package/chunks/{node-YSOU44FX.js → node-UUDY34IG.js} +3 -3
  216. package/chunks/nonInteractiveCli-WAY237O4.js +163 -0
  217. package/chunks/{notebook-edit-QPYSWPRI.js → notebook-edit-NTDY4QDU.js} +47 -47
  218. package/chunks/{openaiContentGenerator-CMZXOSVA.js → openaiContentGenerator-YNFVJMRJ.js} +30 -30
  219. package/chunks/{pidfile-D5UXVVAI.js → pidfile-4XSFLYBZ.js} +43 -43
  220. package/chunks/{processUtils-ZEIMIVPX.js → processUtils-WDA2MJFD.js} +2 -2
  221. package/chunks/proper-lockfile-3LHWIM44.js +8 -0
  222. package/chunks/{qwenContentGenerator-JAXZKB7R.js → qwenContentGenerator-434M7QKY.js} +50 -50
  223. package/chunks/{qwenOAuth2-C2QWTD2G.js → qwenOAuth2-GMYZOO6A.js} +10 -10
  224. package/chunks/{read-file-2V5GE6ZW.js → read-file-TAFBKMNI.js} +11 -11
  225. package/chunks/{read-mcp-resource-THCSZHXO.js → read-mcp-resource-XD54ZQMC.js} +2 -2
  226. package/chunks/{record-artifact-76YYQA5F.js → record-artifact-SEYFJEJF.js} +3 -3
  227. package/chunks/{resumeHistoryUtils-UZ7GHPNY.js → resumeHistoryUtils-EVG3WYK2.js} +50 -50
  228. package/chunks/{ripGrep-MUTMPQSV.js → ripGrep-WOEK2PXS.js} +42 -42
  229. package/chunks/{run-qwen-serve-WU43JKEA.js → run-qwen-serve-3QSGRXAN.js} +417 -208
  230. package/chunks/{runtime-YLOFDP2P.js → runtime-5MLLZ7DC.js} +53 -53
  231. package/chunks/{scheduler-G44OPSZE.js → scheduler-RPBJ63CH.js} +44 -44
  232. package/chunks/{sdk-exporters-grpc-4QKV6MCX.js → sdk-exporters-grpc-54L4LS5L.js} +2 -2
  233. package/chunks/{sdk-exporters-http-A7XLKZO7.js → sdk-exporters-http-XUVP63H6.js} +12 -12
  234. package/chunks/{sdk-impl-XO4UF6PR.js → sdk-impl-YXUEN2Z2.js} +8 -8
  235. package/chunks/{send-message-P5SLP57G.js → send-message-VZENRWRH.js} +6 -6
  236. package/chunks/{serve-CZQDBDYV.js → serve-HS3XLPXU.js} +50 -50
  237. package/chunks/{server-HGI2KF3Y.js → server-TC4A7AAZ.js} +3850 -1630
  238. package/chunks/{session-OVMSHAO5.js → session-UBOFXVMN.js} +92 -95
  239. package/chunks/{settings-TWX6ROGP.js → settings-D5644OM5.js} +47 -47
  240. package/chunks/{shell-JDSWGVC7.js → shell-3PZULQQV.js} +42 -42
  241. package/chunks/{skill-QILHTMYJ.js → skill-PEVVXQ3L.js} +22 -22
  242. package/chunks/{skill-settings-RKRD34RZ.js → skill-settings-J65JKKES.js} +47 -47
  243. package/chunks/{spawnChannel-V5PYSDEI.js → spawnChannel-IYGXRHSQ.js} +45 -47
  244. package/chunks/{standalone-update-Y52CWCGG.js → standalone-update-IFM53PE7.js} +44 -44
  245. package/chunks/{startInteractiveUI-RVA62ZM6.js → startInteractiveUI-3AVH7L6H.js} +3340 -2460
  246. package/chunks/{syntheticOutput-SEW4NA47.js → syntheticOutput-7GWFIDXT.js} +3 -3
  247. package/chunks/{task-create-247EAVF7.js → task-create-FCBDX7UH.js} +12 -12
  248. package/chunks/{task-list-ZJN4QHLK.js → task-list-YIYIUFUA.js} +6 -6
  249. package/chunks/{task-stop-MAYQJ42I.js → task-stop-X37KYTKB.js} +2 -2
  250. package/chunks/{task-update-SU5TMZGG.js → task-update-MYPFVOVM.js} +12 -12
  251. package/chunks/{team-create-YMWUDIE3.js → team-create-ZAIA7KAV.js} +47 -47
  252. package/chunks/{team-delete-3XVRPQBP.js → team-delete-6UMU4XLS.js} +6 -6
  253. package/chunks/{team-plan-approval-3GPZAW46.js → team-plan-approval-UNIUS7OD.js} +47 -47
  254. package/chunks/{terminal-image-renderer-UGQKWDM3.js → terminal-image-renderer-G343P2RV.js} +44 -44
  255. package/chunks/{theme-manager-KRG4GGFY.js → theme-manager-Z3RIT7DB.js} +43 -43
  256. package/chunks/{todoWrite-IE2YTCK7.js → todoWrite-U2R4NVF4.js} +4 -4
  257. package/chunks/{tool-search-SZRO5G72.js → tool-search-5R2OE4C7.js} +17 -17
  258. package/chunks/{total-session-admission-JYHYOKWX.js → total-session-admission-4KBHMQQ2.js} +48 -48
  259. package/chunks/{trustedFolders-2BDCB5NJ.js → trustedFolders-LK6T4XC7.js} +43 -43
  260. package/chunks/{update-relaunch-XSYVPSDL.js → update-relaunch-UBKROIC6.js} +5 -5
  261. package/chunks/{updateCheck-SMMJ27GG.js → updateCheck-W4Y2GFSD.js} +45 -45
  262. package/chunks/{useAutoAcceptIndicator-HPG4UFIZ.js → useAutoAcceptIndicator-C7BEICBF.js} +51 -51
  263. package/chunks/{validateNonInterActiveAuth-IIL774NT.js → validateNonInterActiveAuth-LTEI2TB6.js} +84 -86
  264. package/chunks/{version-WSGAB2PA.js → version-G5A5DGVS.js} +1 -1
  265. package/chunks/{web-fetch-LKC2F5DM.js → web-fetch-RTEQTR5Z.js} +20 -20
  266. package/chunks/{web-search-BHMAMXEU.js → web-search-5OXHEZPV.js} +16 -16
  267. package/chunks/{workflow-A7AQ52HO.js → workflow-ISQJHPG2.js} +54 -53
  268. package/chunks/{workspace-providers-status-JRT57TLL.js → workspace-providers-status-2ZPZPUPZ.js} +51 -51
  269. package/chunks/{workspace-registration-store-EACJNCM5.js → workspace-registration-store-CYNY6IP6.js} +2 -2
  270. package/chunks/{workspace-registry-OV5SI4ES.js → workspace-registry-34GTUUHB.js} +50 -49
  271. package/chunks/{workspace-service-PUHU4EEK.js → workspace-service-XCDQLE2Y.js} +53 -53
  272. package/chunks/{workspace-skills-status-YAJE3UW3.js → workspace-skills-status-RS4O7AIJ.js} +49 -49
  273. package/chunks/{workspace-trust-reconciler-JP5UR2H6.js → workspace-trust-reconciler-AYGXC7A3.js} +57 -56
  274. package/chunks/{write-file-UBIHUP5M.js → write-file-EWXKVVXF.js} +42 -42
  275. package/chunks/{zoom-image-4QTKAMTP.js → zoom-image-4BFYJ3HG.js} +11 -11
  276. package/cli.js +18 -17
  277. package/package.json +3 -3
  278. package/web-shell/assets/{arc-lZ04kynw.js → arc-CgOpDKvm.js} +1 -1
  279. package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1wZVhzD.js → architectureDiagram-3BPJPVTR-0Ag_m34F.js} +1 -1
  280. package/web-shell/assets/{blockDiagram-GPEHLZMM-CO0e0yJt.js → blockDiagram-GPEHLZMM-IwTwFau0.js} +1 -1
  281. package/web-shell/assets/{c4Diagram-AAUBKEIU-Dfpo6Qie.js → c4Diagram-AAUBKEIU-DLa5GUv8.js} +1 -1
  282. package/web-shell/assets/channel-BrGVBa2L.js +1 -0
  283. package/web-shell/assets/{chunk-2J33WTMH-BvxArftT.js → chunk-2J33WTMH-DcYP-WFG.js} +1 -1
  284. package/web-shell/assets/{chunk-4BX2VUAB-BS2XXjGY.js → chunk-4BX2VUAB-C8MVPMiQ.js} +1 -1
  285. package/web-shell/assets/{chunk-55IACEB6-CYL6h3Ph.js → chunk-55IACEB6-BUi4Yfv3.js} +1 -1
  286. package/web-shell/assets/{chunk-727SXJPM-C-cWPX30.js → chunk-727SXJPM-Cy3Su2YY.js} +1 -1
  287. package/web-shell/assets/{chunk-AQP2D5EJ-CJLxNbVV.js → chunk-AQP2D5EJ-Dp8Teqv6.js} +1 -1
  288. package/web-shell/assets/{chunk-FMBD7UC4-DwfzKywA.js → chunk-FMBD7UC4-BDTDM-4j.js} +1 -1
  289. package/web-shell/assets/{chunk-ND2GUHAM-BI5raYHQ.js → chunk-ND2GUHAM-7HfDt0r2.js} +1 -1
  290. package/web-shell/assets/{chunk-QZHKN3VN-_GkNI90J.js → chunk-QZHKN3VN-BIBU0uCF.js} +1 -1
  291. package/web-shell/assets/classDiagram-4FO5ZUOK-B5TUzJzI.js +1 -0
  292. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B5TUzJzI.js +1 -0
  293. package/web-shell/assets/{cose-bilkent-S5V4N54A-BAVLNxh9.js → cose-bilkent-S5V4N54A-DRLdcg9p.js} +1 -1
  294. package/web-shell/assets/{dagre-BM42HDAG-BD4XNLqp.js → dagre-BM42HDAG-DCCgDwqW.js} +1 -1
  295. package/web-shell/assets/{diagram-2AECGRRQ-WO567p8w.js → diagram-2AECGRRQ-CsBTBmk3.js} +1 -1
  296. package/web-shell/assets/{diagram-5GNKFQAL-mAk23VWO.js → diagram-5GNKFQAL-C9qjH8Lt.js} +1 -1
  297. package/web-shell/assets/{diagram-KO2AKTUF-YQEeHKze.js → diagram-KO2AKTUF-Brjs_lj2.js} +1 -1
  298. package/web-shell/assets/{diagram-LMA3HP47-CMVjxAjv.js → diagram-LMA3HP47-DtiWCl_F.js} +1 -1
  299. package/web-shell/assets/{diagram-OG6HWLK6-42hPvbM-.js → diagram-OG6HWLK6-DmfKLkBT.js} +1 -1
  300. package/web-shell/assets/{erDiagram-TEJ5UH35-CXU_cPfu.js → erDiagram-TEJ5UH35-Bve_4deH.js} +1 -1
  301. package/web-shell/assets/{flowDiagram-I6XJVG4X-D-3TdhMT.js → flowDiagram-I6XJVG4X-C2_kXCcV.js} +1 -1
  302. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CsgkXolz.js → ganttDiagram-6RSMTGT7-BSBIjiTF.js} +1 -1
  303. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-B6Q3PBLD.js → gitGraphDiagram-PVQCEYII-CyebwI55.js} +1 -1
  304. package/web-shell/assets/index-CIDsgxTe.js +1792 -0
  305. package/web-shell/assets/index-DiQnWi_E.css +5 -0
  306. package/web-shell/assets/{index-BFrkGj2B.js → index-d0yfnV1M.js} +1 -1
  307. package/web-shell/assets/{infoDiagram-5YYISTIA-jiAfSXp8.js → infoDiagram-5YYISTIA-CSDGnWxU.js} +1 -1
  308. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BWif5KeJ.js → ishikawaDiagram-YF4QCWOH-BK4jU13p.js} +1 -1
  309. package/web-shell/assets/{journeyDiagram-JHISSGLW-B-GAZthS.js → journeyDiagram-JHISSGLW-D_W6j-oF.js} +1 -1
  310. package/web-shell/assets/{kanban-definition-UN3LZRKU-9TEuATdL.js → kanban-definition-UN3LZRKU-C7xf-SdC.js} +1 -1
  311. package/web-shell/assets/{linear-dy_QPfyE.js → linear-DQmzxpxd.js} +1 -1
  312. package/web-shell/assets/{mermaid.core-DB2uLAnq.js → mermaid.core-9P7AGOLG.js} +5 -5
  313. package/web-shell/assets/{mindmap-definition-RKZ34NQL-ey_dyxi-.js → mindmap-definition-RKZ34NQL-DgcgMyPk.js} +1 -1
  314. package/web-shell/assets/{pieDiagram-4H26LBE5-_6BuMdDj.js → pieDiagram-4H26LBE5-3wWGb9eG.js} +1 -1
  315. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-B2rM19W2.js → quadrantDiagram-W4KKPZXB-BeCXnQw9.js} +1 -1
  316. package/web-shell/assets/{requirementDiagram-4Y6WPE33-DWj8b7vW.js → requirementDiagram-4Y6WPE33-Bi1UOHDz.js} +1 -1
  317. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-D5dtYh0N.js → sankeyDiagram-5OEKKPKP-lrLUjjbb.js} +1 -1
  318. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DVkdn_qW.js → sequenceDiagram-3UESZ5HK-BFuqKz6Q.js} +1 -1
  319. package/web-shell/assets/{stateDiagram-AJRCARHV-DgwD_fi6.js → stateDiagram-AJRCARHV-8DemQLhu.js} +1 -1
  320. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DhM5ixYd.js +1 -0
  321. package/web-shell/assets/{timeline-definition-PNZ67QCA-vNr_1UNX.js → timeline-definition-PNZ67QCA-uzEuVQXg.js} +1 -1
  322. package/web-shell/assets/{vennDiagram-CIIHVFJN-ChFcGAcu.js → vennDiagram-CIIHVFJN-BQTeZ_-o.js} +1 -1
  323. package/web-shell/assets/{wardley-L42UT6IY-C8PXoSWk.js → wardley-L42UT6IY-B6yM5Im7.js} +1 -1
  324. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-C2nqOV6i.js → wardleyDiagram-YWT4CUSO-ChM8bmgn.js} +1 -1
  325. package/web-shell/assets/{xychartDiagram-2RQKCTM6-BntaqhSB.js → xychartDiagram-2RQKCTM6-oNG6HyB1.js} +1 -1
  326. package/web-shell/index.html +2 -2
  327. package/chunks/chunk-5PLOQW7H.js +0 -830
  328. package/chunks/chunk-DMODRHNL.js +0 -649
  329. package/chunks/chunk-L34XSHIZ.js +0 -28
  330. package/chunks/chunk-N2TNM3QB.js +0 -9
  331. package/chunks/chunk-RECPKBBD.js +0 -622
  332. package/chunks/chunk-WLML6VIA.js +0 -18
  333. package/chunks/chunk-ZBBVBZBR.js +0 -137
  334. package/chunks/chunk-bdqvmfwv-OHYAFAAO.js +0 -17446
  335. package/chunks/discovery-XLHITE74.js +0 -220
  336. package/chunks/dispatch-FW7DX2CR.js +0 -43
  337. package/chunks/nonInteractiveCli-3XFIFXBR.js +0 -166
  338. package/chunks/opentui-entry-TEHHLGN7.js +0 -52419
  339. package/chunks/runtime-gate-T4ICWGQJ.js +0 -89
  340. package/chunks/wrapper-46Z24CTM.js +0 -35
  341. package/web-shell/assets/channel-BxvRq3pV.js +0 -1
  342. package/web-shell/assets/classDiagram-4FO5ZUOK-tL8nAxYf.js +0 -1
  343. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-tL8nAxYf.js +0 -1
  344. package/web-shell/assets/index-BgjULKyF.css +0 -5
  345. package/web-shell/assets/index-CxXlPYfl.js +0 -1789
  346. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BWGkVGVB.js +0 -1
  347. /package/chunks/{chunk-44CTCCLY.js → chunk-NWNEANAT.js} +0 -0
@@ -1,622 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- ICON
5
- } from "./chunk-VBKTP7TH.js";
6
- import {
7
- theme
8
- } from "./chunk-JOVJCXN4.js";
9
- import {
10
- getCachedStringWidth
11
- } from "./chunk-4NFY2S7N.js";
12
- import {
13
- MAIN_SOURCE
14
- } from "./chunk-UAAWNTOC.js";
15
- import {
16
- ToolDisplayNames,
17
- ToolNames
18
- } from "./chunk-ZRT36RSF.js";
19
- import {
20
- sanitizeForOsc,
21
- wrapForMultiplexer
22
- } from "./chunk-CDDLHCC2.js";
23
- import {
24
- init_esbuild_shims
25
- } from "./chunk-5O2XNYP6.js";
26
- import {
27
- __name
28
- } from "./chunk-J2S4EL5Y.js";
29
-
30
- // packages/cli/src/ui/utils/sessionPickerUtils.ts
31
- init_esbuild_shims();
32
- var graphemeSegmenter = new Intl.Segmenter(void 0, {
33
- granularity: "grapheme"
34
- });
35
- var SESSION_PAGE_SIZE = 20;
36
- function truncateText(text, maxWidth) {
37
- const widthLimit = Math.max(0, Math.floor(maxWidth));
38
- if (widthLimit === 0) {
39
- return "";
40
- }
41
- const firstLine = text.split(/\r?\n/, 1)[0];
42
- if (getCachedStringWidth(firstLine) <= widthLimit) {
43
- return firstLine;
44
- }
45
- if (widthLimit <= 3) {
46
- return truncateToDisplayWidth(firstLine, widthLimit);
47
- }
48
- return `${truncateToDisplayWidth(firstLine, widthLimit - 3)}...`;
49
- }
50
- __name(truncateText, "truncateText");
51
- function truncateToDisplayWidth(text, maxWidth) {
52
- let width = 0;
53
- let result = "";
54
- for (const { segment } of graphemeSegmenter.segment(text)) {
55
- const segmentWidth = getCachedStringWidth(segment);
56
- if (width + segmentWidth > maxWidth) {
57
- break;
58
- }
59
- result += segment;
60
- width += segmentWidth;
61
- }
62
- return result;
63
- }
64
- __name(truncateToDisplayWidth, "truncateToDisplayWidth");
65
- function matchesQuery(session, normalizedQuery) {
66
- if (!normalizedQuery) return true;
67
- const haystacks = [
68
- session.customTitle,
69
- session.prompt,
70
- session.gitBranch
71
- ];
72
- for (const h of haystacks) {
73
- if (h && h.toLowerCase().includes(normalizedQuery)) return true;
74
- }
75
- return false;
76
- }
77
- __name(matchesQuery, "matchesQuery");
78
- function filterSessions(sessions, filterByBranch, currentBranch, query) {
79
- const normalizedQuery = query?.toLowerCase().trim() ?? "";
80
- return sessions.filter((session) => {
81
- if (filterByBranch && currentBranch) {
82
- if (session.gitBranch !== currentBranch) return false;
83
- }
84
- return matchesQuery(session, normalizedQuery);
85
- });
86
- }
87
- __name(filterSessions, "filterSessions");
88
- function formatMessageCount(count) {
89
- return count === 1 ? "1 message" : `${count} messages`;
90
- }
91
- __name(formatMessageCount, "formatMessageCount");
92
-
93
- // packages/cli/src/ui/utils/osc8.ts
94
- init_esbuild_shims();
95
- function osc8Open(url) {
96
- return wrapForMultiplexer(`\x1B]8;;${sanitizeForOsc(url)}\x07`);
97
- }
98
- __name(osc8Open, "osc8Open");
99
- function osc8Close() {
100
- return wrapForMultiplexer(`\x1B]8;;\x07`);
101
- }
102
- __name(osc8Close, "osc8Close");
103
- var SAFE_OSC8_SCHEMES = /* @__PURE__ */ new Set([
104
- "http:",
105
- "https:",
106
- "mailto:",
107
- "ftp:",
108
- "ftps:",
109
- "sftp:",
110
- "ssh:"
111
- ]);
112
- function isSafeOscScheme(url) {
113
- const match = url.match(/^([a-z][a-z0-9+.-]*:)/i);
114
- if (!match) return false;
115
- return SAFE_OSC8_SCHEMES.has(match[1].toLowerCase());
116
- }
117
- __name(isSafeOscScheme, "isSafeOscScheme");
118
- var BARE_URL_BREAK_CHARACTERS = String.raw`\u3001-\u3004\u3008-\u3020\u302e-\u3030\u3036-\u3037\u303d-\u303f\uff01-\uff0f\uff1a-\uff20\uff3b-\uff40\uff5b-\uff65\ufe10-\ufe1f\ufe30-\ufe32\ufe35-\ufe6f`;
119
- var BARE_URL_BREAK_PATTERN = new RegExp(`[${BARE_URL_BREAK_CHARACTERS}]`);
120
- function trimTrailingUrlPunctuation(url, nextCharacter = "") {
121
- let openParen = 0;
122
- let openBracket = 0;
123
- let openBrace = 0;
124
- let closeParen = 0;
125
- let closeBracket = 0;
126
- let closeBrace = 0;
127
- for (let i = 0; i < url.length; i++) {
128
- const cc = url.charCodeAt(i);
129
- if (cc === 40) openParen++;
130
- else if (cc === 91) openBracket++;
131
- else if (cc === 123) openBrace++;
132
- else if (cc === 41) closeParen++;
133
- else if (cc === 93) closeBracket++;
134
- else if (cc === 125) closeBrace++;
135
- }
136
- let end = url.length;
137
- if (url.charCodeAt(end - 1) === 95 && BARE_URL_BREAK_PATTERN.test(nextCharacter)) {
138
- end--;
139
- }
140
- while (end > 0) {
141
- const c = url.charCodeAt(end - 1);
142
- if (c === 46 || c === 44 || c === 59 || c === 58 || c === 33 || c === 63 || c === 39 || c === 34 || c === 96 || c === 62) {
143
- end--;
144
- continue;
145
- }
146
- if (c === 41 && closeParen > openParen) {
147
- closeParen--;
148
- end--;
149
- continue;
150
- }
151
- if (c === 93 && closeBracket > openBracket) {
152
- closeBracket--;
153
- end--;
154
- continue;
155
- }
156
- if (c === 125 && closeBrace > openBrace) {
157
- closeBrace--;
158
- end--;
159
- continue;
160
- }
161
- break;
162
- }
163
- return url.slice(0, end);
164
- }
165
- __name(trimTrailingUrlPunctuation, "trimTrailingUrlPunctuation");
166
- var MD_LINK_PATTERN = String.raw`\[.*?\]\((?:[^()]|\([^()]*\))*\)`;
167
- var MD_LINK_CAPTURE = /^\[(.*?)\]\(((?:[^()]|\([^()]*\))*)\)$/;
168
- var BARE_URL_PATTERN = String.raw`https?:\/\/[^\s${BARE_URL_BREAK_CHARACTERS}]+`;
169
- function shouldWrapMarkdownLink(url, canHyperlink) {
170
- return canHyperlink && isSafeOscScheme(url) && !/\s/.test(url);
171
- }
172
- __name(shouldWrapMarkdownLink, "shouldWrapMarkdownLink");
173
- var HOST_LIKE_RE = /\b[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)*\.[a-z]{2,}\b/gi;
174
- var IPV4_LIKE_RE = /\b(?:\d{1,3}\.){3}\d{1,3}\b/g;
175
- function targetHostname(url) {
176
- try {
177
- const u = new URL(url);
178
- if (u.protocol === "mailto:") {
179
- const at = u.pathname.lastIndexOf("@");
180
- return at >= 0 ? u.pathname.slice(at + 1).toLowerCase() || void 0 : void 0;
181
- }
182
- return u.hostname.toLowerCase() || void 0;
183
- } catch {
184
- return void 0;
185
- }
186
- }
187
- __name(targetHostname, "targetHostname");
188
- function labelMayDeceive(label, url) {
189
- if (label === url) return false;
190
- if (/:\/\//.test(label) || /^[a-z][a-z0-9+.-]*:/i.test(label.trim())) {
191
- return true;
192
- }
193
- const lower = label.toLowerCase();
194
- const labelHosts = [
195
- ...lower.match(HOST_LIKE_RE) ?? [],
196
- ...lower.match(IPV4_LIKE_RE) ?? []
197
- ];
198
- if (labelHosts.length === 0) return false;
199
- const target = targetHostname(url);
200
- if (!target) return true;
201
- return labelHosts.some((h) => h !== target);
202
- }
203
- __name(labelMayDeceive, "labelMayDeceive");
204
-
205
- // packages/cli/src/ui/utils/displayUtils.ts
206
- init_esbuild_shims();
207
- function getArenaStatusLabel(status) {
208
- switch (status) {
209
- case "idle" /* IDLE */:
210
- return { icon: "\u2713", text: "Idle", color: theme.status.success };
211
- case "completed" /* COMPLETED */:
212
- return { icon: "\u2713", text: "Done", color: theme.status.success };
213
- case "cancelled" /* CANCELLED */:
214
- return { icon: "\u2298", text: "Cancelled", color: theme.status.warning };
215
- case "failed" /* FAILED */:
216
- return { icon: "\u2717", text: "Failed", color: theme.status.error };
217
- case "running" /* RUNNING */:
218
- return {
219
- icon: ICON.CIRCLE_EMPTY,
220
- text: "Running",
221
- color: theme.text.secondary
222
- };
223
- case "initializing" /* INITIALIZING */:
224
- return {
225
- icon: ICON.CIRCLE_EMPTY,
226
- text: "Initializing",
227
- color: theme.text.secondary
228
- };
229
- default:
230
- return {
231
- icon: ICON.CIRCLE_EMPTY,
232
- text: status,
233
- color: theme.text.secondary
234
- };
235
- }
236
- }
237
- __name(getArenaStatusLabel, "getArenaStatusLabel");
238
- var TOOL_SUCCESS_RATE_HIGH = 95;
239
- var TOOL_SUCCESS_RATE_MEDIUM = 85;
240
- var USER_AGREEMENT_RATE_HIGH = 75;
241
- var USER_AGREEMENT_RATE_MEDIUM = 45;
242
- var getStatusColor = /* @__PURE__ */ __name((value, thresholds, options = {}) => {
243
- if (value >= thresholds.green) {
244
- return theme.status.success;
245
- }
246
- if (value >= thresholds.yellow) {
247
- return theme.status.warning;
248
- }
249
- if (thresholds.red != null && value >= thresholds.red) {
250
- return theme.status.error;
251
- }
252
- return options.defaultColor ?? theme.status.error;
253
- }, "getStatusColor");
254
- function formatDuration(ms) {
255
- const totalSeconds = Math.round(ms / 1e3);
256
- if (totalSeconds < 60) {
257
- return `${totalSeconds}s`;
258
- }
259
- const minutes = Math.floor(totalSeconds / 60);
260
- const seconds = totalSeconds % 60;
261
- return seconds > 0 ? `${minutes}m ${seconds}s` : `${minutes}m`;
262
- }
263
- __name(formatDuration, "formatDuration");
264
-
265
- // packages/cli/src/ui/keyMatchers.ts
266
- init_esbuild_shims();
267
-
268
- // packages/cli/src/config/keyBindings.ts
269
- init_esbuild_shims();
270
- var Command = /* @__PURE__ */ ((Command2) => {
271
- Command2["RETURN"] = "return";
272
- Command2["ESCAPE"] = "escape";
273
- Command2["HOME"] = "home";
274
- Command2["END"] = "end";
275
- Command2["KILL_LINE_RIGHT"] = "killLineRight";
276
- Command2["KILL_LINE_LEFT"] = "killLineLeft";
277
- Command2["CLEAR_INPUT"] = "clearInput";
278
- Command2["DELETE_WORD_BACKWARD"] = "deleteWordBackward";
279
- Command2["CLEAR_SCREEN"] = "clearScreen";
280
- Command2["HISTORY_UP"] = "historyUp";
281
- Command2["HISTORY_DOWN"] = "historyDown";
282
- Command2["NAVIGATION_UP"] = "navigationUp";
283
- Command2["NAVIGATION_DOWN"] = "navigationDown";
284
- Command2["SELECTION_UP"] = "selectionUp";
285
- Command2["SELECTION_DOWN"] = "selectionDown";
286
- Command2["ACCEPT_SUGGESTION"] = "acceptSuggestion";
287
- Command2["COMPLETION_UP"] = "completionUp";
288
- Command2["COMPLETION_DOWN"] = "completionDown";
289
- Command2["COMPLETION_TAB_LEFT"] = "completionTabLeft";
290
- Command2["COMPLETION_TAB_RIGHT"] = "completionTabRight";
291
- Command2["SUBMIT"] = "submit";
292
- Command2["QUEUE_MESSAGE"] = "queueMessage";
293
- Command2["NEWLINE"] = "newline";
294
- Command2["VOICE_PUSH_TO_TALK"] = "voicePushToTalk";
295
- Command2["OPEN_EXTERNAL_EDITOR"] = "openExternalEditor";
296
- Command2["PASTE_CLIPBOARD_IMAGE"] = "pasteClipboardImage";
297
- Command2["TOGGLE_TOOL_DESCRIPTIONS"] = "toggleToolDescriptions";
298
- Command2["TOGGLE_IDE_CONTEXT_DETAIL"] = "toggleIDEContextDetail";
299
- Command2["QUIT"] = "quit";
300
- Command2["EXIT"] = "exit";
301
- Command2["SHOW_MORE_LINES"] = "showMoreLines";
302
- Command2["RETRY_LAST"] = "retryLast";
303
- Command2["TOGGLE_RENDER_MODE"] = "toggleRenderMode";
304
- Command2["PROMOTE_SHELL_TO_BACKGROUND"] = "promoteShellToBackground";
305
- Command2["REVERSE_SEARCH"] = "reverseSearch";
306
- Command2["SUBMIT_REVERSE_SEARCH"] = "submitReverseSearch";
307
- Command2["ACCEPT_SUGGESTION_REVERSE_SEARCH"] = "acceptSuggestionReverseSearch";
308
- Command2["TOGGLE_SHELL_INPUT_FOCUS"] = "toggleShellInputFocus";
309
- Command2["EXPAND_SUGGESTION"] = "expandSuggestion";
310
- Command2["COLLAPSE_SUGGESTION"] = "collapseSuggestion";
311
- Command2["TOGGLE_THINKING_EXPANDED"] = "toggleThinkingExpanded";
312
- Command2["SCROLL_UP"] = "scrollUp";
313
- Command2["SCROLL_DOWN"] = "scrollDown";
314
- Command2["PAGE_UP"] = "pageUp";
315
- Command2["PAGE_DOWN"] = "pageDown";
316
- Command2["SCROLL_HOME"] = "scrollHome";
317
- Command2["SCROLL_END"] = "scrollEnd";
318
- return Command2;
319
- })(Command || {});
320
- var defaultKeyBindings = {
321
- // Basic bindings
322
- ["return" /* RETURN */]: [{ key: "return" }],
323
- ["escape" /* ESCAPE */]: [{ key: "escape" }],
324
- // Cursor movement
325
- ["home" /* HOME */]: [{ key: "a", ctrl: true }],
326
- ["end" /* END */]: [{ key: "e", ctrl: true }],
327
- // Text deletion
328
- ["killLineRight" /* KILL_LINE_RIGHT */]: [{ key: "k", ctrl: true }],
329
- ["killLineLeft" /* KILL_LINE_LEFT */]: [{ key: "u", ctrl: true }],
330
- ["clearInput" /* CLEAR_INPUT */]: [{ key: "c", ctrl: true, shift: false }],
331
- // Added command (meta/alt/option) for mac compatibility
332
- ["deleteWordBackward" /* DELETE_WORD_BACKWARD */]: [
333
- { key: "backspace", ctrl: true },
334
- { key: "backspace", command: true },
335
- // MinTTY (Git Bash on Windows) emits the byte \x1f (ASCII Unit
336
- // Separator, rendered as "^_" by `cat -v`) for Ctrl+Backspace under
337
- // its standard Ctrl-modifies-meta-keys convention. The same byte is
338
- // the historical Ctrl-mapping of the Unit Separator on traditional
339
- // ANSI/VT terminals (Ctrl+_ and Ctrl+/ also emit it), but qwen-code
340
- // doesn't bind those keystrokes elsewhere so this entry is additive
341
- // and non-conflicting on every platform.
342
- { sequence: "" }
343
- ],
344
- // Screen control
345
- ["clearScreen" /* CLEAR_SCREEN */]: [{ key: "l", ctrl: true }],
346
- // History navigation
347
- ["historyUp" /* HISTORY_UP */]: [{ key: "p", ctrl: true }],
348
- ["historyDown" /* HISTORY_DOWN */]: [{ key: "n", ctrl: true }],
349
- ["navigationUp" /* NAVIGATION_UP */]: [{ key: "up", shift: false }],
350
- ["navigationDown" /* NAVIGATION_DOWN */]: [{ key: "down", shift: false }],
351
- // Selection-list nav: arrows + k/j + Ctrl+P/Ctrl+N
352
- // ctrl: false on bare k/j skips Ctrl+K and Ctrl+J
353
- ["selectionUp" /* SELECTION_UP */]: [
354
- { key: "up", shift: false },
355
- { key: "k", ctrl: false },
356
- { key: "p", ctrl: true }
357
- ],
358
- ["selectionDown" /* SELECTION_DOWN */]: [
359
- { key: "down", shift: false },
360
- { key: "j", ctrl: false },
361
- { key: "n", ctrl: true }
362
- ],
363
- // Auto-completion
364
- ["acceptSuggestion" /* ACCEPT_SUGGESTION */]: [
365
- { key: "tab" },
366
- { key: "return", ctrl: false, shift: false }
367
- ],
368
- // Completion navigation: arrows + readline/Vim-style Ctrl+P/Ctrl+N
369
- ["completionUp" /* COMPLETION_UP */]: [
370
- { key: "up", shift: false },
371
- { key: "p", ctrl: true }
372
- ],
373
- ["completionDown" /* COMPLETION_DOWN */]: [
374
- { key: "down", shift: false },
375
- { key: "n", ctrl: true }
376
- ],
377
- // Completion category tab switching (for the tabbed @ completion UI).
378
- // Bound to the BARE arrow keys: Ctrl+←/→ was the original binding but many
379
- // terminals intercept it for word-jump, and on macOS the system claims it
380
- // for Mission Control, so the documented gesture was unreachable for most
381
- // users (#8069).
382
- //
383
- // Tradeoff, accepted deliberately: while the `@` category tabs are visible,
384
- // the bare arrows no longer move the caret in the input buffer — press Esc
385
- // to dismiss the menu first. InputPrompt only renders and handles the tabs
386
- // when they own the arrows, so search and attachment navigation keep their
387
- // normal behavior.
388
- //
389
- // Modifiers are pinned false so Alt/Option+arrow word movement and any
390
- // Ctrl+arrow terminal binding fall through untouched.
391
- ["completionTabLeft" /* COMPLETION_TAB_LEFT */]: [
392
- { key: "left", shift: false, ctrl: false, meta: false }
393
- ],
394
- ["completionTabRight" /* COMPLETION_TAB_RIGHT */]: [
395
- { key: "right", shift: false, ctrl: false, meta: false }
396
- ],
397
- // Text input
398
- // Must also exclude shift to allow shift+enter for newline
399
- ["submit" /* SUBMIT */]: [
400
- {
401
- key: "return",
402
- ctrl: false,
403
- command: false,
404
- paste: false,
405
- shift: false
406
- }
407
- ],
408
- ["queueMessage" /* QUEUE_MESSAGE */]: [
409
- { key: "q", ctrl: true, command: false, shift: false, paste: false }
410
- ],
411
- // Split into multiple data-driven bindings
412
- // Now also includes shift+enter for multi-line input
413
- ["newline" /* NEWLINE */]: [
414
- { key: "return", ctrl: true },
415
- { key: "return", command: true },
416
- { key: "return", paste: true },
417
- { key: "return", shift: true },
418
- { key: "j", ctrl: true }
419
- ],
420
- ["voicePushToTalk" /* VOICE_PUSH_TO_TALK */]: [{ key: "space", ctrl: false, meta: false }],
421
- // External tools
422
- ["openExternalEditor" /* OPEN_EXTERNAL_EDITOR */]: [
423
- { key: "x", ctrl: true },
424
- { sequence: "", ctrl: true }
425
- ],
426
- ["pasteClipboardImage" /* PASTE_CLIPBOARD_IMAGE */]: process.platform === "win32" ? [
427
- { key: "v", command: true },
428
- { key: "v", meta: true }
429
- ] : [
430
- { key: "v", ctrl: true },
431
- { key: "v", command: true }
432
- ],
433
- // App level bindings
434
- ["toggleToolDescriptions" /* TOGGLE_TOOL_DESCRIPTIONS */]: [{ key: "t", ctrl: true }],
435
- ["toggleIDEContextDetail" /* TOGGLE_IDE_CONTEXT_DETAIL */]: [{ key: "g", ctrl: true }],
436
- ["quit" /* QUIT */]: [{ key: "c", ctrl: true, shift: false }],
437
- ["exit" /* EXIT */]: [{ key: "d", ctrl: true }],
438
- ["showMoreLines" /* SHOW_MORE_LINES */]: [{ key: "s", ctrl: true }],
439
- ["retryLast" /* RETRY_LAST */]: [{ key: "y", ctrl: true }],
440
- ["toggleRenderMode" /* TOGGLE_RENDER_MODE */]: [{ key: "m", meta: true }],
441
- ["promoteShellToBackground" /* PROMOTE_SHELL_TO_BACKGROUND */]: [{ key: "b", ctrl: true }],
442
- // Shell commands
443
- ["reverseSearch" /* REVERSE_SEARCH */]: [{ key: "r", ctrl: true }],
444
- // Note: original logic ONLY checked ctrl=false, ignored meta/shift/paste
445
- ["submitReverseSearch" /* SUBMIT_REVERSE_SEARCH */]: [{ key: "return", ctrl: false }],
446
- ["acceptSuggestionReverseSearch" /* ACCEPT_SUGGESTION_REVERSE_SEARCH */]: [{ key: "tab" }],
447
- ["toggleShellInputFocus" /* TOGGLE_SHELL_INPUT_FOCUS */]: [{ key: "f", ctrl: true }],
448
- // Suggestion expansion
449
- ["expandSuggestion" /* EXPAND_SUGGESTION */]: [{ key: "right" }],
450
- ["collapseSuggestion" /* COLLAPSE_SUGGESTION */]: [{ key: "left" }],
451
- // Thinking expansion (Ctrl+O primary, Alt+T legacy)
452
- ["toggleThinkingExpanded" /* TOGGLE_THINKING_EXPANDED */]: [
453
- { key: "o", ctrl: true },
454
- { key: "t", meta: true }
455
- ],
456
- // Scroll commands
457
- ["scrollUp" /* SCROLL_UP */]: [{ key: "up", shift: true }],
458
- ["scrollDown" /* SCROLL_DOWN */]: [{ key: "down", shift: true }],
459
- ["pageUp" /* PAGE_UP */]: [{ key: "pageup" }],
460
- ["pageDown" /* PAGE_DOWN */]: [{ key: "pagedown" }],
461
- ["scrollHome" /* SCROLL_HOME */]: [{ key: "home", ctrl: true }],
462
- ["scrollEnd" /* SCROLL_END */]: [{ key: "end", ctrl: true }]
463
- };
464
-
465
- // packages/cli/src/ui/keyMatchers.ts
466
- function matchKeyBinding(keyBinding, key) {
467
- let keyMatches = false;
468
- if (keyBinding.key !== void 0) {
469
- keyMatches = keyBinding.key === key.name;
470
- } else if (keyBinding.sequence !== void 0) {
471
- keyMatches = keyBinding.sequence === key.sequence;
472
- } else {
473
- return false;
474
- }
475
- if (!keyMatches) {
476
- return false;
477
- }
478
- if (keyBinding.ctrl !== void 0 && !!key.ctrl !== keyBinding.ctrl) {
479
- return false;
480
- }
481
- if (keyBinding.shift !== void 0 && !!key.shift !== keyBinding.shift) {
482
- return false;
483
- }
484
- if (keyBinding.command !== void 0 && !!key.meta !== keyBinding.command) {
485
- return false;
486
- }
487
- if (keyBinding.paste !== void 0 && !!key.paste !== keyBinding.paste) {
488
- return false;
489
- }
490
- if (keyBinding.meta !== void 0 && !!key.meta !== keyBinding.meta) {
491
- return false;
492
- }
493
- return true;
494
- }
495
- __name(matchKeyBinding, "matchKeyBinding");
496
- function matchCommand(command, key, config = defaultKeyBindings) {
497
- const bindings = config[command];
498
- return bindings.some((binding) => matchKeyBinding(binding, key));
499
- }
500
- __name(matchCommand, "matchCommand");
501
- function createKeyMatchers(config = defaultKeyBindings) {
502
- const matchers = {};
503
- for (const command of Object.values(Command)) {
504
- matchers[command] = (key) => matchCommand(command, key, config);
505
- }
506
- return matchers;
507
- }
508
- __name(createKeyMatchers, "createKeyMatchers");
509
- var keyMatchers = createKeyMatchers(defaultKeyBindings);
510
-
511
- // packages/cli/src/ui/utils/tool-display-map.ts
512
- init_esbuild_shims();
513
- var TOOL_DISPLAY_BY_NAME = Object.fromEntries(
514
- Object.keys(ToolNames).map((key) => [
515
- ToolNames[key],
516
- ToolDisplayNames[key]
517
- ])
518
- );
519
-
520
- // packages/cli/src/ui/utils/modelsBySource.ts
521
- init_esbuild_shims();
522
- function flattenModelsBySource(models) {
523
- const sessionHasNonMainSource = Object.values(models).some(
524
- (modelMetrics) => Object.keys(modelMetrics.bySource).some((source) => source !== MAIN_SOURCE)
525
- );
526
- const result = [];
527
- for (const [modelName, modelMetrics] of Object.entries(models)) {
528
- if (modelMetrics.api.totalRequests <= 0) continue;
529
- const displayName = normalizeModelName(modelName);
530
- const sourceNames = Object.keys(modelMetrics.bySource);
531
- if (sourceNames.length === 0) {
532
- result.push({
533
- key: modelName,
534
- label: displayName,
535
- metrics: modelMetrics
536
- });
537
- continue;
538
- }
539
- if (!sessionHasNonMainSource) {
540
- result.push({
541
- key: modelName,
542
- label: displayName,
543
- metrics: modelMetrics.bySource[MAIN_SOURCE] ?? modelMetrics
544
- });
545
- continue;
546
- }
547
- const sortedSources = sortSources(sourceNames);
548
- for (const source of sortedSources) {
549
- result.push({
550
- key: `${modelName}::${source}`,
551
- label: `${displayName} (${source})`,
552
- metrics: modelMetrics.bySource[source]
553
- });
554
- }
555
- }
556
- return result;
557
- }
558
- __name(flattenModelsBySource, "flattenModelsBySource");
559
- function normalizeModelName(modelName) {
560
- return modelName.replace("-001", "");
561
- }
562
- __name(normalizeModelName, "normalizeModelName");
563
- function sortSources(sources) {
564
- const main = [];
565
- const rest = [];
566
- for (const source of sources) {
567
- if (source === MAIN_SOURCE) {
568
- main.push(source);
569
- } else {
570
- rest.push(source);
571
- }
572
- }
573
- rest.sort((a, b) => a.localeCompare(b));
574
- return [...main, ...rest];
575
- }
576
- __name(sortSources, "sortSources");
577
-
578
- export {
579
- SESSION_PAGE_SIZE,
580
- truncateText,
581
- filterSessions,
582
- formatMessageCount,
583
- osc8Open,
584
- osc8Close,
585
- isSafeOscScheme,
586
- trimTrailingUrlPunctuation,
587
- MD_LINK_PATTERN,
588
- MD_LINK_CAPTURE,
589
- BARE_URL_PATTERN,
590
- shouldWrapMarkdownLink,
591
- labelMayDeceive,
592
- getArenaStatusLabel,
593
- TOOL_SUCCESS_RATE_HIGH,
594
- TOOL_SUCCESS_RATE_MEDIUM,
595
- USER_AGREEMENT_RATE_HIGH,
596
- USER_AGREEMENT_RATE_MEDIUM,
597
- getStatusColor,
598
- formatDuration,
599
- keyMatchers,
600
- TOOL_DISPLAY_BY_NAME,
601
- flattenModelsBySource
602
- };
603
- /**
604
- * @license
605
- * Copyright 2025 Qwen Code
606
- * SPDX-License-Identifier: Apache-2.0
607
- */
608
- /**
609
- * @license
610
- * Copyright 2025 Qwen
611
- * SPDX-License-Identifier: Apache-2.0
612
- */
613
- /**
614
- * @license
615
- * Copyright 2025 Google LLC
616
- * SPDX-License-Identifier: Apache-2.0
617
- */
618
- /**
619
- * @license
620
- * Copyright 2025 Qwen Team
621
- * SPDX-License-Identifier: Apache-2.0
622
- */
@@ -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/cli/src/ui/utils/suggestions.ts
8
- init_esbuild_shims();
9
- var MAX_SUGGESTIONS_TO_SHOW = 8;
10
-
11
- export {
12
- MAX_SUGGESTIONS_TO_SHOW
13
- };
14
- /**
15
- * @license
16
- * Copyright 2025 Google LLC
17
- * SPDX-License-Identifier: Apache-2.0
18
- */