@qwen-code/qwen-code 0.19.7 → 0.19.8-nightly.20260711.0ef3a76bd
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/SKILL.md +1 -0
- package/bundled/qc-helper/docs/configuration/auth.md +40 -55
- package/bundled/qc-helper/docs/configuration/model-providers.md +224 -218
- package/bundled/qc-helper/docs/configuration/settings.md +60 -51
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +12 -2
- package/bundled/qc-helper/docs/features/channels/overview.md +86 -12
- package/bundled/qc-helper/docs/features/channels/plugins.md +1 -0
- package/bundled/qc-helper/docs/features/channels/wecom.md +6 -0
- package/bundled/qc-helper/docs/features/code-review.md +29 -5
- package/bundled/qc-helper/docs/features/commands.md +39 -38
- package/bundled/qc-helper/docs/features/computer-use.md +77 -0
- package/bundled/qc-helper/docs/features/hooks.md +36 -34
- package/bundled/qc-helper/docs/features/memory.md +1 -1
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +19 -23
- package/bundled/qc-helper/docs/integration-vscode.md +2 -2
- package/bundled/qc-helper/docs/qwen-serve.md +40 -16
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/DESIGN.md +93 -22
- package/bundled/review/SKILL.md +300 -87
- package/chunks/MaxSizedBox-4CX4IQWE.js +70 -0
- package/chunks/{StandaloneSessionPicker-APISIRJZ.js → StandaloneSessionPicker-TYUSSNJ6.js} +79 -77
- package/chunks/{acpAgent-MMOSC2YA.js → acpAgent-5HJEXOPR.js} +978 -205
- package/chunks/agent-PZF5IUUB.js +68 -0
- package/chunks/agent-headless-L4N7V2SG.js +62 -0
- package/chunks/{anthropicContentGenerator-AKYPSZIV.js → anthropicContentGenerator-L73TO3DB.js} +214 -31
- package/chunks/{artifact-tool-D233YJFH.js → artifact-tool-U7IRTLIV.js} +5 -5
- package/chunks/{askUserQuestion-MKL5ZTMC.js → askUserQuestion-2DLUUZZG.js} +6 -6
- package/chunks/bridge-OJL6LD42.js +78 -0
- package/chunks/{ca-HCMB2I54.js → ca-WTQOU43B.js} +91 -6
- package/chunks/{channel-worker-supervisor-CRCVYQIE.js → channel-worker-supervisor-LF66HCVT.js} +137 -13
- package/chunks/{chunk-QQDPRDVW.js → chunk-2HRYPZT5.js} +1 -1
- package/chunks/{chunk-JD33UY7E.js → chunk-2K56LTWA.js} +18 -12
- package/chunks/{chunk-XISQIIT7.js → chunk-2LV4JUNO.js} +4 -4
- package/chunks/chunk-2UU6DW5P.js +296 -0
- package/chunks/{chunk-2PSWA5ID.js → chunk-2X56YUSZ.js} +1 -1
- package/chunks/chunk-2ZQOQZIS.js +71 -0
- package/chunks/{chunk-Q6OEPOOC.js → chunk-3AMVHPEQ.js} +2 -2
- package/chunks/{chunk-4RQIB5UZ.js → chunk-3BTRNWWD.js} +1 -35
- package/chunks/{chunk-SD4N3QJ2.js → chunk-3QZ6GY6A.js} +66 -22
- package/chunks/{chunk-DNV4FSN5.js → chunk-3SJSQXNS.js} +24 -7
- package/chunks/{chunk-VQWAZSXN.js → chunk-3XATDZNP.js} +64 -42
- package/chunks/{chunk-LEIJKM7Q.js → chunk-3ZAIGBCP.js} +2 -2
- package/chunks/{chunk-2NPS2UDH.js → chunk-43JB7OF4.js} +905 -139
- package/chunks/chunk-43XJTCHT.js +444 -0
- package/chunks/{chunk-CNSF3WO5.js → chunk-47HXCVGG.js} +6 -6
- package/chunks/{chunk-VEB3NYSO.js → chunk-4GORAUCN.js} +8 -3
- package/chunks/{chunk-55ZMG67I.js → chunk-4LD5APFL.js} +4 -4
- package/chunks/{chunk-TLWA7TPR.js → chunk-4QLQE5WJ.js} +2 -2
- package/chunks/{chunk-UIDXQNMV.js → chunk-4WGODMVR.js} +1 -1
- package/chunks/{chunk-E6US47KI.js → chunk-4WKAA4KS.js} +1 -1
- package/chunks/{chunk-H6EMK6QK.js → chunk-4ZVWQHEQ.js} +11913 -5207
- package/chunks/{chunk-HW4N45EE.js → chunk-524RQP4Q.js} +29 -8
- package/chunks/{chunk-3GONHQOA.js → chunk-57OAHC2Y.js} +1 -1
- package/chunks/{chunk-B4U2M63D.js → chunk-5DOUQHL3.js} +2104 -14
- package/chunks/{chunk-JZSY4WP3.js → chunk-5DTTYNB7.js} +1 -1
- package/chunks/{chunk-A4BMJM77.js → chunk-5O2XNYP6.js} +1 -0
- package/chunks/{chunk-P7I3D7FM.js → chunk-5OIXALQ5.js} +2 -2
- package/chunks/chunk-5SFOMFG4.js +61 -0
- package/chunks/{chunk-QYNNN7BK.js → chunk-5XUCZNSY.js} +2 -2
- package/chunks/{chunk-FRFFNYUY.js → chunk-65F3I3PM.js} +5 -5
- package/chunks/{chunk-GO6LNQXT.js → chunk-6AM5D4ME.js} +1 -1
- package/chunks/{chunk-BWVQN2HV.js → chunk-6CR73ZIK.js} +7 -7
- package/chunks/{chunk-BJBWRCSK.js → chunk-6H67XLET.js} +1 -1
- package/chunks/{chunk-G7ZG7CA6.js → chunk-6RLROE6G.js} +9 -8
- package/chunks/{chunk-TBAZMRW3.js → chunk-6WH2WCSW.js} +2 -2
- package/chunks/{chunk-ZERZSAZL.js → chunk-75DOP5OR.js} +2 -2
- package/chunks/{chunk-FTFXDZYI.js → chunk-7KZNLIAI.js} +47 -31
- package/chunks/{chunk-HJ3GX3Y3.js → chunk-7PW5CTVR.js} +32 -18
- package/chunks/{chunk-NQKLOAVJ.js → chunk-7R3CZA3Q.js} +2 -2
- package/chunks/{chunk-SAIILPQ3.js → chunk-7X7TEQNX.js} +5 -3
- package/chunks/{chunk-IRJWHZWU.js → chunk-A4UCTEB5.js} +2 -2
- package/chunks/{chunk-XSAFNANZ.js → chunk-AHUEU3BP.js} +14 -14
- package/chunks/{chunk-X3YGAX7V.js → chunk-B5ORX3FG.js} +4 -2
- package/chunks/{chunk-ZN5T4BHI.js → chunk-BPZALHVR.js} +2 -2
- package/chunks/{chunk-IJRL2S3D.js → chunk-BZIFY5TF.js} +6 -6
- package/chunks/{chunk-AJBEAUIS.js → chunk-BZP7HZTK.js} +7 -6
- package/chunks/{chunk-OFEVLU4C.js → chunk-CARU2RR2.js} +1 -1
- package/chunks/{chunk-MIG5SQNL.js → chunk-CBKR4Q5K.js} +8 -8
- package/chunks/chunk-CC2ITGCF.js +176 -0
- package/chunks/{chunk-FV7425LN.js → chunk-CEA3E3JB.js} +18 -5
- package/chunks/{chunk-GD236YPV.js → chunk-CNOF2IZT.js} +3 -3
- package/chunks/chunk-COH43MRJ.js +34 -0
- package/chunks/{chunk-E5A7LHNN.js → chunk-CPBF7KYF.js} +1 -1
- package/chunks/{chunk-UWCTAVOD.js → chunk-CR3C7WXL.js} +1 -1
- package/chunks/{chunk-5P5XGNYH.js → chunk-CU3L64TP.js} +1 -1
- package/chunks/{chunk-IWKSG2AR.js → chunk-CXAOG665.js} +1 -1
- package/chunks/{chunk-MZ7BABX3.js → chunk-DC5Z3DU6.js} +2 -2
- package/chunks/{chunk-64WXLC72.js → chunk-DJ2GSRLV.js} +1 -1
- package/chunks/{chunk-4ZJIPVPB.js → chunk-DMN532MJ.js} +11 -11
- package/chunks/{chunk-QN5NZ3UQ.js → chunk-DMTGGOSA.js} +2 -2
- package/chunks/{chunk-KHDZHZMH.js → chunk-E5Z2AVNV.js} +1 -1
- package/chunks/chunk-F4PFZ7WP.js +239 -0
- package/chunks/{chunk-ME3YSROJ.js → chunk-FBSBT7JS.js} +25 -13
- package/chunks/{chunk-5IFG2VC4.js → chunk-FCMNKVXT.js} +1 -1
- package/chunks/{chunk-YDSYD7UI.js → chunk-FD3DA3B4.js} +3 -3
- package/chunks/{chunk-GL5TV7B5.js → chunk-GL22M2DU.js} +23 -7
- package/chunks/{chunk-AFOLR6YL.js → chunk-GQ4ZEYMI.js} +102 -16
- package/chunks/chunk-GRC5HGPI.js +13 -0
- package/chunks/{chunk-WMPVYQ4P.js → chunk-GWHYEOV2.js} +2 -2
- package/chunks/chunk-GZRTYZ2R.js +292 -0
- package/chunks/{chunk-A2X3KLC3.js → chunk-GZXCZHCT.js} +3 -3
- package/chunks/{chunk-K5PGHDBN.js → chunk-H6XPXXMH.js} +1 -1
- package/chunks/{chunk-24XYI5EI.js → chunk-HACY3IUM.js} +6 -6
- package/chunks/{chunk-DGHJTO2K.js → chunk-HIHQ3TWC.js} +38 -9
- package/chunks/{chunk-KYMBIKIW.js → chunk-HTHUX2T5.js} +1 -1
- package/chunks/{chunk-LQ7TMOCE.js → chunk-HTO4JFDZ.js} +1 -1
- package/chunks/{chunk-B34OV7K2.js → chunk-IAVB3HM3.js} +15 -2
- package/chunks/{chunk-4UCTWSTP.js → chunk-IDJEZU7C.js} +2 -2
- package/chunks/chunk-IEBIKN6A.js +38 -0
- package/chunks/{chunk-PRDFOIZF.js → chunk-IJEO2QSK.js} +73 -30
- package/chunks/{chunk-MJI36HER.js → chunk-IT6LIIVK.js} +2 -2
- package/chunks/{chunk-FEJ2FZ3U.js → chunk-J3JA76CF.js} +2 -2
- package/chunks/{chunk-4CGOWHKM.js → chunk-J4MOFEOK.js} +2 -2
- package/chunks/{chunk-22MNNNXE.js → chunk-J4TSQ5EQ.js} +3 -2
- package/chunks/{chunk-22IFUCVR.js → chunk-JESCGQM3.js} +1 -1
- package/chunks/{chunk-CCGOFQV3.js → chunk-JSG7ZSBC.js} +8 -7
- package/chunks/{chunk-X265R5C6.js → chunk-K434OPES.js} +5 -5
- package/chunks/{chunk-RFIL6REB.js → chunk-KHUQZZJ6.js} +185 -45
- package/chunks/{chunk-X2XNQQJI.js → chunk-KKNMOEZH.js} +4 -4
- package/chunks/{chunk-6BN7NZ5Z.js → chunk-KL23O5Z5.js} +7 -9
- package/chunks/{chunk-MRO43B25.js → chunk-KW7NOTN6.js} +1 -1
- package/chunks/{chunk-6IAWPIQ6.js → chunk-L36P3NBD.js} +3 -3
- package/chunks/{chunk-54YZOP7P.js → chunk-L573Z2QZ.js} +11894 -5190
- package/chunks/{chunk-STAZRKOT.js → chunk-L6GPKRH7.js} +132 -464
- package/chunks/{chunk-QAKFYMJI.js → chunk-LD5OWZ5E.js} +155 -19
- package/chunks/{chunk-E7KNELIZ.js → chunk-LK7KUE55.js} +2 -2
- package/chunks/{chunk-W7EEOR7D.js → chunk-LUODI7WD.js} +5 -5
- package/chunks/{chunk-CSOTA7KX.js → chunk-LXNEJD34.js} +2 -2
- package/chunks/{chunk-HLKG6CZN.js → chunk-M5GB774H.js} +1 -1
- package/chunks/{chunk-3B26UVCX.js → chunk-MC23XKFE.js} +39 -10
- package/chunks/{chunk-XPJH4PKR.js → chunk-MPEMTBUZ.js} +2 -2
- package/chunks/{chunk-GMOWQOQQ.js → chunk-MUCWGT7O.js} +248 -55
- package/chunks/{chunk-PC4ZXHU2.js → chunk-MXL5UP4X.js} +3 -3
- package/chunks/{chunk-PUQLHSQ2.js → chunk-N2FGNKOE.js} +10 -12
- package/chunks/{chunk-332PWN27.js → chunk-NHDKSOEY.js} +1 -1
- package/chunks/{chunk-65CFHNSE.js → chunk-NKHV3OHY.js} +62 -62
- package/chunks/{chunk-P7M4GA57.js → chunk-OCPBI7J5.js} +1 -1
- package/chunks/{chunk-42XGFRJS.js → chunk-ORBGV7NJ.js} +5 -5
- package/chunks/{chunk-ALZ75L2X.js → chunk-OZJLTZKP.js} +415 -379
- package/chunks/chunk-P3X7RYUQ.js +468 -0
- package/chunks/{chunk-AGHU5VRK.js → chunk-PZL23GTM.js} +1 -1
- package/chunks/{chunk-FXGLL2HL.js → chunk-Q7YDKOGY.js} +1 -1
- package/chunks/{chunk-LGFAYIKX.js → chunk-QHTIBUWB.js} +1 -1
- package/chunks/{chunk-AIY5UTFI.js → chunk-QK2JET6S.js} +934 -2881
- package/chunks/{chunk-P3MYAZBY.js → chunk-QMGX2KO2.js} +1 -1
- package/chunks/{chunk-QZF5U5KA.js → chunk-QNTUV3PP.js} +11 -11
- package/chunks/chunk-QRUIS3DN.js +47 -0
- package/chunks/{chunk-ITOGNELQ.js → chunk-QSWDGAIC.js} +2 -2
- package/chunks/{chunk-7JGISHHZ.js → chunk-QUJIDGIW.js} +15 -157
- package/chunks/{chunk-GHOTR7HL.js → chunk-QUPXZXLV.js} +1 -1
- package/chunks/{chunk-TDGF35EN.js → chunk-QYMQSECS.js} +3 -3
- package/chunks/{chunk-QYUE6W3T.js → chunk-RDJSGHZE.js} +1 -1
- package/chunks/{chunk-TLRYABYP.js → chunk-RKUWKYED.js} +1 -1
- package/chunks/{chunk-ADZG46HR.js → chunk-RRNR5U2U.js} +2 -2
- package/chunks/{chunk-4O344UEE.js → chunk-RW7CXRUM.js} +39 -19
- package/chunks/{chunk-RNBYOUGV.js → chunk-RXFQM6FQ.js} +1 -1
- package/chunks/{chunk-QXPI7FEC.js → chunk-S3TWXGKA.js} +4 -4
- package/chunks/{chunk-44NROQYV.js → chunk-SJHDYNHF.js} +4 -4
- package/chunks/{chunk-MLZQVCF3.js → chunk-SZRN75WQ.js} +1 -1
- package/chunks/{chunk-7RYW5LQV.js → chunk-T2NCM2ET.js} +2 -2
- package/chunks/{chunk-Z2Z3GUXZ.js → chunk-TB6UDU4T.js} +1 -1
- package/chunks/{chunk-SUAKHHK7.js → chunk-TDEXZKMT.js} +3 -3
- package/chunks/{chunk-EXPMGZZV.js → chunk-TEGEBB2I.js} +1 -1
- package/chunks/{chunk-JF7DFPQ5.js → chunk-TJCEUA3S.js} +15 -3
- package/chunks/{chunk-MX2YXRER.js → chunk-TJTKSVIV.js} +1 -1
- package/chunks/{chunk-H6BD2ELD.js → chunk-TYAMGABM.js} +2 -2
- package/chunks/{chunk-CISB3IQF.js → chunk-U3VSCGEJ.js} +100 -15
- package/chunks/{chunk-VRDMOSQS.js → chunk-UDXSXLER.js} +2 -2
- package/chunks/{chunk-AHNJGLFV.js → chunk-UOZWKTQG.js} +3 -3
- package/chunks/{chunk-CJCKDMWO.js → chunk-URK542T4.js} +1 -1
- package/chunks/{chunk-YEGT55NW.js → chunk-UUVCHN62.js} +5697 -2983
- package/chunks/{chunk-AHNXYU4O.js → chunk-V6WHFGST.js} +1 -1
- package/chunks/{chunk-U4FRHCLA.js → chunk-VAUPLGDZ.js} +2370 -364
- package/chunks/{chunk-ZTQ26VBE.js → chunk-VDDGDZMA.js} +1 -1
- package/chunks/{chunk-OMX7CUOE.js → chunk-VGC4I5JJ.js} +1 -1
- package/chunks/{chunk-IUE7YWC3.js → chunk-VIUKEWUL.js} +8 -8
- package/chunks/{chunk-43W4YSO6.js → chunk-VJNBRRZG.js} +2 -2
- package/chunks/{chunk-I4A4K72C.js → chunk-VL7GBUQA.js} +1309 -703
- package/chunks/{chunk-VZ7HY3YU.js → chunk-W2UIXQDL.js} +3 -3
- package/chunks/{chunk-ER3BKOLB.js → chunk-W7FJ3N32.js} +1 -1
- package/chunks/{chunk-3HX5LZ6R.js → chunk-WBL3FJEU.js} +2 -2
- package/chunks/{chunk-RYFZCUJO.js → chunk-WCUK2QXK.js} +17 -9
- package/chunks/{chunk-OWVIH4HY.js → chunk-WFHJDT4S.js} +421 -114
- package/chunks/{chunk-BMFMJINR.js → chunk-WL4L7EZH.js} +1 -1
- package/chunks/{chunk-NZEGNV4V.js → chunk-WPHYXKFL.js} +8 -51
- package/chunks/chunk-X4NKFGFJ.js +81 -0
- package/chunks/{chunk-3RW4AZJV.js → chunk-XFSFZCM5.js} +1 -1
- package/chunks/{chunk-2MPVVENX.js → chunk-XU457J4V.js} +2 -2
- package/chunks/{chunk-SIUQ3YYX.js → chunk-XVNQMZ2I.js} +1 -1
- package/chunks/{chunk-SYCJMSIJ.js → chunk-XWRJCPHC.js} +1 -1
- package/chunks/chunk-YAF2MQZ6.js +19 -0
- package/chunks/chunk-YF4RZPJP.js +168 -0
- package/chunks/{chunk-4KJ2BPIT.js → chunk-YLV3XXFB.js} +4 -40
- package/chunks/{chunk-BR4QREVK.js → chunk-YQ3U5MUC.js} +1 -1
- package/chunks/{chunk-Y6Z2O3WR.js → chunk-YUZI3WAC.js} +1 -1
- package/chunks/{chunk-II73RK2S.js → chunk-YVEDCAUE.js} +1 -1
- package/chunks/{chunk-SKAZWEV5.js → chunk-ZJE7NSL3.js} +1 -1
- package/chunks/{chunk-7LTB54MK.js → chunk-ZLXQN2QS.js} +2 -2
- package/chunks/cli-entry-path-4VJ3Y6T2.js +10 -0
- package/chunks/{computer-use-X4KUU3NM.js → computer-use-2ZTYDNN4.js} +50 -50
- package/chunks/config-utils-ZITWCFBY.js +23 -0
- package/chunks/contextCommand-6L4XCZZT.js +68 -0
- package/chunks/create-sub-session-INX7TXJI.js +207 -0
- package/chunks/create-sub-session-VZIOFS6N.js +375 -0
- package/chunks/{cron-create-JSXEIPVS.js → cron-create-AMBKGZX6.js} +9 -9
- package/chunks/{cron-delete-OIFVEPGU.js → cron-delete-LRU4OJYG.js} +7 -7
- package/chunks/{cron-list-D4ZX4IOE.js → cron-list-WVP2JXER.js} +14 -10
- package/chunks/{daemon-F3I2RXP6.js → daemon-QEDXW7ER.js} +554 -4
- package/chunks/daemon-status-provider-7XJZ3HPS.js +76 -0
- package/chunks/{de-PLLFDERI.js → de-XHBEYUMG.js} +91 -6
- package/chunks/{devtools-FM6GJPYG.js → devtools-4QFYJT6U.js} +3 -3
- package/chunks/{dist-573HNSVO.js → dist-EFXT7A3G.js} +12 -11
- package/chunks/{dist-PKFTNUHO.js → dist-KCRX7TGL.js} +529 -79
- package/chunks/{dist-OT7G2WNM.js → dist-MFEAEUV4.js} +1011 -197
- package/chunks/{dist-63IS3ZMI.js → dist-PZV5RKM6.js} +4 -4
- package/chunks/{dist-FQ5WRJPL.js → dist-QY3THJM5.js} +5 -5
- package/chunks/{dist-IMFFBMAT.js → dist-UJOR6KEQ.js} +32 -15
- package/chunks/{dist-YTRKAVUB.js → dist-ZWZB4CCN.js} +10 -10
- package/chunks/earlyInputCapture-TTWXFIWO.js +69 -0
- package/chunks/{edit-WZTZDGCI.js → edit-6UWFRZKY.js} +51 -51
- package/chunks/{en-GA2RMXY5.js → en-TKHUFIK7.js} +100 -6
- package/chunks/{enter-worktree-DEPXBJEL.js → enter-worktree-LS7SGAII.js} +50 -50
- package/chunks/{enterPlanMode-JFGXZHHJ.js → enterPlanMode-TSZYLEEP.js} +66 -51
- package/chunks/environment-XCVLHOXG.js +88 -0
- package/chunks/errors-KIANLUTC.js +75 -0
- package/chunks/{exit-worktree-Y7XBK3VV.js → exit-worktree-2QV6UJSW.js} +50 -50
- package/chunks/{exitPlanMode-WQQER65F.js → exitPlanMode-GVZG3F6S.js} +51 -51
- package/chunks/{fast-path-W2U6XDNO.js → fast-path-GNFZAMQK.js} +16 -7
- package/chunks/{fast-path-settings-RCRXH2JG.js → fast-path-settings-5QZE64HR.js} +6 -5
- package/chunks/{fileFromPath-IBEHA3CO.js → fileFromPath-UDALK7FM.js} +3 -3
- package/chunks/{fr-GWNQG4XH.js → fr-TBF6JZNE.js} +91 -6
- package/chunks/{gemini-T4WX6SRW.js → gemini-N3H6OLHR.js} +501 -197
- package/chunks/{geminiContentGenerator-MKQACXEJ.js → geminiContentGenerator-4C257R2N.js} +9 -9
- package/chunks/{getMachineId-bsd-4CASPIU4.js → getMachineId-bsd-EXV7SWPA.js} +3 -3
- package/chunks/{getMachineId-darwin-HPQPEMZR.js → getMachineId-darwin-IUOMFXU3.js} +3 -3
- package/chunks/{getMachineId-linux-AUARKYHL.js → getMachineId-linux-K7XJYFHL.js} +2 -2
- package/chunks/{getMachineId-unsupported-S32ZDA2T.js → getMachineId-unsupported-EA5FDRJ6.js} +2 -2
- package/chunks/{getMachineId-win-4EFLHYIJ.js → getMachineId-win-KBA6RAI5.js} +3 -3
- package/chunks/{glob-4KKSHZDF.js → glob-QTUI5I3Y.js} +95 -74
- package/chunks/{grep-GHRYXSLZ.js → grep-Z5MGLRCG.js} +50 -50
- package/chunks/handleAutoUpdate-FFF3CZGP.js +69 -0
- package/chunks/i18n-QQAJT7A2.js +84 -0
- package/chunks/initializer-LGQGC7ZT.js +71 -0
- package/chunks/installationInfo-4FEZGXIN.js +65 -0
- package/chunks/{ja-2HOTA47X.js → ja-CDXUA2H3.js} +92 -7
- package/chunks/{keychain-token-storage-UJV5XP4Z.js → keychain-token-storage-VKUBNCP4.js} +4 -4
- package/chunks/{kittyProtocolDetector-OJRCJLIU.js → kittyProtocolDetector-HCNNKJTI.js} +2 -2
- package/chunks/list-KIVFF3BB.js +74 -0
- package/chunks/loadedSettingsAdapter-EOD3RVZS.js +68 -0
- package/chunks/{loop-wakeup-OHWEMFP5.js → loop-wakeup-WX7BLWWP.js} +10 -10
- package/chunks/{lowlight-FYAAUU5J.js → lowlight-J2OZNPCA.js} +1 -1
- package/chunks/{ls-L654WOAT.js → ls-ZB2BDP6T.js} +6 -6
- package/chunks/{lsp-M35KE54Y.js → lsp-V5DN4YUJ.js} +6 -8
- package/chunks/mcp-D2P46DB4.js +68 -0
- package/chunks/{monitor-464OY2UE.js → monitor-4ZWVOL6J.js} +50 -50
- package/chunks/{multipart-parser-AJ4WASWR.js → multipart-parser-AWZKXSQN.js} +3 -3
- package/chunks/nonInteractiveCli-NAHUR2X6.js +124 -0
- package/chunks/{notebook-edit-BLJYCNDO.js → notebook-edit-RCQ2D2IE.js} +51 -51
- package/chunks/openaiContentGenerator-U655T5QC.js +56 -0
- package/chunks/pidfile-O3OO2TCP.js +73 -0
- package/chunks/{pt-2THT3YHA.js → pt-6IR2VRQY.js} +91 -6
- package/chunks/{qwenContentGenerator-SUUHZ6CR.js → qwenContentGenerator-ABGWCRS6.js} +52 -52
- package/chunks/{qwenOAuth2-ZV7YLMND.js → qwenOAuth2-PJQ27GSO.js} +9 -9
- package/chunks/read-file-X7M4GUPY.js +30 -0
- package/chunks/{read-mcp-resource-CNQHBSJM.js → read-mcp-resource-SM5DA4RG.js} +5 -5
- package/chunks/{read-package-up-ER5OJUGP.js → read-package-up-TCM6I7S2.js} +2 -2
- package/chunks/{record-artifact-PP3LKHTS.js → record-artifact-4XKZX3UW.js} +7 -7
- package/chunks/ripGrep-KMPJJK5J.js +60 -0
- package/chunks/{ru-Z67YJHBG.js → ru-DBTHQA3F.js} +91 -6
- package/chunks/{run-qwen-serve-5OKADVLE.js → run-qwen-serve-O6CMPURG.js} +958 -184
- package/chunks/runtime-THE2YO27.js +94 -0
- package/chunks/{scheduler-ZRW3AIDU.js → scheduler-XXEA6EFC.js} +51 -51
- package/chunks/{send-message-OA6MV4EU.js → send-message-F36YD6KQ.js} +7 -7
- package/chunks/serve-W6F44JQQ.js +74 -0
- package/chunks/{server-M372UENX.js → server-SAEKMY52.js} +4340 -829
- package/chunks/{session-F5KSNP2N.js → session-4GGYGOWY.js} +162 -117
- package/chunks/settings-PYEU5HVD.js +118 -0
- package/chunks/shell-JGQECKTH.js +68 -0
- package/chunks/{skill-A2TL2NPC.js → skill-XPP3C2DS.js} +24 -24
- package/chunks/spawnChannel-62QKQBQN.js +70 -0
- package/chunks/{src-XKZMNHXS.js → src-2656Q6SN.js} +126 -52
- package/chunks/{src-7XL4G4DC.js → src-VLI3TKEY.js} +4 -4
- package/chunks/standalone-update-X7AZVG5R.js +79 -0
- package/chunks/{startInteractiveUI-REKSTOHU.js → startInteractiveUI-DXR4K6T5.js} +2277 -1834
- package/chunks/stdioHelpers-UMY72QRP.js +14 -0
- package/chunks/{syntheticOutput-F7LSDCAR.js → syntheticOutput-34H7LGA7.js} +5 -5
- package/chunks/task-create-FRGOEIKY.js +22 -0
- package/chunks/{task-list-TGGJX7EA.js → task-list-OW766BXZ.js} +10 -10
- package/chunks/{task-stop-W7NGTMYQ.js → task-stop-SIR5SNBN.js} +4 -4
- package/chunks/{task-update-5WUG5MVQ.js → task-update-YRA532MT.js} +12 -12
- package/chunks/{team-create-TBQVWAG7.js → team-create-3EHCUCKA.js} +50 -50
- package/chunks/{team-delete-UHQQ2QQX.js → team-delete-6OSECUZC.js} +10 -10
- package/chunks/{team-plan-approval-FZPGUSHJ.js → team-plan-approval-KZ7NZIMX.js} +50 -50
- package/chunks/theme-manager-J7ANV4JR.js +64 -0
- package/chunks/{todoWrite-C4ZAMSR3.js → todoWrite-YDMFEV4G.js} +6 -6
- package/chunks/{tool-search-FDQ3SLNJ.js → tool-search-2XLGWG4H.js} +24 -24
- package/chunks/total-session-admission-EQIHUOL6.js +72 -0
- package/chunks/trustedFolders-BEX5334Z.js +79 -0
- package/chunks/{types-QX5C3CHJ.js → types-JNKGKUJT.js} +2 -2
- package/chunks/updateCheck-NKPJGJCR.js +69 -0
- package/chunks/updateEventEmitter-5MKC7BLQ.js +10 -0
- package/chunks/validateNonInterActiveAuth-6DGGGE4A.js +190 -0
- package/chunks/{version-CEDD6ZZR.js → version-FRVWU5ZU.js} +3 -3
- package/chunks/{web-fetch-UYGMOHW4.js → web-fetch-PAAEQKBW.js} +8 -8
- package/chunks/{workflow-CQQ4J4I6.js → workflow-LWFMECLD.js} +51 -51
- package/chunks/workspace-providers-status-NE7QWEYS.js +71 -0
- package/chunks/workspace-registry-RCWAP57G.js +76 -0
- package/chunks/workspace-service-4QUMVGBX.js +80 -0
- package/chunks/workspace-skills-status-L34BYRSY.js +70 -0
- package/chunks/{write-file-VWGY7AJP.js → write-file-WXO4M5FN.js} +51 -51
- package/chunks/{yargs-B64EYTCF.js → yargs-6H2AUULL.js} +2 -2
- package/chunks/{zh-7XVVRTDH.js → zh-LJP47LX7.js} +101 -7
- package/chunks/{zh-TW-DPH554OG.js → zh-TW-5ISMO3VJ.js} +101 -7
- package/cli.js +18 -17
- package/locales/ca.js +117 -7
- package/locales/de.js +116 -7
- package/locales/en.js +133 -7
- package/locales/fr.js +117 -7
- package/locales/ja.js +119 -7
- package/locales/pt.js +116 -7
- package/locales/ru.js +116 -7
- package/locales/zh-TW.js +130 -7
- package/locales/zh.js +130 -7
- package/package.json +3 -6
- package/web-shell/assets/{arc-C7hjaa7g.js → arc-BRDEF7h6.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-pm9KtMZY.js → architectureDiagram-3BPJPVTR-Cxnk4Ygq.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CApElKsU.js → blockDiagram-GPEHLZMM-BZrtayqw.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BeDe0-9N.js → c4Diagram-AAUBKEIU-Djmbi1yB.js} +1 -1
- package/web-shell/assets/channel-C9zfQCn-.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DJEkmLdl.js → chunk-2J33WTMH-Cdokj-0U.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DXX8gdpe.js → chunk-4BX2VUAB-BI9Hx57o.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DORmk1kQ.js → chunk-55IACEB6-Cb17cEzj.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DWmO4mCZ.js → chunk-727SXJPM-DY1Fc0h_.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-C7LRaYw2.js → chunk-AQP2D5EJ-B10G71Hd.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CCdXgyC5.js → chunk-FMBD7UC4-BP6OoB6Z.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-SyL_xvWc.js → chunk-ND2GUHAM-CWIIwUFC.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BzOuCKxa.js → chunk-QZHKN3VN-DMrqCfGO.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BVNaf5JM.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BVNaf5JM.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BMPWyDKc.js → cose-bilkent-S5V4N54A-CF-mpkgI.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B_GnPWik.js → dagre-BM42HDAG-DfsRFsg7.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-fJqMc3S_.js → diagram-2AECGRRQ-DBNwf6Dy.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-ximV3O9D.js → diagram-5GNKFQAL-CD1TqV1j.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-2vVyjzqw.js → diagram-KO2AKTUF-DkWlaLI2.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Dckcx1sT.js → diagram-LMA3HP47-ClrAcxwF.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-BAVv47ga.js → diagram-OG6HWLK6-Dr6dnPLw.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-Bn3nf5J0.js → erDiagram-TEJ5UH35-Dm_vj18R.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BIbGF9JT.js → flowDiagram-I6XJVG4X-lp3cMdZu.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CDbhb3AH.js → ganttDiagram-6RSMTGT7-AtdCWZya.js} +3 -3
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CbKG1a_w.js → gitGraphDiagram-PVQCEYII-BARTJafF.js} +1 -1
- package/web-shell/assets/index-BkNgyfu7.js +3 -0
- package/web-shell/assets/index-CihmnZZR.js +784 -0
- package/web-shell/assets/index-zfdXhnwH.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DUFxTy8m.js → infoDiagram-5YYISTIA-CxbJ54_f.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-D69hrBG8.js → ishikawaDiagram-YF4QCWOH-hFoO0HQA.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DsvEw51Y.js → journeyDiagram-JHISSGLW-Bo6cKnLe.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-lFFjZEYd.js → kanban-definition-UN3LZRKU-DIFrH-XL.js} +1 -1
- package/web-shell/assets/{linear-Bo5bWzvo.js → linear-Bjv_GjDd.js} +1 -1
- package/web-shell/assets/{mermaid.core-C_HKMJx5.js → mermaid.core-C_OiqQEP.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DlV-NUTs.js → mindmap-definition-RKZ34NQL-B79Gk8aB.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-B2e6FH2a.js → pieDiagram-4H26LBE5-B_P0gIHr.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D75kSk-b.js → quadrantDiagram-W4KKPZXB-BC7F0ohb.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CQ6xakhM.js → requirementDiagram-4Y6WPE33-BrA5_NSW.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-J_XTKrcY.js → sankeyDiagram-5OEKKPKP-Q2iqrNI_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-D7jTcBtf.js → sequenceDiagram-3UESZ5HK-6vdIWz4H.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CrlM_OT3.js → stateDiagram-AJRCARHV-DMzXNKcB.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BWFH0OCO.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-5oZi76Ef.js → timeline-definition-PNZ67QCA-BykEawmS.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DO5YptPK.js → vennDiagram-CIIHVFJN-B24KD2X1.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-4t1eJDvM.js → wardley-L42UT6IY-C761G_tA.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DKZc661S.js → wardleyDiagram-YWT4CUSO-CfwGJYqw.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-su9hp08G.js → xychartDiagram-2RQKCTM6-BDu5AZ2D.js} +1 -1
- package/web-shell/index.html +16 -4
- package/chunks/MaxSizedBox-XY5LIO5O.js +0 -71
- package/chunks/agent-TKIBLLQT.js +0 -68
- package/chunks/agent-headless-VLX4C7KX.js +0 -62
- package/chunks/bridge-BCU73DZO.js +0 -77
- package/chunks/chunk-6SHO7WFF.js +0 -79
- package/chunks/chunk-IFEWJXFS.js +0 -37
- package/chunks/chunk-S6RLAIUR.js +0 -23
- package/chunks/contextCommand-LAYJZF7H.js +0 -68
- package/chunks/daemon-status-provider-XSAFKVDS.js +0 -74
- package/chunks/earlyInputCapture-AERYYGXE.js +0 -69
- package/chunks/errors-GMZL4QV7.js +0 -75
- package/chunks/handleAutoUpdate-HN7ZOSXY.js +0 -65
- package/chunks/initializer-SRN3IM42.js +0 -69
- package/chunks/list-INTVXUPA.js +0 -71
- package/chunks/loadedSettingsAdapter-QVHHQPGM.js +0 -66
- package/chunks/mcp-7V4T46RG.js +0 -66
- package/chunks/nonInteractiveCli-LJEEODU2.js +0 -116
- package/chunks/openaiContentGenerator-PFF6HYB2.js +0 -56
- package/chunks/pidfile-LIBUENIV.js +0 -73
- package/chunks/read-file-L7TBQVX7.js +0 -30
- package/chunks/ripGrep-CKKX3GRB.js +0 -60
- package/chunks/serve-36WS32W6.js +0 -71
- package/chunks/settings-WFLNS3WT.js +0 -114
- package/chunks/shell-DEDSWN56.js +0 -68
- package/chunks/spawnChannel-RQHUWTCL.js +0 -70
- package/chunks/task-create-RPFZNB4B.js +0 -22
- package/chunks/theme-manager-DQZVNSOC.js +0 -64
- package/chunks/trustedFolders-Z475EIHL.js +0 -79
- package/chunks/updateCheck-E2ZX7RL7.js +0 -65
- package/chunks/validateNonInterActiveAuth-O4ECBHQL.js +0 -181
- package/chunks/workspace-providers-status-MVYXMYDG.js +0 -68
- package/chunks/workspace-service-OMBR6ZLG.js +0 -78
- package/chunks/workspace-skills-status-IMMQ7CAY.js +0 -68
- package/node_modules/@qwen-code/audio-capture/dist/index.d.ts +0 -35
- package/node_modules/@qwen-code/audio-capture/dist/index.js +0 -48
- package/node_modules/@qwen-code/audio-capture/dist/index.js.map +0 -1
- package/node_modules/@qwen-code/audio-capture/dist/platform.d.ts +0 -7
- package/node_modules/@qwen-code/audio-capture/dist/platform.js +0 -18
- package/node_modules/@qwen-code/audio-capture/dist/platform.js.map +0 -1
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/LICENSE +0 -21
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/README.md +0 -58
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/SECURITY.md +0 -5
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/bin.js +0 -84
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/build-test.js +0 -19
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/index.js +0 -6
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/node-gyp-build.js +0 -207
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/optional.js +0 -7
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/package.json +0 -43
- package/node_modules/@qwen-code/audio-capture/package.json +0 -30
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/web-shell/assets/channel-BNf1dW-j.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-uOIGlzgi.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-uOIGlzgi.js +0 -1
- package/web-shell/assets/index-CnE2ur2L.js +0 -779
- package/web-shell/assets/index-hSKXrlSE.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bs4TK_84.js +0 -1
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
|
+
ExtensionRefreshState,
|
|
4
5
|
isValidSessionId,
|
|
5
6
|
validateAuthMethod
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VL7GBUQA.js";
|
|
8
|
+
import {
|
|
9
|
+
isKittyProtocolEnabled
|
|
10
|
+
} from "./chunk-5DTTYNB7.js";
|
|
11
|
+
import {
|
|
12
|
+
contextCommand
|
|
13
|
+
} from "./chunk-6CR73ZIK.js";
|
|
7
14
|
import {
|
|
8
15
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
9
16
|
calculateCost,
|
|
@@ -15,32 +22,28 @@ import {
|
|
|
15
22
|
levelLabel,
|
|
16
23
|
useKeypress,
|
|
17
24
|
writeOsc52
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
Text
|
|
21
|
-
} from "./chunk-DGHJTO2K.js";
|
|
22
|
-
import {
|
|
23
|
-
isKittyProtocolEnabled
|
|
24
|
-
} from "./chunk-JZSY4WP3.js";
|
|
25
|
-
import {
|
|
26
|
-
contextCommand
|
|
27
|
-
} from "./chunk-BWVQN2HV.js";
|
|
28
|
-
import {
|
|
29
|
-
getInstallationInfo,
|
|
30
|
-
rollbackStandaloneUpdate
|
|
31
|
-
} from "./chunk-ALZ75L2X.js";
|
|
25
|
+
} from "./chunk-5DOUQHL3.js";
|
|
32
26
|
import {
|
|
33
27
|
isTerminalGoalStatusKind
|
|
34
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7X7TEQNX.js";
|
|
29
|
+
import {
|
|
30
|
+
Text
|
|
31
|
+
} from "./chunk-HIHQ3TWC.js";
|
|
35
32
|
import {
|
|
36
33
|
require_react
|
|
37
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HTHUX2T5.js";
|
|
38
35
|
import {
|
|
39
36
|
themeManager
|
|
40
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MXL5UP4X.js";
|
|
41
38
|
import {
|
|
42
39
|
getErrorMessage as getErrorMessage2
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-65F3I3PM.js";
|
|
41
|
+
import {
|
|
42
|
+
getInstallationInfo
|
|
43
|
+
} from "./chunk-2UU6DW5P.js";
|
|
44
|
+
import {
|
|
45
|
+
rollbackStandaloneUpdate
|
|
46
|
+
} from "./chunk-OZJLTZKP.js";
|
|
44
47
|
import {
|
|
45
48
|
GITHUB_WORKFLOW_PATHS,
|
|
46
49
|
INSIGHT_CSS,
|
|
@@ -53,33 +56,33 @@ import {
|
|
|
53
56
|
toJson,
|
|
54
57
|
toJsonl,
|
|
55
58
|
toMarkdown
|
|
56
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-IJEO2QSK.js";
|
|
57
60
|
import {
|
|
58
61
|
stripUnsafeCharacters,
|
|
59
62
|
toCodePoints
|
|
60
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-GL22M2DU.js";
|
|
64
|
+
import {
|
|
65
|
+
formatUnsupportedVoiceModelMessage,
|
|
66
|
+
getVoiceSettingsScope,
|
|
67
|
+
isSelectableVoiceModel,
|
|
68
|
+
isVoiceEnabled,
|
|
69
|
+
readVoiceMode,
|
|
70
|
+
readVoiceModel
|
|
71
|
+
} from "./chunk-RRNR5U2U.js";
|
|
61
72
|
import {
|
|
62
73
|
getExtendedSystemInfo,
|
|
63
74
|
getGitVersion,
|
|
64
75
|
getNpmVersion
|
|
65
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HACY3IUM.js";
|
|
66
77
|
import {
|
|
67
78
|
formatDuration,
|
|
68
79
|
formatMemoryUsage,
|
|
69
80
|
formatTokenCount
|
|
70
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-E5Z2AVNV.js";
|
|
71
82
|
import {
|
|
72
83
|
isInlineModelOverrideAllowed,
|
|
73
84
|
parseAcpModelOption
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import {
|
|
76
|
-
formatUnsupportedVoiceModelMessage,
|
|
77
|
-
getVoiceSettingsScope,
|
|
78
|
-
isSelectableVoiceModel,
|
|
79
|
-
isVoiceEnabled,
|
|
80
|
-
readVoiceMode,
|
|
81
|
-
readVoiceModel
|
|
82
|
-
} from "./chunk-ADZG46HR.js";
|
|
85
|
+
} from "./chunk-DMN532MJ.js";
|
|
83
86
|
import {
|
|
84
87
|
OUTPUT_LANGUAGE_AUTO,
|
|
85
88
|
getAllSettingKeys,
|
|
@@ -91,7 +94,7 @@ import {
|
|
|
91
94
|
resolveOutputLanguage,
|
|
92
95
|
validateSettingValue,
|
|
93
96
|
writeOutputLanguageAndRegisterPath
|
|
94
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-L6GPKRH7.js";
|
|
95
98
|
import {
|
|
96
99
|
SUPPORTED_LANGUAGES,
|
|
97
100
|
getCurrentLanguage,
|
|
@@ -99,14 +102,14 @@ import {
|
|
|
99
102
|
resolveSupportedLanguage,
|
|
100
103
|
setLanguageAsync,
|
|
101
104
|
t
|
|
102
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LD5OWZ5E.js";
|
|
103
106
|
import {
|
|
104
107
|
isFolderTrustEnabled,
|
|
105
108
|
loadTrustedFolders
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-CBKR4Q5K.js";
|
|
107
110
|
import {
|
|
108
111
|
require_strip_json_comments
|
|
109
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-RDJSGHZE.js";
|
|
110
113
|
import {
|
|
111
114
|
ArenaManager,
|
|
112
115
|
BTW_MAX_INPUT_LENGTH,
|
|
@@ -175,25 +178,25 @@ import {
|
|
|
175
178
|
stripStartupContext,
|
|
176
179
|
tryGenerateSessionTitle,
|
|
177
180
|
unregisterGoalHook
|
|
178
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-UUVCHN62.js";
|
|
179
182
|
import {
|
|
180
183
|
external_exports
|
|
181
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-H6XPXXMH.js";
|
|
182
185
|
import {
|
|
183
186
|
runSideQuery
|
|
184
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-W2UIXQDL.js";
|
|
185
188
|
import {
|
|
186
189
|
APPROVAL_MODES,
|
|
187
190
|
FORK_SUBAGENT_TYPE
|
|
188
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-4GORAUCN.js";
|
|
189
192
|
import {
|
|
190
193
|
applySkillAllowedTools,
|
|
191
194
|
buildSkillLlmContent
|
|
192
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-7R3CZA3Q.js";
|
|
193
196
|
import {
|
|
194
197
|
HookEventName,
|
|
195
198
|
sanitizeUserPromptExpansionAdditionalContext
|
|
196
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-GWHYEOV2.js";
|
|
197
200
|
import {
|
|
198
201
|
IdeConnectionEvent,
|
|
199
202
|
formatTokenUsageSummaryAsCsv,
|
|
@@ -206,20 +209,20 @@ import {
|
|
|
206
209
|
recordSkillInvocation,
|
|
207
210
|
resolveOpenAILogDir,
|
|
208
211
|
uiTelemetryService
|
|
209
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-MUCWGT7O.js";
|
|
210
213
|
import {
|
|
211
214
|
getAutoMemoryRoot
|
|
212
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-YLV3XXFB.js";
|
|
213
216
|
import {
|
|
214
217
|
ToolNames
|
|
215
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-B5ORX3FG.js";
|
|
216
219
|
import {
|
|
217
220
|
openBrowserSecurely
|
|
218
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-JESCGQM3.js";
|
|
219
222
|
import {
|
|
220
223
|
REASONING_EFFORT_TIERS,
|
|
221
224
|
normalizeReasoningEffort
|
|
222
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-XVNQMZ2I.js";
|
|
223
226
|
import {
|
|
224
227
|
Storage,
|
|
225
228
|
createDebugLogger,
|
|
@@ -228,15 +231,15 @@ import {
|
|
|
228
231
|
isSubpath,
|
|
229
232
|
resolvePath,
|
|
230
233
|
updateSymlink
|
|
231
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-J4TSQ5EQ.js";
|
|
232
235
|
import {
|
|
233
236
|
isCpuProfileRecording,
|
|
234
237
|
startCpuProfile,
|
|
235
238
|
stopCpuProfile
|
|
236
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-IT6LIIVK.js";
|
|
237
240
|
import {
|
|
238
241
|
init_esbuild_shims
|
|
239
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-5O2XNYP6.js";
|
|
240
243
|
import {
|
|
241
244
|
__name,
|
|
242
245
|
__toESM
|
|
@@ -1820,7 +1823,12 @@ init_esbuild_shims();
|
|
|
1820
1823
|
// packages/cli/src/ui/hooks/useAutoAcceptIndicator.ts
|
|
1821
1824
|
init_esbuild_shims();
|
|
1822
1825
|
var import_react = __toESM(require_react(), 1);
|
|
1823
|
-
var
|
|
1826
|
+
var AUTO_MODE_FIRST_TIME_MESSAGE_KEY = "auto_mode.entry_notice";
|
|
1827
|
+
var AUTO_MODE_FIRST_TIME_MESSAGE_FALLBACK = "Auto mode enabled.\n An LLM classifier evaluates each tool call \u2014 safe actions auto-approve,\n risky ones are blocked. Exit: Shift+Tab or /approval-mode default.";
|
|
1828
|
+
var getAutoModeFirstTimeMessage = /* @__PURE__ */ __name(() => {
|
|
1829
|
+
const message = t(AUTO_MODE_FIRST_TIME_MESSAGE_KEY);
|
|
1830
|
+
return message === AUTO_MODE_FIRST_TIME_MESSAGE_KEY ? AUTO_MODE_FIRST_TIME_MESSAGE_FALLBACK : message;
|
|
1831
|
+
}, "getAutoModeFirstTimeMessage");
|
|
1824
1832
|
function useAutoAcceptIndicator({
|
|
1825
1833
|
config,
|
|
1826
1834
|
settings,
|
|
@@ -1881,7 +1889,7 @@ function emitAutoModeEntryNotices(opts) {
|
|
|
1881
1889
|
const acknowledged = settings?.merged.ui?.autoModeAcknowledged === true;
|
|
1882
1890
|
if (!acknowledged) {
|
|
1883
1891
|
addItem(
|
|
1884
|
-
{ type: "info" /* INFO */, text:
|
|
1892
|
+
{ type: "info" /* INFO */, text: getAutoModeFirstTimeMessage() },
|
|
1885
1893
|
now
|
|
1886
1894
|
);
|
|
1887
1895
|
if (settings) {
|
|
@@ -1910,10 +1918,16 @@ __name(emitAutoModeEntryNotices, "emitAutoModeEntryNotices");
|
|
|
1910
1918
|
init_esbuild_shims();
|
|
1911
1919
|
function formatApprovalModeName(mode) {
|
|
1912
1920
|
switch (mode) {
|
|
1921
|
+
case "plan" /* PLAN */:
|
|
1922
|
+
return t("plan mode");
|
|
1913
1923
|
case "default" /* DEFAULT */:
|
|
1914
1924
|
return t("Ask permissions");
|
|
1925
|
+
case "auto-edit" /* AUTO_EDIT */:
|
|
1926
|
+
return t("auto-accept edits");
|
|
1927
|
+
case "auto" /* AUTO */:
|
|
1928
|
+
return t("Auto mode");
|
|
1915
1929
|
case "yolo" /* YOLO */:
|
|
1916
|
-
return "YOLO";
|
|
1930
|
+
return t("YOLO mode");
|
|
1917
1931
|
default:
|
|
1918
1932
|
return mode;
|
|
1919
1933
|
}
|
|
@@ -2696,11 +2710,19 @@ init_esbuild_shims();
|
|
|
2696
2710
|
// packages/cli/src/ui/utils/backgroundWorkUtils.ts
|
|
2697
2711
|
init_esbuild_shims();
|
|
2698
2712
|
function hasBlockingBackgroundWork(config) {
|
|
2699
|
-
return
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2713
|
+
return (
|
|
2714
|
+
// hasRunningTasks, not hasUnfinalizedTasks: a cancelled task whose
|
|
2715
|
+
// finalize callback hasn't fired yet must not block /clear or
|
|
2716
|
+
// session resume — both abort-and-reset the registry right after
|
|
2717
|
+
// this gate, suppressing the pending notification anyway. Gating on
|
|
2718
|
+
// the unfinalized set made /new silently no-op when typed in the
|
|
2719
|
+
// window between cancel and finalize (issue #5949).
|
|
2720
|
+
config.getBackgroundTaskRegistry().hasRunningTasks() || config.getMonitorRegistry().getRunning().length > 0 || config.getBackgroundShellRegistry().hasRunningEntries() || // R7 (wenshao): the WorkflowRunRegistry is a 4th sibling that the
|
|
2721
|
+
// earlier P4b commit forgot to wire here. Without this OR clause,
|
|
2722
|
+
// /clear and session-resume happily ran while a workflow was
|
|
2723
|
+
// mid-run, orphaning the dispatch loop.
|
|
2724
|
+
config.getWorkflowRunRegistry().hasRunningEntries()
|
|
2725
|
+
);
|
|
2704
2726
|
}
|
|
2705
2727
|
__name(hasBlockingBackgroundWork, "hasBlockingBackgroundWork");
|
|
2706
2728
|
function resetBackgroundStateForSessionSwitch(config) {
|
|
@@ -2734,14 +2756,11 @@ var clearCommand = {
|
|
|
2734
2756
|
if (hasBlockingBackgroundWork(config)) {
|
|
2735
2757
|
const content = "Stop the current session's running background tasks before starting a new session.";
|
|
2736
2758
|
context.ui.setDebugMessage(content);
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
};
|
|
2743
|
-
}
|
|
2744
|
-
return;
|
|
2759
|
+
return {
|
|
2760
|
+
type: "message",
|
|
2761
|
+
messageType: "error",
|
|
2762
|
+
content
|
|
2763
|
+
};
|
|
2745
2764
|
}
|
|
2746
2765
|
config.getHookSystem()?.fireSessionEndEvent("clear" /* Clear */).catch((err) => {
|
|
2747
2766
|
config.getDebugLogger().warn(`SessionEnd hook failed: ${err}`);
|
|
@@ -2888,11 +2907,13 @@ function coerceValue(def, rawValue) {
|
|
|
2888
2907
|
})
|
|
2889
2908
|
};
|
|
2890
2909
|
}
|
|
2891
|
-
case "number":
|
|
2910
|
+
case "number":
|
|
2911
|
+
case "integer": {
|
|
2892
2912
|
if (!rawValue || rawValue.trim() === "") {
|
|
2893
2913
|
return {
|
|
2894
2914
|
value: void 0,
|
|
2895
|
-
error: t('Invalid
|
|
2915
|
+
error: t('Invalid {{type}} value: "{{value}}".', {
|
|
2916
|
+
type: def.type,
|
|
2896
2917
|
value: String(rawValue)
|
|
2897
2918
|
})
|
|
2898
2919
|
};
|
|
@@ -2901,7 +2922,8 @@ function coerceValue(def, rawValue) {
|
|
|
2901
2922
|
if (Number.isNaN(parsed) || !Number.isFinite(parsed)) {
|
|
2902
2923
|
return {
|
|
2903
2924
|
value: void 0,
|
|
2904
|
-
error: t('Invalid
|
|
2925
|
+
error: t('Invalid {{type}} value: "{{value}}".', {
|
|
2926
|
+
type: def.type,
|
|
2905
2927
|
value: String(rawValue)
|
|
2906
2928
|
})
|
|
2907
2929
|
};
|
|
@@ -6148,7 +6170,6 @@ var CLEAR_KEYWORDS = /* @__PURE__ */ new Set([
|
|
|
6148
6170
|
"none",
|
|
6149
6171
|
"cancel"
|
|
6150
6172
|
]);
|
|
6151
|
-
var MAX_GOAL_LENGTH = 4e3;
|
|
6152
6173
|
function sanitizeConditionForPrompt(condition) {
|
|
6153
6174
|
return condition.replace(/[\r\n]+/g, " ").replace(/"/g, "'");
|
|
6154
6175
|
}
|
|
@@ -6245,11 +6266,6 @@ Last check: ${active.lastReason}` : "";
|
|
|
6245
6266
|
}
|
|
6246
6267
|
return;
|
|
6247
6268
|
}
|
|
6248
|
-
if (q.length > MAX_GOAL_LENGTH) {
|
|
6249
|
-
return errorMessage(
|
|
6250
|
-
`Goal condition is limited to ${MAX_GOAL_LENGTH} characters (got ${q.length}).`
|
|
6251
|
-
);
|
|
6252
|
-
}
|
|
6253
6269
|
if (!config.isTrustedFolder()) {
|
|
6254
6270
|
return errorMessage(
|
|
6255
6271
|
"/goal is only available in trusted workspaces. Trust this folder via `/trust` and try again."
|
|
@@ -8267,7 +8283,6 @@ var memoryCommand = {
|
|
|
8267
8283
|
get description() {
|
|
8268
8284
|
return t("Open the memory manager.");
|
|
8269
8285
|
},
|
|
8270
|
-
argumentHint: "show|add|refresh",
|
|
8271
8286
|
kind: "built-in" /* BUILT_IN */,
|
|
8272
8287
|
supportedModes: ["interactive"],
|
|
8273
8288
|
action: /* @__PURE__ */ __name(async () => ({
|
|
@@ -9114,6 +9129,178 @@ var recapCommand = {
|
|
|
9114
9129
|
}, "action")
|
|
9115
9130
|
};
|
|
9116
9131
|
|
|
9132
|
+
// packages/cli/src/ui/commands/reload-plugins-command.ts
|
|
9133
|
+
init_esbuild_shims();
|
|
9134
|
+
|
|
9135
|
+
// packages/cli/src/config/extension-runtime-reload.ts
|
|
9136
|
+
init_esbuild_shims();
|
|
9137
|
+
var debugLogger10 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
|
|
9138
|
+
async function reloadPluginsRuntime(options) {
|
|
9139
|
+
if (options.config.isSafeMode()) {
|
|
9140
|
+
throw new Error("Extension reload is disabled in safe mode.");
|
|
9141
|
+
}
|
|
9142
|
+
const manager = options.config.getExtensionManager();
|
|
9143
|
+
await manager.refreshCache();
|
|
9144
|
+
await manager.refreshTools();
|
|
9145
|
+
await options.reloadCommands?.();
|
|
9146
|
+
return summarizeExtensions(options.config.getActiveExtensions());
|
|
9147
|
+
}
|
|
9148
|
+
__name(reloadPluginsRuntime, "reloadPluginsRuntime");
|
|
9149
|
+
async function refreshExtensionContentRuntime(options) {
|
|
9150
|
+
if (options.config.isSafeMode()) return;
|
|
9151
|
+
const manager = options.config.getExtensionManager();
|
|
9152
|
+
const errors = [];
|
|
9153
|
+
try {
|
|
9154
|
+
await manager.refreshCache();
|
|
9155
|
+
} catch (error) {
|
|
9156
|
+
errors.push(error);
|
|
9157
|
+
debugLogger10.warn(
|
|
9158
|
+
"refreshExtensionContentRuntime: refreshCache failed:",
|
|
9159
|
+
error
|
|
9160
|
+
);
|
|
9161
|
+
}
|
|
9162
|
+
const settled = await Promise.allSettled([
|
|
9163
|
+
options.config.getSkillManager()?.refreshCache(),
|
|
9164
|
+
options.config.getSubagentManager()?.refreshCache(),
|
|
9165
|
+
options.reloadCommands?.()
|
|
9166
|
+
]);
|
|
9167
|
+
for (const result of settled) {
|
|
9168
|
+
if (result.status === "rejected") {
|
|
9169
|
+
errors.push(result.reason);
|
|
9170
|
+
debugLogger10.warn(
|
|
9171
|
+
"refreshExtensionContentRuntime: a refresh leg failed:",
|
|
9172
|
+
result.reason
|
|
9173
|
+
);
|
|
9174
|
+
}
|
|
9175
|
+
}
|
|
9176
|
+
if (errors.length > 0) {
|
|
9177
|
+
throw new Error(
|
|
9178
|
+
errors.map(
|
|
9179
|
+
(error) => error instanceof Error ? error.message : String(error)
|
|
9180
|
+
).join("; ")
|
|
9181
|
+
);
|
|
9182
|
+
}
|
|
9183
|
+
}
|
|
9184
|
+
__name(refreshExtensionContentRuntime, "refreshExtensionContentRuntime");
|
|
9185
|
+
function summarizeExtensions(extensions) {
|
|
9186
|
+
return extensions.reduce(
|
|
9187
|
+
(summary, extension) => {
|
|
9188
|
+
summary.extensionCount++;
|
|
9189
|
+
summary.commandCount += extension.commands?.length ?? 0;
|
|
9190
|
+
summary.skillCount += extension.skills?.length ?? 0;
|
|
9191
|
+
summary.agentCount += extension.agents?.length ?? 0;
|
|
9192
|
+
summary.hookCount += countHooks(extension);
|
|
9193
|
+
summary.mcpServerCount += Object.keys(extension.mcpServers ?? {}).length;
|
|
9194
|
+
summary.lspServerCount += countLspServers(extension);
|
|
9195
|
+
return summary;
|
|
9196
|
+
},
|
|
9197
|
+
{
|
|
9198
|
+
extensionCount: 0,
|
|
9199
|
+
commandCount: 0,
|
|
9200
|
+
skillCount: 0,
|
|
9201
|
+
agentCount: 0,
|
|
9202
|
+
hookCount: 0,
|
|
9203
|
+
mcpServerCount: 0,
|
|
9204
|
+
lspServerCount: 0
|
|
9205
|
+
}
|
|
9206
|
+
);
|
|
9207
|
+
}
|
|
9208
|
+
__name(summarizeExtensions, "summarizeExtensions");
|
|
9209
|
+
function countHooks(extension) {
|
|
9210
|
+
return Object.values(extension.hooks ?? {}).reduce(
|
|
9211
|
+
(sum, definitions) => sum + (definitions ?? []).reduce(
|
|
9212
|
+
(innerSum, definition) => innerSum + (definition.hooks?.length ?? 0),
|
|
9213
|
+
0
|
|
9214
|
+
),
|
|
9215
|
+
0
|
|
9216
|
+
);
|
|
9217
|
+
}
|
|
9218
|
+
__name(countHooks, "countHooks");
|
|
9219
|
+
function countLspServers(extension) {
|
|
9220
|
+
const lspServers = extension.config.lspServers;
|
|
9221
|
+
if (!lspServers) return 0;
|
|
9222
|
+
if (typeof lspServers === "string") return 1;
|
|
9223
|
+
return Object.keys(lspServers).length;
|
|
9224
|
+
}
|
|
9225
|
+
__name(countLspServers, "countLspServers");
|
|
9226
|
+
|
|
9227
|
+
// packages/cli/src/ui/commands/reload-plugins-command.ts
|
|
9228
|
+
function summaryCountTerm(count, singularKey, pluralKey) {
|
|
9229
|
+
return t(count === 1 ? singularKey : pluralKey, {
|
|
9230
|
+
count: String(count)
|
|
9231
|
+
});
|
|
9232
|
+
}
|
|
9233
|
+
__name(summaryCountTerm, "summaryCountTerm");
|
|
9234
|
+
function formatReloadPluginsSummary(summary) {
|
|
9235
|
+
return [
|
|
9236
|
+
summaryCountTerm(
|
|
9237
|
+
summary.extensionCount,
|
|
9238
|
+
"{{count}} extension",
|
|
9239
|
+
"{{count}} extensions"
|
|
9240
|
+
),
|
|
9241
|
+
summaryCountTerm(
|
|
9242
|
+
summary.commandCount,
|
|
9243
|
+
"{{count}} command",
|
|
9244
|
+
"{{count}} commands"
|
|
9245
|
+
),
|
|
9246
|
+
summaryCountTerm(summary.skillCount, "{{count}} skill", "{{count}} skills"),
|
|
9247
|
+
summaryCountTerm(summary.agentCount, "{{count}} agent", "{{count}} agents"),
|
|
9248
|
+
summaryCountTerm(summary.hookCount, "{{count}} hook", "{{count}} hooks"),
|
|
9249
|
+
summaryCountTerm(
|
|
9250
|
+
summary.mcpServerCount,
|
|
9251
|
+
"{{count}} extension MCP server",
|
|
9252
|
+
"{{count}} extension MCP servers"
|
|
9253
|
+
),
|
|
9254
|
+
summaryCountTerm(
|
|
9255
|
+
summary.lspServerCount,
|
|
9256
|
+
"{{count}} extension LSP server",
|
|
9257
|
+
"{{count}} extension LSP servers"
|
|
9258
|
+
)
|
|
9259
|
+
].join(" \xB7 ");
|
|
9260
|
+
}
|
|
9261
|
+
__name(formatReloadPluginsSummary, "formatReloadPluginsSummary");
|
|
9262
|
+
var reloadPluginsCommand = {
|
|
9263
|
+
name: "reload-plugins",
|
|
9264
|
+
get description() {
|
|
9265
|
+
return t("Reload extension changes from disk");
|
|
9266
|
+
},
|
|
9267
|
+
kind: "built-in" /* BUILT_IN */,
|
|
9268
|
+
supportedModes: ["interactive"],
|
|
9269
|
+
action: /* @__PURE__ */ __name(async (context) => {
|
|
9270
|
+
const config = context.services.config;
|
|
9271
|
+
if (!config) {
|
|
9272
|
+
return {
|
|
9273
|
+
type: "message",
|
|
9274
|
+
messageType: "error",
|
|
9275
|
+
content: t("Config not loaded.")
|
|
9276
|
+
};
|
|
9277
|
+
}
|
|
9278
|
+
const extensionRefreshState = context.services.extensionRefreshState ?? new ExtensionRefreshState();
|
|
9279
|
+
try {
|
|
9280
|
+
extensionRefreshState.notifyExtensionsReloadStarted();
|
|
9281
|
+
const summary = await reloadPluginsRuntime({
|
|
9282
|
+
config,
|
|
9283
|
+
reloadCommands: context.ui.reloadCommands
|
|
9284
|
+
});
|
|
9285
|
+
extensionRefreshState.clearExtensionsChanged();
|
|
9286
|
+
return {
|
|
9287
|
+
type: "message",
|
|
9288
|
+
messageType: "info",
|
|
9289
|
+
content: t("Reloaded extensions: {{summary}}", {
|
|
9290
|
+
summary: formatReloadPluginsSummary(summary)
|
|
9291
|
+
})
|
|
9292
|
+
};
|
|
9293
|
+
} catch (error) {
|
|
9294
|
+
extensionRefreshState.markExtensionsReloadFailed();
|
|
9295
|
+
return {
|
|
9296
|
+
type: "message",
|
|
9297
|
+
messageType: "error",
|
|
9298
|
+
content: error instanceof Error ? t("Reload failed: {{message}}", { message: error.message }) : t("Reload failed.")
|
|
9299
|
+
};
|
|
9300
|
+
}
|
|
9301
|
+
}, "action")
|
|
9302
|
+
};
|
|
9303
|
+
|
|
9117
9304
|
// packages/cli/src/ui/commands/renameCommand.ts
|
|
9118
9305
|
init_esbuild_shims();
|
|
9119
9306
|
var MAX_TITLE_LENGTH = SESSION_TITLE_MAX_LENGTH;
|
|
@@ -10611,7 +10798,7 @@ import * as os4 from "node:os";
|
|
|
10611
10798
|
import * as path13 from "node:path";
|
|
10612
10799
|
import { exec } from "node:child_process";
|
|
10613
10800
|
import { promisify } from "node:util";
|
|
10614
|
-
var
|
|
10801
|
+
var debugLogger11 = createDebugLogger("TERMINAL_SETUP");
|
|
10615
10802
|
var execAsync = promisify(exec);
|
|
10616
10803
|
function stripJsonComments2(content) {
|
|
10617
10804
|
return content.replace(/^\s*\/\/.*$/gm, "");
|
|
@@ -10644,7 +10831,7 @@ async function detectTerminal() {
|
|
|
10644
10831
|
if (parentName.includes("trae") || parentName.includes("Trae"))
|
|
10645
10832
|
return "trae";
|
|
10646
10833
|
} catch (error) {
|
|
10647
|
-
|
|
10834
|
+
debugLogger11.debug("Parent process detection failed:", error);
|
|
10648
10835
|
}
|
|
10649
10836
|
}
|
|
10650
10837
|
return null;
|
|
@@ -10656,7 +10843,7 @@ async function backupFile(filePath) {
|
|
|
10656
10843
|
const backupPath = `${filePath}.backup.${timestamp}`;
|
|
10657
10844
|
await fs10.copyFile(filePath, backupPath);
|
|
10658
10845
|
} catch (error) {
|
|
10659
|
-
|
|
10846
|
+
debugLogger11.warn(`Failed to create backup of ${filePath}:`, error);
|
|
10660
10847
|
}
|
|
10661
10848
|
}
|
|
10662
10849
|
__name(backupFile, "backupFile");
|
|
@@ -12821,6 +13008,117 @@ var lspCommand = {
|
|
|
12821
13008
|
}, "action")
|
|
12822
13009
|
};
|
|
12823
13010
|
|
|
13011
|
+
// packages/cli/src/ui/commands/update-command.ts
|
|
13012
|
+
init_esbuild_shims();
|
|
13013
|
+
var updateCommand = {
|
|
13014
|
+
name: "update",
|
|
13015
|
+
get description() {
|
|
13016
|
+
return t("Check for Qwen Code updates and install if available");
|
|
13017
|
+
},
|
|
13018
|
+
kind: "built-in" /* BUILT_IN */,
|
|
13019
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
13020
|
+
action: /* @__PURE__ */ __name(async (context) => {
|
|
13021
|
+
const [
|
|
13022
|
+
{ checkForUpdatesDetailed },
|
|
13023
|
+
{ handleAutoUpdate },
|
|
13024
|
+
{ performStandaloneUpdate },
|
|
13025
|
+
installationInfo
|
|
13026
|
+
] = await Promise.all([
|
|
13027
|
+
import("./updateCheck-NKPJGJCR.js"),
|
|
13028
|
+
import("./handleAutoUpdate-FFF3CZGP.js"),
|
|
13029
|
+
import("./standalone-update-X7AZVG5R.js"),
|
|
13030
|
+
import("./installationInfo-4FEZGXIN.js")
|
|
13031
|
+
]);
|
|
13032
|
+
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
13033
|
+
const settings = context.services.settings;
|
|
13034
|
+
const projectRoot = context.services.config?.getProjectRoot();
|
|
13035
|
+
const updateCheck = await checkForUpdatesDetailed();
|
|
13036
|
+
if (updateCheck.status === "up-to-date") {
|
|
13037
|
+
const msg = t("Qwen Code {{version}} is up to date!", {
|
|
13038
|
+
version: updateCheck.currentVersion
|
|
13039
|
+
});
|
|
13040
|
+
return {
|
|
13041
|
+
type: "message",
|
|
13042
|
+
messageType: "info",
|
|
13043
|
+
content: msg
|
|
13044
|
+
};
|
|
13045
|
+
}
|
|
13046
|
+
if (updateCheck.status === "error") {
|
|
13047
|
+
return {
|
|
13048
|
+
type: "message",
|
|
13049
|
+
messageType: "error",
|
|
13050
|
+
content: t(
|
|
13051
|
+
"Failed to check for updates. Please check your network or registry configuration."
|
|
13052
|
+
)
|
|
13053
|
+
};
|
|
13054
|
+
}
|
|
13055
|
+
if (updateCheck.status === "skipped") {
|
|
13056
|
+
return {
|
|
13057
|
+
type: "message",
|
|
13058
|
+
messageType: "error",
|
|
13059
|
+
content: t("Unable to check for updates: {{reason}}", {
|
|
13060
|
+
reason: updateCheck.reason
|
|
13061
|
+
})
|
|
13062
|
+
};
|
|
13063
|
+
}
|
|
13064
|
+
const info = updateCheck.info;
|
|
13065
|
+
const installInfo = getInstallationInfo2(projectRoot || process.cwd(), true);
|
|
13066
|
+
const manualInstructions = /* @__PURE__ */ __name(() => {
|
|
13067
|
+
const lines = [
|
|
13068
|
+
info.message,
|
|
13069
|
+
...formatUpdateInstructions(installInfo, info.update.latest).map(
|
|
13070
|
+
(line) => t(line)
|
|
13071
|
+
)
|
|
13072
|
+
];
|
|
13073
|
+
return {
|
|
13074
|
+
type: "message",
|
|
13075
|
+
messageType: "info",
|
|
13076
|
+
content: lines.join("\n")
|
|
13077
|
+
};
|
|
13078
|
+
}, "manualInstructions");
|
|
13079
|
+
if (context.executionMode === "interactive" && projectRoot) {
|
|
13080
|
+
const isAutoUpdateEnabled = settings.merged.general?.enableAutoUpdate !== false;
|
|
13081
|
+
const canAutoUpdate = installInfo.updateCommand || installInfo.isStandalone && installInfo.standaloneDir;
|
|
13082
|
+
if (isAutoUpdateEnabled && canAutoUpdate) {
|
|
13083
|
+
handleAutoUpdate(info, settings, projectRoot);
|
|
13084
|
+
return;
|
|
13085
|
+
}
|
|
13086
|
+
return manualInstructions();
|
|
13087
|
+
}
|
|
13088
|
+
if (installInfo.isStandalone && installInfo.standaloneDir) {
|
|
13089
|
+
try {
|
|
13090
|
+
const result = await performStandaloneUpdate(
|
|
13091
|
+
installInfo.standaloneDir,
|
|
13092
|
+
info.update.latest
|
|
13093
|
+
);
|
|
13094
|
+
const message = result === "done" ? t(
|
|
13095
|
+
"Update successful! The new version will be used on your next run."
|
|
13096
|
+
) : t(
|
|
13097
|
+
"Update downloaded. It will be applied after you exit this session."
|
|
13098
|
+
);
|
|
13099
|
+
return {
|
|
13100
|
+
type: "message",
|
|
13101
|
+
messageType: "info",
|
|
13102
|
+
content: `${info.message}
|
|
13103
|
+
${t("Downloading update...")}
|
|
13104
|
+
${message}`
|
|
13105
|
+
};
|
|
13106
|
+
} catch (err) {
|
|
13107
|
+
const message = t("Update failed: {{error}}", {
|
|
13108
|
+
error: err instanceof Error ? err.message : String(err)
|
|
13109
|
+
});
|
|
13110
|
+
return {
|
|
13111
|
+
type: "message",
|
|
13112
|
+
messageType: "error",
|
|
13113
|
+
content: `${info.message}
|
|
13114
|
+
${message}`
|
|
13115
|
+
};
|
|
13116
|
+
}
|
|
13117
|
+
}
|
|
13118
|
+
return manualInstructions();
|
|
13119
|
+
}, "action")
|
|
13120
|
+
};
|
|
13121
|
+
|
|
12824
13122
|
// packages/cli/src/services/BuiltinCommandLoader.ts
|
|
12825
13123
|
var builtinDebugLogger = createDebugLogger("BUILTIN_COMMAND_LOADER");
|
|
12826
13124
|
var BuiltinCommandLoader = class {
|
|
@@ -12898,6 +13196,7 @@ var BuiltinCommandLoader = class {
|
|
|
12898
13196
|
...this.config?.getFolderTrust() ? [trustCommand] : [],
|
|
12899
13197
|
quitCommand,
|
|
12900
13198
|
recapCommand,
|
|
13199
|
+
reloadPluginsCommand,
|
|
12901
13200
|
renameCommand,
|
|
12902
13201
|
restoreCommand(this.config),
|
|
12903
13202
|
resumeCommand,
|
|
@@ -12909,6 +13208,7 @@ var BuiltinCommandLoader = class {
|
|
|
12909
13208
|
toolsCommand,
|
|
12910
13209
|
settingsCommand,
|
|
12911
13210
|
vimCommand,
|
|
13211
|
+
updateCommand,
|
|
12912
13212
|
voiceCommand,
|
|
12913
13213
|
setupGithubCommand,
|
|
12914
13214
|
terminalSetupCommand,
|
|
@@ -12929,7 +13229,7 @@ var BuiltinCommandLoader = class {
|
|
|
12929
13229
|
// packages/cli/src/services/BundledSkillLoader.ts
|
|
12930
13230
|
init_esbuild_shims();
|
|
12931
13231
|
import { dirname as dirname2 } from "node:path";
|
|
12932
|
-
var
|
|
13232
|
+
var debugLogger12 = createDebugLogger("BUNDLED_SKILL_LOADER");
|
|
12933
13233
|
var BundledSkillLoader = class {
|
|
12934
13234
|
constructor(config) {
|
|
12935
13235
|
this.config = config;
|
|
@@ -12939,12 +13239,12 @@ var BundledSkillLoader = class {
|
|
|
12939
13239
|
}
|
|
12940
13240
|
async loadCommands(_signal) {
|
|
12941
13241
|
if (this.config?.getBareMode?.()) {
|
|
12942
|
-
|
|
13242
|
+
debugLogger12.debug("Bare mode enabled, skipping bundled skills");
|
|
12943
13243
|
return [];
|
|
12944
13244
|
}
|
|
12945
13245
|
const skillManager = this.config?.getSkillManager();
|
|
12946
13246
|
if (!skillManager) {
|
|
12947
|
-
|
|
13247
|
+
debugLogger12.debug("SkillManager not available, skipping bundled skills");
|
|
12948
13248
|
return [];
|
|
12949
13249
|
}
|
|
12950
13250
|
try {
|
|
@@ -12952,7 +13252,7 @@ var BundledSkillLoader = class {
|
|
|
12952
13252
|
const cronEnabled = this.config?.isCronEnabled() ?? false;
|
|
12953
13253
|
const cronVisible = allSkills.filter((skill) => {
|
|
12954
13254
|
if (!cronEnabled && skill.allowedTools?.some((t2) => t2.startsWith("cron_"))) {
|
|
12955
|
-
|
|
13255
|
+
debugLogger12.debug(
|
|
12956
13256
|
`Hiding skill "${skill.name}" because cron is not enabled`
|
|
12957
13257
|
);
|
|
12958
13258
|
return false;
|
|
@@ -12963,7 +13263,7 @@ var BundledSkillLoader = class {
|
|
|
12963
13263
|
const skills = cronVisible.filter(
|
|
12964
13264
|
(skill) => !disabled.has(skill.name.toLowerCase())
|
|
12965
13265
|
);
|
|
12966
|
-
|
|
13266
|
+
debugLogger12.debug(
|
|
12967
13267
|
`Loaded ${skills.length} bundled skill(s) as slash commands; ${cronVisible.length - skills.length} hidden by skills.disabled`
|
|
12968
13268
|
);
|
|
12969
13269
|
return skills.map((skill) => ({
|
|
@@ -13014,7 +13314,7 @@ ${body}`;
|
|
|
13014
13314
|
}, "action")
|
|
13015
13315
|
}));
|
|
13016
13316
|
} catch (error) {
|
|
13017
|
-
|
|
13317
|
+
debugLogger12.error("Failed to load bundled skills:", error);
|
|
13018
13318
|
return [];
|
|
13019
13319
|
}
|
|
13020
13320
|
}
|
|
@@ -13294,7 +13594,7 @@ var ShellProcessor = class {
|
|
|
13294
13594
|
|
|
13295
13595
|
// packages/cli/src/services/prompt-processors/atFileProcessor.ts
|
|
13296
13596
|
init_esbuild_shims();
|
|
13297
|
-
var
|
|
13597
|
+
var debugLogger13 = createDebugLogger("AT_FILE_PROCESSOR");
|
|
13298
13598
|
var AtFileProcessor = class {
|
|
13299
13599
|
constructor(commandName) {
|
|
13300
13600
|
this.commandName = commandName;
|
|
@@ -13340,7 +13640,7 @@ var AtFileProcessor = class {
|
|
|
13340
13640
|
} catch (error) {
|
|
13341
13641
|
const message = error instanceof Error ? error.message : String(error);
|
|
13342
13642
|
const uiMessage = `Failed to inject content for '@{${pathStr}}': ${message}`;
|
|
13343
|
-
|
|
13643
|
+
debugLogger13.error(
|
|
13344
13644
|
`[AtFileProcessor] ${uiMessage}. Leaving placeholder in prompt.`
|
|
13345
13645
|
);
|
|
13346
13646
|
context.ui.addItem(
|
|
@@ -13365,7 +13665,7 @@ var AtFileProcessor = class {
|
|
|
13365
13665
|
};
|
|
13366
13666
|
|
|
13367
13667
|
// packages/cli/src/services/command-factory.ts
|
|
13368
|
-
var
|
|
13668
|
+
var debugLogger14 = createDebugLogger("COMMAND_FACTORY");
|
|
13369
13669
|
function createSlashCommandFromDefinition(filePath, baseDir, definition, extensionName, fileExtension) {
|
|
13370
13670
|
const relativePathWithExt = path16.relative(baseDir, filePath);
|
|
13371
13671
|
const relativePath = relativePathWithExt.substring(
|
|
@@ -13409,7 +13709,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
|
|
|
13409
13709
|
whenToUse: definition.whenToUse,
|
|
13410
13710
|
action: /* @__PURE__ */ __name(async (context, _args) => {
|
|
13411
13711
|
if (!context.invocation) {
|
|
13412
|
-
|
|
13712
|
+
debugLogger14.error(
|
|
13413
13713
|
`[FileCommandLoader] Critical error: Command '${baseCommandName}' was executed without invocation context.`
|
|
13414
13714
|
);
|
|
13415
13715
|
return {
|
|
@@ -13447,7 +13747,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
|
|
|
13447
13747
|
__name(createSlashCommandFromDefinition, "createSlashCommandFromDefinition");
|
|
13448
13748
|
|
|
13449
13749
|
// packages/cli/src/services/FileCommandLoader.ts
|
|
13450
|
-
var
|
|
13750
|
+
var debugLogger15 = createDebugLogger("FILE_COMMAND_LOADER");
|
|
13451
13751
|
var TomlCommandDefSchema = external_exports.object({
|
|
13452
13752
|
prompt: external_exports.string({
|
|
13453
13753
|
required_error: "The 'prompt' field is required.",
|
|
@@ -13481,7 +13781,7 @@ var FileCommandLoader = class {
|
|
|
13481
13781
|
*/
|
|
13482
13782
|
async loadCommands(signal) {
|
|
13483
13783
|
if (this.config?.getBareMode?.()) {
|
|
13484
|
-
|
|
13784
|
+
debugLogger15.debug("Bare mode enabled, skipping auto-discovered commands");
|
|
13485
13785
|
return [];
|
|
13486
13786
|
}
|
|
13487
13787
|
const allCommands = [];
|
|
@@ -13525,7 +13825,7 @@ var FileCommandLoader = class {
|
|
|
13525
13825
|
const isEnoent = error.code === "ENOENT";
|
|
13526
13826
|
const isAbortError = error instanceof Error && error.name === "AbortError";
|
|
13527
13827
|
if (!isEnoent && !isAbortError) {
|
|
13528
|
-
|
|
13828
|
+
debugLogger15.error(
|
|
13529
13829
|
`[FileCommandLoader] Error loading commands from ${dirInfo.path}:`,
|
|
13530
13830
|
error
|
|
13531
13831
|
);
|
|
@@ -13582,7 +13882,7 @@ var FileCommandLoader = class {
|
|
|
13582
13882
|
}
|
|
13583
13883
|
}
|
|
13584
13884
|
} catch (error) {
|
|
13585
|
-
|
|
13885
|
+
debugLogger15.warn(
|
|
13586
13886
|
`Failed to read extension config for ${ext.name}:`,
|
|
13587
13887
|
error
|
|
13588
13888
|
);
|
|
@@ -13608,7 +13908,7 @@ var FileCommandLoader = class {
|
|
|
13608
13908
|
try {
|
|
13609
13909
|
fileContent = await fs13.readFile(filePath, "utf-8");
|
|
13610
13910
|
} catch (error) {
|
|
13611
|
-
|
|
13911
|
+
debugLogger15.error(
|
|
13612
13912
|
`[FileCommandLoader] Failed to read file ${filePath}:`,
|
|
13613
13913
|
error instanceof Error ? error.message : String(error)
|
|
13614
13914
|
);
|
|
@@ -13618,7 +13918,7 @@ var FileCommandLoader = class {
|
|
|
13618
13918
|
try {
|
|
13619
13919
|
parsed = import_toml.default.parse(fileContent);
|
|
13620
13920
|
} catch (error) {
|
|
13621
|
-
|
|
13921
|
+
debugLogger15.error(
|
|
13622
13922
|
`[FileCommandLoader] Failed to parse TOML file ${filePath}:`,
|
|
13623
13923
|
error instanceof Error ? error.message : String(error)
|
|
13624
13924
|
);
|
|
@@ -13626,7 +13926,7 @@ var FileCommandLoader = class {
|
|
|
13626
13926
|
}
|
|
13627
13927
|
const validationResult = TomlCommandDefSchema.safeParse(parsed);
|
|
13628
13928
|
if (!validationResult.success) {
|
|
13629
|
-
|
|
13929
|
+
debugLogger15.error(
|
|
13630
13930
|
`[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
|
|
13631
13931
|
validationResult.error.flatten()
|
|
13632
13932
|
);
|
|
@@ -13653,7 +13953,7 @@ var FileCommandLoader = class {
|
|
|
13653
13953
|
try {
|
|
13654
13954
|
fileContent = await fs13.readFile(filePath, "utf-8");
|
|
13655
13955
|
} catch (error) {
|
|
13656
|
-
|
|
13956
|
+
debugLogger15.error(
|
|
13657
13957
|
`[FileCommandLoader] Failed to read file ${filePath}:`,
|
|
13658
13958
|
error instanceof Error ? error.message : String(error)
|
|
13659
13959
|
);
|
|
@@ -13663,7 +13963,7 @@ var FileCommandLoader = class {
|
|
|
13663
13963
|
try {
|
|
13664
13964
|
parsed = parseMarkdownCommand(fileContent);
|
|
13665
13965
|
} catch (error) {
|
|
13666
|
-
|
|
13966
|
+
debugLogger15.error(
|
|
13667
13967
|
`[FileCommandLoader] Failed to parse Markdown file ${filePath}:`,
|
|
13668
13968
|
error instanceof Error ? error.message : String(error)
|
|
13669
13969
|
);
|
|
@@ -13671,7 +13971,7 @@ var FileCommandLoader = class {
|
|
|
13671
13971
|
}
|
|
13672
13972
|
const validationResult = MarkdownCommandDefSchema.safeParse(parsed);
|
|
13673
13973
|
if (!validationResult.success) {
|
|
13674
|
-
|
|
13974
|
+
debugLogger15.error(
|
|
13675
13975
|
`[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
|
|
13676
13976
|
validationResult.error.flatten()
|
|
13677
13977
|
);
|
|
@@ -13697,7 +13997,7 @@ var FileCommandLoader = class {
|
|
|
13697
13997
|
|
|
13698
13998
|
// packages/cli/src/services/saved-workflow-loader.ts
|
|
13699
13999
|
init_esbuild_shims();
|
|
13700
|
-
var
|
|
14000
|
+
var debugLogger16 = createDebugLogger("SavedWorkflowLoader");
|
|
13701
14001
|
var SavedWorkflowLoader = class {
|
|
13702
14002
|
constructor(config) {
|
|
13703
14003
|
this.config = config;
|
|
@@ -13716,7 +14016,7 @@ var SavedWorkflowLoader = class {
|
|
|
13716
14016
|
try {
|
|
13717
14017
|
entries = await listSavedWorkflows(this.config);
|
|
13718
14018
|
} catch (e) {
|
|
13719
|
-
|
|
14019
|
+
debugLogger16.debug(`listSavedWorkflows failed: ${e}`);
|
|
13720
14020
|
return [];
|
|
13721
14021
|
}
|
|
13722
14022
|
if (signal.aborted) return [];
|
|
@@ -13813,7 +14113,7 @@ var McpPromptLoader = class {
|
|
|
13813
14113
|
return {
|
|
13814
14114
|
type: "message",
|
|
13815
14115
|
messageType: "info",
|
|
13816
|
-
content: `Prompt "${prompt.name}" has no arguments.`
|
|
14116
|
+
content: `Prompt "${prompt.name}" has no declared arguments. Any text you provide will be forwarded as-is (e.g., /${prompt.name} some text sends { input: "some text" }).`
|
|
13817
14117
|
};
|
|
13818
14118
|
}
|
|
13819
14119
|
let helpMessage = `Arguments for "${prompt.name}":
|
|
@@ -13980,7 +14280,12 @@ var McpPromptLoader = class {
|
|
|
13980
14280
|
while ((match = positionalArgRegex.exec(positionalArgsString)) !== null) {
|
|
13981
14281
|
positionalArgs.push((match[1] ?? match[2]).replace(/\\(.)/g, "$1"));
|
|
13982
14282
|
}
|
|
13983
|
-
if (!promptArgs) {
|
|
14283
|
+
if (!promptArgs || promptArgs.length === 0) {
|
|
14284
|
+
Object.assign(promptInputs, argValues);
|
|
14285
|
+
const positionalInput = positionalArgs.join(" ");
|
|
14286
|
+
if (positionalInput && !Object.hasOwn(argValues, "input")) {
|
|
14287
|
+
promptInputs["input"] = positionalInput;
|
|
14288
|
+
}
|
|
13984
14289
|
return promptInputs;
|
|
13985
14290
|
}
|
|
13986
14291
|
for (const arg of promptArgs) {
|
|
@@ -14014,7 +14319,7 @@ var McpPromptLoader = class {
|
|
|
14014
14319
|
// packages/cli/src/services/SkillCommandLoader.ts
|
|
14015
14320
|
init_esbuild_shims();
|
|
14016
14321
|
import { dirname as dirname3 } from "node:path";
|
|
14017
|
-
var
|
|
14322
|
+
var debugLogger17 = createDebugLogger("SKILL_COMMAND_LOADER");
|
|
14018
14323
|
var SkillCommandLoader = class {
|
|
14019
14324
|
constructor(config) {
|
|
14020
14325
|
this.config = config;
|
|
@@ -14024,12 +14329,12 @@ var SkillCommandLoader = class {
|
|
|
14024
14329
|
}
|
|
14025
14330
|
async loadCommands(_signal) {
|
|
14026
14331
|
if (this.config?.getBareMode?.()) {
|
|
14027
|
-
|
|
14332
|
+
debugLogger17.debug("Bare mode enabled, skipping skill commands");
|
|
14028
14333
|
return [];
|
|
14029
14334
|
}
|
|
14030
14335
|
const skillManager = this.config?.getSkillManager();
|
|
14031
14336
|
if (!skillManager) {
|
|
14032
|
-
|
|
14337
|
+
debugLogger17.debug("SkillManager not available, skipping skill commands");
|
|
14033
14338
|
return [];
|
|
14034
14339
|
}
|
|
14035
14340
|
try {
|
|
@@ -14046,7 +14351,7 @@ var SkillCommandLoader = class {
|
|
|
14046
14351
|
const nonUserInvocableCount = visibleSkills.filter(
|
|
14047
14352
|
(skill) => skill.userInvocable === false
|
|
14048
14353
|
).length;
|
|
14049
|
-
|
|
14354
|
+
debugLogger17.debug(
|
|
14050
14355
|
`Loaded ${userSkills.length} user + ${projectSkills.length} project + ${extensionSkills.length} extension skill(s) as slash commands; ${allSkills.length - visibleSkills.length} hidden by skills.disabled; ${nonUserInvocableCount} marked non-user-invocable`
|
|
14051
14356
|
);
|
|
14052
14357
|
return visibleSkills.map((skill) => {
|
|
@@ -14069,7 +14374,8 @@ var SkillCommandLoader = class {
|
|
|
14069
14374
|
name: skill.name,
|
|
14070
14375
|
description: skill.description,
|
|
14071
14376
|
body: skill.body,
|
|
14072
|
-
level: skill.level
|
|
14377
|
+
level: skill.level,
|
|
14378
|
+
...isExtension && skill.extensionName ? { extensionName: skill.extensionName } : {}
|
|
14073
14379
|
},
|
|
14074
14380
|
action: /* @__PURE__ */ __name(async (context, _args) => {
|
|
14075
14381
|
applySkillAllowedTools(
|
|
@@ -14089,7 +14395,7 @@ var SkillCommandLoader = class {
|
|
|
14089
14395
|
};
|
|
14090
14396
|
});
|
|
14091
14397
|
} catch (error) {
|
|
14092
|
-
|
|
14398
|
+
debugLogger17.error("Failed to load skill commands:", error);
|
|
14093
14399
|
return [];
|
|
14094
14400
|
}
|
|
14095
14401
|
}
|
|
@@ -14164,7 +14470,7 @@ function formatUserPromptExpansionBlockedMessage(reason) {
|
|
|
14164
14470
|
__name(formatUserPromptExpansionBlockedMessage, "formatUserPromptExpansionBlockedMessage");
|
|
14165
14471
|
|
|
14166
14472
|
// packages/cli/src/nonInteractiveCliCommands.ts
|
|
14167
|
-
var
|
|
14473
|
+
var debugLogger18 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
|
|
14168
14474
|
function getSkillCommandName(command) {
|
|
14169
14475
|
return command.skillDetail?.name ?? command.name;
|
|
14170
14476
|
}
|
|
@@ -14567,14 +14873,14 @@ var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mo
|
|
|
14567
14873
|
);
|
|
14568
14874
|
return commandService.getCommandsForMode(mode);
|
|
14569
14875
|
} catch (error) {
|
|
14570
|
-
|
|
14876
|
+
debugLogger18.error("Error loading available commands:", error);
|
|
14571
14877
|
return [];
|
|
14572
14878
|
}
|
|
14573
14879
|
}, "getAvailableCommands");
|
|
14574
14880
|
|
|
14575
14881
|
// packages/cli/src/utils/nonInteractiveHelpers.ts
|
|
14576
14882
|
init_esbuild_shims();
|
|
14577
|
-
var
|
|
14883
|
+
var debugLogger19 = createDebugLogger("NON_INTERACTIVE");
|
|
14578
14884
|
function normalizePartList(parts) {
|
|
14579
14885
|
if (!parts) {
|
|
14580
14886
|
return [];
|
|
@@ -14672,7 +14978,7 @@ async function loadSlashCommandNames(config) {
|
|
|
14672
14978
|
);
|
|
14673
14979
|
return commands.map((cmd) => cmd.name).sort();
|
|
14674
14980
|
} catch (error) {
|
|
14675
|
-
|
|
14981
|
+
debugLogger19.error(
|
|
14676
14982
|
"[buildSystemMessage] Failed to load slash commands:",
|
|
14677
14983
|
error
|
|
14678
14984
|
);
|
|
@@ -14697,7 +15003,7 @@ async function buildSystemMessage(config, sessionId, permissionMode) {
|
|
|
14697
15003
|
const subagents = await subagentManager.listSubagents();
|
|
14698
15004
|
agentNames = subagents.map((subagent) => subagent.name);
|
|
14699
15005
|
} catch (error) {
|
|
14700
|
-
|
|
15006
|
+
debugLogger19.error("[buildSystemMessage] Failed to load subagents:", error);
|
|
14701
15007
|
}
|
|
14702
15008
|
const systemMessage = {
|
|
14703
15009
|
type: "system",
|
|
@@ -14883,6 +15189,7 @@ export {
|
|
|
14883
15189
|
createEmptyHookEventInfo,
|
|
14884
15190
|
addConfigToMatcherGroup,
|
|
14885
15191
|
getAllConfigs,
|
|
15192
|
+
refreshExtensionContentRuntime,
|
|
14886
15193
|
BuiltinCommandLoader,
|
|
14887
15194
|
BundledSkillLoader,
|
|
14888
15195
|
FileCommandLoader,
|