@qwen-code/qwen-code 0.21.1 → 0.21.2-nightly.20260801.bc382c3ff
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +9 -7
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/github.md +49 -10
- package/bundled/qc-helper/docs/features/channels/gitlab.md +177 -0
- package/bundled/qc-helper/docs/features/code-review.md +20 -0
- package/bundled/qc-helper/docs/features/commands.md +1 -0
- package/bundled/qc-helper/docs/features/hooks.md +135 -18
- package/bundled/qc-helper/docs/features/memory.md +27 -0
- package/bundled/qc-helper/docs/features/skills.md +14 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +55 -8
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +7 -7
- package/bundled/qc-helper/docs/qwen-serve.md +28 -6
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
- package/bundled/review/SKILL.md +1 -1
- package/chunks/{MaxSizedBox-VI3ROJJA.js → MaxSizedBox-CDHTDITS.js} +45 -40
- package/chunks/{StandaloneSessionPicker-LYXKD2EV.js → StandaloneSessionPicker-L63HUAHP.js} +65 -60
- package/chunks/{acp-startup-profiler-DFVPFQ6C.js → acp-startup-profiler-3RICG2YW.js} +2 -2
- package/chunks/{acpAgent-WN5SRDQO.js → acpAgent-6WVVT2P3.js} +962 -599
- package/chunks/{agent-K6ECSM64.js → agent-KDM4CBOU.js} +40 -35
- package/chunks/agent-headless-AS7K2K57.js +79 -0
- package/chunks/{anthropicContentGenerator-V2QOGVYD.js → anthropicContentGenerator-WCBYB6JG.js} +337 -27
- package/chunks/{artifact-tool-6K6U7XYJ.js → artifact-tool-ANV4CFCR.js} +2 -2
- package/chunks/{askUserQuestion-GD2IJJ7I.js → askUserQuestion-MALEB47H.js} +2 -2
- package/chunks/{bridge-3KJEWDNE.js → bridge-JNEW6FES.js} +46 -41
- package/chunks/{build-S6DO7LMM.js → build-GDBLPA24.js} +1 -1
- package/chunks/{ca-6W3SK7OQ.js → ca-4OJN75WT.js} +46 -5
- package/chunks/{channel-management-service-XR7GZSWF.js → channel-management-service-QOO7TD3T.js} +21 -6
- package/chunks/{channel-settings-store-HW4FXXUA.js → channel-settings-store-4CSMTR4L.js} +47 -42
- package/chunks/{channel-worker-group-XDPTDWTX.js → channel-worker-group-ERSUOPIR.js} +8 -8
- package/chunks/{channel-worker-manager-YYEHVRRE.js → channel-worker-manager-X247YDQ7.js} +8 -8
- package/chunks/{channel-worker-supervisor-74HTWA2G.js → channel-worker-supervisor-ORJIEEPP.js} +4 -4
- package/chunks/{chunk-VWOOBLTY.js → chunk-25QQVOCG.js} +5 -5
- package/chunks/{chunk-CAPPWD3X.js → chunk-2A6MHYIA.js} +3 -3
- package/chunks/{chunk-2XSLTRFZ.js → chunk-2CTKGIFR.js} +2 -2
- package/chunks/{chunk-DZLYR4U3.js → chunk-2DNKEBXY.js} +1 -1
- package/chunks/{chunk-UWMLWVCA.js → chunk-2IIJTXYF.js} +26 -10
- package/chunks/{chunk-JYBU6YUE.js → chunk-2M5N3DHY.js} +1 -1
- package/chunks/{chunk-AQIDMUGU.js → chunk-2PNQQ4UR.js} +2 -2
- package/chunks/{chunk-OKF7JF3R.js → chunk-2UISUFHQ.js} +3 -3
- package/chunks/{chunk-2LQTH543.js → chunk-33FNCQSY.js} +2 -2
- package/chunks/{chunk-M7OONWYU.js → chunk-3LGZEYOF.js} +4 -2
- package/chunks/{chunk-ZURDMIDR.js → chunk-3MHPWQ2M.js} +242 -76
- package/chunks/{chunk-UHUSJ6X7.js → chunk-3RXUYQJI.js} +25 -6
- package/chunks/{chunk-E5Z2AVNV.js → chunk-3SH53ANB.js} +0 -11
- package/chunks/{chunk-BNWB5CYE.js → chunk-3WXMXT7C.js} +22 -11
- package/chunks/{chunk-A2D5BAVP.js → chunk-42IKVPST.js} +1 -1
- package/chunks/{chunk-2DN4J57Y.js → chunk-432XCUHF.js} +1 -1
- package/chunks/{chunk-EVKE2FZL.js → chunk-433VD3HX.js} +4 -4
- package/chunks/{chunk-Q43KPN7X.js → chunk-434YCHSV.js} +6 -6
- package/chunks/{chunk-5TBMQLGG.js → chunk-4LKVQFHM.js} +2 -2
- package/chunks/{chunk-YDLJGZHL.js → chunk-4NFY2S7N.js} +0 -33
- package/chunks/{chunk-6PE7N3A4.js → chunk-5UJ6A3CH.js} +145 -10
- package/chunks/{chunk-GNR2RNMP.js → chunk-5UZITEHA.js} +3 -3
- package/chunks/chunk-6FMJLI5M.js +1591 -0
- package/chunks/{chunk-RPLGZJV2.js → chunk-6O5DVH27.js} +1 -1
- package/chunks/{chunk-2RFKHEXL.js → chunk-6PLDPT2C.js} +1 -1
- package/chunks/{chunk-7AEJDLRA.js → chunk-7IYLHTTM.js} +3 -3
- package/chunks/{chunk-65PQENQP.js → chunk-7K2WTPQO.js} +5 -5
- package/chunks/{chunk-P4WOAOJW.js → chunk-7MY2AR5A.js} +72 -26
- package/chunks/{chunk-GXIJHV66.js → chunk-A2A34TSB.js} +3 -3
- package/chunks/{chunk-XWWKIXVD.js → chunk-A5YZ3FA2.js} +2 -1
- package/chunks/{chunk-64LQLPL7.js → chunk-A6SX5TAH.js} +3 -3
- package/chunks/{chunk-SZ3KHTDR.js → chunk-AKA24BGO.js} +1 -1
- package/chunks/chunk-AQ37AY7B.js +93 -0
- package/chunks/{chunk-2N7CODY5.js → chunk-AQEWCKX4.js} +2 -2
- package/chunks/{chunk-KCO4FLFJ.js → chunk-AYB4HSBI.js} +3 -3
- package/chunks/{chunk-WZRWHXFE.js → chunk-BFHXDAR7.js} +1 -1
- package/chunks/{chunk-L55JWS76.js → chunk-BGXZBI5B.js} +1 -1
- package/chunks/{chunk-5MKRTI4T.js → chunk-BKUN5QHP.js} +7 -7
- package/chunks/{chunk-Y4IHBGBP.js → chunk-BV4QX43X.js} +1 -1
- package/chunks/{chunk-PB3MBFKG.js → chunk-C4L2MEIT.js} +4 -4
- package/chunks/{chunk-TCIFAA7K.js → chunk-CHCLO3M7.js} +14 -14
- package/chunks/{chunk-CVHIL5IG.js → chunk-CWEIMFFW.js} +13 -6
- package/chunks/{chunk-2FAK6PNM.js → chunk-DUIJ2IXG.js} +5 -13
- package/chunks/{chunk-T2QMKU3R.js → chunk-DVGTU5TC.js} +19 -7
- package/chunks/{chunk-LGAOC3ZS.js → chunk-DYA25Y7U.js} +1 -1
- package/chunks/{chunk-SGFT55XI.js → chunk-E4WHKETF.js} +32 -4
- package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
- package/chunks/{chunk-MHAIJPTD.js → chunk-FJHA23GM.js} +12 -12
- package/chunks/{chunk-S7W2GKIO.js → chunk-G7XXKQYS.js} +2 -0
- package/chunks/{chunk-MR5EAQ5M.js → chunk-GALUTA2C.js} +1 -1
- package/chunks/{chunk-7I5GTCT4.js → chunk-GB3AB7TR.js} +4008 -3648
- package/chunks/{chunk-QIZKCVM3.js → chunk-GHJM2C2T.js} +6 -8
- package/chunks/chunk-GOFAQQZA.js +132 -0
- package/chunks/{chunk-BCZFQXWK.js → chunk-GTM6IHBB.js} +2 -2
- package/chunks/{chunk-5ZF5XXTS.js → chunk-GVISB2OH.js} +2 -2
- package/chunks/{chunk-FNMZK765.js → chunk-H36SETQS.js} +1 -1
- package/chunks/{chunk-UBEPNVDI.js → chunk-H4346YW5.js} +28 -16
- package/chunks/{chunk-CQL64ESB.js → chunk-H4DSRWAS.js} +24 -13
- package/chunks/{chunk-YGF33UXG.js → chunk-H6MC6VQX.js} +222 -173
- package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
- package/chunks/{chunk-Y6AXW2OG.js → chunk-I5GNT6ZS.js} +7 -1
- package/chunks/{chunk-GEBV2JGB.js → chunk-I6FAHB4N.js} +1 -1
- package/chunks/{chunk-UPUG4GXM.js → chunk-I7JDGNG6.js} +3 -3
- package/chunks/{chunk-JHNRZMHI.js → chunk-II6WPWHY.js} +9 -9
- package/chunks/{chunk-B4AJNNOL.js → chunk-J26HHFI5.js} +1 -1
- package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
- package/chunks/{chunk-ZHBO7WVX.js → chunk-JELIWHXD.js} +1 -1
- package/chunks/{chunk-3EFXSQCM.js → chunk-JRIDA5HF.js} +7 -7
- package/chunks/{chunk-TFRMVU6R.js → chunk-K4CGQN4Q.js} +1 -1
- package/chunks/{chunk-WUZ7H6DP.js → chunk-K5Q62CGR.js} +1 -1
- package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
- package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
- package/chunks/{chunk-TDL6LB4K.js → chunk-KG22G46Y.js} +22 -10
- package/chunks/{chunk-GATT5TKW.js → chunk-KKN2IE7Q.js} +1 -1
- package/chunks/{chunk-JMONIXMJ.js → chunk-KVUBYJDM.js} +2 -2
- package/chunks/{chunk-TBBV36Y4.js → chunk-KXSYDCP2.js} +4 -4
- package/chunks/{chunk-EIF3FXTB.js → chunk-LAPK3GLC.js} +121 -18
- package/chunks/chunk-LBOVL47Y.js +29 -0
- package/chunks/{chunk-U3E3UQAA.js → chunk-LBWNSLJK.js} +4 -4
- package/chunks/{chunk-S4WJVPZW.js → chunk-LL4U3BSH.js} +15 -7
- package/chunks/{chunk-657BH7VM.js → chunk-LRJWFR6L.js} +4 -4
- package/chunks/{chunk-PT722TDT.js → chunk-M2F5PLOW.js} +770 -125
- package/chunks/{chunk-3L2SPEBH.js → chunk-M744OFVE.js} +1 -1
- package/chunks/{chunk-VYOXCEPJ.js → chunk-MBKPUM5Y.js} +1 -1
- package/chunks/chunk-MISUEWB4.js +8749 -0
- package/chunks/{chunk-PONHVBRT.js → chunk-MOHAWIAW.js} +2 -2
- package/chunks/{chunk-HMRM2A3U.js → chunk-MSIVKDRC.js} +4 -4
- package/chunks/{record-artifact-XAMSFSW4.js → chunk-MYT7N6QH.js} +22 -7
- package/chunks/{chunk-X5WNMMIA.js → chunk-NGWYUZZO.js} +11510 -15137
- package/chunks/{chunk-PQNHRFJC.js → chunk-NYX53SV4.js} +0 -2
- package/chunks/{chunk-6RPMI2AB.js → chunk-NZB4NDJL.js} +10 -10
- package/chunks/{chunk-BGTQCTQW.js → chunk-O2ZYHG33.js} +6 -5
- package/chunks/chunk-O6GEWCJA.js +21 -0
- package/chunks/{chunk-JX27F6QS.js → chunk-OBAIHYFT.js} +1 -1
- package/chunks/{chunk-BPZKP57P.js → chunk-OCRM53TT.js} +3 -3
- package/chunks/{chunk-V7RNNPGC.js → chunk-P5Y23G2L.js} +18 -1
- package/chunks/{chunk-FTD6DP4T.js → chunk-PDDYAXL2.js} +5 -1
- package/chunks/{chunk-JSD33JG6.js → chunk-PGEGUNH5.js} +67 -10
- package/chunks/{chunk-A4COXFB3.js → chunk-PGP7Y3RQ.js} +5 -5
- package/chunks/{chunk-T3O2B4XO.js → chunk-PHODQP2V.js} +6 -6
- package/chunks/{chunk-BMFALVGQ.js → chunk-PXA5AWHY.js} +1 -1
- package/chunks/chunk-QL4TN4HS.js +59 -0
- package/chunks/{chunk-W4MIWP6M.js → chunk-QMBEW7EW.js} +2 -2
- package/chunks/{chunk-U4VTUMMK.js → chunk-QONSRAEV.js} +1 -1
- package/chunks/{chunk-LW3RFMG7.js → chunk-QYPT3QUD.js} +3 -3
- package/chunks/{chunk-TV64SXKD.js → chunk-RGJ4JWSU.js} +131 -48
- package/chunks/{chunk-75MIQ3LV.js → chunk-RPYYTL7E.js} +61 -13
- package/chunks/{chunk-52ZSWYEG.js → chunk-SK2UKB45.js} +1 -1
- package/chunks/{chunk-PLDQBIO6.js → chunk-SWEBEXPI.js} +1 -1
- package/chunks/chunk-T3CHYWJZ.js +758 -0
- package/chunks/{chunk-VCPIZRYH.js → chunk-TFFMATHX.js} +9 -7
- package/chunks/{chunk-J7OACQDE.js → chunk-TNVKFQXQ.js} +458 -97
- package/chunks/{chunk-A3NDJ5SB.js → chunk-TYERNYH4.js} +2 -2
- package/chunks/{chunk-GKX7E4CO.js → chunk-U25CMJYY.js} +1 -1
- package/chunks/{chunk-7XATOOE7.js → chunk-UH7Z7Y45.js} +1 -1
- package/chunks/{chunk-XFZYFU3I.js → chunk-UHQ3L6GC.js} +1 -1
- package/chunks/{chunk-GZ3RCT54.js → chunk-UHTJC7O3.js} +1 -1
- package/chunks/{chunk-XZC5VLBZ.js → chunk-UKZEXS6K.js} +6 -0
- package/chunks/{chunk-LO4ROVP4.js → chunk-UOFFZNXV.js} +111 -13
- package/chunks/{chunk-5YKDXHUY.js → chunk-URN76TKR.js} +2 -2
- package/chunks/{chunk-T4TXDL7G.js → chunk-UWLG4UCE.js} +132 -35
- package/chunks/{chunk-KAMYKP7E.js → chunk-UWSXFI6E.js} +1 -1
- package/chunks/{chunk-7BAU433D.js → chunk-VS3GXRNZ.js} +1198 -240
- package/chunks/{chunk-EJGJIBRS.js → chunk-VWF42XC6.js} +3 -3
- package/chunks/{chunk-RCUQIPTN.js → chunk-W7XZ3KP5.js} +1 -1
- package/chunks/{chunk-OCESJA77.js → chunk-WISQLM4Q.js} +1197 -1154
- package/chunks/{chunk-NOKIVHOL.js → chunk-WK4TJUEA.js} +1 -1
- package/chunks/{chunk-JFMA7Y5M.js → chunk-WP4HGHFG.js} +5 -5
- package/chunks/{chunk-4G2BISNC.js → chunk-XC2VAFVZ.js} +1 -1
- package/chunks/{chunk-2LKVPASC.js → chunk-XC656O42.js} +3 -3
- package/chunks/{chunk-5KTQXHPY.js → chunk-XCLLRKY5.js} +3 -3
- package/chunks/{chunk-HV26XH34.js → chunk-XFDPIC4P.js} +3 -3
- package/chunks/{chunk-JTV5K7NH.js → chunk-XSA5EKTJ.js} +1 -1
- package/chunks/{chunk-75GFAX4R.js → chunk-YAVY33G4.js} +1 -1
- package/chunks/{chunk-WBSMNTSV.js → chunk-YXEVDA66.js} +2 -2
- package/chunks/{chunk-7DXQIJID.js → chunk-ZRFJ75D7.js} +3 -3
- package/chunks/{chunk-XBYYDKAZ.js → chunk-ZTN6OA5J.js} +8 -7
- package/chunks/{computer-use-ZTIDHMMA.js → computer-use-Z4NCIIJN.js} +40 -35
- package/chunks/{config-utils-NYSXDMEQ.js → config-utils-64LM6OEQ.js} +4 -4
- package/chunks/{contextCommand-2PIEU37Z.js → contextCommand-HVM7XFCB.js} +43 -38
- package/chunks/{core-runtime-3XEYLQFK.js → core-runtime-NL3ZBHBU.js} +40 -35
- package/chunks/{create-sub-session-SBYUMSSS.js → create-sub-session-AM32K2HD.js} +2 -2
- package/chunks/{create-sub-session-R76FVXCI.js → create-sub-session-XHSCDYFU.js} +43 -38
- package/chunks/{cron-create-2QK6TCEC.js → cron-create-HPXYE6C5.js} +4 -4
- package/chunks/{cron-delete-FDCDFYMG.js → cron-delete-FPVNTKPK.js} +4 -4
- package/chunks/{cron-list-XN3WVBTP.js → cron-list-ZEI6PAAV.js} +4 -4
- package/chunks/{daemon-Q2AB5Z23.js → daemon-PCNCI5YU.js} +72 -3
- package/chunks/daemon-status-provider-XD23SNAM.js +94 -0
- package/chunks/{daemon-trust-policy-ILUDTLHD.js → daemon-trust-policy-NOHK7IW5.js} +46 -41
- package/chunks/{daemon-trust-policy-monitor-HS3PKKRO.js → daemon-trust-policy-monitor-ZBTSR333.js} +46 -41
- package/chunks/{de-SY6O76BF.js → de-A6TI4LBB.js} +46 -5
- package/chunks/{deferred-core-runtime-X4QV662U.js → deferred-core-runtime-JJBHKM2C.js} +40 -35
- package/chunks/{dist-HVRQ2CFL.js → dist-4LAMY2SK.js} +1180 -5
- package/chunks/{dist-DOLYHMXE.js → dist-4T4NCJFL.js} +2 -2
- package/chunks/dist-7KOL6OMD.js +13467 -0
- package/chunks/{dist-SSU66DM4.js → dist-BH76AT7N.js} +1 -1
- package/chunks/{dist-BSTVRPMT.js → dist-BXA3JXVQ.js} +541 -19
- package/chunks/{dist-SV7Q3AWJ.js → dist-OEEFI6UU.js} +12 -9
- package/chunks/{dist-YGBBMK3Z.js → dist-SMLVOWKV.js} +5 -4
- package/chunks/{dist-IXQEQWRG.js → dist-V2RK6S6Q.js} +1 -1
- package/chunks/{earlyInputCapture-XKLZT7ZD.js → earlyInputCapture-KLAZDAIP.js} +41 -36
- package/chunks/{edit-HHGIOTQ2.js → edit-YQZWCISX.js} +40 -35
- package/chunks/{en-NBK3JKCE.js → en-RESOFG55.js} +46 -5
- package/chunks/{enter-worktree-ZN7PUQ46.js → enter-worktree-WLVWI3FP.js} +40 -35
- package/chunks/{enterPlanMode-EIFIDSIV.js → enterPlanMode-6RYXFQUD.js} +40 -35
- package/chunks/{environment-XXQ75D2Q.js → environment-DXJTXSVT.js} +43 -38
- package/chunks/{errors-4GMVU7CK.js → errors-XGAGG2S2.js} +43 -38
- package/chunks/{exit-worktree-GXMI4ATY.js → exit-worktree-C4276VPP.js} +40 -35
- package/chunks/{exitPlanMode-34UVY7M6.js → exitPlanMode-MM5HIRUF.js} +40 -35
- package/chunks/{fast-path-VPIVA7L6.js → fast-path-PIXYOHCH.js} +6 -2
- package/chunks/{fr-4KG5V7UT.js → fr-QF7RI5ZE.js} +46 -5
- package/chunks/{gemini-4BWIK4WD.js → gemini-43RLVUNP.js} +158 -96
- package/chunks/{geminiContentGenerator-3XVV5MSS.js → geminiContentGenerator-PNQ4TSID.js} +6 -6
- package/chunks/{glob-TZ2ABCJG.js → glob-ZMBQKAU5.js} +40 -35
- package/chunks/goal-tools-Y767F7LZ.js +335 -0
- package/chunks/{grep-BEF463NA.js → grep-HSV37W2Q.js} +40 -35
- package/chunks/handleAutoUpdate-QDHZPBAY.js +85 -0
- package/chunks/{i18n-FMM5FDXR.js → i18n-ME22A6RN.js} +42 -37
- package/chunks/{image-gen-HHVLF7HS.js → image-gen-IFC7ZWSB.js} +9 -9
- package/chunks/{initializer-625TIAIO.js → initializer-J7H2CHVB.js} +47 -42
- package/chunks/{installationInfo-6AM4I2Y3.js → installationInfo-R7FXPQN5.js} +41 -36
- package/chunks/{ja-F3GSQXMF.js → ja-URQESVGW.js} +46 -5
- package/chunks/{keychain-token-storage-72IYCAZV.js → keychain-token-storage-7BT4TQ2A.js} +2 -2
- package/chunks/{kittyProtocolDetector-MBRTDRBK.js → kittyProtocolDetector-BFLAKYXH.js} +1 -1
- package/chunks/list-OYDIBA4N.js +93 -0
- package/chunks/{list-agents-R6KDXQR3.js → list-agents-GATIBBQQ.js} +2 -2
- package/chunks/{loadedSettingsAdapter-SPUTNKAV.js → loadedSettingsAdapter-OK6GK2GE.js} +46 -41
- package/chunks/{loggingContentGenerator-LKOF7XI7.js → loggingContentGenerator-U4ZEG4GL.js} +53 -38
- package/chunks/{loop-wakeup-3IQKCYAH.js → loop-wakeup-3DZMQQQQ.js} +13 -6
- package/chunks/{ls-DKZ37A7N.js → ls-7F4GHXIH.js} +4 -4
- package/chunks/{lsp-QNWN7KN3.js → lsp-6FEHVBWI.js} +2 -2
- package/chunks/{managed-npm-update-ACQGGIN5.js → managed-npm-update-PGKAJLLO.js} +43 -38
- package/chunks/mcp-S4DXJD2G.js +87 -0
- package/chunks/{monitor-DF52UVHI.js → monitor-E5ZFMT74.js} +40 -35
- package/chunks/nonInteractiveCli-HNOHKEPE.js +149 -0
- package/chunks/{notebook-edit-FCWS4XVN.js → notebook-edit-6QDN6VZJ.js} +40 -35
- package/chunks/{openaiContentGenerator-7LDK3DCJ.js → openaiContentGenerator-3NLB2C5O.js} +19 -19
- package/chunks/{pidfile-6ERW3DF4.js → pidfile-ZMOIUGG6.js} +41 -36
- package/chunks/{processUtils-COKZAMUP.js → processUtils-E4QGQVWW.js} +2 -2
- package/chunks/{pt-EQ33KWEN.js → pt-EEEQXRUI.js} +46 -5
- package/chunks/{qwenContentGenerator-TKWUMR7N.js → qwenContentGenerator-2LFRWJTM.js} +46 -41
- package/chunks/{qwenOAuth2-7HMU47SF.js → qwenOAuth2-N32BUQDC.js} +8 -8
- package/chunks/{read-file-X6DRC574.js → read-file-GLDCWZBG.js} +11 -11
- package/chunks/{read-mcp-resource-GFTWYXMK.js → read-mcp-resource-AFS3UKZO.js} +2 -2
- package/chunks/record-artifact-ECZSCEG5.js +21 -0
- package/chunks/{resumeHistoryUtils-PFPM2GWM.js → resumeHistoryUtils-F5BE5QDW.js} +48 -43
- package/chunks/ripGrep-T23Y4AGY.js +77 -0
- package/chunks/{ru-7OZAUKGG.js → ru-WGZDYQAB.js} +46 -5
- package/chunks/{run-qwen-serve-TSTCO4XE.js → run-qwen-serve-TI2HGLLU.js} +290 -75
- package/chunks/{runtime-DAUPSUKI.js → runtime-WCWM3DO7.js} +53 -46
- package/chunks/{scheduler-KMADMT26.js → scheduler-2QZO5AV5.js} +40 -35
- package/chunks/{sdk-exporters-http-WO556XNU.js → sdk-exporters-http-IKNWQJNV.js} +3 -3
- package/chunks/{sdk-impl-LPAVACSF.js → sdk-impl-7CUUMQDB.js} +3 -3
- package/chunks/{send-message-SAWK4DZX.js → send-message-X7G2JSII.js} +6 -11
- package/chunks/{serve-NNRWS6F4.js → serve-DZOMYUFU.js} +46 -41
- package/chunks/{server-WEH7DVCH.js → server-N4AJRKIQ.js} +2269 -1016
- package/chunks/{session-WXC56V2I.js → session-GS6AKMN7.js} +151 -86
- package/chunks/{settings-DJDXFDZ3.js → settings-CUN3SELH.js} +50 -45
- package/chunks/{shell-JN5VRQXD.js → shell-NGBFVXC5.js} +40 -35
- package/chunks/{skill-SGXPKJCS.js → skill-SC2BSO75.js} +30 -16
- package/chunks/{skill-settings-VJ5PDMZI.js → skill-settings-XVPCPW5K.js} +45 -40
- package/chunks/{spawnChannel-ETMJW7YX.js → spawnChannel-RILO4YY3.js} +42 -37
- package/chunks/{standalone-update-MK3Z7KBI.js → standalone-update-TMLT6LVJ.js} +43 -38
- package/chunks/{startInteractiveUI-ZCGIXPGT.js → startInteractiveUI-J45WOEOU.js} +883 -1112
- package/chunks/{syntheticOutput-355CB6CJ.js → syntheticOutput-FHRY3BPQ.js} +3 -3
- package/chunks/{task-create-INGWNUG4.js → task-create-LAQXBIHC.js} +11 -10
- package/chunks/{task-list-5XNNGTF4.js → task-list-V6K5DRDH.js} +6 -6
- package/chunks/{task-stop-4ROAOBXH.js → task-stop-LQXE52L6.js} +2 -2
- package/chunks/{task-update-CRK5VWWZ.js → task-update-NXRCXSPB.js} +11 -10
- package/chunks/{team-create-QQGAJG7P.js → team-create-W3EVWCTA.js} +40 -35
- package/chunks/{team-delete-S2RCXA4P.js → team-delete-Z4KGO7RC.js} +6 -6
- package/chunks/{team-plan-approval-RT7Q5R6O.js → team-plan-approval-URYVKJF4.js} +40 -35
- package/chunks/theme-manager-CUAMS2NI.js +81 -0
- package/chunks/{todoWrite-7WM3VDMY.js → todoWrite-OFIZDI7P.js} +32 -4
- package/chunks/{tool-search-Z3Z4AYKP.js → tool-search-DCICFL32.js} +15 -14
- package/chunks/total-session-admission-3ZTAXVUK.js +89 -0
- package/chunks/{trustedFolders-X2JEIO57.js → trustedFolders-EVCN36O5.js} +42 -37
- package/chunks/{update-relaunch-VWNPYDIP.js → update-relaunch-XLW46RHQ.js} +5 -5
- package/chunks/{updateCheck-KAQH67DV.js → updateCheck-ZHVXDAIH.js} +44 -39
- package/chunks/{useAutoAcceptIndicator-JH6BCF7S.js → useAutoAcceptIndicator-ZGD6BJSP.js} +50 -45
- package/chunks/{validateNonInterActiveAuth-GIUJ2UFS.js → validateNonInterActiveAuth-R3BAQFDY.js} +88 -83
- package/chunks/{version-BGLYIJUY.js → version-PMWREGCG.js} +1 -1
- package/chunks/{web-fetch-OTDU4VQF.js → web-fetch-PGN27SGF.js} +14 -14
- package/chunks/{web-search-FP6SIHPR.js → web-search-KW4UNMRE.js} +8 -8
- package/chunks/{workflow-YCIVBYSB.js → workflow-SN3TJBTJ.js} +363 -310
- package/chunks/workspace-providers-status-O3HUZGGR.js +90 -0
- package/chunks/{workspace-registration-store-OTMS3H4C.js → workspace-registration-store-M3FJ74RS.js} +2 -2
- package/chunks/{workspace-registry-O63R6IZ4.js → workspace-registry-U7ISW23N.js} +47 -42
- package/chunks/{workspace-service-M6LLHKJ5.js → workspace-service-VH6IWADT.js} +53 -48
- package/chunks/{workspace-skills-status-C2V7BAIS.js → workspace-skills-status-XANARSZS.js} +48 -43
- package/chunks/{workspace-trust-reconciler-IBUPOUJN.js → workspace-trust-reconciler-35EFR4GC.js} +53 -48
- package/chunks/write-file-NCRSGUDT.js +79 -0
- package/chunks/{zh-H3YDK5QW.js → zh-OHX23Q44.js} +43 -5
- package/chunks/{zh-TW-JYCP7XUA.js → zh-TW-4G7YKDAQ.js} +43 -5
- package/chunks/zoom-image-X7CIADYC.js +224 -0
- package/cli.js +55 -48
- package/locales/ca.js +60 -4
- package/locales/de.js +62 -4
- package/locales/en.js +59 -4
- package/locales/fr.js +64 -4
- package/locales/ja.js +61 -4
- package/locales/pt.js +60 -4
- package/locales/ru.js +63 -4
- package/locales/zh-TW.js +52 -4
- package/locales/zh.js +52 -4
- package/package.json +3 -3
- package/web-shell/assets/{arc-75-Wdeo3.js → arc-CaMTqKio.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-FKeXQbyP.js → architectureDiagram-3BPJPVTR-Bjxztij2.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CY0vc-A3.js → blockDiagram-GPEHLZMM-BYJzeHi9.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-CNP-A-8u.js → c4Diagram-AAUBKEIU-fYAa-Eil.js} +1 -1
- package/web-shell/assets/channel-LEZei0-5.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-GybS4Gii.js → chunk-2J33WTMH-B1OTlTml.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-02H91V8v.js → chunk-4BX2VUAB-DNj4uy6k.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-D3M-2VT6.js → chunk-55IACEB6-DAqNmg3c.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CCu29u4H.js → chunk-727SXJPM-BwB4ddxE.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CaFKWgrn.js → chunk-AQP2D5EJ-DmHR_UZs.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-ZZpPqIwQ.js → chunk-FMBD7UC4-BlfOXumo.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-D22DqGs8.js → chunk-ND2GUHAM-BKogiSy7.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-Bu85S0fw.js → chunk-QZHKN3VN-DEclVrOF.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BiaRhfvf.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BiaRhfvf.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-f1CK1Gwe.js → cose-bilkent-S5V4N54A-CwtS21WT.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-D0Ow8F_n.js → dagre-BM42HDAG-BAAIlB4p.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BPrmTWp8.js → diagram-2AECGRRQ-ChljtF_V.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-HccuFAzy.js → diagram-5GNKFQAL-BIXVd31-.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BrS76mbA.js → diagram-KO2AKTUF-BEiBaS15.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-V7T9lU-5.js → diagram-LMA3HP47-C-g4tWKM.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DKidyJMR.js → diagram-OG6HWLK6-CNCCbNQG.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DBadZIkp.js → erDiagram-TEJ5UH35-v8ysnsdI.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BymfqdNJ.js → flowDiagram-I6XJVG4X-LKVlLjwA.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DOw340jf.js → ganttDiagram-6RSMTGT7-DA5MrKYG.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-_8EiD8sl.js → gitGraphDiagram-PVQCEYII-Cyg5fe6d.js} +1 -1
- package/web-shell/assets/index-BgOcEaVt.js +1756 -0
- package/web-shell/assets/index-C2GE3DAF.js +74 -0
- package/web-shell/assets/{index-CKIadvET.js → index-CKdUkVVS.js} +1 -1
- package/web-shell/assets/index-DA5Lvscv.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-D61KYQBu.js → infoDiagram-5YYISTIA-SLsfu3Qd.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CsiXSpNx.js → ishikawaDiagram-YF4QCWOH-CmHOmTNx.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-Sdfionyh.js → journeyDiagram-JHISSGLW-C3gM_HFQ.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-C3WI3Cnl.js → kanban-definition-UN3LZRKU-BbHD7duM.js} +1 -1
- package/web-shell/assets/{linear-Dpigcc62.js → linear-CSBvm435.js} +1 -1
- package/web-shell/assets/{mermaid.core-Ct97pqgW.js → mermaid.core-CPMw15lU.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BzeaN0rB.js → mindmap-definition-RKZ34NQL-C_tNqXQW.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-CvjgcbVD.js → pieDiagram-4H26LBE5-DH_N-8yY.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BUzgTNdH.js → quadrantDiagram-W4KKPZXB-CRbS8UkN.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-B7zKlgUQ.js → requirementDiagram-4Y6WPE33-DJgdZPZn.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Bb9CQgrT.js → sankeyDiagram-5OEKKPKP-vhL1y5zx.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DJ6V7itG.js → sequenceDiagram-3UESZ5HK-UQthhFwd.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-IImflERY.js → stateDiagram-AJRCARHV-CAywEm20.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-lfJQHw-7.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-6Q_uWHKh.js → timeline-definition-PNZ67QCA-CLO8b3FD.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-TmyKyjwv.js → vennDiagram-CIIHVFJN-BNAAh0Mu.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CRh9uiPv.js → wardley-L42UT6IY-CUY7bLpN.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-59TKAW8w.js → wardleyDiagram-YWT4CUSO-CSg_ORdW.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-GCSUIK2L.js → xychartDiagram-2RQKCTM6-BjffV208.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/agent-headless-NO4Y2HOE.js +0 -74
- package/chunks/chunk-6QIGFD5W.js +0 -82
- package/chunks/chunk-HGT6JR3U.js +0 -177
- package/chunks/daemon-status-provider-3XJI6CAL.js +0 -89
- package/chunks/handleAutoUpdate-L6ERF36Y.js +0 -80
- package/chunks/list-L2GA674Y.js +0 -88
- package/chunks/mcp-SZLHKFJW.js +0 -82
- package/chunks/nonInteractiveCli-5T7KYKLK.js +0 -144
- package/chunks/ripGrep-OWV2IVJC.js +0 -72
- package/chunks/theme-manager-EEWIQJ7J.js +0 -76
- package/chunks/total-session-admission-44JKRWQD.js +0 -84
- package/chunks/workspace-providers-status-S35YAIUS.js +0 -85
- package/chunks/write-file-3BZC3EAE.js +0 -72
- package/chunks/zoom-image-TZ6S2O57.js +0 -351
- package/web-shell/assets/channel-DPYMT76A.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK--JstsIgL.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2--JstsIgL.js +0 -1
- package/web-shell/assets/index-D1eXNRHe.js +0 -1389
- package/web-shell/assets/index-DVLD4CQq.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CYI_YoNR.js +0 -1
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getExtensionManager
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BKUN5QHP.js";
|
|
6
6
|
import {
|
|
7
7
|
parseChannelConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2CTKGIFR.js";
|
|
9
9
|
import {
|
|
10
10
|
getPlugin,
|
|
11
11
|
registerPlugin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZTN6OA5J.js";
|
|
13
13
|
import {
|
|
14
14
|
sanitizeLogText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GB3AB7TR.js";
|
|
16
16
|
import {
|
|
17
17
|
loadSettings
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
writeStderrLine,
|
|
21
|
-
writeStdoutLine
|
|
22
|
-
} from "./chunk-OWAK7LMW.js";
|
|
18
|
+
} from "./chunk-LAPK3GLC.js";
|
|
23
19
|
import {
|
|
24
20
|
hashDaemonWorkspace
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RPYYTL7E.js";
|
|
26
22
|
import {
|
|
27
23
|
Storage
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3RXUYQJI.js";
|
|
25
|
+
import {
|
|
26
|
+
writeStderrLine,
|
|
27
|
+
writeStdoutLine
|
|
28
|
+
} from "./chunk-OWAK7LMW.js";
|
|
29
29
|
import {
|
|
30
30
|
init_esbuild_shims
|
|
31
31
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
|
|
36
36
|
// packages/cli/src/commands/channel/runtime.ts
|
|
37
37
|
init_esbuild_shims();
|
|
38
|
+
import { createHash } from "node:crypto";
|
|
38
39
|
import * as path from "node:path";
|
|
39
40
|
import { pathToFileURL } from "node:url";
|
|
40
41
|
function sessionsPath() {
|
|
@@ -63,6 +64,15 @@ function daemonChannelLoopPath(workspaceCwd) {
|
|
|
63
64
|
return daemonChannelStatePath(workspaceCwd, "cron.json");
|
|
64
65
|
}
|
|
65
66
|
__name(daemonChannelLoopPath, "daemonChannelLoopPath");
|
|
67
|
+
function daemonChannelStateDir(workspaceCwd, channelName) {
|
|
68
|
+
const label = channelName.replace(/[^a-zA-Z0-9._-]/g, "_").slice(0, 32) || "channel";
|
|
69
|
+
const hash = createHash("sha256").update(channelName).digest("hex").slice(0, 16);
|
|
70
|
+
return daemonChannelStatePath(
|
|
71
|
+
workspaceCwd,
|
|
72
|
+
path.join("instances", `${label}-${hash}`)
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
__name(daemonChannelStateDir, "daemonChannelStateDir");
|
|
66
76
|
function channelLoopPath() {
|
|
67
77
|
return path.join(Storage.getGlobalQwenDir(), "channels", "cron.json");
|
|
68
78
|
}
|
|
@@ -280,6 +290,7 @@ export {
|
|
|
280
290
|
daemonSessionRoutesPath,
|
|
281
291
|
daemonObservedContactsPath,
|
|
282
292
|
daemonChannelLoopPath,
|
|
293
|
+
daemonChannelStateDir,
|
|
283
294
|
channelLoopPath,
|
|
284
295
|
loadChannelsConfig,
|
|
285
296
|
resolveExtensionChannelEntrySpecifier,
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getErrorMessage
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PHODQP2V.js";
|
|
6
6
|
import {
|
|
7
7
|
extensionToOutputString,
|
|
8
8
|
getExtensionManager
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BKUN5QHP.js";
|
|
10
10
|
import {
|
|
11
11
|
loadSettings
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LAPK3GLC.js";
|
|
13
13
|
import {
|
|
14
14
|
initializeI18n,
|
|
15
15
|
resolveLanguageSetting,
|
|
16
16
|
t
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CHCLO3M7.js";
|
|
18
18
|
import {
|
|
19
19
|
writeStderrLine,
|
|
20
20
|
writeStdoutLine
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
getPathComparisonVariants,
|
|
9
9
|
isWithinRoot
|
|
10
10
|
} from "./chunk-MR3PXB6E.js";
|
|
11
|
-
import {
|
|
12
|
-
writeStderrLine
|
|
13
|
-
} from "./chunk-OWAK7LMW.js";
|
|
14
11
|
import {
|
|
15
12
|
ideContextStore
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NGWYUZZO.js";
|
|
17
14
|
import {
|
|
18
15
|
require_proper_lockfile
|
|
19
16
|
} from "./chunk-KRXPRVGL.js";
|
|
20
17
|
import {
|
|
21
18
|
atomicWriteFileSync
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UH7Z7Y45.js";
|
|
23
20
|
import {
|
|
24
21
|
FatalConfigError,
|
|
25
22
|
Storage,
|
|
26
23
|
getErrorMessage
|
|
27
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3RXUYQJI.js";
|
|
25
|
+
import {
|
|
26
|
+
writeStderrLine
|
|
27
|
+
} from "./chunk-OWAK7LMW.js";
|
|
28
28
|
import {
|
|
29
29
|
init_esbuild_shims
|
|
30
30
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
relaxSchemaForFunctionCalling,
|
|
10
10
|
safeJsonParse,
|
|
11
11
|
setGenAiUsageProvenance
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WK4TJUEA.js";
|
|
13
13
|
import {
|
|
14
14
|
setToolCallPreparations
|
|
15
15
|
} from "./chunk-GLCZKT5V.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-46UV252V.js";
|
|
22
22
|
import {
|
|
23
23
|
createDebugLogger
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3RXUYQJI.js";
|
|
25
25
|
import {
|
|
26
26
|
FinishReason,
|
|
27
27
|
GenerateContentResponse
|
|
@@ -109,38 +109,6 @@ function truncateToWidth(text, maxWidth) {
|
|
|
109
109
|
return `${result}${ellipsis}`;
|
|
110
110
|
}
|
|
111
111
|
__name(truncateToWidth, "truncateToWidth");
|
|
112
|
-
function wrapToVisualLines(text, width) {
|
|
113
|
-
if (width <= 0) {
|
|
114
|
-
return [""];
|
|
115
|
-
}
|
|
116
|
-
const visualLines = [];
|
|
117
|
-
for (const logicalLine of text.split("\n")) {
|
|
118
|
-
if (logicalLine === "") {
|
|
119
|
-
visualLines.push("");
|
|
120
|
-
continue;
|
|
121
|
-
}
|
|
122
|
-
let currentLine = "";
|
|
123
|
-
let currentWidth = 0;
|
|
124
|
-
for (const char of logicalLine) {
|
|
125
|
-
const charWidth = Math.max(getCachedStringWidth(char), 1);
|
|
126
|
-
if (currentWidth + charWidth > width && currentWidth > 0) {
|
|
127
|
-
visualLines.push(currentLine);
|
|
128
|
-
currentLine = "";
|
|
129
|
-
currentWidth = 0;
|
|
130
|
-
}
|
|
131
|
-
currentLine += char;
|
|
132
|
-
currentWidth += charWidth;
|
|
133
|
-
}
|
|
134
|
-
if (currentLine) {
|
|
135
|
-
visualLines.push(currentLine);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
if (visualLines.length === 0) {
|
|
139
|
-
visualLines.push("");
|
|
140
|
-
}
|
|
141
|
-
return visualLines;
|
|
142
|
-
}
|
|
143
|
-
__name(wrapToVisualLines, "wrapToVisualLines");
|
|
144
112
|
var regex = ansiRegex();
|
|
145
113
|
var BARE_C0_CONTROL_CHARS_REGEX = /[\x00-\x08\x0b-\x1f\x7f-\x9f]/g;
|
|
146
114
|
var BIDI_OVERRIDE_CHARS_REGEX = /[\u200e\u200f\u202a-\u202e\u2066-\u2069]/g;
|
|
@@ -289,7 +257,6 @@ export {
|
|
|
289
257
|
stripUnsafeCharacters,
|
|
290
258
|
getCachedStringWidth,
|
|
291
259
|
truncateToWidth,
|
|
292
|
-
wrapToVisualLines,
|
|
293
260
|
sanitizeTerminalText,
|
|
294
261
|
escapeAnsiCtrlCodes,
|
|
295
262
|
sanitizeSensitiveText,
|
|
@@ -2,22 +2,41 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
HistoryReplayer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UOFFZNXV.js";
|
|
6
6
|
import {
|
|
7
7
|
ChannelDeliveryError,
|
|
8
8
|
MAX_CHANNEL_DELIVERY_TEXT_LENGTH
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QONSRAEV.js";
|
|
10
10
|
import {
|
|
11
11
|
redactLogCredentials
|
|
12
12
|
} from "./chunk-M5GB774H.js";
|
|
13
|
+
import {
|
|
14
|
+
getUserSettingsPath,
|
|
15
|
+
loadSettings
|
|
16
|
+
} from "./chunk-LAPK3GLC.js";
|
|
17
|
+
import {
|
|
18
|
+
getSystemDefaultsPath,
|
|
19
|
+
getSystemSettingsPath
|
|
20
|
+
} from "./chunk-IDS7MSUP.js";
|
|
21
|
+
import {
|
|
22
|
+
findEnvFiles,
|
|
23
|
+
preResolveHomeEnvOverrides
|
|
24
|
+
} from "./chunk-AQEWCKX4.js";
|
|
13
25
|
import {
|
|
14
26
|
getResponseText,
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
27
|
+
ideContextStore
|
|
28
|
+
} from "./chunk-NGWYUZZO.js";
|
|
17
29
|
import {
|
|
18
30
|
MAX_CHANNEL_DELIVERY_NAME_LENGTH,
|
|
19
31
|
MAX_CHANNEL_DELIVERY_TARGET_ID_LENGTH
|
|
20
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MOHAWIAW.js";
|
|
33
|
+
import {
|
|
34
|
+
parseGoalSnapshotV2
|
|
35
|
+
} from "./chunk-6FMJLI5M.js";
|
|
36
|
+
import {
|
|
37
|
+
Storage,
|
|
38
|
+
createDebugLogger
|
|
39
|
+
} from "./chunk-3RXUYQJI.js";
|
|
21
40
|
import {
|
|
22
41
|
init_esbuild_shims
|
|
23
42
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -25,7 +44,7 @@ import {
|
|
|
25
44
|
__name
|
|
26
45
|
} from "./chunk-J2S4EL5Y.js";
|
|
27
46
|
|
|
28
|
-
// packages/cli/src/
|
|
47
|
+
// packages/cli/src/runtime/workspace-remember-errors.ts
|
|
29
48
|
init_esbuild_shims();
|
|
30
49
|
var MAX_REMEMBER_ERROR_DETAILS_CHARS = 1e3;
|
|
31
50
|
var MAX_REMEMBER_ERROR_CAUSE_DEPTH = 50;
|
|
@@ -261,11 +280,11 @@ function workspaceMemoryFailureDiagnostics(err, onExtractionError) {
|
|
|
261
280
|
}
|
|
262
281
|
__name(workspaceMemoryFailureDiagnostics, "workspaceMemoryFailureDiagnostics");
|
|
263
282
|
|
|
264
|
-
// packages/cli/src/
|
|
283
|
+
// packages/cli/src/runtime/workspace-memory-remember-constants.ts
|
|
265
284
|
init_esbuild_shims();
|
|
266
285
|
var MAX_REMEMBER_CONTENT_BYTES = 64 * 1024;
|
|
267
286
|
|
|
268
|
-
// packages/cli/src/
|
|
287
|
+
// packages/cli/src/runtime/workspace-memory-summaries.ts
|
|
269
288
|
init_esbuild_shims();
|
|
270
289
|
function formatWorkspaceMemoryForgetSummary(removedEntryCount) {
|
|
271
290
|
return removedEntryCount > 0 ? `Forgot ${removedEntryCount} memory entr${removedEntryCount === 1 ? "y" : "ies"}.` : "No managed auto-memory entries matched.";
|
|
@@ -359,7 +378,7 @@ function restoreRedactedMcpServersSetting(value, existing) {
|
|
|
359
378
|
}
|
|
360
379
|
__name(restoreRedactedMcpServersSetting, "restoreRedactedMcpServersSetting");
|
|
361
380
|
|
|
362
|
-
// packages/cli/src/
|
|
381
|
+
// packages/cli/src/runtime/validate-server-name.ts
|
|
363
382
|
init_esbuild_shims();
|
|
364
383
|
var VALID_SERVER_NAME = /^[A-Za-z0-9_-]+$/;
|
|
365
384
|
var RESERVED_SERVER_NAMES = /* @__PURE__ */ new Set([
|
|
@@ -430,6 +449,121 @@ async function executeGeneration(config, requestId, prompt, signal, emit) {
|
|
|
430
449
|
}
|
|
431
450
|
__name(executeGeneration, "executeGeneration");
|
|
432
451
|
|
|
452
|
+
// packages/cli/src/config/settings-cache.ts
|
|
453
|
+
init_esbuild_shims();
|
|
454
|
+
import * as fs from "node:fs";
|
|
455
|
+
import * as os from "node:os";
|
|
456
|
+
import * as path from "node:path";
|
|
457
|
+
var MAX_CACHE_ENTRIES = 64;
|
|
458
|
+
var debugLogger = createDebugLogger("SETTINGS_CACHE");
|
|
459
|
+
var cache = /* @__PURE__ */ new Map();
|
|
460
|
+
function statSig(filePath) {
|
|
461
|
+
const st = fs.statSync(filePath, { throwIfNoEntry: false });
|
|
462
|
+
return st ? `${st.mtimeMs}:${st.size}:${st.ino}` : "missing";
|
|
463
|
+
}
|
|
464
|
+
__name(statSig, "statSig");
|
|
465
|
+
function realpathOr(p) {
|
|
466
|
+
try {
|
|
467
|
+
return fs.realpathSync(p);
|
|
468
|
+
} catch {
|
|
469
|
+
return path.resolve(p);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
__name(realpathOr, "realpathOr");
|
|
473
|
+
function settingsFileSigs(workspaceDir) {
|
|
474
|
+
const filePaths = [
|
|
475
|
+
getSystemSettingsPath(),
|
|
476
|
+
getSystemDefaultsPath(),
|
|
477
|
+
getUserSettingsPath(),
|
|
478
|
+
new Storage(workspaceDir).getWorkspaceSettingsPath()
|
|
479
|
+
];
|
|
480
|
+
return filePaths.map((filePath) => ({ filePath, sig: statSig(filePath) }));
|
|
481
|
+
}
|
|
482
|
+
__name(settingsFileSigs, "settingsFileSigs");
|
|
483
|
+
function envFileSigs(settings, workspaceDir) {
|
|
484
|
+
return findEnvFiles(settings.merged, workspaceDir).map((filePath) => ({
|
|
485
|
+
filePath,
|
|
486
|
+
sig: statSig(filePath)
|
|
487
|
+
}));
|
|
488
|
+
}
|
|
489
|
+
__name(envFileSigs, "envFileSigs");
|
|
490
|
+
function sameFileSigs(a, b) {
|
|
491
|
+
if (a.length !== b.length) {
|
|
492
|
+
return false;
|
|
493
|
+
}
|
|
494
|
+
return a.every(
|
|
495
|
+
(sig, i) => sig.filePath === b[i].filePath && sig.sig === b[i].sig
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
__name(sameFileSigs, "sameFileSigs");
|
|
499
|
+
function isEntryFresh(key, entry) {
|
|
500
|
+
const fp = entry.fingerprint;
|
|
501
|
+
return ideContextStore.get()?.workspaceState?.isTrusted === fp.ideTrust && realpathOr(key) === fp.realCwd && // homeDir guards the corner where nothing else moves: QWEN_HOME set (so
|
|
502
|
+
// settings paths don't follow HOME), no .env files anywhere, and the new
|
|
503
|
+
// home equals the workspace dir — which flips workspaceSettingsActive.
|
|
504
|
+
realpathOr(os.homedir()) === fp.homeDir && sameFileSigs(settingsFileSigs(key), fp.settingsFiles) && sameFileSigs(envFileSigs(entry.settings, key), fp.envFiles);
|
|
505
|
+
}
|
|
506
|
+
__name(isEntryFresh, "isEntryFresh");
|
|
507
|
+
function loadSettingsCached(workspaceDir) {
|
|
508
|
+
preResolveHomeEnvOverrides();
|
|
509
|
+
const key = path.resolve(workspaceDir);
|
|
510
|
+
const entry = cache.get(key);
|
|
511
|
+
if (entry) {
|
|
512
|
+
let isFresh = false;
|
|
513
|
+
try {
|
|
514
|
+
isFresh = isEntryFresh(key, entry);
|
|
515
|
+
} catch (error) {
|
|
516
|
+
debugLogger.warn(
|
|
517
|
+
`fingerprint check failed for ${key}; reloading:`,
|
|
518
|
+
error
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
if (isFresh) {
|
|
522
|
+
cache.delete(key);
|
|
523
|
+
cache.set(key, entry);
|
|
524
|
+
debugLogger.debug(`hit ${key}`);
|
|
525
|
+
return entry.settings;
|
|
526
|
+
}
|
|
527
|
+
cache.delete(key);
|
|
528
|
+
}
|
|
529
|
+
debugLogger.debug(`miss ${key}`);
|
|
530
|
+
let preLoadSigs;
|
|
531
|
+
try {
|
|
532
|
+
preLoadSigs = settingsFileSigs(key);
|
|
533
|
+
} catch (error) {
|
|
534
|
+
debugLogger.warn(`pre-load signing failed for ${key}; not caching:`, error);
|
|
535
|
+
}
|
|
536
|
+
const settings = loadSettings(key);
|
|
537
|
+
if (preLoadSigs) {
|
|
538
|
+
try {
|
|
539
|
+
cache.set(key, {
|
|
540
|
+
settings,
|
|
541
|
+
fingerprint: {
|
|
542
|
+
settingsFiles: preLoadSigs,
|
|
543
|
+
// .env discovery needs the merged settings (trust), so it can only
|
|
544
|
+
// be signed after the load — see difference (2) in the module doc.
|
|
545
|
+
envFiles: envFileSigs(settings, key),
|
|
546
|
+
ideTrust: ideContextStore.get()?.workspaceState?.isTrusted,
|
|
547
|
+
realCwd: realpathOr(key),
|
|
548
|
+
homeDir: realpathOr(os.homedir())
|
|
549
|
+
}
|
|
550
|
+
});
|
|
551
|
+
if (cache.size > MAX_CACHE_ENTRIES) {
|
|
552
|
+
const oldest = cache.keys().next().value;
|
|
553
|
+
if (oldest !== void 0) {
|
|
554
|
+
cache.delete(oldest);
|
|
555
|
+
debugLogger.debug(`evicted LRU entry ${oldest}`);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
} catch (error) {
|
|
559
|
+
cache.delete(key);
|
|
560
|
+
debugLogger.warn(`caching failed for ${key}; serving uncached:`, error);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
return settings;
|
|
564
|
+
}
|
|
565
|
+
__name(loadSettingsCached, "loadSettingsCached");
|
|
566
|
+
|
|
433
567
|
// packages/cli/src/acp-integration/session/history-replay-page.ts
|
|
434
568
|
init_esbuild_shims();
|
|
435
569
|
function createReplayCumulativeUsage() {
|
|
@@ -619,7 +753,7 @@ async function replayTranscriptRecordPage({
|
|
|
619
753
|
}
|
|
620
754
|
__name(replayTranscriptRecordPage, "replayTranscriptRecordPage");
|
|
621
755
|
|
|
622
|
-
// packages/cli/src/
|
|
756
|
+
// packages/cli/src/runtime/channel-delivery.ts
|
|
623
757
|
init_esbuild_shims();
|
|
624
758
|
var TRUNCATED_TEXT_SUFFIX = "\n\n[Channel delivery truncated because the result exceeded the delivery size limit.]";
|
|
625
759
|
function isBoundedString(value, maxLength) {
|
|
@@ -705,6 +839,7 @@ export {
|
|
|
705
839
|
GENERATION_MAX_PROMPT_BYTES,
|
|
706
840
|
GENERATION_TIMEOUT_MS,
|
|
707
841
|
executeGeneration,
|
|
842
|
+
loadSettingsCached,
|
|
708
843
|
parseChannelDelivery,
|
|
709
844
|
normalizeChannelDeliveryText,
|
|
710
845
|
normalizeChannelDelivery,
|
|
@@ -30,12 +30,12 @@ import {
|
|
|
30
30
|
isChannelStartupReportType,
|
|
31
31
|
isChannelWebhookEnqueueErrorCode,
|
|
32
32
|
isChannelWebhookTaskResultMessage
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QONSRAEV.js";
|
|
34
34
|
import {
|
|
35
35
|
createWorkerDiagnosticRedactor,
|
|
36
36
|
normalizeWorkerDiagnostic,
|
|
37
37
|
sanitizeWorkerDiagnostic
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UHTJC7O3.js";
|
|
39
39
|
import {
|
|
40
40
|
channelSelectionNames
|
|
41
41
|
} from "./chunk-ALMR3E6Q.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./chunk-5HBA2Z7V.js";
|
|
47
47
|
import {
|
|
48
48
|
sanitizeLogText
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GB3AB7TR.js";
|
|
50
50
|
import {
|
|
51
51
|
init_esbuild_shims
|
|
52
52
|
} from "./chunk-5O2XNYP6.js";
|