@qwen-code/qwen-code 0.21.1-simplify-system-prompt.0 → 0.21.2

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 (422) hide show
  1. package/bundled/qc-helper/docs/configuration/model-providers.md +2 -0
  2. package/bundled/qc-helper/docs/configuration/settings.md +39 -28
  3. package/bundled/qc-helper/docs/features/channels/_meta.ts +2 -0
  4. package/bundled/qc-helper/docs/features/channels/github.md +139 -0
  5. package/bundled/qc-helper/docs/features/channels/gitlab.md +171 -0
  6. package/bundled/qc-helper/docs/features/channels/overview.md +61 -6
  7. package/bundled/qc-helper/docs/features/code-review.md +21 -1
  8. package/bundled/qc-helper/docs/features/hooks.md +72 -15
  9. package/bundled/qc-helper/docs/features/mcp.md +9 -1
  10. package/bundled/qc-helper/docs/features/scheduled-tasks.md +3 -1
  11. package/bundled/qc-helper/docs/features/sub-agents.md +42 -8
  12. package/bundled/qc-helper/docs/qwen-serve.md +11 -7
  13. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
  14. package/bundled/qc-helper/docs/support/troubleshooting.md +2 -1
  15. package/bundled/review/DESIGN.md +19 -0
  16. package/bundled/review/SKILL.md +120 -61
  17. package/chunks/MaxSizedBox-TQBQ247P.js +88 -0
  18. package/chunks/{StandaloneSessionPicker-O6RKBPU4.js → StandaloneSessionPicker-2HPTKCLX.js} +71 -69
  19. package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-2C4A5ZTJ.js} +2 -2
  20. package/chunks/{acpAgent-HYFVXVDR.js → acpAgent-PS6EDGH3.js} +1628 -590
  21. package/chunks/agent-VDOUB35F.js +84 -0
  22. package/chunks/agent-headless-EO53EFS2.js +78 -0
  23. package/chunks/{anthropicContentGenerator-LXUXMOE7.js → anthropicContentGenerator-OFHSZJBF.js} +61 -20
  24. package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-RDN2W7ND.js} +4 -4
  25. package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-OZERWH5R.js} +4 -4
  26. package/chunks/bridge-W7AZSRZQ.js +94 -0
  27. package/chunks/{build-RV63TIRH.js → build-GDBLPA24.js} +1 -1
  28. package/chunks/{ca-25EDXPFZ.js → ca-6W3SK7OQ.js} +6 -1
  29. package/chunks/{channel-management-service-G74LFADV.js → channel-management-service-5S7YCWX5.js} +20 -5
  30. package/chunks/channel-settings-store-JFVRSNER.js +91 -0
  31. package/chunks/{channel-worker-group-PTJIJSKC.js → channel-worker-group-OVWGYMZS.js} +9 -5
  32. package/chunks/{channel-worker-manager-WIMGM2FD.js → channel-worker-manager-H55GKOQA.js} +9 -5
  33. package/chunks/{channel-worker-supervisor-KUFTR6P5.js → channel-worker-supervisor-CABBXYHK.js} +5 -4
  34. package/chunks/{chunk-6GMVPFB2.js → chunk-2IIJTXYF.js} +45 -16
  35. package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
  36. package/chunks/{chunk-I7XZ3RY5.js → chunk-2KKCCLPT.js} +1 -1
  37. package/chunks/{chunk-MSLKI6C2.js → chunk-2LEOZTBT.js} +49 -26
  38. package/chunks/{chunk-3QMGYBFN.js → chunk-3APUUXRF.js} +1 -80
  39. package/chunks/{chunk-VV6XU5L7.js → chunk-3F2WDAV6.js} +16 -11
  40. package/chunks/{chunk-MUP3T3AD.js → chunk-3I6DUGQD.js} +1 -35
  41. package/chunks/{chunk-66RMLJHC.js → chunk-44F4LBWZ.js} +577 -208
  42. package/chunks/{chunk-VAK25FTU.js → chunk-45IOTAUS.js} +1 -1
  43. package/chunks/{chunk-JZA3JUDJ.js → chunk-4KP2F2TE.js} +1 -1
  44. package/chunks/{chunk-DM4Q4JJH.js → chunk-54YCNSK5.js} +36562 -45062
  45. package/chunks/{chunk-2Q3OT4OV.js → chunk-56Z7QEAQ.js} +200 -77
  46. package/chunks/{chunk-ZOIFNCKL.js → chunk-5NNHICSA.js} +3 -23
  47. package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
  48. package/chunks/{chunk-RHLZR4E5.js → chunk-675H6PLP.js} +1 -1
  49. package/chunks/{chunk-YAF5VNU7.js → chunk-6CQWRWUC.js} +4 -5
  50. package/chunks/chunk-6FMJLI5M.js +1591 -0
  51. package/chunks/{chunk-HV3G62R6.js → chunk-6MPDY6ZG.js} +1 -1
  52. package/chunks/{chunk-32MVHM4T.js → chunk-6PQPKTXP.js} +1 -1
  53. package/chunks/{chunk-LG4GZIVV.js → chunk-6TAASXWL.js} +4 -4
  54. package/chunks/{chunk-OJGCZBB7.js → chunk-77V3VIKL.js} +41 -36
  55. package/chunks/{chunk-2OM7GEXO.js → chunk-7KAXXBER.js} +3 -3
  56. package/chunks/{chunk-2JM6GZ5D.js → chunk-7SJN2IWT.js} +8 -13
  57. package/chunks/{chunk-UUUTRMI2.js → chunk-7ULQIS27.js} +1 -1
  58. package/chunks/{chunk-2YZJCM5T.js → chunk-A7Y5H4TX.js} +4 -4
  59. package/chunks/{chunk-TOFQCPDC.js → chunk-AOHY3QJ3.js} +14 -8
  60. package/chunks/chunk-AQ37AY7B.js +93 -0
  61. package/chunks/{chunk-B6ZJ7SI6.js → chunk-AUOULH6Q.js} +383 -320
  62. package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
  63. package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
  64. package/chunks/{chunk-7FZEBPKS.js → chunk-BBIQAX4V.js} +23 -18
  65. package/chunks/{chunk-L26JL52R.js → chunk-CBBP4BMC.js} +64 -67
  66. package/chunks/{chunk-ZD6UTE4A.js → chunk-CNTR4GR6.js} +1 -1
  67. package/chunks/{chunk-4M377AZG.js → chunk-CO2U743O.js} +6 -6
  68. package/chunks/{chunk-3SJ43L4W.js → chunk-CPZAH673.js} +6 -0
  69. package/chunks/{chunk-VFSJ5VRH.js → chunk-CU47KXB5.js} +3 -3
  70. package/chunks/{chunk-EPDRMGT4.js → chunk-D4HTUMGX.js} +4 -28
  71. package/chunks/{chunk-XHRTVPG2.js → chunk-D6MDRSZ6.js} +7 -7
  72. package/chunks/{chunk-BYFNTGKI.js → chunk-DEEABGH2.js} +3111 -989
  73. package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
  74. package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
  75. package/chunks/{chunk-B4UMZKMU.js → chunk-DQ2O5QOJ.js} +1 -1
  76. package/chunks/{chunk-DLWL3Z7A.js → chunk-DSFHVTWD.js} +3 -3
  77. package/chunks/{chunk-RWS5VYWC.js → chunk-DUNI4EBW.js} +950 -446
  78. package/chunks/{chunk-NL7LTRLR.js → chunk-E2BHWIDT.js} +48 -72
  79. package/chunks/{chunk-3MSHSCSN.js → chunk-E2FN6SM7.js} +93 -3
  80. package/chunks/{chunk-USTWD7QV.js → chunk-E6CJ2SMM.js} +26 -16
  81. package/chunks/{chunk-TF2X2WCT.js → chunk-EQNUDTL6.js} +2 -2
  82. package/chunks/{chunk-PANH4R3B.js → chunk-EU5TBFJI.js} +18 -12
  83. package/chunks/{chunk-W4CQXHT6.js → chunk-FANRZEAJ.js} +1 -1
  84. package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
  85. package/chunks/{chunk-N3FAY5CM.js → chunk-FCYYAB4S.js} +157 -4
  86. package/chunks/{chunk-OKY7HXPG.js → chunk-FJ5WUMUQ.js} +2 -2
  87. package/chunks/{chunk-M4UKFCZ2.js → chunk-FNDXMN7I.js} +231 -171
  88. package/chunks/{chunk-FQK6JAFG.js → chunk-FS674JW4.js} +4 -4
  89. package/chunks/chunk-FYJ7W2PI.js +194 -0
  90. package/chunks/{chunk-INADJJGW.js → chunk-G7XXKQYS.js} +2 -2
  91. package/chunks/{chunk-LNARWLZQ.js → chunk-GJ2GBPBD.js} +2 -2
  92. package/chunks/{chunk-E5WH5O3C.js → chunk-GL4JOZXU.js} +4 -4
  93. package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
  94. package/chunks/{chunk-KU5XMLDK.js → chunk-GURGAJTX.js} +4 -1
  95. package/chunks/{chunk-5THCYPLO.js → chunk-H6I4PGRV.js} +15 -8
  96. package/chunks/{chunk-A5L3JMUA.js → chunk-HC45LTEN.js} +18 -4
  97. package/chunks/{chunk-U7TXFVUN.js → chunk-HIVKI6O6.js} +118 -95
  98. package/chunks/{chunk-QY5MMZ6O.js → chunk-HX6RLYUO.js} +3 -3
  99. package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
  100. package/chunks/{chunk-ER5LWJR6.js → chunk-I5BT7ADR.js} +3 -3
  101. package/chunks/{chunk-L5UHQJTJ.js → chunk-IGTHU3T4.js} +1 -1
  102. package/chunks/{chunk-BIQWWWJN.js → chunk-IIUGIWWY.js} +1 -1
  103. package/chunks/{chunk-ML52PL6O.js → chunk-JCJ7LKNA.js} +5856 -5334
  104. package/chunks/{chunk-B7QDM6Z7.js → chunk-JE2CEOBO.js} +2 -2
  105. package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
  106. package/chunks/{chunk-P5V4T7NK.js → chunk-JJPKFJBT.js} +11 -3
  107. package/chunks/{chunk-J6D3VXCC.js → chunk-JLZ3RBQG.js} +18 -5
  108. package/chunks/{chunk-PWTZEM3C.js → chunk-JXVC2PL3.js} +3 -37
  109. package/chunks/chunk-JYBU6YUE.js +378 -0
  110. package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
  111. package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
  112. package/chunks/{chunk-Z5BLYMZM.js → chunk-KR32NIAN.js} +6 -6
  113. package/chunks/{chunk-MK7VQDN3.js → chunk-KWHKHSIS.js} +8 -6
  114. package/chunks/{chunk-5U4IPFBR.js → chunk-KXDONCPU.js} +4 -4
  115. package/chunks/{chunk-DHHOYAPR.js → chunk-L2E5GFAG.js} +7 -7
  116. package/chunks/{chunk-V6VRAM7B.js → chunk-L32VV3ZJ.js} +12 -12
  117. package/chunks/{chunk-2W3OOD4W.js → chunk-L55JWS76.js} +6 -3
  118. package/chunks/{chunk-E5TUC6CA.js → chunk-LHKCY7DY.js} +3 -3
  119. package/chunks/{chunk-NH6KE4JX.js → chunk-LOY7RWQG.js} +3 -3
  120. package/chunks/{chunk-CC4N4M36.js → chunk-LYI2PZDK.js} +1 -1
  121. package/chunks/{chunk-3JAQDSXN.js → chunk-MB32MS4U.js} +80 -9
  122. package/chunks/{chunk-PR75REBZ.js → chunk-MM7TH7ZM.js} +12 -82
  123. package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
  124. package/chunks/{chunk-M5JM7OSF.js → chunk-N4ACHWNH.js} +2 -3
  125. package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
  126. package/chunks/{chunk-J56UI34H.js → chunk-NBD76HUW.js} +4 -2
  127. package/chunks/{chunk-C3NS4F2Q.js → chunk-NHFEMWAZ.js} +1 -1
  128. package/chunks/{chunk-6PSLCFQ2.js → chunk-NTDH4IML.js} +18 -9
  129. package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
  130. package/chunks/chunk-O6GEWCJA.js +21 -0
  131. package/chunks/chunk-OCPBI7J5.js +18 -0
  132. package/chunks/{chunk-ZE5WPL4I.js → chunk-OFZKFPYG.js} +3 -3
  133. package/chunks/{chunk-KIUFNBHR.js → chunk-P5VC5USY.js} +1 -1
  134. package/chunks/chunk-P755N4CS.js +2196 -0
  135. package/chunks/{chunk-BRRAJXPA.js → chunk-PCK4B6LR.js} +1 -1
  136. package/chunks/{chunk-TQCBGUHN.js → chunk-PJOHNFIY.js} +5 -5
  137. package/chunks/{chunk-G4WFQUYQ.js → chunk-PVNQRENX.js} +1 -1
  138. package/chunks/{chunk-DM22XS4K.js → chunk-PZEXDV3H.js} +357 -13
  139. package/chunks/{chunk-2JZBVYTU.js → chunk-Q3T5KA2V.js} +1 -8
  140. package/chunks/{chunk-SASBXAQL.js → chunk-Q5WZTTWE.js} +4 -4
  141. package/chunks/{chunk-SRZ6DXVG.js → chunk-QARJNL2V.js} +44 -136
  142. package/chunks/{chunk-YH6G52F2.js → chunk-QCXGC7QB.js} +4 -4
  143. package/chunks/{chunk-SQBYH7PX.js → chunk-QDK4F2N5.js} +1 -1
  144. package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
  145. package/chunks/{chunk-H5FFA6TH.js → chunk-QTHQ6Z5X.js} +16 -3
  146. package/chunks/{chunk-5I2IWRSH.js → chunk-R2XWGR75.js} +2 -2
  147. package/chunks/{chunk-PHVR5UUY.js → chunk-RDJOB6S3.js} +1 -1
  148. package/chunks/{chunk-GDIPH4JY.js → chunk-RG64CDT2.js} +6 -6
  149. package/chunks/{chunk-3HBZKBMQ.js → chunk-RSVPYAGK.js} +5 -5
  150. package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
  151. package/chunks/{chunk-K4XWPEWB.js → chunk-SHN4KHDK.js} +4 -33
  152. package/chunks/{chunk-VYPFXUCB.js → chunk-SZ3KHTDR.js} +1 -1
  153. package/chunks/chunk-T26EAKDL.js +13 -0
  154. package/chunks/chunk-T3CHYWJZ.js +758 -0
  155. package/chunks/{chunk-FNQ6T3CV.js → chunk-TEGJSJDF.js} +10 -7
  156. package/chunks/{chunk-OHNBB4XR.js → chunk-THVU3RNH.js} +1 -1
  157. package/chunks/{record-artifact-RQKFYO5B.js → chunk-TIRRPCFS.js} +22 -7
  158. package/chunks/chunk-TTJZAIFP.js +319 -0
  159. package/chunks/{chunk-63P4EL5V.js → chunk-TZTAV5RH.js} +1 -1
  160. package/chunks/{chunk-52O2CIUL.js → chunk-UV6KF7T3.js} +130 -5
  161. package/chunks/{chunk-QPDRAXDJ.js → chunk-V25K5ID7.js} +1 -1
  162. package/chunks/{chunk-3IXOIAKE.js → chunk-V4XNUDPE.js} +18 -6
  163. package/chunks/{chunk-WDSWXQU3.js → chunk-VEMNQMHA.js} +2 -2
  164. package/chunks/{chunk-LNURQEMZ.js → chunk-VMX5RZQH.js} +12 -10
  165. package/chunks/{chunk-JALU3ZDU.js → chunk-W3UKBMSI.js} +154 -16
  166. package/chunks/{chunk-DN6ZX5AY.js → chunk-WWCMSZII.js} +61 -14
  167. package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
  168. package/chunks/{chunk-FY3M44RD.js → chunk-XP4L6KS3.js} +3 -3
  169. package/chunks/{chunk-6FGBXPWM.js → chunk-XQK4XXTN.js} +38 -44
  170. package/chunks/{chunk-A6UO2C7C.js → chunk-XUGZYLDH.js} +167 -81
  171. package/chunks/{chunk-LZEMEFKY.js → chunk-YANIWTRZ.js} +1 -1
  172. package/chunks/{chunk-IPUUTYMV.js → chunk-YDLJGZHL.js} +1 -1
  173. package/chunks/{chunk-HIJQF5B5.js → chunk-YGE3IXJP.js} +1 -1
  174. package/chunks/{chunk-BJX6ZSUK.js → chunk-YUFIEIWC.js} +2 -2
  175. package/chunks/{chunk-BO4XCS7P.js → chunk-Z3S5EMOW.js} +20 -85
  176. package/chunks/chunk-Z4X5MTRT.js +133 -0
  177. package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
  178. package/chunks/{chunk-PSWQZHEA.js → chunk-ZMOJ7ISP.js} +1 -1
  179. package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
  180. package/chunks/{chunk-MVS3NS2N.js → chunk-ZPZ7ZJEE.js} +28 -5
  181. package/chunks/{computer-use-DOFAHZAB.js → computer-use-5QWCFNKD.js} +52 -50
  182. package/chunks/{config-utils-VFQXVGNR.js → config-utils-WADIDWGG.js} +4 -4
  183. package/chunks/contextCommand-4Z7T7TUM.js +83 -0
  184. package/chunks/core-runtime-6N4EFC2Q.js +137 -0
  185. package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-62YZWVAY.js} +3 -3
  186. package/chunks/{create-sub-session-7543K2QA.js → create-sub-session-AEREHZBQ.js} +49 -47
  187. package/chunks/{cron-create-YIID5XAW.js → cron-create-6E7GIQTG.js} +6 -6
  188. package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-JD26XY3W.js} +5 -5
  189. package/chunks/{cron-list-XEGS463Q.js → cron-list-CUWFB44G.js} +6 -6
  190. package/chunks/{daemon-VOMQW7KZ.js → daemon-PCNCI5YU.js} +239 -18
  191. package/chunks/daemon-status-provider-DDF7C5M7.js +93 -0
  192. package/chunks/daemon-trust-policy-Q4KSOJTR.js +88 -0
  193. package/chunks/daemon-trust-policy-monitor-V6FTE3IY.js +175 -0
  194. package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
  195. package/chunks/deferred-core-runtime-GHJ5GQHK.js +92 -0
  196. package/chunks/dist-26BIMQT6.js +4487 -0
  197. package/chunks/{dist-KTYYJ2C5.js → dist-2PERFI23.js} +12 -9
  198. package/chunks/{dist-NNVBBOGU.js → dist-OAOC5OV4.js} +2 -2
  199. package/chunks/{dist-K6Y4E7FX.js → dist-PVEAFLHY.js} +5 -4
  200. package/chunks/{dist-RTJFMNEZ.js → dist-SL2LUMML.js} +1449 -14
  201. package/chunks/dist-ULIG4M5H.js +13415 -0
  202. package/chunks/{dist-ANLAT3GS.js → dist-WGMNT3JQ.js} +2 -1
  203. package/chunks/{dist-BRB6EXK4.js → dist-ZHXOBXDN.js} +3 -3
  204. package/chunks/earlyInputCapture-TQXLLISD.js +85 -0
  205. package/chunks/{edit-RIEOJWKB.js → edit-FJEUV6KZ.js} +51 -49
  206. package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
  207. package/chunks/{enter-worktree-OGK5FQ3R.js → enter-worktree-7GE3TZ4P.js} +51 -49
  208. package/chunks/{enterPlanMode-IWZYALIB.js → enterPlanMode-KR5TMPCJ.js} +51 -49
  209. package/chunks/environment-SWL3CMB3.js +105 -0
  210. package/chunks/errors-XQE7BGZV.js +91 -0
  211. package/chunks/esm-K5FARBNI.js +5548 -0
  212. package/chunks/{exit-worktree-4TEYVIVP.js → exit-worktree-CHKTYNCV.js} +51 -49
  213. package/chunks/exitPlanMode-QYAG6LWX.js +76 -0
  214. package/chunks/{fast-path-HYE7IFEV.js → fast-path-Z2K7W6DC.js} +13 -3
  215. package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
  216. package/chunks/{gemini-NGRQX3YJ.js → gemini-YU4XKEDG.js} +107 -103
  217. package/chunks/{geminiContentGenerator-FQHPFZSR.js → geminiContentGenerator-ZZX6NBO4.js} +7 -7
  218. package/chunks/{getMachineId-bsd-V7W3GODC.js → getMachineId-bsd-FG7IUY6U.js} +1 -1
  219. package/chunks/{getMachineId-darwin-TDO75DQP.js → getMachineId-darwin-GLCJI2RA.js} +1 -1
  220. package/chunks/{getMachineId-linux-TF43WQT2.js → getMachineId-linux-O6OPPAKO.js} +1 -1
  221. package/chunks/{getMachineId-unsupported-ZGUO3TXT.js → getMachineId-unsupported-S6CKYVGC.js} +1 -1
  222. package/chunks/{getMachineId-win-ECFYZZFQ.js → getMachineId-win-X5SRNEH7.js} +1 -1
  223. package/chunks/{glob-FRTM3X2E.js → glob-VYF5CXSX.js} +51 -49
  224. package/chunks/goal-tools-HGO6VXPB.js +335 -0
  225. package/chunks/{grep-RKWVROCW.js → grep-5DP5ZUTW.js} +53 -50
  226. package/chunks/handleAutoUpdate-UVBJ56DL.js +84 -0
  227. package/chunks/i18n-UQNYHEUD.js +100 -0
  228. package/chunks/{image-gen-WIEM7KZA.js → image-gen-WHPIZNWF.js} +12 -12
  229. package/chunks/initializer-GMIICF4W.js +89 -0
  230. package/chunks/installationInfo-4MGG4WVI.js +83 -0
  231. package/chunks/{ja-B7DF7DFG.js → ja-F3GSQXMF.js} +6 -1
  232. package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-IKO4G53C.js} +3 -3
  233. package/chunks/lib-RUF3WZA6.js +9 -0
  234. package/chunks/list-CPN2W334.js +92 -0
  235. package/chunks/{list-agents-5KJJHR6I.js → list-agents-PXJ7ZUFB.js} +3 -3
  236. package/chunks/loadedSettingsAdapter-ZQAV5NDO.js +86 -0
  237. package/chunks/{loggingContentGenerator-WGM27QAW.js → loggingContentGenerator-5E7W4IEP.js} +31 -30
  238. package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-Y26NQZ5I.js} +15 -8
  239. package/chunks/{ls-NTK6VOQJ.js → ls-ONQTTMQR.js} +5 -5
  240. package/chunks/{lsp-2JI24STP.js → lsp-YGHHRGMD.js} +3 -3
  241. package/chunks/{managed-npm-update-JQ2CG3RH.js → managed-npm-update-MKKAXYXA.js} +50 -48
  242. package/chunks/mcp-V5NTJF6X.js +86 -0
  243. package/chunks/{monitor-7FEWXX5F.js → monitor-CO3ASY6E.js} +51 -49
  244. package/chunks/nonInteractiveCli-ZJYEOO7U.js +148 -0
  245. package/chunks/{notebook-edit-JGJV2K6J.js → notebook-edit-Z7AEE6FM.js} +51 -49
  246. package/chunks/{openaiContentGenerator-JPVXDTAO.js → openaiContentGenerator-CA3MQOP3.js} +25 -27
  247. package/chunks/pidfile-NL7MKDRU.js +89 -0
  248. package/chunks/process-registry-2CHQBXH5.js +157 -0
  249. package/chunks/{processUtils-V2LCK6T6.js → processUtils-PB5K2DYH.js} +2 -2
  250. package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
  251. package/chunks/{qwenContentGenerator-TICV2W2Z.js → qwenContentGenerator-JYFNDCOS.js} +55 -53
  252. package/chunks/{qwenOAuth2-XGFI5XJG.js → qwenOAuth2-W2ALKQDD.js} +10 -10
  253. package/chunks/read-file-IEOR5H5W.js +29 -0
  254. package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-U2IJN5HM.js} +4 -4
  255. package/chunks/record-artifact-MGPJ7EG4.js +21 -0
  256. package/chunks/resumeHistoryUtils-BNBTP5AS.js +94 -0
  257. package/chunks/ripGrep-UMQODKEB.js +76 -0
  258. package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
  259. package/chunks/{run-qwen-serve-3VCV4I7E.js → run-qwen-serve-RN2R6QQW.js} +982 -263
  260. package/chunks/runtime-QFJ2MJF5.js +122 -0
  261. package/chunks/{scheduler-RS2I6RU5.js → scheduler-AMYUFOZI.js} +49 -47
  262. package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
  263. package/chunks/{sdk-exporters-http-FS6ZV7MF.js → sdk-exporters-http-4BQANSJ6.js} +7 -7
  264. package/chunks/{sdk-impl-7FZSCSXB.js → sdk-impl-Z4VXWVFX.js} +10 -10
  265. package/chunks/{send-message-Q6OOR6BR.js → send-message-PMP4ATVM.js} +8 -13
  266. package/chunks/serve-EIIYJVX3.js +92 -0
  267. package/chunks/{server-HRZ23U7M.js → server-EP2LLAPD.js} +4816 -1298
  268. package/chunks/{session-7XHZKTVV.js → session-GMPZBLOW.js} +101 -97
  269. package/chunks/{settings-7ZGZDXAS.js → settings-LN7RNKBS.js} +53 -51
  270. package/chunks/shell-EM2OWU5X.js +86 -0
  271. package/chunks/{skill-LIWXNLDW.js → skill-T5VPSK73.js} +22 -23
  272. package/chunks/skill-settings-GMR3GMNY.js +94 -0
  273. package/chunks/spawnChannel-YPCU62DI.js +85 -0
  274. package/chunks/standalone-update-JAKIM2NF.js +95 -0
  275. package/chunks/{startInteractiveUI-IW3CSKHA.js → startInteractiveUI-YETQWGYF.js} +1240 -903
  276. package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-D7E6ZFKR.js} +4 -4
  277. package/chunks/task-create-NFCYD43L.js +26 -0
  278. package/chunks/{task-list-FOPULZEP.js → task-list-TAVMGEVD.js} +7 -7
  279. package/chunks/{task-stop-H6RHXFVQ.js → task-stop-ZDF2UJRM.js} +3 -3
  280. package/chunks/{task-update-M57TFZJT.js → task-update-6L7LHGEX.js} +12 -11
  281. package/chunks/{team-create-O2FROQ4R.js → team-create-LFJ6HGNY.js} +53 -51
  282. package/chunks/{team-delete-QE2UXJL7.js → team-delete-DPGGRQBU.js} +7 -7
  283. package/chunks/{team-plan-approval-Q6WDBXTQ.js → team-plan-approval-C2KLSDGO.js} +51 -49
  284. package/chunks/theme-manager-JQ3ZGBP5.js +80 -0
  285. package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-2UO5G6G6.js} +34 -6
  286. package/chunks/{tool-search-APECNQ3Z.js → tool-search-FAZBFRJZ.js} +21 -22
  287. package/chunks/total-session-admission-5CALIVYO.js +88 -0
  288. package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
  289. package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
  290. package/chunks/trustedFolders-KOPSP44S.js +98 -0
  291. package/chunks/{update-relaunch-ON5MDJQG.js → update-relaunch-6QL2TICS.js} +5 -5
  292. package/chunks/updateCheck-4Q6RIKFW.js +95 -0
  293. package/chunks/useAutoAcceptIndicator-Q5BMKZV3.js +96 -0
  294. package/chunks/{validateNonInterActiveAuth-JBLKBKRD.js → validateNonInterActiveAuth-GKOC5F6Z.js} +95 -91
  295. package/chunks/{version-LTNUBQJY.js → version-VSATY2LD.js} +1 -1
  296. package/chunks/{web-fetch-L5UTI53V.js → web-fetch-JCLKL6NL.js} +19 -21
  297. package/chunks/{web-search-KM33JOS3.js → web-search-DSQTFUBX.js} +13 -13
  298. package/chunks/{workflow-K7FAWV77.js → workflow-M6QAVKVJ.js} +52 -50
  299. package/chunks/workspace-providers-status-YKLTLMJA.js +89 -0
  300. package/chunks/{workspace-registration-store-6TGVDJV5.js → workspace-registration-store-5DMGKU64.js} +1 -1
  301. package/chunks/workspace-registry-PTYUSYXX.js +96 -0
  302. package/chunks/workspace-service-25ML3T47.js +103 -0
  303. package/chunks/workspace-skills-status-YKZWOYRX.js +89 -0
  304. package/chunks/workspace-trust-reconciler-5FI2S3OS.js +349 -0
  305. package/chunks/write-file-AY7VLP5X.js +78 -0
  306. package/chunks/xterm-headless-NTYVIBT3.js +3475 -0
  307. package/chunks/{zh-LUIGBD55.js → zh-H3YDK5QW.js} +9 -1
  308. package/chunks/{zh-TW-F5KG2IYD.js → zh-TW-JYCP7XUA.js} +9 -1
  309. package/chunks/zoom-image-S4LJZMD5.js +224 -0
  310. package/cli.js +50 -16
  311. package/locales/ca.js +7 -2
  312. package/locales/de.js +7 -2
  313. package/locales/en.js +10 -2
  314. package/locales/fr.js +7 -2
  315. package/locales/ja.js +7 -2
  316. package/locales/pt.js +7 -2
  317. package/locales/ru.js +7 -2
  318. package/locales/zh-TW.js +10 -2
  319. package/locales/zh.js +10 -2
  320. package/package.json +5 -4
  321. package/web-shell/assets/{arc-BbHijhiN.js → arc-xjArKHU2.js} +1 -1
  322. package/web-shell/assets/{architectureDiagram-3BPJPVTR-Cb4B_JD0.js → architectureDiagram-3BPJPVTR-BgrQDNYG.js} +1 -1
  323. package/web-shell/assets/{blockDiagram-GPEHLZMM-Dsjlh3H-.js → blockDiagram-GPEHLZMM-CXxWC-1_.js} +1 -1
  324. package/web-shell/assets/{c4Diagram-AAUBKEIU-Cp5AeR4U.js → c4Diagram-AAUBKEIU-Dx1tLm3v.js} +1 -1
  325. package/web-shell/assets/channel-B1cyk94G.js +1 -0
  326. package/web-shell/assets/{chunk-2J33WTMH-CLcY7W2e.js → chunk-2J33WTMH-CBxjogVR.js} +1 -1
  327. package/web-shell/assets/{chunk-4BX2VUAB-BUhvY2LR.js → chunk-4BX2VUAB-izb-rY5W.js} +1 -1
  328. package/web-shell/assets/{chunk-55IACEB6-kDIFC_71.js → chunk-55IACEB6-NzLyvSb8.js} +1 -1
  329. package/web-shell/assets/{chunk-727SXJPM-CIBO15f2.js → chunk-727SXJPM-DVyKb0dl.js} +1 -1
  330. package/web-shell/assets/{chunk-AQP2D5EJ-BJ_T_slV.js → chunk-AQP2D5EJ-BtqL7NzB.js} +1 -1
  331. package/web-shell/assets/{chunk-FMBD7UC4-BEkW35J8.js → chunk-FMBD7UC4-iNpdKIO0.js} +1 -1
  332. package/web-shell/assets/{chunk-ND2GUHAM-GGPxofay.js → chunk-ND2GUHAM-DI7cbFmX.js} +1 -1
  333. package/web-shell/assets/{chunk-QZHKN3VN-Bifllrb6.js → chunk-QZHKN3VN-3Y_-xFYs.js} +1 -1
  334. package/web-shell/assets/classDiagram-4FO5ZUOK-BpBYZoRE.js +1 -0
  335. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BpBYZoRE.js +1 -0
  336. package/web-shell/assets/{cose-bilkent-S5V4N54A-C-Add_Dp.js → cose-bilkent-S5V4N54A--raRatZn.js} +1 -1
  337. package/web-shell/assets/{dagre-BM42HDAG-B7MfwNq2.js → dagre-BM42HDAG-B8SU70mO.js} +1 -1
  338. package/web-shell/assets/{diagram-2AECGRRQ-CY_0zuDz.js → diagram-2AECGRRQ-ewgoakXo.js} +1 -1
  339. package/web-shell/assets/{diagram-5GNKFQAL-VyYSbCgA.js → diagram-5GNKFQAL-Bm_JLTnS.js} +1 -1
  340. package/web-shell/assets/{diagram-KO2AKTUF-CBiIZ2PL.js → diagram-KO2AKTUF-DEIUjUy9.js} +1 -1
  341. package/web-shell/assets/{diagram-LMA3HP47-BL3CrVOx.js → diagram-LMA3HP47-C2Wmrpj-.js} +1 -1
  342. package/web-shell/assets/{diagram-OG6HWLK6-CZUPx96P.js → diagram-OG6HWLK6-CtYe6bFx.js} +1 -1
  343. package/web-shell/assets/{erDiagram-TEJ5UH35-B81xHr1-.js → erDiagram-TEJ5UH35-DfpHcWLV.js} +1 -1
  344. package/web-shell/assets/{flowDiagram-I6XJVG4X-EZWhir-J.js → flowDiagram-I6XJVG4X-CAiUhio5.js} +1 -1
  345. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CVFSuIAg.js → ganttDiagram-6RSMTGT7-CYc7ezr4.js} +1 -1
  346. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-C1H2uQDv.js → gitGraphDiagram-PVQCEYII-70lbkcRS.js} +1 -1
  347. package/web-shell/assets/index-C1k3PDuU.css +5 -0
  348. package/web-shell/assets/index-C2GE3DAF.js +74 -0
  349. package/web-shell/assets/index-DZLIXILO.js +1750 -0
  350. package/web-shell/assets/{index-BYo99NBH.js → index-Ww86nT9f.js} +1 -1
  351. package/web-shell/assets/{infoDiagram-5YYISTIA-BwyFMlF8.js → infoDiagram-5YYISTIA-C7e8DWPa.js} +1 -1
  352. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CQ7Yhn2Y.js → ishikawaDiagram-YF4QCWOH-BYLr2op-.js} +1 -1
  353. package/web-shell/assets/{journeyDiagram-JHISSGLW-CJn2sf0l.js → journeyDiagram-JHISSGLW-hEibAHKX.js} +1 -1
  354. package/web-shell/assets/{kanban-definition-UN3LZRKU-DaNRqwVN.js → kanban-definition-UN3LZRKU-F2rt8Uhp.js} +1 -1
  355. package/web-shell/assets/{linear-DCKODZe2.js → linear-DPhyNezd.js} +1 -1
  356. package/web-shell/assets/{mermaid.core-CTGJOk27.js → mermaid.core-ZUtnug0n.js} +5 -5
  357. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BKU3_3rg.js → mindmap-definition-RKZ34NQL-DDWcMoi8.js} +1 -1
  358. package/web-shell/assets/{pieDiagram-4H26LBE5-COcwBJ82.js → pieDiagram-4H26LBE5-CTRKzw1_.js} +1 -1
  359. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CQnQ443x.js → quadrantDiagram-W4KKPZXB-CAEwYG_z.js} +1 -1
  360. package/web-shell/assets/{requirementDiagram-4Y6WPE33-CZ2oj5cD.js → requirementDiagram-4Y6WPE33-CRjnH9D9.js} +1 -1
  361. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BxAv5mNu.js → sankeyDiagram-5OEKKPKP-LPQT_sOd.js} +1 -1
  362. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CztaySPs.js → sequenceDiagram-3UESZ5HK-Ht2Iqvb0.js} +1 -1
  363. package/web-shell/assets/{stateDiagram-AJRCARHV-CTQT1oGD.js → stateDiagram-AJRCARHV-CIUdqOXu.js} +1 -1
  364. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BmqqQZ6w.js +1 -0
  365. package/web-shell/assets/{timeline-definition-PNZ67QCA-K9Mkex5A.js → timeline-definition-PNZ67QCA-BcilneZF.js} +1 -1
  366. package/web-shell/assets/{vennDiagram-CIIHVFJN-B2rVIw76.js → vennDiagram-CIIHVFJN-BljwiiH1.js} +1 -1
  367. package/web-shell/assets/{wardley-L42UT6IY-Z1w2JR4M.js → wardley-L42UT6IY-DeKjkYjq.js} +1 -1
  368. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CIX9aKXf.js → wardleyDiagram-YWT4CUSO-L3U1H7KG.js} +1 -1
  369. package/web-shell/assets/{xychartDiagram-2RQKCTM6-CI9DLIKB.js → xychartDiagram-2RQKCTM6-IJnWsgMT.js} +1 -1
  370. package/web-shell/index.html +2 -2
  371. package/chunks/MaxSizedBox-INHRH72H.js +0 -86
  372. package/chunks/agent-VXDAN5JK.js +0 -82
  373. package/chunks/agent-headless-K4ZMMNBD.js +0 -76
  374. package/chunks/bridge-LGPZCFHO.js +0 -91
  375. package/chunks/channel-settings-store-CHCDRTPY.js +0 -89
  376. package/chunks/chunk-SZRN75WQ.js +0 -29
  377. package/chunks/chunk-UGYMA4EI.js +0 -219
  378. package/chunks/chunk-VCBZUOSI.js +0 -8575
  379. package/chunks/contextCommand-QIZYHDR5.js +0 -81
  380. package/chunks/daemon-status-provider-OS5UWBHV.js +0 -90
  381. package/chunks/earlyInputCapture-WQT24RWD.js +0 -83
  382. package/chunks/environment-VZ7BRI4Q.js +0 -103
  383. package/chunks/errors-PCX25DVP.js +0 -89
  384. package/chunks/exitPlanMode-GHPUHBZJ.js +0 -423
  385. package/chunks/handleAutoUpdate-2CZQRJ66.js +0 -82
  386. package/chunks/i18n-XEQVMRKN.js +0 -98
  387. package/chunks/initializer-OVGZ4FLY.js +0 -87
  388. package/chunks/installationInfo-5UUQJI6Y.js +0 -81
  389. package/chunks/list-HODU6RXD.js +0 -90
  390. package/chunks/loadedSettingsAdapter-TYNLBALY.js +0 -84
  391. package/chunks/mcp-J3DFWX4A.js +0 -84
  392. package/chunks/nonInteractiveCli-F4GYSMHT.js +0 -144
  393. package/chunks/pidfile-4VNAR3EP.js +0 -87
  394. package/chunks/read-file-LZXUR4TO.js +0 -31
  395. package/chunks/resumeHistoryUtils-65OX3SGJ.js +0 -92
  396. package/chunks/ripGrep-2U2FRGMV.js +0 -74
  397. package/chunks/runtime-AXJWIEDU.js +0 -120
  398. package/chunks/serve-W2GC47CM.js +0 -90
  399. package/chunks/shell-45IPBDP5.js +0 -84
  400. package/chunks/spawnChannel-PVXQ5AGV.js +0 -83
  401. package/chunks/src-AY65BYR7.js +0 -3166
  402. package/chunks/standalone-update-ZMFNKAEY.js +0 -93
  403. package/chunks/task-create-N7WQSGYA.js +0 -25
  404. package/chunks/theme-manager-YYPZFBAH.js +0 -78
  405. package/chunks/total-session-admission-JXES723M.js +0 -85
  406. package/chunks/trustedFolders-HVI7IXUH.js +0 -94
  407. package/chunks/updateCheck-WUJGHWZZ.js +0 -93
  408. package/chunks/useAutoAcceptIndicator-CHSTZLZD.js +0 -94
  409. package/chunks/workspace-providers-status-GAKSF4LL.js +0 -87
  410. package/chunks/workspace-registry-A7NQUONG.js +0 -89
  411. package/chunks/workspace-service-STGVSO4N.js +0 -99
  412. package/chunks/workspace-skills-status-66AK3DUA.js +0 -86
  413. package/chunks/write-file-HUUCEG4P.js +0 -74
  414. package/web-shell/assets/channel-Bzdx6E8P.js +0 -1
  415. package/web-shell/assets/classDiagram-4FO5ZUOK-Cd6wbiuK.js +0 -1
  416. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cd6wbiuK.js +0 -1
  417. package/web-shell/assets/index-B2bXx96W.js +0 -1249
  418. package/web-shell/assets/index-_8mKjx8q.css +0 -5
  419. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BjMdT6E_.js +0 -1
  420. package/chunks/{chunk-TARRHLLG.js → chunk-QUGAUQGJ.js} +25 -25
  421. package/chunks/{chunk-U7ZFW55U.js → chunk-VOQXFAY5.js} +977 -977
  422. /package/chunks/{chunk-LXXMOYPL.js → chunk-VXZBKKQR.js} +0 -0
@@ -1,5 +1,8 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
+ import {
4
+ contextCommand
5
+ } from "./chunk-H6I4PGRV.js";
3
6
  import {
4
7
  ExtensionRefreshState,
5
8
  clearSkillArgs,
@@ -9,34 +12,32 @@ import {
9
12
  staleArgsWarning,
10
13
  validateAuthMethod,
11
14
  writeSkillArgs
12
- } from "./chunk-BYFNTGKI.js";
13
- import {
14
- isKittyProtocolEnabled
15
- } from "./chunk-PQNHRFJC.js";
16
- import {
17
- contextCommand
18
- } from "./chunk-5THCYPLO.js";
15
+ } from "./chunk-DEEABGH2.js";
19
16
  import {
20
17
  calculateCost,
21
18
  computeSessionStats,
22
19
  diffCommand,
23
20
  filterCommandsForMode,
21
+ findInlineMathExpressions,
24
22
  getSystemInfoFields,
25
23
  levelLabel
26
- } from "./chunk-52O2CIUL.js";
24
+ } from "./chunk-UV6KF7T3.js";
25
+ import {
26
+ isKittyProtocolEnabled
27
+ } from "./chunk-PQNHRFJC.js";
27
28
  import {
28
29
  VSCODE_SHIFT_ENTER_SEQUENCE,
29
30
  writeOsc52
30
- } from "./chunk-J56UI34H.js";
31
- import {
32
- rollbackStandaloneUpdate
33
- } from "./chunk-ZE5WPL4I.js";
31
+ } from "./chunk-NBD76HUW.js";
34
32
  import {
35
33
  themeManager
36
- } from "./chunk-L5UHQJTJ.js";
34
+ } from "./chunk-IGTHU3T4.js";
37
35
  import {
38
36
  getErrorMessage as getErrorMessage2
39
- } from "./chunk-VFSJ5VRH.js";
37
+ } from "./chunk-CU47KXB5.js";
38
+ import {
39
+ rollbackStandaloneUpdate
40
+ } from "./chunk-OFZKFPYG.js";
40
41
  import {
41
42
  GITHUB_WORKFLOW_PATHS,
42
43
  INSIGHT_CSS,
@@ -50,11 +51,11 @@ import {
50
51
  toJson,
51
52
  toJsonl,
52
53
  toMarkdown
53
- } from "./chunk-DM22XS4K.js";
54
+ } from "./chunk-PZEXDV3H.js";
54
55
  import {
55
56
  stripUnsafeCharacters,
56
57
  toCodePoints
57
- } from "./chunk-IPUUTYMV.js";
58
+ } from "./chunk-YDLJGZHL.js";
58
59
  import {
59
60
  formatUnsupportedVoiceModelMessage,
60
61
  getVoiceSettingsScope,
@@ -62,12 +63,12 @@ import {
62
63
  isVoiceEnabled,
63
64
  readVoiceMode,
64
65
  readVoiceModel
65
- } from "./chunk-KIUFNBHR.js";
66
+ } from "./chunk-P5VC5USY.js";
66
67
  import {
67
68
  getExtendedSystemInfo,
68
69
  getGitVersion,
69
70
  getNpmVersion
70
- } from "./chunk-SASBXAQL.js";
71
+ } from "./chunk-Q5WZTTWE.js";
71
72
  import {
72
73
  formatDuration,
73
74
  formatMemoryUsage,
@@ -76,10 +77,7 @@ import {
76
77
  import {
77
78
  isInlineModelOverrideAllowed,
78
79
  parseAcpModelOption
79
- } from "./chunk-LG4GZIVV.js";
80
- import {
81
- getInstallationInfo
82
- } from "./chunk-LNARWLZQ.js";
80
+ } from "./chunk-6TAASXWL.js";
83
81
  import {
84
82
  OUTPUT_LANGUAGE_AUTO,
85
83
  getAllSettingKeys,
@@ -91,7 +89,7 @@ import {
91
89
  resolveOutputLanguageOrPreserveAuto,
92
90
  validateSettingValue,
93
91
  writeOutputLanguageAndRegisterPath
94
- } from "./chunk-JALU3ZDU.js";
92
+ } from "./chunk-W3UKBMSI.js";
95
93
  import {
96
94
  SUPPORTED_LANGUAGES,
97
95
  getCurrentLanguage,
@@ -99,11 +97,14 @@ import {
99
97
  resolveSupportedLanguage,
100
98
  setLanguageAsync,
101
99
  t
102
- } from "./chunk-VV6XU5L7.js";
100
+ } from "./chunk-3F2WDAV6.js";
101
+ import {
102
+ getInstallationInfo
103
+ } from "./chunk-GJ2GBPBD.js";
103
104
  import {
104
105
  isFolderTrustEnabled,
105
106
  loadTrustedFolders
106
- } from "./chunk-VCBZUOSI.js";
107
+ } from "./chunk-P755N4CS.js";
107
108
  import {
108
109
  require_strip_json_comments
109
110
  } from "./chunk-ALGGS7UH.js";
@@ -174,36 +175,36 @@ import {
174
175
  runForkedAgent,
175
176
  tryGenerateSessionTitle,
176
177
  unregisterGoalHook
177
- } from "./chunk-DM4Q4JJH.js";
178
+ } from "./chunk-54YCNSK5.js";
178
179
  import {
179
180
  external_exports
180
181
  } from "./chunk-H6XPXXMH.js";
181
182
  import {
182
183
  resolveModelId
183
- } from "./chunk-PSWQZHEA.js";
184
+ } from "./chunk-ZMOJ7ISP.js";
185
+ import {
186
+ HookEventName,
187
+ sanitizeUserPromptExpansionAdditionalContext
188
+ } from "./chunk-3APUUXRF.js";
184
189
  import {
185
190
  APPROVAL_MODES,
186
191
  FORK_SUBAGENT_TYPE,
187
192
  stripStartupContext
188
- } from "./chunk-L26JL52R.js";
189
- import {
190
- HookEventName,
191
- sanitizeUserPromptExpansionAdditionalContext
192
- } from "./chunk-3QMGYBFN.js";
193
+ } from "./chunk-CBBP4BMC.js";
193
194
  import {
194
195
  applySkillAllowedTools,
195
196
  buildSkillLlmContent
196
- } from "./chunk-JCW2R7WC.js";
197
+ } from "./chunk-K623ENWT.js";
197
198
  import {
198
199
  openBrowserSecurely
199
- } from "./chunk-JESCGQM3.js";
200
+ } from "./chunk-NAVJD2PQ.js";
200
201
  import {
201
202
  REASONING_EFFORT_TIERS,
202
203
  normalizeReasoningEffort
203
- } from "./chunk-XVNQMZ2I.js";
204
+ } from "./chunk-DGEIYUC3.js";
204
205
  import {
205
206
  resolveOpenAILogDir
206
- } from "./chunk-YAF5VNU7.js";
207
+ } from "./chunk-6CQWRWUC.js";
207
208
  import {
208
209
  IdeConnectionEvent,
209
210
  formatTokenUsageSummaryAsCsv,
@@ -217,14 +218,14 @@ import {
217
218
  recordSkillInvocation,
218
219
  runSideQuery,
219
220
  uiTelemetryService
220
- } from "./chunk-RWS5VYWC.js";
221
+ } from "./chunk-DUNI4EBW.js";
221
222
  import {
222
223
  getAutoMemoryRoot
223
- } from "./chunk-MUP3T3AD.js";
224
+ } from "./chunk-3I6DUGQD.js";
224
225
  import {
225
226
  ToolNames,
226
227
  isShellProgressData
227
- } from "./chunk-PR75REBZ.js";
228
+ } from "./chunk-MM7TH7ZM.js";
228
229
  import {
229
230
  Storage,
230
231
  createDebugLogger,
@@ -233,12 +234,12 @@ import {
233
234
  isSubpath,
234
235
  resolvePath,
235
236
  updateSymlink
236
- } from "./chunk-NL7LTRLR.js";
237
+ } from "./chunk-E2BHWIDT.js";
237
238
  import {
238
239
  isCpuProfileRecording,
239
240
  startCpuProfile,
240
241
  stopCpuProfile
241
- } from "./chunk-32MVHM4T.js";
242
+ } from "./chunk-6PQPKTXP.js";
242
243
  import {
243
244
  init_esbuild_shims
244
245
  } from "./chunk-5O2XNYP6.js";
@@ -250,6 +251,108 @@ import {
250
251
  // packages/cli/src/ui/utils/commandUtils.ts
251
252
  init_esbuild_shims();
252
253
  import { spawn } from "node:child_process";
254
+
255
+ // packages/cli/src/utils/commands.ts
256
+ init_esbuild_shims();
257
+ var MAX_STACKED_SKILLS = 5;
258
+ var isStackedSkillCompletableCommand = /* @__PURE__ */ __name((command) => command.kind === "skill" /* SKILL */ && command.userInvocable !== false && !command.hidden, "isStackedSkillCompletableCommand");
259
+ var isValidStackedSkillPrefix = /* @__PURE__ */ __name((prefix, commands) => {
260
+ const trimmed = prefix.trim();
261
+ if (!trimmed) return false;
262
+ const tokens = trimmed.split(/\s+/);
263
+ if (tokens.length >= MAX_STACKED_SKILLS) return false;
264
+ return tokens.every((token) => {
265
+ if (!token.startsWith("/")) return false;
266
+ const command = findCommandByName(token.slice(1), commands);
267
+ return command !== void 0 && isStackedSkillCompletableCommand(command);
268
+ });
269
+ }, "isValidStackedSkillPrefix");
270
+ var parseSlashCommand = /* @__PURE__ */ __name((query, commands) => {
271
+ const trimmed = query.trim();
272
+ const commandText = trimmed.substring(1).trim();
273
+ const parts = commandText.split(/\s+/);
274
+ const commandPath = parts.filter((p) => p);
275
+ let currentCommands = commands;
276
+ let commandToExecute;
277
+ let pathIndex = 0;
278
+ const canonicalPath = [];
279
+ let argsStart = 0;
280
+ for (const part of commandPath) {
281
+ let foundCommand = currentCommands.find((cmd) => cmd.name === part);
282
+ if (!foundCommand) {
283
+ foundCommand = currentCommands.find(
284
+ (cmd) => cmd.altNames?.includes(part)
285
+ );
286
+ }
287
+ if (foundCommand) {
288
+ commandToExecute = foundCommand;
289
+ canonicalPath.push(foundCommand.name);
290
+ pathIndex++;
291
+ const partIndex = commandText.indexOf(part, argsStart);
292
+ argsStart = partIndex + part.length;
293
+ if (foundCommand.subCommands) {
294
+ currentCommands = foundCommand.subCommands;
295
+ } else {
296
+ break;
297
+ }
298
+ } else {
299
+ break;
300
+ }
301
+ }
302
+ const args = commandToExecute ? commandText.slice(argsStart).trim() : parts.slice(pathIndex).join(" ");
303
+ return { commandToExecute, args, canonicalPath };
304
+ }, "parseSlashCommand");
305
+ var parseStackedSlashCommands = /* @__PURE__ */ __name((query, commands) => {
306
+ const trimmed = query.trim();
307
+ if (!trimmed.startsWith("/")) {
308
+ return { skills: [], remainingText: trimmed, exceededMax: false };
309
+ }
310
+ const commandText = trimmed.substring(1);
311
+ const skills = [];
312
+ let pos = 0;
313
+ let restPos = 0;
314
+ let exceededMax = false;
315
+ while (pos < commandText.length) {
316
+ while (pos < commandText.length && /\s/.test(commandText[pos])) pos++;
317
+ if (pos >= commandText.length) {
318
+ restPos = pos;
319
+ break;
320
+ }
321
+ const tokenStart = pos;
322
+ while (pos < commandText.length && !/\s/.test(commandText[pos])) pos++;
323
+ const token = commandText.slice(tokenStart, pos);
324
+ if (skills.length === 0) {
325
+ if (token.startsWith("/")) break;
326
+ const cmd2 = findCommandByName(token, commands);
327
+ if (!cmd2 || cmd2.kind !== "skill" /* SKILL */) break;
328
+ skills.push(cmd2);
329
+ restPos = pos;
330
+ continue;
331
+ }
332
+ if (!token.startsWith("/")) break;
333
+ const name = token.substring(1);
334
+ if (!name) break;
335
+ const cmd = findCommandByName(name, commands);
336
+ if (!cmd || cmd.kind !== "skill" /* SKILL */) break;
337
+ if (skills.length >= MAX_STACKED_SKILLS) {
338
+ exceededMax = true;
339
+ break;
340
+ }
341
+ skills.push(cmd);
342
+ restPos = pos;
343
+ }
344
+ if (skills.length < 2) {
345
+ return { skills: [], remainingText: trimmed, exceededMax: false };
346
+ }
347
+ const afterSkills = commandText.slice(restPos).trim();
348
+ return { skills, remainingText: afterSkills, exceededMax };
349
+ }, "parseStackedSlashCommands");
350
+ function findCommandByName(name, commands) {
351
+ return commands.find((cmd) => cmd.name === name) ?? commands.find((cmd) => cmd.altNames?.includes(name));
352
+ }
353
+ __name(findCommandByName, "findCommandByName");
354
+
355
+ // packages/cli/src/ui/utils/commandUtils.ts
253
356
  var CodePage = {
254
357
  UTF8: 65001,
255
358
  GBK: 936,
@@ -377,7 +480,6 @@ function isMidInputCompletableCommand(cmd) {
377
480
  }
378
481
  __name(isMidInputCompletableCommand, "isMidInputCompletableCommand");
379
482
  function findMidInputSlashCommand(input, cursorOffset) {
380
- if (input.startsWith("/")) return null;
381
483
  const codePoints = toCodePoints(input);
382
484
  const beforeCursor = codePoints.slice(0, cursorOffset).join("");
383
485
  const match = beforeCursor.match(/\s\/([a-zA-Z0-9_:-]*)$/);
@@ -445,7 +547,8 @@ function findSlashCommandTokens(text, commands) {
445
547
  if (isLineStart) {
446
548
  valid = cmd.userInvocable !== false && !cmd.hidden;
447
549
  } else {
448
- valid = cmd.modelInvocable === true;
550
+ const prefix = text.slice(0, start);
551
+ valid = cmd.modelInvocable === true || isStackedSkillCompletableCommand(cmd) && isValidStackedSkillPrefix(prefix, commands);
449
552
  }
450
553
  }
451
554
  tokens.push({ start, end, commandName, valid });
@@ -457,94 +560,6 @@ __name(findSlashCommandTokens, "findSlashCommandTokens");
457
560
  // packages/cli/src/nonInteractiveCliCommands.ts
458
561
  init_esbuild_shims();
459
562
 
460
- // packages/cli/src/utils/commands.ts
461
- init_esbuild_shims();
462
- var MAX_STACKED_SKILLS = 5;
463
- var parseSlashCommand = /* @__PURE__ */ __name((query, commands) => {
464
- const trimmed = query.trim();
465
- const commandText = trimmed.substring(1).trim();
466
- const parts = commandText.split(/\s+/);
467
- const commandPath = parts.filter((p) => p);
468
- let currentCommands = commands;
469
- let commandToExecute;
470
- let pathIndex = 0;
471
- const canonicalPath = [];
472
- let argsStart = 0;
473
- for (const part of commandPath) {
474
- let foundCommand = currentCommands.find((cmd) => cmd.name === part);
475
- if (!foundCommand) {
476
- foundCommand = currentCommands.find(
477
- (cmd) => cmd.altNames?.includes(part)
478
- );
479
- }
480
- if (foundCommand) {
481
- commandToExecute = foundCommand;
482
- canonicalPath.push(foundCommand.name);
483
- pathIndex++;
484
- const partIndex = commandText.indexOf(part, argsStart);
485
- argsStart = partIndex + part.length;
486
- if (foundCommand.subCommands) {
487
- currentCommands = foundCommand.subCommands;
488
- } else {
489
- break;
490
- }
491
- } else {
492
- break;
493
- }
494
- }
495
- const args = commandToExecute ? commandText.slice(argsStart).trim() : parts.slice(pathIndex).join(" ");
496
- return { commandToExecute, args, canonicalPath };
497
- }, "parseSlashCommand");
498
- var parseStackedSlashCommands = /* @__PURE__ */ __name((query, commands) => {
499
- const trimmed = query.trim();
500
- if (!trimmed.startsWith("/")) {
501
- return { skills: [], remainingText: trimmed, exceededMax: false };
502
- }
503
- const commandText = trimmed.substring(1);
504
- const skills = [];
505
- let pos = 0;
506
- let restPos = 0;
507
- let exceededMax = false;
508
- while (pos < commandText.length) {
509
- while (pos < commandText.length && /\s/.test(commandText[pos])) pos++;
510
- if (pos >= commandText.length) {
511
- restPos = pos;
512
- break;
513
- }
514
- const tokenStart = pos;
515
- while (pos < commandText.length && !/\s/.test(commandText[pos])) pos++;
516
- const token = commandText.slice(tokenStart, pos);
517
- if (skills.length === 0) {
518
- if (token.startsWith("/")) break;
519
- const cmd2 = findCommandByName(token, commands);
520
- if (!cmd2 || cmd2.kind !== "skill" /* SKILL */) break;
521
- skills.push(cmd2);
522
- restPos = pos;
523
- continue;
524
- }
525
- if (!token.startsWith("/")) break;
526
- const name = token.substring(1);
527
- if (!name) break;
528
- const cmd = findCommandByName(name, commands);
529
- if (!cmd || cmd.kind !== "skill" /* SKILL */) break;
530
- if (skills.length >= MAX_STACKED_SKILLS) {
531
- exceededMax = true;
532
- break;
533
- }
534
- skills.push(cmd);
535
- restPos = pos;
536
- }
537
- if (skills.length < 2) {
538
- return { skills: [], remainingText: trimmed, exceededMax: false };
539
- }
540
- const afterSkills = commandText.slice(restPos).trim();
541
- return { skills, remainingText: afterSkills, exceededMax };
542
- }, "parseStackedSlashCommands");
543
- function findCommandByName(name, commands) {
544
- return commands.find((cmd) => cmd.name === name) ?? commands.find((cmd) => cmd.altNames?.includes(name));
545
- }
546
- __name(findCommandByName, "findCommandByName");
547
-
548
563
  // packages/cli/src/services/CommandService.ts
549
564
  init_esbuild_shims();
550
565
  var debugLogger2 = createDebugLogger("CLI_COMMANDS");
@@ -1918,7 +1933,7 @@ var approvalModeCommand = {
1918
1933
  };
1919
1934
  }
1920
1935
  }
1921
- const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-CHSTZLZD.js") : void 0;
1936
+ const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-Q5BMKZV3.js") : void 0;
1922
1937
  if (config) {
1923
1938
  try {
1924
1939
  config.setApprovalMode(mode);
@@ -2617,6 +2632,11 @@ var cdCommand = {
2617
2632
  `Memory refresh failed: ${relocation.memoryRefreshError instanceof Error ? relocation.memoryRefreshError.message : String(relocation.memoryRefreshError)}`
2618
2633
  );
2619
2634
  }
2635
+ if (relocation.mcpRefreshError) {
2636
+ warnings.push(
2637
+ `MCP refresh failed: ${relocation.mcpRefreshError instanceof Error ? relocation.mcpRefreshError.message : String(relocation.mcpRefreshError)}`
2638
+ );
2639
+ }
2620
2640
  } catch (error) {
2621
2641
  return {
2622
2642
  type: "message",
@@ -2625,7 +2645,16 @@ var cdCommand = {
2625
2645
  };
2626
2646
  }
2627
2647
  if (trustedTargetPath) {
2628
- loadTrustedFolders().setValue(trustedTargetPath, "TRUST_FOLDER" /* TRUST_FOLDER */);
2648
+ try {
2649
+ loadTrustedFolders().setValue(
2650
+ trustedTargetPath,
2651
+ "TRUST_FOLDER" /* TRUST_FOLDER */
2652
+ );
2653
+ } catch (error) {
2654
+ warnings.push(
2655
+ `Trust setting update failed: ${error instanceof Error ? error.message : String(error)}`
2656
+ );
2657
+ }
2629
2658
  }
2630
2659
  try {
2631
2660
  await config.getGeminiClient()?.addWorkingDirectoryChangedContext(realOldDir, realTargetPath);
@@ -3436,11 +3465,6 @@ var compressFastCommand = {
3436
3465
 
3437
3466
  // packages/cli/src/ui/commands/copyCommand.ts
3438
3467
  init_esbuild_shims();
3439
- var INLINE_MATH_MAX_CHARS = 1024;
3440
- var INLINE_MATH_REGEX = new RegExp(
3441
- String.raw`(?<![\w$])\$(?![\s\d$])(?=[^$\n]{1,${INLINE_MATH_MAX_CHARS}}\S\$)([^$\n]{1,${INLINE_MATH_MAX_CHARS}})\$(?![\w$])`,
3442
- "g"
3443
- );
3444
3468
  function parseFencedCodeBlocks(markdown) {
3445
3469
  const blocks = [];
3446
3470
  const lines = markdown.split(/\r?\n/);
@@ -3514,14 +3538,11 @@ function parseInlineLatexExpressions(markdown) {
3514
3538
  inLatexBlock = true;
3515
3539
  continue;
3516
3540
  }
3517
- for (const match of line.matchAll(INLINE_MATH_REGEX)) {
3518
- const content = match[1];
3519
- if (content) {
3520
- expressions.push({
3521
- content,
3522
- index: expressions.length + 1
3523
- });
3524
- }
3541
+ for (const content of findInlineMathExpressions(line)) {
3542
+ expressions.push({
3543
+ content,
3544
+ index: expressions.length + 1
3545
+ });
3525
3546
  }
3526
3547
  }
3527
3548
  return expressions;
@@ -3623,10 +3644,7 @@ function selectCodeBlock(markdown, args) {
3623
3644
  if (blocks.length === 0) return null;
3624
3645
  let lang = null;
3625
3646
  let requestedIndex = null;
3626
- const selectorTokens = firstToken === "code" ? tokens.slice(1) : tokens.map((token) => token);
3627
- if (firstToken !== "code") {
3628
- lang = firstToken;
3629
- }
3647
+ const selectorTokens = firstToken === "code" ? tokens.slice(1) : tokens;
3630
3648
  for (const token of selectorTokens) {
3631
3649
  if (/^\d+$/.test(token)) {
3632
3650
  requestedIndex = Number(token);
@@ -6250,7 +6268,7 @@ var expandNowCommand = {
6250
6268
  content: t("History is already expanded in this session.")
6251
6269
  };
6252
6270
  }
6253
- const { expandCollapsedHistory } = await import("./resumeHistoryUtils-65OX3SGJ.js");
6271
+ const { expandCollapsedHistory } = await import("./resumeHistoryUtils-BNBTP5AS.js");
6254
6272
  const updated = expandCollapsedHistory(history);
6255
6273
  loadHistory(updated);
6256
6274
  refreshStatic();
@@ -6496,7 +6514,7 @@ function getHookDescription(eventName) {
6496
6514
  "Input to command is JSON with file_path, memory_type, load_reason, and optional trigger_file_path and parent_file_path."
6497
6515
  ),
6498
6516
  ["UserPromptSubmit" /* UserPromptSubmit */]: t(
6499
- "Input to command is JSON with original user prompt text."
6517
+ 'Input to command is JSON with "prompt" (the current model-bound prompt) and optional "submitted_prompt" (the supported interactive TUI text projection).'
6500
6518
  ),
6501
6519
  ["UserPromptExpansion" /* UserPromptExpansion */]: t(
6502
6520
  "Input to command is JSON with command_name, command_args, and expanded prompt text."
@@ -7687,7 +7705,7 @@ var initCommand = {
7687
7705
  if (existing && existing.trim().length > 0) {
7688
7706
  if (!context.overwriteConfirmed) {
7689
7707
  const [{ Text }, { default: React }] = await Promise.all([
7690
- import("./build-RV63TIRH.js"),
7708
+ import("./build-GDBLPA24.js"),
7691
7709
  import("./react-SG7JAQSZ.js")
7692
7710
  ]);
7693
7711
  return {
@@ -9858,6 +9876,28 @@ var EMPTY_SKILL_METRICS = {
9858
9876
  totalFail: 0,
9859
9877
  byName: {}
9860
9878
  };
9879
+ function formatGenerationMetrics(metrics) {
9880
+ const last = metrics?.last;
9881
+ if (!metrics || !last) {
9882
+ return [];
9883
+ }
9884
+ const lastTps = last.generationDurationMs > 0 ? last.outputTokens / (last.generationDurationMs / 1e3) : void 0;
9885
+ const averageTtft = metrics.timedRequests > 0 ? metrics.totalTtftMs / metrics.timedRequests : void 0;
9886
+ const sessionTps = metrics.totalGenerationDurationMs > 0 ? metrics.totalThroughputOutputTokens / (metrics.totalGenerationDurationMs / 1e3) : void 0;
9887
+ return [
9888
+ "",
9889
+ `${t("Generation Metrics")} (${t("Latest Request")})`,
9890
+ `${t("Model")}: ${last.model}`,
9891
+ `TTFT: ${formatDuration(last.ttftMs)}`,
9892
+ `${t("Generation Time")}: ${formatDuration(last.generationDurationMs)}`,
9893
+ `${t("Output Tokens")}: ${formatInteger(last.outputTokens)}`,
9894
+ `TPS: ${lastTps === void 0 ? "\u2014" : `${lastTps.toFixed(1)} tok/s`}`,
9895
+ `${t("Requests")}: ${formatInteger(metrics.timedRequests)}`,
9896
+ `${t("Average TTFT")}: ${averageTtft === void 0 ? "\u2014" : formatDuration(averageTtft)}`,
9897
+ `${t("Session TPS")}: ${sessionTps === void 0 ? "\u2014" : `${sessionTps.toFixed(1)} tok/s`}`
9898
+ ];
9899
+ }
9900
+ __name(formatGenerationMetrics, "formatGenerationMetrics");
9861
9901
  function formatInteger(value) {
9862
9902
  return new Intl.NumberFormat(getCurrentLanguage()).format(value);
9863
9903
  }
@@ -10407,6 +10447,7 @@ var statsCommand = {
10407
10447
  prompt: String(totalPromptTokens),
10408
10448
  output: String(totalCandidateTokens)
10409
10449
  }),
10450
+ ...formatGenerationMetrics(metrics.generation),
10410
10451
  t("Tool calls: {{total}} ({{success}} ok, {{fail}} fail)", {
10411
10452
  total: String(metrics.tools.totalCalls),
10412
10453
  success: String(metrics.tools.totalSuccess),
@@ -13178,10 +13219,10 @@ var updateCommand = {
13178
13219
  { performStandaloneUpdate },
13179
13220
  installationInfo
13180
13221
  ] = await Promise.all([
13181
- import("./updateCheck-WUJGHWZZ.js"),
13182
- import("./processUtils-V2LCK6T6.js"),
13183
- import("./standalone-update-ZMFNKAEY.js"),
13184
- import("./installationInfo-5UUQJI6Y.js")
13222
+ import("./updateCheck-4Q6RIKFW.js"),
13223
+ import("./processUtils-PB5K2DYH.js"),
13224
+ import("./standalone-update-JAKIM2NF.js"),
13225
+ import("./installationInfo-4MGG4WVI.js")
13185
13226
  ]);
13186
13227
  const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
13187
13228
  const settings = context.services.settings;
@@ -14261,6 +14302,7 @@ __name(tryParseJson, "tryParseJson");
14261
14302
 
14262
14303
  // packages/cli/src/services/McpPromptLoader.ts
14263
14304
  init_esbuild_shims();
14305
+ var NAMED_ARG_REGEX = /--([^=]+)=(?:"((?:\\.|[^"\\])*)"|([^ ]+))/;
14264
14306
  var McpPromptLoader = class {
14265
14307
  constructor(config) {
14266
14308
  this.config = config;
@@ -14399,21 +14441,37 @@ var McpPromptLoader = class {
14399
14441
  return [];
14400
14442
  }
14401
14443
  const indexOfFirstSpace = invocation.raw.indexOf(" ") + 1;
14402
- let promptInputs = indexOfFirstSpace === 0 ? {} : this.parseArgs(
14403
- invocation.raw.substring(indexOfFirstSpace),
14404
- prompt.arguments
14405
- );
14406
- if (promptInputs instanceof Error) {
14407
- promptInputs = {};
14444
+ const argsString = indexOfFirstSpace === 0 ? "" : invocation.raw.substring(indexOfFirstSpace);
14445
+ const namedArgRegex = new RegExp(NAMED_ARG_REGEX.source, "g");
14446
+ const providedArgNames = /* @__PURE__ */ new Set();
14447
+ let m;
14448
+ while ((m = namedArgRegex.exec(argsString)) !== null) {
14449
+ providedArgNames.add(m[1]);
14408
14450
  }
14409
- const providedArgNames = Object.keys(promptInputs);
14410
- const unusedArguments = prompt.arguments.filter((arg) => {
14411
- if (!providedArgNames.includes(arg.name)) {
14412
- return true;
14451
+ const positionalTokens = argsString.replace(namedArgRegex, " ").match(/(?:"(?:\\.|[^"\\])*"|[^ ]+)/g) || [];
14452
+ const positionalCount = positionalTokens.filter(
14453
+ (token) => !token.startsWith("--")
14454
+ ).length;
14455
+ if (positionalCount > 0) {
14456
+ const unfilled = prompt.arguments.filter((arg) => !providedArgNames.has(arg.name)).sort(
14457
+ (a, b) => a.required === b.required ? 0 : a.required ? -1 : 1
14458
+ );
14459
+ for (let i = 0; i < positionalCount && i < unfilled.length; i++) {
14460
+ providedArgNames.add(unfilled[i].name);
14413
14461
  }
14414
- const argValue = promptInputs[arg.name];
14415
- return argValue === partialArg;
14416
- }).map((argument) => `--${argument.name}="`) || [];
14462
+ }
14463
+ const unusedRequired = [];
14464
+ const unusedOptional = [];
14465
+ for (const arg of prompt.arguments) {
14466
+ if (providedArgNames.has(arg.name)) continue;
14467
+ const flag = `--${arg.name}="`;
14468
+ if (arg.required) {
14469
+ unusedRequired.push(flag);
14470
+ } else {
14471
+ unusedOptional.push(flag);
14472
+ }
14473
+ }
14474
+ const unusedArguments = unusedRequired.length > 0 ? partialArg.length > 0 ? [...unusedRequired, ...unusedOptional] : unusedRequired : partialArg.length > 0 ? unusedOptional : [];
14417
14475
  const exactlyMatchingArgumentAtTheEnd = prompt.arguments.map((argument) => `--${argument.name}="`).filter((flagArgument) => {
14418
14476
  const regex = new RegExp(`${flagArgument}[^"]*$`);
14419
14477
  return regex.test(invocation.raw);
@@ -14450,7 +14508,7 @@ var McpPromptLoader = class {
14450
14508
  parseArgs(userArgs, promptArgs) {
14451
14509
  const argValues = {};
14452
14510
  const promptInputs = {};
14453
- const namedArgRegex = /--([^=]+)=(?:"((?:\\.|[^"\\])*)"|([^ ]+))/g;
14511
+ const namedArgRegex = new RegExp(NAMED_ARG_REGEX.source, "g");
14454
14512
  let match;
14455
14513
  let lastIndex = 0;
14456
14514
  const positionalParts = [];
@@ -15366,6 +15424,8 @@ __name(functionResponsePartsToString, "functionResponsePartsToString");
15366
15424
 
15367
15425
  export {
15368
15426
  MAX_STACKED_SKILLS,
15427
+ isStackedSkillCompletableCommand,
15428
+ isValidStackedSkillPrefix,
15369
15429
  parseSlashCommand,
15370
15430
  parseStackedSlashCommands,
15371
15431
  CommandService,
@@ -2,26 +2,26 @@
2
2
  "use strict";
3
3
  import {
4
4
  theme
5
- } from "./chunk-VAK25FTU.js";
5
+ } from "./chunk-45IOTAUS.js";
6
6
  import {
7
7
  require_jsx_runtime
8
8
  } from "./chunk-SV5PQVQE.js";
9
9
  import {
10
10
  Box_default,
11
11
  Text
12
- } from "./chunk-6GMVPFB2.js";
12
+ } from "./chunk-2IIJTXYF.js";
13
13
  import {
14
14
  require_react
15
15
  } from "./chunk-5QWWOFGG.js";
16
16
  import {
17
17
  toCodePoints
18
- } from "./chunk-IPUUTYMV.js";
18
+ } from "./chunk-YDLJGZHL.js";
19
19
  import {
20
20
  stringWidth
21
21
  } from "./chunk-2MIN6GRR.js";
22
22
  import {
23
23
  createDebugLogger
24
- } from "./chunk-NL7LTRLR.js";
24
+ } from "./chunk-E2BHWIDT.js";
25
25
  import {
26
26
  init_esbuild_shims
27
27
  } from "./chunk-5O2XNYP6.js";