@qwen-code/qwen-code 0.21.12-preview.4 → 0.21.12

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 (337) hide show
  1. package/bundled/qc-helper/docs/features/channels/overview.md +1 -1
  2. package/bundled/qc-helper/docs/features/channels/plugins.md +11 -11
  3. package/bundled/qc-helper/docs/qwen-serve.md +65 -0
  4. package/chunks/{MaxSizedBox-GFI5RYXH.js → MaxSizedBox-ZSJJ2D5S.js} +45 -45
  5. package/chunks/{StandaloneSessionPicker-JFWRY4V2.js → StandaloneSessionPicker-WHUHQXSA.js} +64 -65
  6. package/chunks/{acp-startup-profiler-TVI2OVUN.js → acp-startup-profiler-SVPUHLXV.js} +2 -2
  7. package/chunks/{acpAgent-7YC6SNIS.js → acpAgent-7JOAESF5.js} +378 -201
  8. package/chunks/{agent-43KVQSB5.js → agent-E6V3VXQR.js} +41 -41
  9. package/chunks/{agent-headless-P2N7PDGQ.js → agent-headless-OEQNFOMH.js} +41 -41
  10. package/chunks/{anthropicContentGenerator-ZBBX5VMY.js → anthropicContentGenerator-YDT4EOKO.js} +25 -25
  11. package/chunks/{artifact-tool-RWJAKYBZ.js → artifact-tool-4GCQQDZI.js} +5 -5
  12. package/chunks/{askUserQuestion-IQCA2SOX.js → askUserQuestion-HZJJLR3Z.js} +2 -2
  13. package/chunks/{bridge-ZBMNALLA.js → bridge-NPBV53UA.js} +47 -47
  14. package/chunks/{build-RZS65IIX.js → build-GDBLPA24.js} +1 -1
  15. package/chunks/{channel-management-service-5ZYX4ROW.js → channel-management-service-OADNGQM3.js} +4 -4
  16. package/chunks/{channel-settings-store-ZJWM7EDP.js → channel-settings-store-4ODLJ4X2.js} +48 -48
  17. package/chunks/{channel-worker-group-QFJKXO7R.js → channel-worker-group-IHBIHQ45.js} +7 -7
  18. package/chunks/{channel-worker-manager-PWD2UURZ.js → channel-worker-manager-GEHYJ5AE.js} +7 -7
  19. package/chunks/{channel-worker-supervisor-XQJBGFCM.js → channel-worker-supervisor-ZJIIWM4I.js} +5 -5
  20. package/chunks/{chunk-LHOG4E6Y.js → chunk-22C7BQ6D.js} +3 -3
  21. package/chunks/{chunk-2SB4SLKC.js → chunk-2IIJTXYF.js} +1 -3
  22. package/chunks/{chunk-QSMZHJ62.js → chunk-2IVYL3IF.js} +1 -1
  23. package/chunks/{chunk-QEWAHAW2.js → chunk-2ZWH53I4.js} +3 -3
  24. package/chunks/{chunk-6NQWER7D.js → chunk-36XKGB7E.js} +3 -3
  25. package/chunks/{chunk-7JL5YBSA.js → chunk-3AEKDXKT.js} +1 -1
  26. package/chunks/{chunk-H2U4FK62.js → chunk-3GDBZJD6.js} +6 -6
  27. package/chunks/{chunk-VPZMLGD3.js → chunk-3GM5DLBI.js} +5 -5
  28. package/chunks/{chunk-PYLVQ6RT.js → chunk-3LDGOQXZ.js} +6 -6
  29. package/chunks/{chunk-BKHCW2BI.js → chunk-3VUENPWF.js} +10 -0
  30. package/chunks/{chunk-XY7DGTIC.js → chunk-45NQKMYB.js} +1 -1
  31. package/chunks/{chunk-QWAI7FNT.js → chunk-47BGDLJG.js} +119 -27
  32. package/chunks/{chunk-H6BFLALJ.js → chunk-4AOVQPJU.js} +1 -1
  33. package/chunks/{chunk-UAAWNTOC.js → chunk-4KM2SYK5.js} +12 -12
  34. package/chunks/{chunk-VRQD5D7R.js → chunk-4XA4QIUA.js} +1 -1
  35. package/chunks/{chunk-BNRIQWXW.js → chunk-56HVDG3M.js} +4 -4
  36. package/chunks/{chunk-KB4ISUT3.js → chunk-5AFGJNY6.js} +4 -4
  37. package/chunks/{chunk-KTWUFHS4.js → chunk-5RUCD4ED.js} +2 -2
  38. package/chunks/{chunk-TB6DPBE4.js → chunk-62X3CM7Q.js} +7 -7
  39. package/chunks/{chunk-SNHBRO4C.js → chunk-63FNZTWG.js} +2 -2
  40. package/chunks/{chunk-GDNDZJSG.js → chunk-6JEIRPLN.js} +47 -4
  41. package/chunks/{chunk-A2QIWDFO.js → chunk-6P5EXEBL.js} +159 -34
  42. package/chunks/{chunk-NAOHSM56.js → chunk-6SPD4Z7F.js} +1 -1
  43. package/chunks/{chunk-MTV5W6WN.js → chunk-6ZKSO6K7.js} +7 -7
  44. package/chunks/{chunk-QSDPJROT.js → chunk-7KJPO7YH.js} +2 -2
  45. package/chunks/{chunk-JVY7FHUZ.js → chunk-7U5G6JXI.js} +9 -0
  46. package/chunks/{chunk-JW5UEE3V.js → chunk-A6NRNRKE.js} +1 -1
  47. package/chunks/{chunk-AAZWJAPQ.js → chunk-AKBFSOC5.js} +2 -2
  48. package/chunks/{chunk-ADJDLEVO.js → chunk-AW27A43Y.js} +9 -11
  49. package/chunks/{chunk-M4NWDIFU.js → chunk-AZQ3DT76.js} +1 -1
  50. package/chunks/{chunk-HY5OHJEC.js → chunk-B4VN3VDH.js} +5 -5
  51. package/chunks/{chunk-VUTOV2HG.js → chunk-BSR5AXZR.js} +4 -3
  52. package/chunks/{chunk-ARL4UGRW.js → chunk-BSSLSQEW.js} +3 -3
  53. package/chunks/{chunk-OSA2TFDI.js → chunk-CGM3E75C.js} +3 -3
  54. package/chunks/{chunk-OIZWCOYC.js → chunk-CIDQISGM.js} +5 -5
  55. package/chunks/{chunk-67F2BEYW.js → chunk-CPFFU46D.js} +1 -1
  56. package/chunks/{chunk-HOJZ2QQA.js → chunk-CQ6IPDQW.js} +3 -3
  57. package/chunks/{chunk-UWIJU22K.js → chunk-CZ4OWGQQ.js} +6 -8
  58. package/chunks/{chunk-A6GQUQ7I.js → chunk-D2RNVVH6.js} +2 -2
  59. package/chunks/{chunk-PSTHNTHF.js → chunk-D7QGE3RT.js} +1 -1
  60. package/chunks/{chunk-2U3UCXZ3.js → chunk-DAV4QFD5.js} +2 -11
  61. package/chunks/{chunk-4JS2QK7P.js → chunk-DD6O3ZRD.js} +1 -1
  62. package/chunks/{chunk-7WUMS2UA.js → chunk-DEDESZDL.js} +1 -1
  63. package/chunks/{chunk-VYDQD5J4.js → chunk-DFVXU5YM.js} +1 -1
  64. package/chunks/{chunk-CDDLHCC2.js → chunk-DG4IQ6JG.js} +5 -5
  65. package/chunks/{chunk-B66LYK4B.js → chunk-DPTMKFIH.js} +1 -1
  66. package/chunks/{chunk-GHOUZ5X4.js → chunk-EBPLKY6U.js} +384 -311
  67. package/chunks/{chunk-XL6GYJL2.js → chunk-EJOGLSNJ.js} +2 -2
  68. package/chunks/{chunk-4X5J3V2I.js → chunk-FA5K6YI2.js} +2 -2
  69. package/chunks/{chunk-ZZ7RUTJ4.js → chunk-FMIH5KMQ.js} +1 -1
  70. package/chunks/{chunk-UFHPAMAV.js → chunk-FQDCO3CJ.js} +6 -1
  71. package/chunks/{chunk-UHF5VBKO.js → chunk-FRHQQC2Z.js} +1 -1
  72. package/chunks/{chunk-6OJDN5ZT.js → chunk-G6MUFRNI.js} +1 -1
  73. package/chunks/{chunk-XUBM2A4F.js → chunk-GXTMEATA.js} +15 -34
  74. package/chunks/{chunk-V3NMFQD2.js → chunk-GZDWTBT3.js} +2 -2
  75. package/chunks/{chunk-5KZNWF2M.js → chunk-H7TMVHKE.js} +1 -1
  76. package/chunks/{chunk-YY23TR4M.js → chunk-HG3UBTJ4.js} +1 -1
  77. package/chunks/{chunk-YMB77M76.js → chunk-HOSVOUDK.js} +56 -0
  78. package/chunks/{chunk-NHZF4VCD.js → chunk-HTYND72J.js} +1 -1
  79. package/chunks/{chunk-JBZYGFIB.js → chunk-I7BT2MME.js} +1 -1
  80. package/chunks/{chunk-N3J3CO35.js → chunk-IH4Z54RJ.js} +7 -5
  81. package/chunks/{chunk-JXS2JNMZ.js → chunk-IRSLAS4M.js} +2 -2
  82. package/chunks/{chunk-CTEGMF77.js → chunk-IX4PWUDU.js} +155 -87
  83. package/chunks/{chunk-A4BAHMJF.js → chunk-JRIVMPD2.js} +3 -3
  84. package/chunks/{chunk-Q7YDKOGY.js → chunk-JVEGA3MM.js} +1 -1
  85. package/chunks/{chunk-U5C2GIN2.js → chunk-K34GJQOZ.js} +117 -3
  86. package/chunks/{chunk-YI5G32RU.js → chunk-KEC5FHLM.js} +3 -3
  87. package/chunks/{chunk-2RTRFLWH.js → chunk-KLOMACIR.js} +6 -6
  88. package/chunks/{chunk-XJ6IMYUS.js → chunk-KWX56CHZ.js} +7 -7
  89. package/chunks/{chunk-Y2HK3ELT.js → chunk-LCX5B364.js} +3 -3
  90. package/chunks/{chunk-JRTJEGSP.js → chunk-LSRI3ND3.js} +1 -1
  91. package/chunks/{chunk-T4G33L3W.js → chunk-LUISTZXI.js} +3 -3
  92. package/chunks/{chunk-Q7ALOKK7.js → chunk-MAKIANMX.js} +3 -3
  93. package/chunks/{chunk-QXFAQDBV.js → chunk-MDNUCDKZ.js} +2 -2
  94. package/chunks/{chunk-BXAGPCYH.js → chunk-MELQSJOU.js} +1 -1
  95. package/chunks/{chunk-B7IBCWDW.js → chunk-MUNA4QDC.js} +4 -4
  96. package/chunks/{chunk-3MJ44LNC.js → chunk-N4SVADAV.js} +264 -138
  97. package/chunks/{chunk-KK3FEHPJ.js → chunk-NLFLYSS4.js} +1 -1
  98. package/chunks/{chunk-UPUAGRKY.js → chunk-NW2GIPG3.js} +2 -4
  99. package/chunks/{chunk-LSMCI42W.js → chunk-NX4A23LY.js} +3 -3
  100. package/chunks/{chunk-TN3REXN4.js → chunk-OK47XBYH.js} +79 -36
  101. package/chunks/{chunk-L3YACXS2.js → chunk-OPVF453Q.js} +3 -3
  102. package/chunks/{chunk-NX5QZVRS.js → chunk-OR64CU46.js} +1 -1
  103. package/chunks/{chunk-JOVJCXN4.js → chunk-OWGRUU7F.js} +1 -1
  104. package/chunks/{chunk-V2U6FOJB.js → chunk-OWXFBIB6.js} +1 -1
  105. package/chunks/{chunk-6LDLDK6E.js → chunk-OYWVIXHT.js} +1 -3
  106. package/chunks/{chunk-V7RNNPGC.js → chunk-P5Y23G2L.js} +18 -1
  107. package/chunks/{chunk-32SNBMNP.js → chunk-PTSEETCO.js} +27 -27
  108. package/chunks/{chunk-C2DR57L6.js → chunk-PVXEJB66.js} +1 -1
  109. package/chunks/{chunk-O6SLWH4X.js → chunk-PZW46OTB.js} +2 -2
  110. package/chunks/{chunk-ECDXUCEO.js → chunk-Q4ZPYNIZ.js} +4 -4
  111. package/chunks/{chunk-QSWDGAIC.js → chunk-QILD6R27.js} +1 -1
  112. package/chunks/{chunk-6SU6OW5Z.js → chunk-QLTATTPS.js} +1 -1
  113. package/chunks/{chunk-NM33GGOM.js → chunk-QPBFRWCP.js} +3 -3
  114. package/chunks/{chunk-DUFZ3OW6.js → chunk-QSD4UH74.js} +842 -62
  115. package/chunks/{chunk-6T5HCY34.js → chunk-RDVNSJQU.js} +3 -3
  116. package/chunks/{chunk-3JI5D6RU.js → chunk-ROIJYS5K.js} +6 -6
  117. package/chunks/{chunk-WIHSDI6U.js → chunk-RQJA2YYO.js} +4 -4
  118. package/chunks/{chunk-JRMUA53D.js → chunk-S6TCTH4Z.js} +13 -13
  119. package/chunks/{chunk-FVHLDSQS.js → chunk-SYHXR6WM.js} +5 -5
  120. package/chunks/{chunk-FTGU6G45.js → chunk-TB4YFWXG.js} +2 -2
  121. package/chunks/{chunk-SFBRH5RY.js → chunk-TDESMS7M.js} +8 -8
  122. package/chunks/{chunk-EGB2PIYM.js → chunk-TMFWI4RC.js} +1 -1
  123. package/chunks/{chunk-2N6CV4PW.js → chunk-TQDFSQQF.js} +1 -1
  124. package/chunks/{chunk-TROB4PZY.js → chunk-TTRH3RTQ.js} +4 -4
  125. package/chunks/{chunk-E74YSVIN.js → chunk-TXP5NGG3.js} +1 -1
  126. package/chunks/{chunk-E3GLDLYB.js → chunk-TYAMGABM.js} +0 -6
  127. package/chunks/{chunk-APQTLUZ3.js → chunk-UI5UGEF4.js} +129 -8
  128. package/chunks/{chunk-TNETSI2A.js → chunk-ULNWG62W.js} +3 -3
  129. package/chunks/{chunk-FNVF5RR4.js → chunk-V6OBVAST.js} +1 -1
  130. package/chunks/{chunk-BGIKUE5J.js → chunk-VIFA5VJD.js} +1 -1
  131. package/chunks/{chunk-HWCHDINS.js → chunk-VLHR7F4E.js} +595 -58
  132. package/chunks/{chunk-SKRHR6N2.js → chunk-VPV7WBVT.js} +1 -1
  133. package/chunks/{chunk-FB5CQZMK.js → chunk-WCEI6J56.js} +1 -1
  134. package/chunks/{chunk-ORR5EFCL.js → chunk-WDVDVWJ3.js} +6 -6
  135. package/chunks/{chunk-B2BKFWJK.js → chunk-WI6GIM2M.js} +2 -2
  136. package/chunks/{chunk-N56NYJWY.js → chunk-WM3LUQLO.js} +7 -7
  137. package/chunks/{chunk-JGD35ZSJ.js → chunk-X5SLJOMF.js} +9 -7
  138. package/chunks/{chunk-Y5C24BUY.js → chunk-XAFIL4BD.js} +5 -5
  139. package/chunks/{chunk-IJCZP2MA.js → chunk-XDRXOSAD.js} +3 -3
  140. package/chunks/{chunk-FXWGMPAP.js → chunk-XH3KAV2G.js} +2 -2
  141. package/chunks/{chunk-NW7SPXVG.js → chunk-YBHUXEC6.js} +1 -1
  142. package/chunks/{chunk-2ASWIM4A.js → chunk-YBVVOSOH.js} +1 -1
  143. package/chunks/{chunk-62TIEFNN.js → chunk-YCHNAKC5.js} +16 -14
  144. package/chunks/{chunk-ZRT36RSF.js → chunk-YIGGWOJE.js} +1 -1
  145. package/chunks/{chunk-ZPZANKVP.js → chunk-YILJKX2T.js} +3 -3
  146. package/chunks/{chunk-Y2EOB7WZ.js → chunk-YX2RDGAL.js} +1 -1
  147. package/chunks/{chunk-UQPLUR4A.js → chunk-ZBB5EZZV.js} +2 -2
  148. package/chunks/{chunk-U7ROFHSH.js → chunk-ZLCT4C5A.js} +1 -1
  149. package/chunks/{chunk-ZA2JN5IZ.js → chunk-ZMY2P4L3.js} +3 -3
  150. package/chunks/{chunk-LIBTBTHP.js → chunk-ZQUY3ZJU.js} +4 -4
  151. package/chunks/{computer-use-J5VUY257.js → computer-use-F4URV4TU.js} +44 -44
  152. package/chunks/{config-utils-7JZQN6L2.js → config-utils-Z3OW3IQG.js} +4 -4
  153. package/chunks/{contextCommand-RCTGC36R.js → contextCommand-IGSS2U5J.js} +43 -43
  154. package/chunks/{core-runtime-REBZ5ZYE.js → core-runtime-H5CZDN3A.js} +41 -41
  155. package/chunks/{create-sub-session-TEEUROAZ.js → create-sub-session-PA7MFTHK.js} +41 -41
  156. package/chunks/{create-sub-session-23ULO5PO.js → create-sub-session-XT6DLYOE.js} +2 -2
  157. package/chunks/{cron-create-5WUTNKNF.js → cron-create-2JZ2TWTF.js} +4 -4
  158. package/chunks/{cron-delete-JEQ27YPS.js → cron-delete-CTPD2P26.js} +4 -4
  159. package/chunks/{cron-list-IXGCA7UR.js → cron-list-V44KHAF6.js} +4 -4
  160. package/chunks/{daemon-UBVOQMWY.js → daemon-GED37WOX.js} +28 -1
  161. package/chunks/daemon-git-worktree-guard-LZDCNJGV.js +2062 -0
  162. package/chunks/{daemon-status-provider-SV7KRLJ4.js → daemon-status-provider-QYM57Z44.js} +51 -52
  163. package/chunks/{daemon-trust-policy-LFUJ4NGF.js → daemon-trust-policy-TSRVEYZR.js} +47 -47
  164. package/chunks/{daemon-trust-policy-monitor-BQZ77NDD.js → daemon-trust-policy-monitor-2K2YETMT.js} +47 -47
  165. package/chunks/{deferred-core-runtime-F4XOQJQL.js → deferred-core-runtime-FKJ3OYE7.js} +43 -43
  166. package/chunks/{devtools-X6ROTKHE.js → devtools-4QFYJT6U.js} +1 -1
  167. package/chunks/{display-image-CAD7RAUM.js → display-image-M2ELAVN4.js} +4 -4
  168. package/chunks/{dist-B3ODKYEB.js → dist-4ZPG4BY6.js} +2 -2
  169. package/chunks/{dist-CCUH2Z4C.js → dist-BROOP2EG.js} +1 -1
  170. package/chunks/{dist-DANKRAB3.js → dist-IYYN3RUT.js} +2 -2
  171. package/chunks/{dist-5VDE7U3A.js → dist-JWMKPWT5.js} +3 -1
  172. package/chunks/{dist-6RK4U6VU.js → dist-K7IQB53U.js} +1 -1
  173. package/chunks/{dist-EZHCZSW6.js → dist-MAQXAQ2Y.js} +1 -1
  174. package/chunks/{dist-362MN6CP.js → dist-WJ4BHIEW.js} +2 -2
  175. package/chunks/{dist-M3XMEIP2.js → dist-YEPL4RAW.js} +1 -1
  176. package/chunks/{earlyInputCapture-JAJXDT2N.js → earlyInputCapture-WJBSJQUF.js} +42 -42
  177. package/chunks/{edit-OXBMFY5B.js → edit-X73LA4YO.js} +49 -48
  178. package/chunks/{enter-worktree-XS4JX4PO.js → enter-worktree-CLRQTIVN.js} +46 -46
  179. package/chunks/{enterPlanMode-J6PDPFFT.js → enterPlanMode-6BDYUQ5T.js} +47 -47
  180. package/chunks/{environment-BQW6FAZL.js → environment-WOAJXJDJ.js} +43 -43
  181. package/chunks/{errors-TMSN7AZN.js → errors-7OY5MXYY.js} +43 -43
  182. package/chunks/{exit-worktree-2RIE6DAO.js → exit-worktree-TFFJXCRT.js} +46 -46
  183. package/chunks/{exitPlanMode-QQL27HU4.js → exitPlanMode-WDURQMIU.js} +41 -41
  184. package/chunks/{external-tool-guard-provider-5HTGOPGU.js → external-tool-guard-provider-TE4DRY36.js} +1 -1
  185. package/chunks/{fast-path-TSGUVE5K.js → fast-path-QQLGC37M.js} +3 -3
  186. package/chunks/{gemini-RLTFENFV.js → gemini-VHE62IJL.js} +107 -102
  187. package/chunks/{geminiContentGenerator-B6W6PSO7.js → geminiContentGenerator-VSHIEGAQ.js} +11 -11
  188. package/chunks/{glob-JKVAHWL5.js → glob-VMEEDDLO.js} +48 -48
  189. package/chunks/{goal-tools-LQFO4BRY.js → goal-tools-M4UDAZXP.js} +4 -4
  190. package/chunks/{grep-6CN23ZPS.js → grep-F4UAR7KX.js} +46 -46
  191. package/chunks/{handleAutoUpdate-Y6BUNMBG.js → handleAutoUpdate-GN7Z6QAC.js} +45 -45
  192. package/chunks/{i18n-Y5PM6L5V.js → i18n-ETW24DHW.js} +42 -42
  193. package/chunks/{image-gen-DC2IQZ73.js → image-gen-YPK2AZT4.js} +11 -11
  194. package/chunks/{initializer-OYKKBNHO.js → initializer-UA6KQ7MS.js} +48 -48
  195. package/chunks/{installationInfo-63AFHLWA.js → installationInfo-P7OTIR4P.js} +42 -42
  196. package/chunks/{keychain-token-storage-GU75J2T2.js → keychain-token-storage-NKKCUHI2.js} +2 -2
  197. package/chunks/{list-KA63R3R6.js → list-GRAMIQOT.js} +50 -50
  198. package/chunks/{list-agents-5PNMK2AM.js → list-agents-O6WSY4CT.js} +2 -2
  199. package/chunks/{loadedSettingsAdapter-IGBJN7C5.js → loadedSettingsAdapter-5O2TDS3I.js} +47 -47
  200. package/chunks/{loggingContentGenerator-Z3NADCTQ.js → loggingContentGenerator-J2J2AANS.js} +54 -45
  201. package/chunks/{loop-wakeup-OV65FEGR.js → loop-wakeup-GVQRMUKS.js} +5 -5
  202. package/chunks/{ls-RPRSX26R.js → ls-6W2D7TKU.js} +6 -6
  203. package/chunks/{lsp-IWTJWFLT.js → lsp-NJ4KFBI2.js} +2 -2
  204. package/chunks/{managed-npm-update-HA262PFM.js → managed-npm-update-WMV5ITKU.js} +42 -42
  205. package/chunks/{mcp-T5ZUOKT3.js → mcp-XLP33CAI.js} +47 -47
  206. package/chunks/{monitor-SLGY7CYB.js → monitor-2MM23VDV.js} +46 -46
  207. package/chunks/{node-YSOU44FX.js → node-UUDY34IG.js} +3 -3
  208. package/chunks/nonInteractiveCli-KTA5K6FS.js +163 -0
  209. package/chunks/{notebook-edit-STSSB5KQ.js → notebook-edit-QD4TRKLY.js} +46 -46
  210. package/chunks/{openaiContentGenerator-OQED57JE.js → openaiContentGenerator-KLHSPVN2.js} +30 -30
  211. package/chunks/{pidfile-GES3MIHH.js → pidfile-RQGZBNXT.js} +42 -42
  212. package/chunks/{processUtils-FU6VMUOL.js → processUtils-HZZDA2VV.js} +2 -2
  213. package/chunks/{qwenContentGenerator-HWJSEGUL.js → qwenContentGenerator-T75M2Z3B.js} +49 -49
  214. package/chunks/{qwenOAuth2-PAIR7XEW.js → qwenOAuth2-5QZU444W.js} +10 -10
  215. package/chunks/{read-file-IYEBTQT5.js → read-file-LOVUSBJC.js} +11 -11
  216. package/chunks/{read-mcp-resource-THCSZHXO.js → read-mcp-resource-GWCP23WG.js} +2 -2
  217. package/chunks/{record-artifact-76YYQA5F.js → record-artifact-IYQDEYMV.js} +3 -3
  218. package/chunks/{resumeHistoryUtils-WP446RP5.js → resumeHistoryUtils-LVKSSQII.js} +49 -49
  219. package/chunks/{ripGrep-VV2CRCL2.js → ripGrep-ZJSHKB6H.js} +41 -41
  220. package/chunks/{run-qwen-serve-AHQCTALV.js → run-qwen-serve-GZW7B4WK.js} +68 -61
  221. package/chunks/{runtime-AUUZGDK6.js → runtime-MYRXEO2E.js} +52 -52
  222. package/chunks/{scheduler-Y4UPEURR.js → scheduler-DPTPI6FW.js} +43 -43
  223. package/chunks/{sdk-exporters-grpc-4QKV6MCX.js → sdk-exporters-grpc-54L4LS5L.js} +2 -2
  224. package/chunks/{sdk-exporters-http-A7XLKZO7.js → sdk-exporters-http-NHBYB5FZ.js} +12 -12
  225. package/chunks/{sdk-impl-XO4UF6PR.js → sdk-impl-SK4P5WON.js} +8 -8
  226. package/chunks/{send-message-P5SLP57G.js → send-message-O7FO63UK.js} +6 -6
  227. package/chunks/{serve-WI3SE4MY.js → serve-XCG4XCDA.js} +49 -49
  228. package/chunks/{server-G6JU6UWL.js → server-AWQHKXLG.js} +122 -117
  229. package/chunks/{session-2AO2UACB.js → session-P5FKNCNR.js} +91 -94
  230. package/chunks/{settings-3HRWSH66.js → settings-CSYVIP2R.js} +46 -46
  231. package/chunks/{shell-AR7XFLHA.js → shell-EGTSUO2P.js} +41 -41
  232. package/chunks/{skill-K6NOUUYM.js → skill-IFUD72GF.js} +21 -21
  233. package/chunks/{skill-settings-IOXQYS6X.js → skill-settings-YOE7LBHE.js} +46 -46
  234. package/chunks/{spawnChannel-V6P6HF4V.js → spawnChannel-PQSZIOLY.js} +44 -46
  235. package/chunks/{standalone-update-K5G3L2OJ.js → standalone-update-RB2EGUSF.js} +43 -43
  236. package/chunks/{startInteractiveUI-TRRP52QX.js → startInteractiveUI-KMYUJ2MU.js} +3036 -2405
  237. package/chunks/{syntheticOutput-SEW4NA47.js → syntheticOutput-DVHJMUGV.js} +3 -3
  238. package/chunks/{task-create-247EAVF7.js → task-create-4NC7PDI4.js} +11 -11
  239. package/chunks/{task-list-ZJN4QHLK.js → task-list-LBSRMOC7.js} +5 -5
  240. package/chunks/{task-stop-MAYQJ42I.js → task-stop-YFNATTIM.js} +2 -2
  241. package/chunks/{task-update-SU5TMZGG.js → task-update-BPLM52GD.js} +12 -12
  242. package/chunks/{team-create-IEEEBLE2.js → team-create-B6A6MJBT.js} +46 -46
  243. package/chunks/{team-delete-3XVRPQBP.js → team-delete-MKYMYBFM.js} +5 -5
  244. package/chunks/{team-plan-approval-SJGNS5JL.js → team-plan-approval-5WO3CXXU.js} +47 -47
  245. package/chunks/{terminal-image-renderer-C4RQMC67.js → terminal-image-renderer-BTRE2GEU.js} +43 -43
  246. package/chunks/{theme-manager-IKZQJQ6C.js → theme-manager-XL2N5SBY.js} +42 -42
  247. package/chunks/{todoWrite-IE2YTCK7.js → todoWrite-K5K7NRE5.js} +4 -4
  248. package/chunks/{tool-search-4UVNFYWU.js → tool-search-QNBLXUGR.js} +17 -17
  249. package/chunks/{total-session-admission-DIN6FTZP.js → total-session-admission-N4E5SFBO.js} +47 -47
  250. package/chunks/{trustedFolders-IAHOLV6A.js → trustedFolders-MQS46LIU.js} +42 -42
  251. package/chunks/{update-relaunch-5QSJ5CWP.js → update-relaunch-536KRL33.js} +5 -5
  252. package/chunks/{updateCheck-N4RT7HOZ.js → updateCheck-QJI2SYWF.js} +45 -45
  253. package/chunks/{useAutoAcceptIndicator-25T26VZS.js → useAutoAcceptIndicator-7QASHD46.js} +50 -50
  254. package/chunks/{validateNonInterActiveAuth-MCTVPLFE.js → validateNonInterActiveAuth-ZNRGWBLV.js} +83 -85
  255. package/chunks/{version-6PLZ7PCV.js → version-DBEQAFRW.js} +1 -1
  256. package/chunks/{web-fetch-5ANX6FSM.js → web-fetch-MBIVXKPE.js} +20 -20
  257. package/chunks/{web-search-KQJWWRHW.js → web-search-4LBIN6VF.js} +16 -16
  258. package/chunks/{workflow-C57ZKFUF.js → workflow-LNMA55HY.js} +54 -53
  259. package/chunks/{workspace-providers-status-3QAE4G4Y.js → workspace-providers-status-PDDMI6ST.js} +50 -50
  260. package/chunks/{workspace-registration-store-Q3J5LV6T.js → workspace-registration-store-BGRKKIYR.js} +1 -1
  261. package/chunks/{workspace-registry-DSJ5NAII.js → workspace-registry-L4NCJ34K.js} +47 -47
  262. package/chunks/{workspace-service-QW5LH7FA.js → workspace-service-LOXYKYTR.js} +53 -53
  263. package/chunks/{workspace-skills-status-N34ALJPZ.js → workspace-skills-status-IJ5FOQI6.js} +48 -48
  264. package/chunks/{workspace-trust-reconciler-YTOL7QEV.js → workspace-trust-reconciler-H36TCR2S.js} +55 -55
  265. package/chunks/{write-file-MSFRVUZB.js → write-file-JJAY7JSP.js} +41 -41
  266. package/chunks/{zoom-image-4TQA5GHG.js → zoom-image-4MVVVM7E.js} +11 -11
  267. package/cli.js +18 -17
  268. package/package.json +3 -3
  269. package/web-shell/assets/{arc-lZ04kynw.js → arc-B-89zHN4.js} +1 -1
  270. package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1wZVhzD.js → architectureDiagram-3BPJPVTR-BkcOncHk.js} +1 -1
  271. package/web-shell/assets/{blockDiagram-GPEHLZMM-CO0e0yJt.js → blockDiagram-GPEHLZMM-DQ4yboaF.js} +1 -1
  272. package/web-shell/assets/{c4Diagram-AAUBKEIU-Dfpo6Qie.js → c4Diagram-AAUBKEIU-C_8ZjPDI.js} +1 -1
  273. package/web-shell/assets/channel-Du2WFns8.js +1 -0
  274. package/web-shell/assets/{chunk-2J33WTMH-BvxArftT.js → chunk-2J33WTMH-naKVe1Bm.js} +1 -1
  275. package/web-shell/assets/{chunk-4BX2VUAB-BS2XXjGY.js → chunk-4BX2VUAB-DdoViKT2.js} +1 -1
  276. package/web-shell/assets/{chunk-55IACEB6-CYL6h3Ph.js → chunk-55IACEB6-DUDQZEwU.js} +1 -1
  277. package/web-shell/assets/{chunk-727SXJPM-C-cWPX30.js → chunk-727SXJPM-BqpDTR5s.js} +1 -1
  278. package/web-shell/assets/{chunk-AQP2D5EJ-CJLxNbVV.js → chunk-AQP2D5EJ-CdmEknkT.js} +1 -1
  279. package/web-shell/assets/{chunk-FMBD7UC4-DwfzKywA.js → chunk-FMBD7UC4-CH7fFTLB.js} +1 -1
  280. package/web-shell/assets/{chunk-ND2GUHAM-BI5raYHQ.js → chunk-ND2GUHAM-ObgSuFKF.js} +1 -1
  281. package/web-shell/assets/{chunk-QZHKN3VN-_GkNI90J.js → chunk-QZHKN3VN-D9fKdv_s.js} +1 -1
  282. package/web-shell/assets/classDiagram-4FO5ZUOK-Zw0HafH6.js +1 -0
  283. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Zw0HafH6.js +1 -0
  284. package/web-shell/assets/{cose-bilkent-S5V4N54A-BAVLNxh9.js → cose-bilkent-S5V4N54A-CvzATMx9.js} +1 -1
  285. package/web-shell/assets/{dagre-BM42HDAG-BD4XNLqp.js → dagre-BM42HDAG-M_xU21QW.js} +1 -1
  286. package/web-shell/assets/{diagram-2AECGRRQ-WO567p8w.js → diagram-2AECGRRQ-CNrl9sW1.js} +1 -1
  287. package/web-shell/assets/{diagram-5GNKFQAL-mAk23VWO.js → diagram-5GNKFQAL-CUweVT6T.js} +1 -1
  288. package/web-shell/assets/{diagram-KO2AKTUF-YQEeHKze.js → diagram-KO2AKTUF-D3n6Lxjo.js} +1 -1
  289. package/web-shell/assets/{diagram-LMA3HP47-CMVjxAjv.js → diagram-LMA3HP47-0SeFPK4t.js} +1 -1
  290. package/web-shell/assets/{diagram-OG6HWLK6-42hPvbM-.js → diagram-OG6HWLK6-DAgyEwge.js} +1 -1
  291. package/web-shell/assets/{erDiagram-TEJ5UH35-CXU_cPfu.js → erDiagram-TEJ5UH35-CzxBBDIK.js} +1 -1
  292. package/web-shell/assets/{flowDiagram-I6XJVG4X-D-3TdhMT.js → flowDiagram-I6XJVG4X-B0uj0jyo.js} +1 -1
  293. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CsgkXolz.js → ganttDiagram-6RSMTGT7-DFzcj5km.js} +1 -1
  294. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-B6Q3PBLD.js → gitGraphDiagram-PVQCEYII-DylJ_Fc9.js} +1 -1
  295. package/web-shell/assets/index-BIGQygTL.css +5 -0
  296. package/web-shell/assets/{index-BFrkGj2B.js → index-BKSAnXU9.js} +1 -1
  297. package/web-shell/assets/index-J7OMTqAN.js +1789 -0
  298. package/web-shell/assets/{infoDiagram-5YYISTIA-jiAfSXp8.js → infoDiagram-5YYISTIA-BYMcJVMI.js} +1 -1
  299. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BWif5KeJ.js → ishikawaDiagram-YF4QCWOH-t1quI1S3.js} +1 -1
  300. package/web-shell/assets/{journeyDiagram-JHISSGLW-B-GAZthS.js → journeyDiagram-JHISSGLW-YM_QVUJm.js} +1 -1
  301. package/web-shell/assets/{kanban-definition-UN3LZRKU-9TEuATdL.js → kanban-definition-UN3LZRKU-jw8OddK1.js} +1 -1
  302. package/web-shell/assets/{linear-dy_QPfyE.js → linear-Dlr3RVuP.js} +1 -1
  303. package/web-shell/assets/{mermaid.core-DB2uLAnq.js → mermaid.core-CqGKzNzd.js} +5 -5
  304. package/web-shell/assets/{mindmap-definition-RKZ34NQL-ey_dyxi-.js → mindmap-definition-RKZ34NQL-BqureoOS.js} +1 -1
  305. package/web-shell/assets/{pieDiagram-4H26LBE5-_6BuMdDj.js → pieDiagram-4H26LBE5-Da20HkK1.js} +1 -1
  306. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-B2rM19W2.js → quadrantDiagram-W4KKPZXB-BsNlMvJy.js} +1 -1
  307. package/web-shell/assets/{requirementDiagram-4Y6WPE33-DWj8b7vW.js → requirementDiagram-4Y6WPE33-DzVCQCse.js} +1 -1
  308. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-D5dtYh0N.js → sankeyDiagram-5OEKKPKP-BMo16voT.js} +1 -1
  309. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DVkdn_qW.js → sequenceDiagram-3UESZ5HK-Bgi-pdHk.js} +1 -1
  310. package/web-shell/assets/{stateDiagram-AJRCARHV-DgwD_fi6.js → stateDiagram-AJRCARHV-xaPQXwGk.js} +1 -1
  311. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-D5RqimXD.js +1 -0
  312. package/web-shell/assets/{timeline-definition-PNZ67QCA-vNr_1UNX.js → timeline-definition-PNZ67QCA-C_9RuvKG.js} +1 -1
  313. package/web-shell/assets/{vennDiagram-CIIHVFJN-ChFcGAcu.js → vennDiagram-CIIHVFJN-Bgu6vdla.js} +1 -1
  314. package/web-shell/assets/{wardley-L42UT6IY-C8PXoSWk.js → wardley-L42UT6IY-CFTZ8IrX.js} +1 -1
  315. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-C2nqOV6i.js → wardleyDiagram-YWT4CUSO-BASW9Vmt.js} +1 -1
  316. package/web-shell/assets/{xychartDiagram-2RQKCTM6-BntaqhSB.js → xychartDiagram-2RQKCTM6--Nh-CD3F.js} +1 -1
  317. package/web-shell/index.html +2 -2
  318. package/chunks/chunk-CJNKGZLC.js +0 -649
  319. package/chunks/chunk-L34XSHIZ.js +0 -28
  320. package/chunks/chunk-MUN34TTF.js +0 -830
  321. package/chunks/chunk-N2TNM3QB.js +0 -9
  322. package/chunks/chunk-O4MVJKSX.js +0 -622
  323. package/chunks/chunk-WLML6VIA.js +0 -18
  324. package/chunks/chunk-ZBBVBZBR.js +0 -137
  325. package/chunks/chunk-bdqvmfwv-OHYAFAAO.js +0 -17446
  326. package/chunks/dispatch-FW7DX2CR.js +0 -43
  327. package/chunks/nonInteractiveCli-R5PK5B5G.js +0 -166
  328. package/chunks/opentui-entry-UTJ6MHDI.js +0 -52344
  329. package/chunks/runtime-gate-T4ICWGQJ.js +0 -89
  330. package/chunks/wrapper-46Z24CTM.js +0 -35
  331. package/web-shell/assets/channel-BxvRq3pV.js +0 -1
  332. package/web-shell/assets/classDiagram-4FO5ZUOK-tL8nAxYf.js +0 -1
  333. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-tL8nAxYf.js +0 -1
  334. package/web-shell/assets/index-BgjULKyF.css +0 -5
  335. package/web-shell/assets/index-CxXlPYfl.js +0 -1789
  336. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BWGkVGVB.js +0 -1
  337. /package/chunks/{chunk-44CTCCLY.js → chunk-NWNEANAT.js} +0 -0
@@ -1,9 +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/node_modules/@opentui/react/chunk-2mx7fq49.js
8
- init_esbuild_shims();
9
- var __require = import.meta.require;
@@ -1,622 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import {
4
- ICON
5
- } from "./chunk-XUBM2A4F.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
- */