@qwen-code/qwen-code 0.21.0 → 0.21.1
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 +38 -28
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/github.md +107 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +61 -6
- package/bundled/qc-helper/docs/features/code-review.md +1 -1
- package/bundled/qc-helper/docs/features/hooks.md +52 -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 +20 -0
- package/bundled/qc-helper/docs/qwen-serve.md +4 -2
- 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-VI3ROJJA.js +84 -0
- package/chunks/{StandaloneSessionPicker-BIRMPLRD.js → StandaloneSessionPicker-LYXKD2EV.js} +67 -68
- package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-DFVPFQ6C.js} +2 -2
- package/chunks/{acpAgent-6J2U72PQ.js → acpAgent-WN5SRDQO.js} +1373 -553
- package/chunks/agent-K6ECSM64.js +80 -0
- package/chunks/agent-headless-NO4Y2HOE.js +74 -0
- package/chunks/{anthropicContentGenerator-75BKLTSP.js → anthropicContentGenerator-V2QOGVYD.js} +79 -27
- package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-6K6U7XYJ.js} +4 -4
- package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-GD2IJJ7I.js} +4 -4
- package/chunks/bridge-3KJEWDNE.js +90 -0
- package/chunks/{build-RV63TIRH.js → build-S6DO7LMM.js} +1 -1
- package/chunks/{ca-25EDXPFZ.js → ca-6W3SK7OQ.js} +6 -1
- package/chunks/channel-management-service-XR7GZSWF.js +403 -0
- package/chunks/channel-settings-store-HW4FXXUA.js +87 -0
- package/chunks/{channel-worker-group-2ZD7TVAT.js → channel-worker-group-XDPTDWTX.js} +11 -6
- package/chunks/{channel-worker-manager-4OA4BCGB.js → channel-worker-manager-YYEHVRRE.js} +11 -6
- package/chunks/{channel-worker-supervisor-V7KCFJTS.js → channel-worker-supervisor-74HTWA2G.js} +7 -5
- package/chunks/{chunk-M5JM7OSF.js → chunk-2DN4J57Y.js} +2 -3
- package/chunks/{chunk-ETSW4KLJ.js → chunk-2FAK6PNM.js} +2 -2
- package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
- package/chunks/{chunk-EPDRMGT4.js → chunk-2LKVPASC.js} +4 -28
- package/chunks/{chunk-PWTZEM3C.js → chunk-2LQTH543.js} +3 -37
- package/chunks/{chunk-LH2BYDQ5.js → chunk-2N7CODY5.js} +18 -12
- package/chunks/{chunk-4WIZGAH3.js → chunk-2XSLTRFZ.js} +6 -58
- package/chunks/{chunk-FSITMZJH.js → chunk-3EFXSQCM.js} +18 -9
- package/chunks/{chunk-HIJQF5B5.js → chunk-3L2SPEBH.js} +1 -1
- package/chunks/{chunk-BIQWWWJN.js → chunk-4G2BISNC.js} +1 -1
- package/chunks/{chunk-PWVFN2LF.js → chunk-52ZSWYEG.js} +1 -1
- package/chunks/{chunk-ZJHVAS7M.js → chunk-5KTQXHPY.js} +4 -5
- package/chunks/{chunk-PC6JANNU.js → chunk-5MKRTI4T.js} +4 -4
- package/chunks/{chunk-DHHOYAPR.js → chunk-5TBMQLGG.js} +7 -7
- package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
- package/chunks/chunk-5YKDXHUY.js +463 -0
- package/chunks/chunk-5ZF5XXTS.js +363 -0
- package/chunks/{chunk-K4XWPEWB.js → chunk-64LQLPL7.js} +4 -33
- package/chunks/{chunk-YPE6A4GC.js → chunk-657BH7VM.js} +2 -2
- package/chunks/{chunk-R5AFZNQW.js → chunk-65PQENQP.js} +14 -7
- package/chunks/{chunk-RIBKPMRP.js → chunk-6PE7N3A4.js} +18 -7
- package/chunks/{chunk-JZA3JUDJ.js → chunk-6QIGFD5W.js} +1 -1
- package/chunks/{chunk-JVPM2ULZ.js → chunk-6RPMI2AB.js} +6 -6
- package/chunks/{chunk-OHNBB4XR.js → chunk-75GFAX4R.js} +1 -1
- package/chunks/{chunk-NIBLUX3Y.js → chunk-75MIQ3LV.js} +148 -21
- package/chunks/{chunk-U7M2DMGW.js → chunk-7AEJDLRA.js} +130 -5
- package/chunks/{chunk-TPRQ7RZH.js → chunk-7BAU433D.js} +2293 -945
- package/chunks/{chunk-M4FMGVY4.js → chunk-7DXQIJID.js} +3 -3
- package/chunks/{chunk-RWTEFFPU.js → chunk-7I5GTCT4.js} +620 -383
- package/chunks/{chunk-A5L3JMUA.js → chunk-7XATOOE7.js} +18 -4
- package/chunks/{chunk-Y34KJKDC.js → chunk-A2D5BAVP.js} +1 -1
- package/chunks/{chunk-5I2IWRSH.js → chunk-A3NDJ5SB.js} +2 -2
- package/chunks/{chunk-OFDOK3VM.js → chunk-A4COXFB3.js} +8 -13
- package/chunks/{chunk-JLU636DO.js → chunk-ALMR3E6Q.js} +1 -0
- package/chunks/{chunk-Q4M4MDQ4.js → chunk-AQIDMUGU.js} +1 -1
- package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
- package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
- package/chunks/{chunk-BJX6ZSUK.js → chunk-BCZFQXWK.js} +2 -2
- package/chunks/{chunk-MB4MZHMJ.js → chunk-BGTQCTQW.js} +211 -522
- package/chunks/{chunk-MZAXJAUM.js → chunk-BMFALVGQ.js} +1 -1
- package/chunks/{chunk-PSOO6YXD.js → chunk-BNWB5CYE.js} +9 -7
- package/chunks/{chunk-BKHWX6I2.js → chunk-BPZKP57P.js} +11 -3
- package/chunks/{chunk-H4SBPHSA.js → chunk-CAPPWD3X.js} +3 -3
- package/chunks/{chunk-LQIW3YFY.js → chunk-CQL64ESB.js} +7 -7
- package/chunks/{chunk-TOFQCPDC.js → chunk-CVHIL5IG.js} +4 -5
- package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
- package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
- package/chunks/chunk-DZLYR4U3.js +1252 -0
- package/chunks/{chunk-TEHGS6UP.js → chunk-EIF3FXTB.js} +117 -24
- package/chunks/{chunk-2SCDWPXI.js → chunk-EJGJIBRS.js} +5 -5
- package/chunks/{chunk-7MVVZO4N.js → chunk-EVKE2FZL.js} +4 -4
- package/chunks/{chunk-OKY7HXPG.js → chunk-FNMZK765.js} +2 -2
- package/chunks/{chunk-VIA5XA4U.js → chunk-FTD6DP4T.js} +3 -1
- package/chunks/chunk-FYJ7W2PI.js +194 -0
- package/chunks/{chunk-L5UHQJTJ.js → chunk-GATT5TKW.js} +1 -1
- package/chunks/{chunk-X5XDDSSH.js → chunk-GEBV2JGB.js} +28 -5
- package/chunks/{chunk-VAK25FTU.js → chunk-GKX7E4CO.js} +1 -1
- package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
- package/chunks/{chunk-5NBDS5S6.js → chunk-GNR2RNMP.js} +162 -7
- package/chunks/{chunk-YH6G52F2.js → chunk-GXIJHV66.js} +4 -4
- package/chunks/chunk-GZ3RCT54.js +76 -0
- package/chunks/{chunk-2X55UKQE.js → chunk-HMRM2A3U.js} +3 -3
- package/chunks/chunk-HV26XH34.js +319 -0
- package/chunks/{chunk-LB6DUZ26.js → chunk-J7OACQDE.js} +229 -172
- package/chunks/{chunk-K36B6G2O.js → chunk-JFMA7Y5M.js} +5 -5
- package/chunks/{chunk-55DJUCI2.js → chunk-JHNRZMHI.js} +53 -43
- package/chunks/{chunk-63P4EL5V.js → chunk-JMONIXMJ.js} +1 -1
- package/chunks/{chunk-L26JL52R.js → chunk-JSD33JG6.js} +47 -64
- package/chunks/{chunk-YBL3QUDD.js → chunk-JTV5K7NH.js} +1 -1
- package/chunks/{chunk-RZIX2G32.js → chunk-JX27F6QS.js} +1 -1
- package/chunks/chunk-JYBU6YUE.js +378 -0
- package/chunks/{chunk-7JURR4JT.js → chunk-KAMYKP7E.js} +167 -81
- package/chunks/{chunk-KMQ33DO4.js → chunk-KCO4FLFJ.js} +4 -4
- package/chunks/{chunk-2W3OOD4W.js → chunk-L55JWS76.js} +6 -3
- package/chunks/{chunk-RHLZR4E5.js → chunk-LGAOC3ZS.js} +1 -1
- package/chunks/{chunk-EBJQ6AXW.js → chunk-LO4ROVP4.js} +262 -16
- package/chunks/{chunk-NH6KE4JX.js → chunk-LW3RFMG7.js} +3 -3
- package/chunks/{chunk-J56UI34H.js → chunk-M7OONWYU.js} +2 -2
- package/chunks/{chunk-2NH6DYI4.js → chunk-MHAIJPTD.js} +12 -12
- package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
- package/chunks/{chunk-VRYUBFMC.js → chunk-MR5EAQ5M.js} +1 -1
- package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
- package/chunks/{chunk-H5FFA6TH.js → chunk-NOKIVHOL.js} +16 -3
- package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
- package/chunks/{chunk-SQCQ4KO2.js → chunk-OCESJA77.js} +393 -330
- package/chunks/chunk-OCPBI7J5.js +18 -0
- package/chunks/{chunk-E5TUC6CA.js → chunk-OKF7JF3R.js} +3 -3
- package/chunks/{chunk-TGILQ3YH.js → chunk-P4WOAOJW.js} +141 -64
- package/chunks/{chunk-ZFDTEDCF.js → chunk-PB3MBFKG.js} +6 -6
- package/chunks/{chunk-3RN6GBKS.js → chunk-PLDQBIO6.js} +1 -1
- package/chunks/{chunk-FNQ6T3CV.js → chunk-PONHVBRT.js} +10 -7
- package/chunks/{chunk-CIKQ7KKO.js → chunk-PT722TDT.js} +271 -376
- package/chunks/chunk-Q43KPN7X.js +2196 -0
- package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
- package/chunks/{chunk-MVSUYZDT.js → chunk-QIZKCVM3.js} +4 -4
- package/chunks/{chunk-QAF7NMK7.js → chunk-RCUQIPTN.js} +1 -1
- package/chunks/{chunk-6FGBXPWM.js → chunk-RPLGZJV2.js} +38 -44
- package/chunks/{chunk-GSN55ZRI.js → chunk-S4WJVPZW.js} +19 -7
- package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
- package/chunks/{chunk-BULDBTYC.js → chunk-S7W2GKIO.js} +1 -28
- package/chunks/{chunk-MUP3T3AD.js → chunk-SGFT55XI.js} +1 -35
- package/chunks/{chunk-VYPFXUCB.js → chunk-SZ3KHTDR.js} +1 -1
- package/chunks/chunk-T26EAKDL.js +13 -0
- package/chunks/{chunk-UDX5OBWR.js → chunk-T2QMKU3R.js} +80 -2
- package/chunks/{chunk-IKYJHJNF.js → chunk-T3O2B4XO.js} +3 -3
- package/chunks/{chunk-RF3EXIHJ.js → chunk-T4TXDL7G.js} +32 -21
- package/chunks/{chunk-J24WCGIN.js → chunk-TBBV36Y4.js} +4 -4
- package/chunks/{chunk-LKEJ26GS.js → chunk-TCIFAA7K.js} +16 -11
- package/chunks/{chunk-JXJFVC6E.js → chunk-TDL6LB4K.js} +46 -11
- package/chunks/{chunk-7ZCNENPP.js → chunk-TFRMVU6R.js} +1 -1
- package/chunks/{chunk-VULLI6WQ.js → chunk-TV64SXKD.js} +6 -6
- package/chunks/{chunk-FQK6JAFG.js → chunk-U3E3UQAA.js} +4 -4
- package/chunks/{chunk-LK7CHLVP.js → chunk-U4VTUMMK.js} +0 -60
- package/chunks/{chunk-ACY3A37B.js → chunk-UBEPNVDI.js} +23 -18
- package/chunks/{chunk-NL7LTRLR.js → chunk-UHUSJ6X7.js} +29 -68
- package/chunks/{chunk-ZOIFNCKL.js → chunk-UPUG4GXM.js} +3 -23
- package/chunks/{chunk-6GMVPFB2.js → chunk-UWMLWVCA.js} +19 -6
- package/chunks/{chunk-IKCX4CCL.js → chunk-VCPIZRYH.js} +118 -95
- package/chunks/{chunk-ZNAUOR2I.js → chunk-VWOOBLTY.js} +2 -2
- package/chunks/{chunk-YX324OPW.js → chunk-VYOXCEPJ.js} +1 -1
- package/chunks/{chunk-USTWD7QV.js → chunk-W4MIWP6M.js} +26 -16
- package/chunks/{chunk-HTR4WV6U.js → chunk-W4RQUHY3.js} +31 -1
- package/chunks/{chunk-DLWL3Z7A.js → chunk-WBSMNTSV.js} +3 -3
- package/chunks/{chunk-IO3IX5Q4.js → chunk-WUZ7H6DP.js} +1 -1
- package/chunks/{chunk-2JZBVYTU.js → chunk-WZRWHXFE.js} +1 -8
- package/chunks/{chunk-PHOF65IG.js → chunk-X5WNMMIA.js} +23553 -34321
- package/chunks/chunk-XBYYDKAZ.js +80 -0
- package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
- package/chunks/{chunk-WCXCRJYB.js → chunk-XFZYFU3I.js} +1 -1
- package/chunks/{chunk-3QMGYBFN.js → chunk-XWWKIXVD.js} +1 -80
- package/chunks/{chunk-3SJ43L4W.js → chunk-XZC5VLBZ.js} +2 -0
- package/chunks/{chunk-UUUTRMI2.js → chunk-Y4IHBGBP.js} +1 -1
- package/chunks/{chunk-PR75REBZ.js → chunk-Y6AXW2OG.js} +12 -82
- package/chunks/{chunk-IPUUTYMV.js → chunk-YDLJGZHL.js} +1 -1
- package/chunks/{chunk-IJTOWOD7.js → chunk-YGF33UXG.js} +82 -8
- package/chunks/chunk-Z4X5MTRT.js +133 -0
- package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
- package/chunks/{chunk-ZD6UTE4A.js → chunk-ZHBO7WVX.js} +1 -1
- package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
- package/chunks/{chunk-KIM5GUMA.js → chunk-ZURDMIDR.js} +368 -156
- package/chunks/{computer-use-SOQ4E3VX.js → computer-use-ZTIDHMMA.js} +49 -50
- package/chunks/{config-utils-7V7GGIW6.js → config-utils-NYSXDMEQ.js} +4 -3
- package/chunks/contextCommand-2PIEU37Z.js +79 -0
- package/chunks/core-runtime-3XEYLQFK.js +133 -0
- package/chunks/{create-sub-session-QRJLW5BV.js → create-sub-session-R76FVXCI.js} +46 -47
- package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-SBYUMSSS.js} +3 -3
- package/chunks/{cron-create-YIID5XAW.js → cron-create-2QK6TCEC.js} +6 -6
- package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-FDCDFYMG.js} +5 -5
- package/chunks/{cron-list-XEGS463Q.js → cron-list-XN3WVBTP.js} +6 -6
- package/chunks/{daemon-YO6433NF.js → daemon-Q2AB5Z23.js} +356 -15
- package/chunks/daemon-status-provider-3XJI6CAL.js +89 -0
- package/chunks/daemon-trust-policy-ILUDTLHD.js +84 -0
- package/chunks/daemon-trust-policy-monitor-HS3PKKRO.js +171 -0
- package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
- package/chunks/deferred-core-runtime-X4QV662U.js +88 -0
- package/chunks/dist-BSTVRPMT.js +4227 -0
- package/chunks/{dist-46NQKLTW.js → dist-DOLYHMXE.js} +2 -2
- package/chunks/{dist-AIKFMUKK.js → dist-HVRQ2CFL.js} +271 -11
- package/chunks/{dist-WEAHOXDM.js → dist-IXQEQWRG.js} +2 -1
- package/chunks/{dist-BBLXMS3N.js → dist-SSU66DM4.js} +3 -3
- package/chunks/{dist-F6IBUDR4.js → dist-SV7Q3AWJ.js} +1 -1
- package/chunks/{dist-YFNEUWSE.js → dist-YGBBMK3Z.js} +1 -1
- package/chunks/earlyInputCapture-XKLZT7ZD.js +81 -0
- package/chunks/{edit-OBDSQURM.js → edit-HHGIOTQ2.js} +47 -48
- package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
- package/chunks/{enter-worktree-U6MRPQ2P.js → enter-worktree-ZN7PUQ46.js} +47 -48
- package/chunks/{enterPlanMode-BC5QUZZ2.js → enterPlanMode-EIFIDSIV.js} +47 -48
- package/chunks/{environment-W5UFC2CH.js → environment-XXQ75D2Q.js} +48 -49
- package/chunks/errors-4GMVU7CK.js +87 -0
- package/chunks/esm-K5FARBNI.js +5548 -0
- package/chunks/{exit-worktree-DGNYMECB.js → exit-worktree-GXMI4ATY.js} +47 -48
- package/chunks/exitPlanMode-34UVY7M6.js +72 -0
- package/chunks/{fast-path-JJZFJANL.js → fast-path-VPIVA7L6.js} +16 -6
- package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
- package/chunks/{gemini-QS36EBZV.js → gemini-4BWIK4WD.js} +102 -99
- package/chunks/{geminiContentGenerator-AG4KB6CV.js → geminiContentGenerator-3XVV5MSS.js} +40 -11
- 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-V7R3PSK3.js → glob-TZ2ABCJG.js} +47 -48
- package/chunks/{grep-QYPSK7OP.js → grep-BEF463NA.js} +49 -49
- package/chunks/handleAutoUpdate-L6ERF36Y.js +80 -0
- package/chunks/i18n-FMM5FDXR.js +96 -0
- package/chunks/{image-gen-Z3VPGKRC.js → image-gen-HHVLF7HS.js} +12 -12
- package/chunks/initializer-625TIAIO.js +85 -0
- package/chunks/installationInfo-6AM4I2Y3.js +79 -0
- package/chunks/{ja-B7DF7DFG.js → ja-F3GSQXMF.js} +6 -1
- package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-72IYCAZV.js} +3 -3
- package/chunks/lib-RUF3WZA6.js +9 -0
- package/chunks/list-L2GA674Y.js +88 -0
- package/chunks/{list-agents-5KJJHR6I.js → list-agents-R6KDXQR3.js} +3 -3
- package/chunks/loadedSettingsAdapter-SPUTNKAV.js +82 -0
- package/chunks/{loggingContentGenerator-HS3S5H3Q.js → loggingContentGenerator-LKOF7XI7.js} +78 -113
- package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-3IQKCYAH.js} +7 -7
- package/chunks/{ls-NTK6VOQJ.js → ls-DKZ37A7N.js} +5 -5
- package/chunks/{lsp-2JI24STP.js → lsp-QNWN7KN3.js} +3 -3
- package/chunks/{managed-npm-update-JYEMMXA3.js → managed-npm-update-ACQGGIN5.js} +47 -48
- package/chunks/mcp-SZLHKFJW.js +82 -0
- package/chunks/{monitor-R3ODH5U6.js → monitor-DF52UVHI.js} +47 -48
- package/chunks/nonInteractiveCli-5T7KYKLK.js +144 -0
- package/chunks/{notebook-edit-BNOK452R.js → notebook-edit-FCWS4XVN.js} +47 -48
- package/chunks/{openaiContentGenerator-WMCU3O2H.js → openaiContentGenerator-7LDK3DCJ.js} +26 -27
- package/chunks/pidfile-6ERW3DF4.js +85 -0
- package/chunks/process-registry-2CHQBXH5.js +157 -0
- package/chunks/{processUtils-RT7UNCC2.js → processUtils-COKZAMUP.js} +2 -2
- package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
- package/chunks/{qwenContentGenerator-HHCRK4SX.js → qwenContentGenerator-TKWUMR7N.js} +52 -53
- package/chunks/{qwenOAuth2-OWLB5AKH.js → qwenOAuth2-7HMU47SF.js} +10 -10
- package/chunks/read-file-X6DRC574.js +29 -0
- package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-GFTWYXMK.js} +4 -4
- package/chunks/{record-artifact-RQKFYO5B.js → record-artifact-XAMSFSW4.js} +3 -3
- package/chunks/resumeHistoryUtils-PFPM2GWM.js +90 -0
- package/chunks/ripGrep-OWV2IVJC.js +72 -0
- package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
- package/chunks/{run-qwen-serve-FU6HEM4J.js → run-qwen-serve-TSTCO4XE.js} +953 -249
- package/chunks/{runtime-XXRRTNP6.js → runtime-DAUPSUKI.js} +56 -56
- package/chunks/{scheduler-G2ZS2Z7E.js → scheduler-KMADMT26.js} +46 -47
- package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
- package/chunks/{sdk-exporters-http-FYBSUCPD.js → sdk-exporters-http-WO556XNU.js} +7 -7
- package/chunks/{sdk-impl-GMVPB7NB.js → sdk-impl-LPAVACSF.js} +14 -14
- package/chunks/{send-message-Q6OOR6BR.js → send-message-SAWK4DZX.js} +6 -6
- package/chunks/serve-NNRWS6F4.js +88 -0
- package/chunks/{server-4UMH7OIZ.js → server-WEH7DVCH.js} +3691 -823
- package/chunks/{session-K3O3Q2SV.js → session-WXC56V2I.js} +98 -95
- package/chunks/{settings-CR2EWTBA.js → settings-DJDXFDZ3.js} +55 -56
- package/chunks/shell-JN5VRQXD.js +82 -0
- package/chunks/{skill-I3SDA4MB.js → skill-SGXPKJCS.js} +20 -21
- package/chunks/skill-settings-VJ5PDMZI.js +90 -0
- package/chunks/spawnChannel-ETMJW7YX.js +81 -0
- package/chunks/standalone-update-MK3Z7KBI.js +91 -0
- package/chunks/{startInteractiveUI-SLZGHRPH.js → startInteractiveUI-ZCGIXPGT.js} +724 -383
- package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-355CB6CJ.js} +4 -4
- package/chunks/{task-create-N7WQSGYA.js → task-create-INGWNUG4.js} +10 -10
- package/chunks/{task-list-FOPULZEP.js → task-list-5XNNGTF4.js} +7 -7
- package/chunks/{task-stop-H6RHXFVQ.js → task-stop-4ROAOBXH.js} +3 -3
- package/chunks/{task-update-M57TFZJT.js → task-update-CRK5VWWZ.js} +10 -10
- package/chunks/{team-create-YJALH5D2.js → team-create-QQGAJG7P.js} +49 -50
- package/chunks/{team-delete-QE2UXJL7.js → team-delete-S2RCXA4P.js} +7 -7
- package/chunks/{team-plan-approval-34QFYKGN.js → team-plan-approval-RT7Q5R6O.js} +47 -48
- package/chunks/theme-manager-EEWIQJ7J.js +76 -0
- package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-7WM3VDMY.js} +7 -7
- package/chunks/{tool-search-NF7GB6LE.js → tool-search-Z3Z4AYKP.js} +19 -21
- package/chunks/total-session-admission-44JKRWQD.js +84 -0
- package/chunks/trustedFolders-X2JEIO57.js +94 -0
- package/chunks/{update-relaunch-WBUZJC5O.js → update-relaunch-VWNPYDIP.js} +5 -5
- package/chunks/updateCheck-KAQH67DV.js +91 -0
- package/chunks/useAutoAcceptIndicator-JH6BCF7S.js +92 -0
- package/chunks/{validateNonInterActiveAuth-3R223G3R.js → validateNonInterActiveAuth-GIUJ2UFS.js} +93 -90
- package/chunks/{version-HS7YSFHV.js → version-BGLYIJUY.js} +1 -1
- package/chunks/{web-fetch-NKCSG7ZE.js → web-fetch-OTDU4VQF.js} +19 -21
- package/chunks/{web-search-S62WAP4S.js → web-search-FP6SIHPR.js} +13 -13
- package/chunks/{workflow-QAGU5RU4.js → workflow-YCIVBYSB.js} +48 -49
- package/chunks/workspace-providers-status-S35YAIUS.js +85 -0
- package/chunks/{workspace-registration-store-24JMHDGF.js → workspace-registration-store-OTMS3H4C.js} +1 -1
- package/chunks/workspace-registry-O63R6IZ4.js +92 -0
- package/chunks/workspace-service-M6LLHKJ5.js +99 -0
- package/chunks/workspace-skills-status-C2V7BAIS.js +85 -0
- package/chunks/workspace-trust-reconciler-IBUPOUJN.js +345 -0
- package/chunks/write-file-3BZC3EAE.js +72 -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-TZ6S2O57.js +351 -0
- package/cli.js +13 -13
- 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-DcbWnB9T.js → arc-75-Wdeo3.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-kMMF5sud.js → architectureDiagram-3BPJPVTR-FKeXQbyP.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Htl9vTJS.js → blockDiagram-GPEHLZMM-CY0vc-A3.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BnZnm0mQ.js → c4Diagram-AAUBKEIU-CNP-A-8u.js} +1 -1
- package/web-shell/assets/channel-DPYMT76A.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DziB7kDG.js → chunk-2J33WTMH-GybS4Gii.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-CmkD8daw.js → chunk-4BX2VUAB-02H91V8v.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-CHAd9A_U.js → chunk-55IACEB6-D3M-2VT6.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-Dqaam3fE.js → chunk-727SXJPM-CCu29u4H.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D_-saBYM.js → chunk-AQP2D5EJ-CaFKWgrn.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-B9r_veWD.js → chunk-FMBD7UC4-ZZpPqIwQ.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-B3EaCSpL.js → chunk-ND2GUHAM-D22DqGs8.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CYq8x9mn.js → chunk-QZHKN3VN-Bu85S0fw.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK--JstsIgL.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2--JstsIgL.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-D0ng4uiB.js → cose-bilkent-S5V4N54A-f1CK1Gwe.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DCZollQv.js → dagre-BM42HDAG-D0Ow8F_n.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-Dfk2pWS0.js → diagram-2AECGRRQ-BPrmTWp8.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-kX38ltWR.js → diagram-5GNKFQAL-HccuFAzy.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CJz2vsXh.js → diagram-KO2AKTUF-BrS76mbA.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BvMLZm_7.js → diagram-LMA3HP47-V7T9lU-5.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-l7kfStkO.js → diagram-OG6HWLK6-DKidyJMR.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BSVa8GGT.js → erDiagram-TEJ5UH35-DBadZIkp.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-CoawKIXH.js → flowDiagram-I6XJVG4X-BymfqdNJ.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DFUDH0zF.js → ganttDiagram-6RSMTGT7-DOw340jf.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Y2pvpT4e.js → gitGraphDiagram-PVQCEYII-_8EiD8sl.js} +1 -1
- package/web-shell/assets/{index-D0GX0zZf.js → index-CKIadvET.js} +1 -1
- package/web-shell/assets/index-D1eXNRHe.js +1389 -0
- package/web-shell/assets/index-DVLD4CQq.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CU8_zLiX.js → infoDiagram-5YYISTIA-D61KYQBu.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-AVQiV0DU.js → ishikawaDiagram-YF4QCWOH-CsiXSpNx.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DQ0VSKa3.js → journeyDiagram-JHISSGLW-Sdfionyh.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BqnWqsE_.js → kanban-definition-UN3LZRKU-C3WI3Cnl.js} +1 -1
- package/web-shell/assets/{linear-BkoihsaA.js → linear-Dpigcc62.js} +1 -1
- package/web-shell/assets/{mermaid.core-5RJs-31j.js → mermaid.core-Ct97pqgW.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D33Bxnpd.js → mindmap-definition-RKZ34NQL-BzeaN0rB.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-BuEAw3BH.js → pieDiagram-4H26LBE5-CvjgcbVD.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Kox_usEq.js → quadrantDiagram-W4KKPZXB-BUzgTNdH.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CNjeUif0.js → requirementDiagram-4Y6WPE33-B7zKlgUQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BCd2OL_U.js → sankeyDiagram-5OEKKPKP-Bb9CQgrT.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CF2ZTsz0.js → sequenceDiagram-3UESZ5HK-DJ6V7itG.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-qenSzHtm.js → stateDiagram-AJRCARHV-IImflERY.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CYI_YoNR.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-B5DyWdgs.js → timeline-definition-PNZ67QCA-6Q_uWHKh.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DqP4I_o_.js → vennDiagram-CIIHVFJN-TmyKyjwv.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CJe2e4mg.js → wardley-L42UT6IY-CRh9uiPv.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BMDSw-Rr.js → wardleyDiagram-YWT4CUSO-59TKAW8w.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BTVZYkxD.js → xychartDiagram-2RQKCTM6-GCSUIK2L.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/MaxSizedBox-5DPPWPGT.js +0 -85
- package/chunks/agent-6ODUANDO.js +0 -81
- package/chunks/agent-headless-7BYQTMHW.js +0 -75
- package/chunks/bridge-ZUB64FAE.js +0 -90
- package/chunks/chunk-LEH5C7FV.js +0 -232
- package/chunks/chunk-SZRN75WQ.js +0 -29
- package/chunks/chunk-UGYMA4EI.js +0 -219
- package/chunks/chunk-Z2BC6UJ5.js +0 -8575
- package/chunks/contextCommand-JLHYA34Z.js +0 -80
- package/chunks/daemon-status-provider-2233Q37D.js +0 -89
- package/chunks/earlyInputCapture-A7NDU3PF.js +0 -82
- package/chunks/errors-M7CLORXH.js +0 -88
- package/chunks/exitPlanMode-GXTBWQAR.js +0 -403
- package/chunks/handleAutoUpdate-6DBEZYPV.js +0 -81
- package/chunks/i18n-VUJJZIMU.js +0 -97
- package/chunks/initializer-UWAK5U5O.js +0 -86
- package/chunks/installationInfo-6O2YAA52.js +0 -80
- package/chunks/list-GB4ESM3T.js +0 -89
- package/chunks/loadedSettingsAdapter-OT6JVQ7U.js +0 -83
- package/chunks/mcp-6DBDJPFU.js +0 -83
- package/chunks/nonInteractiveCli-MOYCYBBU.js +0 -141
- package/chunks/pidfile-TFRZZZIO.js +0 -86
- package/chunks/read-file-APMO3PSX.js +0 -31
- package/chunks/resumeHistoryUtils-6KRYEAWZ.js +0 -91
- package/chunks/ripGrep-BEJDEDXW.js +0 -73
- package/chunks/serve-7BSTXJ4T.js +0 -89
- package/chunks/shell-HH3PF3A2.js +0 -83
- package/chunks/spawnChannel-RWNDBXGA.js +0 -82
- package/chunks/src-GE4TTTML.js +0 -3147
- package/chunks/standalone-update-Q6WFRZZQ.js +0 -92
- package/chunks/theme-manager-SWRILQHI.js +0 -77
- package/chunks/total-session-admission-DLHHHLD3.js +0 -84
- package/chunks/trustedFolders-KHXHY6PY.js +0 -93
- package/chunks/updateCheck-RKL6M5XN.js +0 -92
- package/chunks/useAutoAcceptIndicator-CFQ5BUJL.js +0 -93
- package/chunks/workspace-providers-status-QSVZUETE.js +0 -86
- package/chunks/workspace-registry-UT4RBNBM.js +0 -88
- package/chunks/workspace-service-JFWRUS4V.js +0 -98
- package/chunks/workspace-skills-status-ZBBKJOI2.js +0 -85
- package/chunks/write-file-VHIXW5M7.js +0 -73
- package/web-shell/assets/channel-Cq7YKtfC.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +0 -1
- package/web-shell/assets/index-D9haPt0X.css +0 -5
- package/web-shell/assets/index-ckX9Pq5k.js +0 -1230
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.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,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
contextCommand
|
|
5
|
-
} from "./chunk-R5AFZNQW.js";
|
|
6
3
|
import {
|
|
7
4
|
ExtensionRefreshState,
|
|
8
5
|
clearSkillArgs,
|
|
@@ -12,31 +9,35 @@ import {
|
|
|
12
9
|
staleArgsWarning,
|
|
13
10
|
validateAuthMethod,
|
|
14
11
|
writeSkillArgs
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7BAU433D.js";
|
|
16
13
|
import {
|
|
17
14
|
calculateCost,
|
|
18
15
|
computeSessionStats,
|
|
19
16
|
diffCommand,
|
|
20
17
|
filterCommandsForMode,
|
|
18
|
+
findInlineMathExpressions,
|
|
21
19
|
getSystemInfoFields,
|
|
22
20
|
levelLabel
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
26
|
-
writeOsc52
|
|
27
|
-
} from "./chunk-J56UI34H.js";
|
|
21
|
+
} from "./chunk-7AEJDLRA.js";
|
|
28
22
|
import {
|
|
29
23
|
isKittyProtocolEnabled
|
|
30
24
|
} from "./chunk-PQNHRFJC.js";
|
|
31
25
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
27
|
+
writeOsc52
|
|
28
|
+
} from "./chunk-M7OONWYU.js";
|
|
29
|
+
import {
|
|
30
|
+
contextCommand
|
|
31
|
+
} from "./chunk-65PQENQP.js";
|
|
34
32
|
import {
|
|
35
33
|
themeManager
|
|
36
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GATT5TKW.js";
|
|
37
35
|
import {
|
|
38
36
|
getErrorMessage as getErrorMessage2
|
|
39
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-T3O2B4XO.js";
|
|
38
|
+
import {
|
|
39
|
+
rollbackStandaloneUpdate
|
|
40
|
+
} from "./chunk-7DXQIJID.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-LO4ROVP4.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-JTV5K7NH.js";
|
|
66
67
|
import {
|
|
67
68
|
getExtendedSystemInfo,
|
|
68
69
|
getGitVersion,
|
|
69
70
|
getNpmVersion
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-QIZKCVM3.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-ZNAUOR2I.js";
|
|
80
|
+
} from "./chunk-KCO4FLFJ.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-EIF3FXTB.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-TCIFAA7K.js";
|
|
101
|
+
import {
|
|
102
|
+
getInstallationInfo
|
|
103
|
+
} from "./chunk-VWOOBLTY.js";
|
|
103
104
|
import {
|
|
104
105
|
isFolderTrustEnabled,
|
|
105
106
|
loadTrustedFolders
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-Q43KPN7X.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-X5WNMMIA.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-BMFALVGQ.js";
|
|
185
|
+
import {
|
|
186
|
+
HookEventName,
|
|
187
|
+
sanitizeUserPromptExpansionAdditionalContext
|
|
188
|
+
} from "./chunk-XWWKIXVD.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-JSD33JG6.js";
|
|
193
194
|
import {
|
|
194
195
|
applySkillAllowedTools,
|
|
195
196
|
buildSkillLlmContent
|
|
196
197
|
} from "./chunk-JCW2R7WC.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-5KTQXHPY.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-PT722TDT.js";
|
|
221
222
|
import {
|
|
222
223
|
getAutoMemoryRoot
|
|
223
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-SGFT55XI.js";
|
|
224
225
|
import {
|
|
225
226
|
ToolNames,
|
|
226
227
|
isShellProgressData
|
|
227
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-Y6AXW2OG.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-UHUSJ6X7.js";
|
|
237
238
|
import {
|
|
238
239
|
isCpuProfileRecording,
|
|
239
240
|
startCpuProfile,
|
|
240
241
|
stopCpuProfile
|
|
241
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-RCUQIPTN.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-JH6BCF7S.js") : void 0;
|
|
1922
1937
|
if (config) {
|
|
1923
1938
|
try {
|
|
1924
1939
|
config.setApprovalMode(mode);
|
|
@@ -2625,7 +2640,16 @@ var cdCommand = {
|
|
|
2625
2640
|
};
|
|
2626
2641
|
}
|
|
2627
2642
|
if (trustedTargetPath) {
|
|
2628
|
-
|
|
2643
|
+
try {
|
|
2644
|
+
loadTrustedFolders().setValue(
|
|
2645
|
+
trustedTargetPath,
|
|
2646
|
+
"TRUST_FOLDER" /* TRUST_FOLDER */
|
|
2647
|
+
);
|
|
2648
|
+
} catch (error) {
|
|
2649
|
+
warnings.push(
|
|
2650
|
+
`Trust setting update failed: ${error instanceof Error ? error.message : String(error)}`
|
|
2651
|
+
);
|
|
2652
|
+
}
|
|
2629
2653
|
}
|
|
2630
2654
|
try {
|
|
2631
2655
|
await config.getGeminiClient()?.addWorkingDirectoryChangedContext(realOldDir, realTargetPath);
|
|
@@ -3436,11 +3460,6 @@ var compressFastCommand = {
|
|
|
3436
3460
|
|
|
3437
3461
|
// packages/cli/src/ui/commands/copyCommand.ts
|
|
3438
3462
|
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
3463
|
function parseFencedCodeBlocks(markdown) {
|
|
3445
3464
|
const blocks = [];
|
|
3446
3465
|
const lines = markdown.split(/\r?\n/);
|
|
@@ -3514,14 +3533,11 @@ function parseInlineLatexExpressions(markdown) {
|
|
|
3514
3533
|
inLatexBlock = true;
|
|
3515
3534
|
continue;
|
|
3516
3535
|
}
|
|
3517
|
-
for (const
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
expressions.
|
|
3521
|
-
|
|
3522
|
-
index: expressions.length + 1
|
|
3523
|
-
});
|
|
3524
|
-
}
|
|
3536
|
+
for (const content of findInlineMathExpressions(line)) {
|
|
3537
|
+
expressions.push({
|
|
3538
|
+
content,
|
|
3539
|
+
index: expressions.length + 1
|
|
3540
|
+
});
|
|
3525
3541
|
}
|
|
3526
3542
|
}
|
|
3527
3543
|
return expressions;
|
|
@@ -3623,10 +3639,7 @@ function selectCodeBlock(markdown, args) {
|
|
|
3623
3639
|
if (blocks.length === 0) return null;
|
|
3624
3640
|
let lang = null;
|
|
3625
3641
|
let requestedIndex = null;
|
|
3626
|
-
const selectorTokens = firstToken === "code" ? tokens.slice(1) : tokens
|
|
3627
|
-
if (firstToken !== "code") {
|
|
3628
|
-
lang = firstToken;
|
|
3629
|
-
}
|
|
3642
|
+
const selectorTokens = firstToken === "code" ? tokens.slice(1) : tokens;
|
|
3630
3643
|
for (const token of selectorTokens) {
|
|
3631
3644
|
if (/^\d+$/.test(token)) {
|
|
3632
3645
|
requestedIndex = Number(token);
|
|
@@ -6250,7 +6263,7 @@ var expandNowCommand = {
|
|
|
6250
6263
|
content: t("History is already expanded in this session.")
|
|
6251
6264
|
};
|
|
6252
6265
|
}
|
|
6253
|
-
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-
|
|
6266
|
+
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-PFPM2GWM.js");
|
|
6254
6267
|
const updated = expandCollapsedHistory(history);
|
|
6255
6268
|
loadHistory(updated);
|
|
6256
6269
|
refreshStatic();
|
|
@@ -6496,7 +6509,7 @@ function getHookDescription(eventName) {
|
|
|
6496
6509
|
"Input to command is JSON with file_path, memory_type, load_reason, and optional trigger_file_path and parent_file_path."
|
|
6497
6510
|
),
|
|
6498
6511
|
["UserPromptSubmit" /* UserPromptSubmit */]: t(
|
|
6499
|
-
|
|
6512
|
+
'Input to command is JSON with "prompt" (the current model-bound prompt) and optional "submitted_prompt" (the supported interactive TUI text projection).'
|
|
6500
6513
|
),
|
|
6501
6514
|
["UserPromptExpansion" /* UserPromptExpansion */]: t(
|
|
6502
6515
|
"Input to command is JSON with command_name, command_args, and expanded prompt text."
|
|
@@ -7687,7 +7700,7 @@ var initCommand = {
|
|
|
7687
7700
|
if (existing && existing.trim().length > 0) {
|
|
7688
7701
|
if (!context.overwriteConfirmed) {
|
|
7689
7702
|
const [{ Text }, { default: React }] = await Promise.all([
|
|
7690
|
-
import("./build-
|
|
7703
|
+
import("./build-S6DO7LMM.js"),
|
|
7691
7704
|
import("./react-SG7JAQSZ.js")
|
|
7692
7705
|
]);
|
|
7693
7706
|
return {
|
|
@@ -9858,6 +9871,28 @@ var EMPTY_SKILL_METRICS = {
|
|
|
9858
9871
|
totalFail: 0,
|
|
9859
9872
|
byName: {}
|
|
9860
9873
|
};
|
|
9874
|
+
function formatGenerationMetrics(metrics) {
|
|
9875
|
+
const last = metrics?.last;
|
|
9876
|
+
if (!metrics || !last) {
|
|
9877
|
+
return [];
|
|
9878
|
+
}
|
|
9879
|
+
const lastTps = last.generationDurationMs > 0 ? last.outputTokens / (last.generationDurationMs / 1e3) : void 0;
|
|
9880
|
+
const averageTtft = metrics.timedRequests > 0 ? metrics.totalTtftMs / metrics.timedRequests : void 0;
|
|
9881
|
+
const sessionTps = metrics.totalGenerationDurationMs > 0 ? metrics.totalThroughputOutputTokens / (metrics.totalGenerationDurationMs / 1e3) : void 0;
|
|
9882
|
+
return [
|
|
9883
|
+
"",
|
|
9884
|
+
`${t("Generation Metrics")} (${t("Latest Request")})`,
|
|
9885
|
+
`${t("Model")}: ${last.model}`,
|
|
9886
|
+
`TTFT: ${formatDuration(last.ttftMs)}`,
|
|
9887
|
+
`${t("Generation Time")}: ${formatDuration(last.generationDurationMs)}`,
|
|
9888
|
+
`${t("Output Tokens")}: ${formatInteger(last.outputTokens)}`,
|
|
9889
|
+
`TPS: ${lastTps === void 0 ? "\u2014" : `${lastTps.toFixed(1)} tok/s`}`,
|
|
9890
|
+
`${t("Requests")}: ${formatInteger(metrics.timedRequests)}`,
|
|
9891
|
+
`${t("Average TTFT")}: ${averageTtft === void 0 ? "\u2014" : formatDuration(averageTtft)}`,
|
|
9892
|
+
`${t("Session TPS")}: ${sessionTps === void 0 ? "\u2014" : `${sessionTps.toFixed(1)} tok/s`}`
|
|
9893
|
+
];
|
|
9894
|
+
}
|
|
9895
|
+
__name(formatGenerationMetrics, "formatGenerationMetrics");
|
|
9861
9896
|
function formatInteger(value) {
|
|
9862
9897
|
return new Intl.NumberFormat(getCurrentLanguage()).format(value);
|
|
9863
9898
|
}
|
|
@@ -10407,6 +10442,7 @@ var statsCommand = {
|
|
|
10407
10442
|
prompt: String(totalPromptTokens),
|
|
10408
10443
|
output: String(totalCandidateTokens)
|
|
10409
10444
|
}),
|
|
10445
|
+
...formatGenerationMetrics(metrics.generation),
|
|
10410
10446
|
t("Tool calls: {{total}} ({{success}} ok, {{fail}} fail)", {
|
|
10411
10447
|
total: String(metrics.tools.totalCalls),
|
|
10412
10448
|
success: String(metrics.tools.totalSuccess),
|
|
@@ -11543,6 +11579,29 @@ function validateConcurrency(concurrency) {
|
|
|
11543
11579
|
}
|
|
11544
11580
|
__name(validateConcurrency, "validateConcurrency");
|
|
11545
11581
|
|
|
11582
|
+
// packages/cli/src/services/insight/dates.ts
|
|
11583
|
+
init_esbuild_shims();
|
|
11584
|
+
function dayKey(date) {
|
|
11585
|
+
const y = date.getFullYear();
|
|
11586
|
+
const m = String(date.getMonth() + 1).padStart(2, "0");
|
|
11587
|
+
const d = String(date.getDate()).padStart(2, "0");
|
|
11588
|
+
return `${y}-${m}-${d}`;
|
|
11589
|
+
}
|
|
11590
|
+
__name(dayKey, "dayKey");
|
|
11591
|
+
function parseDayKey(key) {
|
|
11592
|
+
const [y, m, d] = key.split("-").map(Number);
|
|
11593
|
+
return new Date(y, m - 1, d);
|
|
11594
|
+
}
|
|
11595
|
+
__name(parseDayKey, "parseDayKey");
|
|
11596
|
+
function todayKey(now = /* @__PURE__ */ new Date()) {
|
|
11597
|
+
return dayKey(now);
|
|
11598
|
+
}
|
|
11599
|
+
__name(todayKey, "todayKey");
|
|
11600
|
+
function hourOfDay(date) {
|
|
11601
|
+
return date.getHours();
|
|
11602
|
+
}
|
|
11603
|
+
__name(hourOfDay, "hourOfDay");
|
|
11604
|
+
|
|
11546
11605
|
// packages/cli/src/services/insight/generators/DataProcessor.ts
|
|
11547
11606
|
var logger = createDebugLogger("DataProcessor");
|
|
11548
11607
|
var CONCURRENCY_LIMIT = 4;
|
|
@@ -11690,10 +11749,6 @@ var DataProcessor = class {
|
|
|
11690
11749
|
static {
|
|
11691
11750
|
__name(this, "DataProcessor");
|
|
11692
11751
|
}
|
|
11693
|
-
// Helper function to format date as YYYY-MM-DD
|
|
11694
|
-
formatDate(date) {
|
|
11695
|
-
return date.toISOString().split("T")[0];
|
|
11696
|
-
}
|
|
11697
11752
|
// Format chat records for LLM analysis
|
|
11698
11753
|
formatRecordsForAnalysis(records) {
|
|
11699
11754
|
let output = "";
|
|
@@ -11874,16 +11929,14 @@ ${sessionText}`;
|
|
|
11874
11929
|
if (dates.length === 0) {
|
|
11875
11930
|
return { currentStreak: 0, longestStreak: 0, dates: [] };
|
|
11876
11931
|
}
|
|
11877
|
-
const dateObjects = dates.map((dateStr) =>
|
|
11932
|
+
const dateObjects = dates.map((dateStr) => parseDayKey(dateStr));
|
|
11878
11933
|
dateObjects.sort((a, b) => a.getTime() - b.getTime());
|
|
11879
11934
|
let currentStreak = 1;
|
|
11880
11935
|
let maxStreak = 1;
|
|
11881
|
-
let currentDate =
|
|
11882
|
-
currentDate.setHours(0, 0, 0, 0);
|
|
11936
|
+
let currentDate = dateObjects[0];
|
|
11883
11937
|
for (let i = 1; i < dateObjects.length; i++) {
|
|
11884
|
-
const nextDate =
|
|
11885
|
-
|
|
11886
|
-
const diffDays = Math.floor(
|
|
11938
|
+
const nextDate = dateObjects[i];
|
|
11939
|
+
const diffDays = Math.round(
|
|
11887
11940
|
(nextDate.getTime() - currentDate.getTime()) / (1e3 * 60 * 60 * 24)
|
|
11888
11941
|
);
|
|
11889
11942
|
if (diffDays === 1) {
|
|
@@ -11894,11 +11947,11 @@ ${sessionText}`;
|
|
|
11894
11947
|
}
|
|
11895
11948
|
currentDate = nextDate;
|
|
11896
11949
|
}
|
|
11897
|
-
const today =
|
|
11898
|
-
today.setHours(0, 0, 0, 0);
|
|
11950
|
+
const today = parseDayKey(todayKey());
|
|
11899
11951
|
const yesterday = new Date(today);
|
|
11900
11952
|
yesterday.setDate(yesterday.getDate() - 1);
|
|
11901
|
-
if (currentDate.getTime()
|
|
11953
|
+
if (currentDate.getTime() !== today.getTime() && currentDate.getTime() !== yesterday.getTime()) {
|
|
11954
|
+
currentStreak = 0;
|
|
11902
11955
|
}
|
|
11903
11956
|
return {
|
|
11904
11957
|
currentStreak,
|
|
@@ -12385,8 +12438,8 @@ None captured`;
|
|
|
12385
12438
|
const records = await read(fileInfo.path);
|
|
12386
12439
|
for (const record of records) {
|
|
12387
12440
|
const timestamp = new Date(record.timestamp);
|
|
12388
|
-
const dateKey =
|
|
12389
|
-
const hour = timestamp
|
|
12441
|
+
const dateKey = dayKey(timestamp);
|
|
12442
|
+
const hour = hourOfDay(timestamp);
|
|
12390
12443
|
const isUserMessage = record.type === "user";
|
|
12391
12444
|
const isSlashCommand2 = record.type === "system" && record.subtype === "slash_command";
|
|
12392
12445
|
if (isUserMessage || isSlashCommand2) {
|
|
@@ -12454,7 +12507,7 @@ None captured`;
|
|
|
12454
12507
|
totalDurationMs += durationMs;
|
|
12455
12508
|
if (durationMinutes > longestWorkDuration) {
|
|
12456
12509
|
longestWorkDuration = durationMinutes;
|
|
12457
|
-
longestWorkDate =
|
|
12510
|
+
longestWorkDate = dayKey(start);
|
|
12458
12511
|
}
|
|
12459
12512
|
}
|
|
12460
12513
|
const totalHours = Math.round(totalDurationMs / (1e3 * 60 * 60));
|
|
@@ -12681,7 +12734,7 @@ var StaticInsightGenerator = class {
|
|
|
12681
12734
|
// Generate timestamped filename with collision detection
|
|
12682
12735
|
async generateOutputPath(outputDir) {
|
|
12683
12736
|
const now = /* @__PURE__ */ new Date();
|
|
12684
|
-
const date = now
|
|
12737
|
+
const date = dayKey(now);
|
|
12685
12738
|
const time = now.toTimeString().slice(0, 8).replace(/:/g, "");
|
|
12686
12739
|
let outputPath = path15.join(outputDir, `insight-${date}.html`);
|
|
12687
12740
|
try {
|
|
@@ -13161,10 +13214,10 @@ var updateCommand = {
|
|
|
13161
13214
|
{ performStandaloneUpdate },
|
|
13162
13215
|
installationInfo
|
|
13163
13216
|
] = await Promise.all([
|
|
13164
|
-
import("./updateCheck-
|
|
13165
|
-
import("./processUtils-
|
|
13166
|
-
import("./standalone-update-
|
|
13167
|
-
import("./installationInfo-
|
|
13217
|
+
import("./updateCheck-KAQH67DV.js"),
|
|
13218
|
+
import("./processUtils-COKZAMUP.js"),
|
|
13219
|
+
import("./standalone-update-MK3Z7KBI.js"),
|
|
13220
|
+
import("./installationInfo-6AM4I2Y3.js")
|
|
13168
13221
|
]);
|
|
13169
13222
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
13170
13223
|
const settings = context.services.settings;
|
|
@@ -15349,6 +15402,8 @@ __name(functionResponsePartsToString, "functionResponsePartsToString");
|
|
|
15349
15402
|
|
|
15350
15403
|
export {
|
|
15351
15404
|
MAX_STACKED_SKILLS,
|
|
15405
|
+
isStackedSkillCompletableCommand,
|
|
15406
|
+
isValidStackedSkillPrefix,
|
|
15352
15407
|
parseSlashCommand,
|
|
15353
15408
|
parseStackedSlashCommands,
|
|
15354
15409
|
CommandService,
|
|
@@ -15372,6 +15427,8 @@ export {
|
|
|
15372
15427
|
addConfigToMatcherGroup,
|
|
15373
15428
|
getAllConfigs,
|
|
15374
15429
|
refreshExtensionContentRuntime,
|
|
15430
|
+
dayKey,
|
|
15431
|
+
parseDayKey,
|
|
15375
15432
|
BuiltinCommandLoader,
|
|
15376
15433
|
BundledSkillLoader,
|
|
15377
15434
|
FileCommandLoader,
|