@qwen-code/qwen-code 0.22.1 → 0.22.2-nightly.20260828.7357136dd1
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/goal-draft/SKILL.md +109 -0
- package/bundled/qc-helper/docs/configuration/settings.md +13 -13
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +34 -3
- package/bundled/qc-helper/docs/features/code-review.md +3 -3
- package/bundled/qc-helper/docs/features/commands.md +2 -1
- package/bundled/qc-helper/docs/features/goals.md +58 -0
- package/bundled/qc-helper/docs/features/headless.md +13 -11
- package/bundled/qc-helper/docs/features/status-line.md +3 -3
- package/bundled/review/SKILL.md +70 -22
- package/bundled/review/references/persistence.md +7 -3
- package/bundled/review/references/posting.md +2 -0
- package/chunks/MaxSizedBox-LMWXCLDV.js +110 -0
- package/chunks/{StandaloneSessionPicker-XF2TVJFK.js → StandaloneSessionPicker-W3F7U3JL.js} +79 -81
- package/chunks/{acpAgent-GY53MJIW.js → acpAgent-EYZ6EEHD.js} +1132 -339
- package/chunks/{agent-7U6CC5KF.js → agent-RBLGBY65.js} +44 -46
- package/chunks/agent-headless-L5T4Y4OZ.js +85 -0
- package/chunks/{anthropicContentGenerator-U76GTVB6.js → anthropicContentGenerator-GMHML35Q.js} +10 -11
- package/chunks/{artifact-tool-XDJCZZCF.js → artifact-tool-XSMPHZBT.js} +11 -3
- package/chunks/{askUserQuestion-ZXXERLEV.js → askUserQuestion-4SWJY65V.js} +2 -2
- package/chunks/bridge-5LR2F2ND.js +119 -0
- package/chunks/{channel-management-service-HXXS3HOZ.js → channel-management-service-KHR3N6CH.js} +6 -6
- package/chunks/channel-settings-store-4FOAZW72.js +120 -0
- package/chunks/{channel-worker-group-EVDC2P4K.js → channel-worker-group-6NA6BBZV.js} +8 -7
- package/chunks/{channel-worker-manager-IJJZHGEI.js → channel-worker-manager-NEZ2J6RK.js} +10 -8
- package/chunks/{channel-worker-supervisor-YSKB5GVB.js → channel-worker-supervisor-FKU7DIHJ.js} +6 -5
- package/chunks/{chunk-7QGEJI7M.js → chunk-23RFD54N.js} +1 -1
- package/chunks/{chunk-LJP2BBMK.js → chunk-2SXSLSQE.js} +4 -4
- package/chunks/chunk-2TNL5KPM.js +49 -0
- package/chunks/chunk-335CJSNF.js +2320 -0
- package/chunks/chunk-36LGBEM6.js +130 -0
- package/chunks/{chunk-ZWKGZB2K.js → chunk-3JXM2CVW.js} +3 -3
- package/chunks/{chunk-ICWGPK23.js → chunk-3K6TUZHS.js} +7 -7
- package/chunks/{chunk-43C2II2G.js → chunk-3OOXT6CR.js} +5 -5
- package/chunks/{chunk-ILPXSKGQ.js → chunk-3WK3QDNV.js} +2 -2
- package/chunks/{chunk-2YDYDDE2.js → chunk-3XOKEVII.js} +3 -3
- package/chunks/chunk-3Y34Q3JV.js +1584 -0
- package/chunks/{chunk-ZLTEQYNC.js → chunk-42IDLQWS.js} +26 -20
- package/chunks/{chunk-5MK32KJV.js → chunk-454XFGH4.js} +3 -3
- package/chunks/chunk-4CMJKUND.js +95 -0
- package/chunks/{chunk-77TOMRBG.js → chunk-4K7KNVWH.js} +3 -3
- package/chunks/{chunk-V3GINY6K.js → chunk-4QHPPXK2.js} +16 -8
- package/chunks/{chunk-UCSV2IZW.js → chunk-62GQFYID.js} +3 -3
- package/chunks/{chunk-SLEWBQWM.js → chunk-6DIGWMGT.js} +2 -2
- package/chunks/{chunk-I6YW3T3W.js → chunk-6JCGO55P.js} +723 -3399
- package/chunks/{chunk-PVBT5QPD.js → chunk-6PJOTWAN.js} +1 -1
- package/chunks/{chunk-5Y2JCJAH.js → chunk-6W2IK5KC.js} +956 -17
- package/chunks/{chunk-A7X32SCT.js → chunk-6ZZBRRKQ.js} +5 -5
- package/chunks/{chunk-ELY4QVIB.js → chunk-7EQQR46F.js} +1 -1
- package/chunks/{chunk-4DCP3362.js → chunk-7GWQW5ID.js} +4 -4
- package/chunks/chunk-7J6OTNGO.js +424 -0
- package/chunks/{chunk-CITGRGCM.js → chunk-7TUBJBBJ.js} +4 -1
- package/chunks/{chunk-L436XFLJ.js → chunk-7VD6IPQM.js} +1 -1
- package/chunks/{chunk-E4I5MVBR.js → chunk-ABS25QER.js} +1 -1
- package/chunks/{chunk-2ZV3CZKI.js → chunk-AJGR6E6Z.js} +49 -32
- package/chunks/{chunk-HJOWQUE2.js → chunk-AU3MMVJF.js} +31 -14
- package/chunks/{chunk-I32QCIK7.js → chunk-AXC26UCQ.js} +1 -1
- package/chunks/{chunk-7AS7QX72.js → chunk-AY3BNYEQ.js} +1 -1
- package/chunks/{chunk-FVDQ5E67.js → chunk-B466ZSHZ.js} +3 -3
- package/chunks/{chunk-OI2DR6QB.js → chunk-B5OUL5EL.js} +2 -2
- package/chunks/{chunk-6US7BF3G.js → chunk-B5PHIJGI.js} +183 -5
- package/chunks/{chunk-5T4LWWNX.js → chunk-B7CDU2SL.js} +2 -2
- package/chunks/{chunk-4TPAG3O7.js → chunk-BFPESSTR.js} +1 -1
- package/chunks/{chunk-WBT3STGU.js → chunk-BKWNKLZB.js} +20 -20
- package/chunks/{chunk-73WFGVIZ.js → chunk-BOWFGCEU.js} +3 -3
- package/chunks/{chunk-EMGAVCBZ.js → chunk-BPAKYXQ3.js} +2 -2
- package/chunks/{chunk-IPQA4SR5.js → chunk-BWORX6FA.js} +1 -1
- package/chunks/{chunk-BKDAF7ES.js → chunk-BXDAPVQU.js} +2 -2
- package/chunks/{chunk-ZEADBZLO.js → chunk-C2X7KY45.js} +3 -3
- package/chunks/{chunk-T2HMXHYA.js → chunk-C3KURPP7.js} +6 -6
- package/chunks/{chunk-JUIJ3FXC.js → chunk-CAJTKR6W.js} +5 -5
- package/chunks/{chunk-2FN2HNTI.js → chunk-CFJY4DGX.js} +2 -2
- package/chunks/{chunk-DP7LABIB.js → chunk-CMHFCLBU.js} +1 -1
- package/chunks/{chunk-LRKMQPMD.js → chunk-CQH5KTKC.js} +1 -1
- package/chunks/{chunk-J7MLXFC5.js → chunk-CRKKHXTI.js} +185 -174
- package/chunks/{chunk-XNXWEGKB.js → chunk-CYAUBK46.js} +3 -3
- package/chunks/{chunk-JECO75XD.js → chunk-D5LUXLUH.js} +2 -2
- package/chunks/{chunk-SRGENTPF.js → chunk-DFDWJE6Z.js} +48 -31
- package/chunks/chunk-DJBQCO2E.js +842 -0
- package/chunks/{chunk-2CRNTW2B.js → chunk-DP4MWIM3.js} +2 -2
- package/chunks/{chunk-EB4VDXNI.js → chunk-DYXFD5RO.js} +182 -3
- package/chunks/{chunk-ODXCSIH5.js → chunk-E3XVSVKK.js} +26 -4
- package/chunks/{chunk-ZKAZP2ZG.js → chunk-EB6QRGHM.js} +3 -3
- package/chunks/{chunk-GNRVKN76.js → chunk-EKNBU2X7.js} +4 -4
- package/chunks/{chunk-3UZCLCXR.js → chunk-EKSCLBBF.js} +3 -3
- package/chunks/{chunk-624NHDGB.js → chunk-ERFDKH32.js} +11 -0
- package/chunks/chunk-EW5VVLJT.js +3525 -0
- package/chunks/{chunk-XYX474JQ.js → chunk-EWIQ3NAE.js} +2522 -2030
- package/chunks/{chunk-O5YGAEQS.js → chunk-FALBWZF4.js} +6 -6
- package/chunks/{chunk-GZJUCMH4.js → chunk-FEHMA4RO.js} +542 -654
- package/chunks/{chunk-2YEZNBSD.js → chunk-FMFBLTLY.js} +320 -86
- package/chunks/{chunk-MZS7GEC7.js → chunk-FTF2YIZ5.js} +1 -1
- package/chunks/{chunk-ZJG323IA.js → chunk-G6FECKTJ.js} +7 -5
- package/chunks/{chunk-6KS24S3X.js → chunk-GGNE3JAW.js} +1 -1
- package/chunks/{chunk-BQBUZDDH.js → chunk-H33EQVMG.js} +4 -4
- package/chunks/chunk-H72BQNM3.js +645 -0
- package/chunks/{chunk-5ZYZPDDF.js → chunk-HGIMWQVT.js} +30 -25
- package/chunks/{chunk-DCSAVGDJ.js → chunk-HOCJDUFY.js} +2 -2
- package/chunks/{chunk-MDZO5V2O.js → chunk-HPXV655A.js} +9 -7
- package/chunks/{chunk-7JPW6IYH.js → chunk-HVC3PNVC.js} +1 -1
- package/chunks/{chunk-2MHGD7EE.js → chunk-HYDJDQGJ.js} +1 -1
- package/chunks/{chunk-BDHLBR46.js → chunk-IB7FQJRY.js} +34 -11
- package/chunks/{chunk-E55H6BZ7.js → chunk-ICURCKIU.js} +1335 -119
- package/chunks/{chunk-PAJGKZAA.js → chunk-ISKH4QX3.js} +14 -12
- package/chunks/{chunk-3B5DCAQU.js → chunk-J6S24ZJE.js} +34 -34
- package/chunks/{chunk-AYVIGUUK.js → chunk-JB4JIVTJ.js} +1 -1
- package/chunks/{chunk-C4WBKZJT.js → chunk-JN4IWWMN.js} +4 -4
- package/chunks/{chunk-6HTMIKXZ.js → chunk-JUUBLSZU.js} +4 -4
- package/chunks/{chunk-T6OODF2U.js → chunk-JWALNCLT.js} +1 -1
- package/chunks/{chunk-SKNVVYIJ.js → chunk-K5KXUXWC.js} +3 -3
- package/chunks/{chunk-IRIX323G.js → chunk-KTJFDCX4.js} +2 -2
- package/chunks/{chunk-FK4H3V6S.js → chunk-LEFCFTEX.js} +6 -6
- package/chunks/{chunk-OQ6LTSX3.js → chunk-LEGTMYAE.js} +1 -1
- package/chunks/{chunk-NY3IJYAV.js → chunk-LLZA2IK3.js} +15 -9
- package/chunks/{chunk-5CI4AXDD.js → chunk-LNETQKBE.js} +4 -4
- package/chunks/{chunk-TOF4UZHH.js → chunk-LUEHOUHM.js} +3 -3
- package/chunks/{chunk-62PXFOK4.js → chunk-LVPZO674.js} +4 -4
- package/chunks/{chunk-EEQYTWGU.js → chunk-M4ORUPYI.js} +5 -5
- package/chunks/{chunk-GNMJNDZE.js → chunk-M6FOJXW3.js} +1 -1
- package/chunks/{chunk-MYLXL7F6.js → chunk-MAYHGRP4.js} +9 -9
- package/chunks/{chunk-K3LPAED5.js → chunk-MQM5PJML.js} +24 -4
- package/chunks/{chunk-SM7ZVKTF.js → chunk-MTJN7FOT.js} +7 -7
- package/chunks/{chunk-BGXZBI5B.js → chunk-N4X7G4J2.js} +2 -1
- package/chunks/{chunk-27ONXAFY.js → chunk-NIFYWDYN.js} +1 -1
- package/chunks/{chunk-IJVDHPKD.js → chunk-NU7RKEZR.js} +2 -2
- package/chunks/{chunk-R2ZJH3FV.js → chunk-NXMBRVMQ.js} +3 -3
- package/chunks/{chunk-JLGFGPZJ.js → chunk-OI4NY7RA.js} +2 -2
- package/chunks/{chunk-RRKNX553.js → chunk-PDQGMSZK.js} +1 -1
- package/chunks/{chunk-GTUKW3I6.js → chunk-PPKZ7JOE.js} +1 -1
- package/chunks/{chunk-SAH4BD2J.js → chunk-PQEISIKS.js} +67 -0
- package/chunks/{chunk-MW5AHWOZ.js → chunk-PWIGAMA4.js} +93 -14
- package/chunks/{chunk-WEGXPP5E.js → chunk-QFCDF5PL.js} +1 -1
- package/chunks/{chunk-EAV3TENS.js → chunk-QPTRRPZU.js} +44 -7
- package/chunks/{chunk-SQPOJ4ZI.js → chunk-RFI4YGMR.js} +21 -266
- package/chunks/{chunk-JVPFTDBK.js → chunk-RFIDDFAL.js} +1 -1
- package/chunks/chunk-RKFGE7JH.js +93 -0
- package/chunks/chunk-RNVFRIOO.js +275 -0
- package/chunks/{chunk-CPPYZHBN.js → chunk-RU7BK6B3.js} +1 -1
- package/chunks/{chunk-OT26ITEY.js → chunk-RVXDXY6I.js} +3 -3
- package/chunks/{chunk-W2WRNJKX.js → chunk-RWZB422L.js} +5 -5
- package/chunks/{chunk-6YAR6ZU3.js → chunk-RYNZQGXN.js} +19 -2
- package/chunks/{chunk-EKP3M4RF.js → chunk-SJ5ERAW3.js} +1 -1
- package/chunks/{chunk-DEYPMJPD.js → chunk-SMPR7SPO.js} +1 -1
- package/chunks/{chunk-3BV7TZNQ.js → chunk-SRZZY4IY.js} +3 -3
- package/chunks/{chunk-7CWEZQ6T.js → chunk-STUJ7IMZ.js} +0 -77
- package/chunks/{chunk-TKO4TLT6.js → chunk-SUX7HDNA.js} +3 -3
- package/chunks/{chunk-76WGY6LW.js → chunk-SVNO44PF.js} +3 -3
- package/chunks/{chunk-UX3IFLJM.js → chunk-SZLBBZH4.js} +150 -23
- package/chunks/{chunk-K63NK3KL.js → chunk-T2NKRHZZ.js} +13 -13
- package/chunks/{chunk-4K7NQDCG.js → chunk-T4EFG2P5.js} +18 -9
- package/chunks/{chunk-2NCVUT3C.js → chunk-TLHUNMO7.js} +4 -4
- package/chunks/{chunk-EC5BONC3.js → chunk-TPI7O7HR.js} +1 -1
- package/chunks/{chunk-ZXDM7DYV.js → chunk-TQHGJYR3.js} +2029 -616
- package/chunks/{chunk-T2CRBIDJ.js → chunk-TTX2JUE6.js} +1 -1
- package/chunks/{chunk-OX44MOAN.js → chunk-TW3E6YNO.js} +3 -3
- package/chunks/chunk-U54AYGEC.js +337 -0
- package/chunks/{chunk-2NNTE2ED.js → chunk-UHQFIS7N.js} +15 -0
- package/chunks/{chunk-KOJ6MHD5.js → chunk-UTLCH2FK.js} +1 -1
- package/chunks/{chunk-KCOXDRQL.js → chunk-UY3PBNY3.js} +17 -29
- package/chunks/{chunk-7DPKPBOQ.js → chunk-V2NDP3I4.js} +2 -2
- package/chunks/{chunk-47SIHHPL.js → chunk-V2QDDC5J.js} +19 -9
- package/chunks/{chunk-BVE5EMIG.js → chunk-V5J4J5TP.js} +2 -2
- package/chunks/{chunk-X2UOOG5V.js → chunk-VQUGEVGR.js} +1 -1
- package/chunks/{chunk-XJS54K4A.js → chunk-VTHREBQM.js} +2 -2
- package/chunks/{chunk-VMDURMFY.js → chunk-W6DUQ5GA.js} +11307 -10424
- package/chunks/{chunk-BX2BZPFJ.js → chunk-WALC5VJH.js} +4 -4
- package/chunks/{chunk-FPH6TXD3.js → chunk-WAOIHTJS.js} +1 -1
- package/chunks/{chunk-LI2HEMKO.js → chunk-WBHKK3CU.js} +4 -4
- package/chunks/{chunk-O3BUXIPM.js → chunk-WXEA74YB.js} +3 -3
- package/chunks/{chunk-NER3H7PI.js → chunk-X3ZRTCJD.js} +1 -1
- package/chunks/{chunk-YRLW2MSX.js → chunk-XBVNNDPK.js} +11 -4
- package/chunks/{chunk-VL4YX3FH.js → chunk-XF63PKEN.js} +1 -1
- package/chunks/{chunk-FN5C6C7G.js → chunk-XLLQJRAH.js} +190 -478
- package/chunks/{chunk-3FSBMAYD.js → chunk-XQFT3QUF.js} +1 -1
- package/chunks/{chunk-FJWICLG7.js → chunk-Y3QL45LS.js} +1 -1
- package/chunks/{chunk-IKN3IUJP.js → chunk-Y4TPOUEV.js} +17 -9
- package/chunks/{chunk-NVK4HJYQ.js → chunk-YRZX2PHA.js} +1 -1
- package/chunks/{chunk-2SERYG4T.js → chunk-YTDVNSUQ.js} +1 -1
- package/chunks/{chunk-KWFP3WV6.js → chunk-YWQ237GX.js} +4 -193
- package/chunks/{chunk-6E4WHQJV.js → chunk-ZTP35P4B.js} +1 -1
- package/chunks/{chunk-E6FGMDFQ.js → chunk-ZU4UDIWX.js} +19 -1
- package/chunks/config-utils-JVGAP34H.js +113 -0
- package/chunks/contextCommand-XDB7OSO7.js +106 -0
- package/chunks/{core-runtime-PKNQ63VL.js → core-runtime-XHYA2RH7.js} +59 -61
- package/chunks/{create-sub-session-RVHSWVAP.js → create-sub-session-23ITIELI.js} +3 -3
- package/chunks/{create-sub-session-PLGPY6TV.js → create-sub-session-MHYCFNCM.js} +163 -84
- package/chunks/{cron-create-IJGVR5R2.js → cron-create-KJ4IY6PP.js} +57 -10
- package/chunks/{cron-delete-4N5BI6GL.js → cron-delete-MBLQCAYY.js} +4 -4
- package/chunks/{cron-list-2CATIPUX.js → cron-list-DWH2PQ47.js} +4 -4
- package/chunks/{daemon-NAYK4XXU.js → daemon-K5XS42ID.js} +516 -3
- package/chunks/{daemon-git-worktree-guard-LDBJXH2U.js → daemon-git-worktree-guard-V3P5XLHB.js} +56 -58
- package/chunks/daemon-status-provider-KKU7ZTLM.js +117 -0
- package/chunks/daemon-trust-policy-TZGK34DW.js +112 -0
- package/chunks/{daemon-trust-policy-monitor-IGEJPHQ4.js → daemon-trust-policy-monitor-F23DD2M4.js} +62 -64
- package/chunks/deferred-core-runtime-LKLGBCGZ.js +114 -0
- package/chunks/{display-image-DR55LL6M.js → display-image-BE7I6ZB6.js} +5 -5
- package/chunks/{dist-DJBNNPLN.js → dist-4WXLCBDR.js} +1 -1
- package/chunks/{dist-TJUDJTCB.js → dist-5VXFRTWU.js} +280 -48
- package/chunks/{dist-6H6RZ5H6.js → dist-6BPYWHVD.js} +89 -65
- package/chunks/{dist-ZBVOXSKF.js → dist-GFN5DCBX.js} +74 -65
- package/chunks/{dist-SATKXKUR.js → dist-HZNT6GQS.js} +1 -1
- package/chunks/{dist-FVJZSIO4.js → dist-LVZCXVPF.js} +72 -20
- package/chunks/{dist-7CKN54NL.js → dist-N6W6E753.js} +71 -64
- package/chunks/{dist-4Q7NTUNB.js → dist-QDLFKWOL.js} +2 -2
- package/chunks/{dist-UQUFZDIY.js → dist-SWQMYP2Q.js} +18 -16
- package/chunks/earlyInputCapture-NERYFYTR.js +107 -0
- package/chunks/{edit-KSPVUEAS.js → edit-ACCATIXB.js} +45 -47
- package/chunks/{en-6MDBWMTG.js → en-YLXBXM4Z.js} +2 -1
- package/chunks/{enter-worktree-UOZ6ZTP7.js → enter-worktree-35QCAAFP.js} +7 -7
- package/chunks/{enterPlanMode-DZTABSKN.js → enterPlanMode-NEN6EPVM.js} +44 -46
- package/chunks/{environment-JXOSW25V.js → environment-CKWHBC5T.js} +58 -60
- package/chunks/errors-XTZPNQ77.js +113 -0
- package/chunks/{exit-worktree-G2QATUCV.js → exit-worktree-XQD6D543.js} +7 -7
- package/chunks/exitPlanMode-CY344X5J.js +83 -0
- package/chunks/{fast-path-EBS7NAVL.js → fast-path-YSOX4PAM.js} +5 -5
- package/chunks/{gemini-JELEKOVS.js → gemini-VQY2YCPH.js} +110 -108
- package/chunks/{geminiContentGenerator-I2CKP7XI.js → geminiContentGenerator-PAPXNIGU.js} +8 -8
- package/chunks/{glob-TDVEVPQZ.js → glob-GVCUSBBF.js} +44 -46
- package/chunks/{goal-tools-CNVXMSZD.js → goal-tools-5STK6OXW.js} +10 -8
- package/chunks/{grep-3NLSS32D.js → grep-5GPICQBU.js} +6 -6
- package/chunks/handleAutoUpdate-ZJPJN42W.js +109 -0
- package/chunks/i18n-BZYKOST7.js +124 -0
- package/chunks/{image-gen-63NN2H5N.js → image-gen-J6FDGUZP.js} +8 -10
- package/chunks/initializer-GO2C5HE3.js +113 -0
- package/chunks/installationInfo-WM2GXQZ6.js +107 -0
- package/chunks/{keychain-token-storage-3MGFRYGM.js → keychain-token-storage-37XPR34V.js} +2 -2
- package/chunks/list-ERDJB7PQ.js +116 -0
- package/chunks/{list-agents-EXRSHIDJ.js → list-agents-DI3YFTDT.js} +2 -2
- package/chunks/loadedSettingsAdapter-7JOCVOKV.js +110 -0
- package/chunks/{loggingContentGenerator-CZWUAHAI.js → loggingContentGenerator-3ONLU3BS.js} +321 -30
- package/chunks/{loop-wakeup-XBPB2BRO.js → loop-wakeup-XJFONSQ7.js} +5 -5
- package/chunks/{ls-WFONAND2.js → ls-3VAT2J7A.js} +4 -4
- package/chunks/{lsp-DUKPDUXN.js → lsp-5W7IRUBH.js} +2 -2
- package/chunks/{managed-npm-update-54W23SP5.js → managed-npm-update-TLRCC2GE.js} +57 -59
- package/chunks/mcp-2LH3QXR2.js +110 -0
- package/chunks/{monitor-A4J5QRGJ.js → monitor-P7LDAL4W.js} +44 -46
- package/chunks/nonInteractiveCli-E5T7PZ27.js +184 -0
- package/chunks/{notebook-edit-4ANFZON5.js → notebook-edit-F7KSG4WQ.js} +45 -47
- package/chunks/{openaiContentGenerator-JCCJJQZC.js → openaiContentGenerator-2EXCZUGN.js} +26 -28
- package/chunks/pidfile-P25DWA5Q.js +111 -0
- package/chunks/process-registry-OAEG6WGC.js +662 -0
- package/chunks/{processUtils-JJAR56SO.js → processUtils-PVDKBL35.js} +2 -2
- package/chunks/prompt-terminal-ledger-AJ7T7OIV.js +105 -0
- package/chunks/{qwenContentGenerator-5JM44ZSA.js → qwenContentGenerator-TBBRLWIT.js} +49 -51
- package/chunks/{qwenOAuth2-JIYAWXTW.js → qwenOAuth2-OF5WRBQT.js} +7 -9
- package/chunks/{read-file-N3E5DY7N.js → read-file-6IIY4RLJ.js} +13 -13
- package/chunks/{read-mcp-resource-7A7NFSFL.js → read-mcp-resource-XD257PGJ.js} +2 -2
- package/chunks/{record-artifact-CPJ4IJSD.js → record-artifact-VW23GS4F.js} +4 -4
- package/chunks/{report-findings-VFM5DENC.js → report-findings-XA3FJG3N.js} +5 -5
- package/chunks/{request-shutdown-AXVOFN5C.js → request-shutdown-BCLA3JV2.js} +7 -7
- package/chunks/resumeHistoryUtils-44IETXDY.js +118 -0
- package/chunks/ripGrep-E7ESZ7SS.js +39 -0
- package/chunks/{run-qwen-serve-IWGPZADI.js → run-qwen-serve-DXBCYW7V.js} +356 -331
- package/chunks/{runtime-I76HPFUE.js → runtime-RUSPD35D.js} +67 -69
- package/chunks/scheduled-tasks-DVRJZO6I.js +127 -0
- package/chunks/{scheduler-M6YL4K4I.js → scheduler-TDRB2NSY.js} +58 -60
- package/chunks/{sdk-exporters-http-XXSKBD2C.js → sdk-exporters-http-TTU2CHBU.js} +2 -2
- package/chunks/{sdk-impl-VPNBLV7I.js → sdk-impl-UUMVYMAL.js} +11 -5
- package/chunks/{send-message-A2GXDX3B.js → send-message-AJ4OCUBV.js} +25 -9
- package/chunks/serve-KITOM7OR.js +118 -0
- package/chunks/{server-TWXRRREO.js → server-THCOMUC2.js} +5476 -4771
- package/chunks/{session-IT5ZXU7A.js → session-XKR5MPXE.js} +105 -106
- package/chunks/session-pr-refresh-KRBH7KDA.js +278 -0
- package/chunks/{settings-IX5HOOCG.js → settings-YXZ4XBKK.js} +61 -63
- package/chunks/{shell-LZ55AAJB.js → shell-5FJ2DZ3W.js} +44 -46
- package/chunks/{skill-WSZ53D2R.js → skill-VMMJZ6CJ.js} +71 -26
- package/chunks/skill-settings-7SG4YA2W.js +118 -0
- package/chunks/spawnChannel-BPMIXRBI.js +112 -0
- package/chunks/standalone-update-QN5HFRIC.js +118 -0
- package/chunks/{startInteractiveUI-O6BI2OSA.js → startInteractiveUI-5A7RQFRP.js} +2902 -2289
- package/chunks/{syntheticOutput-5AJ444QT.js → syntheticOutput-ML43GEFN.js} +3 -3
- package/chunks/{task-create-CDJSOEQD.js → task-create-QN4LYRSE.js} +11 -11
- package/chunks/{task-list-BELMPA75.js → task-list-JPLGK45U.js} +5 -5
- package/chunks/{task-stop-U3S3KZG2.js → task-stop-CXEH5L2D.js} +2 -2
- package/chunks/{task-update-77VCFDDZ.js → task-update-IWEOJFV2.js} +11 -11
- package/chunks/{team-create-UF4TMQEH.js → team-create-HVGVUL2L.js} +44 -46
- package/chunks/{team-delete-YWFXX77L.js → team-delete-RZVVSGCY.js} +5 -5
- package/chunks/{team-plan-approval-U57NSR6C.js → team-plan-approval-S5A5FQWU.js} +44 -46
- package/chunks/terminal-image-renderer-SIVPPXDI.js +114 -0
- package/chunks/theme-manager-TA33UZZX.js +102 -0
- package/chunks/{todoWrite-435EO2CS.js → todoWrite-WDJNQEMW.js} +43 -25
- package/chunks/{tool-search-SV35UV72.js → tool-search-NX7IPDKP.js} +18 -18
- package/chunks/total-session-admission-PWXZBOVX.js +114 -0
- package/chunks/{trustedFolders-YKK67IP3.js → trustedFolders-V6Y4CU3F.js} +57 -59
- package/chunks/{update-relaunch-DX7LVA4P.js → update-relaunch-CGSX3R37.js} +5 -5
- package/chunks/updateCheck-T5O2WGIB.js +118 -0
- package/chunks/useAutoAcceptIndicator-ULBJJWPY.js +120 -0
- package/chunks/{validateNonInterActiveAuth-B26O4YJP.js → validateNonInterActiveAuth-E5S2JSRC.js} +101 -102
- package/chunks/{version-K5D7VJ4B.js → version-LS5JPU36.js} +1 -1
- package/chunks/{web-fetch-VFHZLLNZ.js → web-fetch-RLMFZTS3.js} +16 -18
- package/chunks/{web-search-AQE5A4J5.js → web-search-LMCIC4N5.js} +9 -11
- package/chunks/{workflow-XL6AEUZ7.js → workflow-JBXU3IGA.js} +128 -94
- package/chunks/workspace-providers-status-525ORQBH.js +114 -0
- package/chunks/{workspace-registration-store-I4U3V5LL.js → workspace-registration-store-7Y44R4LV.js} +1 -1
- package/chunks/workspace-registry-HS4RWUSQ.js +123 -0
- package/chunks/workspace-service-7PXDM6EB.js +129 -0
- package/chunks/workspace-skills-status-FMJGC2XI.js +113 -0
- package/chunks/{workspace-trust-reconciler-GJ466KCE.js → workspace-trust-reconciler-3YTWSQBY.js} +70 -70
- package/chunks/write-file-BVQRYQQO.js +88 -0
- package/chunks/{zh-TW-MV4FWFB6.js → zh-TW-RPTMRTHG.js} +2 -1
- package/chunks/{zh-X3WGU6SI.js → zh-UNY63FR3.js} +2 -1
- package/chunks/{zoom-image-NYJPC3NI.js → zoom-image-FGCELNS4.js} +13 -13
- package/cli.js +14 -14
- package/locales/en.js +2 -0
- package/locales/zh-TW.js +2 -0
- package/locales/zh.js +2 -0
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-yq7z7Anb.js → abnfDiagram-VCTEODGH-2XZDeWYO.js} +1 -1
- package/web-shell/assets/{arc-CbJO0xnT.js → arc-B6UgMh90.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-CRh89421.js → architectureDiagram-5GKGNRK7-DZgNFeN1.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-C75KAhKv.js → blockDiagram-NRAW4CY4-DQ2wvBFN.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BzlMveFB.js → c4Diagram-UCG6FXSJ-DMmQMrc4.js} +1 -1
- package/web-shell/assets/channel-D_TyfiTx.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DA8QDX3a.js → chunk-2Q5K7J3B-C8Zh2e9y.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-Bgu7gQ7Y.js → chunk-5VM5RSS4-C3LTenP8.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-BOew7pIK.js → chunk-F27PBJKO-CxABOc8n.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DHx1I-hO.js → chunk-G27WJ6UU-CD_JxHDC.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-SarFW0WU.js → chunk-JWPE2WC7-BdmZPmce.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-BLzP083Z.js → chunk-LCL6LL3I-80bcHmfK.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Bmkv_iKm.js → chunk-POPQ4Y6H-CNpLZyQF.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-MPx9r1N2.js → chunk-SVP7TREG-CXlKgMv3.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-Ck-09rKG.js → chunk-XXDRQBXY-CivyYyvL.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-Bw_H3xMd.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-Bw_H3xMd.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DWm6lfOG.js → cose-bilkent-JH36ORCC-COAjRH3w.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-DcBUyr5R.js → cynefin-OW5HDTMX-DqU1JHO6.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-Df8qmd_p.js → cynefinDiagram-5FMLGOSQ-BCLI1Bvj.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-DDmGspD7.js → dagre-3AP2YEHR-DmAz8nqF.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-BK_qFvbi.js → diagram-S7CK7UJ4-Ck-5QLT5.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-Uw3AP_bi.js → diagram-UQ7AKVKN-C0ljX0mW.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CJOQKxY7.js → diagram-VSXAHHWV-DPgvT24v.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-DhdvZna5.js → diagram-VX7I27RA-D7hWr1LR.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-edQU0nlP.js → diagram-Z3DM3KII-D59tlOta.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-4kugBEsO.js → ebnfDiagram-PWID7BFC-CY2DDx00.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-BMkFivWO.js → erDiagram-SSCWMZ5O-AR4h8Q8k.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BM1ea8g-.js → flowDiagram-A5DVABFB-DbF0HqBz.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-CXj_cKRf.js → ganttDiagram-EL5Y4UJY-J52mrIhc.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D0nEqwqu.js → gitGraphDiagram-WWUBYQGX-CcgMY5EV.js} +1 -1
- package/web-shell/assets/index-BjUg3vPr.css +5 -0
- package/web-shell/assets/index-CFwYYVFU.js +1873 -0
- package/web-shell/assets/{index-B6JN54Pd.js → index-MQs7l15A.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-DF7aGGbQ.js → infoDiagram-RXCK75RN-Buu3ibp2.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-CZYNX1lL.js → ishikawaDiagram-5VMMS53U-CoKQxnF3.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CvrqMUz1.js → journeyDiagram-EYS64GPL-CxK35mTC.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-BZNJQZBj.js → kanban-definition-3QL26DDD-tk2CHTQ1.js} +1 -1
- package/web-shell/assets/{layout-Bf83x7D6.js → layout-DEpMwb4u.js} +1 -1
- package/web-shell/assets/{linear-Bkc3ES2f.js → linear-DSQsLh53.js} +1 -1
- package/web-shell/assets/{mermaid.core-C6xuovwz.js → mermaid.core-DIZuPBQT.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DzH6gVRg.js → mindmap-definition-FBJOCRG2-CCAvk8r_.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-DCvLh2fa.js → pegDiagram-XKGWAZYB-CpJ28jxz.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BtjVlx_6.js → pieDiagram-E7YTZNPT-ziJR2R32.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-IbroqxFe.js → quadrantDiagram-AXDQQJYC-B60zE3Mh.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-BvMykiWW.js → railroadDiagram-O6MQD6OU-M3GqQ_g1.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-D-HHMyrh.js → requirementDiagram-EFPCY7ZU-ntCtYqTk.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-C0XXhB6d.js → sankeyDiagram-P5KCCOFB-AYLoItcZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DseAXj5d.js → sequenceDiagram-WJ2MYXX4-DEWk4Mlj.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-Cek2EweK.js → sizeCapture-X5ZJPWSS-OOWvzPay.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-yLv8wafW.js → stateDiagram-HBIQ2CUA-BcMmvxem.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DRLLqPWO.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-Cwz-opvE.js → swimlanes-XN3QIQJK-DuZTWWvh.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DOfLQQYt.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BJuFD7OG.js → timeline-definition-24CTP7MA-CjqtZXEd.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CNAavdoV.js → vennDiagram-4TSXK5OY-knVCVkQ4.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-DaIjAidq.js → wardleyDiagram-VM6X3IG4-yoWhw0a2.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-DkcQXjTy.js → xychartDiagram-S5SC5T6Z-ue14E_gL.js} +1 -1
- package/web-shell/index.html +3 -3
- package/chunks/MaxSizedBox-UUTUE42J.js +0 -112
- package/chunks/agent-headless-32O4L2CT.js +0 -87
- package/chunks/bridge-DFX2FFH4.js +0 -119
- package/chunks/channel-settings-store-ELLH2M4M.js +0 -117
- package/chunks/chunk-I6VVOZDK.js +0 -202
- package/chunks/chunk-JS73NNWF.js +0 -30
- package/chunks/chunk-K2OJUPOE.js +0 -78
- package/chunks/chunk-P3QQPMQA.js +0 -19
- package/chunks/chunk-SDVF6A42.js +0 -945
- package/chunks/chunk-VGHZT6JR.js +0 -51
- package/chunks/config-utils-7M6PCTLT.js +0 -113
- package/chunks/contextCommand-G4QG3TW6.js +0 -108
- package/chunks/daemon-status-provider-F5FEHVVG.js +0 -118
- package/chunks/daemon-trust-policy-C6YTU5CQ.js +0 -114
- package/chunks/deferred-core-runtime-GHT3GDOR.js +0 -116
- package/chunks/earlyInputCapture-HOSJTLWP.js +0 -109
- package/chunks/errors-IOXFDE4J.js +0 -115
- package/chunks/exitPlanMode-PZG4FXRB.js +0 -85
- package/chunks/handleAutoUpdate-AWAGHKOX.js +0 -111
- package/chunks/i18n-CYA25C5F.js +0 -126
- package/chunks/initializer-JD2FLNLO.js +0 -115
- package/chunks/installationInfo-N3DCWVWR.js +0 -109
- package/chunks/list-XDQAUET5.js +0 -118
- package/chunks/loadedSettingsAdapter-IK7H5JRK.js +0 -112
- package/chunks/mcp-2E7ZLMEE.js +0 -112
- package/chunks/nonInteractiveCli-ZNDXB62Y.js +0 -185
- package/chunks/pidfile-DHV2Y7UD.js +0 -113
- package/chunks/process-registry-PMJOA5CO.js +0 -172
- package/chunks/prompt-terminal-ledger-LDZ6QVYA.js +0 -107
- package/chunks/resumeHistoryUtils-YQRITQAG.js +0 -120
- package/chunks/ripGrep-NEIHKBKB.js +0 -39
- package/chunks/serve-XY5S63GN.js +0 -120
- package/chunks/skill-settings-5U7FTJIK.js +0 -120
- package/chunks/spawnChannel-TMC6VXGN.js +0 -113
- package/chunks/standalone-update-CUYGWTR4.js +0 -120
- package/chunks/terminal-image-renderer-DRL3BROJ.js +0 -116
- package/chunks/theme-manager-HHJPUDRN.js +0 -104
- package/chunks/total-session-admission-TQI7TCTL.js +0 -114
- package/chunks/updateCheck-6JRTKTUF.js +0 -120
- package/chunks/useAutoAcceptIndicator-MYXYSKSL.js +0 -122
- package/chunks/workspace-providers-status-H6TG34YV.js +0 -116
- package/chunks/workspace-registry-2PWNIYNI.js +0 -123
- package/chunks/workspace-service-4FGTUJLA.js +0 -131
- package/chunks/workspace-skills-status-7VOLUDT6.js +0 -115
- package/chunks/write-file-PWOYCT2K.js +0 -90
- package/web-shell/assets/channel-B3sGR79J.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-sTGo0K3v.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-sTGo0K3v.js +0 -1
- package/web-shell/assets/index-C-XlQn24.css +0 -5
- package/web-shell/assets/index-DLjXM0dn.js +0 -1860
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DeThXnol.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-GW0R1ZSv.js +0 -8
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
contextCommand
|
|
5
|
-
} from "./chunk-KCOXDRQL.js";
|
|
6
3
|
import {
|
|
7
4
|
ExtensionRefreshState,
|
|
8
5
|
clearSkillArgs,
|
|
@@ -11,7 +8,13 @@ import {
|
|
|
11
8
|
staleArgsWarning,
|
|
12
9
|
validateAuthMethod,
|
|
13
10
|
writeSkillArgs
|
|
14
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TQHGJYR3.js";
|
|
12
|
+
import {
|
|
13
|
+
isKittyProtocolEnabled
|
|
14
|
+
} from "./chunk-NYX53SV4.js";
|
|
15
|
+
import {
|
|
16
|
+
contextCommand
|
|
17
|
+
} from "./chunk-UY3PBNY3.js";
|
|
15
18
|
import {
|
|
16
19
|
calculateCost,
|
|
17
20
|
computeSessionStats,
|
|
@@ -20,28 +23,25 @@ import {
|
|
|
20
23
|
findInlineMathExpressions,
|
|
21
24
|
getSystemInfoFields,
|
|
22
25
|
levelLabel
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RVXDXY6I.js";
|
|
24
27
|
import {
|
|
25
28
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
26
29
|
isWaylandSession,
|
|
27
30
|
writeOsc52
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CFJY4DGX.js";
|
|
29
32
|
import {
|
|
30
33
|
formatDuration,
|
|
31
34
|
formatTokenCount
|
|
32
35
|
} from "./chunk-3SH53ANB.js";
|
|
33
|
-
import {
|
|
34
|
-
isKittyProtocolEnabled
|
|
35
|
-
} from "./chunk-NYX53SV4.js";
|
|
36
36
|
import {
|
|
37
37
|
rollbackStandaloneUpdate
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SUX7HDNA.js";
|
|
39
39
|
import {
|
|
40
40
|
themeManager
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QFCDF5PL.js";
|
|
42
42
|
import {
|
|
43
43
|
getErrorMessage as getErrorMessage2
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JN4IWWMN.js";
|
|
45
45
|
import {
|
|
46
46
|
GITHUB_WORKFLOW_PATHS,
|
|
47
47
|
INSIGHT_CSS,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
toJson,
|
|
55
55
|
toJsonl,
|
|
56
56
|
toMarkdown
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AU3MMVJF.js";
|
|
58
58
|
import {
|
|
59
59
|
stripUnsafeCharacters,
|
|
60
60
|
toCodePoints,
|
|
@@ -70,16 +70,16 @@ import {
|
|
|
70
70
|
isVoiceEnabled,
|
|
71
71
|
readVoiceMode,
|
|
72
72
|
readVoiceModel
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-HYDJDQGJ.js";
|
|
74
74
|
import {
|
|
75
75
|
getExtendedSystemInfo,
|
|
76
76
|
getGitVersion,
|
|
77
77
|
getNpmVersion
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-7GWQW5ID.js";
|
|
79
79
|
import {
|
|
80
80
|
isInlineModelOverrideAllowed,
|
|
81
81
|
parseAcpModelOption
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-EKNBU2X7.js";
|
|
83
83
|
import {
|
|
84
84
|
OUTPUT_LANGUAGE_AUTO,
|
|
85
85
|
getAllSettingKeys,
|
|
@@ -91,12 +91,12 @@ import {
|
|
|
91
91
|
resolveOutputLanguageOrPreserveAuto,
|
|
92
92
|
validateSettingValue,
|
|
93
93
|
writeOutputLanguageAndRegisterPath
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-HPXV655A.js";
|
|
95
95
|
import {
|
|
96
96
|
getCurrentLanguage,
|
|
97
97
|
setLanguageAsync,
|
|
98
98
|
t
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-RWZB422L.js";
|
|
100
100
|
import {
|
|
101
101
|
SUPPORTED_LANGUAGES,
|
|
102
102
|
getSupportedLanguageIds,
|
|
@@ -104,11 +104,11 @@ import {
|
|
|
104
104
|
} from "./chunk-5EJZE3FP.js";
|
|
105
105
|
import {
|
|
106
106
|
getInstallationInfo
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-V2NDP3I4.js";
|
|
108
108
|
import {
|
|
109
109
|
isFolderTrustEnabled,
|
|
110
110
|
loadTrustedFolders
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-CYAUBK46.js";
|
|
112
112
|
import {
|
|
113
113
|
require_strip_json_comments
|
|
114
114
|
} from "./chunk-NPQ5ZKRP.js";
|
|
@@ -122,24 +122,27 @@ import {
|
|
|
122
122
|
buildLearnSkillPrompt,
|
|
123
123
|
buildLearnVideoSkillRequest,
|
|
124
124
|
buildManagedRememberPrompt,
|
|
125
|
+
canonicalizeMsgId,
|
|
126
|
+
describeHoldCause,
|
|
125
127
|
encodeInsightErrorMessage,
|
|
126
128
|
encodeInsightProgressMessage,
|
|
127
129
|
encodeInsightReadyMessage,
|
|
128
130
|
findProviderByCredentials,
|
|
131
|
+
flattenPeerLabel,
|
|
129
132
|
generateSessionRecap,
|
|
130
133
|
getIdeInstaller,
|
|
131
134
|
getMCPServerPrompts,
|
|
132
135
|
isWsl,
|
|
133
136
|
parseLearnVideoInput,
|
|
134
137
|
readPathFromWorkspace
|
|
135
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-W6DUQ5GA.js";
|
|
136
139
|
import {
|
|
137
140
|
listSavedWorkflows,
|
|
138
141
|
listWorkflowSnapshots
|
|
139
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-CRKKHXTI.js";
|
|
140
143
|
import {
|
|
141
144
|
resolveOpenAILogDir
|
|
142
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-TW3E6YNO.js";
|
|
143
146
|
import {
|
|
144
147
|
ArenaManager,
|
|
145
148
|
ConditionalRulesRegistry,
|
|
@@ -181,7 +184,7 @@ import {
|
|
|
181
184
|
resolveSlimmingConfig,
|
|
182
185
|
runForkedAgent,
|
|
183
186
|
tryGenerateSessionTitle
|
|
184
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-EWIQ3NAE.js";
|
|
185
188
|
import {
|
|
186
189
|
external_exports
|
|
187
190
|
} from "./chunk-CQ35AJ4Z.js";
|
|
@@ -189,7 +192,7 @@ import {
|
|
|
189
192
|
buildRuntimeSnapshotId,
|
|
190
193
|
resolveModelId,
|
|
191
194
|
stripRuntimeSnapshotPrefix
|
|
192
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-JB4JIVTJ.js";
|
|
193
196
|
import {
|
|
194
197
|
getAutoSkillCuratorStatus,
|
|
195
198
|
parse,
|
|
@@ -197,31 +200,33 @@ import {
|
|
|
197
200
|
restoreArchivedAutoSkill,
|
|
198
201
|
runAutoSkillCurator,
|
|
199
202
|
setAutoSkillPinned
|
|
200
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-6W2IK5KC.js";
|
|
201
204
|
import {
|
|
202
205
|
HookEventName,
|
|
203
206
|
sanitizeUserPromptExpansionAdditionalContext
|
|
204
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-TTX2JUE6.js";
|
|
205
208
|
import {
|
|
206
209
|
canUseRipgrep
|
|
207
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-4K7KNVWH.js";
|
|
208
211
|
import {
|
|
209
212
|
glob
|
|
210
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-SMPR7SPO.js";
|
|
211
214
|
import {
|
|
212
215
|
checkArgumentSafety,
|
|
213
216
|
checkCommandPermissions,
|
|
214
217
|
escapeShellArg,
|
|
215
218
|
getShellConfiguration
|
|
216
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-JWALNCLT.js";
|
|
217
220
|
import {
|
|
218
221
|
GoalPersistenceUnavailableError,
|
|
219
|
-
emptyGoalSnapshot
|
|
222
|
+
emptyGoalSnapshot
|
|
223
|
+
} from "./chunk-XLLQJRAH.js";
|
|
224
|
+
import {
|
|
220
225
|
projectUserTranscriptForDisplay
|
|
221
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-7J6OTNGO.js";
|
|
222
227
|
import {
|
|
223
228
|
APPROVAL_MODES
|
|
224
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-V5J4J5TP.js";
|
|
225
230
|
import {
|
|
226
231
|
openBrowserSecurely
|
|
227
232
|
} from "./chunk-NAVJD2PQ.js";
|
|
@@ -242,37 +247,37 @@ import {
|
|
|
242
247
|
read,
|
|
243
248
|
recordSkillInvocation,
|
|
244
249
|
uiTelemetryService
|
|
245
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-SZLBBZH4.js";
|
|
246
251
|
import {
|
|
247
|
-
|
|
248
|
-
} from "./chunk-
|
|
252
|
+
getCurrentMemoryFilename
|
|
253
|
+
} from "./chunk-BKWNKLZB.js";
|
|
249
254
|
import {
|
|
250
255
|
getAutoMemoryRoot
|
|
251
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-6PJOTWAN.js";
|
|
252
257
|
import {
|
|
253
258
|
runSideQuery
|
|
254
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-BWORX6FA.js";
|
|
255
260
|
import {
|
|
256
261
|
AuthType
|
|
257
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-PPKZ7JOE.js";
|
|
258
263
|
import {
|
|
259
264
|
normalizeContent,
|
|
260
265
|
redactUrlCredentials
|
|
261
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-B5PHIJGI.js";
|
|
262
267
|
import {
|
|
263
268
|
FORK_SUBAGENT_TYPE,
|
|
264
269
|
stripStartupContext
|
|
265
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-CAJTKR6W.js";
|
|
266
271
|
import {
|
|
267
272
|
applySkillAllowedTools,
|
|
268
273
|
buildSkillLlmContent
|
|
269
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-ZU4UDIWX.js";
|
|
270
275
|
import {
|
|
271
276
|
ToolDisplayNamesMigration,
|
|
272
277
|
ToolNames,
|
|
273
278
|
canonicalToolName,
|
|
274
279
|
isShellProgressData
|
|
275
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-UTLCH2FK.js";
|
|
276
281
|
import {
|
|
277
282
|
Storage,
|
|
278
283
|
createDebugLogger,
|
|
@@ -281,12 +286,12 @@ import {
|
|
|
281
286
|
isSubpath,
|
|
282
287
|
resolvePath,
|
|
283
288
|
updateSymlink
|
|
284
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-UHQFIS7N.js";
|
|
285
290
|
import {
|
|
286
291
|
isCpuProfileRecording,
|
|
287
292
|
startCpuProfile,
|
|
288
293
|
stopCpuProfile
|
|
289
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-X3ZRTCJD.js";
|
|
290
295
|
import {
|
|
291
296
|
init_esbuild_shims
|
|
292
297
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2435,7 +2440,7 @@ var approvalModeCommand = {
|
|
|
2435
2440
|
};
|
|
2436
2441
|
}
|
|
2437
2442
|
}
|
|
2438
|
-
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-
|
|
2443
|
+
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-ULBJJWPY.js") : void 0;
|
|
2439
2444
|
if (config) {
|
|
2440
2445
|
try {
|
|
2441
2446
|
config.setApprovalMode(mode);
|
|
@@ -2533,6 +2538,175 @@ var branchCommand = {
|
|
|
2533
2538
|
}, "action")
|
|
2534
2539
|
};
|
|
2535
2540
|
|
|
2541
|
+
// packages/cli/src/ui/commands/peers-command.ts
|
|
2542
|
+
init_esbuild_shims();
|
|
2543
|
+
function shortId(msgId) {
|
|
2544
|
+
return msgId.replace(/-/g, "").slice(0, 6);
|
|
2545
|
+
}
|
|
2546
|
+
__name(shortId, "shortId");
|
|
2547
|
+
function displayHandle(entry, held) {
|
|
2548
|
+
const own = canonicalizeMsgId(entry.frame.msgId);
|
|
2549
|
+
let length = Math.min(shortId(entry.frame.msgId).length, own.length);
|
|
2550
|
+
const collides = /* @__PURE__ */ __name((len) => held.some(
|
|
2551
|
+
(other) => other !== entry && canonicalizeMsgId(other.frame.msgId).startsWith(own.slice(0, len))
|
|
2552
|
+
), "collides");
|
|
2553
|
+
while (length < own.length && collides(length)) {
|
|
2554
|
+
length += 1;
|
|
2555
|
+
}
|
|
2556
|
+
return own.slice(0, length);
|
|
2557
|
+
}
|
|
2558
|
+
__name(displayHandle, "displayHandle");
|
|
2559
|
+
function preview(text, max = 100) {
|
|
2560
|
+
const oneLine = flattenPeerLabel(text).replace(/\s+/g, " ").trim();
|
|
2561
|
+
return oneLine.length > max ? `${oneLine.slice(0, max - 1)}\u2026` : oneLine;
|
|
2562
|
+
}
|
|
2563
|
+
__name(preview, "preview");
|
|
2564
|
+
function formatHeldList(held) {
|
|
2565
|
+
if (held.length === 0) return "No messages from other sessions are waiting.";
|
|
2566
|
+
const lines = held.map((entry) => {
|
|
2567
|
+
const who = flattenPeerLabel(
|
|
2568
|
+
entry.frame.fromName ?? entry.frame.from ?? "unknown session"
|
|
2569
|
+
);
|
|
2570
|
+
const handle = flattenPeerLabel(displayHandle(entry, held));
|
|
2571
|
+
return ` ${handle} ${who}
|
|
2572
|
+
${preview(entry.frame.message.content)}
|
|
2573
|
+
held because ${describeHoldCause(entry.cause)}`;
|
|
2574
|
+
});
|
|
2575
|
+
return [
|
|
2576
|
+
`${held.length} message${held.length === 1 ? "" : "s"} waiting for your review:`,
|
|
2577
|
+
...lines,
|
|
2578
|
+
"",
|
|
2579
|
+
"Release with /peers accept <id|all>, or drop with /peers deny <id|all>."
|
|
2580
|
+
].join("\n");
|
|
2581
|
+
}
|
|
2582
|
+
__name(formatHeldList, "formatHeldList");
|
|
2583
|
+
function resolveHeld(held, token) {
|
|
2584
|
+
const needle = token.toLowerCase();
|
|
2585
|
+
const exact = held.filter(
|
|
2586
|
+
(entry) => canonicalizeMsgId(entry.frame.msgId) === needle
|
|
2587
|
+
);
|
|
2588
|
+
if (exact.length === 1) return { kind: "one", msgId: exact[0].frame.msgId };
|
|
2589
|
+
const matches = held.filter(
|
|
2590
|
+
(entry) => canonicalizeMsgId(entry.frame.msgId).startsWith(needle) || entry.frame.msgId.toLowerCase().startsWith(needle)
|
|
2591
|
+
);
|
|
2592
|
+
if (matches.length === 0) return { kind: "none" };
|
|
2593
|
+
if (matches.length > 1) return { kind: "ambiguous" };
|
|
2594
|
+
return { kind: "one", msgId: matches[0].frame.msgId };
|
|
2595
|
+
}
|
|
2596
|
+
__name(resolveHeld, "resolveHeld");
|
|
2597
|
+
var peersCommand = {
|
|
2598
|
+
name: "peers",
|
|
2599
|
+
kind: "built-in" /* BUILT_IN */,
|
|
2600
|
+
get description() {
|
|
2601
|
+
return t(
|
|
2602
|
+
"Review messages held from other Qwen Code sessions (accept | deny)"
|
|
2603
|
+
);
|
|
2604
|
+
},
|
|
2605
|
+
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
2606
|
+
const peerMessaging = context.services.peerMessaging;
|
|
2607
|
+
if (!peerMessaging) {
|
|
2608
|
+
const enabled = context.services.settings?.merged?.agents?.crossSessionMessaging === true;
|
|
2609
|
+
return {
|
|
2610
|
+
type: "message",
|
|
2611
|
+
messageType: enabled ? "error" : "info",
|
|
2612
|
+
content: enabled ? "Cross-session messaging is on, but this session has no inbox: it either failed to register in the session registry or failed to bind its socket. Re-run with DEBUG=1 to see the bind error." : 'Cross-session messaging is off. Enable it with "agents.crossSessionMessaging": true in settings.json, then restart.'
|
|
2613
|
+
};
|
|
2614
|
+
}
|
|
2615
|
+
const held = peerMessaging.getHeld();
|
|
2616
|
+
const [verb, ...rest] = args.trim().split(/\s+/).filter(Boolean);
|
|
2617
|
+
if (verb === void 0 || verb === "list") {
|
|
2618
|
+
peerMessaging.recordHeldListing(held);
|
|
2619
|
+
return {
|
|
2620
|
+
type: "message",
|
|
2621
|
+
messageType: "info",
|
|
2622
|
+
content: formatHeldList(held)
|
|
2623
|
+
};
|
|
2624
|
+
}
|
|
2625
|
+
if (verb !== "accept" && verb !== "deny") {
|
|
2626
|
+
return {
|
|
2627
|
+
type: "message",
|
|
2628
|
+
messageType: "error",
|
|
2629
|
+
content: `Unknown subcommand "${verb}". Use /peers, /peers accept <id|all>, or /peers deny <id|all>.`
|
|
2630
|
+
};
|
|
2631
|
+
}
|
|
2632
|
+
const decision = verb === "accept" ? "approve" : "deny";
|
|
2633
|
+
const target = rest[0];
|
|
2634
|
+
if (target === void 0) {
|
|
2635
|
+
return {
|
|
2636
|
+
type: "message",
|
|
2637
|
+
messageType: "error",
|
|
2638
|
+
content: `Which message? Use /peers ${verb} <id|all> \u2014 /peers lists the ids.`
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
if (peerMessaging.heldSetChangedSinceListing()) {
|
|
2642
|
+
return {
|
|
2643
|
+
type: "message",
|
|
2644
|
+
messageType: "error",
|
|
2645
|
+
content: "The waiting list changed since you listed it \u2014 run /peers again to review what is waiting now."
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2648
|
+
if (held.length === 0) {
|
|
2649
|
+
return {
|
|
2650
|
+
type: "message",
|
|
2651
|
+
messageType: "info",
|
|
2652
|
+
content: "No messages from other sessions are waiting."
|
|
2653
|
+
};
|
|
2654
|
+
}
|
|
2655
|
+
if (target.toLowerCase() === "all") {
|
|
2656
|
+
const ids = held.map((entry) => entry.frame.msgId);
|
|
2657
|
+
let count = 0;
|
|
2658
|
+
let failed = 0;
|
|
2659
|
+
for (const msgId of ids) {
|
|
2660
|
+
const outcome2 = peerMessaging.decide(msgId, decision);
|
|
2661
|
+
if (outcome2 === "done") count += 1;
|
|
2662
|
+
else if (outcome2 === "failed") failed += 1;
|
|
2663
|
+
}
|
|
2664
|
+
peerMessaging.recordHeldListing(peerMessaging.getHeld());
|
|
2665
|
+
return {
|
|
2666
|
+
type: "message",
|
|
2667
|
+
messageType: "info",
|
|
2668
|
+
content: `${verb === "accept" ? "Released" : "Dropped"} ${count} message${count === 1 ? "" : "s"}.` + (failed > 0 ? ` ${failed} could not be delivered and ${failed === 1 ? "is" : "are"} still waiting \u2014 try again once the session catches up.` : "")
|
|
2669
|
+
};
|
|
2670
|
+
}
|
|
2671
|
+
const resolved = resolveHeld(held, target);
|
|
2672
|
+
if (resolved.kind === "none") {
|
|
2673
|
+
return {
|
|
2674
|
+
type: "message",
|
|
2675
|
+
messageType: "error",
|
|
2676
|
+
content: `No held message matches "${target}". Run /peers to see what is waiting.`
|
|
2677
|
+
};
|
|
2678
|
+
}
|
|
2679
|
+
if (resolved.kind === "ambiguous") {
|
|
2680
|
+
return {
|
|
2681
|
+
type: "message",
|
|
2682
|
+
messageType: "error",
|
|
2683
|
+
content: `"${target}" matches more than one held message. Use more characters of the id.`
|
|
2684
|
+
};
|
|
2685
|
+
}
|
|
2686
|
+
const outcome = peerMessaging.decide(resolved.msgId, decision);
|
|
2687
|
+
peerMessaging.recordHeldListing(peerMessaging.getHeld());
|
|
2688
|
+
if (outcome === "gone") {
|
|
2689
|
+
return {
|
|
2690
|
+
type: "message",
|
|
2691
|
+
messageType: "info",
|
|
2692
|
+
content: "That message is no longer waiting \u2014 it may have expired or already been decided."
|
|
2693
|
+
};
|
|
2694
|
+
}
|
|
2695
|
+
if (outcome === "failed") {
|
|
2696
|
+
return {
|
|
2697
|
+
type: "message",
|
|
2698
|
+
messageType: "error",
|
|
2699
|
+
content: "The session could not take the message just now \u2014 its input queue is full. It is still waiting; try again in a moment."
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
return {
|
|
2703
|
+
type: "message",
|
|
2704
|
+
messageType: "info",
|
|
2705
|
+
content: verb === "accept" ? "Released to this session. It will be picked up on the next turn." : "Dropped. The sending session has been told."
|
|
2706
|
+
};
|
|
2707
|
+
}, "action")
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2536
2710
|
// packages/cli/src/ui/commands/btwCommand.ts
|
|
2537
2711
|
init_esbuild_shims();
|
|
2538
2712
|
function formatBtwError(error) {
|
|
@@ -2904,12 +3078,12 @@ var directoryCommand = {
|
|
|
2904
3078
|
config.getContextRuleExcludes()
|
|
2905
3079
|
);
|
|
2906
3080
|
config.setUserMemory(memoryContent);
|
|
2907
|
-
config.
|
|
3081
|
+
config.setMemoryFileCount(fileCount);
|
|
2908
3082
|
config.setContextFilePaths(contextFilePaths);
|
|
2909
3083
|
config.setConditionalRulesRegistry(
|
|
2910
3084
|
new ConditionalRulesRegistry(conditionalRules, projectRoot)
|
|
2911
3085
|
);
|
|
2912
|
-
context.ui.
|
|
3086
|
+
context.ui.setMemoryFileCount(fileCount);
|
|
2913
3087
|
messages.push(
|
|
2914
3088
|
t(
|
|
2915
3089
|
"Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}",
|
|
@@ -5808,8 +5982,8 @@ function formatSmapsRollup(smapsRollup) {
|
|
|
5808
5982
|
if (rssLine) {
|
|
5809
5983
|
return rssLine;
|
|
5810
5984
|
}
|
|
5811
|
-
const
|
|
5812
|
-
return `${t("parse error")}: ${
|
|
5985
|
+
const preview2 = smapsRollup.slice(0, 80).trim().replace(/\s+/g, " ");
|
|
5986
|
+
return `${t("parse error")}: ${preview2}`;
|
|
5813
5987
|
}
|
|
5814
5988
|
__name(formatSmapsRollup, "formatSmapsRollup");
|
|
5815
5989
|
function formatCoreDiagnostics(diagnostics) {
|
|
@@ -6229,11 +6403,13 @@ var effortCommand = {
|
|
|
6229
6403
|
};
|
|
6230
6404
|
}
|
|
6231
6405
|
applyReasoningEffort(config, tier);
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6406
|
+
if (context.executionPolicy?.persistModelSelection !== false) {
|
|
6407
|
+
settings.setValue(
|
|
6408
|
+
getPersistScopeForModelSelection(settings),
|
|
6409
|
+
"model.reasoningEffort",
|
|
6410
|
+
tier
|
|
6411
|
+
);
|
|
6412
|
+
}
|
|
6237
6413
|
return {
|
|
6238
6414
|
type: "message",
|
|
6239
6415
|
messageType: "info",
|
|
@@ -7239,7 +7415,7 @@ var expandNowCommand = {
|
|
|
7239
7415
|
content: t("History is already expanded in this session.")
|
|
7240
7416
|
};
|
|
7241
7417
|
}
|
|
7242
|
-
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-
|
|
7418
|
+
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-44IETXDY.js");
|
|
7243
7419
|
const updated = expandCollapsedHistory(history);
|
|
7244
7420
|
loadHistory(updated);
|
|
7245
7421
|
refreshStatic();
|
|
@@ -8622,6 +8798,15 @@ var importConfigCommand = {
|
|
|
8622
8798
|
${usage()}`
|
|
8623
8799
|
};
|
|
8624
8800
|
}
|
|
8801
|
+
if (parsed.scope === "project" && context.executionPolicy?.allowWorkspaceSettingsWrite === false) {
|
|
8802
|
+
return {
|
|
8803
|
+
type: "message",
|
|
8804
|
+
messageType: "error",
|
|
8805
|
+
content: t(
|
|
8806
|
+
"Project configuration imports are not available in this session."
|
|
8807
|
+
)
|
|
8808
|
+
};
|
|
8809
|
+
}
|
|
8625
8810
|
try {
|
|
8626
8811
|
const importSource = resolveImportSourceForScope(
|
|
8627
8812
|
parsed.source,
|
|
@@ -8678,7 +8863,7 @@ var initCommand = {
|
|
|
8678
8863
|
};
|
|
8679
8864
|
}
|
|
8680
8865
|
const targetDir = context.services.config.getTargetDir();
|
|
8681
|
-
const contextFileName =
|
|
8866
|
+
const contextFileName = getCurrentMemoryFilename();
|
|
8682
8867
|
const contextFilePath = path8.join(targetDir, contextFileName);
|
|
8683
8868
|
try {
|
|
8684
8869
|
if (fs7.existsSync(contextFilePath)) {
|
|
@@ -8816,6 +9001,15 @@ function validateUiScopeFlags(context, parsed) {
|
|
|
8816
9001
|
)
|
|
8817
9002
|
};
|
|
8818
9003
|
}
|
|
9004
|
+
if (parsed.scope === "Workspace" /* Workspace */ && context.executionPolicy?.allowWorkspaceSettingsWrite === false) {
|
|
9005
|
+
return {
|
|
9006
|
+
type: "message",
|
|
9007
|
+
messageType: "error",
|
|
9008
|
+
content: t(
|
|
9009
|
+
"Project language settings are not available in this session."
|
|
9010
|
+
)
|
|
9011
|
+
};
|
|
9012
|
+
}
|
|
8819
9013
|
if (parsed.scope === "Workspace" /* Workspace */ && context.services.settings && !context.services.settings.isTrusted) {
|
|
8820
9014
|
return {
|
|
8821
9015
|
type: "message",
|
|
@@ -9296,7 +9490,7 @@ function persistSetting(settings, path18, value, scopeOverride) {
|
|
|
9296
9490
|
settings.setValue(resolveScope(settings, scopeOverride), path18, value);
|
|
9297
9491
|
}
|
|
9298
9492
|
__name(persistSetting, "persistSetting");
|
|
9299
|
-
async function switchMainModel(config, settings, currentAuthType, modelArg, scopeOverride) {
|
|
9493
|
+
async function switchMainModel(config, settings, currentAuthType, modelArg, scopeOverride, persistSelection = true) {
|
|
9300
9494
|
const parsed = parseAcpModelOption(modelArg);
|
|
9301
9495
|
if (parsed.authType) {
|
|
9302
9496
|
await config.switchModel(
|
|
@@ -9304,19 +9498,23 @@ async function switchMainModel(config, settings, currentAuthType, modelArg, scop
|
|
|
9304
9498
|
parsed.modelId,
|
|
9305
9499
|
parsed.authType !== currentAuthType && parsed.authType === "qwen-oauth" /* QWEN_OAUTH */ ? { requireCachedCredentials: true } : void 0
|
|
9306
9500
|
);
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9501
|
+
if (persistSelection) {
|
|
9502
|
+
persistSetting(
|
|
9503
|
+
settings,
|
|
9504
|
+
"security.auth.selectedType",
|
|
9505
|
+
parsed.authType,
|
|
9506
|
+
scopeOverride
|
|
9507
|
+
);
|
|
9508
|
+
persistSetting(settings, "model.name", parsed.modelId, scopeOverride);
|
|
9509
|
+
persistSetting(settings, "model.baseUrl", "", scopeOverride);
|
|
9510
|
+
}
|
|
9315
9511
|
return parsed.modelId;
|
|
9316
9512
|
}
|
|
9317
9513
|
await config.switchModel(currentAuthType, modelArg, void 0);
|
|
9318
|
-
|
|
9319
|
-
|
|
9514
|
+
if (persistSelection) {
|
|
9515
|
+
persistSetting(settings, "model.name", modelArg, scopeOverride);
|
|
9516
|
+
persistSetting(settings, "model.baseUrl", "", scopeOverride);
|
|
9517
|
+
}
|
|
9320
9518
|
return modelArg;
|
|
9321
9519
|
}
|
|
9322
9520
|
__name(switchMainModel, "switchMainModel");
|
|
@@ -9540,6 +9738,14 @@ var modelCommand = {
|
|
|
9540
9738
|
)
|
|
9541
9739
|
};
|
|
9542
9740
|
}
|
|
9741
|
+
const auxiliarySelection = /(?:^|\s)--(?:fast|voice|vision|compaction|image)(?:\s|$)/.test(rawArgs);
|
|
9742
|
+
if (hasProject && context.executionPolicy?.allowWorkspaceSettingsWrite === false || context.executionPolicy?.persistModelSelection === false && (hasProject || hasGlobal || auxiliarySelection)) {
|
|
9743
|
+
return {
|
|
9744
|
+
type: "message",
|
|
9745
|
+
messageType: "error",
|
|
9746
|
+
content: t("This model selection is not available in this session.")
|
|
9747
|
+
};
|
|
9748
|
+
}
|
|
9543
9749
|
if (scopeOverride === "Workspace" /* Workspace */ && settings && !settings.isTrusted) {
|
|
9544
9750
|
return {
|
|
9545
9751
|
type: "message",
|
|
@@ -10036,7 +10242,8 @@ ${formatNonVisionModelWarning(modelName2)}`;
|
|
|
10036
10242
|
settings,
|
|
10037
10243
|
authType,
|
|
10038
10244
|
modelName,
|
|
10039
|
-
scopeOverride
|
|
10245
|
+
scopeOverride,
|
|
10246
|
+
context.executionPolicy?.persistModelSelection !== false
|
|
10040
10247
|
);
|
|
10041
10248
|
if (context.executionMode === "acp") {
|
|
10042
10249
|
await recordDaemonSessionModelFromConfig(config);
|
|
@@ -14518,10 +14725,10 @@ var updateCommand = {
|
|
|
14518
14725
|
{ performStandaloneUpdate },
|
|
14519
14726
|
installationInfo
|
|
14520
14727
|
] = await Promise.all([
|
|
14521
|
-
import("./updateCheck-
|
|
14522
|
-
import("./processUtils-
|
|
14523
|
-
import("./standalone-update-
|
|
14524
|
-
import("./installationInfo-
|
|
14728
|
+
import("./updateCheck-T5O2WGIB.js"),
|
|
14729
|
+
import("./processUtils-PVDKBL35.js"),
|
|
14730
|
+
import("./standalone-update-QN5HFRIC.js"),
|
|
14731
|
+
import("./installationInfo-WM2GXQZ6.js")
|
|
14525
14732
|
]);
|
|
14526
14733
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
14527
14734
|
const settings = context.services.settings;
|
|
@@ -14682,6 +14889,7 @@ var BuiltinCommandLoader = class {
|
|
|
14682
14889
|
approvalModeCommand,
|
|
14683
14890
|
authCommand,
|
|
14684
14891
|
branchCommand,
|
|
14892
|
+
peersCommand,
|
|
14685
14893
|
btwCommand,
|
|
14686
14894
|
forkCommand,
|
|
14687
14895
|
bugCommand,
|
|
@@ -15926,7 +16134,7 @@ var SkillCommandLoader = class {
|
|
|
15926
16134
|
return visibleSkills.map((skill) => {
|
|
15927
16135
|
const isExtension = skill.level === "extension";
|
|
15928
16136
|
const modelInvocable = skill.disableModelInvocation ? false : isExtension ? !!(skill.description || skill.whenToUse) : true;
|
|
15929
|
-
const sourceLabel = isExtension ? `${t("Extension:")} ${skill.extensionName ?? "unknown"}` : skill.level === "project" ? t("Project") : t("User");
|
|
16137
|
+
const sourceLabel = isExtension ? `${t("Extension:")} ${skill.extensionDisplayName ?? skill.extensionName ?? "unknown"}` : skill.level === "project" ? t("Project") : t("User");
|
|
15930
16138
|
return {
|
|
15931
16139
|
name: skill.name,
|
|
15932
16140
|
description: skill.description,
|
|
@@ -16008,8 +16216,8 @@ function createNonInteractiveUI() {
|
|
|
16008
16216
|
btwAbortControllerRef: { current: null },
|
|
16009
16217
|
isIdleRef: { current: true },
|
|
16010
16218
|
toggleVimEnabled: /* @__PURE__ */ __name(async () => false, "toggleVimEnabled"),
|
|
16011
|
-
|
|
16012
|
-
}, "
|
|
16219
|
+
setMemoryFileCount: /* @__PURE__ */ __name((_count) => {
|
|
16220
|
+
}, "setMemoryFileCount"),
|
|
16013
16221
|
reloadCommands: /* @__PURE__ */ __name(() => {
|
|
16014
16222
|
}, "reloadCommands"),
|
|
16015
16223
|
setSessionName: /* @__PURE__ */ __name(() => {
|
|
@@ -16057,6 +16265,12 @@ function getSkillCommandName(command) {
|
|
|
16057
16265
|
return command.skillDetail?.name ?? command.name;
|
|
16058
16266
|
}
|
|
16059
16267
|
__name(getSkillCommandName, "getSkillCommandName");
|
|
16268
|
+
function isCommandAllowedByPolicy(command, policy) {
|
|
16269
|
+
if (!policy || command.kind !== "built-in" /* BUILT_IN */) return true;
|
|
16270
|
+
if (command.name === "clear" && !policy.allowSessionReset) return false;
|
|
16271
|
+
return !policy.blockedBuiltinCommandNames.includes(command.name);
|
|
16272
|
+
}
|
|
16273
|
+
__name(isCommandAllowedByPolicy, "isCommandAllowedByPolicy");
|
|
16060
16274
|
function handleCommandResult(result, outputHistoryItems) {
|
|
16061
16275
|
switch (result.type) {
|
|
16062
16276
|
case "submit_prompt":
|
|
@@ -16176,12 +16390,12 @@ async function fireUserPromptExpansionHook(config, commandName, commandArgs, con
|
|
|
16176
16390
|
};
|
|
16177
16391
|
}
|
|
16178
16392
|
__name(fireUserPromptExpansionHook, "fireUserPromptExpansionHook");
|
|
16179
|
-
async function registerModelInvocableCommands(commandService, config, executionMode, settings) {
|
|
16393
|
+
async function registerModelInvocableCommands(commandService, config, executionMode, settings, executionPolicy) {
|
|
16180
16394
|
if (!settings) {
|
|
16181
16395
|
return;
|
|
16182
16396
|
}
|
|
16183
16397
|
config.setModelInvocableCommandsProvider(
|
|
16184
|
-
() => commandService.getModelInvocableCommands().map((cmd) => ({
|
|
16398
|
+
() => commandService.getModelInvocableCommands().filter((cmd) => isCommandAllowedByPolicy(cmd, executionPolicy)).map((cmd) => ({
|
|
16185
16399
|
name: cmd.name,
|
|
16186
16400
|
description: cmd.modelDescription ?? cmd.description
|
|
16187
16401
|
}))
|
|
@@ -16189,7 +16403,9 @@ async function registerModelInvocableCommands(commandService, config, executionM
|
|
|
16189
16403
|
config.setModelInvocableCommandsExecutor(
|
|
16190
16404
|
async (name, args = "") => {
|
|
16191
16405
|
const commands = commandService.getModelInvocableCommands();
|
|
16192
|
-
const cmd = commands.find(
|
|
16406
|
+
const cmd = commands.find(
|
|
16407
|
+
(candidate) => candidate.name === name && isCommandAllowedByPolicy(candidate, executionPolicy)
|
|
16408
|
+
);
|
|
16193
16409
|
if (!cmd?.action) return null;
|
|
16194
16410
|
const minimalContext = {
|
|
16195
16411
|
executionMode,
|
|
@@ -16198,7 +16414,8 @@ async function registerModelInvocableCommands(commandService, config, executionM
|
|
|
16198
16414
|
name,
|
|
16199
16415
|
args
|
|
16200
16416
|
},
|
|
16201
|
-
services: { config, settings, logger: null }
|
|
16417
|
+
services: { config, settings, logger: null },
|
|
16418
|
+
...executionPolicy ? { executionPolicy } : {}
|
|
16202
16419
|
};
|
|
16203
16420
|
const result = await cmd.action(minimalContext, args);
|
|
16204
16421
|
if (!result || result.type !== "submit_prompt") return null;
|
|
@@ -16227,7 +16444,7 @@ async function registerModelInvocableCommands(commandService, config, executionM
|
|
|
16227
16444
|
await skillManager?.notifyConfigChanged();
|
|
16228
16445
|
}
|
|
16229
16446
|
__name(registerModelInvocableCommands, "registerModelInvocableCommands");
|
|
16230
|
-
var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController, config, settings, sessionHooks) => {
|
|
16447
|
+
var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController, config, settings, sessionHooks, executionPolicy) => {
|
|
16231
16448
|
const trimmed = rawQuery.trim();
|
|
16232
16449
|
if (!trimmed.startsWith("/")) {
|
|
16233
16450
|
return { type: "no_command" };
|
|
@@ -16263,10 +16480,13 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16263
16480
|
commandService,
|
|
16264
16481
|
config,
|
|
16265
16482
|
executionMode,
|
|
16266
|
-
settings
|
|
16483
|
+
settings,
|
|
16484
|
+
executionPolicy
|
|
16267
16485
|
);
|
|
16268
16486
|
const allCommands = allCommandService.getCommands();
|
|
16269
|
-
const filteredCommands = commandService.getCommandsForMode(executionMode).filter(
|
|
16487
|
+
const filteredCommands = commandService.getCommandsForMode(executionMode).filter(
|
|
16488
|
+
(cmd) => !isDisabled(cmd) && isCommandAllowedByPolicy(cmd, executionPolicy)
|
|
16489
|
+
);
|
|
16270
16490
|
const { commandToExecute, args } = parseSlashCommand(
|
|
16271
16491
|
rawQuery,
|
|
16272
16492
|
filteredCommands
|
|
@@ -16282,6 +16502,7 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16282
16502
|
if (!skill.action) continue;
|
|
16283
16503
|
const skillContext = {
|
|
16284
16504
|
executionMode,
|
|
16505
|
+
...executionPolicy ? { executionPolicy } : {},
|
|
16285
16506
|
invocation: {
|
|
16286
16507
|
raw: `/${skill.name}`,
|
|
16287
16508
|
name: skill.name,
|
|
@@ -16355,6 +16576,15 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16355
16576
|
originalType: "filtered_command"
|
|
16356
16577
|
};
|
|
16357
16578
|
}
|
|
16579
|
+
if (!isCommandAllowedByPolicy(knownCommand, executionPolicy)) {
|
|
16580
|
+
return {
|
|
16581
|
+
type: "unsupported",
|
|
16582
|
+
reason: t('The command "/{{command}}" is not available here.', {
|
|
16583
|
+
command: typedToken
|
|
16584
|
+
}),
|
|
16585
|
+
originalType: "unsupported_action"
|
|
16586
|
+
};
|
|
16587
|
+
}
|
|
16358
16588
|
return {
|
|
16359
16589
|
type: "unsupported",
|
|
16360
16590
|
reason: t('The command "/{{command}}" is not supported in this mode.', {
|
|
@@ -16388,6 +16618,7 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16388
16618
|
};
|
|
16389
16619
|
const context = {
|
|
16390
16620
|
executionMode,
|
|
16621
|
+
...executionPolicy ? { executionPolicy } : {},
|
|
16391
16622
|
abortSignal: commandToExecute.name === "advisor" ? abortController.signal : void 0,
|
|
16392
16623
|
services: {
|
|
16393
16624
|
config,
|
|
@@ -16466,7 +16697,7 @@ var handleSlashCommand = /* @__PURE__ */ __name(async (rawQuery, abortController
|
|
|
16466
16697
|
resolvedCommand
|
|
16467
16698
|
};
|
|
16468
16699
|
}, "handleSlashCommand");
|
|
16469
|
-
var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mode = "acp", settings) => {
|
|
16700
|
+
var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mode = "acp", settings, executionPolicy) => {
|
|
16470
16701
|
try {
|
|
16471
16702
|
const loaders = [
|
|
16472
16703
|
new McpPromptLoader(config),
|
|
@@ -16486,9 +16717,12 @@ var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mo
|
|
|
16486
16717
|
commandService,
|
|
16487
16718
|
config,
|
|
16488
16719
|
mode,
|
|
16489
|
-
settings
|
|
16720
|
+
settings,
|
|
16721
|
+
executionPolicy
|
|
16722
|
+
);
|
|
16723
|
+
return commandService.getCommandsForMode(mode).filter(
|
|
16724
|
+
(command) => isCommandAllowedByPolicy(command, executionPolicy)
|
|
16490
16725
|
);
|
|
16491
|
-
return commandService.getCommandsForMode(mode);
|
|
16492
16726
|
} catch (error) {
|
|
16493
16727
|
debugLogger20.error("Error loading available commands:", error);
|
|
16494
16728
|
return [];
|