@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.
- package/bundled/qc-helper/docs/configuration/model-providers.md +2 -0
- package/bundled/qc-helper/docs/configuration/settings.md +39 -28
- package/bundled/qc-helper/docs/features/channels/_meta.ts +2 -0
- package/bundled/qc-helper/docs/features/channels/github.md +139 -0
- package/bundled/qc-helper/docs/features/channels/gitlab.md +171 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +61 -6
- package/bundled/qc-helper/docs/features/code-review.md +21 -1
- package/bundled/qc-helper/docs/features/hooks.md +72 -15
- package/bundled/qc-helper/docs/features/mcp.md +9 -1
- package/bundled/qc-helper/docs/features/scheduled-tasks.md +3 -1
- package/bundled/qc-helper/docs/features/sub-agents.md +42 -8
- package/bundled/qc-helper/docs/qwen-serve.md +11 -7
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
- package/bundled/qc-helper/docs/support/troubleshooting.md +2 -1
- package/bundled/review/DESIGN.md +19 -0
- package/bundled/review/SKILL.md +120 -61
- package/chunks/MaxSizedBox-TQBQ247P.js +88 -0
- package/chunks/{StandaloneSessionPicker-O6RKBPU4.js → StandaloneSessionPicker-2HPTKCLX.js} +71 -69
- package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-2C4A5ZTJ.js} +2 -2
- package/chunks/{acpAgent-HYFVXVDR.js → acpAgent-PS6EDGH3.js} +1628 -590
- package/chunks/agent-VDOUB35F.js +84 -0
- package/chunks/agent-headless-EO53EFS2.js +78 -0
- package/chunks/{anthropicContentGenerator-LXUXMOE7.js → anthropicContentGenerator-OFHSZJBF.js} +61 -20
- package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-RDN2W7ND.js} +4 -4
- package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-OZERWH5R.js} +4 -4
- package/chunks/bridge-W7AZSRZQ.js +94 -0
- package/chunks/{build-RV63TIRH.js → build-GDBLPA24.js} +1 -1
- package/chunks/{ca-25EDXPFZ.js → ca-6W3SK7OQ.js} +6 -1
- package/chunks/{channel-management-service-G74LFADV.js → channel-management-service-5S7YCWX5.js} +20 -5
- package/chunks/channel-settings-store-JFVRSNER.js +91 -0
- package/chunks/{channel-worker-group-PTJIJSKC.js → channel-worker-group-OVWGYMZS.js} +9 -5
- package/chunks/{channel-worker-manager-WIMGM2FD.js → channel-worker-manager-H55GKOQA.js} +9 -5
- package/chunks/{channel-worker-supervisor-KUFTR6P5.js → channel-worker-supervisor-CABBXYHK.js} +5 -4
- package/chunks/{chunk-6GMVPFB2.js → chunk-2IIJTXYF.js} +45 -16
- package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
- package/chunks/{chunk-I7XZ3RY5.js → chunk-2KKCCLPT.js} +1 -1
- package/chunks/{chunk-MSLKI6C2.js → chunk-2LEOZTBT.js} +49 -26
- package/chunks/{chunk-3QMGYBFN.js → chunk-3APUUXRF.js} +1 -80
- package/chunks/{chunk-VV6XU5L7.js → chunk-3F2WDAV6.js} +16 -11
- package/chunks/{chunk-MUP3T3AD.js → chunk-3I6DUGQD.js} +1 -35
- package/chunks/{chunk-66RMLJHC.js → chunk-44F4LBWZ.js} +577 -208
- package/chunks/{chunk-VAK25FTU.js → chunk-45IOTAUS.js} +1 -1
- package/chunks/{chunk-JZA3JUDJ.js → chunk-4KP2F2TE.js} +1 -1
- package/chunks/{chunk-DM4Q4JJH.js → chunk-54YCNSK5.js} +36562 -45062
- package/chunks/{chunk-2Q3OT4OV.js → chunk-56Z7QEAQ.js} +200 -77
- package/chunks/{chunk-ZOIFNCKL.js → chunk-5NNHICSA.js} +3 -23
- package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
- package/chunks/{chunk-RHLZR4E5.js → chunk-675H6PLP.js} +1 -1
- package/chunks/{chunk-YAF5VNU7.js → chunk-6CQWRWUC.js} +4 -5
- package/chunks/chunk-6FMJLI5M.js +1591 -0
- package/chunks/{chunk-HV3G62R6.js → chunk-6MPDY6ZG.js} +1 -1
- package/chunks/{chunk-32MVHM4T.js → chunk-6PQPKTXP.js} +1 -1
- package/chunks/{chunk-LG4GZIVV.js → chunk-6TAASXWL.js} +4 -4
- package/chunks/{chunk-OJGCZBB7.js → chunk-77V3VIKL.js} +41 -36
- package/chunks/{chunk-2OM7GEXO.js → chunk-7KAXXBER.js} +3 -3
- package/chunks/{chunk-2JM6GZ5D.js → chunk-7SJN2IWT.js} +8 -13
- package/chunks/{chunk-UUUTRMI2.js → chunk-7ULQIS27.js} +1 -1
- package/chunks/{chunk-2YZJCM5T.js → chunk-A7Y5H4TX.js} +4 -4
- package/chunks/{chunk-TOFQCPDC.js → chunk-AOHY3QJ3.js} +14 -8
- package/chunks/chunk-AQ37AY7B.js +93 -0
- package/chunks/{chunk-B6ZJ7SI6.js → chunk-AUOULH6Q.js} +383 -320
- package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
- package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
- package/chunks/{chunk-7FZEBPKS.js → chunk-BBIQAX4V.js} +23 -18
- package/chunks/{chunk-L26JL52R.js → chunk-CBBP4BMC.js} +64 -67
- package/chunks/{chunk-ZD6UTE4A.js → chunk-CNTR4GR6.js} +1 -1
- package/chunks/{chunk-4M377AZG.js → chunk-CO2U743O.js} +6 -6
- package/chunks/{chunk-3SJ43L4W.js → chunk-CPZAH673.js} +6 -0
- package/chunks/{chunk-VFSJ5VRH.js → chunk-CU47KXB5.js} +3 -3
- package/chunks/{chunk-EPDRMGT4.js → chunk-D4HTUMGX.js} +4 -28
- package/chunks/{chunk-XHRTVPG2.js → chunk-D6MDRSZ6.js} +7 -7
- package/chunks/{chunk-BYFNTGKI.js → chunk-DEEABGH2.js} +3111 -989
- package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
- package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
- package/chunks/{chunk-B4UMZKMU.js → chunk-DQ2O5QOJ.js} +1 -1
- package/chunks/{chunk-DLWL3Z7A.js → chunk-DSFHVTWD.js} +3 -3
- package/chunks/{chunk-RWS5VYWC.js → chunk-DUNI4EBW.js} +950 -446
- package/chunks/{chunk-NL7LTRLR.js → chunk-E2BHWIDT.js} +48 -72
- package/chunks/{chunk-3MSHSCSN.js → chunk-E2FN6SM7.js} +93 -3
- package/chunks/{chunk-USTWD7QV.js → chunk-E6CJ2SMM.js} +26 -16
- package/chunks/{chunk-TF2X2WCT.js → chunk-EQNUDTL6.js} +2 -2
- package/chunks/{chunk-PANH4R3B.js → chunk-EU5TBFJI.js} +18 -12
- package/chunks/{chunk-W4CQXHT6.js → chunk-FANRZEAJ.js} +1 -1
- package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
- package/chunks/{chunk-N3FAY5CM.js → chunk-FCYYAB4S.js} +157 -4
- package/chunks/{chunk-OKY7HXPG.js → chunk-FJ5WUMUQ.js} +2 -2
- package/chunks/{chunk-M4UKFCZ2.js → chunk-FNDXMN7I.js} +231 -171
- package/chunks/{chunk-FQK6JAFG.js → chunk-FS674JW4.js} +4 -4
- package/chunks/chunk-FYJ7W2PI.js +194 -0
- package/chunks/{chunk-INADJJGW.js → chunk-G7XXKQYS.js} +2 -2
- package/chunks/{chunk-LNARWLZQ.js → chunk-GJ2GBPBD.js} +2 -2
- package/chunks/{chunk-E5WH5O3C.js → chunk-GL4JOZXU.js} +4 -4
- package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
- package/chunks/{chunk-KU5XMLDK.js → chunk-GURGAJTX.js} +4 -1
- package/chunks/{chunk-5THCYPLO.js → chunk-H6I4PGRV.js} +15 -8
- package/chunks/{chunk-A5L3JMUA.js → chunk-HC45LTEN.js} +18 -4
- package/chunks/{chunk-U7TXFVUN.js → chunk-HIVKI6O6.js} +118 -95
- package/chunks/{chunk-QY5MMZ6O.js → chunk-HX6RLYUO.js} +3 -3
- package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
- package/chunks/{chunk-ER5LWJR6.js → chunk-I5BT7ADR.js} +3 -3
- package/chunks/{chunk-L5UHQJTJ.js → chunk-IGTHU3T4.js} +1 -1
- package/chunks/{chunk-BIQWWWJN.js → chunk-IIUGIWWY.js} +1 -1
- package/chunks/{chunk-ML52PL6O.js → chunk-JCJ7LKNA.js} +5856 -5334
- package/chunks/{chunk-B7QDM6Z7.js → chunk-JE2CEOBO.js} +2 -2
- package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
- package/chunks/{chunk-P5V4T7NK.js → chunk-JJPKFJBT.js} +11 -3
- package/chunks/{chunk-J6D3VXCC.js → chunk-JLZ3RBQG.js} +18 -5
- package/chunks/{chunk-PWTZEM3C.js → chunk-JXVC2PL3.js} +3 -37
- package/chunks/chunk-JYBU6YUE.js +378 -0
- package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
- package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
- package/chunks/{chunk-Z5BLYMZM.js → chunk-KR32NIAN.js} +6 -6
- package/chunks/{chunk-MK7VQDN3.js → chunk-KWHKHSIS.js} +8 -6
- package/chunks/{chunk-5U4IPFBR.js → chunk-KXDONCPU.js} +4 -4
- package/chunks/{chunk-DHHOYAPR.js → chunk-L2E5GFAG.js} +7 -7
- package/chunks/{chunk-V6VRAM7B.js → chunk-L32VV3ZJ.js} +12 -12
- package/chunks/{chunk-2W3OOD4W.js → chunk-L55JWS76.js} +6 -3
- package/chunks/{chunk-E5TUC6CA.js → chunk-LHKCY7DY.js} +3 -3
- package/chunks/{chunk-NH6KE4JX.js → chunk-LOY7RWQG.js} +3 -3
- package/chunks/{chunk-CC4N4M36.js → chunk-LYI2PZDK.js} +1 -1
- package/chunks/{chunk-3JAQDSXN.js → chunk-MB32MS4U.js} +80 -9
- package/chunks/{chunk-PR75REBZ.js → chunk-MM7TH7ZM.js} +12 -82
- package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
- package/chunks/{chunk-M5JM7OSF.js → chunk-N4ACHWNH.js} +2 -3
- package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
- package/chunks/{chunk-J56UI34H.js → chunk-NBD76HUW.js} +4 -2
- package/chunks/{chunk-C3NS4F2Q.js → chunk-NHFEMWAZ.js} +1 -1
- package/chunks/{chunk-6PSLCFQ2.js → chunk-NTDH4IML.js} +18 -9
- package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
- package/chunks/chunk-O6GEWCJA.js +21 -0
- package/chunks/chunk-OCPBI7J5.js +18 -0
- package/chunks/{chunk-ZE5WPL4I.js → chunk-OFZKFPYG.js} +3 -3
- package/chunks/{chunk-KIUFNBHR.js → chunk-P5VC5USY.js} +1 -1
- package/chunks/chunk-P755N4CS.js +2196 -0
- package/chunks/{chunk-BRRAJXPA.js → chunk-PCK4B6LR.js} +1 -1
- package/chunks/{chunk-TQCBGUHN.js → chunk-PJOHNFIY.js} +5 -5
- package/chunks/{chunk-G4WFQUYQ.js → chunk-PVNQRENX.js} +1 -1
- package/chunks/{chunk-DM22XS4K.js → chunk-PZEXDV3H.js} +357 -13
- package/chunks/{chunk-2JZBVYTU.js → chunk-Q3T5KA2V.js} +1 -8
- package/chunks/{chunk-SASBXAQL.js → chunk-Q5WZTTWE.js} +4 -4
- package/chunks/{chunk-SRZ6DXVG.js → chunk-QARJNL2V.js} +44 -136
- package/chunks/{chunk-YH6G52F2.js → chunk-QCXGC7QB.js} +4 -4
- package/chunks/{chunk-SQBYH7PX.js → chunk-QDK4F2N5.js} +1 -1
- package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
- package/chunks/{chunk-H5FFA6TH.js → chunk-QTHQ6Z5X.js} +16 -3
- package/chunks/{chunk-5I2IWRSH.js → chunk-R2XWGR75.js} +2 -2
- package/chunks/{chunk-PHVR5UUY.js → chunk-RDJOB6S3.js} +1 -1
- package/chunks/{chunk-GDIPH4JY.js → chunk-RG64CDT2.js} +6 -6
- package/chunks/{chunk-3HBZKBMQ.js → chunk-RSVPYAGK.js} +5 -5
- package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
- package/chunks/{chunk-K4XWPEWB.js → chunk-SHN4KHDK.js} +4 -33
- package/chunks/{chunk-VYPFXUCB.js → chunk-SZ3KHTDR.js} +1 -1
- package/chunks/chunk-T26EAKDL.js +13 -0
- package/chunks/chunk-T3CHYWJZ.js +758 -0
- package/chunks/{chunk-FNQ6T3CV.js → chunk-TEGJSJDF.js} +10 -7
- package/chunks/{chunk-OHNBB4XR.js → chunk-THVU3RNH.js} +1 -1
- package/chunks/{record-artifact-RQKFYO5B.js → chunk-TIRRPCFS.js} +22 -7
- package/chunks/chunk-TTJZAIFP.js +319 -0
- package/chunks/{chunk-63P4EL5V.js → chunk-TZTAV5RH.js} +1 -1
- package/chunks/{chunk-52O2CIUL.js → chunk-UV6KF7T3.js} +130 -5
- package/chunks/{chunk-QPDRAXDJ.js → chunk-V25K5ID7.js} +1 -1
- package/chunks/{chunk-3IXOIAKE.js → chunk-V4XNUDPE.js} +18 -6
- package/chunks/{chunk-WDSWXQU3.js → chunk-VEMNQMHA.js} +2 -2
- package/chunks/{chunk-LNURQEMZ.js → chunk-VMX5RZQH.js} +12 -10
- package/chunks/{chunk-JALU3ZDU.js → chunk-W3UKBMSI.js} +154 -16
- package/chunks/{chunk-DN6ZX5AY.js → chunk-WWCMSZII.js} +61 -14
- package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
- package/chunks/{chunk-FY3M44RD.js → chunk-XP4L6KS3.js} +3 -3
- package/chunks/{chunk-6FGBXPWM.js → chunk-XQK4XXTN.js} +38 -44
- package/chunks/{chunk-A6UO2C7C.js → chunk-XUGZYLDH.js} +167 -81
- package/chunks/{chunk-LZEMEFKY.js → chunk-YANIWTRZ.js} +1 -1
- package/chunks/{chunk-IPUUTYMV.js → chunk-YDLJGZHL.js} +1 -1
- package/chunks/{chunk-HIJQF5B5.js → chunk-YGE3IXJP.js} +1 -1
- package/chunks/{chunk-BJX6ZSUK.js → chunk-YUFIEIWC.js} +2 -2
- package/chunks/{chunk-BO4XCS7P.js → chunk-Z3S5EMOW.js} +20 -85
- package/chunks/chunk-Z4X5MTRT.js +133 -0
- package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
- package/chunks/{chunk-PSWQZHEA.js → chunk-ZMOJ7ISP.js} +1 -1
- package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
- package/chunks/{chunk-MVS3NS2N.js → chunk-ZPZ7ZJEE.js} +28 -5
- package/chunks/{computer-use-DOFAHZAB.js → computer-use-5QWCFNKD.js} +52 -50
- package/chunks/{config-utils-VFQXVGNR.js → config-utils-WADIDWGG.js} +4 -4
- package/chunks/contextCommand-4Z7T7TUM.js +83 -0
- package/chunks/core-runtime-6N4EFC2Q.js +137 -0
- package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-62YZWVAY.js} +3 -3
- package/chunks/{create-sub-session-7543K2QA.js → create-sub-session-AEREHZBQ.js} +49 -47
- package/chunks/{cron-create-YIID5XAW.js → cron-create-6E7GIQTG.js} +6 -6
- package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-JD26XY3W.js} +5 -5
- package/chunks/{cron-list-XEGS463Q.js → cron-list-CUWFB44G.js} +6 -6
- package/chunks/{daemon-VOMQW7KZ.js → daemon-PCNCI5YU.js} +239 -18
- package/chunks/daemon-status-provider-DDF7C5M7.js +93 -0
- package/chunks/daemon-trust-policy-Q4KSOJTR.js +88 -0
- package/chunks/daemon-trust-policy-monitor-V6FTE3IY.js +175 -0
- package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
- package/chunks/deferred-core-runtime-GHJ5GQHK.js +92 -0
- package/chunks/dist-26BIMQT6.js +4487 -0
- package/chunks/{dist-KTYYJ2C5.js → dist-2PERFI23.js} +12 -9
- package/chunks/{dist-NNVBBOGU.js → dist-OAOC5OV4.js} +2 -2
- package/chunks/{dist-K6Y4E7FX.js → dist-PVEAFLHY.js} +5 -4
- package/chunks/{dist-RTJFMNEZ.js → dist-SL2LUMML.js} +1449 -14
- package/chunks/dist-ULIG4M5H.js +13415 -0
- package/chunks/{dist-ANLAT3GS.js → dist-WGMNT3JQ.js} +2 -1
- package/chunks/{dist-BRB6EXK4.js → dist-ZHXOBXDN.js} +3 -3
- package/chunks/earlyInputCapture-TQXLLISD.js +85 -0
- package/chunks/{edit-RIEOJWKB.js → edit-FJEUV6KZ.js} +51 -49
- package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
- package/chunks/{enter-worktree-OGK5FQ3R.js → enter-worktree-7GE3TZ4P.js} +51 -49
- package/chunks/{enterPlanMode-IWZYALIB.js → enterPlanMode-KR5TMPCJ.js} +51 -49
- package/chunks/environment-SWL3CMB3.js +105 -0
- package/chunks/errors-XQE7BGZV.js +91 -0
- package/chunks/esm-K5FARBNI.js +5548 -0
- package/chunks/{exit-worktree-4TEYVIVP.js → exit-worktree-CHKTYNCV.js} +51 -49
- package/chunks/exitPlanMode-QYAG6LWX.js +76 -0
- package/chunks/{fast-path-HYE7IFEV.js → fast-path-Z2K7W6DC.js} +13 -3
- package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
- package/chunks/{gemini-NGRQX3YJ.js → gemini-YU4XKEDG.js} +107 -103
- package/chunks/{geminiContentGenerator-FQHPFZSR.js → geminiContentGenerator-ZZX6NBO4.js} +7 -7
- package/chunks/{getMachineId-bsd-V7W3GODC.js → getMachineId-bsd-FG7IUY6U.js} +1 -1
- package/chunks/{getMachineId-darwin-TDO75DQP.js → getMachineId-darwin-GLCJI2RA.js} +1 -1
- package/chunks/{getMachineId-linux-TF43WQT2.js → getMachineId-linux-O6OPPAKO.js} +1 -1
- package/chunks/{getMachineId-unsupported-ZGUO3TXT.js → getMachineId-unsupported-S6CKYVGC.js} +1 -1
- package/chunks/{getMachineId-win-ECFYZZFQ.js → getMachineId-win-X5SRNEH7.js} +1 -1
- package/chunks/{glob-FRTM3X2E.js → glob-VYF5CXSX.js} +51 -49
- package/chunks/goal-tools-HGO6VXPB.js +335 -0
- package/chunks/{grep-RKWVROCW.js → grep-5DP5ZUTW.js} +53 -50
- package/chunks/handleAutoUpdate-UVBJ56DL.js +84 -0
- package/chunks/i18n-UQNYHEUD.js +100 -0
- package/chunks/{image-gen-WIEM7KZA.js → image-gen-WHPIZNWF.js} +12 -12
- package/chunks/initializer-GMIICF4W.js +89 -0
- package/chunks/installationInfo-4MGG4WVI.js +83 -0
- package/chunks/{ja-B7DF7DFG.js → ja-F3GSQXMF.js} +6 -1
- package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-IKO4G53C.js} +3 -3
- package/chunks/lib-RUF3WZA6.js +9 -0
- package/chunks/list-CPN2W334.js +92 -0
- package/chunks/{list-agents-5KJJHR6I.js → list-agents-PXJ7ZUFB.js} +3 -3
- package/chunks/loadedSettingsAdapter-ZQAV5NDO.js +86 -0
- package/chunks/{loggingContentGenerator-WGM27QAW.js → loggingContentGenerator-5E7W4IEP.js} +31 -30
- package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-Y26NQZ5I.js} +15 -8
- package/chunks/{ls-NTK6VOQJ.js → ls-ONQTTMQR.js} +5 -5
- package/chunks/{lsp-2JI24STP.js → lsp-YGHHRGMD.js} +3 -3
- package/chunks/{managed-npm-update-JQ2CG3RH.js → managed-npm-update-MKKAXYXA.js} +50 -48
- package/chunks/mcp-V5NTJF6X.js +86 -0
- package/chunks/{monitor-7FEWXX5F.js → monitor-CO3ASY6E.js} +51 -49
- package/chunks/nonInteractiveCli-ZJYEOO7U.js +148 -0
- package/chunks/{notebook-edit-JGJV2K6J.js → notebook-edit-Z7AEE6FM.js} +51 -49
- package/chunks/{openaiContentGenerator-JPVXDTAO.js → openaiContentGenerator-CA3MQOP3.js} +25 -27
- package/chunks/pidfile-NL7MKDRU.js +89 -0
- package/chunks/process-registry-2CHQBXH5.js +157 -0
- package/chunks/{processUtils-V2LCK6T6.js → processUtils-PB5K2DYH.js} +2 -2
- package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
- package/chunks/{qwenContentGenerator-TICV2W2Z.js → qwenContentGenerator-JYFNDCOS.js} +55 -53
- package/chunks/{qwenOAuth2-XGFI5XJG.js → qwenOAuth2-W2ALKQDD.js} +10 -10
- package/chunks/read-file-IEOR5H5W.js +29 -0
- package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-U2IJN5HM.js} +4 -4
- package/chunks/record-artifact-MGPJ7EG4.js +21 -0
- package/chunks/resumeHistoryUtils-BNBTP5AS.js +94 -0
- package/chunks/ripGrep-UMQODKEB.js +76 -0
- package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
- package/chunks/{run-qwen-serve-3VCV4I7E.js → run-qwen-serve-RN2R6QQW.js} +982 -263
- package/chunks/runtime-QFJ2MJF5.js +122 -0
- package/chunks/{scheduler-RS2I6RU5.js → scheduler-AMYUFOZI.js} +49 -47
- package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
- package/chunks/{sdk-exporters-http-FS6ZV7MF.js → sdk-exporters-http-4BQANSJ6.js} +7 -7
- package/chunks/{sdk-impl-7FZSCSXB.js → sdk-impl-Z4VXWVFX.js} +10 -10
- package/chunks/{send-message-Q6OOR6BR.js → send-message-PMP4ATVM.js} +8 -13
- package/chunks/serve-EIIYJVX3.js +92 -0
- package/chunks/{server-HRZ23U7M.js → server-EP2LLAPD.js} +4816 -1298
- package/chunks/{session-7XHZKTVV.js → session-GMPZBLOW.js} +101 -97
- package/chunks/{settings-7ZGZDXAS.js → settings-LN7RNKBS.js} +53 -51
- package/chunks/shell-EM2OWU5X.js +86 -0
- package/chunks/{skill-LIWXNLDW.js → skill-T5VPSK73.js} +22 -23
- package/chunks/skill-settings-GMR3GMNY.js +94 -0
- package/chunks/spawnChannel-YPCU62DI.js +85 -0
- package/chunks/standalone-update-JAKIM2NF.js +95 -0
- package/chunks/{startInteractiveUI-IW3CSKHA.js → startInteractiveUI-YETQWGYF.js} +1240 -903
- package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-D7E6ZFKR.js} +4 -4
- package/chunks/task-create-NFCYD43L.js +26 -0
- package/chunks/{task-list-FOPULZEP.js → task-list-TAVMGEVD.js} +7 -7
- package/chunks/{task-stop-H6RHXFVQ.js → task-stop-ZDF2UJRM.js} +3 -3
- package/chunks/{task-update-M57TFZJT.js → task-update-6L7LHGEX.js} +12 -11
- package/chunks/{team-create-O2FROQ4R.js → team-create-LFJ6HGNY.js} +53 -51
- package/chunks/{team-delete-QE2UXJL7.js → team-delete-DPGGRQBU.js} +7 -7
- package/chunks/{team-plan-approval-Q6WDBXTQ.js → team-plan-approval-C2KLSDGO.js} +51 -49
- package/chunks/theme-manager-JQ3ZGBP5.js +80 -0
- package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-2UO5G6G6.js} +34 -6
- package/chunks/{tool-search-APECNQ3Z.js → tool-search-FAZBFRJZ.js} +21 -22
- package/chunks/total-session-admission-5CALIVYO.js +88 -0
- package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
- package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
- package/chunks/trustedFolders-KOPSP44S.js +98 -0
- package/chunks/{update-relaunch-ON5MDJQG.js → update-relaunch-6QL2TICS.js} +5 -5
- package/chunks/updateCheck-4Q6RIKFW.js +95 -0
- package/chunks/useAutoAcceptIndicator-Q5BMKZV3.js +96 -0
- package/chunks/{validateNonInterActiveAuth-JBLKBKRD.js → validateNonInterActiveAuth-GKOC5F6Z.js} +95 -91
- package/chunks/{version-LTNUBQJY.js → version-VSATY2LD.js} +1 -1
- package/chunks/{web-fetch-L5UTI53V.js → web-fetch-JCLKL6NL.js} +19 -21
- package/chunks/{web-search-KM33JOS3.js → web-search-DSQTFUBX.js} +13 -13
- package/chunks/{workflow-K7FAWV77.js → workflow-M6QAVKVJ.js} +52 -50
- package/chunks/workspace-providers-status-YKLTLMJA.js +89 -0
- package/chunks/{workspace-registration-store-6TGVDJV5.js → workspace-registration-store-5DMGKU64.js} +1 -1
- package/chunks/workspace-registry-PTYUSYXX.js +96 -0
- package/chunks/workspace-service-25ML3T47.js +103 -0
- package/chunks/workspace-skills-status-YKZWOYRX.js +89 -0
- package/chunks/workspace-trust-reconciler-5FI2S3OS.js +349 -0
- package/chunks/write-file-AY7VLP5X.js +78 -0
- package/chunks/xterm-headless-NTYVIBT3.js +3475 -0
- package/chunks/{zh-LUIGBD55.js → zh-H3YDK5QW.js} +9 -1
- package/chunks/{zh-TW-F5KG2IYD.js → zh-TW-JYCP7XUA.js} +9 -1
- package/chunks/zoom-image-S4LJZMD5.js +224 -0
- package/cli.js +50 -16
- package/locales/ca.js +7 -2
- package/locales/de.js +7 -2
- package/locales/en.js +10 -2
- package/locales/fr.js +7 -2
- package/locales/ja.js +7 -2
- package/locales/pt.js +7 -2
- package/locales/ru.js +7 -2
- package/locales/zh-TW.js +10 -2
- package/locales/zh.js +10 -2
- package/package.json +5 -4
- package/web-shell/assets/{arc-BbHijhiN.js → arc-xjArKHU2.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-Cb4B_JD0.js → architectureDiagram-3BPJPVTR-BgrQDNYG.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Dsjlh3H-.js → blockDiagram-GPEHLZMM-CXxWC-1_.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-Cp5AeR4U.js → c4Diagram-AAUBKEIU-Dx1tLm3v.js} +1 -1
- package/web-shell/assets/channel-B1cyk94G.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CLcY7W2e.js → chunk-2J33WTMH-CBxjogVR.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BUhvY2LR.js → chunk-4BX2VUAB-izb-rY5W.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-kDIFC_71.js → chunk-55IACEB6-NzLyvSb8.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CIBO15f2.js → chunk-727SXJPM-DVyKb0dl.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BJ_T_slV.js → chunk-AQP2D5EJ-BtqL7NzB.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BEkW35J8.js → chunk-FMBD7UC4-iNpdKIO0.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-GGPxofay.js → chunk-ND2GUHAM-DI7cbFmX.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-Bifllrb6.js → chunk-QZHKN3VN-3Y_-xFYs.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BpBYZoRE.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BpBYZoRE.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-C-Add_Dp.js → cose-bilkent-S5V4N54A--raRatZn.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B7MfwNq2.js → dagre-BM42HDAG-B8SU70mO.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-CY_0zuDz.js → diagram-2AECGRRQ-ewgoakXo.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-VyYSbCgA.js → diagram-5GNKFQAL-Bm_JLTnS.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CBiIZ2PL.js → diagram-KO2AKTUF-DEIUjUy9.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BL3CrVOx.js → diagram-LMA3HP47-C2Wmrpj-.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CZUPx96P.js → diagram-OG6HWLK6-CtYe6bFx.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-B81xHr1-.js → erDiagram-TEJ5UH35-DfpHcWLV.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-EZWhir-J.js → flowDiagram-I6XJVG4X-CAiUhio5.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CVFSuIAg.js → ganttDiagram-6RSMTGT7-CYc7ezr4.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-C1H2uQDv.js → gitGraphDiagram-PVQCEYII-70lbkcRS.js} +1 -1
- package/web-shell/assets/index-C1k3PDuU.css +5 -0
- package/web-shell/assets/index-C2GE3DAF.js +74 -0
- package/web-shell/assets/index-DZLIXILO.js +1750 -0
- package/web-shell/assets/{index-BYo99NBH.js → index-Ww86nT9f.js} +1 -1
- package/web-shell/assets/{infoDiagram-5YYISTIA-BwyFMlF8.js → infoDiagram-5YYISTIA-C7e8DWPa.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CQ7Yhn2Y.js → ishikawaDiagram-YF4QCWOH-BYLr2op-.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CJn2sf0l.js → journeyDiagram-JHISSGLW-hEibAHKX.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-DaNRqwVN.js → kanban-definition-UN3LZRKU-F2rt8Uhp.js} +1 -1
- package/web-shell/assets/{linear-DCKODZe2.js → linear-DPhyNezd.js} +1 -1
- package/web-shell/assets/{mermaid.core-CTGJOk27.js → mermaid.core-ZUtnug0n.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BKU3_3rg.js → mindmap-definition-RKZ34NQL-DDWcMoi8.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-COcwBJ82.js → pieDiagram-4H26LBE5-CTRKzw1_.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CQnQ443x.js → quadrantDiagram-W4KKPZXB-CAEwYG_z.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CZ2oj5cD.js → requirementDiagram-4Y6WPE33-CRjnH9D9.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BxAv5mNu.js → sankeyDiagram-5OEKKPKP-LPQT_sOd.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CztaySPs.js → sequenceDiagram-3UESZ5HK-Ht2Iqvb0.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CTQT1oGD.js → stateDiagram-AJRCARHV-CIUdqOXu.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BmqqQZ6w.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-K9Mkex5A.js → timeline-definition-PNZ67QCA-BcilneZF.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-B2rVIw76.js → vennDiagram-CIIHVFJN-BljwiiH1.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-Z1w2JR4M.js → wardley-L42UT6IY-DeKjkYjq.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CIX9aKXf.js → wardleyDiagram-YWT4CUSO-L3U1H7KG.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-CI9DLIKB.js → xychartDiagram-2RQKCTM6-IJnWsgMT.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/MaxSizedBox-INHRH72H.js +0 -86
- package/chunks/agent-VXDAN5JK.js +0 -82
- package/chunks/agent-headless-K4ZMMNBD.js +0 -76
- package/chunks/bridge-LGPZCFHO.js +0 -91
- package/chunks/channel-settings-store-CHCDRTPY.js +0 -89
- package/chunks/chunk-SZRN75WQ.js +0 -29
- package/chunks/chunk-UGYMA4EI.js +0 -219
- package/chunks/chunk-VCBZUOSI.js +0 -8575
- package/chunks/contextCommand-QIZYHDR5.js +0 -81
- package/chunks/daemon-status-provider-OS5UWBHV.js +0 -90
- package/chunks/earlyInputCapture-WQT24RWD.js +0 -83
- package/chunks/environment-VZ7BRI4Q.js +0 -103
- package/chunks/errors-PCX25DVP.js +0 -89
- package/chunks/exitPlanMode-GHPUHBZJ.js +0 -423
- package/chunks/handleAutoUpdate-2CZQRJ66.js +0 -82
- package/chunks/i18n-XEQVMRKN.js +0 -98
- package/chunks/initializer-OVGZ4FLY.js +0 -87
- package/chunks/installationInfo-5UUQJI6Y.js +0 -81
- package/chunks/list-HODU6RXD.js +0 -90
- package/chunks/loadedSettingsAdapter-TYNLBALY.js +0 -84
- package/chunks/mcp-J3DFWX4A.js +0 -84
- package/chunks/nonInteractiveCli-F4GYSMHT.js +0 -144
- package/chunks/pidfile-4VNAR3EP.js +0 -87
- package/chunks/read-file-LZXUR4TO.js +0 -31
- package/chunks/resumeHistoryUtils-65OX3SGJ.js +0 -92
- package/chunks/ripGrep-2U2FRGMV.js +0 -74
- package/chunks/runtime-AXJWIEDU.js +0 -120
- package/chunks/serve-W2GC47CM.js +0 -90
- package/chunks/shell-45IPBDP5.js +0 -84
- package/chunks/spawnChannel-PVXQ5AGV.js +0 -83
- package/chunks/src-AY65BYR7.js +0 -3166
- package/chunks/standalone-update-ZMFNKAEY.js +0 -93
- package/chunks/task-create-N7WQSGYA.js +0 -25
- package/chunks/theme-manager-YYPZFBAH.js +0 -78
- package/chunks/total-session-admission-JXES723M.js +0 -85
- package/chunks/trustedFolders-HVI7IXUH.js +0 -94
- package/chunks/updateCheck-WUJGHWZZ.js +0 -93
- package/chunks/useAutoAcceptIndicator-CHSTZLZD.js +0 -94
- package/chunks/workspace-providers-status-GAKSF4LL.js +0 -87
- package/chunks/workspace-registry-A7NQUONG.js +0 -89
- package/chunks/workspace-service-STGVSO4N.js +0 -99
- package/chunks/workspace-skills-status-66AK3DUA.js +0 -86
- package/chunks/write-file-HUUCEG4P.js +0 -74
- package/web-shell/assets/channel-Bzdx6E8P.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Cd6wbiuK.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cd6wbiuK.js +0 -1
- package/web-shell/assets/index-B2bXx96W.js +0 -1249
- package/web-shell/assets/index-_8mKjx8q.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BjMdT6E_.js +0 -1
- package/chunks/{chunk-TARRHLLG.js → chunk-QUGAUQGJ.js} +25 -25
- package/chunks/{chunk-U7ZFW55U.js → chunk-VOQXFAY5.js} +977 -977
- /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-
|
|
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-
|
|
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-
|
|
31
|
-
import {
|
|
32
|
-
rollbackStandaloneUpdate
|
|
33
|
-
} from "./chunk-ZE5WPL4I.js";
|
|
31
|
+
} from "./chunk-NBD76HUW.js";
|
|
34
32
|
import {
|
|
35
33
|
themeManager
|
|
36
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IGTHU3T4.js";
|
|
37
35
|
import {
|
|
38
36
|
getErrorMessage as getErrorMessage2
|
|
39
|
-
} from "./chunk-
|
|
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-
|
|
54
|
+
} from "./chunk-PZEXDV3H.js";
|
|
54
55
|
import {
|
|
55
56
|
stripUnsafeCharacters,
|
|
56
57
|
toCodePoints
|
|
57
|
-
} from "./chunk-
|
|
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-
|
|
66
|
+
} from "./chunk-P5VC5USY.js";
|
|
66
67
|
import {
|
|
67
68
|
getExtendedSystemInfo,
|
|
68
69
|
getGitVersion,
|
|
69
70
|
getNpmVersion
|
|
70
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
197
|
+
} from "./chunk-K623ENWT.js";
|
|
197
198
|
import {
|
|
198
199
|
openBrowserSecurely
|
|
199
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-NAVJD2PQ.js";
|
|
200
201
|
import {
|
|
201
202
|
REASONING_EFFORT_TIERS,
|
|
202
203
|
normalizeReasoningEffort
|
|
203
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-DGEIYUC3.js";
|
|
204
205
|
import {
|
|
205
206
|
resolveOpenAILogDir
|
|
206
|
-
} from "./chunk-
|
|
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-
|
|
221
|
+
} from "./chunk-DUNI4EBW.js";
|
|
221
222
|
import {
|
|
222
223
|
getAutoMemoryRoot
|
|
223
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-3I6DUGQD.js";
|
|
224
225
|
import {
|
|
225
226
|
ToolNames,
|
|
226
227
|
isShellProgressData
|
|
227
|
-
} from "./chunk-
|
|
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-
|
|
237
|
+
} from "./chunk-E2BHWIDT.js";
|
|
237
238
|
import {
|
|
238
239
|
isCpuProfileRecording,
|
|
239
240
|
startCpuProfile,
|
|
240
241
|
stopCpuProfile
|
|
241
|
-
} from "./chunk-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
expressions.
|
|
3521
|
-
|
|
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
|
|
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-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
13182
|
-
import("./processUtils-
|
|
13183
|
-
import("./standalone-update-
|
|
13184
|
-
import("./installationInfo-
|
|
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
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
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
|
|
14410
|
-
const
|
|
14411
|
-
|
|
14412
|
-
|
|
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
|
-
|
|
14415
|
-
|
|
14416
|
-
|
|
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 =
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
24
|
+
} from "./chunk-E2BHWIDT.js";
|
|
25
25
|
import {
|
|
26
26
|
init_esbuild_shims
|
|
27
27
|
} from "./chunk-5O2XNYP6.js";
|