@qwen-code/qwen-code 0.21.13 → 0.21.14-nightly.20260821.9f2342d323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +13 -7
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +1 -1
- package/bundled/qc-helper/docs/features/code-review.md +24 -2
- package/bundled/qc-helper/docs/features/commands.md +120 -8
- package/bundled/qc-helper/docs/features/sub-agents.md +2 -2
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +21 -4
- package/bundled/review/SKILL.md +111 -61
- package/chunks/{MaxSizedBox-UQALOVVT.js → MaxSizedBox-RMLYJGA7.js} +46 -45
- package/chunks/{StandaloneSessionPicker-KEGXNUG6.js → StandaloneSessionPicker-TP2BMINQ.js} +67 -66
- package/chunks/{acp-startup-profiler-NMDXYGDN.js → acp-startup-profiler-DDVSJKJK.js} +2 -2
- package/chunks/{acpAgent-XPES32S7.js → acpAgent-URLACEQ5.js} +1032 -216
- package/chunks/{agent-DPTOZFEM.js → agent-4Y422A4P.js} +42 -41
- package/chunks/agent-headless-JWTMXLQV.js +88 -0
- package/chunks/{anthropicContentGenerator-G7BVXTKN.js → anthropicContentGenerator-CU3G53RX.js} +9 -9
- package/chunks/{artifact-tool-GEXTOPVO.js → artifact-tool-LIUSI4XK.js} +3 -3
- package/chunks/{askUserQuestion-B33XRSB7.js → askUserQuestion-454X3UIV.js} +3 -3
- package/chunks/{bridge-YNQBAA4Z.js → bridge-456ODTCP.js} +48 -46
- package/chunks/{ca-4CQ6MYNQ.js → ca-SLZJD6QH.js} +8 -0
- package/chunks/{channel-management-service-GWY2GAIC.js → channel-management-service-KHPAWCX7.js} +1 -1
- package/chunks/{channel-settings-store-WNWYFHG7.js → channel-settings-store-FRSCHVO2.js} +50 -49
- package/chunks/{channel-worker-group-7LXCMZ77.js → channel-worker-group-IN2UPYHP.js} +6 -5
- package/chunks/{channel-worker-manager-RYEME4ZZ.js → channel-worker-manager-4CQPHVD4.js} +6 -5
- package/chunks/{channel-worker-supervisor-OEVWBHGT.js → channel-worker-supervisor-CPPSL7ZH.js} +4 -3
- package/chunks/{chunk-3EZLLVDF.js → chunk-263JC66E.js} +3 -3
- package/chunks/{chunk-TIGA2IVL.js → chunk-2GM44E7D.js} +10 -298
- package/chunks/{chunk-PQ36L4F5.js → chunk-2UNEPJQK.js} +1 -1
- package/chunks/{chunk-X26JYGTD.js → chunk-2VH3QVLW.js} +1 -1
- package/chunks/{chunk-YEYY7TEP.js → chunk-2ZNQRS2Q.js} +7 -7
- package/chunks/{chunk-WGHHA7ZH.js → chunk-3C55EUJX.js} +1 -1
- package/chunks/{chunk-25EYDK42.js → chunk-3EQHT3IC.js} +2 -2
- package/chunks/{chunk-BHILXOC3.js → chunk-435GZDTF.js} +3 -3
- package/chunks/{chunk-GMIEIY3Y.js → chunk-47VTGCYK.js} +3 -3
- package/chunks/{chunk-MA2HEDVP.js → chunk-4CKU5K2R.js} +1 -1
- package/chunks/{chunk-EZ5RP345.js → chunk-4FP3IZQD.js} +41 -10
- package/chunks/{chunk-IWPYVAO2.js → chunk-4HUYO5AU.js} +3 -3
- package/chunks/{chunk-4PKCUT7F.js → chunk-4JORWK55.js} +7 -7
- package/chunks/{chunk-MIPFDQAF.js → chunk-4W4BROUS.js} +1 -1
- package/chunks/{chunk-A4MFR4C5.js → chunk-55P2ESI6.js} +3 -5
- package/chunks/{chunk-CHHABXPE.js → chunk-5AAW6E3C.js} +1 -1
- package/chunks/{chunk-KD5BOPLP.js → chunk-5I2U4PDY.js} +107 -13
- package/chunks/{chunk-NWNEANAT.js → chunk-5M7YKTYX.js} +6 -6
- package/chunks/{chunk-M732YJPW.js → chunk-5MA4E4EG.js} +3 -3
- package/chunks/{chunk-TS6625XH.js → chunk-5MK45KZ3.js} +9 -5
- package/chunks/{chunk-JUEPY766.js → chunk-5QYE546S.js} +3 -3
- package/chunks/{chunk-6ORZ2EDC.js → chunk-5YD2D6G6.js} +3 -3
- package/chunks/{chunk-ZYBBISBY.js → chunk-66A2RG5S.js} +21 -18
- package/chunks/{chunk-5EYKMUUY.js → chunk-6JLZBBCY.js} +1 -1
- package/chunks/{chunk-CPHEPGAO.js → chunk-722JBVVW.js} +1 -1
- package/chunks/{chunk-JNDY2MDR.js → chunk-72AVWAUA.js} +1 -1
- package/chunks/{chunk-JOOFMXGF.js → chunk-7EYDW732.js} +6 -6
- package/chunks/chunk-7NLDU6J2.js +367 -0
- package/chunks/{chunk-OVZPVYZB.js → chunk-7S22SX2L.js} +96 -18
- package/chunks/{chunk-XUJNK7Y6.js → chunk-7WVB4FMG.js} +1 -1
- package/chunks/{chunk-CKSJECTU.js → chunk-A7NBZBGQ.js} +9 -5
- package/chunks/{chunk-QNQAPSN2.js → chunk-AQFWV4YF.js} +4 -1
- package/chunks/{chunk-P7MPQI75.js → chunk-B5LEKTE7.js} +2 -2
- package/chunks/{chunk-4S5337WV.js → chunk-BB3FKSIJ.js} +6230 -3113
- package/chunks/{chunk-GGDBMYGZ.js → chunk-CU34U3PZ.js} +5 -5
- package/chunks/{chunk-A267JX7H.js → chunk-CWFIQLCV.js} +7 -7
- package/chunks/{chunk-MS7GNABG.js → chunk-CXJHQVEK.js} +8 -0
- package/chunks/{chunk-4NFY2S7N.js → chunk-E7REAOTN.js} +15 -0
- package/chunks/{chunk-DXIBNLBZ.js → chunk-EB27VF5Z.js} +2 -2
- package/chunks/{chunk-XHRY7BXD.js → chunk-ELA3DNCT.js} +4 -4
- package/chunks/{chunk-PP4FUZNV.js → chunk-EOFGNAK3.js} +2 -2
- package/chunks/{chunk-ZZO74WKW.js → chunk-ET5FGCN3.js} +115 -28
- package/chunks/{chunk-RVOJ2FBP.js → chunk-EXY6APEA.js} +1540 -10597
- package/chunks/{chunk-NM5V5OVW.js → chunk-F47TIWWH.js} +3 -3
- package/chunks/{chunk-DGZEMW5R.js → chunk-F5JZDC4O.js} +3 -3
- package/chunks/{chunk-6QFDQMQX.js → chunk-F7ZK5VMA.js} +1 -1
- package/chunks/{chunk-2B2BF7P7.js → chunk-FAIJ5UIU.js} +3 -3
- package/chunks/{chunk-QRCNA3SR.js → chunk-FQRYG6XX.js} +50 -70
- package/chunks/{chunk-AXN7UPYQ.js → chunk-FQZBD3PY.js} +2 -2
- package/chunks/{chunk-XIT3GURH.js → chunk-FSYI56UV.js} +3 -3
- package/chunks/{chunk-UKMR3CKV.js → chunk-FU7KPUCT.js} +22 -7
- package/chunks/{chunk-BZ263IKX.js → chunk-G32ESUUC.js} +1 -1
- package/chunks/{chunk-Y3YCSWG5.js → chunk-G64PEZZ5.js} +2 -2
- package/chunks/{chunk-NEFOOD54.js → chunk-GL5X57U7.js} +3 -3
- package/chunks/{chunk-QUGAUQGJ.js → chunk-GX2THELY.js} +1 -0
- package/chunks/{chunk-FAAUPSY2.js → chunk-HEMFCAHG.js} +1 -1
- package/chunks/{chunk-AZQ3DT76.js → chunk-HGGMEDDY.js} +2 -2
- package/chunks/{chunk-BKPPWD33.js → chunk-HHHXD5XY.js} +22 -2
- package/chunks/{chunk-SG7ZP5PG.js → chunk-HHNSO2Y4.js} +4 -4
- package/chunks/{chunk-6YKYPVDV.js → chunk-HLW3JCZR.js} +4 -4
- package/chunks/{chunk-O4D7SPJN.js → chunk-HYLQQAQB.js} +3 -3
- package/chunks/{chunk-MRMJCLIY.js → chunk-I5DOIT4L.js} +3 -3
- package/chunks/{chunk-TUGSVUJB.js → chunk-IN55HSUI.js} +6 -6
- package/chunks/{chunk-N5YPT6PH.js → chunk-IUBZQVZW.js} +20 -8
- package/chunks/{chunk-OY5RNSV4.js → chunk-IVELVL56.js} +3 -3
- package/chunks/{chunk-LJQAUZMR.js → chunk-IVFPNU4O.js} +1338 -115
- package/chunks/{chunk-WFSTRPRO.js → chunk-J2LZ5OCH.js} +3 -3
- package/chunks/{chunk-OMLJNPBE.js → chunk-JBSW7JA6.js} +84 -4
- package/chunks/{chunk-NTTBXH7U.js → chunk-JS73NNWF.js} +8 -0
- package/chunks/{chunk-2M55OBEB.js → chunk-JV443R5X.js} +1 -1
- package/chunks/{chunk-V57QC6WW.js → chunk-KCUGOZPL.js} +7 -5
- package/chunks/{chunk-GO7STP6N.js → chunk-KK2S7MIH.js} +4 -4
- package/chunks/{chunk-IGGGG5CX.js → chunk-KW2JLCIF.js} +14868 -9301
- package/chunks/{chunk-KV27IEHM.js → chunk-L5JHSPET.js} +1 -1
- package/chunks/{chunk-M6NDLY2T.js → chunk-LD5VIJ7S.js} +1 -1
- package/chunks/{chunk-RIAABG2K.js → chunk-LGA4VING.js} +2 -2
- package/chunks/chunk-LJZSMWOH.js +18 -0
- package/chunks/{chunk-7UXUJ5T3.js → chunk-LMQWI7GK.js} +1 -1
- package/chunks/{chunk-IA2K2HJE.js → chunk-M53UJS6H.js} +2 -2
- package/chunks/{chunk-KBXKR5R2.js → chunk-M5AIO24H.js} +1 -1
- package/chunks/{chunk-ROIYNTHJ.js → chunk-MD7XDTW7.js} +3 -3
- package/chunks/chunk-MGEWDLRO.js +9169 -0
- package/chunks/{chunk-V26NVGAU.js → chunk-MMUAUHOT.js} +8 -3
- package/chunks/{chunk-NNHNLJ2X.js → chunk-NCLV2VQ2.js} +291 -57
- package/chunks/{chunk-AW4TRXOC.js → chunk-NCNEK4XO.js} +1 -1
- package/chunks/{chunk-YP5KH5Y7.js → chunk-ND7NOI4P.js} +1 -1
- package/chunks/{chunk-4W5U2TUT.js → chunk-NGY7B7VF.js} +1 -1
- package/chunks/chunk-NPKNGJVM.js +367 -0
- package/chunks/{chunk-O565M6A4.js → chunk-NYN4RD3K.js} +260 -16
- package/chunks/{chunk-OXCMMLED.js → chunk-O327G3QW.js} +3 -3
- package/chunks/chunk-O75QDGQF.js +757 -0
- package/chunks/{chunk-6HY6IF3Z.js → chunk-OUYRA764.js} +1 -1
- package/chunks/{chunk-QF2NHSPB.js → chunk-PGXIK6O7.js} +252 -203
- package/chunks/{chunk-H4A72DE5.js → chunk-PTMVPFCZ.js} +1 -1
- package/chunks/{chunk-QFJ5JHQR.js → chunk-PXOIRYE5.js} +1 -1
- package/chunks/{chunk-AFSG32D5.js → chunk-Q3ERPVRE.js} +1 -1
- package/chunks/{chunk-CU6GJD55.js → chunk-Q6BRKUVQ.js} +1 -1
- package/chunks/{chunk-FDGGZIYW.js → chunk-Q6ETBOWF.js} +3 -3
- package/chunks/{chunk-3U3VAL47.js → chunk-QIKHRDDI.js} +1 -1
- package/chunks/chunk-QJCELOZU.js +3969 -0
- package/chunks/{chunk-S5DWMTHO.js → chunk-QQUVPMMZ.js} +2 -0
- package/chunks/{chunk-AS5IN4GK.js → chunk-R7M2DT6C.js} +5 -5
- package/chunks/{chunk-E23IPNGS.js → chunk-RURBZWWE.js} +13 -4
- package/chunks/{chunk-QV5YN5YD.js → chunk-RWVKE7TY.js} +5 -5
- package/chunks/{chunk-EL5SXY3T.js → chunk-RZ4PE3ER.js} +512 -24
- package/chunks/{chunk-76J3IJ3M.js → chunk-S5UTXHQ2.js} +8 -8
- package/chunks/{chunk-DGK6P3BQ.js → chunk-SBTARO34.js} +12 -12
- package/chunks/{chunk-ZYYTZUI2.js → chunk-SWBBY37C.js} +3 -3
- package/chunks/{chunk-YZHRN3CF.js → chunk-SWOKDPS5.js} +2 -2
- package/chunks/{chunk-WSH6GRKG.js → chunk-T2LUUKRI.js} +3 -3
- package/chunks/{chunk-U3VNBPUO.js → chunk-T5FEH4Y6.js} +3 -3
- package/chunks/{chunk-5CVO7YES.js → chunk-U4GL4WDY.js} +1 -1
- package/chunks/{chunk-CZBYX5MY.js → chunk-U53XZHAE.js} +1 -1
- package/chunks/{chunk-HIBNSEJE.js → chunk-UDG5EZJI.js} +0 -2
- package/chunks/{chunk-HUTNYWBG.js → chunk-US5URWKX.js} +19 -11
- package/chunks/{chunk-NHDR76JX.js → chunk-V4UBYT3Y.js} +1 -1
- package/chunks/{chunk-BVJS5BSP.js → chunk-V4WAOF4Q.js} +1 -1
- package/chunks/{chunk-QIH2HAEN.js → chunk-VCC5DHYW.js} +1 -1
- package/chunks/{chunk-PT4I7NBA.js → chunk-VX7TFATF.js} +1 -1
- package/chunks/{chunk-AA2BEKV3.js → chunk-W4MLKRZD.js} +3 -3
- package/chunks/{chunk-UZPM4XHR.js → chunk-W6WLZPTS.js} +29 -8
- package/chunks/{chunk-A4QRWUDE.js → chunk-WAPL2PHU.js} +2 -2
- package/chunks/{chunk-MC4TLKEI.js → chunk-WT3Z5SL7.js} +3 -3
- package/chunks/{chunk-OD2WU5QY.js → chunk-WXFFCRKG.js} +1 -1
- package/chunks/chunk-WZAD4ZNJ.js +59 -0
- package/chunks/{chunk-E3DYKPYZ.js → chunk-X7EQHW5L.js} +3 -3
- package/chunks/{chunk-BUQDLC2G.js → chunk-XFRYCCVC.js} +3 -3
- package/chunks/{chunk-OOQUVWIG.js → chunk-XH6WJMTT.js} +4 -4
- package/chunks/{chunk-46UV252V.js → chunk-YHC2EYYG.js} +35 -38
- package/chunks/{chunk-SXCOEJO4.js → chunk-YLFFVY3G.js} +1 -1
- package/chunks/{chunk-YZOSNW4R.js → chunk-YO7PNVBJ.js} +1 -1
- package/chunks/{chunk-MLPXSYXR.js → chunk-ZTZYFBDJ.js} +57 -23
- package/chunks/{chunk-RWDNJBWN.js → chunk-ZUISK67X.js} +2 -2
- package/chunks/{chunk-XLLKYULU.js → chunk-ZWWU6KNS.js} +2 -2
- package/chunks/{computer-use-77C5FHMW.js → computer-use-OVDA2R3V.js} +42 -41
- package/chunks/{config-utils-IVHRSXWI.js → config-utils-XJTGZVY3.js} +2 -2
- package/chunks/{contextCommand-PJ77GBWL.js → contextCommand-BSQVCK23.js} +44 -43
- package/chunks/{core-runtime-7VMIKUTG.js → core-runtime-Y7LAUJAL.js} +47 -45
- package/chunks/{create-sub-session-KRQULJE6.js → create-sub-session-TCKWBXEM.js} +6 -4
- package/chunks/{create-sub-session-2L5MQRN4.js → create-sub-session-X6I4CJEB.js} +46 -44
- package/chunks/{cron-create-H7UEPDSN.js → cron-create-PUCRMWQ6.js} +5 -5
- package/chunks/{cron-delete-6SZK7YFM.js → cron-delete-EOQR5CXU.js} +5 -5
- package/chunks/{cron-list-H25JIHEZ.js → cron-list-7O22SQBF.js} +5 -5
- package/chunks/{daemon-2KTG7ZBN.js → daemon-JE2UIWSY.js} +605 -126
- package/chunks/{daemon-git-worktree-guard-DXYIMWFT.js → daemon-git-worktree-guard-7N3WA5AD.js} +44 -43
- package/chunks/daemon-status-provider-3EKY2CPY.js +104 -0
- package/chunks/daemon-trust-policy-MPGOOA4D.js +100 -0
- package/chunks/{daemon-trust-policy-monitor-RYYGCQ3J.js → daemon-trust-policy-monitor-XOYVXZZF.js} +49 -48
- package/chunks/{de-UBEBKG6V.js → de-AH4LGCF5.js} +8 -0
- package/chunks/{deferred-core-runtime-3SGXFXEQ.js → deferred-core-runtime-ZIC63QJI.js} +42 -41
- package/chunks/{discovery-ORA5J7YP.js → discovery-X2NV535U.js} +1 -1
- package/chunks/{display-image-ON3EYFRD.js → display-image-6FCICTXS.js} +5 -5
- package/chunks/{dist-WJ4BHIEW.js → dist-ESS34DHC.js} +72 -0
- package/chunks/{dist-IYYN3RUT.js → dist-IELOWDOT.js} +81 -17
- package/chunks/{earlyInputCapture-KJMLFVQV.js → earlyInputCapture-6PKRH7MU.js} +43 -42
- package/chunks/{edit-I4LQFAEC.js → edit-5DDFP3AH.js} +46 -44
- package/chunks/{en-X6YV7GME.js → en-MD3GP5YL.js} +8 -0
- package/chunks/{enter-worktree-YNPOJSRH.js → enter-worktree-HFAXRXK3.js} +42 -41
- package/chunks/{enterPlanMode-XCPK62ER.js → enterPlanMode-BVNIJL57.js} +42 -41
- package/chunks/{environment-S7CTIHMX.js → environment-OHFZYW6D.js} +45 -44
- package/chunks/{errors-7HB2AIDS.js → errors-4TJAIIT4.js} +44 -43
- package/chunks/{exit-worktree-AIIY7SR6.js → exit-worktree-FAAYNE2Y.js} +42 -41
- package/chunks/exitPlanMode-63V5CETU.js +86 -0
- package/chunks/{fast-path-NDJV3ZFJ.js → fast-path-FH4SUXTG.js} +3 -3
- package/chunks/{fast-path-settings-LNOFM2YP.js → fast-path-settings-WHX3J3ZI.js} +2 -2
- package/chunks/{fr-VENTC2BS.js → fr-ZEML2JWS.js} +8 -0
- package/chunks/{gemini-RSUFP5OE.js → gemini-C5HA6K5L.js} +87 -85
- package/chunks/{geminiContentGenerator-SQ5XBPZ7.js → geminiContentGenerator-WVTSKFNG.js} +7 -7
- package/chunks/{getMachineId-bsd-FG7IUY6U.js → getMachineId-bsd-LSY4WMOF.js} +1 -1
- package/chunks/{getMachineId-darwin-GLCJI2RA.js → getMachineId-darwin-JOFR4UIT.js} +1 -1
- package/chunks/{getMachineId-linux-O6OPPAKO.js → getMachineId-linux-QEDBS6GI.js} +1 -1
- package/chunks/{getMachineId-unsupported-S6CKYVGC.js → getMachineId-unsupported-IPZ3YRKP.js} +1 -1
- package/chunks/{getMachineId-win-X5SRNEH7.js → getMachineId-win-TJ2OZ7AA.js} +1 -1
- package/chunks/{glob-J4RUJAHX.js → glob-AISOKCVH.js} +42 -41
- package/chunks/{goal-tools-VHTNVOKK.js → goal-tools-YIADM4RZ.js} +5 -5
- package/chunks/{grep-VJWPLFOT.js → grep-SQ5LKL2Z.js} +42 -41
- package/chunks/handleAutoUpdate-5VI7HJSD.js +97 -0
- package/chunks/{i18n-RM5YOICI.js → i18n-US3PUOEU.js} +43 -42
- package/chunks/{image-gen-EXECB5XM.js → image-gen-NIHZWV2E.js} +11 -11
- package/chunks/initializer-IUINTP3J.js +101 -0
- package/chunks/installationInfo-YYG4O7ZW.js +95 -0
- package/chunks/{ja-QHT4EQTO.js → ja-UM5B2HMD.js} +8 -0
- package/chunks/{keychain-token-storage-3XFJ5ZB2.js → keychain-token-storage-7SL4ZWQQ.js} +3 -3
- package/chunks/list-5F2IF6XW.js +104 -0
- package/chunks/{list-agents-OSVDFI6S.js → list-agents-XO4EONWC.js} +6 -6
- package/chunks/loadedSettingsAdapter-Q4EUE7G3.js +98 -0
- package/chunks/{loggingContentGenerator-WF4ZOJEZ.js → loggingContentGenerator-J3ZLTYWK.js} +24 -22
- package/chunks/{loop-wakeup-WQS6JYAG.js → loop-wakeup-HWSTFUTQ.js} +6 -6
- package/chunks/{ls-D3HUFHDP.js → ls-52HUW4B6.js} +5 -5
- package/chunks/{lsp-3QDDJTCS.js → lsp-VJESYEC6.js} +3 -3
- package/chunks/{managed-npm-update-E7IW6N7V.js → managed-npm-update-VL65AY3F.js} +43 -42
- package/chunks/mcp-XNHCJ46S.js +98 -0
- package/chunks/{monitor-EE2UYMGE.js → monitor-ZPBRRMEZ.js} +42 -41
- package/chunks/nonInteractiveCli-JMQPKOGW.js +166 -0
- package/chunks/{notebook-edit-NTDY4QDU.js → notebook-edit-XGJSZF4B.js} +46 -44
- package/chunks/{openaiContentGenerator-YNFVJMRJ.js → openaiContentGenerator-I3E4ROO3.js} +27 -27
- package/chunks/{pidfile-4XSFLYBZ.js → pidfile-XEAQP2SF.js} +43 -42
- package/chunks/{processUtils-WDA2MJFD.js → processUtils-VDWCC2EG.js} +2 -2
- package/chunks/prompt-terminal-ledger-65IC2FMD.js +93 -0
- package/chunks/{pt-VL3I5RNY.js → pt-5BMJ3XYH.js} +8 -0
- package/chunks/{qwenContentGenerator-434M7QKY.js → qwenContentGenerator-KOOZMLSO.js} +47 -46
- package/chunks/{qwenOAuth2-GMYZOO6A.js → qwenOAuth2-U4YR6336.js} +10 -10
- package/chunks/read-file-OKXMPF26.js +33 -0
- package/chunks/{read-mcp-resource-XD54ZQMC.js → read-mcp-resource-6VFF47Z3.js} +3 -3
- package/chunks/{record-artifact-SEYFJEJF.js → record-artifact-TJTN2GBV.js} +6 -4
- package/chunks/{resumeHistoryUtils-EVG3WYK2.js → resumeHistoryUtils-KZ4WMN4X.js} +48 -47
- package/chunks/ripGrep-WNJNHFT2.js +86 -0
- package/chunks/{ru-4RCKL4PY.js → ru-6GL66ORV.js} +8 -0
- package/chunks/{run-qwen-serve-3QSGRXAN.js → run-qwen-serve-OEJXD7MP.js} +518 -165
- package/chunks/{runtime-5MLLZ7DC.js → runtime-GT6OSKRA.js} +52 -51
- package/chunks/{scheduler-RPBJ63CH.js → scheduler-RU43AF2U.js} +44 -43
- package/chunks/{sdk-exporters-grpc-54L4LS5L.js → sdk-exporters-grpc-P3LA24AV.js} +3 -3
- package/chunks/{sdk-exporters-http-XUVP63H6.js → sdk-exporters-http-K3LH2SD7.js} +9 -11
- package/chunks/{sdk-impl-YXUEN2Z2.js → sdk-impl-WCUNMLVX.js} +11 -6
- package/chunks/{send-message-VZENRWRH.js → send-message-NUK5DTTI.js} +8 -8
- package/chunks/{serve-HS3XLPXU.js → serve-MDBHMCPP.js} +49 -50
- package/chunks/{server-TC4A7AAZ.js → server-G74J2RX7.js} +2158 -335
- package/chunks/{session-UBOFXVMN.js → session-SL5MCQXT.js} +86 -83
- package/chunks/{settings-D5644OM5.js → settings-XOM7I3VJ.js} +48 -47
- package/chunks/{shell-3PZULQQV.js → shell-HPMWXBSK.js} +42 -41
- package/chunks/{skill-PEVVXQ3L.js → skill-VLNJXFWG.js} +20 -18
- package/chunks/{skill-settings-J65JKKES.js → skill-settings-6AALKNDB.js} +48 -47
- package/chunks/{spawnChannel-IYGXRHSQ.js → spawnChannel-3EGRCUFM.js} +44 -43
- package/chunks/{standalone-update-IFM53PE7.js → standalone-update-CFQXGTAC.js} +44 -43
- package/chunks/{startInteractiveUI-3AVH7L6H.js → startInteractiveUI-4G2FCU2Q.js} +505 -280
- package/chunks/{syntheticOutput-7GWFIDXT.js → syntheticOutput-GZV6O6UL.js} +4 -4
- package/chunks/{task-create-FCBDX7UH.js → task-create-BXGKNND4.js} +11 -11
- package/chunks/{task-list-YIYIUFUA.js → task-list-4ZMIDYGD.js} +21 -7
- package/chunks/{task-stop-X37KYTKB.js → task-stop-WBO7LWTS.js} +3 -3
- package/chunks/{task-update-MYPFVOVM.js → task-update-UFO3BI7O.js} +86 -15
- package/chunks/{team-create-ZAIA7KAV.js → team-create-MOKIG2MP.js} +43 -43
- package/chunks/{team-delete-6UMU4XLS.js → team-delete-OCFJS444.js} +6 -6
- package/chunks/{team-plan-approval-UNIUS7OD.js → team-plan-approval-4VRYT5LD.js} +42 -41
- package/chunks/{terminal-image-renderer-G343P2RV.js → terminal-image-renderer-76H4ZJ2P.js} +44 -43
- package/chunks/theme-manager-6NNEHUB3.js +90 -0
- package/chunks/{todoWrite-U2R4NVF4.js → todoWrite-BGM5MCPY.js} +5 -5
- package/chunks/{tool-search-5R2OE4C7.js → tool-search-P4OCQE32.js} +19 -18
- package/chunks/{total-session-admission-4KBHMQQ2.js → total-session-admission-ERM7PSP6.js} +48 -46
- package/chunks/{trustedFolders-LK6T4XC7.js → trustedFolders-OI4N7ID3.js} +43 -42
- package/chunks/{update-relaunch-UBKROIC6.js → update-relaunch-GUNL6WGZ.js} +5 -5
- package/chunks/{updateCheck-W4Y2GFSD.js → updateCheck-36M7ZFF4.js} +45 -44
- package/chunks/{useAutoAcceptIndicator-C7BEICBF.js → useAutoAcceptIndicator-XFGTC3AU.js} +51 -50
- package/chunks/{validateNonInterActiveAuth-LTEI2TB6.js → validateNonInterActiveAuth-AMH6WBES.js} +82 -79
- package/chunks/{version-G5A5DGVS.js → version-I73SDBBX.js} +1 -1
- package/chunks/{web-fetch-RTEQTR5Z.js → web-fetch-AD55GOQZ.js} +21 -19
- package/chunks/{web-search-5OXHEZPV.js → web-search-QZNRURMF.js} +10 -10
- package/chunks/{workflow-ISQJHPG2.js → workflow-7A5HLL35.js} +350 -89
- package/chunks/workspace-providers-status-VHLOCDXW.js +101 -0
- package/chunks/{workspace-registration-store-CYNY6IP6.js → workspace-registration-store-SI5QHRR7.js} +1 -1
- package/chunks/{workspace-registry-34GTUUHB.js → workspace-registry-FLDTE2KR.js} +48 -46
- package/chunks/{workspace-service-XCDQLE2Y.js → workspace-service-SRGB3V7K.js} +54 -53
- package/chunks/workspace-skills-status-7EQR65DS.js +101 -0
- package/chunks/{workspace-trust-reconciler-AYGXC7A3.js → workspace-trust-reconciler-7IK4VZDK.js} +55 -53
- package/chunks/{write-file-EWXKVVXF.js → write-file-XAXPGL5M.js} +42 -41
- package/chunks/{zh-TW-SQ4HTSCW.js → zh-TW-LVLBK4KF.js} +8 -0
- package/chunks/{zh-LMSTK4WD.js → zh-UBMWS2BJ.js} +8 -0
- package/chunks/{zoom-image-4BFYJ3HG.js → zoom-image-GTNDGFB6.js} +20 -18
- package/cli.js +13 -13
- package/locales/ca.js +13 -0
- package/locales/de.js +12 -0
- package/locales/en.js +11 -0
- package/locales/fr.js +13 -0
- package/locales/ja.js +13 -0
- package/locales/pt.js +12 -0
- package/locales/ru.js +12 -0
- package/locales/zh-TW.js +11 -0
- package/locales/zh.js +11 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-CgOpDKvm.js → arc-CN-xeqBM.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-0Ag_m34F.js → architectureDiagram-3BPJPVTR-XQJ6hBnv.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-IwTwFau0.js → blockDiagram-GPEHLZMM-n35AKogw.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DLa5GUv8.js → c4Diagram-AAUBKEIU-DXeDVokb.js} +1 -1
- package/web-shell/assets/channel-BdTBh3qf.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DcYP-WFG.js → chunk-2J33WTMH-BYcmYjz_.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-C8MVPMiQ.js → chunk-4BX2VUAB-w3UyeGtt.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BUi4Yfv3.js → chunk-55IACEB6-Td3JbOH_.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-Cy3Su2YY.js → chunk-727SXJPM-gC_NR7u6.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-Dp8Teqv6.js → chunk-AQP2D5EJ-aD7bI3c3.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BDTDM-4j.js → chunk-FMBD7UC4-sHMhD16X.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-7HfDt0r2.js → chunk-ND2GUHAM-DiV49BLl.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BIBU0uCF.js → chunk-QZHKN3VN-Dnoagqin.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-qVxLMMuK.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-qVxLMMuK.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-DRLdcg9p.js → cose-bilkent-S5V4N54A-K6l_zsrZ.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DCCgDwqW.js → dagre-BM42HDAG-Chh9hQ0a.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-CsBTBmk3.js → diagram-2AECGRRQ-Clrbd8SB.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-C9qjH8Lt.js → diagram-5GNKFQAL-BkNExywD.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Brjs_lj2.js → diagram-KO2AKTUF-kTX14ngI.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-DtiWCl_F.js → diagram-LMA3HP47-Ba1QOCJy.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DmfKLkBT.js → diagram-OG6HWLK6-CtH5BVYm.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-Bve_4deH.js → erDiagram-TEJ5UH35-DCxSIC83.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-C2_kXCcV.js → flowDiagram-I6XJVG4X-C4rNAypQ.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BSBIjiTF.js → ganttDiagram-6RSMTGT7-s3P5tBwL.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CyebwI55.js → gitGraphDiagram-PVQCEYII-C7Eg-1ok.js} +1 -1
- package/web-shell/assets/index-BXoIYIJg.css +5 -0
- package/web-shell/assets/{index-d0yfnV1M.js → index-CszoC8cN.js} +1 -1
- package/web-shell/assets/index-Dxj7Naa0.js +1788 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CSDGnWxU.js → infoDiagram-5YYISTIA-BDKsgMt6.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BK4jU13p.js → ishikawaDiagram-YF4QCWOH-CkcSHbvL.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-D_W6j-oF.js → journeyDiagram-JHISSGLW-CDWt-t81.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-C7xf-SdC.js → kanban-definition-UN3LZRKU-FI2owcEa.js} +1 -1
- package/web-shell/assets/{linear-DQmzxpxd.js → linear-BQzLqkJi.js} +1 -1
- package/web-shell/assets/{mermaid.core-9P7AGOLG.js → mermaid.core-CvV91DP1.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DgcgMyPk.js → mindmap-definition-RKZ34NQL-Dx2kLUpN.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-3wWGb9eG.js → pieDiagram-4H26LBE5-CMXOmBrj.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BeCXnQw9.js → quadrantDiagram-W4KKPZXB-Bziww7Co.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-Bi1UOHDz.js → requirementDiagram-4Y6WPE33-DMOXAxzp.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-lrLUjjbb.js → sankeyDiagram-5OEKKPKP-B3y1cfVV.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-BFuqKz6Q.js → sequenceDiagram-3UESZ5HK-ChrV1jiM.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-8DemQLhu.js → stateDiagram-AJRCARHV-CWuLzLFE.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DEDPMLgq.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-uzEuVQXg.js → timeline-definition-PNZ67QCA-Cl6am_to.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BQTeZ_-o.js → vennDiagram-CIIHVFJN-OuocxGAu.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-B6yM5Im7.js → wardley-L42UT6IY-DLYdvSJW.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-ChM8bmgn.js → wardleyDiagram-YWT4CUSO-7a3DreXX.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-oNG6HyB1.js → xychartDiagram-2RQKCTM6-CgfjUxW_.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/agent-headless-GJCQMURW.js +0 -87
- package/chunks/chunk-K5IDV3PC.js +0 -519
- package/chunks/chunk-MPHPFVKK.js +0 -48
- package/chunks/chunk-RLKC46YT.js +0 -3582
- package/chunks/chunk-UPDOZBWO.js +0 -358
- package/chunks/daemon-status-provider-ZDOYJCU6.js +0 -102
- package/chunks/daemon-trust-policy-E67OYUK2.js +0 -99
- package/chunks/exitPlanMode-R4JY7V2O.js +0 -85
- package/chunks/handleAutoUpdate-POCX2MNB.js +0 -94
- package/chunks/initializer-Z2AFGBNR.js +0 -100
- package/chunks/installationInfo-4I5FXNMH.js +0 -92
- package/chunks/list-ZMBFIGZA.js +0 -103
- package/chunks/loadedSettingsAdapter-T6TV4YJ7.js +0 -97
- package/chunks/mcp-6UNYX4HG.js +0 -97
- package/chunks/nonInteractiveCli-WAY237O4.js +0 -163
- package/chunks/read-file-TAFBKMNI.js +0 -32
- package/chunks/ripGrep-WOEK2PXS.js +0 -85
- package/chunks/theme-manager-Z3RIT7DB.js +0 -89
- package/chunks/workspace-providers-status-2ZPZPUPZ.js +0 -100
- package/chunks/workspace-skills-status-RS4O7AIJ.js +0 -100
- package/web-shell/assets/channel-BrGVBa2L.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-B5TUzJzI.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B5TUzJzI.js +0 -1
- package/web-shell/assets/index-CIDsgxTe.js +0 -1792
- package/web-shell/assets/index-DiQnWi_E.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DhM5ixYd.js +0 -1
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
BaseJsonOutputAdapter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W6WLZPTS.js";
|
|
6
|
+
import {
|
|
7
|
+
observeHeadlessJsonToolResultWire
|
|
8
|
+
} from "./chunk-QJCELOZU.js";
|
|
6
9
|
import {
|
|
7
10
|
init_esbuild_shims
|
|
8
11
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -58,8 +61,10 @@ var JsonOutputAdapter = class extends BaseJsonOutputAdapter {
|
|
|
58
61
|
}
|
|
59
62
|
} else {
|
|
60
63
|
const json = JSON.stringify(this.messages);
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
const frame = `${json}
|
|
65
|
+
`;
|
|
66
|
+
observeHeadlessJsonToolResultWire(this.messages, frame);
|
|
67
|
+
process.stdout.write(frame);
|
|
63
68
|
}
|
|
64
69
|
}
|
|
65
70
|
emitMessage(message) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
contextCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IUBZQVZW.js";
|
|
6
6
|
import {
|
|
7
7
|
ExtensionRefreshState,
|
|
8
8
|
clearSkillArgs,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
staleArgsWarning,
|
|
12
12
|
validateAuthMethod,
|
|
13
13
|
writeSkillArgs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KW2JLCIF.js";
|
|
15
15
|
import {
|
|
16
16
|
calculateCost,
|
|
17
17
|
computeSessionStats,
|
|
@@ -20,7 +20,12 @@ import {
|
|
|
20
20
|
findInlineMathExpressions,
|
|
21
21
|
getSystemInfoFields,
|
|
22
22
|
levelLabel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HYLQQAQB.js";
|
|
24
|
+
import {
|
|
25
|
+
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
26
|
+
isWaylandSession,
|
|
27
|
+
writeOsc52
|
|
28
|
+
} from "./chunk-EB27VF5Z.js";
|
|
24
29
|
import {
|
|
25
30
|
formatDuration,
|
|
26
31
|
formatTokenCount
|
|
@@ -28,20 +33,15 @@ import {
|
|
|
28
33
|
import {
|
|
29
34
|
isKittyProtocolEnabled
|
|
30
35
|
} from "./chunk-NYX53SV4.js";
|
|
31
|
-
import {
|
|
32
|
-
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
33
|
-
isWaylandSession,
|
|
34
|
-
writeOsc52
|
|
35
|
-
} from "./chunk-DXIBNLBZ.js";
|
|
36
36
|
import {
|
|
37
37
|
themeManager
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JV443R5X.js";
|
|
39
39
|
import {
|
|
40
40
|
getErrorMessage as getErrorMessage2
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5QYE546S.js";
|
|
42
42
|
import {
|
|
43
43
|
rollbackStandaloneUpdate
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GL5X57U7.js";
|
|
45
45
|
import {
|
|
46
46
|
GITHUB_WORKFLOW_PATHS,
|
|
47
47
|
INSIGHT_CSS,
|
|
@@ -54,12 +54,12 @@ import {
|
|
|
54
54
|
toJson,
|
|
55
55
|
toJsonl,
|
|
56
56
|
toMarkdown
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-QJCELOZU.js";
|
|
58
58
|
import {
|
|
59
59
|
stripUnsafeCharacters,
|
|
60
60
|
toCodePoints,
|
|
61
61
|
truncateToWidth
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-E7REAOTN.js";
|
|
63
63
|
import {
|
|
64
64
|
isValidSessionId
|
|
65
65
|
} from "./chunk-TQOF5KBL.js";
|
|
@@ -70,19 +70,19 @@ import {
|
|
|
70
70
|
isVoiceEnabled,
|
|
71
71
|
readVoiceMode,
|
|
72
72
|
readVoiceModel
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-VCC5DHYW.js";
|
|
74
74
|
import {
|
|
75
75
|
getExtendedSystemInfo,
|
|
76
76
|
getGitVersion,
|
|
77
77
|
getNpmVersion
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-ELA3DNCT.js";
|
|
79
79
|
import {
|
|
80
80
|
isInlineModelOverrideAllowed,
|
|
81
81
|
parseAcpModelOption
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-SWBBY37C.js";
|
|
83
83
|
import {
|
|
84
84
|
getInstallationInfo
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-HHHXD5XY.js";
|
|
86
86
|
import {
|
|
87
87
|
OUTPUT_LANGUAGE_AUTO,
|
|
88
88
|
getAllSettingKeys,
|
|
@@ -94,12 +94,12 @@ import {
|
|
|
94
94
|
resolveOutputLanguageOrPreserveAuto,
|
|
95
95
|
validateSettingValue,
|
|
96
96
|
writeOutputLanguageAndRegisterPath
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-CWFIQLCV.js";
|
|
98
98
|
import {
|
|
99
99
|
getCurrentLanguage,
|
|
100
100
|
setLanguageAsync,
|
|
101
101
|
t
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-US5URWKX.js";
|
|
103
103
|
import {
|
|
104
104
|
SUPPORTED_LANGUAGES,
|
|
105
105
|
getSupportedLanguageIds,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
import {
|
|
109
109
|
isFolderTrustEnabled,
|
|
110
110
|
loadTrustedFolders
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-4HUYO5AU.js";
|
|
112
112
|
import {
|
|
113
113
|
require_strip_json_comments
|
|
114
114
|
} from "./chunk-NPQ5ZKRP.js";
|
|
@@ -178,16 +178,16 @@ import {
|
|
|
178
178
|
resolveSlimmingConfig,
|
|
179
179
|
runForkedAgent,
|
|
180
180
|
tryGenerateSessionTitle
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-BB3FKSIJ.js";
|
|
182
182
|
import {
|
|
183
183
|
external_exports
|
|
184
184
|
} from "./chunk-CQ35AJ4Z.js";
|
|
185
185
|
import {
|
|
186
186
|
resolveModelId
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-6JLZBBCY.js";
|
|
188
188
|
import {
|
|
189
189
|
APPROVAL_MODES
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-ZUISK67X.js";
|
|
191
191
|
import {
|
|
192
192
|
getAutoSkillCuratorStatus,
|
|
193
193
|
parse,
|
|
@@ -195,23 +195,23 @@ import {
|
|
|
195
195
|
restoreArchivedAutoSkill,
|
|
196
196
|
runAutoSkillCurator,
|
|
197
197
|
setAutoSkillPinned
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-3EQHT3IC.js";
|
|
199
199
|
import {
|
|
200
200
|
HookEventName,
|
|
201
201
|
sanitizeUserPromptExpansionAdditionalContext
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-4W4BROUS.js";
|
|
203
203
|
import {
|
|
204
204
|
GoalPersistenceUnavailableError,
|
|
205
205
|
emptyGoalSnapshot,
|
|
206
206
|
projectUserTranscriptForDisplay
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-JBSW7JA6.js";
|
|
208
208
|
import {
|
|
209
209
|
resolveOpenAILogDir
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-O327G3QW.js";
|
|
211
211
|
import {
|
|
212
212
|
FORK_SUBAGENT_TYPE,
|
|
213
213
|
stripStartupContext
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-HHNSO2Y4.js";
|
|
215
215
|
import {
|
|
216
216
|
applySkillAllowedTools,
|
|
217
217
|
buildSkillLlmContent
|
|
@@ -229,7 +229,6 @@ import {
|
|
|
229
229
|
IdeConnectionEvent,
|
|
230
230
|
formatTokenUsageSummaryAsCsv,
|
|
231
231
|
formatTokenUsageSummaryAsJson,
|
|
232
|
-
getCurrentGeminiMdFilename,
|
|
233
232
|
getMCPServerStatus,
|
|
234
233
|
isImageCapable,
|
|
235
234
|
logIdeConnection,
|
|
@@ -237,23 +236,26 @@ import {
|
|
|
237
236
|
read,
|
|
238
237
|
recordSkillInvocation,
|
|
239
238
|
uiTelemetryService
|
|
240
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-EXY6APEA.js";
|
|
240
|
+
import {
|
|
241
|
+
getCurrentGeminiMdFilename
|
|
242
|
+
} from "./chunk-MGEWDLRO.js";
|
|
241
243
|
import {
|
|
242
244
|
getAutoMemoryRoot
|
|
243
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-5AAW6E3C.js";
|
|
244
246
|
import {
|
|
245
247
|
runSideQuery
|
|
246
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-4CKU5K2R.js";
|
|
247
249
|
import {
|
|
248
250
|
ToolDisplayNamesMigration,
|
|
249
251
|
ToolNames,
|
|
250
252
|
canonicalToolName,
|
|
251
253
|
isShellProgressData
|
|
252
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-OUYRA764.js";
|
|
253
255
|
import {
|
|
254
256
|
normalizeContent,
|
|
255
257
|
redactUrlCredentials
|
|
256
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-RZ4PE3ER.js";
|
|
257
259
|
import {
|
|
258
260
|
Storage,
|
|
259
261
|
createDebugLogger,
|
|
@@ -262,12 +264,12 @@ import {
|
|
|
262
264
|
isSubpath,
|
|
263
265
|
resolvePath,
|
|
264
266
|
updateSymlink
|
|
265
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-XFRYCCVC.js";
|
|
266
268
|
import {
|
|
267
269
|
isCpuProfileRecording,
|
|
268
270
|
startCpuProfile,
|
|
269
271
|
stopCpuProfile
|
|
270
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-NCNEK4XO.js";
|
|
271
273
|
import {
|
|
272
274
|
init_esbuild_shims
|
|
273
275
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -381,6 +383,11 @@ function findCommandByName(name, commands) {
|
|
|
381
383
|
__name(findCommandByName, "findCommandByName");
|
|
382
384
|
|
|
383
385
|
// packages/cli/src/ui/utils/commandUtils.ts
|
|
386
|
+
var CONTEXT_FILES_ANNOUNCEMENT_PREFIX = "Read context files:";
|
|
387
|
+
function isContextFilesAnnouncement(item) {
|
|
388
|
+
return item.type === "info" /* INFO */ && typeof item.text === "string" && item.text.startsWith(CONTEXT_FILES_ANNOUNCEMENT_PREFIX);
|
|
389
|
+
}
|
|
390
|
+
__name(isContextFilesAnnouncement, "isContextFilesAnnouncement");
|
|
384
391
|
var CodePage = {
|
|
385
392
|
UTF8: 65001,
|
|
386
393
|
GBK: 936,
|
|
@@ -392,6 +399,18 @@ var isAtCommand = /* @__PURE__ */ __name((query) => (
|
|
|
392
399
|
query.startsWith("@") || /\s@/.test(query)
|
|
393
400
|
), "isAtCommand");
|
|
394
401
|
var SLASH_PATH_SEPARATOR_RE = /[/\\]/;
|
|
402
|
+
var SLASH_COMMANDS_SKIP_RECORDING = /* @__PURE__ */ new Set([
|
|
403
|
+
"quit",
|
|
404
|
+
"exit",
|
|
405
|
+
"clear",
|
|
406
|
+
"reset",
|
|
407
|
+
"new",
|
|
408
|
+
"resume",
|
|
409
|
+
"delete",
|
|
410
|
+
"branch",
|
|
411
|
+
"btw",
|
|
412
|
+
"history"
|
|
413
|
+
]);
|
|
395
414
|
var getSlashCommandFirstToken = /* @__PURE__ */ __name((query) => query.slice(1).trimStart().split(/\s+/u)[0] ?? "", "getSlashCommandFirstToken");
|
|
396
415
|
var hasSlashCommandPathSeparator = /* @__PURE__ */ __name((query) => SLASH_PATH_SEPARATOR_RE.test(getSlashCommandFirstToken(query)), "hasSlashCommandPathSeparator");
|
|
397
416
|
var isSlashCommand = /* @__PURE__ */ __name((query) => {
|
|
@@ -414,6 +433,22 @@ var isBtwCommand = /* @__PURE__ */ __name((query) => {
|
|
|
414
433
|
const trimmed = query.trim();
|
|
415
434
|
return trimmed.length > 0 && BTW_COMMAND_RE.test(trimmed);
|
|
416
435
|
}, "isBtwCommand");
|
|
436
|
+
function consumesContextAnnouncementLatch(trimmedPrompt, options) {
|
|
437
|
+
if (trimmedPrompt.length === 0) {
|
|
438
|
+
return false;
|
|
439
|
+
}
|
|
440
|
+
if (/^\/btw(?:\s|$)/.test(trimmedPrompt)) {
|
|
441
|
+
return false;
|
|
442
|
+
}
|
|
443
|
+
if (isSlashCommand(trimmedPrompt)) {
|
|
444
|
+
return parseSlashCommand(trimmedPrompt, options.slashCommands).commandToExecute?.modelInvocable === true;
|
|
445
|
+
}
|
|
446
|
+
if (options.shellModeActive) {
|
|
447
|
+
return false;
|
|
448
|
+
}
|
|
449
|
+
return true;
|
|
450
|
+
}
|
|
451
|
+
__name(consumesContextAnnouncementLatch, "consumesContextAnnouncementLatch");
|
|
417
452
|
var debugLogger = createDebugLogger("COMMAND_UTILS");
|
|
418
453
|
var formatCommandFailure = /* @__PURE__ */ __name((error, command) => error instanceof Error && error.code === "ENOENT" ? `${command} not found` : error instanceof Error ? error.message : String(error), "formatCommandFailure");
|
|
419
454
|
var copyToClipboard = /* @__PURE__ */ __name(async (text) => {
|
|
@@ -925,6 +960,174 @@ var aboutCommand = {
|
|
|
925
960
|
]
|
|
926
961
|
};
|
|
927
962
|
|
|
963
|
+
// packages/cli/src/ui/commands/advisor-command.ts
|
|
964
|
+
init_esbuild_shims();
|
|
965
|
+
var ADVISOR_SCHEMA = {
|
|
966
|
+
type: "object",
|
|
967
|
+
additionalProperties: false,
|
|
968
|
+
properties: {
|
|
969
|
+
verdict: { type: "string", minLength: 1 },
|
|
970
|
+
risks: { type: "string", minLength: 1 },
|
|
971
|
+
missingEvidence: { type: "string", minLength: 1 },
|
|
972
|
+
recommendation: { type: "string", minLength: 1 }
|
|
973
|
+
},
|
|
974
|
+
required: ["verdict", "risks", "missingEvidence", "recommendation"]
|
|
975
|
+
};
|
|
976
|
+
function buildAdvisorPrompt(focus) {
|
|
977
|
+
return [
|
|
978
|
+
"<system-reminder>",
|
|
979
|
+
"You are acting as an ADVISOR \u2014 an independent senior reviewer giving a second opinion on the conversation so far. The transcript above may be truncated to the most recent turns; treat what is shown as the evidence available to you.",
|
|
980
|
+
"",
|
|
981
|
+
"CRITICAL CONSTRAINTS:",
|
|
982
|
+
"- You have NO tools. Base every claim strictly on evidence present in the transcript; never claim to have verified something you could not observe.",
|
|
983
|
+
"- Do not perform the task or write the implementation. Review only.",
|
|
984
|
+
"- Be direct about problems: flawed assumptions, premature conclusions, unverified claims, risky next steps.",
|
|
985
|
+
"- The main conversation is NOT interrupted; your review is shown to the user only.",
|
|
986
|
+
"",
|
|
987
|
+
"Return exactly one JSON object with these string fields and no markdown fence, preamble, extra key, or commentary:",
|
|
988
|
+
"- verdict: one short paragraph stating whether the current approach or conclusion is sound.",
|
|
989
|
+
'- risks: concrete risks or flawed assumptions, each citing transcript evidence. Write "None found" if none.',
|
|
990
|
+
"- missingEvidence: claims asserted but not verified in the visible transcript (earlier verification may exist outside the shown window).",
|
|
991
|
+
"- recommendation: the single most valuable next action.",
|
|
992
|
+
"</system-reminder>",
|
|
993
|
+
"",
|
|
994
|
+
focus || "Review the conversation above."
|
|
995
|
+
].join("\n");
|
|
996
|
+
}
|
|
997
|
+
__name(buildAdvisorPrompt, "buildAdvisorPrompt");
|
|
998
|
+
function formatAdvisorReview(value) {
|
|
999
|
+
const fields = ["verdict", "risks", "missingEvidence", "recommendation"];
|
|
1000
|
+
if (!value || Object.keys(value).length !== fields.length || fields.some((field) => {
|
|
1001
|
+
const fieldValue = value[field];
|
|
1002
|
+
return typeof fieldValue !== "string" || fieldValue.trim().length === 0;
|
|
1003
|
+
})) {
|
|
1004
|
+
throw new Error("Advisor returned invalid structured output.");
|
|
1005
|
+
}
|
|
1006
|
+
const review = value;
|
|
1007
|
+
return [
|
|
1008
|
+
"## Verdict",
|
|
1009
|
+
review.verdict.trim(),
|
|
1010
|
+
"## Risks",
|
|
1011
|
+
review.risks.trim(),
|
|
1012
|
+
"## Missing evidence",
|
|
1013
|
+
review.missingEvidence.trim(),
|
|
1014
|
+
"## Recommendation",
|
|
1015
|
+
review.recommendation.trim()
|
|
1016
|
+
].join("\n\n");
|
|
1017
|
+
}
|
|
1018
|
+
__name(formatAdvisorReview, "formatAdvisorReview");
|
|
1019
|
+
function formatAdvisorError(error) {
|
|
1020
|
+
return t("Advisor review failed: {{error}}", {
|
|
1021
|
+
error: error instanceof Error ? error.message : String(error || "Unknown error")
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
__name(formatAdvisorError, "formatAdvisorError");
|
|
1025
|
+
async function askAdvisor(context, focus, abortSignal) {
|
|
1026
|
+
const { config } = context.services;
|
|
1027
|
+
if (!config) throw new Error(t("Config not loaded."));
|
|
1028
|
+
const cacheSafeParams = buildBtwCacheSafeParams(config);
|
|
1029
|
+
if (!cacheSafeParams || config.getGeminiClient().getHistoryForForkWindow().length === 0) {
|
|
1030
|
+
throw new Error(t("No conversation context available for /advisor"));
|
|
1031
|
+
}
|
|
1032
|
+
const advisorModel = context.services.settings.merged.advisorModel?.trim() || void 0;
|
|
1033
|
+
const result = await runForkedAgent({
|
|
1034
|
+
config,
|
|
1035
|
+
userMessage: buildAdvisorPrompt(focus),
|
|
1036
|
+
cacheSafeParams,
|
|
1037
|
+
jsonSchema: ADVISOR_SCHEMA,
|
|
1038
|
+
...advisorModel ? { model: advisorModel } : {},
|
|
1039
|
+
abortSignal,
|
|
1040
|
+
disableModelFallbacks: true
|
|
1041
|
+
});
|
|
1042
|
+
return {
|
|
1043
|
+
text: formatAdvisorReview(result.jsonResult),
|
|
1044
|
+
model: result.model
|
|
1045
|
+
};
|
|
1046
|
+
}
|
|
1047
|
+
__name(askAdvisor, "askAdvisor");
|
|
1048
|
+
var advisorCommand = {
|
|
1049
|
+
name: "advisor",
|
|
1050
|
+
get description() {
|
|
1051
|
+
return t(
|
|
1052
|
+
"Get a second opinion on the current conversation from a reviewer model"
|
|
1053
|
+
);
|
|
1054
|
+
},
|
|
1055
|
+
kind: "built-in" /* BUILT_IN */,
|
|
1056
|
+
supportedModes: ["interactive", "acp"],
|
|
1057
|
+
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
1058
|
+
const focus = args.trim();
|
|
1059
|
+
if (focus.length > BTW_MAX_INPUT_LENGTH) {
|
|
1060
|
+
return {
|
|
1061
|
+
type: "message",
|
|
1062
|
+
messageType: "error",
|
|
1063
|
+
content: t("Focus too long (max {{max}} chars)", {
|
|
1064
|
+
max: String(BTW_MAX_INPUT_LENGTH)
|
|
1065
|
+
})
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
const { config } = context.services;
|
|
1069
|
+
const { ui } = context;
|
|
1070
|
+
if (!config) {
|
|
1071
|
+
return {
|
|
1072
|
+
type: "message",
|
|
1073
|
+
messageType: "error",
|
|
1074
|
+
content: t("Config not loaded.")
|
|
1075
|
+
};
|
|
1076
|
+
}
|
|
1077
|
+
if (!config.getModel()) {
|
|
1078
|
+
return {
|
|
1079
|
+
type: "message",
|
|
1080
|
+
messageType: "error",
|
|
1081
|
+
content: t("No model configured.")
|
|
1082
|
+
};
|
|
1083
|
+
}
|
|
1084
|
+
const abortSignal = context.abortSignal ?? new AbortController().signal;
|
|
1085
|
+
const executionMode = context.executionMode ?? "interactive";
|
|
1086
|
+
if (executionMode !== "interactive") {
|
|
1087
|
+
try {
|
|
1088
|
+
const review = await askAdvisor(context, focus, abortSignal);
|
|
1089
|
+
return { type: "message", messageType: "info", content: review.text };
|
|
1090
|
+
} catch (error) {
|
|
1091
|
+
return {
|
|
1092
|
+
type: "message",
|
|
1093
|
+
messageType: "error",
|
|
1094
|
+
content: formatAdvisorError(error)
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
const turnInFlight = !ui.isIdleRef.current || ui.pendingItem !== null;
|
|
1099
|
+
if (turnInFlight) {
|
|
1100
|
+
return {
|
|
1101
|
+
type: "message",
|
|
1102
|
+
messageType: "error",
|
|
1103
|
+
content: t(
|
|
1104
|
+
"Another operation is in progress, wait for it to complete before running /advisor"
|
|
1105
|
+
)
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
try {
|
|
1109
|
+
ui.setPendingItem({
|
|
1110
|
+
type: "info" /* INFO */,
|
|
1111
|
+
text: t("Consulting advisor...")
|
|
1112
|
+
});
|
|
1113
|
+
const review = await askAdvisor(context, focus, abortSignal);
|
|
1114
|
+
if (abortSignal.aborted) return;
|
|
1115
|
+
ui.addItem(
|
|
1116
|
+
{ type: "advisor" /* ADVISOR */, text: review.text, model: review.model },
|
|
1117
|
+
Date.now()
|
|
1118
|
+
);
|
|
1119
|
+
} catch (error) {
|
|
1120
|
+
if (abortSignal.aborted) return;
|
|
1121
|
+
ui.addItem(
|
|
1122
|
+
{ type: "error" /* ERROR */, text: formatAdvisorError(error) },
|
|
1123
|
+
Date.now()
|
|
1124
|
+
);
|
|
1125
|
+
} finally {
|
|
1126
|
+
if (!abortSignal.aborted) ui.setPendingItem(null);
|
|
1127
|
+
}
|
|
1128
|
+
}, "action")
|
|
1129
|
+
};
|
|
1130
|
+
|
|
928
1131
|
// packages/cli/src/ui/commands/tasksCommand.ts
|
|
929
1132
|
init_esbuild_shims();
|
|
930
1133
|
function statusLabel(entry) {
|
|
@@ -1137,10 +1340,16 @@ function snapshotToTask(s) {
|
|
|
1137
1340
|
meta: s.meta,
|
|
1138
1341
|
status: s.status,
|
|
1139
1342
|
currentPhase: null,
|
|
1343
|
+
currentPhaseVisitId: null,
|
|
1140
1344
|
phases: s.phases ?? [],
|
|
1345
|
+
phaseVisits: s.phaseVisits ?? [],
|
|
1346
|
+
dispatches: s.dispatches ?? [],
|
|
1347
|
+
sourceRunId: s.sourceRunId,
|
|
1348
|
+
startMode: s.startMode,
|
|
1141
1349
|
agentsDispatched: s.agentsDispatched ?? 0,
|
|
1142
1350
|
agentsCompleted: s.agentsCompleted ?? 0,
|
|
1143
1351
|
recentLogs: s.recentLogs ?? [],
|
|
1352
|
+
events: s.events ?? [],
|
|
1144
1353
|
tokensSpent: s.tokensSpent ?? 0,
|
|
1145
1354
|
tokenBudgetTotal: s.tokenBudgetTotal ?? null,
|
|
1146
1355
|
perPhaseTokens: new Map(s.perPhaseTokens ?? []),
|
|
@@ -2057,7 +2266,7 @@ var approvalModeCommand = {
|
|
|
2057
2266
|
};
|
|
2058
2267
|
}
|
|
2059
2268
|
}
|
|
2060
|
-
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-
|
|
2269
|
+
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-XFGTC3AU.js") : void 0;
|
|
2061
2270
|
if (config) {
|
|
2062
2271
|
try {
|
|
2063
2272
|
config.setApprovalMode(mode);
|
|
@@ -2512,6 +2721,7 @@ var directoryCommand = {
|
|
|
2512
2721
|
const {
|
|
2513
2722
|
memoryContent,
|
|
2514
2723
|
fileCount,
|
|
2724
|
+
contextFilePaths,
|
|
2515
2725
|
conditionalRules,
|
|
2516
2726
|
projectRoot
|
|
2517
2727
|
} = await loadServerHierarchicalMemory(
|
|
@@ -2525,6 +2735,7 @@ var directoryCommand = {
|
|
|
2525
2735
|
);
|
|
2526
2736
|
config.setUserMemory(memoryContent);
|
|
2527
2737
|
config.setGeminiMdFileCount(fileCount);
|
|
2738
|
+
config.setContextFilePaths(contextFilePaths);
|
|
2528
2739
|
config.setConditionalRulesRegistry(
|
|
2529
2740
|
new ConditionalRulesRegistry(conditionalRules, projectRoot)
|
|
2530
2741
|
);
|
|
@@ -3478,7 +3689,8 @@ var compressCommand = {
|
|
|
3478
3689
|
isPending: false,
|
|
3479
3690
|
originalTokenCount: compressed.originalTokenCount,
|
|
3480
3691
|
newTokenCount: compressed.newTokenCount,
|
|
3481
|
-
compressionStatus: compressed.compressionStatus
|
|
3692
|
+
compressionStatus: compressed.compressionStatus,
|
|
3693
|
+
compressionKind: "summarize"
|
|
3482
3694
|
}
|
|
3483
3695
|
},
|
|
3484
3696
|
Date.now()
|
|
@@ -3638,7 +3850,8 @@ var compressFastCommand = {
|
|
|
3638
3850
|
isPending: false,
|
|
3639
3851
|
originalTokenCount: compressed.originalTokenCount,
|
|
3640
3852
|
newTokenCount: compressed.newTokenCount,
|
|
3641
|
-
compressionStatus: compressed.compressionStatus
|
|
3853
|
+
compressionStatus: compressed.compressionStatus,
|
|
3854
|
+
compressionKind: "fast"
|
|
3642
3855
|
}
|
|
3643
3856
|
},
|
|
3644
3857
|
Date.now()
|
|
@@ -6848,7 +7061,7 @@ var expandNowCommand = {
|
|
|
6848
7061
|
content: t("History is already expanded in this session.")
|
|
6849
7062
|
};
|
|
6850
7063
|
}
|
|
6851
|
-
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-
|
|
7064
|
+
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-KZ4WMN4X.js");
|
|
6852
7065
|
const updated = expandCollapsedHistory(history);
|
|
6853
7066
|
loadHistory(updated);
|
|
6854
7067
|
refreshStatic();
|
|
@@ -13293,7 +13506,9 @@ None captured`;
|
|
|
13293
13506
|
const chatsDir = path14.join(projectPath, "chats");
|
|
13294
13507
|
try {
|
|
13295
13508
|
const files = await fs11.readdir(chatsDir);
|
|
13296
|
-
const chatFiles = files.filter(
|
|
13509
|
+
const chatFiles = files.filter(
|
|
13510
|
+
(file) => file.endsWith(".jsonl") && !file.endsWith(".ledger.jsonl")
|
|
13511
|
+
);
|
|
13297
13512
|
for (const file of chatFiles) {
|
|
13298
13513
|
const filePath = path14.join(chatsDir, file);
|
|
13299
13514
|
try {
|
|
@@ -14119,10 +14334,10 @@ var updateCommand = {
|
|
|
14119
14334
|
{ performStandaloneUpdate },
|
|
14120
14335
|
installationInfo
|
|
14121
14336
|
] = await Promise.all([
|
|
14122
|
-
import("./updateCheck-
|
|
14123
|
-
import("./processUtils-
|
|
14124
|
-
import("./standalone-update-
|
|
14125
|
-
import("./installationInfo-
|
|
14337
|
+
import("./updateCheck-36M7ZFF4.js"),
|
|
14338
|
+
import("./processUtils-VDWCC2EG.js"),
|
|
14339
|
+
import("./standalone-update-CFQXGTAC.js"),
|
|
14340
|
+
import("./installationInfo-YYG4O7ZW.js")
|
|
14126
14341
|
]);
|
|
14127
14342
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
14128
14343
|
const settings = context.services.settings;
|
|
@@ -14270,6 +14485,7 @@ var BuiltinCommandLoader = class {
|
|
|
14270
14485
|
}
|
|
14271
14486
|
const allDefinitions = [
|
|
14272
14487
|
aboutCommand,
|
|
14488
|
+
advisorCommand,
|
|
14273
14489
|
agentsCommand,
|
|
14274
14490
|
tasksCommand,
|
|
14275
14491
|
// Gated behind isWorkflowsEnabled — feature flag honors
|
|
@@ -15968,6 +16184,10 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
15968
16184
|
if (!commandToExecute.action) {
|
|
15969
16185
|
return { type: "no_command" };
|
|
15970
16186
|
}
|
|
16187
|
+
const resolvedCommand = {
|
|
16188
|
+
name: commandToExecute.name,
|
|
16189
|
+
kind: commandToExecute.kind
|
|
16190
|
+
};
|
|
15971
16191
|
const sessionStats = {
|
|
15972
16192
|
sessionId: config?.getSessionId(),
|
|
15973
16193
|
sessionStartTime: /* @__PURE__ */ new Date(),
|
|
@@ -15984,6 +16204,7 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
15984
16204
|
};
|
|
15985
16205
|
const context = {
|
|
15986
16206
|
executionMode,
|
|
16207
|
+
abortSignal: commandToExecute.name === "advisor" ? abortController.signal : void 0,
|
|
15987
16208
|
services: {
|
|
15988
16209
|
config,
|
|
15989
16210
|
settings,
|
|
@@ -16024,7 +16245,8 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16024
16245
|
return {
|
|
16025
16246
|
type: "message",
|
|
16026
16247
|
messageType: "info",
|
|
16027
|
-
content: "Command executed successfully."
|
|
16248
|
+
content: "Command executed successfully.",
|
|
16249
|
+
resolvedCommand
|
|
16028
16250
|
};
|
|
16029
16251
|
}
|
|
16030
16252
|
if (result.type === "submit_prompt") {
|
|
@@ -16043,16 +16265,22 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16043
16265
|
}
|
|
16044
16266
|
if (hookResult.blockedResult) {
|
|
16045
16267
|
recordSkillCommandInvocation(false);
|
|
16046
|
-
return hookResult.blockedResult;
|
|
16268
|
+
return { ...hookResult.blockedResult, resolvedCommand };
|
|
16047
16269
|
}
|
|
16048
16270
|
recordSkillCommandInvocation(true);
|
|
16049
16271
|
void recordAutoSkillCommandUsage(config, commandToExecute);
|
|
16050
|
-
return
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16272
|
+
return {
|
|
16273
|
+
...handleCommandResult(
|
|
16274
|
+
{ ...result, content: hookResult.content },
|
|
16275
|
+
outputHistoryItems
|
|
16276
|
+
),
|
|
16277
|
+
resolvedCommand
|
|
16278
|
+
};
|
|
16054
16279
|
}
|
|
16055
|
-
return
|
|
16280
|
+
return {
|
|
16281
|
+
...handleCommandResult(result, outputHistoryItems),
|
|
16282
|
+
resolvedCommand
|
|
16283
|
+
};
|
|
16056
16284
|
}, "handleSlashCommand");
|
|
16057
16285
|
var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mode = "acp", settings) => {
|
|
16058
16286
|
try {
|
|
@@ -16257,7 +16485,8 @@ function createAgentToolProgressHandler(config, agentToolCallId, adapter) {
|
|
|
16257
16485
|
error: toolCall.status === "failed" ? new Error(toolCall.error || "Tool execution failed") : void 0,
|
|
16258
16486
|
errorType: toolCall.status === "failed" ? "execution_failed" /* EXECUTION_FAILED */ : void 0,
|
|
16259
16487
|
resultDisplay: toolCall.resultDisplay,
|
|
16260
|
-
responseParts: toolCall.responseParts || []
|
|
16488
|
+
responseParts: toolCall.responseParts || [],
|
|
16489
|
+
boundaryArtifact: toolCall.boundaryArtifact
|
|
16261
16490
|
}), "buildResponse");
|
|
16262
16491
|
const hasResultContent = /* @__PURE__ */ __name((toolCall) => {
|
|
16263
16492
|
if (typeof toolCall.resultDisplay === "string" && toolCall.resultDisplay.trim().length > 0) {
|
|
@@ -16381,10 +16610,15 @@ export {
|
|
|
16381
16610
|
hasBlockingBackgroundWork,
|
|
16382
16611
|
resetBackgroundStateForSessionSwitch,
|
|
16383
16612
|
buildBackgroundWorkBlockedMessage,
|
|
16613
|
+
CONTEXT_FILES_ANNOUNCEMENT_PREFIX,
|
|
16614
|
+
isContextFilesAnnouncement,
|
|
16384
16615
|
isAtCommand,
|
|
16616
|
+
SLASH_COMMANDS_SKIP_RECORDING,
|
|
16617
|
+
getSlashCommandFirstToken,
|
|
16385
16618
|
hasSlashCommandPathSeparator,
|
|
16386
16619
|
isSlashCommand,
|
|
16387
16620
|
isBtwCommand,
|
|
16621
|
+
consumesContextAnnouncementLatch,
|
|
16388
16622
|
copyToClipboard,
|
|
16389
16623
|
isMidInputCompletableCommand,
|
|
16390
16624
|
findMidInputSlashCommand,
|
|
@@ -16430,22 +16664,22 @@ export {
|
|
|
16430
16664
|
*/
|
|
16431
16665
|
/**
|
|
16432
16666
|
* @license
|
|
16433
|
-
* Copyright
|
|
16667
|
+
* Copyright 2025 Qwen Code
|
|
16434
16668
|
* SPDX-License-Identifier: Apache-2.0
|
|
16435
16669
|
*/
|
|
16436
16670
|
/**
|
|
16437
16671
|
* @license
|
|
16438
|
-
* Copyright
|
|
16672
|
+
* Copyright 2026 Qwen Team
|
|
16439
16673
|
* SPDX-License-Identifier: Apache-2.0
|
|
16440
16674
|
*/
|
|
16441
16675
|
/**
|
|
16442
16676
|
* @license
|
|
16443
|
-
* Copyright 2025 Qwen
|
|
16677
|
+
* Copyright 2025 Qwen
|
|
16444
16678
|
* SPDX-License-Identifier: Apache-2.0
|
|
16445
16679
|
*/
|
|
16446
16680
|
/**
|
|
16447
16681
|
* @license
|
|
16448
|
-
* Copyright 2025 Qwen
|
|
16682
|
+
* Copyright 2025 Qwen Team
|
|
16449
16683
|
* SPDX-License-Identifier: Apache-2.0
|
|
16450
16684
|
*/
|
|
16451
16685
|
/**
|