@qwen-code/qwen-code 0.21.1 → 0.21.2-nightly.20260801.bc382c3ff
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/settings.md +9 -7
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/github.md +49 -10
- package/bundled/qc-helper/docs/features/channels/gitlab.md +177 -0
- package/bundled/qc-helper/docs/features/code-review.md +20 -0
- package/bundled/qc-helper/docs/features/commands.md +1 -0
- package/bundled/qc-helper/docs/features/hooks.md +135 -18
- package/bundled/qc-helper/docs/features/memory.md +27 -0
- package/bundled/qc-helper/docs/features/skills.md +14 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +55 -8
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +7 -7
- package/bundled/qc-helper/docs/qwen-serve.md +28 -6
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
- package/bundled/review/SKILL.md +1 -1
- package/chunks/{MaxSizedBox-VI3ROJJA.js → MaxSizedBox-CDHTDITS.js} +45 -40
- package/chunks/{StandaloneSessionPicker-LYXKD2EV.js → StandaloneSessionPicker-L63HUAHP.js} +65 -60
- package/chunks/{acp-startup-profiler-DFVPFQ6C.js → acp-startup-profiler-3RICG2YW.js} +2 -2
- package/chunks/{acpAgent-WN5SRDQO.js → acpAgent-6WVVT2P3.js} +962 -599
- package/chunks/{agent-K6ECSM64.js → agent-KDM4CBOU.js} +40 -35
- package/chunks/agent-headless-AS7K2K57.js +79 -0
- package/chunks/{anthropicContentGenerator-V2QOGVYD.js → anthropicContentGenerator-WCBYB6JG.js} +337 -27
- package/chunks/{artifact-tool-6K6U7XYJ.js → artifact-tool-ANV4CFCR.js} +2 -2
- package/chunks/{askUserQuestion-GD2IJJ7I.js → askUserQuestion-MALEB47H.js} +2 -2
- package/chunks/{bridge-3KJEWDNE.js → bridge-JNEW6FES.js} +46 -41
- package/chunks/{build-S6DO7LMM.js → build-GDBLPA24.js} +1 -1
- package/chunks/{ca-6W3SK7OQ.js → ca-4OJN75WT.js} +46 -5
- package/chunks/{channel-management-service-XR7GZSWF.js → channel-management-service-QOO7TD3T.js} +21 -6
- package/chunks/{channel-settings-store-HW4FXXUA.js → channel-settings-store-4CSMTR4L.js} +47 -42
- package/chunks/{channel-worker-group-XDPTDWTX.js → channel-worker-group-ERSUOPIR.js} +8 -8
- package/chunks/{channel-worker-manager-YYEHVRRE.js → channel-worker-manager-X247YDQ7.js} +8 -8
- package/chunks/{channel-worker-supervisor-74HTWA2G.js → channel-worker-supervisor-ORJIEEPP.js} +4 -4
- package/chunks/{chunk-VWOOBLTY.js → chunk-25QQVOCG.js} +5 -5
- package/chunks/{chunk-CAPPWD3X.js → chunk-2A6MHYIA.js} +3 -3
- package/chunks/{chunk-2XSLTRFZ.js → chunk-2CTKGIFR.js} +2 -2
- package/chunks/{chunk-DZLYR4U3.js → chunk-2DNKEBXY.js} +1 -1
- package/chunks/{chunk-UWMLWVCA.js → chunk-2IIJTXYF.js} +26 -10
- package/chunks/{chunk-JYBU6YUE.js → chunk-2M5N3DHY.js} +1 -1
- package/chunks/{chunk-AQIDMUGU.js → chunk-2PNQQ4UR.js} +2 -2
- package/chunks/{chunk-OKF7JF3R.js → chunk-2UISUFHQ.js} +3 -3
- package/chunks/{chunk-2LQTH543.js → chunk-33FNCQSY.js} +2 -2
- package/chunks/{chunk-M7OONWYU.js → chunk-3LGZEYOF.js} +4 -2
- package/chunks/{chunk-ZURDMIDR.js → chunk-3MHPWQ2M.js} +242 -76
- package/chunks/{chunk-UHUSJ6X7.js → chunk-3RXUYQJI.js} +25 -6
- package/chunks/{chunk-E5Z2AVNV.js → chunk-3SH53ANB.js} +0 -11
- package/chunks/{chunk-BNWB5CYE.js → chunk-3WXMXT7C.js} +22 -11
- package/chunks/{chunk-A2D5BAVP.js → chunk-42IKVPST.js} +1 -1
- package/chunks/{chunk-2DN4J57Y.js → chunk-432XCUHF.js} +1 -1
- package/chunks/{chunk-EVKE2FZL.js → chunk-433VD3HX.js} +4 -4
- package/chunks/{chunk-Q43KPN7X.js → chunk-434YCHSV.js} +6 -6
- package/chunks/{chunk-5TBMQLGG.js → chunk-4LKVQFHM.js} +2 -2
- package/chunks/{chunk-YDLJGZHL.js → chunk-4NFY2S7N.js} +0 -33
- package/chunks/{chunk-6PE7N3A4.js → chunk-5UJ6A3CH.js} +145 -10
- package/chunks/{chunk-GNR2RNMP.js → chunk-5UZITEHA.js} +3 -3
- package/chunks/chunk-6FMJLI5M.js +1591 -0
- package/chunks/{chunk-RPLGZJV2.js → chunk-6O5DVH27.js} +1 -1
- package/chunks/{chunk-2RFKHEXL.js → chunk-6PLDPT2C.js} +1 -1
- package/chunks/{chunk-7AEJDLRA.js → chunk-7IYLHTTM.js} +3 -3
- package/chunks/{chunk-65PQENQP.js → chunk-7K2WTPQO.js} +5 -5
- package/chunks/{chunk-P4WOAOJW.js → chunk-7MY2AR5A.js} +72 -26
- package/chunks/{chunk-GXIJHV66.js → chunk-A2A34TSB.js} +3 -3
- package/chunks/{chunk-XWWKIXVD.js → chunk-A5YZ3FA2.js} +2 -1
- package/chunks/{chunk-64LQLPL7.js → chunk-A6SX5TAH.js} +3 -3
- package/chunks/{chunk-SZ3KHTDR.js → chunk-AKA24BGO.js} +1 -1
- package/chunks/chunk-AQ37AY7B.js +93 -0
- package/chunks/{chunk-2N7CODY5.js → chunk-AQEWCKX4.js} +2 -2
- package/chunks/{chunk-KCO4FLFJ.js → chunk-AYB4HSBI.js} +3 -3
- package/chunks/{chunk-WZRWHXFE.js → chunk-BFHXDAR7.js} +1 -1
- package/chunks/{chunk-L55JWS76.js → chunk-BGXZBI5B.js} +1 -1
- package/chunks/{chunk-5MKRTI4T.js → chunk-BKUN5QHP.js} +7 -7
- package/chunks/{chunk-Y4IHBGBP.js → chunk-BV4QX43X.js} +1 -1
- package/chunks/{chunk-PB3MBFKG.js → chunk-C4L2MEIT.js} +4 -4
- package/chunks/{chunk-TCIFAA7K.js → chunk-CHCLO3M7.js} +14 -14
- package/chunks/{chunk-CVHIL5IG.js → chunk-CWEIMFFW.js} +13 -6
- package/chunks/{chunk-2FAK6PNM.js → chunk-DUIJ2IXG.js} +5 -13
- package/chunks/{chunk-T2QMKU3R.js → chunk-DVGTU5TC.js} +19 -7
- package/chunks/{chunk-LGAOC3ZS.js → chunk-DYA25Y7U.js} +1 -1
- package/chunks/{chunk-SGFT55XI.js → chunk-E4WHKETF.js} +32 -4
- package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
- package/chunks/{chunk-MHAIJPTD.js → chunk-FJHA23GM.js} +12 -12
- package/chunks/{chunk-S7W2GKIO.js → chunk-G7XXKQYS.js} +2 -0
- package/chunks/{chunk-MR5EAQ5M.js → chunk-GALUTA2C.js} +1 -1
- package/chunks/{chunk-7I5GTCT4.js → chunk-GB3AB7TR.js} +4008 -3648
- package/chunks/{chunk-QIZKCVM3.js → chunk-GHJM2C2T.js} +6 -8
- package/chunks/chunk-GOFAQQZA.js +132 -0
- package/chunks/{chunk-BCZFQXWK.js → chunk-GTM6IHBB.js} +2 -2
- package/chunks/{chunk-5ZF5XXTS.js → chunk-GVISB2OH.js} +2 -2
- package/chunks/{chunk-FNMZK765.js → chunk-H36SETQS.js} +1 -1
- package/chunks/{chunk-UBEPNVDI.js → chunk-H4346YW5.js} +28 -16
- package/chunks/{chunk-CQL64ESB.js → chunk-H4DSRWAS.js} +24 -13
- package/chunks/{chunk-YGF33UXG.js → chunk-H6MC6VQX.js} +222 -173
- package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
- package/chunks/{chunk-Y6AXW2OG.js → chunk-I5GNT6ZS.js} +7 -1
- package/chunks/{chunk-GEBV2JGB.js → chunk-I6FAHB4N.js} +1 -1
- package/chunks/{chunk-UPUG4GXM.js → chunk-I7JDGNG6.js} +3 -3
- package/chunks/{chunk-JHNRZMHI.js → chunk-II6WPWHY.js} +9 -9
- package/chunks/{chunk-B4AJNNOL.js → chunk-J26HHFI5.js} +1 -1
- package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
- package/chunks/{chunk-ZHBO7WVX.js → chunk-JELIWHXD.js} +1 -1
- package/chunks/{chunk-3EFXSQCM.js → chunk-JRIDA5HF.js} +7 -7
- package/chunks/{chunk-TFRMVU6R.js → chunk-K4CGQN4Q.js} +1 -1
- package/chunks/{chunk-WUZ7H6DP.js → chunk-K5Q62CGR.js} +1 -1
- package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
- package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
- package/chunks/{chunk-TDL6LB4K.js → chunk-KG22G46Y.js} +22 -10
- package/chunks/{chunk-GATT5TKW.js → chunk-KKN2IE7Q.js} +1 -1
- package/chunks/{chunk-JMONIXMJ.js → chunk-KVUBYJDM.js} +2 -2
- package/chunks/{chunk-TBBV36Y4.js → chunk-KXSYDCP2.js} +4 -4
- package/chunks/{chunk-EIF3FXTB.js → chunk-LAPK3GLC.js} +121 -18
- package/chunks/chunk-LBOVL47Y.js +29 -0
- package/chunks/{chunk-U3E3UQAA.js → chunk-LBWNSLJK.js} +4 -4
- package/chunks/{chunk-S4WJVPZW.js → chunk-LL4U3BSH.js} +15 -7
- package/chunks/{chunk-657BH7VM.js → chunk-LRJWFR6L.js} +4 -4
- package/chunks/{chunk-PT722TDT.js → chunk-M2F5PLOW.js} +770 -125
- package/chunks/{chunk-3L2SPEBH.js → chunk-M744OFVE.js} +1 -1
- package/chunks/{chunk-VYOXCEPJ.js → chunk-MBKPUM5Y.js} +1 -1
- package/chunks/chunk-MISUEWB4.js +8749 -0
- package/chunks/{chunk-PONHVBRT.js → chunk-MOHAWIAW.js} +2 -2
- package/chunks/{chunk-HMRM2A3U.js → chunk-MSIVKDRC.js} +4 -4
- package/chunks/{record-artifact-XAMSFSW4.js → chunk-MYT7N6QH.js} +22 -7
- package/chunks/{chunk-X5WNMMIA.js → chunk-NGWYUZZO.js} +11510 -15137
- package/chunks/{chunk-PQNHRFJC.js → chunk-NYX53SV4.js} +0 -2
- package/chunks/{chunk-6RPMI2AB.js → chunk-NZB4NDJL.js} +10 -10
- package/chunks/{chunk-BGTQCTQW.js → chunk-O2ZYHG33.js} +6 -5
- package/chunks/chunk-O6GEWCJA.js +21 -0
- package/chunks/{chunk-JX27F6QS.js → chunk-OBAIHYFT.js} +1 -1
- package/chunks/{chunk-BPZKP57P.js → chunk-OCRM53TT.js} +3 -3
- package/chunks/{chunk-V7RNNPGC.js → chunk-P5Y23G2L.js} +18 -1
- package/chunks/{chunk-FTD6DP4T.js → chunk-PDDYAXL2.js} +5 -1
- package/chunks/{chunk-JSD33JG6.js → chunk-PGEGUNH5.js} +67 -10
- package/chunks/{chunk-A4COXFB3.js → chunk-PGP7Y3RQ.js} +5 -5
- package/chunks/{chunk-T3O2B4XO.js → chunk-PHODQP2V.js} +6 -6
- package/chunks/{chunk-BMFALVGQ.js → chunk-PXA5AWHY.js} +1 -1
- package/chunks/chunk-QL4TN4HS.js +59 -0
- package/chunks/{chunk-W4MIWP6M.js → chunk-QMBEW7EW.js} +2 -2
- package/chunks/{chunk-U4VTUMMK.js → chunk-QONSRAEV.js} +1 -1
- package/chunks/{chunk-LW3RFMG7.js → chunk-QYPT3QUD.js} +3 -3
- package/chunks/{chunk-TV64SXKD.js → chunk-RGJ4JWSU.js} +131 -48
- package/chunks/{chunk-75MIQ3LV.js → chunk-RPYYTL7E.js} +61 -13
- package/chunks/{chunk-52ZSWYEG.js → chunk-SK2UKB45.js} +1 -1
- package/chunks/{chunk-PLDQBIO6.js → chunk-SWEBEXPI.js} +1 -1
- package/chunks/chunk-T3CHYWJZ.js +758 -0
- package/chunks/{chunk-VCPIZRYH.js → chunk-TFFMATHX.js} +9 -7
- package/chunks/{chunk-J7OACQDE.js → chunk-TNVKFQXQ.js} +458 -97
- package/chunks/{chunk-A3NDJ5SB.js → chunk-TYERNYH4.js} +2 -2
- package/chunks/{chunk-GKX7E4CO.js → chunk-U25CMJYY.js} +1 -1
- package/chunks/{chunk-7XATOOE7.js → chunk-UH7Z7Y45.js} +1 -1
- package/chunks/{chunk-XFZYFU3I.js → chunk-UHQ3L6GC.js} +1 -1
- package/chunks/{chunk-GZ3RCT54.js → chunk-UHTJC7O3.js} +1 -1
- package/chunks/{chunk-XZC5VLBZ.js → chunk-UKZEXS6K.js} +6 -0
- package/chunks/{chunk-LO4ROVP4.js → chunk-UOFFZNXV.js} +111 -13
- package/chunks/{chunk-5YKDXHUY.js → chunk-URN76TKR.js} +2 -2
- package/chunks/{chunk-T4TXDL7G.js → chunk-UWLG4UCE.js} +132 -35
- package/chunks/{chunk-KAMYKP7E.js → chunk-UWSXFI6E.js} +1 -1
- package/chunks/{chunk-7BAU433D.js → chunk-VS3GXRNZ.js} +1198 -240
- package/chunks/{chunk-EJGJIBRS.js → chunk-VWF42XC6.js} +3 -3
- package/chunks/{chunk-RCUQIPTN.js → chunk-W7XZ3KP5.js} +1 -1
- package/chunks/{chunk-OCESJA77.js → chunk-WISQLM4Q.js} +1197 -1154
- package/chunks/{chunk-NOKIVHOL.js → chunk-WK4TJUEA.js} +1 -1
- package/chunks/{chunk-JFMA7Y5M.js → chunk-WP4HGHFG.js} +5 -5
- package/chunks/{chunk-4G2BISNC.js → chunk-XC2VAFVZ.js} +1 -1
- package/chunks/{chunk-2LKVPASC.js → chunk-XC656O42.js} +3 -3
- package/chunks/{chunk-5KTQXHPY.js → chunk-XCLLRKY5.js} +3 -3
- package/chunks/{chunk-HV26XH34.js → chunk-XFDPIC4P.js} +3 -3
- package/chunks/{chunk-JTV5K7NH.js → chunk-XSA5EKTJ.js} +1 -1
- package/chunks/{chunk-75GFAX4R.js → chunk-YAVY33G4.js} +1 -1
- package/chunks/{chunk-WBSMNTSV.js → chunk-YXEVDA66.js} +2 -2
- package/chunks/{chunk-7DXQIJID.js → chunk-ZRFJ75D7.js} +3 -3
- package/chunks/{chunk-XBYYDKAZ.js → chunk-ZTN6OA5J.js} +8 -7
- package/chunks/{computer-use-ZTIDHMMA.js → computer-use-Z4NCIIJN.js} +40 -35
- package/chunks/{config-utils-NYSXDMEQ.js → config-utils-64LM6OEQ.js} +4 -4
- package/chunks/{contextCommand-2PIEU37Z.js → contextCommand-HVM7XFCB.js} +43 -38
- package/chunks/{core-runtime-3XEYLQFK.js → core-runtime-NL3ZBHBU.js} +40 -35
- package/chunks/{create-sub-session-SBYUMSSS.js → create-sub-session-AM32K2HD.js} +2 -2
- package/chunks/{create-sub-session-R76FVXCI.js → create-sub-session-XHSCDYFU.js} +43 -38
- package/chunks/{cron-create-2QK6TCEC.js → cron-create-HPXYE6C5.js} +4 -4
- package/chunks/{cron-delete-FDCDFYMG.js → cron-delete-FPVNTKPK.js} +4 -4
- package/chunks/{cron-list-XN3WVBTP.js → cron-list-ZEI6PAAV.js} +4 -4
- package/chunks/{daemon-Q2AB5Z23.js → daemon-PCNCI5YU.js} +72 -3
- package/chunks/daemon-status-provider-XD23SNAM.js +94 -0
- package/chunks/{daemon-trust-policy-ILUDTLHD.js → daemon-trust-policy-NOHK7IW5.js} +46 -41
- package/chunks/{daemon-trust-policy-monitor-HS3PKKRO.js → daemon-trust-policy-monitor-ZBTSR333.js} +46 -41
- package/chunks/{de-SY6O76BF.js → de-A6TI4LBB.js} +46 -5
- package/chunks/{deferred-core-runtime-X4QV662U.js → deferred-core-runtime-JJBHKM2C.js} +40 -35
- package/chunks/{dist-HVRQ2CFL.js → dist-4LAMY2SK.js} +1180 -5
- package/chunks/{dist-DOLYHMXE.js → dist-4T4NCJFL.js} +2 -2
- package/chunks/dist-7KOL6OMD.js +13467 -0
- package/chunks/{dist-SSU66DM4.js → dist-BH76AT7N.js} +1 -1
- package/chunks/{dist-BSTVRPMT.js → dist-BXA3JXVQ.js} +541 -19
- package/chunks/{dist-SV7Q3AWJ.js → dist-OEEFI6UU.js} +12 -9
- package/chunks/{dist-YGBBMK3Z.js → dist-SMLVOWKV.js} +5 -4
- package/chunks/{dist-IXQEQWRG.js → dist-V2RK6S6Q.js} +1 -1
- package/chunks/{earlyInputCapture-XKLZT7ZD.js → earlyInputCapture-KLAZDAIP.js} +41 -36
- package/chunks/{edit-HHGIOTQ2.js → edit-YQZWCISX.js} +40 -35
- package/chunks/{en-NBK3JKCE.js → en-RESOFG55.js} +46 -5
- package/chunks/{enter-worktree-ZN7PUQ46.js → enter-worktree-WLVWI3FP.js} +40 -35
- package/chunks/{enterPlanMode-EIFIDSIV.js → enterPlanMode-6RYXFQUD.js} +40 -35
- package/chunks/{environment-XXQ75D2Q.js → environment-DXJTXSVT.js} +43 -38
- package/chunks/{errors-4GMVU7CK.js → errors-XGAGG2S2.js} +43 -38
- package/chunks/{exit-worktree-GXMI4ATY.js → exit-worktree-C4276VPP.js} +40 -35
- package/chunks/{exitPlanMode-34UVY7M6.js → exitPlanMode-MM5HIRUF.js} +40 -35
- package/chunks/{fast-path-VPIVA7L6.js → fast-path-PIXYOHCH.js} +6 -2
- package/chunks/{fr-4KG5V7UT.js → fr-QF7RI5ZE.js} +46 -5
- package/chunks/{gemini-4BWIK4WD.js → gemini-43RLVUNP.js} +158 -96
- package/chunks/{geminiContentGenerator-3XVV5MSS.js → geminiContentGenerator-PNQ4TSID.js} +6 -6
- package/chunks/{glob-TZ2ABCJG.js → glob-ZMBQKAU5.js} +40 -35
- package/chunks/goal-tools-Y767F7LZ.js +335 -0
- package/chunks/{grep-BEF463NA.js → grep-HSV37W2Q.js} +40 -35
- package/chunks/handleAutoUpdate-QDHZPBAY.js +85 -0
- package/chunks/{i18n-FMM5FDXR.js → i18n-ME22A6RN.js} +42 -37
- package/chunks/{image-gen-HHVLF7HS.js → image-gen-IFC7ZWSB.js} +9 -9
- package/chunks/{initializer-625TIAIO.js → initializer-J7H2CHVB.js} +47 -42
- package/chunks/{installationInfo-6AM4I2Y3.js → installationInfo-R7FXPQN5.js} +41 -36
- package/chunks/{ja-F3GSQXMF.js → ja-URQESVGW.js} +46 -5
- package/chunks/{keychain-token-storage-72IYCAZV.js → keychain-token-storage-7BT4TQ2A.js} +2 -2
- package/chunks/{kittyProtocolDetector-MBRTDRBK.js → kittyProtocolDetector-BFLAKYXH.js} +1 -1
- package/chunks/list-OYDIBA4N.js +93 -0
- package/chunks/{list-agents-R6KDXQR3.js → list-agents-GATIBBQQ.js} +2 -2
- package/chunks/{loadedSettingsAdapter-SPUTNKAV.js → loadedSettingsAdapter-OK6GK2GE.js} +46 -41
- package/chunks/{loggingContentGenerator-LKOF7XI7.js → loggingContentGenerator-U4ZEG4GL.js} +53 -38
- package/chunks/{loop-wakeup-3IQKCYAH.js → loop-wakeup-3DZMQQQQ.js} +13 -6
- package/chunks/{ls-DKZ37A7N.js → ls-7F4GHXIH.js} +4 -4
- package/chunks/{lsp-QNWN7KN3.js → lsp-6FEHVBWI.js} +2 -2
- package/chunks/{managed-npm-update-ACQGGIN5.js → managed-npm-update-PGKAJLLO.js} +43 -38
- package/chunks/mcp-S4DXJD2G.js +87 -0
- package/chunks/{monitor-DF52UVHI.js → monitor-E5ZFMT74.js} +40 -35
- package/chunks/nonInteractiveCli-HNOHKEPE.js +149 -0
- package/chunks/{notebook-edit-FCWS4XVN.js → notebook-edit-6QDN6VZJ.js} +40 -35
- package/chunks/{openaiContentGenerator-7LDK3DCJ.js → openaiContentGenerator-3NLB2C5O.js} +19 -19
- package/chunks/{pidfile-6ERW3DF4.js → pidfile-ZMOIUGG6.js} +41 -36
- package/chunks/{processUtils-COKZAMUP.js → processUtils-E4QGQVWW.js} +2 -2
- package/chunks/{pt-EQ33KWEN.js → pt-EEEQXRUI.js} +46 -5
- package/chunks/{qwenContentGenerator-TKWUMR7N.js → qwenContentGenerator-2LFRWJTM.js} +46 -41
- package/chunks/{qwenOAuth2-7HMU47SF.js → qwenOAuth2-N32BUQDC.js} +8 -8
- package/chunks/{read-file-X6DRC574.js → read-file-GLDCWZBG.js} +11 -11
- package/chunks/{read-mcp-resource-GFTWYXMK.js → read-mcp-resource-AFS3UKZO.js} +2 -2
- package/chunks/record-artifact-ECZSCEG5.js +21 -0
- package/chunks/{resumeHistoryUtils-PFPM2GWM.js → resumeHistoryUtils-F5BE5QDW.js} +48 -43
- package/chunks/ripGrep-T23Y4AGY.js +77 -0
- package/chunks/{ru-7OZAUKGG.js → ru-WGZDYQAB.js} +46 -5
- package/chunks/{run-qwen-serve-TSTCO4XE.js → run-qwen-serve-TI2HGLLU.js} +290 -75
- package/chunks/{runtime-DAUPSUKI.js → runtime-WCWM3DO7.js} +53 -46
- package/chunks/{scheduler-KMADMT26.js → scheduler-2QZO5AV5.js} +40 -35
- package/chunks/{sdk-exporters-http-WO556XNU.js → sdk-exporters-http-IKNWQJNV.js} +3 -3
- package/chunks/{sdk-impl-LPAVACSF.js → sdk-impl-7CUUMQDB.js} +3 -3
- package/chunks/{send-message-SAWK4DZX.js → send-message-X7G2JSII.js} +6 -11
- package/chunks/{serve-NNRWS6F4.js → serve-DZOMYUFU.js} +46 -41
- package/chunks/{server-WEH7DVCH.js → server-N4AJRKIQ.js} +2269 -1016
- package/chunks/{session-WXC56V2I.js → session-GS6AKMN7.js} +151 -86
- package/chunks/{settings-DJDXFDZ3.js → settings-CUN3SELH.js} +50 -45
- package/chunks/{shell-JN5VRQXD.js → shell-NGBFVXC5.js} +40 -35
- package/chunks/{skill-SGXPKJCS.js → skill-SC2BSO75.js} +30 -16
- package/chunks/{skill-settings-VJ5PDMZI.js → skill-settings-XVPCPW5K.js} +45 -40
- package/chunks/{spawnChannel-ETMJW7YX.js → spawnChannel-RILO4YY3.js} +42 -37
- package/chunks/{standalone-update-MK3Z7KBI.js → standalone-update-TMLT6LVJ.js} +43 -38
- package/chunks/{startInteractiveUI-ZCGIXPGT.js → startInteractiveUI-J45WOEOU.js} +883 -1112
- package/chunks/{syntheticOutput-355CB6CJ.js → syntheticOutput-FHRY3BPQ.js} +3 -3
- package/chunks/{task-create-INGWNUG4.js → task-create-LAQXBIHC.js} +11 -10
- package/chunks/{task-list-5XNNGTF4.js → task-list-V6K5DRDH.js} +6 -6
- package/chunks/{task-stop-4ROAOBXH.js → task-stop-LQXE52L6.js} +2 -2
- package/chunks/{task-update-CRK5VWWZ.js → task-update-NXRCXSPB.js} +11 -10
- package/chunks/{team-create-QQGAJG7P.js → team-create-W3EVWCTA.js} +40 -35
- package/chunks/{team-delete-S2RCXA4P.js → team-delete-Z4KGO7RC.js} +6 -6
- package/chunks/{team-plan-approval-RT7Q5R6O.js → team-plan-approval-URYVKJF4.js} +40 -35
- package/chunks/theme-manager-CUAMS2NI.js +81 -0
- package/chunks/{todoWrite-7WM3VDMY.js → todoWrite-OFIZDI7P.js} +32 -4
- package/chunks/{tool-search-Z3Z4AYKP.js → tool-search-DCICFL32.js} +15 -14
- package/chunks/total-session-admission-3ZTAXVUK.js +89 -0
- package/chunks/{trustedFolders-X2JEIO57.js → trustedFolders-EVCN36O5.js} +42 -37
- package/chunks/{update-relaunch-VWNPYDIP.js → update-relaunch-XLW46RHQ.js} +5 -5
- package/chunks/{updateCheck-KAQH67DV.js → updateCheck-ZHVXDAIH.js} +44 -39
- package/chunks/{useAutoAcceptIndicator-JH6BCF7S.js → useAutoAcceptIndicator-ZGD6BJSP.js} +50 -45
- package/chunks/{validateNonInterActiveAuth-GIUJ2UFS.js → validateNonInterActiveAuth-R3BAQFDY.js} +88 -83
- package/chunks/{version-BGLYIJUY.js → version-PMWREGCG.js} +1 -1
- package/chunks/{web-fetch-OTDU4VQF.js → web-fetch-PGN27SGF.js} +14 -14
- package/chunks/{web-search-FP6SIHPR.js → web-search-KW4UNMRE.js} +8 -8
- package/chunks/{workflow-YCIVBYSB.js → workflow-SN3TJBTJ.js} +363 -310
- package/chunks/workspace-providers-status-O3HUZGGR.js +90 -0
- package/chunks/{workspace-registration-store-OTMS3H4C.js → workspace-registration-store-M3FJ74RS.js} +2 -2
- package/chunks/{workspace-registry-O63R6IZ4.js → workspace-registry-U7ISW23N.js} +47 -42
- package/chunks/{workspace-service-M6LLHKJ5.js → workspace-service-VH6IWADT.js} +53 -48
- package/chunks/{workspace-skills-status-C2V7BAIS.js → workspace-skills-status-XANARSZS.js} +48 -43
- package/chunks/{workspace-trust-reconciler-IBUPOUJN.js → workspace-trust-reconciler-35EFR4GC.js} +53 -48
- package/chunks/write-file-NCRSGUDT.js +79 -0
- package/chunks/{zh-H3YDK5QW.js → zh-OHX23Q44.js} +43 -5
- package/chunks/{zh-TW-JYCP7XUA.js → zh-TW-4G7YKDAQ.js} +43 -5
- package/chunks/zoom-image-X7CIADYC.js +224 -0
- package/cli.js +55 -48
- package/locales/ca.js +60 -4
- package/locales/de.js +62 -4
- package/locales/en.js +59 -4
- package/locales/fr.js +64 -4
- package/locales/ja.js +61 -4
- package/locales/pt.js +60 -4
- package/locales/ru.js +63 -4
- package/locales/zh-TW.js +52 -4
- package/locales/zh.js +52 -4
- package/package.json +3 -3
- package/web-shell/assets/{arc-75-Wdeo3.js → arc-CaMTqKio.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-FKeXQbyP.js → architectureDiagram-3BPJPVTR-Bjxztij2.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CY0vc-A3.js → blockDiagram-GPEHLZMM-BYJzeHi9.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-CNP-A-8u.js → c4Diagram-AAUBKEIU-fYAa-Eil.js} +1 -1
- package/web-shell/assets/channel-LEZei0-5.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-GybS4Gii.js → chunk-2J33WTMH-B1OTlTml.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-02H91V8v.js → chunk-4BX2VUAB-DNj4uy6k.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-D3M-2VT6.js → chunk-55IACEB6-DAqNmg3c.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CCu29u4H.js → chunk-727SXJPM-BwB4ddxE.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CaFKWgrn.js → chunk-AQP2D5EJ-DmHR_UZs.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-ZZpPqIwQ.js → chunk-FMBD7UC4-BlfOXumo.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-D22DqGs8.js → chunk-ND2GUHAM-BKogiSy7.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-Bu85S0fw.js → chunk-QZHKN3VN-DEclVrOF.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BiaRhfvf.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BiaRhfvf.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-f1CK1Gwe.js → cose-bilkent-S5V4N54A-CwtS21WT.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-D0Ow8F_n.js → dagre-BM42HDAG-BAAIlB4p.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BPrmTWp8.js → diagram-2AECGRRQ-ChljtF_V.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-HccuFAzy.js → diagram-5GNKFQAL-BIXVd31-.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BrS76mbA.js → diagram-KO2AKTUF-BEiBaS15.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-V7T9lU-5.js → diagram-LMA3HP47-C-g4tWKM.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DKidyJMR.js → diagram-OG6HWLK6-CNCCbNQG.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DBadZIkp.js → erDiagram-TEJ5UH35-v8ysnsdI.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BymfqdNJ.js → flowDiagram-I6XJVG4X-LKVlLjwA.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DOw340jf.js → ganttDiagram-6RSMTGT7-DA5MrKYG.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-_8EiD8sl.js → gitGraphDiagram-PVQCEYII-Cyg5fe6d.js} +1 -1
- package/web-shell/assets/index-BgOcEaVt.js +1756 -0
- package/web-shell/assets/index-C2GE3DAF.js +74 -0
- package/web-shell/assets/{index-CKIadvET.js → index-CKdUkVVS.js} +1 -1
- package/web-shell/assets/index-DA5Lvscv.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-D61KYQBu.js → infoDiagram-5YYISTIA-SLsfu3Qd.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CsiXSpNx.js → ishikawaDiagram-YF4QCWOH-CmHOmTNx.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-Sdfionyh.js → journeyDiagram-JHISSGLW-C3gM_HFQ.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-C3WI3Cnl.js → kanban-definition-UN3LZRKU-BbHD7duM.js} +1 -1
- package/web-shell/assets/{linear-Dpigcc62.js → linear-CSBvm435.js} +1 -1
- package/web-shell/assets/{mermaid.core-Ct97pqgW.js → mermaid.core-CPMw15lU.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BzeaN0rB.js → mindmap-definition-RKZ34NQL-C_tNqXQW.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-CvjgcbVD.js → pieDiagram-4H26LBE5-DH_N-8yY.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BUzgTNdH.js → quadrantDiagram-W4KKPZXB-CRbS8UkN.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-B7zKlgUQ.js → requirementDiagram-4Y6WPE33-DJgdZPZn.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Bb9CQgrT.js → sankeyDiagram-5OEKKPKP-vhL1y5zx.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DJ6V7itG.js → sequenceDiagram-3UESZ5HK-UQthhFwd.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-IImflERY.js → stateDiagram-AJRCARHV-CAywEm20.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-lfJQHw-7.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-6Q_uWHKh.js → timeline-definition-PNZ67QCA-CLO8b3FD.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-TmyKyjwv.js → vennDiagram-CIIHVFJN-BNAAh0Mu.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CRh9uiPv.js → wardley-L42UT6IY-CUY7bLpN.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-59TKAW8w.js → wardleyDiagram-YWT4CUSO-CSg_ORdW.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-GCSUIK2L.js → xychartDiagram-2RQKCTM6-BjffV208.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/agent-headless-NO4Y2HOE.js +0 -74
- package/chunks/chunk-6QIGFD5W.js +0 -82
- package/chunks/chunk-HGT6JR3U.js +0 -177
- package/chunks/daemon-status-provider-3XJI6CAL.js +0 -89
- package/chunks/handleAutoUpdate-L6ERF36Y.js +0 -80
- package/chunks/list-L2GA674Y.js +0 -88
- package/chunks/mcp-SZLHKFJW.js +0 -82
- package/chunks/nonInteractiveCli-5T7KYKLK.js +0 -144
- package/chunks/ripGrep-OWV2IVJC.js +0 -72
- package/chunks/theme-manager-EEWIQJ7J.js +0 -76
- package/chunks/total-session-admission-44JKRWQD.js +0 -84
- package/chunks/workspace-providers-status-S35YAIUS.js +0 -85
- package/chunks/write-file-3BZC3EAE.js +0 -72
- package/chunks/zoom-image-TZ6S2O57.js +0 -351
- package/web-shell/assets/channel-DPYMT76A.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK--JstsIgL.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2--JstsIgL.js +0 -1
- package/web-shell/assets/index-D1eXNRHe.js +0 -1389
- package/web-shell/assets/index-DVLD4CQq.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CYI_YoNR.js +0 -1
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
contextCommand
|
|
5
|
+
} from "./chunk-7K2WTPQO.js";
|
|
3
6
|
import {
|
|
4
7
|
ExtensionRefreshState,
|
|
5
8
|
clearSkillArgs,
|
|
@@ -9,7 +12,7 @@ import {
|
|
|
9
12
|
staleArgsWarning,
|
|
10
13
|
validateAuthMethod,
|
|
11
14
|
writeSkillArgs
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VS3GXRNZ.js";
|
|
13
16
|
import {
|
|
14
17
|
calculateCost,
|
|
15
18
|
computeSessionStats,
|
|
@@ -18,26 +21,23 @@ import {
|
|
|
18
21
|
findInlineMathExpressions,
|
|
19
22
|
getSystemInfoFields,
|
|
20
23
|
levelLabel
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7IYLHTTM.js";
|
|
22
25
|
import {
|
|
23
26
|
isKittyProtocolEnabled
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NYX53SV4.js";
|
|
25
28
|
import {
|
|
26
29
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
27
30
|
writeOsc52
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
contextCommand
|
|
31
|
-
} from "./chunk-65PQENQP.js";
|
|
31
|
+
} from "./chunk-3LGZEYOF.js";
|
|
32
32
|
import {
|
|
33
33
|
themeManager
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KKN2IE7Q.js";
|
|
35
35
|
import {
|
|
36
36
|
getErrorMessage as getErrorMessage2
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PHODQP2V.js";
|
|
38
38
|
import {
|
|
39
39
|
rollbackStandaloneUpdate
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ZRFJ75D7.js";
|
|
41
41
|
import {
|
|
42
42
|
GITHUB_WORKFLOW_PATHS,
|
|
43
43
|
INSIGHT_CSS,
|
|
@@ -51,11 +51,11 @@ import {
|
|
|
51
51
|
toJson,
|
|
52
52
|
toJsonl,
|
|
53
53
|
toMarkdown
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UOFFZNXV.js";
|
|
55
55
|
import {
|
|
56
56
|
stripUnsafeCharacters,
|
|
57
57
|
toCodePoints
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4NFY2S7N.js";
|
|
59
59
|
import {
|
|
60
60
|
formatUnsupportedVoiceModelMessage,
|
|
61
61
|
getVoiceSettingsScope,
|
|
@@ -63,21 +63,20 @@ import {
|
|
|
63
63
|
isVoiceEnabled,
|
|
64
64
|
readVoiceMode,
|
|
65
65
|
readVoiceModel
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-XSA5EKTJ.js";
|
|
67
67
|
import {
|
|
68
68
|
getExtendedSystemInfo,
|
|
69
69
|
getGitVersion,
|
|
70
70
|
getNpmVersion
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-GHJM2C2T.js";
|
|
72
72
|
import {
|
|
73
73
|
formatDuration,
|
|
74
|
-
formatMemoryUsage,
|
|
75
74
|
formatTokenCount
|
|
76
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-3SH53ANB.js";
|
|
77
76
|
import {
|
|
78
77
|
isInlineModelOverrideAllowed,
|
|
79
78
|
parseAcpModelOption
|
|
80
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-AYB4HSBI.js";
|
|
81
80
|
import {
|
|
82
81
|
OUTPUT_LANGUAGE_AUTO,
|
|
83
82
|
getAllSettingKeys,
|
|
@@ -89,7 +88,7 @@ import {
|
|
|
89
88
|
resolveOutputLanguageOrPreserveAuto,
|
|
90
89
|
validateSettingValue,
|
|
91
90
|
writeOutputLanguageAndRegisterPath
|
|
92
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LAPK3GLC.js";
|
|
93
92
|
import {
|
|
94
93
|
SUPPORTED_LANGUAGES,
|
|
95
94
|
getCurrentLanguage,
|
|
@@ -97,14 +96,14 @@ import {
|
|
|
97
96
|
resolveSupportedLanguage,
|
|
98
97
|
setLanguageAsync,
|
|
99
98
|
t
|
|
100
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-CHCLO3M7.js";
|
|
101
100
|
import {
|
|
102
101
|
getInstallationInfo
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-25QQVOCG.js";
|
|
104
103
|
import {
|
|
105
104
|
isFolderTrustEnabled,
|
|
106
105
|
loadTrustedFolders
|
|
107
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-434YCHSV.js";
|
|
108
107
|
import {
|
|
109
108
|
require_strip_json_comments
|
|
110
109
|
} from "./chunk-ALGGS7UH.js";
|
|
@@ -138,6 +137,7 @@ import {
|
|
|
138
137
|
escapeShellArg,
|
|
139
138
|
findProviderByCredentials,
|
|
140
139
|
flatMapTextParts,
|
|
140
|
+
formatMemoryUsage,
|
|
141
141
|
generateSessionRecap,
|
|
142
142
|
getActiveGoal,
|
|
143
143
|
getArenaSystemReminder,
|
|
@@ -162,7 +162,6 @@ import {
|
|
|
162
162
|
normalizeClaudeMcpServer,
|
|
163
163
|
normalizeContent,
|
|
164
164
|
normalizeSkillPriority,
|
|
165
|
-
parse,
|
|
166
165
|
parseInstallSource,
|
|
167
166
|
parseLearnVideoInput,
|
|
168
167
|
parseVisionModelSetting,
|
|
@@ -175,26 +174,34 @@ import {
|
|
|
175
174
|
runForkedAgent,
|
|
176
175
|
tryGenerateSessionTitle,
|
|
177
176
|
unregisterGoalHook
|
|
178
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-NGWYUZZO.js";
|
|
179
178
|
import {
|
|
180
179
|
external_exports
|
|
181
180
|
} from "./chunk-H6XPXXMH.js";
|
|
182
181
|
import {
|
|
183
182
|
resolveModelId
|
|
184
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-PXA5AWHY.js";
|
|
184
|
+
import {
|
|
185
|
+
getAutoSkillCuratorStatus,
|
|
186
|
+
parse,
|
|
187
|
+
recordAutoSkillUsage,
|
|
188
|
+
restoreArchivedAutoSkill,
|
|
189
|
+
runAutoSkillCurator,
|
|
190
|
+
setAutoSkillPinned
|
|
191
|
+
} from "./chunk-MISUEWB4.js";
|
|
185
192
|
import {
|
|
186
193
|
HookEventName,
|
|
187
194
|
sanitizeUserPromptExpansionAdditionalContext
|
|
188
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-A5YZ3FA2.js";
|
|
189
196
|
import {
|
|
190
197
|
APPROVAL_MODES,
|
|
191
198
|
FORK_SUBAGENT_TYPE,
|
|
192
199
|
stripStartupContext
|
|
193
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-PGEGUNH5.js";
|
|
194
201
|
import {
|
|
195
202
|
applySkillAllowedTools,
|
|
196
203
|
buildSkillLlmContent
|
|
197
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-K623ENWT.js";
|
|
198
205
|
import {
|
|
199
206
|
openBrowserSecurely
|
|
200
207
|
} from "./chunk-NAVJD2PQ.js";
|
|
@@ -204,7 +211,7 @@ import {
|
|
|
204
211
|
} from "./chunk-DGEIYUC3.js";
|
|
205
212
|
import {
|
|
206
213
|
resolveOpenAILogDir
|
|
207
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-XCLLRKY5.js";
|
|
208
215
|
import {
|
|
209
216
|
IdeConnectionEvent,
|
|
210
217
|
formatTokenUsageSummaryAsCsv,
|
|
@@ -218,14 +225,14 @@ import {
|
|
|
218
225
|
recordSkillInvocation,
|
|
219
226
|
runSideQuery,
|
|
220
227
|
uiTelemetryService
|
|
221
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-M2F5PLOW.js";
|
|
222
229
|
import {
|
|
223
230
|
getAutoMemoryRoot
|
|
224
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-E4WHKETF.js";
|
|
225
232
|
import {
|
|
226
233
|
ToolNames,
|
|
227
234
|
isShellProgressData
|
|
228
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-I5GNT6ZS.js";
|
|
229
236
|
import {
|
|
230
237
|
Storage,
|
|
231
238
|
createDebugLogger,
|
|
@@ -234,12 +241,12 @@ import {
|
|
|
234
241
|
isSubpath,
|
|
235
242
|
resolvePath,
|
|
236
243
|
updateSymlink
|
|
237
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-3RXUYQJI.js";
|
|
238
245
|
import {
|
|
239
246
|
isCpuProfileRecording,
|
|
240
247
|
startCpuProfile,
|
|
241
248
|
stopCpuProfile
|
|
242
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-W7XZ3KP5.js";
|
|
243
250
|
import {
|
|
244
251
|
init_esbuild_shims
|
|
245
252
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -835,6 +842,7 @@ var aboutCommand = {
|
|
|
835
842
|
},
|
|
836
843
|
kind: "built-in" /* BUILT_IN */,
|
|
837
844
|
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
845
|
+
canRunDuringStreaming: true,
|
|
838
846
|
action: /* @__PURE__ */ __name(async (context) => {
|
|
839
847
|
const systemInfo = await getExtendedSystemInfo(context);
|
|
840
848
|
if (context.executionMode !== "interactive") {
|
|
@@ -871,6 +879,7 @@ var aboutCommand = {
|
|
|
871
879
|
},
|
|
872
880
|
kind: "built-in" /* BUILT_IN */,
|
|
873
881
|
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
882
|
+
canRunDuringStreaming: true,
|
|
874
883
|
action: /* @__PURE__ */ __name(async (context) => {
|
|
875
884
|
const info = await collectSessionPathInfo(context);
|
|
876
885
|
const content = formatSessionPathInfo(info);
|
|
@@ -1103,6 +1112,7 @@ function snapshotToTask(s) {
|
|
|
1103
1112
|
tokensSpent: s.tokensSpent ?? 0,
|
|
1104
1113
|
tokenBudgetTotal: s.tokenBudgetTotal ?? null,
|
|
1105
1114
|
perPhaseTokens: new Map(s.perPhaseTokens ?? []),
|
|
1115
|
+
pendingApprovals: [],
|
|
1106
1116
|
script: s.script ?? "",
|
|
1107
1117
|
scriptPath: s.scriptPath,
|
|
1108
1118
|
result: s.result,
|
|
@@ -1576,8 +1586,8 @@ function executeArenaCommand(config, ui, input) {
|
|
|
1576
1586
|
debugLogger4.debug("Arena agents settled");
|
|
1577
1587
|
},
|
|
1578
1588
|
(error) => {
|
|
1579
|
-
const
|
|
1580
|
-
addAndRecordArenaMessage("error" /* ERROR */, `${
|
|
1589
|
+
const message2 = error instanceof Error ? error.message : String(error);
|
|
1590
|
+
addAndRecordArenaMessage("error" /* ERROR */, `${message2}`);
|
|
1581
1591
|
debugLogger4.error("Arena session failed:", error);
|
|
1582
1592
|
config.setArenaManager(null);
|
|
1583
1593
|
for (const detach of detachListeners) {
|
|
@@ -1933,7 +1943,7 @@ var approvalModeCommand = {
|
|
|
1933
1943
|
};
|
|
1934
1944
|
}
|
|
1935
1945
|
}
|
|
1936
|
-
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-
|
|
1946
|
+
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-ZGD6BJSP.js") : void 0;
|
|
1937
1947
|
if (config) {
|
|
1938
1948
|
try {
|
|
1939
1949
|
config.setApprovalMode(mode);
|
|
@@ -2632,6 +2642,11 @@ var cdCommand = {
|
|
|
2632
2642
|
`Memory refresh failed: ${relocation.memoryRefreshError instanceof Error ? relocation.memoryRefreshError.message : String(relocation.memoryRefreshError)}`
|
|
2633
2643
|
);
|
|
2634
2644
|
}
|
|
2645
|
+
if (relocation.mcpRefreshError) {
|
|
2646
|
+
warnings.push(
|
|
2647
|
+
`MCP refresh failed: ${relocation.mcpRefreshError instanceof Error ? relocation.mcpRefreshError.message : String(relocation.mcpRefreshError)}`
|
|
2648
|
+
);
|
|
2649
|
+
}
|
|
2635
2650
|
} catch (error) {
|
|
2636
2651
|
return {
|
|
2637
2652
|
type: "message",
|
|
@@ -3037,17 +3052,17 @@ var configCommand = {
|
|
|
3037
3052
|
})
|
|
3038
3053
|
};
|
|
3039
3054
|
}
|
|
3040
|
-
let
|
|
3055
|
+
let message3 = t("Set {{key}} = {{value}}", {
|
|
3041
3056
|
key,
|
|
3042
3057
|
value: String(newValue)
|
|
3043
3058
|
});
|
|
3044
3059
|
if (def.requiresRestart) {
|
|
3045
|
-
|
|
3060
|
+
message3 += "\n" + t("(This setting requires a restart to take effect.)");
|
|
3046
3061
|
}
|
|
3047
3062
|
return {
|
|
3048
3063
|
type: "message",
|
|
3049
3064
|
messageType: "info",
|
|
3050
|
-
content:
|
|
3065
|
+
content: message3
|
|
3051
3066
|
};
|
|
3052
3067
|
}
|
|
3053
3068
|
const result = coerceValue(def, rawValue);
|
|
@@ -3082,22 +3097,22 @@ var configCommand = {
|
|
|
3082
3097
|
};
|
|
3083
3098
|
}
|
|
3084
3099
|
const displayValue = isSensitiveKey(key) ? maskValue(result.value) : formatValue(result.value);
|
|
3085
|
-
let
|
|
3100
|
+
let message2 = t("Set {{key}} = {{value}}", {
|
|
3086
3101
|
key,
|
|
3087
3102
|
value: displayValue
|
|
3088
3103
|
});
|
|
3089
3104
|
if (def.requiresRestart) {
|
|
3090
|
-
|
|
3105
|
+
message2 += "\n" + t("(This setting requires a restart to take effect.)");
|
|
3091
3106
|
}
|
|
3092
3107
|
if (isSensitiveKey(key)) {
|
|
3093
|
-
|
|
3108
|
+
message2 += "\n" + t(
|
|
3094
3109
|
"(Security-sensitive setting \u2014 verify you are not exposing credentials.)"
|
|
3095
3110
|
);
|
|
3096
3111
|
}
|
|
3097
3112
|
return {
|
|
3098
3113
|
type: "message",
|
|
3099
3114
|
messageType: "info",
|
|
3100
|
-
content:
|
|
3115
|
+
content: message2
|
|
3101
3116
|
};
|
|
3102
3117
|
}, "action"),
|
|
3103
3118
|
completion: /* @__PURE__ */ __name(async (_context, partialArg) => {
|
|
@@ -3458,6 +3473,290 @@ var compressFastCommand = {
|
|
|
3458
3473
|
}, "action")
|
|
3459
3474
|
};
|
|
3460
3475
|
|
|
3476
|
+
// packages/cli/src/ui/commands/curator-command.ts
|
|
3477
|
+
init_esbuild_shims();
|
|
3478
|
+
function message(content, messageType = "info") {
|
|
3479
|
+
return { type: "message", messageType, content };
|
|
3480
|
+
}
|
|
3481
|
+
__name(message, "message");
|
|
3482
|
+
function mutationGuard(config) {
|
|
3483
|
+
if (config.isSafeMode()) {
|
|
3484
|
+
return message(
|
|
3485
|
+
t("Auto-skill curator changes are disabled in safe mode."),
|
|
3486
|
+
"error"
|
|
3487
|
+
);
|
|
3488
|
+
}
|
|
3489
|
+
if (!config.isTrustedFolder()) {
|
|
3490
|
+
return message(
|
|
3491
|
+
t(
|
|
3492
|
+
"Auto-skill curator changes are only available in trusted workspaces. Trust this folder via `/trust` and try again."
|
|
3493
|
+
),
|
|
3494
|
+
"error"
|
|
3495
|
+
);
|
|
3496
|
+
}
|
|
3497
|
+
return void 0;
|
|
3498
|
+
}
|
|
3499
|
+
__name(mutationGuard, "mutationGuard");
|
|
3500
|
+
async function refreshSkillCache(config) {
|
|
3501
|
+
try {
|
|
3502
|
+
await config.getSkillManager()?.refreshCache();
|
|
3503
|
+
} catch {
|
|
3504
|
+
}
|
|
3505
|
+
}
|
|
3506
|
+
__name(refreshSkillCache, "refreshSkillCache");
|
|
3507
|
+
function displayName(entry) {
|
|
3508
|
+
return entry.skillName === entry.directoryName ? entry.directoryName : `${entry.skillName} (${entry.directoryName})`;
|
|
3509
|
+
}
|
|
3510
|
+
__name(displayName, "displayName");
|
|
3511
|
+
function formatStatus(status) {
|
|
3512
|
+
const lines = [
|
|
3513
|
+
t("Auto-skill curator"),
|
|
3514
|
+
t("Last run: {{time}}", { time: status.lastRunAt ?? t("never") }),
|
|
3515
|
+
t("Active: {{count}}", { count: String(status.active.length) }),
|
|
3516
|
+
t("Stale: {{count}}", { count: String(status.stale.length) }),
|
|
3517
|
+
t("Archived: {{count}}", { count: String(status.archived.length) })
|
|
3518
|
+
];
|
|
3519
|
+
if (status.stale.length > 0) {
|
|
3520
|
+
lines.push("", t("Stale skills:"));
|
|
3521
|
+
lines.push(...status.stale.map((entry) => ` ${displayName(entry)}`));
|
|
3522
|
+
}
|
|
3523
|
+
const pinned = [...status.active, ...status.stale].filter(
|
|
3524
|
+
(entry) => entry.pinned
|
|
3525
|
+
);
|
|
3526
|
+
if (pinned.length > 0) {
|
|
3527
|
+
lines.push("", t("Pinned skills:"));
|
|
3528
|
+
lines.push(...pinned.map((entry) => ` ${displayName(entry)}`));
|
|
3529
|
+
}
|
|
3530
|
+
if (status.archived.length > 0) {
|
|
3531
|
+
lines.push("", t("Archived skills:"));
|
|
3532
|
+
lines.push(...status.archived.map((entry) => ` ${displayName(entry)}`));
|
|
3533
|
+
}
|
|
3534
|
+
return lines.join("\n");
|
|
3535
|
+
}
|
|
3536
|
+
__name(formatStatus, "formatStatus");
|
|
3537
|
+
function formatRun(result) {
|
|
3538
|
+
const prefix = result.dryRun ? t("Dry run complete.") : t("Curator run complete.");
|
|
3539
|
+
const lines = [
|
|
3540
|
+
prefix,
|
|
3541
|
+
t("Checked: {{count}}", { count: String(result.checked) }),
|
|
3542
|
+
t("First observed: {{count}}", { count: String(result.seeded.length) }),
|
|
3543
|
+
t("Marked stale: {{count}}", {
|
|
3544
|
+
count: String(result.markedStale.length)
|
|
3545
|
+
}),
|
|
3546
|
+
t("Reactivated: {{count}}", {
|
|
3547
|
+
count: String(result.reactivated.length)
|
|
3548
|
+
}),
|
|
3549
|
+
t("{{verb}}: {{count}}", {
|
|
3550
|
+
verb: result.dryRun ? t("Would archive") : t("Archived"),
|
|
3551
|
+
count: String(result.archived.length)
|
|
3552
|
+
}),
|
|
3553
|
+
t("Skipped archive collisions: {{count}}", {
|
|
3554
|
+
count: String(result.skippedCollisions.length)
|
|
3555
|
+
}),
|
|
3556
|
+
t("Skipped rename errors: {{count}}", {
|
|
3557
|
+
count: String(result.skippedErrors.length)
|
|
3558
|
+
})
|
|
3559
|
+
];
|
|
3560
|
+
if (result.archived.length > 0) {
|
|
3561
|
+
lines.push(
|
|
3562
|
+
"",
|
|
3563
|
+
result.dryRun ? t("Archive candidates:") : t("Archived skills:")
|
|
3564
|
+
);
|
|
3565
|
+
lines.push(...result.archived.map((name) => ` ${name}`));
|
|
3566
|
+
}
|
|
3567
|
+
if (result.skippedCollisions.length > 0) {
|
|
3568
|
+
lines.push("", t("Skipped archive collisions:"));
|
|
3569
|
+
lines.push(
|
|
3570
|
+
...result.skippedCollisions.map(
|
|
3571
|
+
(name) => ` ${name} \u2014 remove or rename .qwen/archived-skills/${name} to re-archive`
|
|
3572
|
+
)
|
|
3573
|
+
);
|
|
3574
|
+
}
|
|
3575
|
+
if (result.skippedErrors.length > 0) {
|
|
3576
|
+
lines.push("", t("Skipped rename errors:"));
|
|
3577
|
+
lines.push(...result.skippedErrors.map((name) => ` ${name}`));
|
|
3578
|
+
}
|
|
3579
|
+
return lines.join("\n");
|
|
3580
|
+
}
|
|
3581
|
+
__name(formatRun, "formatRun");
|
|
3582
|
+
async function statusAction(context) {
|
|
3583
|
+
const config = context.services.config;
|
|
3584
|
+
if (!config) return message(t("Config not loaded."), "error");
|
|
3585
|
+
try {
|
|
3586
|
+
return message(
|
|
3587
|
+
formatStatus(await getAutoSkillCuratorStatus(config.getProjectRoot()))
|
|
3588
|
+
);
|
|
3589
|
+
} catch (error) {
|
|
3590
|
+
return message(
|
|
3591
|
+
t("Failed to read auto-skill curator status: {{message}}", {
|
|
3592
|
+
message: error instanceof Error ? error.message : String(error)
|
|
3593
|
+
}),
|
|
3594
|
+
"error"
|
|
3595
|
+
);
|
|
3596
|
+
}
|
|
3597
|
+
}
|
|
3598
|
+
__name(statusAction, "statusAction");
|
|
3599
|
+
var statusCommand = {
|
|
3600
|
+
name: "status",
|
|
3601
|
+
get description() {
|
|
3602
|
+
return t("Show project auto-skill lifecycle status.");
|
|
3603
|
+
},
|
|
3604
|
+
kind: "built-in" /* BUILT_IN */,
|
|
3605
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
3606
|
+
action: statusAction
|
|
3607
|
+
};
|
|
3608
|
+
var runCommand = {
|
|
3609
|
+
name: "run",
|
|
3610
|
+
get description() {
|
|
3611
|
+
return t("Run project auto-skill lifecycle maintenance.");
|
|
3612
|
+
},
|
|
3613
|
+
argumentHint: "[--dry-run]",
|
|
3614
|
+
kind: "built-in" /* BUILT_IN */,
|
|
3615
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
3616
|
+
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
3617
|
+
const config = context.services.config;
|
|
3618
|
+
if (!config) return message(t("Config not loaded."), "error");
|
|
3619
|
+
const normalized = args.trim();
|
|
3620
|
+
if (normalized !== "" && normalized !== "--dry-run") {
|
|
3621
|
+
return message(t("Usage: /curator run [--dry-run]"), "error");
|
|
3622
|
+
}
|
|
3623
|
+
if (normalized !== "--dry-run") {
|
|
3624
|
+
const blocked = mutationGuard(config);
|
|
3625
|
+
if (blocked) return blocked;
|
|
3626
|
+
}
|
|
3627
|
+
try {
|
|
3628
|
+
const result = await runAutoSkillCurator(config.getProjectRoot(), {
|
|
3629
|
+
dryRun: normalized === "--dry-run"
|
|
3630
|
+
});
|
|
3631
|
+
if (!result.dryRun && result.archived.length > 0) {
|
|
3632
|
+
await refreshSkillCache(config);
|
|
3633
|
+
}
|
|
3634
|
+
return message(formatRun(result));
|
|
3635
|
+
} catch (error) {
|
|
3636
|
+
return message(
|
|
3637
|
+
t("Failed to run auto-skill curator: {{message}}", {
|
|
3638
|
+
message: error instanceof Error ? error.message : String(error)
|
|
3639
|
+
}),
|
|
3640
|
+
"error"
|
|
3641
|
+
);
|
|
3642
|
+
}
|
|
3643
|
+
}, "action")
|
|
3644
|
+
};
|
|
3645
|
+
var restoreCommand = {
|
|
3646
|
+
name: "restore",
|
|
3647
|
+
get description() {
|
|
3648
|
+
return t("Restore an archived project auto-skill.");
|
|
3649
|
+
},
|
|
3650
|
+
argumentHint: "<directory>",
|
|
3651
|
+
kind: "built-in" /* BUILT_IN */,
|
|
3652
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
3653
|
+
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
3654
|
+
const config = context.services.config;
|
|
3655
|
+
if (!config) return message(t("Config not loaded."), "error");
|
|
3656
|
+
const directoryName = args.trim();
|
|
3657
|
+
if (!directoryName) {
|
|
3658
|
+
return message(t("Usage: /curator restore <directory>"), "error");
|
|
3659
|
+
}
|
|
3660
|
+
const blocked = mutationGuard(config);
|
|
3661
|
+
if (blocked) return blocked;
|
|
3662
|
+
try {
|
|
3663
|
+
await restoreArchivedAutoSkill(config.getProjectRoot(), directoryName);
|
|
3664
|
+
await refreshSkillCache(config);
|
|
3665
|
+
return message(
|
|
3666
|
+
t("Restored auto-skill: {{name}}", { name: directoryName })
|
|
3667
|
+
);
|
|
3668
|
+
} catch (error) {
|
|
3669
|
+
return message(
|
|
3670
|
+
t("Failed to restore auto-skill: {{message}}", {
|
|
3671
|
+
message: error instanceof Error ? error.message : String(error)
|
|
3672
|
+
}),
|
|
3673
|
+
"error"
|
|
3674
|
+
);
|
|
3675
|
+
}
|
|
3676
|
+
}, "action"),
|
|
3677
|
+
completion: /* @__PURE__ */ __name(async (context, partialArg) => {
|
|
3678
|
+
const config = context.services.config;
|
|
3679
|
+
if (!config) return [];
|
|
3680
|
+
try {
|
|
3681
|
+
const status = await getAutoSkillCuratorStatus(config.getProjectRoot());
|
|
3682
|
+
return status.archived.map((entry) => entry.directoryName).filter((name) => name.startsWith(partialArg));
|
|
3683
|
+
} catch {
|
|
3684
|
+
return [];
|
|
3685
|
+
}
|
|
3686
|
+
}, "completion")
|
|
3687
|
+
};
|
|
3688
|
+
function pinCommand(name, pinned) {
|
|
3689
|
+
return {
|
|
3690
|
+
name,
|
|
3691
|
+
get description() {
|
|
3692
|
+
return pinned ? t("Exclude an auto-skill from automatic maintenance.") : t("Return a pinned auto-skill to automatic maintenance.");
|
|
3693
|
+
},
|
|
3694
|
+
argumentHint: "<directory>",
|
|
3695
|
+
kind: "built-in" /* BUILT_IN */,
|
|
3696
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
3697
|
+
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
3698
|
+
const config = context.services.config;
|
|
3699
|
+
if (!config) return message(t("Config not loaded."), "error");
|
|
3700
|
+
const directoryName = args.trim();
|
|
3701
|
+
if (!directoryName) {
|
|
3702
|
+
return message(
|
|
3703
|
+
pinned ? t("Usage: /curator pin <directory>") : t("Usage: /curator unpin <directory>"),
|
|
3704
|
+
"error"
|
|
3705
|
+
);
|
|
3706
|
+
}
|
|
3707
|
+
const blocked = mutationGuard(config);
|
|
3708
|
+
if (blocked) return blocked;
|
|
3709
|
+
try {
|
|
3710
|
+
await setAutoSkillPinned(
|
|
3711
|
+
config.getProjectRoot(),
|
|
3712
|
+
directoryName,
|
|
3713
|
+
pinned
|
|
3714
|
+
);
|
|
3715
|
+
return message(
|
|
3716
|
+
pinned ? t("Pinned auto-skill: {{name}}", { name: directoryName }) : t("Unpinned auto-skill: {{name}}", { name: directoryName })
|
|
3717
|
+
);
|
|
3718
|
+
} catch (error) {
|
|
3719
|
+
return message(
|
|
3720
|
+
t("Failed to update auto-skill pin: {{message}}", {
|
|
3721
|
+
message: error instanceof Error ? error.message : String(error)
|
|
3722
|
+
}),
|
|
3723
|
+
"error"
|
|
3724
|
+
);
|
|
3725
|
+
}
|
|
3726
|
+
}, "action"),
|
|
3727
|
+
completion: /* @__PURE__ */ __name(async (context, partialArg) => {
|
|
3728
|
+
const config = context.services.config;
|
|
3729
|
+
if (!config) return [];
|
|
3730
|
+
try {
|
|
3731
|
+
const status = await getAutoSkillCuratorStatus(config.getProjectRoot());
|
|
3732
|
+
return [...status.active, ...status.stale].filter((entry) => entry.pinned !== pinned).map((entry) => entry.directoryName).filter((directoryName) => directoryName.startsWith(partialArg));
|
|
3733
|
+
} catch {
|
|
3734
|
+
return [];
|
|
3735
|
+
}
|
|
3736
|
+
}, "completion")
|
|
3737
|
+
};
|
|
3738
|
+
}
|
|
3739
|
+
__name(pinCommand, "pinCommand");
|
|
3740
|
+
var pinAutoSkillCommand = pinCommand("pin", true);
|
|
3741
|
+
var unpinAutoSkillCommand = pinCommand("unpin", false);
|
|
3742
|
+
var curatorCommand = {
|
|
3743
|
+
name: "curator",
|
|
3744
|
+
get description() {
|
|
3745
|
+
return t("Maintain project auto-skills based on recent use.");
|
|
3746
|
+
},
|
|
3747
|
+
argumentHint: "[status|run [--dry-run]|pin <directory>|unpin <directory>|restore <directory>]",
|
|
3748
|
+
kind: "built-in" /* BUILT_IN */,
|
|
3749
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
3750
|
+
action: statusAction,
|
|
3751
|
+
subCommands: [
|
|
3752
|
+
statusCommand,
|
|
3753
|
+
runCommand,
|
|
3754
|
+
pinAutoSkillCommand,
|
|
3755
|
+
unpinAutoSkillCommand,
|
|
3756
|
+
restoreCommand
|
|
3757
|
+
]
|
|
3758
|
+
};
|
|
3759
|
+
|
|
3461
3760
|
// packages/cli/src/ui/commands/copyCommand.ts
|
|
3462
3761
|
init_esbuild_shims();
|
|
3463
3762
|
function parseFencedCodeBlocks(markdown) {
|
|
@@ -3760,12 +4059,12 @@ var copyCommand = {
|
|
|
3760
4059
|
content: selectedCodeBlock ? `${selectedCodeBlock.label} copied to the clipboard` : isIndexed ? `AI message ${messageIndex} copied to the clipboard` : "Last output copied to the clipboard"
|
|
3761
4060
|
};
|
|
3762
4061
|
} catch (error) {
|
|
3763
|
-
const
|
|
3764
|
-
context.services.config?.getDebugLogger().debug(
|
|
4062
|
+
const message2 = error instanceof Error ? error.message : String(error);
|
|
4063
|
+
context.services.config?.getDebugLogger().debug(message2);
|
|
3765
4064
|
return {
|
|
3766
4065
|
type: "message",
|
|
3767
4066
|
messageType: "error",
|
|
3768
|
-
content: `Failed to copy to the clipboard. ${
|
|
4067
|
+
content: `Failed to copy to the clipboard. ${message2}`
|
|
3769
4068
|
};
|
|
3770
4069
|
}
|
|
3771
4070
|
} else {
|
|
@@ -4609,8 +4908,8 @@ function formatErrorMessage2(error) {
|
|
|
4609
4908
|
}
|
|
4610
4909
|
__name(formatErrorMessage2, "formatErrorMessage");
|
|
4611
4910
|
function formatHeapSnapshotErrorMessage(error) {
|
|
4612
|
-
const
|
|
4613
|
-
return
|
|
4911
|
+
const message2 = formatErrorMessage2(error);
|
|
4912
|
+
return message2.startsWith("Heap snapshot") ? message2 : `${t("Heap snapshot failed:")} ${message2}`;
|
|
4614
4913
|
}
|
|
4615
4914
|
__name(formatHeapSnapshotErrorMessage, "formatHeapSnapshotErrorMessage");
|
|
4616
4915
|
var doctorCommand = {
|
|
@@ -6195,6 +6494,7 @@ var helpCommand = {
|
|
|
6195
6494
|
altNames: ["?"],
|
|
6196
6495
|
kind: "built-in" /* BUILT_IN */,
|
|
6197
6496
|
supportedModes: ["interactive"],
|
|
6497
|
+
canRunDuringStreaming: true,
|
|
6198
6498
|
get description() {
|
|
6199
6499
|
return t("for help on Qwen Code");
|
|
6200
6500
|
},
|
|
@@ -6263,7 +6563,7 @@ var expandNowCommand = {
|
|
|
6263
6563
|
content: t("History is already expanded in this session.")
|
|
6264
6564
|
};
|
|
6265
6565
|
}
|
|
6266
|
-
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-
|
|
6566
|
+
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-F5BE5QDW.js");
|
|
6267
6567
|
const updated = expandCollapsedHistory(history);
|
|
6268
6568
|
loadHistory(updated);
|
|
6269
6569
|
refreshStatic();
|
|
@@ -6378,6 +6678,13 @@ function getHookExitCodes(eventName) {
|
|
|
6378
6678
|
{ code: 0, description: t("command completes successfully") },
|
|
6379
6679
|
{ code: "Other", description: t("show stderr to user only") }
|
|
6380
6680
|
],
|
|
6681
|
+
["SessionDelete" /* SessionDelete */]: [
|
|
6682
|
+
{ code: 0, description: t("fire-and-forget; exit status is ignored") },
|
|
6683
|
+
{
|
|
6684
|
+
code: "Other",
|
|
6685
|
+
description: t("fire-and-forget; exit status is ignored")
|
|
6686
|
+
}
|
|
6687
|
+
],
|
|
6381
6688
|
["SubagentStart" /* SubagentStart */]: [
|
|
6382
6689
|
{ code: 0, description: t("stdout shown to subagent") },
|
|
6383
6690
|
{
|
|
@@ -6475,6 +6782,9 @@ function getHookShortDescription(eventName) {
|
|
|
6475
6782
|
"When the turn ends due to an API error (fires instead of Stop)"
|
|
6476
6783
|
),
|
|
6477
6784
|
["SessionEnd" /* SessionEnd */]: t("When a session is ending"),
|
|
6785
|
+
["SessionDelete" /* SessionDelete */]: t(
|
|
6786
|
+
"After an explicitly selected session is deleted"
|
|
6787
|
+
),
|
|
6478
6788
|
["PermissionRequest" /* PermissionRequest */]: t(
|
|
6479
6789
|
"When a permission dialog is displayed"
|
|
6480
6790
|
),
|
|
@@ -6523,6 +6833,9 @@ function getHookDescription(eventName) {
|
|
|
6523
6833
|
["SessionEnd" /* SessionEnd */]: t(
|
|
6524
6834
|
"Input to command is JSON with session end reason."
|
|
6525
6835
|
),
|
|
6836
|
+
["SessionDelete" /* SessionDelete */]: t(
|
|
6837
|
+
"Input to command is JSON with deleted_session_id. It runs after an explicitly selected session is deleted; output and failures are ignored."
|
|
6838
|
+
),
|
|
6526
6839
|
["SubagentStart" /* SubagentStart */]: t(
|
|
6527
6840
|
"Input to command is JSON with agent_id and agent_type."
|
|
6528
6841
|
),
|
|
@@ -6801,8 +7114,8 @@ function formatFileList(openFiles) {
|
|
|
6801
7114
|
const basename3 = path6.basename(file.path);
|
|
6802
7115
|
const isDuplicate = (basenameCounts.get(basename3) || 0) > 1;
|
|
6803
7116
|
const parentDir = path6.basename(path6.dirname(file.path));
|
|
6804
|
-
const
|
|
6805
|
-
return ` - ${
|
|
7117
|
+
const displayName2 = isDuplicate ? `${basename3} (/${parentDir})` : basename3;
|
|
7118
|
+
return ` - ${displayName2}${file.isActive ? " (active)" : ""}`;
|
|
6806
7119
|
}).join("\n");
|
|
6807
7120
|
const infoMessage2 = `
|
|
6808
7121
|
(Note: The file list is limited to a number of recently accessed files within your workspace and only includes local files on disk)`;
|
|
@@ -6886,7 +7199,7 @@ var ideCommand = /* @__PURE__ */ __name(async () => {
|
|
|
6886
7199
|
supportedModes: ["interactive"],
|
|
6887
7200
|
subCommands: []
|
|
6888
7201
|
};
|
|
6889
|
-
const
|
|
7202
|
+
const statusCommand2 = {
|
|
6890
7203
|
name: "status",
|
|
6891
7204
|
get description() {
|
|
6892
7205
|
return t("check status of IDE integration");
|
|
@@ -7036,11 +7349,11 @@ var ideCommand = /* @__PURE__ */ __name(async () => {
|
|
|
7036
7349
|
const { status } = ideClient.getConnectionStatus();
|
|
7037
7350
|
const isConnected = status === "connected" /* Connected */;
|
|
7038
7351
|
if (isConnected) {
|
|
7039
|
-
ideSlashCommand.subCommands = [
|
|
7352
|
+
ideSlashCommand.subCommands = [statusCommand2, disableCommand];
|
|
7040
7353
|
} else {
|
|
7041
7354
|
ideSlashCommand.subCommands = [
|
|
7042
7355
|
enableCommand,
|
|
7043
|
-
|
|
7356
|
+
statusCommand2,
|
|
7044
7357
|
installCommand2
|
|
7045
7358
|
];
|
|
7046
7359
|
}
|
|
@@ -7700,7 +8013,7 @@ var initCommand = {
|
|
|
7700
8013
|
if (existing && existing.trim().length > 0) {
|
|
7701
8014
|
if (!context.overwriteConfirmed) {
|
|
7702
8015
|
const [{ Text }, { default: React }] = await Promise.all([
|
|
7703
|
-
import("./build-
|
|
8016
|
+
import("./build-GDBLPA24.js"),
|
|
7704
8017
|
import("./react-SG7JAQSZ.js")
|
|
7705
8018
|
]);
|
|
7706
8019
|
return {
|
|
@@ -9681,7 +9994,7 @@ async function completion(context, _partialArg) {
|
|
|
9681
9994
|
}
|
|
9682
9995
|
}
|
|
9683
9996
|
__name(completion, "completion");
|
|
9684
|
-
var
|
|
9997
|
+
var restoreCommand2 = /* @__PURE__ */ __name((config) => {
|
|
9685
9998
|
if (!config?.getFileCheckpointingEnabled()) {
|
|
9686
9999
|
return null;
|
|
9687
10000
|
}
|
|
@@ -9779,6 +10092,7 @@ var settingsCommand = {
|
|
|
9779
10092
|
},
|
|
9780
10093
|
kind: "built-in" /* BUILT_IN */,
|
|
9781
10094
|
supportedModes: ["interactive"],
|
|
10095
|
+
canRunDuringStreaming: true,
|
|
9782
10096
|
action: /* @__PURE__ */ __name((_context, _args) => ({
|
|
9783
10097
|
type: "dialog",
|
|
9784
10098
|
dialog: "settings"
|
|
@@ -10664,9 +10978,9 @@ var summaryCommand = {
|
|
|
10664
10978
|
}
|
|
10665
10979
|
}, "validateChatHistory");
|
|
10666
10980
|
const generateSummaryMarkdown = /* @__PURE__ */ __name(async (history2) => {
|
|
10667
|
-
const conversationContext = history2.map((
|
|
10668
|
-
role:
|
|
10669
|
-
parts:
|
|
10981
|
+
const conversationContext = history2.map((message2) => ({
|
|
10982
|
+
role: message2.role,
|
|
10983
|
+
parts: message2.parts
|
|
10670
10984
|
}));
|
|
10671
10985
|
const rawSystemInstruction = geminiClient.getChat().getGenerationConfig().systemInstruction;
|
|
10672
10986
|
const chatSystemInstruction = typeof rawSystemInstruction === "string" ? rawSystemInstruction : void 0;
|
|
@@ -11205,11 +11519,11 @@ var vimCommand = {
|
|
|
11205
11519
|
supportedModes: ["interactive"],
|
|
11206
11520
|
action: /* @__PURE__ */ __name(async (context, _args) => {
|
|
11207
11521
|
const newVimState = await context.ui.toggleVimEnabled();
|
|
11208
|
-
const
|
|
11522
|
+
const message2 = newVimState ? "Entered Vim mode. Run /vim again to exit." : "Exited Vim mode.";
|
|
11209
11523
|
return {
|
|
11210
11524
|
type: "message",
|
|
11211
11525
|
messageType: "info",
|
|
11212
|
-
content:
|
|
11526
|
+
content: message2
|
|
11213
11527
|
};
|
|
11214
11528
|
}, "action")
|
|
11215
11529
|
};
|
|
@@ -12830,8 +13144,8 @@ var insightCommand = {
|
|
|
12830
13144
|
resume = null;
|
|
12831
13145
|
resolve4();
|
|
12832
13146
|
}, "flushResume");
|
|
12833
|
-
const pushMessage = /* @__PURE__ */ __name((
|
|
12834
|
-
pendingMessages.push(
|
|
13147
|
+
const pushMessage = /* @__PURE__ */ __name((message2) => {
|
|
13148
|
+
pendingMessages.push(message2);
|
|
12835
13149
|
flushResume();
|
|
12836
13150
|
}, "pushMessage");
|
|
12837
13151
|
const streamMessages = /* @__PURE__ */ __name(async function* () {
|
|
@@ -12842,9 +13156,9 @@ var insightCommand = {
|
|
|
12842
13156
|
});
|
|
12843
13157
|
}
|
|
12844
13158
|
while (pendingMessages.length > 0) {
|
|
12845
|
-
const
|
|
12846
|
-
if (
|
|
12847
|
-
yield
|
|
13159
|
+
const message2 = pendingMessages.shift();
|
|
13160
|
+
if (message2) {
|
|
13161
|
+
yield message2;
|
|
12848
13162
|
}
|
|
12849
13163
|
}
|
|
12850
13164
|
}
|
|
@@ -13214,10 +13528,10 @@ var updateCommand = {
|
|
|
13214
13528
|
{ performStandaloneUpdate },
|
|
13215
13529
|
installationInfo
|
|
13216
13530
|
] = await Promise.all([
|
|
13217
|
-
import("./updateCheck-
|
|
13218
|
-
import("./processUtils-
|
|
13219
|
-
import("./standalone-update-
|
|
13220
|
-
import("./installationInfo-
|
|
13531
|
+
import("./updateCheck-ZHVXDAIH.js"),
|
|
13532
|
+
import("./processUtils-E4QGQVWW.js"),
|
|
13533
|
+
import("./standalone-update-TMLT6LVJ.js"),
|
|
13534
|
+
import("./installationInfo-R7FXPQN5.js")
|
|
13221
13535
|
]);
|
|
13222
13536
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
13223
13537
|
const settings = context.services.settings;
|
|
@@ -13309,7 +13623,7 @@ ${t(
|
|
|
13309
13623
|
installInfo.standaloneDir,
|
|
13310
13624
|
info.update.latest
|
|
13311
13625
|
);
|
|
13312
|
-
const
|
|
13626
|
+
const message2 = result === "done" ? t(
|
|
13313
13627
|
"Update successful! The new version will be used on your next run."
|
|
13314
13628
|
) : t(
|
|
13315
13629
|
"Update downloaded. It will be applied after you exit this session."
|
|
@@ -13319,17 +13633,17 @@ ${t(
|
|
|
13319
13633
|
messageType: "info",
|
|
13320
13634
|
content: `${info.message}
|
|
13321
13635
|
${t("Downloading update...")}
|
|
13322
|
-
${
|
|
13636
|
+
${message2}`
|
|
13323
13637
|
};
|
|
13324
13638
|
} catch (err) {
|
|
13325
|
-
const
|
|
13639
|
+
const message2 = t("Update failed: {{error}}", {
|
|
13326
13640
|
error: err instanceof Error ? err.message : String(err)
|
|
13327
13641
|
});
|
|
13328
13642
|
return {
|
|
13329
13643
|
type: "message",
|
|
13330
13644
|
messageType: "error",
|
|
13331
13645
|
content: `${info.message}
|
|
13332
|
-
${
|
|
13646
|
+
${message2}`
|
|
13333
13647
|
};
|
|
13334
13648
|
}
|
|
13335
13649
|
}
|
|
@@ -13386,6 +13700,7 @@ var BuiltinCommandLoader = class {
|
|
|
13386
13700
|
compressFastCommand,
|
|
13387
13701
|
configCommand,
|
|
13388
13702
|
contextCommand,
|
|
13703
|
+
curatorCommand,
|
|
13389
13704
|
copyCommand,
|
|
13390
13705
|
diffCommand,
|
|
13391
13706
|
deleteCommand,
|
|
@@ -13417,7 +13732,7 @@ var BuiltinCommandLoader = class {
|
|
|
13417
13732
|
recapCommand,
|
|
13418
13733
|
reloadPluginsCommand,
|
|
13419
13734
|
renameCommand,
|
|
13420
|
-
|
|
13735
|
+
restoreCommand2(this.config),
|
|
13421
13736
|
resumeCommand,
|
|
13422
13737
|
rewindCommand,
|
|
13423
13738
|
skillsCommand,
|
|
@@ -13673,8 +13988,8 @@ __name(extractInjections, "extractInjections");
|
|
|
13673
13988
|
|
|
13674
13989
|
// packages/cli/src/services/prompt-processors/shellProcessor.ts
|
|
13675
13990
|
var ConfirmationRequiredError = class extends Error {
|
|
13676
|
-
constructor(
|
|
13677
|
-
super(
|
|
13991
|
+
constructor(message2, commandsToConfirm) {
|
|
13992
|
+
super(message2);
|
|
13678
13993
|
this.commandsToConfirm = commandsToConfirm;
|
|
13679
13994
|
this.name = "ConfirmationRequiredError";
|
|
13680
13995
|
}
|
|
@@ -13866,8 +14181,8 @@ var AtFileProcessor = class {
|
|
|
13866
14181
|
}
|
|
13867
14182
|
output.push(...fileContentParts);
|
|
13868
14183
|
} catch (error) {
|
|
13869
|
-
const
|
|
13870
|
-
const uiMessage = `Failed to inject content for '@{${pathStr}}': ${
|
|
14184
|
+
const message2 = error instanceof Error ? error.message : String(error);
|
|
14185
|
+
const uiMessage = `Failed to inject content for '@{${pathStr}}': ${message2}`;
|
|
13871
14186
|
debugLogger13.error(
|
|
13872
14187
|
`[AtFileProcessor] ${uiMessage}. Leaving placeholder in prompt.`
|
|
13873
14188
|
);
|
|
@@ -14297,6 +14612,7 @@ __name(tryParseJson, "tryParseJson");
|
|
|
14297
14612
|
|
|
14298
14613
|
// packages/cli/src/services/McpPromptLoader.ts
|
|
14299
14614
|
init_esbuild_shims();
|
|
14615
|
+
var NAMED_ARG_REGEX = /--([^=]+)=(?:"((?:\\.|[^"\\])*)"|([^ ]+))/;
|
|
14300
14616
|
var McpPromptLoader = class {
|
|
14301
14617
|
constructor(config) {
|
|
14302
14618
|
this.config = config;
|
|
@@ -14435,21 +14751,37 @@ var McpPromptLoader = class {
|
|
|
14435
14751
|
return [];
|
|
14436
14752
|
}
|
|
14437
14753
|
const indexOfFirstSpace = invocation.raw.indexOf(" ") + 1;
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
|
|
14443
|
-
|
|
14754
|
+
const argsString = indexOfFirstSpace === 0 ? "" : invocation.raw.substring(indexOfFirstSpace);
|
|
14755
|
+
const namedArgRegex = new RegExp(NAMED_ARG_REGEX.source, "g");
|
|
14756
|
+
const providedArgNames = /* @__PURE__ */ new Set();
|
|
14757
|
+
let m;
|
|
14758
|
+
while ((m = namedArgRegex.exec(argsString)) !== null) {
|
|
14759
|
+
providedArgNames.add(m[1]);
|
|
14760
|
+
}
|
|
14761
|
+
const positionalTokens = argsString.replace(namedArgRegex, " ").match(/(?:"(?:\\.|[^"\\])*"|[^ ]+)/g) || [];
|
|
14762
|
+
const positionalCount = positionalTokens.filter(
|
|
14763
|
+
(token) => !token.startsWith("--")
|
|
14764
|
+
).length;
|
|
14765
|
+
if (positionalCount > 0) {
|
|
14766
|
+
const unfilled = prompt.arguments.filter((arg) => !providedArgNames.has(arg.name)).sort(
|
|
14767
|
+
(a, b) => a.required === b.required ? 0 : a.required ? -1 : 1
|
|
14768
|
+
);
|
|
14769
|
+
for (let i = 0; i < positionalCount && i < unfilled.length; i++) {
|
|
14770
|
+
providedArgNames.add(unfilled[i].name);
|
|
14771
|
+
}
|
|
14444
14772
|
}
|
|
14445
|
-
const
|
|
14446
|
-
const
|
|
14447
|
-
|
|
14448
|
-
|
|
14773
|
+
const unusedRequired = [];
|
|
14774
|
+
const unusedOptional = [];
|
|
14775
|
+
for (const arg of prompt.arguments) {
|
|
14776
|
+
if (providedArgNames.has(arg.name)) continue;
|
|
14777
|
+
const flag = `--${arg.name}="`;
|
|
14778
|
+
if (arg.required) {
|
|
14779
|
+
unusedRequired.push(flag);
|
|
14780
|
+
} else {
|
|
14781
|
+
unusedOptional.push(flag);
|
|
14449
14782
|
}
|
|
14450
|
-
|
|
14451
|
-
|
|
14452
|
-
}).map((argument) => `--${argument.name}="`) || [];
|
|
14783
|
+
}
|
|
14784
|
+
const unusedArguments = unusedRequired.length > 0 ? partialArg.length > 0 ? [...unusedRequired, ...unusedOptional] : unusedRequired : partialArg.length > 0 ? unusedOptional : [];
|
|
14453
14785
|
const exactlyMatchingArgumentAtTheEnd = prompt.arguments.map((argument) => `--${argument.name}="`).filter((flagArgument) => {
|
|
14454
14786
|
const regex = new RegExp(`${flagArgument}[^"]*$`);
|
|
14455
14787
|
return regex.test(invocation.raw);
|
|
@@ -14486,7 +14818,7 @@ var McpPromptLoader = class {
|
|
|
14486
14818
|
parseArgs(userArgs, promptArgs) {
|
|
14487
14819
|
const argValues = {};
|
|
14488
14820
|
const promptInputs = {};
|
|
14489
|
-
const namedArgRegex =
|
|
14821
|
+
const namedArgRegex = new RegExp(NAMED_ARG_REGEX.source, "g");
|
|
14490
14822
|
let match;
|
|
14491
14823
|
let lastIndex = 0;
|
|
14492
14824
|
const positionalParts = [];
|
|
@@ -14544,6 +14876,24 @@ var McpPromptLoader = class {
|
|
|
14544
14876
|
init_esbuild_shims();
|
|
14545
14877
|
import { dirname as dirname3 } from "node:path";
|
|
14546
14878
|
var debugLogger17 = createDebugLogger("SKILL_COMMAND_LOADER");
|
|
14879
|
+
async function recordAutoSkillCommandUsage(config, command) {
|
|
14880
|
+
const detail = command.skillDetail;
|
|
14881
|
+
if (!config || detail?.level !== "project" || !detail.filePath) {
|
|
14882
|
+
return;
|
|
14883
|
+
}
|
|
14884
|
+
try {
|
|
14885
|
+
await recordAutoSkillUsage(config.getProjectRoot(), {
|
|
14886
|
+
name: detail.name,
|
|
14887
|
+
level: "project",
|
|
14888
|
+
filePath: detail.filePath
|
|
14889
|
+
});
|
|
14890
|
+
} catch (error) {
|
|
14891
|
+
debugLogger17.warn(
|
|
14892
|
+
`Failed to record auto-skill command usage: ${error instanceof Error ? error.message : String(error)}`
|
|
14893
|
+
);
|
|
14894
|
+
}
|
|
14895
|
+
}
|
|
14896
|
+
__name(recordAutoSkillCommandUsage, "recordAutoSkillCommandUsage");
|
|
14547
14897
|
var SkillCommandLoader = class {
|
|
14548
14898
|
constructor(config) {
|
|
14549
14899
|
this.config = config;
|
|
@@ -14598,6 +14948,7 @@ var SkillCommandLoader = class {
|
|
|
14598
14948
|
name: skill.name,
|
|
14599
14949
|
description: skill.description,
|
|
14600
14950
|
body: skill.body,
|
|
14951
|
+
filePath: skill.filePath,
|
|
14601
14952
|
level: skill.level,
|
|
14602
14953
|
...isExtension && skill.extensionName ? { extensionName: skill.extensionName } : {}
|
|
14603
14954
|
},
|
|
@@ -14922,6 +15273,7 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
14922
15273
|
const combinedContent = [];
|
|
14923
15274
|
let firstModelOverride;
|
|
14924
15275
|
const onCompleteCallbacks = [];
|
|
15276
|
+
const successfulSkillCommands = [];
|
|
14925
15277
|
for (const skill of stackedResult.skills) {
|
|
14926
15278
|
if (!skill.action) continue;
|
|
14927
15279
|
const skillContext = {
|
|
@@ -14941,10 +15293,14 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
14941
15293
|
onCompleteCallbacks.push(skillResult.onComplete);
|
|
14942
15294
|
}
|
|
14943
15295
|
}
|
|
15296
|
+
const succeeded = skillResult?.type === "submit_prompt";
|
|
14944
15297
|
recordSkillInvocation(config, {
|
|
14945
15298
|
skillName: getSkillCommandName(skill),
|
|
14946
|
-
success:
|
|
15299
|
+
success: succeeded
|
|
14947
15300
|
});
|
|
15301
|
+
if (succeeded) {
|
|
15302
|
+
successfulSkillCommands.push(skill);
|
|
15303
|
+
}
|
|
14948
15304
|
}
|
|
14949
15305
|
if (stackedResult.remainingText) {
|
|
14950
15306
|
combinedContent.push([{ text: stackedResult.remainingText }]);
|
|
@@ -14960,6 +15316,9 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
14960
15316
|
if (hookResult.blockedResult) {
|
|
14961
15317
|
return hookResult.blockedResult;
|
|
14962
15318
|
}
|
|
15319
|
+
for (const skill of successfulSkillCommands) {
|
|
15320
|
+
void recordAutoSkillCommandUsage(config, skill);
|
|
15321
|
+
}
|
|
14963
15322
|
return {
|
|
14964
15323
|
type: "submit_prompt",
|
|
14965
15324
|
content: hookResult.content,
|
|
@@ -15078,6 +15437,7 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
15078
15437
|
return hookResult.blockedResult;
|
|
15079
15438
|
}
|
|
15080
15439
|
recordSkillCommandInvocation(true);
|
|
15440
|
+
void recordAutoSkillCommandUsage(config, commandToExecute);
|
|
15081
15441
|
return handleCommandResult(
|
|
15082
15442
|
{ ...result, content: hookResult.content },
|
|
15083
15443
|
outputHistoryItems
|
|
@@ -15132,11 +15492,11 @@ function normalizePartList(parts) {
|
|
|
15132
15492
|
return [parts];
|
|
15133
15493
|
}
|
|
15134
15494
|
__name(normalizePartList, "normalizePartList");
|
|
15135
|
-
function extractPartsFromUserMessage(
|
|
15136
|
-
if (!
|
|
15495
|
+
function extractPartsFromUserMessage(message2) {
|
|
15496
|
+
if (!message2) {
|
|
15137
15497
|
return null;
|
|
15138
15498
|
}
|
|
15139
|
-
const content =
|
|
15499
|
+
const content = message2.message?.content;
|
|
15140
15500
|
if (typeof content === "string") {
|
|
15141
15501
|
return content;
|
|
15142
15502
|
}
|
|
@@ -15434,6 +15794,7 @@ export {
|
|
|
15434
15794
|
FileCommandLoader,
|
|
15435
15795
|
SavedWorkflowLoader,
|
|
15436
15796
|
McpPromptLoader,
|
|
15797
|
+
recordAutoSkillCommandUsage,
|
|
15437
15798
|
SkillCommandLoader,
|
|
15438
15799
|
appendUserPromptExpansionAdditionalContext,
|
|
15439
15800
|
serializeUserPromptExpansionPrompt,
|