@qwen-code/qwen-code 0.21.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/model-providers.md +2 -0
- package/bundled/qc-helper/docs/configuration/settings.md +38 -28
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/github.md +107 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +61 -6
- package/bundled/qc-helper/docs/features/code-review.md +1 -1
- package/bundled/qc-helper/docs/features/hooks.md +52 -15
- package/bundled/qc-helper/docs/features/mcp.md +9 -1
- package/bundled/qc-helper/docs/features/scheduled-tasks.md +3 -1
- package/bundled/qc-helper/docs/features/sub-agents.md +20 -0
- package/bundled/qc-helper/docs/qwen-serve.md +4 -2
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
- package/bundled/qc-helper/docs/support/troubleshooting.md +2 -1
- package/bundled/review/DESIGN.md +19 -0
- package/bundled/review/SKILL.md +120 -61
- package/chunks/MaxSizedBox-VI3ROJJA.js +84 -0
- package/chunks/{StandaloneSessionPicker-BIRMPLRD.js → StandaloneSessionPicker-LYXKD2EV.js} +67 -68
- package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-DFVPFQ6C.js} +2 -2
- package/chunks/{acpAgent-6J2U72PQ.js → acpAgent-WN5SRDQO.js} +1373 -553
- package/chunks/agent-K6ECSM64.js +80 -0
- package/chunks/agent-headless-NO4Y2HOE.js +74 -0
- package/chunks/{anthropicContentGenerator-75BKLTSP.js → anthropicContentGenerator-V2QOGVYD.js} +79 -27
- package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-6K6U7XYJ.js} +4 -4
- package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-GD2IJJ7I.js} +4 -4
- package/chunks/bridge-3KJEWDNE.js +90 -0
- package/chunks/{build-RV63TIRH.js → build-S6DO7LMM.js} +1 -1
- package/chunks/{ca-25EDXPFZ.js → ca-6W3SK7OQ.js} +6 -1
- package/chunks/channel-management-service-XR7GZSWF.js +403 -0
- package/chunks/channel-settings-store-HW4FXXUA.js +87 -0
- package/chunks/{channel-worker-group-2ZD7TVAT.js → channel-worker-group-XDPTDWTX.js} +11 -6
- package/chunks/{channel-worker-manager-4OA4BCGB.js → channel-worker-manager-YYEHVRRE.js} +11 -6
- package/chunks/{channel-worker-supervisor-V7KCFJTS.js → channel-worker-supervisor-74HTWA2G.js} +7 -5
- package/chunks/{chunk-M5JM7OSF.js → chunk-2DN4J57Y.js} +2 -3
- package/chunks/{chunk-ETSW4KLJ.js → chunk-2FAK6PNM.js} +2 -2
- package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
- package/chunks/{chunk-EPDRMGT4.js → chunk-2LKVPASC.js} +4 -28
- package/chunks/{chunk-PWTZEM3C.js → chunk-2LQTH543.js} +3 -37
- package/chunks/{chunk-LH2BYDQ5.js → chunk-2N7CODY5.js} +18 -12
- package/chunks/{chunk-4WIZGAH3.js → chunk-2XSLTRFZ.js} +6 -58
- package/chunks/{chunk-FSITMZJH.js → chunk-3EFXSQCM.js} +18 -9
- package/chunks/{chunk-HIJQF5B5.js → chunk-3L2SPEBH.js} +1 -1
- package/chunks/{chunk-BIQWWWJN.js → chunk-4G2BISNC.js} +1 -1
- package/chunks/{chunk-PWVFN2LF.js → chunk-52ZSWYEG.js} +1 -1
- package/chunks/{chunk-ZJHVAS7M.js → chunk-5KTQXHPY.js} +4 -5
- package/chunks/{chunk-PC6JANNU.js → chunk-5MKRTI4T.js} +4 -4
- package/chunks/{chunk-DHHOYAPR.js → chunk-5TBMQLGG.js} +7 -7
- package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
- package/chunks/chunk-5YKDXHUY.js +463 -0
- package/chunks/chunk-5ZF5XXTS.js +363 -0
- package/chunks/{chunk-K4XWPEWB.js → chunk-64LQLPL7.js} +4 -33
- package/chunks/{chunk-YPE6A4GC.js → chunk-657BH7VM.js} +2 -2
- package/chunks/{chunk-R5AFZNQW.js → chunk-65PQENQP.js} +14 -7
- package/chunks/{chunk-RIBKPMRP.js → chunk-6PE7N3A4.js} +18 -7
- package/chunks/{chunk-JZA3JUDJ.js → chunk-6QIGFD5W.js} +1 -1
- package/chunks/{chunk-JVPM2ULZ.js → chunk-6RPMI2AB.js} +6 -6
- package/chunks/{chunk-OHNBB4XR.js → chunk-75GFAX4R.js} +1 -1
- package/chunks/{chunk-NIBLUX3Y.js → chunk-75MIQ3LV.js} +148 -21
- package/chunks/{chunk-U7M2DMGW.js → chunk-7AEJDLRA.js} +130 -5
- package/chunks/{chunk-TPRQ7RZH.js → chunk-7BAU433D.js} +2293 -945
- package/chunks/{chunk-M4FMGVY4.js → chunk-7DXQIJID.js} +3 -3
- package/chunks/{chunk-RWTEFFPU.js → chunk-7I5GTCT4.js} +620 -383
- package/chunks/{chunk-A5L3JMUA.js → chunk-7XATOOE7.js} +18 -4
- package/chunks/{chunk-Y34KJKDC.js → chunk-A2D5BAVP.js} +1 -1
- package/chunks/{chunk-5I2IWRSH.js → chunk-A3NDJ5SB.js} +2 -2
- package/chunks/{chunk-OFDOK3VM.js → chunk-A4COXFB3.js} +8 -13
- package/chunks/{chunk-JLU636DO.js → chunk-ALMR3E6Q.js} +1 -0
- package/chunks/{chunk-Q4M4MDQ4.js → chunk-AQIDMUGU.js} +1 -1
- package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
- package/chunks/{chunk-UH3WSE5L.js → chunk-B4AJNNOL.js} +1 -6
- package/chunks/{chunk-BJX6ZSUK.js → chunk-BCZFQXWK.js} +2 -2
- package/chunks/{chunk-MB4MZHMJ.js → chunk-BGTQCTQW.js} +211 -522
- package/chunks/{chunk-MZAXJAUM.js → chunk-BMFALVGQ.js} +1 -1
- package/chunks/{chunk-PSOO6YXD.js → chunk-BNWB5CYE.js} +9 -7
- package/chunks/{chunk-BKHWX6I2.js → chunk-BPZKP57P.js} +11 -3
- package/chunks/{chunk-H4SBPHSA.js → chunk-CAPPWD3X.js} +3 -3
- package/chunks/{chunk-LQIW3YFY.js → chunk-CQL64ESB.js} +7 -7
- package/chunks/{chunk-TOFQCPDC.js → chunk-CVHIL5IG.js} +4 -5
- package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
- package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
- package/chunks/chunk-DZLYR4U3.js +1252 -0
- package/chunks/{chunk-TEHGS6UP.js → chunk-EIF3FXTB.js} +117 -24
- package/chunks/{chunk-2SCDWPXI.js → chunk-EJGJIBRS.js} +5 -5
- package/chunks/{chunk-7MVVZO4N.js → chunk-EVKE2FZL.js} +4 -4
- package/chunks/{chunk-OKY7HXPG.js → chunk-FNMZK765.js} +2 -2
- package/chunks/{chunk-VIA5XA4U.js → chunk-FTD6DP4T.js} +3 -1
- package/chunks/chunk-FYJ7W2PI.js +194 -0
- package/chunks/{chunk-L5UHQJTJ.js → chunk-GATT5TKW.js} +1 -1
- package/chunks/{chunk-X5XDDSSH.js → chunk-GEBV2JGB.js} +28 -5
- package/chunks/{chunk-VAK25FTU.js → chunk-GKX7E4CO.js} +1 -1
- package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
- package/chunks/{chunk-5NBDS5S6.js → chunk-GNR2RNMP.js} +162 -7
- package/chunks/{chunk-YH6G52F2.js → chunk-GXIJHV66.js} +4 -4
- package/chunks/chunk-GZ3RCT54.js +76 -0
- package/chunks/{chunk-2X55UKQE.js → chunk-HMRM2A3U.js} +3 -3
- package/chunks/chunk-HV26XH34.js +319 -0
- package/chunks/{chunk-LB6DUZ26.js → chunk-J7OACQDE.js} +229 -172
- package/chunks/{chunk-K36B6G2O.js → chunk-JFMA7Y5M.js} +5 -5
- package/chunks/{chunk-55DJUCI2.js → chunk-JHNRZMHI.js} +53 -43
- package/chunks/{chunk-63P4EL5V.js → chunk-JMONIXMJ.js} +1 -1
- package/chunks/{chunk-L26JL52R.js → chunk-JSD33JG6.js} +47 -64
- package/chunks/{chunk-YBL3QUDD.js → chunk-JTV5K7NH.js} +1 -1
- package/chunks/{chunk-RZIX2G32.js → chunk-JX27F6QS.js} +1 -1
- package/chunks/chunk-JYBU6YUE.js +378 -0
- package/chunks/{chunk-7JURR4JT.js → chunk-KAMYKP7E.js} +167 -81
- package/chunks/{chunk-KMQ33DO4.js → chunk-KCO4FLFJ.js} +4 -4
- package/chunks/{chunk-2W3OOD4W.js → chunk-L55JWS76.js} +6 -3
- package/chunks/{chunk-RHLZR4E5.js → chunk-LGAOC3ZS.js} +1 -1
- package/chunks/{chunk-EBJQ6AXW.js → chunk-LO4ROVP4.js} +262 -16
- package/chunks/{chunk-NH6KE4JX.js → chunk-LW3RFMG7.js} +3 -3
- package/chunks/{chunk-J56UI34H.js → chunk-M7OONWYU.js} +2 -2
- package/chunks/{chunk-2NH6DYI4.js → chunk-MHAIJPTD.js} +12 -12
- package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
- package/chunks/{chunk-VRYUBFMC.js → chunk-MR5EAQ5M.js} +1 -1
- package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
- package/chunks/{chunk-H5FFA6TH.js → chunk-NOKIVHOL.js} +16 -3
- package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
- package/chunks/{chunk-SQCQ4KO2.js → chunk-OCESJA77.js} +393 -330
- package/chunks/chunk-OCPBI7J5.js +18 -0
- package/chunks/{chunk-E5TUC6CA.js → chunk-OKF7JF3R.js} +3 -3
- package/chunks/{chunk-TGILQ3YH.js → chunk-P4WOAOJW.js} +141 -64
- package/chunks/{chunk-ZFDTEDCF.js → chunk-PB3MBFKG.js} +6 -6
- package/chunks/{chunk-3RN6GBKS.js → chunk-PLDQBIO6.js} +1 -1
- package/chunks/{chunk-FNQ6T3CV.js → chunk-PONHVBRT.js} +10 -7
- package/chunks/{chunk-CIKQ7KKO.js → chunk-PT722TDT.js} +271 -376
- package/chunks/chunk-Q43KPN7X.js +2196 -0
- package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
- package/chunks/{chunk-MVSUYZDT.js → chunk-QIZKCVM3.js} +4 -4
- package/chunks/{chunk-QAF7NMK7.js → chunk-RCUQIPTN.js} +1 -1
- package/chunks/{chunk-6FGBXPWM.js → chunk-RPLGZJV2.js} +38 -44
- package/chunks/{chunk-GSN55ZRI.js → chunk-S4WJVPZW.js} +19 -7
- package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
- package/chunks/{chunk-BULDBTYC.js → chunk-S7W2GKIO.js} +1 -28
- package/chunks/{chunk-MUP3T3AD.js → chunk-SGFT55XI.js} +1 -35
- package/chunks/{chunk-VYPFXUCB.js → chunk-SZ3KHTDR.js} +1 -1
- package/chunks/chunk-T26EAKDL.js +13 -0
- package/chunks/{chunk-UDX5OBWR.js → chunk-T2QMKU3R.js} +80 -2
- package/chunks/{chunk-IKYJHJNF.js → chunk-T3O2B4XO.js} +3 -3
- package/chunks/{chunk-RF3EXIHJ.js → chunk-T4TXDL7G.js} +32 -21
- package/chunks/{chunk-J24WCGIN.js → chunk-TBBV36Y4.js} +4 -4
- package/chunks/{chunk-LKEJ26GS.js → chunk-TCIFAA7K.js} +16 -11
- package/chunks/{chunk-JXJFVC6E.js → chunk-TDL6LB4K.js} +46 -11
- package/chunks/{chunk-7ZCNENPP.js → chunk-TFRMVU6R.js} +1 -1
- package/chunks/{chunk-VULLI6WQ.js → chunk-TV64SXKD.js} +6 -6
- package/chunks/{chunk-FQK6JAFG.js → chunk-U3E3UQAA.js} +4 -4
- package/chunks/{chunk-LK7CHLVP.js → chunk-U4VTUMMK.js} +0 -60
- package/chunks/{chunk-ACY3A37B.js → chunk-UBEPNVDI.js} +23 -18
- package/chunks/{chunk-NL7LTRLR.js → chunk-UHUSJ6X7.js} +29 -68
- package/chunks/{chunk-ZOIFNCKL.js → chunk-UPUG4GXM.js} +3 -23
- package/chunks/{chunk-6GMVPFB2.js → chunk-UWMLWVCA.js} +19 -6
- package/chunks/{chunk-IKCX4CCL.js → chunk-VCPIZRYH.js} +118 -95
- package/chunks/{chunk-ZNAUOR2I.js → chunk-VWOOBLTY.js} +2 -2
- package/chunks/{chunk-YX324OPW.js → chunk-VYOXCEPJ.js} +1 -1
- package/chunks/{chunk-USTWD7QV.js → chunk-W4MIWP6M.js} +26 -16
- package/chunks/{chunk-HTR4WV6U.js → chunk-W4RQUHY3.js} +31 -1
- package/chunks/{chunk-DLWL3Z7A.js → chunk-WBSMNTSV.js} +3 -3
- package/chunks/{chunk-IO3IX5Q4.js → chunk-WUZ7H6DP.js} +1 -1
- package/chunks/{chunk-2JZBVYTU.js → chunk-WZRWHXFE.js} +1 -8
- package/chunks/{chunk-PHOF65IG.js → chunk-X5WNMMIA.js} +23553 -34321
- package/chunks/chunk-XBYYDKAZ.js +80 -0
- package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
- package/chunks/{chunk-WCXCRJYB.js → chunk-XFZYFU3I.js} +1 -1
- package/chunks/{chunk-3QMGYBFN.js → chunk-XWWKIXVD.js} +1 -80
- package/chunks/{chunk-3SJ43L4W.js → chunk-XZC5VLBZ.js} +2 -0
- package/chunks/{chunk-UUUTRMI2.js → chunk-Y4IHBGBP.js} +1 -1
- package/chunks/{chunk-PR75REBZ.js → chunk-Y6AXW2OG.js} +12 -82
- package/chunks/{chunk-IPUUTYMV.js → chunk-YDLJGZHL.js} +1 -1
- package/chunks/{chunk-IJTOWOD7.js → chunk-YGF33UXG.js} +82 -8
- package/chunks/chunk-Z4X5MTRT.js +133 -0
- package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
- package/chunks/{chunk-ZD6UTE4A.js → chunk-ZHBO7WVX.js} +1 -1
- package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
- package/chunks/{chunk-KIM5GUMA.js → chunk-ZURDMIDR.js} +368 -156
- package/chunks/{computer-use-SOQ4E3VX.js → computer-use-ZTIDHMMA.js} +49 -50
- package/chunks/{config-utils-7V7GGIW6.js → config-utils-NYSXDMEQ.js} +4 -3
- package/chunks/contextCommand-2PIEU37Z.js +79 -0
- package/chunks/core-runtime-3XEYLQFK.js +133 -0
- package/chunks/{create-sub-session-QRJLW5BV.js → create-sub-session-R76FVXCI.js} +46 -47
- package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-SBYUMSSS.js} +3 -3
- package/chunks/{cron-create-YIID5XAW.js → cron-create-2QK6TCEC.js} +6 -6
- package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-FDCDFYMG.js} +5 -5
- package/chunks/{cron-list-XEGS463Q.js → cron-list-XN3WVBTP.js} +6 -6
- package/chunks/{daemon-YO6433NF.js → daemon-Q2AB5Z23.js} +356 -15
- package/chunks/daemon-status-provider-3XJI6CAL.js +89 -0
- package/chunks/daemon-trust-policy-ILUDTLHD.js +84 -0
- package/chunks/daemon-trust-policy-monitor-HS3PKKRO.js +171 -0
- package/chunks/{de-HGRCYDEJ.js → de-SY6O76BF.js} +6 -1
- package/chunks/deferred-core-runtime-X4QV662U.js +88 -0
- package/chunks/dist-BSTVRPMT.js +4227 -0
- package/chunks/{dist-46NQKLTW.js → dist-DOLYHMXE.js} +2 -2
- package/chunks/{dist-AIKFMUKK.js → dist-HVRQ2CFL.js} +271 -11
- package/chunks/{dist-WEAHOXDM.js → dist-IXQEQWRG.js} +2 -1
- package/chunks/{dist-BBLXMS3N.js → dist-SSU66DM4.js} +3 -3
- package/chunks/{dist-F6IBUDR4.js → dist-SV7Q3AWJ.js} +1 -1
- package/chunks/{dist-YFNEUWSE.js → dist-YGBBMK3Z.js} +1 -1
- package/chunks/earlyInputCapture-XKLZT7ZD.js +81 -0
- package/chunks/{edit-OBDSQURM.js → edit-HHGIOTQ2.js} +47 -48
- package/chunks/{en-MTWBNGDO.js → en-NBK3JKCE.js} +9 -1
- package/chunks/{enter-worktree-U6MRPQ2P.js → enter-worktree-ZN7PUQ46.js} +47 -48
- package/chunks/{enterPlanMode-BC5QUZZ2.js → enterPlanMode-EIFIDSIV.js} +47 -48
- package/chunks/{environment-W5UFC2CH.js → environment-XXQ75D2Q.js} +48 -49
- package/chunks/errors-4GMVU7CK.js +87 -0
- package/chunks/esm-K5FARBNI.js +5548 -0
- package/chunks/{exit-worktree-DGNYMECB.js → exit-worktree-GXMI4ATY.js} +47 -48
- package/chunks/exitPlanMode-34UVY7M6.js +72 -0
- package/chunks/{fast-path-JJZFJANL.js → fast-path-VPIVA7L6.js} +16 -6
- package/chunks/{fr-45RLL55O.js → fr-4KG5V7UT.js} +6 -1
- package/chunks/{gemini-QS36EBZV.js → gemini-4BWIK4WD.js} +102 -99
- package/chunks/{geminiContentGenerator-AG4KB6CV.js → geminiContentGenerator-3XVV5MSS.js} +40 -11
- package/chunks/{getMachineId-bsd-V7W3GODC.js → getMachineId-bsd-FG7IUY6U.js} +1 -1
- package/chunks/{getMachineId-darwin-TDO75DQP.js → getMachineId-darwin-GLCJI2RA.js} +1 -1
- package/chunks/{getMachineId-linux-TF43WQT2.js → getMachineId-linux-O6OPPAKO.js} +1 -1
- package/chunks/{getMachineId-unsupported-ZGUO3TXT.js → getMachineId-unsupported-S6CKYVGC.js} +1 -1
- package/chunks/{getMachineId-win-ECFYZZFQ.js → getMachineId-win-X5SRNEH7.js} +1 -1
- package/chunks/{glob-V7R3PSK3.js → glob-TZ2ABCJG.js} +47 -48
- package/chunks/{grep-QYPSK7OP.js → grep-BEF463NA.js} +49 -49
- package/chunks/handleAutoUpdate-L6ERF36Y.js +80 -0
- package/chunks/i18n-FMM5FDXR.js +96 -0
- package/chunks/{image-gen-Z3VPGKRC.js → image-gen-HHVLF7HS.js} +12 -12
- package/chunks/initializer-625TIAIO.js +85 -0
- package/chunks/installationInfo-6AM4I2Y3.js +79 -0
- package/chunks/{ja-B7DF7DFG.js → ja-F3GSQXMF.js} +6 -1
- package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-72IYCAZV.js} +3 -3
- package/chunks/lib-RUF3WZA6.js +9 -0
- package/chunks/list-L2GA674Y.js +88 -0
- package/chunks/{list-agents-5KJJHR6I.js → list-agents-R6KDXQR3.js} +3 -3
- package/chunks/loadedSettingsAdapter-SPUTNKAV.js +82 -0
- package/chunks/{loggingContentGenerator-HS3S5H3Q.js → loggingContentGenerator-LKOF7XI7.js} +78 -113
- package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-3IQKCYAH.js} +7 -7
- package/chunks/{ls-NTK6VOQJ.js → ls-DKZ37A7N.js} +5 -5
- package/chunks/{lsp-2JI24STP.js → lsp-QNWN7KN3.js} +3 -3
- package/chunks/{managed-npm-update-JYEMMXA3.js → managed-npm-update-ACQGGIN5.js} +47 -48
- package/chunks/mcp-SZLHKFJW.js +82 -0
- package/chunks/{monitor-R3ODH5U6.js → monitor-DF52UVHI.js} +47 -48
- package/chunks/nonInteractiveCli-5T7KYKLK.js +144 -0
- package/chunks/{notebook-edit-BNOK452R.js → notebook-edit-FCWS4XVN.js} +47 -48
- package/chunks/{openaiContentGenerator-WMCU3O2H.js → openaiContentGenerator-7LDK3DCJ.js} +26 -27
- package/chunks/pidfile-6ERW3DF4.js +85 -0
- package/chunks/process-registry-2CHQBXH5.js +157 -0
- package/chunks/{processUtils-RT7UNCC2.js → processUtils-COKZAMUP.js} +2 -2
- package/chunks/{pt-22Q3FP73.js → pt-EQ33KWEN.js} +6 -1
- package/chunks/{qwenContentGenerator-HHCRK4SX.js → qwenContentGenerator-TKWUMR7N.js} +52 -53
- package/chunks/{qwenOAuth2-OWLB5AKH.js → qwenOAuth2-7HMU47SF.js} +10 -10
- package/chunks/read-file-X6DRC574.js +29 -0
- package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-GFTWYXMK.js} +4 -4
- package/chunks/{record-artifact-RQKFYO5B.js → record-artifact-XAMSFSW4.js} +3 -3
- package/chunks/resumeHistoryUtils-PFPM2GWM.js +90 -0
- package/chunks/ripGrep-OWV2IVJC.js +72 -0
- package/chunks/{ru-FZCNZHDC.js → ru-7OZAUKGG.js} +6 -1
- package/chunks/{run-qwen-serve-FU6HEM4J.js → run-qwen-serve-TSTCO4XE.js} +953 -249
- package/chunks/{runtime-XXRRTNP6.js → runtime-DAUPSUKI.js} +56 -56
- package/chunks/{scheduler-G2ZS2Z7E.js → scheduler-KMADMT26.js} +46 -47
- package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
- package/chunks/{sdk-exporters-http-FYBSUCPD.js → sdk-exporters-http-WO556XNU.js} +7 -7
- package/chunks/{sdk-impl-GMVPB7NB.js → sdk-impl-LPAVACSF.js} +14 -14
- package/chunks/{send-message-Q6OOR6BR.js → send-message-SAWK4DZX.js} +6 -6
- package/chunks/serve-NNRWS6F4.js +88 -0
- package/chunks/{server-4UMH7OIZ.js → server-WEH7DVCH.js} +3691 -823
- package/chunks/{session-K3O3Q2SV.js → session-WXC56V2I.js} +98 -95
- package/chunks/{settings-CR2EWTBA.js → settings-DJDXFDZ3.js} +55 -56
- package/chunks/shell-JN5VRQXD.js +82 -0
- package/chunks/{skill-I3SDA4MB.js → skill-SGXPKJCS.js} +20 -21
- package/chunks/skill-settings-VJ5PDMZI.js +90 -0
- package/chunks/spawnChannel-ETMJW7YX.js +81 -0
- package/chunks/standalone-update-MK3Z7KBI.js +91 -0
- package/chunks/{startInteractiveUI-SLZGHRPH.js → startInteractiveUI-ZCGIXPGT.js} +724 -383
- package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-355CB6CJ.js} +4 -4
- package/chunks/{task-create-N7WQSGYA.js → task-create-INGWNUG4.js} +10 -10
- package/chunks/{task-list-FOPULZEP.js → task-list-5XNNGTF4.js} +7 -7
- package/chunks/{task-stop-H6RHXFVQ.js → task-stop-4ROAOBXH.js} +3 -3
- package/chunks/{task-update-M57TFZJT.js → task-update-CRK5VWWZ.js} +10 -10
- package/chunks/{team-create-YJALH5D2.js → team-create-QQGAJG7P.js} +49 -50
- package/chunks/{team-delete-QE2UXJL7.js → team-delete-S2RCXA4P.js} +7 -7
- package/chunks/{team-plan-approval-34QFYKGN.js → team-plan-approval-RT7Q5R6O.js} +47 -48
- package/chunks/theme-manager-EEWIQJ7J.js +76 -0
- package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-7WM3VDMY.js} +7 -7
- package/chunks/{tool-search-NF7GB6LE.js → tool-search-Z3Z4AYKP.js} +19 -21
- package/chunks/total-session-admission-44JKRWQD.js +84 -0
- package/chunks/trustedFolders-X2JEIO57.js +94 -0
- package/chunks/{update-relaunch-WBUZJC5O.js → update-relaunch-VWNPYDIP.js} +5 -5
- package/chunks/updateCheck-KAQH67DV.js +91 -0
- package/chunks/useAutoAcceptIndicator-JH6BCF7S.js +92 -0
- package/chunks/{validateNonInterActiveAuth-3R223G3R.js → validateNonInterActiveAuth-GIUJ2UFS.js} +93 -90
- package/chunks/{version-HS7YSFHV.js → version-BGLYIJUY.js} +1 -1
- package/chunks/{web-fetch-NKCSG7ZE.js → web-fetch-OTDU4VQF.js} +19 -21
- package/chunks/{web-search-S62WAP4S.js → web-search-FP6SIHPR.js} +13 -13
- package/chunks/{workflow-QAGU5RU4.js → workflow-YCIVBYSB.js} +48 -49
- package/chunks/workspace-providers-status-S35YAIUS.js +85 -0
- package/chunks/{workspace-registration-store-24JMHDGF.js → workspace-registration-store-OTMS3H4C.js} +1 -1
- package/chunks/workspace-registry-O63R6IZ4.js +92 -0
- package/chunks/workspace-service-M6LLHKJ5.js +99 -0
- package/chunks/workspace-skills-status-C2V7BAIS.js +85 -0
- package/chunks/workspace-trust-reconciler-IBUPOUJN.js +345 -0
- package/chunks/write-file-3BZC3EAE.js +72 -0
- package/chunks/xterm-headless-NTYVIBT3.js +3475 -0
- package/chunks/{zh-LUIGBD55.js → zh-H3YDK5QW.js} +9 -1
- package/chunks/{zh-TW-F5KG2IYD.js → zh-TW-JYCP7XUA.js} +9 -1
- package/chunks/zoom-image-TZ6S2O57.js +351 -0
- package/cli.js +13 -13
- package/locales/ca.js +7 -2
- package/locales/de.js +7 -2
- package/locales/en.js +10 -2
- package/locales/fr.js +7 -2
- package/locales/ja.js +7 -2
- package/locales/pt.js +7 -2
- package/locales/ru.js +7 -2
- package/locales/zh-TW.js +10 -2
- package/locales/zh.js +10 -2
- package/package.json +5 -4
- package/web-shell/assets/{arc-DcbWnB9T.js → arc-75-Wdeo3.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-kMMF5sud.js → architectureDiagram-3BPJPVTR-FKeXQbyP.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Htl9vTJS.js → blockDiagram-GPEHLZMM-CY0vc-A3.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BnZnm0mQ.js → c4Diagram-AAUBKEIU-CNP-A-8u.js} +1 -1
- package/web-shell/assets/channel-DPYMT76A.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DziB7kDG.js → chunk-2J33WTMH-GybS4Gii.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-CmkD8daw.js → chunk-4BX2VUAB-02H91V8v.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-CHAd9A_U.js → chunk-55IACEB6-D3M-2VT6.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-Dqaam3fE.js → chunk-727SXJPM-CCu29u4H.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D_-saBYM.js → chunk-AQP2D5EJ-CaFKWgrn.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-B9r_veWD.js → chunk-FMBD7UC4-ZZpPqIwQ.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-B3EaCSpL.js → chunk-ND2GUHAM-D22DqGs8.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CYq8x9mn.js → chunk-QZHKN3VN-Bu85S0fw.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK--JstsIgL.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2--JstsIgL.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-D0ng4uiB.js → cose-bilkent-S5V4N54A-f1CK1Gwe.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DCZollQv.js → dagre-BM42HDAG-D0Ow8F_n.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-Dfk2pWS0.js → diagram-2AECGRRQ-BPrmTWp8.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-kX38ltWR.js → diagram-5GNKFQAL-HccuFAzy.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CJz2vsXh.js → diagram-KO2AKTUF-BrS76mbA.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BvMLZm_7.js → diagram-LMA3HP47-V7T9lU-5.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-l7kfStkO.js → diagram-OG6HWLK6-DKidyJMR.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BSVa8GGT.js → erDiagram-TEJ5UH35-DBadZIkp.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-CoawKIXH.js → flowDiagram-I6XJVG4X-BymfqdNJ.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DFUDH0zF.js → ganttDiagram-6RSMTGT7-DOw340jf.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Y2pvpT4e.js → gitGraphDiagram-PVQCEYII-_8EiD8sl.js} +1 -1
- package/web-shell/assets/{index-D0GX0zZf.js → index-CKIadvET.js} +1 -1
- package/web-shell/assets/index-D1eXNRHe.js +1389 -0
- package/web-shell/assets/index-DVLD4CQq.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CU8_zLiX.js → infoDiagram-5YYISTIA-D61KYQBu.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-AVQiV0DU.js → ishikawaDiagram-YF4QCWOH-CsiXSpNx.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DQ0VSKa3.js → journeyDiagram-JHISSGLW-Sdfionyh.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BqnWqsE_.js → kanban-definition-UN3LZRKU-C3WI3Cnl.js} +1 -1
- package/web-shell/assets/{linear-BkoihsaA.js → linear-Dpigcc62.js} +1 -1
- package/web-shell/assets/{mermaid.core-5RJs-31j.js → mermaid.core-Ct97pqgW.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D33Bxnpd.js → mindmap-definition-RKZ34NQL-BzeaN0rB.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-BuEAw3BH.js → pieDiagram-4H26LBE5-CvjgcbVD.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Kox_usEq.js → quadrantDiagram-W4KKPZXB-BUzgTNdH.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CNjeUif0.js → requirementDiagram-4Y6WPE33-B7zKlgUQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BCd2OL_U.js → sankeyDiagram-5OEKKPKP-Bb9CQgrT.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CF2ZTsz0.js → sequenceDiagram-3UESZ5HK-DJ6V7itG.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-qenSzHtm.js → stateDiagram-AJRCARHV-IImflERY.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CYI_YoNR.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-B5DyWdgs.js → timeline-definition-PNZ67QCA-6Q_uWHKh.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DqP4I_o_.js → vennDiagram-CIIHVFJN-TmyKyjwv.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CJe2e4mg.js → wardley-L42UT6IY-CRh9uiPv.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BMDSw-Rr.js → wardleyDiagram-YWT4CUSO-59TKAW8w.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BTVZYkxD.js → xychartDiagram-2RQKCTM6-GCSUIK2L.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/MaxSizedBox-5DPPWPGT.js +0 -85
- package/chunks/agent-6ODUANDO.js +0 -81
- package/chunks/agent-headless-7BYQTMHW.js +0 -75
- package/chunks/bridge-ZUB64FAE.js +0 -90
- package/chunks/chunk-LEH5C7FV.js +0 -232
- package/chunks/chunk-SZRN75WQ.js +0 -29
- package/chunks/chunk-UGYMA4EI.js +0 -219
- package/chunks/chunk-Z2BC6UJ5.js +0 -8575
- package/chunks/contextCommand-JLHYA34Z.js +0 -80
- package/chunks/daemon-status-provider-2233Q37D.js +0 -89
- package/chunks/earlyInputCapture-A7NDU3PF.js +0 -82
- package/chunks/errors-M7CLORXH.js +0 -88
- package/chunks/exitPlanMode-GXTBWQAR.js +0 -403
- package/chunks/handleAutoUpdate-6DBEZYPV.js +0 -81
- package/chunks/i18n-VUJJZIMU.js +0 -97
- package/chunks/initializer-UWAK5U5O.js +0 -86
- package/chunks/installationInfo-6O2YAA52.js +0 -80
- package/chunks/list-GB4ESM3T.js +0 -89
- package/chunks/loadedSettingsAdapter-OT6JVQ7U.js +0 -83
- package/chunks/mcp-6DBDJPFU.js +0 -83
- package/chunks/nonInteractiveCli-MOYCYBBU.js +0 -141
- package/chunks/pidfile-TFRZZZIO.js +0 -86
- package/chunks/read-file-APMO3PSX.js +0 -31
- package/chunks/resumeHistoryUtils-6KRYEAWZ.js +0 -91
- package/chunks/ripGrep-BEJDEDXW.js +0 -73
- package/chunks/serve-7BSTXJ4T.js +0 -89
- package/chunks/shell-HH3PF3A2.js +0 -83
- package/chunks/spawnChannel-RWNDBXGA.js +0 -82
- package/chunks/src-GE4TTTML.js +0 -3147
- package/chunks/standalone-update-Q6WFRZZQ.js +0 -92
- package/chunks/theme-manager-SWRILQHI.js +0 -77
- package/chunks/total-session-admission-DLHHHLD3.js +0 -84
- package/chunks/trustedFolders-KHXHY6PY.js +0 -93
- package/chunks/updateCheck-RKL6M5XN.js +0 -92
- package/chunks/useAutoAcceptIndicator-CFQ5BUJL.js +0 -93
- package/chunks/workspace-providers-status-QSVZUETE.js +0 -86
- package/chunks/workspace-registry-UT4RBNBM.js +0 -88
- package/chunks/workspace-service-JFWRUS4V.js +0 -98
- package/chunks/workspace-skills-status-ZBBKJOI2.js +0 -85
- package/chunks/write-file-VHIXW5M7.js +0 -73
- package/web-shell/assets/channel-Cq7YKtfC.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +0 -1
- package/web-shell/assets/index-D9haPt0X.css +0 -5
- package/web-shell/assets/index-ckX9Pq5k.js +0 -1230
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.js +0 -1
- package/chunks/{chunk-TARRHLLG.js → chunk-QUGAUQGJ.js} +25 -25
- package/chunks/{chunk-U7ZFW55U.js → chunk-VOQXFAY5.js} +977 -977
- /package/chunks/{chunk-LXXMOYPL.js → chunk-VXZBKKQR.js} +0 -0
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import {
|
|
4
4
|
AUTO_THEME_NAME,
|
|
5
5
|
themeManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GATT5TKW.js";
|
|
7
7
|
import {
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TCIFAA7K.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-X5WNMMIA.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PT722TDT.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UHUSJ6X7.js";
|
|
24
24
|
import {
|
|
25
25
|
init_esbuild_shims
|
|
26
26
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DashScopeOpenAICompatibleProvider,
|
|
5
5
|
DefaultOpenAICompatibleProvider
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WBSMNTSV.js";
|
|
7
7
|
import {
|
|
8
8
|
RequestTokenizer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FNMZK765.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_STREAM_IDLE_TIMEOUT_MS,
|
|
12
12
|
MAX_STREAM_IDLE_TIMEOUT_MS,
|
|
@@ -19,40 +19,42 @@ import {
|
|
|
19
19
|
OpenAIContentConverter,
|
|
20
20
|
TaggedThinkingParser,
|
|
21
21
|
openaiRequestCaptureContext
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5TBMQLGG.js";
|
|
23
23
|
import {
|
|
24
24
|
InvalidStreamError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2J3OJGTL.js";
|
|
26
26
|
import {
|
|
27
27
|
getRateLimitErrorDetails
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RPLGZJV2.js";
|
|
29
29
|
import {
|
|
30
30
|
safeJsonParse
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NOKIVHOL.js";
|
|
32
32
|
import {
|
|
33
33
|
getToolCallPreparations,
|
|
34
34
|
runtimeDiagnostics
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GLCZKT5V.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
reportOpenAiChunk,
|
|
38
|
+
reportOpenAiRequest,
|
|
39
|
+
reportOpenAiResponse
|
|
40
|
+
} from "./chunk-5YKDXHUY.js";
|
|
39
41
|
import {
|
|
40
42
|
ProtocolTagSanitizedEvent,
|
|
41
43
|
logProtocolTagSanitized
|
|
42
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PT722TDT.js";
|
|
43
45
|
import {
|
|
44
46
|
reconcileMaxTokens
|
|
45
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZBVS26BY.js";
|
|
46
48
|
import {
|
|
47
49
|
redactProxyError
|
|
48
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-WZRWHXFE.js";
|
|
49
51
|
import {
|
|
50
52
|
createDebugLogger,
|
|
51
53
|
getErrorMessage,
|
|
52
54
|
getErrorStatus,
|
|
53
55
|
getErrorType,
|
|
54
56
|
isAbortError
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UHUSJ6X7.js";
|
|
56
58
|
import {
|
|
57
59
|
GenerateContentResponse
|
|
58
60
|
} from "./chunk-22C7BQ6D.js";
|
|
@@ -453,7 +455,12 @@ var StreamingToolCallParser = class {
|
|
|
453
455
|
namelessToolCallIndices = /* @__PURE__ */ new Set();
|
|
454
456
|
/** Map from tool call ID to actual index used for storage */
|
|
455
457
|
idToIndexMap = /* @__PURE__ */ new Map();
|
|
456
|
-
/**
|
|
458
|
+
/**
|
|
459
|
+
* Maps a provider index to the actual slot it was remapped to on collision.
|
|
460
|
+
* Two readers consume it: an id that arrives after its name/args adopts the
|
|
461
|
+
* slot, and later id-less continuation chunks at the same provider index are
|
|
462
|
+
* routed to it.
|
|
463
|
+
*/
|
|
457
464
|
pendingIndexRemaps = /* @__PURE__ */ new Map();
|
|
458
465
|
/** Counter for generating new indices when collisions occur */
|
|
459
466
|
nextAvailableIndex = 0;
|
|
@@ -501,9 +508,8 @@ var StreamingToolCallParser = class {
|
|
|
501
508
|
if (id) {
|
|
502
509
|
if (this.idToIndexMap.has(id)) {
|
|
503
510
|
actualIndex = this.idToIndexMap.get(id);
|
|
504
|
-
} else if (this.pendingIndexRemaps.has(index)) {
|
|
511
|
+
} else if (this.pendingIndexRemaps.has(index) && !this.toolCallMeta.get(this.pendingIndexRemaps.get(index))?.id) {
|
|
505
512
|
actualIndex = this.pendingIndexRemaps.get(index);
|
|
506
|
-
this.pendingIndexRemaps.delete(index);
|
|
507
513
|
this.idToIndexMap.set(id, actualIndex);
|
|
508
514
|
} else {
|
|
509
515
|
if (this.buffers.has(index)) {
|
|
@@ -577,7 +583,7 @@ var StreamingToolCallParser = class {
|
|
|
577
583
|
} else {
|
|
578
584
|
this.namelessToolCallIndices.delete(actualIndex);
|
|
579
585
|
}
|
|
580
|
-
if (
|
|
586
|
+
if (actualIndex !== index) {
|
|
581
587
|
this.pendingIndexRemaps.set(index, actualIndex);
|
|
582
588
|
}
|
|
583
589
|
return { actualIndex, complete: false };
|
|
@@ -603,7 +609,7 @@ var StreamingToolCallParser = class {
|
|
|
603
609
|
meta.name = validName;
|
|
604
610
|
}
|
|
605
611
|
}
|
|
606
|
-
if (
|
|
612
|
+
if (actualIndex !== index) {
|
|
607
613
|
this.pendingIndexRemaps.set(index, actualIndex);
|
|
608
614
|
}
|
|
609
615
|
const currentInString = this.inStrings.get(actualIndex);
|
|
@@ -1074,7 +1080,7 @@ var ContentGenerationPipeline = class {
|
|
|
1074
1080
|
request,
|
|
1075
1081
|
userPromptId,
|
|
1076
1082
|
false,
|
|
1077
|
-
async (openaiRequest, context) => {
|
|
1083
|
+
async (openaiRequest, context, telemetryAttempt) => {
|
|
1078
1084
|
const parentSignal = request.config?.abortSignal;
|
|
1079
1085
|
const perRequestAc = parentSignal ? createChildAbortController(parentSignal) : void 0;
|
|
1080
1086
|
try {
|
|
@@ -1084,6 +1090,7 @@ var ContentGenerationPipeline = class {
|
|
|
1084
1090
|
signal: perRequestAc?.signal
|
|
1085
1091
|
}
|
|
1086
1092
|
);
|
|
1093
|
+
reportOpenAiResponse(telemetryAttempt, openaiResponse);
|
|
1087
1094
|
const geminiResponse = OpenAIContentConverter.convertOpenAIResponseToGemini(
|
|
1088
1095
|
openaiResponse,
|
|
1089
1096
|
context
|
|
@@ -1100,7 +1107,7 @@ var ContentGenerationPipeline = class {
|
|
|
1100
1107
|
request,
|
|
1101
1108
|
userPromptId,
|
|
1102
1109
|
true,
|
|
1103
|
-
async (openaiRequest, context) => {
|
|
1110
|
+
async (openaiRequest, context, telemetryAttempt) => {
|
|
1104
1111
|
const parentSignal = request.config?.abortSignal;
|
|
1105
1112
|
const perRequestAc = createChildAbortController(parentSignal);
|
|
1106
1113
|
let stream;
|
|
@@ -1155,7 +1162,8 @@ var ContentGenerationPipeline = class {
|
|
|
1155
1162
|
guarded,
|
|
1156
1163
|
context,
|
|
1157
1164
|
request,
|
|
1158
|
-
userPromptId
|
|
1165
|
+
userPromptId,
|
|
1166
|
+
telemetryAttempt
|
|
1159
1167
|
);
|
|
1160
1168
|
async function* drainThenCleanup() {
|
|
1161
1169
|
try {
|
|
@@ -1177,7 +1185,7 @@ var ContentGenerationPipeline = class {
|
|
|
1177
1185
|
* 3. Handle chunk merging for providers that send finishReason and usageMetadata separately
|
|
1178
1186
|
* 4. Handle success/error logging
|
|
1179
1187
|
*/
|
|
1180
|
-
async *processStreamWithLogging(stream, context, request, userPromptId) {
|
|
1188
|
+
async *processStreamWithLogging(stream, context, request, userPromptId, telemetryAttempt) {
|
|
1181
1189
|
let pendingFinishResponse = null;
|
|
1182
1190
|
let finishYielded = false;
|
|
1183
1191
|
let pendingFinishProtocolTagSanitized;
|
|
@@ -1201,6 +1209,7 @@ var ContentGenerationPipeline = class {
|
|
|
1201
1209
|
}, "logPendingProtocolTagSanitized");
|
|
1202
1210
|
try {
|
|
1203
1211
|
for await (const chunk of stream) {
|
|
1212
|
+
reportOpenAiChunk(telemetryAttempt, chunk);
|
|
1204
1213
|
if (chunk.choices?.[0]?.finish_reason === "error_finish") {
|
|
1205
1214
|
const errorContent = chunk.choices?.[0]?.delta?.content?.trim() || "Unknown stream error";
|
|
1206
1215
|
throw new StreamContentError(errorContent);
|
|
@@ -1394,47 +1403,48 @@ var ContentGenerationPipeline = class {
|
|
|
1394
1403
|
const thinkingMandatory = this.requiresThinking(model);
|
|
1395
1404
|
const reasoningDisabled = request.config?.thinkingConfig?.includeThoughts === false || this.contentGeneratorConfig.reasoning === false;
|
|
1396
1405
|
if (reasoningDisabled) {
|
|
1397
|
-
const
|
|
1406
|
+
const typed2 = providerRequest;
|
|
1398
1407
|
if (!thinkingMandatory && (model.startsWith("qwen") || model === "coder-model")) {
|
|
1399
1408
|
if (isDashScope) {
|
|
1400
|
-
|
|
1409
|
+
typed2["enable_thinking"] = false;
|
|
1401
1410
|
} else {
|
|
1402
|
-
delete
|
|
1403
|
-
const existing =
|
|
1404
|
-
|
|
1411
|
+
delete typed2["enable_thinking"];
|
|
1412
|
+
const existing = typed2["chat_template_kwargs"] ?? {};
|
|
1413
|
+
typed2["chat_template_kwargs"] = {
|
|
1405
1414
|
...existing,
|
|
1406
1415
|
enable_thinking: false
|
|
1407
1416
|
};
|
|
1408
1417
|
}
|
|
1409
1418
|
}
|
|
1410
|
-
if ("reasoning" in
|
|
1411
|
-
delete
|
|
1419
|
+
if ("reasoning" in typed2) {
|
|
1420
|
+
delete typed2["reasoning"];
|
|
1412
1421
|
}
|
|
1413
|
-
if ("reasoning_effort" in
|
|
1414
|
-
delete
|
|
1422
|
+
if ("reasoning_effort" in typed2 && typed2["reasoning_effort"] !== "none") {
|
|
1423
|
+
delete typed2["reasoning_effort"];
|
|
1415
1424
|
}
|
|
1416
1425
|
if (isDeepSeekHostname(this.contentGeneratorConfig)) {
|
|
1417
|
-
|
|
1426
|
+
typed2["thinking"] = { type: "disabled" };
|
|
1418
1427
|
}
|
|
1419
1428
|
}
|
|
1420
1429
|
if (thinkingMandatory) {
|
|
1421
|
-
const
|
|
1422
|
-
if (
|
|
1423
|
-
delete
|
|
1430
|
+
const typed2 = providerRequest;
|
|
1431
|
+
if (typed2["enable_thinking"] === false) {
|
|
1432
|
+
delete typed2["enable_thinking"];
|
|
1424
1433
|
}
|
|
1425
|
-
const chatTemplateKwargs =
|
|
1434
|
+
const chatTemplateKwargs = typed2["chat_template_kwargs"];
|
|
1426
1435
|
if (chatTemplateKwargs?.["enable_thinking"] === false) {
|
|
1427
1436
|
const remaining = { ...chatTemplateKwargs };
|
|
1428
1437
|
delete remaining["enable_thinking"];
|
|
1429
1438
|
if (Object.keys(remaining).length > 0) {
|
|
1430
|
-
|
|
1439
|
+
typed2["chat_template_kwargs"] = remaining;
|
|
1431
1440
|
} else {
|
|
1432
|
-
delete
|
|
1441
|
+
delete typed2["chat_template_kwargs"];
|
|
1433
1442
|
}
|
|
1434
1443
|
}
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1444
|
+
}
|
|
1445
|
+
const typed = providerRequest;
|
|
1446
|
+
if (isDashScope && typed["tool_choice"] === "required" && (thinkingMandatory || typed["enable_thinking"] === true)) {
|
|
1447
|
+
delete typed["tool_choice"];
|
|
1438
1448
|
}
|
|
1439
1449
|
return providerRequest;
|
|
1440
1450
|
}
|
|
@@ -1513,8 +1523,8 @@ var ContentGenerationPipeline = class {
|
|
|
1513
1523
|
);
|
|
1514
1524
|
openaiRequestCaptureContext.getStore()?.(openaiRequest);
|
|
1515
1525
|
runtimeDiagnostics.recordOpenAIWireRequest(openaiRequest);
|
|
1516
|
-
reportOpenAiRequest(openaiRequest);
|
|
1517
|
-
return executor(openaiRequest, context);
|
|
1526
|
+
const telemetryAttempt = reportOpenAiRequest(openaiRequest);
|
|
1527
|
+
return executor(openaiRequest, context, telemetryAttempt);
|
|
1518
1528
|
}, "executeAttempt");
|
|
1519
1529
|
try {
|
|
1520
1530
|
return await executeAttempt();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getTeammateContext,
|
|
5
5
|
isTeammate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S6LOFUVP.js";
|
|
7
7
|
import {
|
|
8
8
|
collectAvailableSkillEntries,
|
|
9
9
|
escapeSystemReminderTags,
|
|
@@ -11,15 +11,15 @@ import {
|
|
|
11
11
|
} from "./chunk-JCW2R7WC.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_FILE_FILTERING_OPTIONS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2DN4J57Y.js";
|
|
15
15
|
import {
|
|
16
16
|
ToolNames
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Y6AXW2OG.js";
|
|
18
18
|
import {
|
|
19
19
|
createDebugLogger,
|
|
20
20
|
getErrorMessage,
|
|
21
21
|
isNodeError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UHUSJ6X7.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
25
25
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -27,6 +27,45 @@ import {
|
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-J2S4EL5Y.js";
|
|
29
29
|
|
|
30
|
+
// packages/core/src/config/approval-mode.ts
|
|
31
|
+
init_esbuild_shims();
|
|
32
|
+
var ApprovalMode = /* @__PURE__ */ ((ApprovalMode2) => {
|
|
33
|
+
ApprovalMode2["PLAN"] = "plan";
|
|
34
|
+
ApprovalMode2["DEFAULT"] = "default";
|
|
35
|
+
ApprovalMode2["AUTO_EDIT"] = "auto-edit";
|
|
36
|
+
ApprovalMode2["AUTO"] = "auto";
|
|
37
|
+
ApprovalMode2["YOLO"] = "yolo";
|
|
38
|
+
return ApprovalMode2;
|
|
39
|
+
})(ApprovalMode || {});
|
|
40
|
+
var APPROVAL_MODES = Object.values(ApprovalMode);
|
|
41
|
+
|
|
42
|
+
// packages/core/src/subagents/types.ts
|
|
43
|
+
init_esbuild_shims();
|
|
44
|
+
var BUBBLE_APPROVAL_MODE = "bubble";
|
|
45
|
+
var SubagentError = class extends Error {
|
|
46
|
+
constructor(message, code, subagentName) {
|
|
47
|
+
super(message);
|
|
48
|
+
this.code = code;
|
|
49
|
+
this.subagentName = subagentName;
|
|
50
|
+
this.name = "SubagentError";
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
__name(this, "SubagentError");
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
var SubagentErrorCode = {
|
|
57
|
+
NOT_FOUND: "NOT_FOUND",
|
|
58
|
+
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
59
|
+
INVALID_CONFIG: "INVALID_CONFIG",
|
|
60
|
+
INVALID_NAME: "INVALID_NAME",
|
|
61
|
+
FILE_ERROR: "FILE_ERROR",
|
|
62
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
63
|
+
TOOL_NOT_FOUND: "TOOL_NOT_FOUND"
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
// packages/core/src/utils/environmentContext.ts
|
|
67
|
+
init_esbuild_shims();
|
|
68
|
+
|
|
30
69
|
// packages/core/src/utils/getFolderStructure.ts
|
|
31
70
|
init_esbuild_shims();
|
|
32
71
|
import * as fs from "node:fs/promises";
|
|
@@ -212,7 +251,6 @@ ${structureLines.join("\n")}`;
|
|
|
212
251
|
__name(getFolderStructure, "getFolderStructure");
|
|
213
252
|
|
|
214
253
|
// packages/core/src/utils/environmentContext.ts
|
|
215
|
-
init_esbuild_shims();
|
|
216
254
|
var debugLogger2 = createDebugLogger("ENVIRONMENT_CONTEXT");
|
|
217
255
|
var SYSTEM_REMINDER_OPEN = "<system-reminder>";
|
|
218
256
|
var SYSTEM_REMINDER_CLOSE = "</system-reminder>";
|
|
@@ -345,10 +383,6 @@ function buildDeferredToolsReminder(toolRegistry) {
|
|
|
345
383
|
);
|
|
346
384
|
}
|
|
347
385
|
__name(buildDeferredToolsReminder, "buildDeferredToolsReminder");
|
|
348
|
-
function buildAddedMcpToolsReminder(deferredTools) {
|
|
349
|
-
return buildChangedMcpToolsReminder(deferredTools, []);
|
|
350
|
-
}
|
|
351
|
-
__name(buildAddedMcpToolsReminder, "buildAddedMcpToolsReminder");
|
|
352
386
|
function buildChangedMcpToolsReminder(addedTools, removedToolNames) {
|
|
353
387
|
const mcpTools = addedTools.filter((tool) => tool.serverName);
|
|
354
388
|
const removed = [...removedToolNames].sort();
|
|
@@ -451,10 +485,6 @@ ${block}
|
|
|
451
485
|
};
|
|
452
486
|
}
|
|
453
487
|
__name(buildAvailableSkillsReminder, "buildAvailableSkillsReminder");
|
|
454
|
-
function buildAddedSkillsReminder(entries) {
|
|
455
|
-
return buildChangedSkillsReminder(entries, []);
|
|
456
|
-
}
|
|
457
|
-
__name(buildAddedSkillsReminder, "buildAddedSkillsReminder");
|
|
458
488
|
function buildChangedSkillsReminder(addedEntries, removedNames) {
|
|
459
489
|
const removed = [...removedNames].sort();
|
|
460
490
|
if (addedEntries.length === 0 && removed.length === 0) {
|
|
@@ -639,30 +669,6 @@ function stripStartupContext(history) {
|
|
|
639
669
|
}
|
|
640
670
|
__name(stripStartupContext, "stripStartupContext");
|
|
641
671
|
|
|
642
|
-
// packages/core/src/subagents/types.ts
|
|
643
|
-
init_esbuild_shims();
|
|
644
|
-
var BUBBLE_APPROVAL_MODE = "bubble";
|
|
645
|
-
var SubagentError = class extends Error {
|
|
646
|
-
constructor(message, code, subagentName) {
|
|
647
|
-
super(message);
|
|
648
|
-
this.code = code;
|
|
649
|
-
this.subagentName = subagentName;
|
|
650
|
-
this.name = "SubagentError";
|
|
651
|
-
}
|
|
652
|
-
static {
|
|
653
|
-
__name(this, "SubagentError");
|
|
654
|
-
}
|
|
655
|
-
};
|
|
656
|
-
var SubagentErrorCode = {
|
|
657
|
-
NOT_FOUND: "NOT_FOUND",
|
|
658
|
-
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
659
|
-
INVALID_CONFIG: "INVALID_CONFIG",
|
|
660
|
-
INVALID_NAME: "INVALID_NAME",
|
|
661
|
-
FILE_ERROR: "FILE_ERROR",
|
|
662
|
-
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
663
|
-
TOOL_NOT_FOUND: "TOOL_NOT_FOUND"
|
|
664
|
-
};
|
|
665
|
-
|
|
666
672
|
// packages/core/src/tools/agent/fork-subagent.ts
|
|
667
673
|
init_esbuild_shims();
|
|
668
674
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -858,18 +864,6 @@ function spawnBlockReason(maxDepth) {
|
|
|
858
864
|
}
|
|
859
865
|
__name(spawnBlockReason, "spawnBlockReason");
|
|
860
866
|
|
|
861
|
-
// packages/core/src/config/approval-mode.ts
|
|
862
|
-
init_esbuild_shims();
|
|
863
|
-
var ApprovalMode = /* @__PURE__ */ ((ApprovalMode2) => {
|
|
864
|
-
ApprovalMode2["PLAN"] = "plan";
|
|
865
|
-
ApprovalMode2["DEFAULT"] = "default";
|
|
866
|
-
ApprovalMode2["AUTO_EDIT"] = "auto-edit";
|
|
867
|
-
ApprovalMode2["AUTO"] = "auto";
|
|
868
|
-
ApprovalMode2["YOLO"] = "yolo";
|
|
869
|
-
return ApprovalMode2;
|
|
870
|
-
})(ApprovalMode || {});
|
|
871
|
-
var APPROVAL_MODES = Object.values(ApprovalMode);
|
|
872
|
-
|
|
873
867
|
// packages/core/src/agents/runtime/subagent-plan-tool-policy.ts
|
|
874
868
|
init_esbuild_shims();
|
|
875
869
|
var SUBAGENT_PLAN_LIFECYCLE_TOOLS = /* @__PURE__ */ new Set([
|
|
@@ -977,30 +971,21 @@ function buildSubagentPlanToolBlockedResult(toolName, logTag, logger) {
|
|
|
977
971
|
__name(buildSubagentPlanToolBlockedResult, "buildSubagentPlanToolBlockedResult");
|
|
978
972
|
|
|
979
973
|
export {
|
|
974
|
+
APPROVAL_MODES,
|
|
975
|
+
BUBBLE_APPROVAL_MODE,
|
|
976
|
+
SubagentError,
|
|
977
|
+
SubagentErrorCode,
|
|
980
978
|
getFolderStructure,
|
|
981
|
-
SYSTEM_REMINDER_OPEN,
|
|
982
|
-
SYSTEM_REMINDER_CLOSE,
|
|
983
979
|
formatDateForContext,
|
|
984
980
|
getDirectoryContextString,
|
|
985
|
-
getEnvironmentContext,
|
|
986
|
-
buildDeferredToolsReminder,
|
|
987
|
-
buildAddedMcpToolsReminder,
|
|
988
981
|
buildChangedMcpToolsReminder,
|
|
989
|
-
buildMcpServerInstructionsReminder,
|
|
990
|
-
buildAvailableSkillsReminder,
|
|
991
|
-
buildAddedSkillsReminder,
|
|
992
982
|
buildChangedSkillsReminder,
|
|
993
|
-
buildAddedAgentsReminder,
|
|
994
983
|
buildChangedAgentsReminder,
|
|
995
|
-
buildStartupContextReminder,
|
|
996
984
|
getInitialChatHistory,
|
|
997
985
|
getStartupContextLength,
|
|
998
986
|
isSystemReminderContent,
|
|
999
987
|
stripSystemReminderBlocks,
|
|
1000
988
|
stripStartupContext,
|
|
1001
|
-
BUBBLE_APPROVAL_MODE,
|
|
1002
|
-
SubagentError,
|
|
1003
|
-
SubagentErrorCode,
|
|
1004
989
|
FORK_SUBAGENT_TYPE,
|
|
1005
990
|
FORK_AGENT,
|
|
1006
991
|
FORK_DEFAULT_MAX_TURNS,
|
|
@@ -1022,8 +1007,6 @@ export {
|
|
|
1022
1007
|
isTopLevelSession,
|
|
1023
1008
|
childLaunchDepth,
|
|
1024
1009
|
spawnBlockReason,
|
|
1025
|
-
ApprovalMode,
|
|
1026
|
-
APPROVAL_MODES,
|
|
1027
1010
|
SUBAGENT_PLAN_LIFECYCLE_TOOLS,
|
|
1028
1011
|
isSubagentLikeExecutionContext,
|
|
1029
1012
|
isPlanRequiredTeammateContext,
|