@qwen-code/qwen-code 0.21.10 → 0.21.11-nightly.20260814.45c2e73080
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/coordinate/SKILL.md +52 -0
- package/bundled/qc-helper/docs/configuration/model-providers.md +10 -8
- package/bundled/qc-helper/docs/configuration/settings.md +10 -0
- package/bundled/qc-helper/docs/extension/_meta.ts +1 -0
- package/bundled/qc-helper/docs/extension/agent-plugins.md +50 -0
- package/bundled/qc-helper/docs/extension/extension-releasing.md +3 -3
- package/bundled/qc-helper/docs/extension/introduction.md +17 -3
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/arena.md +4 -3
- package/bundled/qc-helper/docs/features/code-review.md +1 -1
- package/bundled/qc-helper/docs/features/commands.md +7 -6
- package/bundled/qc-helper/docs/features/dual-output.md +5 -0
- package/bundled/qc-helper/docs/features/headless.md +8 -0
- package/bundled/qc-helper/docs/features/multi-agent-coordination.md +30 -0
- package/bundled/qc-helper/docs/qwen-serve.md +40 -40
- package/bundled/review/SKILL.md +45 -23
- package/chunks/{MaxSizedBox-FKXYULMW.js → MaxSizedBox-P4Z76535.js} +45 -44
- package/chunks/{StandaloneSessionPicker-OQS3M7AY.js → StandaloneSessionPicker-TRWDBCJG.js} +65 -64
- package/chunks/{acp-startup-profiler-VNTFWYAC.js → acp-startup-profiler-TVI2OVUN.js} +2 -2
- package/chunks/{acpAgent-AGS6HLQQ.js → acpAgent-MSZHQSZ7.js} +1645 -579
- package/chunks/{agent-4NCVO27U.js → agent-TMTEYQGK.js} +42 -41
- package/chunks/agent-headless-54WWND2M.js +87 -0
- package/chunks/{anthropicContentGenerator-D3Y4RFT4.js → anthropicContentGenerator-7ZK7U65G.js} +8 -8
- package/chunks/{artifact-tool-N652YE4L.js → artifact-tool-7HVSSXYZ.js} +2 -2
- package/chunks/{askUserQuestion-ONW74PKJ.js → askUserQuestion-IQCA2SOX.js} +2 -2
- package/chunks/{bridge-FHINXZMN.js → bridge-CI2NKV64.js} +49 -48
- package/chunks/{ca-ZLKAB4K3.js → ca-4CQ6MYNQ.js} +2 -1
- package/chunks/{channel-management-service-PHELKOW2.js → channel-management-service-LNEYNMDX.js} +6 -6
- package/chunks/channel-settings-store-QU4WFXHO.js +102 -0
- package/chunks/{channel-worker-group-WQP4RCDO.js → channel-worker-group-Q5WQVOMZ.js} +8 -7
- package/chunks/{channel-worker-manager-MRDFAKIM.js → channel-worker-manager-Z3JLH72P.js} +8 -7
- package/chunks/{channel-worker-supervisor-IVSDIMI4.js → channel-worker-supervisor-CG5HHT7K.js} +6 -5
- package/chunks/{chunk-A7XMDZRI.js → chunk-2AG524A4.js} +5 -5
- package/chunks/{chunk-GM463R2B.js → chunk-2ASWIM4A.js} +1 -1
- package/chunks/{chunk-DP3IHZGG.js → chunk-2AUM35J5.js} +59 -7
- package/chunks/{chunk-TZEZYNYD.js → chunk-2N6CV4PW.js} +1 -1
- package/chunks/{chunk-BSI645OU.js → chunk-3LHSUFPE.js} +3 -3
- package/chunks/{chunk-DCZEPFB4.js → chunk-3XLWKV4S.js} +3 -3
- package/chunks/{chunk-YWPSGJFI.js → chunk-4IBNVBGJ.js} +2 -2
- package/chunks/{chunk-ZRBMO3C7.js → chunk-4IWFPTAH.js} +1 -1
- package/chunks/{chunk-B2GJNDTV.js → chunk-4JS2QK7P.js} +1 -1
- package/chunks/{chunk-5MZCSWI4.js → chunk-4NV6L4GZ.js} +1184 -1450
- package/chunks/{chunk-Y3OVRWRY.js → chunk-4QC6SUVN.js} +1 -1
- package/chunks/{chunk-AOHJKPKL.js → chunk-5KZNWF2M.js} +1 -1
- package/chunks/{chunk-UMD7WQTR.js → chunk-5XNR53C7.js} +10 -8
- package/chunks/{chunk-IIJEYBNH.js → chunk-66PLFJQ7.js} +197 -60
- package/chunks/{chunk-SEZ556DZ.js → chunk-67F2BEYW.js} +1 -1
- package/chunks/{chunk-7GTMV7UE.js → chunk-6KXHEN6M.js} +8700 -2449
- package/chunks/{chunk-FVKHVJZQ.js → chunk-6OJDN5ZT.js} +1 -1
- package/chunks/{chunk-CKASRHZI.js → chunk-6SU6OW5Z.js} +1 -1
- package/chunks/{chunk-NEOXOWYH.js → chunk-6YUEAYJ5.js} +7 -7
- package/chunks/{chunk-QGNOFE5E.js → chunk-766PXUQ3.js} +1 -1
- package/chunks/{chunk-UVX4Y6IN.js → chunk-7JL5YBSA.js} +1 -1
- package/chunks/{chunk-2PLNY5TN.js → chunk-7MAHENBD.js} +4 -4
- package/chunks/{chunk-L2AFWWJE.js → chunk-7UNST76G.js} +105 -24
- package/chunks/{chunk-HUWENAHO.js → chunk-7WUMS2UA.js} +1 -1
- package/chunks/{chunk-MVUQRLOH.js → chunk-A4BAHMJF.js} +3 -3
- package/chunks/{chunk-7MH4J33A.js → chunk-A6GQUQ7I.js} +2 -2
- package/chunks/{chunk-GNPNYXJB.js → chunk-AAZWJAPQ.js} +2 -2
- package/chunks/{chunk-DX3RGJMS.js → chunk-ADJDLEVO.js} +72 -13
- package/chunks/{chunk-IWTMYQ32.js → chunk-AN3LCBS7.js} +9 -8
- package/chunks/{chunk-LHEC5V6G.js → chunk-AXEL55JW.js} +2 -2
- package/chunks/{chunk-QUI267ZP.js → chunk-B66LYK4B.js} +492 -63
- package/chunks/{chunk-VNNWAZSI.js → chunk-BCGJZGFI.js} +3 -3
- package/chunks/{chunk-F6WDTQ3M.js → chunk-BRYHERQ6.js} +5 -5
- package/chunks/{chunk-6ZRFAKXK.js → chunk-C2DR57L6.js} +1 -1
- package/chunks/{chunk-26CXSA6V.js → chunk-CAOT4DYN.js} +2 -2
- package/chunks/{chunk-H6XPXXMH.js → chunk-CQ35AJ4Z.js} +252 -254
- package/chunks/{chunk-F24A2JBM.js → chunk-CUXI3S6E.js} +914 -175
- package/chunks/{chunk-AEL7KN2O.js → chunk-DANYMI4U.js} +2 -2
- package/chunks/{chunk-AAE6SR4Q.js → chunk-DX7V233D.js} +1 -1
- package/chunks/{chunk-PJRW65JO.js → chunk-E74YSVIN.js} +1 -1
- package/chunks/{chunk-OWMAZHIX.js → chunk-EGB2PIYM.js} +1 -1
- package/chunks/{chunk-TRRF5BSP.js → chunk-F4BUGC4Y.js} +1 -1
- package/chunks/{chunk-4MKXUHXY.js → chunk-FGQY4VOZ.js} +5 -5
- package/chunks/{chunk-ZBVS26BY.js → chunk-FPGTNKCP.js} +7 -5
- package/chunks/{chunk-SR7RZ4MS.js → chunk-FTGU6G45.js} +2 -2
- package/chunks/{chunk-IBUGFUXC.js → chunk-G2ZEKO4T.js} +12 -12
- package/chunks/{chunk-NDU63YLI.js → chunk-GN2SCYBA.js} +4 -4
- package/chunks/{chunk-NV3F44FL.js → chunk-GNRFC5UM.js} +2 -2
- package/chunks/{chunk-KKBPOU75.js → chunk-H6BFLALJ.js} +1 -1
- package/chunks/chunk-HHJLM3WQ.js +41 -0
- package/chunks/{chunk-LLCWZQCU.js → chunk-HM7TLULV.js} +3 -3
- package/chunks/{chunk-ECWR5LQR.js → chunk-I76FLAP7.js} +3 -3
- package/chunks/{chunk-Q3AL4JQ3.js → chunk-IAE7LYSB.js} +2 -2
- package/chunks/{chunk-DREZZAZM.js → chunk-IDNVCWXZ.js} +13 -5
- package/chunks/{chunk-YF5MALI4.js → chunk-IPMHLZPY.js} +20 -16
- package/chunks/{chunk-UDXSXLER.js → chunk-IW6RQPQB.js} +14 -4
- package/chunks/{chunk-UBX6NL47.js → chunk-JLT5HCGQ.js} +47 -3
- package/chunks/{chunk-COBO5EBO.js → chunk-JRTJEGSP.js} +1 -1
- package/chunks/{chunk-PBRVUF5B.js → chunk-JW5UEE3V.js} +1 -1
- package/chunks/{chunk-W4RQUHY3.js → chunk-K5IDV3PC.js} +184 -22
- package/chunks/{chunk-O3EU6GMH.js → chunk-KACBT7N7.js} +27 -4
- package/chunks/{chunk-MFDYOYZZ.js → chunk-KCGEAL2C.js} +25 -2
- package/chunks/{chunk-EI3HZX6C.js → chunk-KK3FEHPJ.js} +1 -1
- package/chunks/{chunk-OJUQF2PL.js → chunk-KRRRRU3X.js} +5 -5
- package/chunks/{chunk-J6SZID63.js → chunk-KTWUFHS4.js} +2 -2
- package/chunks/{chunk-E2FPSSKP.js → chunk-KZKEVWJW.js} +57 -13
- package/chunks/{chunk-ZJ4W6SUY.js → chunk-L6PE52MF.js} +3 -3
- package/chunks/{chunk-YGT2AUJ7.js → chunk-LAKFZU36.js} +39 -19
- package/chunks/{chunk-47PEPJO7.js → chunk-LKN5SEHD.js} +3 -3
- package/chunks/{chunk-OQTXYMKW.js → chunk-LSMCI42W.js} +3 -3
- package/chunks/{chunk-ABVRJU3D.js → chunk-LY2SB7GC.js} +7 -7
- package/chunks/{chunk-D27I6YJT.js → chunk-M53FFYQJ.js} +27 -18
- package/chunks/{chunk-YTFDX4PR.js → chunk-M6NDLY2T.js} +1 -1
- package/chunks/{chunk-3P2LV43B.js → chunk-MMEDZKWK.js} +3 -3
- package/chunks/{chunk-VFMASYQA.js → chunk-MS7GNABG.js} +3 -0
- package/chunks/{chunk-6LP743KE.js → chunk-MUTFMB5B.js} +78 -112
- package/chunks/{chunk-URK542T4.js → chunk-NF5J2WFA.js} +15 -2
- package/chunks/{chunk-VSFKIRRW.js → chunk-NH6U7L42.js} +4 -4
- package/chunks/{chunk-DA4HRSBW.js → chunk-NHZF4VCD.js} +1 -1
- package/chunks/{chunk-QG3FFJYU.js → chunk-NJE5NH5B.js} +1 -1
- package/chunks/{chunk-2UUMVNYT.js → chunk-NM33GGOM.js} +3 -3
- package/chunks/{chunk-FOGU3LJX.js → chunk-NW7SPXVG.js} +1 -1
- package/chunks/{chunk-EUNWC2VS.js → chunk-O6SLWH4X.js} +2 -2
- package/chunks/{chunk-EBZ6BJTF.js → chunk-OEVVUUYW.js} +1 -1
- package/chunks/chunk-OMVHZ7E6.js +1280 -0
- package/chunks/{chunk-KZ22NXBY.js → chunk-OT72MGHE.js} +4 -4
- package/chunks/{chunk-DZUO626D.js → chunk-OUCCIS3E.js} +3 -3
- package/chunks/{chunk-OONWZLFK.js → chunk-OYLYERMH.js} +4 -4
- package/chunks/{chunk-P3BJLFSZ.js → chunk-OYQM5XZ4.js} +3 -3
- package/chunks/{chunk-NRLFZWCT.js → chunk-PNU3TILU.js} +3 -3
- package/chunks/{chunk-M6HMMKVG.js → chunk-PSTHNTHF.js} +1 -1
- package/chunks/{chunk-4PYCZH2V.js → chunk-QEWAHAW2.js} +3 -3
- package/chunks/{chunk-QJMOAMXT.js → chunk-RG2S3GYC.js} +8 -8
- package/chunks/{chunk-CTJLZLB5.js → chunk-RQS2BGPI.js} +1 -1
- package/chunks/{chunk-Y4R47ZUH.js → chunk-RTBUTKAX.js} +7 -7
- package/chunks/{chunk-NV65ZUVM.js → chunk-RZZV6GQN.js} +1 -1
- package/chunks/{chunk-UEOKWYGY.js → chunk-SESSAEWC.js} +11 -11
- package/chunks/{chunk-CPG6P4GG.js → chunk-SKRHR6N2.js} +1 -1
- package/chunks/{chunk-WAUGQKUU.js → chunk-SNHBRO4C.js} +9 -5
- package/chunks/{chunk-KID7K6H2.js → chunk-SNPOURNX.js} +6 -6
- package/chunks/{chunk-VWKER4ZH.js → chunk-SQCTJ435.js} +3 -3
- package/chunks/{chunk-Z4JX4NSH.js → chunk-SXJ7JYQA.js} +23 -23
- package/chunks/{chunk-XVHYA33G.js → chunk-TD7JVTIA.js} +4 -4
- package/chunks/{chunk-IRZ2ZH72.js → chunk-TEFHXP7C.js} +4 -4
- package/chunks/{chunk-2FRY5CRX.js → chunk-TNETSI2A.js} +3 -3
- package/chunks/{chunk-IA7TGCN2.js → chunk-TROB4PZY.js} +4 -4
- package/chunks/{chunk-4TRQPFDP.js → chunk-U3O2EO5Y.js} +26 -20
- package/chunks/{chunk-VKJ4KTPJ.js → chunk-U7ROFHSH.js} +1 -1
- package/chunks/{chunk-Q3JQ7OSU.js → chunk-UBC6PMV7.js} +1 -1
- package/chunks/{chunk-W5UC37EE.js → chunk-UFHPAMAV.js} +6 -0
- package/chunks/{chunk-EQL65XGA.js → chunk-UHF5VBKO.js} +47 -21
- package/chunks/{chunk-S6HYI3MF.js → chunk-UQPLUR4A.js} +2 -2
- package/chunks/{chunk-HGCQ5SE7.js → chunk-UXEO7E3V.js} +21 -0
- package/chunks/{chunk-WCG5O7IP.js → chunk-V3NMFQD2.js} +2 -2
- package/chunks/{chunk-EKPKKXY2.js → chunk-V4SJMQVJ.js} +1 -1
- package/chunks/{chunk-ONSZH6VM.js → chunk-VFJVRSRK.js} +2 -2
- package/chunks/{chunk-MZSJ43WV.js → chunk-W5ZFJYUG.js} +13 -0
- package/chunks/{chunk-XCGIMOLN.js → chunk-WCCLLK7X.js} +14 -1
- package/chunks/{chunk-4WL6SY4F.js → chunk-WDSTNDEW.js} +1 -1
- package/chunks/{chunk-KONVMRK7.js → chunk-WFTBYUOR.js} +1 -1
- package/chunks/{chunk-EI3NWELG.js → chunk-WH32GXQS.js} +6233 -4342
- package/chunks/{chunk-MIKXJYZB.js → chunk-WS5TWVT6.js} +305 -291
- package/chunks/{chunk-VJNBRRZG.js → chunk-WZMH7II3.js} +1 -1
- package/chunks/{chunk-67EWJE77.js → chunk-XY7DGTIC.js} +1 -1
- package/chunks/{chunk-HV76SFIA.js → chunk-YI5G32RU.js} +3 -3
- package/chunks/{chunk-OIVKILPI.js → chunk-YMB77M76.js} +18 -0
- package/chunks/{chunk-AQAJJMRR.js → chunk-YPITLFHS.js} +1 -1
- package/chunks/{chunk-WOJZWRAZ.js → chunk-YRLW2MSX.js} +1 -1
- package/chunks/{chunk-ZZCWJWTF.js → chunk-YY23TR4M.js} +31 -11
- package/chunks/{chunk-URKIBIFC.js → chunk-YYI3Z3AO.js} +3 -3
- package/chunks/chunk-Z7B6SRPM.js +32 -0
- package/chunks/{chunk-6Q5ABMTU.js → chunk-ZGONVQ3D.js} +23 -19
- package/chunks/{chunk-GWVUR3QZ.js → chunk-ZM6LZON7.js} +3 -3
- package/chunks/{chunk-XCWO3SMQ.js → chunk-ZPZANKVP.js} +3 -3
- package/chunks/{chunk-OCSFNUU4.js → chunk-ZRD3BUEX.js} +8 -8
- package/chunks/{chunk-PYQADEFD.js → chunk-ZRT36RSF.js} +1 -1
- package/chunks/{chunk-JT7XS4YW.js → chunk-ZZ7RUTJ4.js} +1 -1
- package/chunks/{computer-use-WQFK33Z3.js → computer-use-7BMFU557.js} +42 -41
- package/chunks/{config-utils-ULCSRMWD.js → config-utils-I732W437.js} +6 -6
- package/chunks/{contextCommand-7EOZND7C.js → contextCommand-VJ6UOMM4.js} +44 -43
- package/chunks/{core-runtime-FGMQRM6E.js → core-runtime-PMRKP77C.js} +42 -41
- package/chunks/{create-sub-session-QIDZUOPU.js → create-sub-session-23ULO5PO.js} +2 -2
- package/chunks/{create-sub-session-QM2K5HLZ.js → create-sub-session-5A3MSW22.js} +42 -41
- package/chunks/{cron-create-VONA5JYY.js → cron-create-5WUTNKNF.js} +4 -4
- package/chunks/{cron-delete-5JXSP2MI.js → cron-delete-JEQ27YPS.js} +4 -4
- package/chunks/{cron-list-KE4F2CIR.js → cron-list-IXGCA7UR.js} +4 -4
- package/chunks/{daemon-GWD7BT6E.js → daemon-PXIC4ZDK.js} +186 -7
- package/chunks/daemon-status-provider-33BLPRUA.js +103 -0
- package/chunks/daemon-trust-policy-ZUV26YGP.js +99 -0
- package/chunks/{daemon-trust-policy-monitor-6UKEABN5.js → daemon-trust-policy-monitor-35WRTIMA.js} +49 -48
- package/chunks/{de-LIW4XVLN.js → de-UBEBKG6V.js} +2 -1
- package/chunks/{deferred-core-runtime-67GJXHXS.js → deferred-core-runtime-ZSLQKM7J.js} +42 -41
- package/chunks/{display-image-NQRSIBXM.js → display-image-CAD7RAUM.js} +4 -4
- package/chunks/{dist-6BMOAE3Z.js → dist-362MN6CP.js} +4 -4
- package/chunks/{dist-3NTTUAHT.js → dist-5VDE7U3A.js} +3 -3
- package/chunks/{dist-Z3CS4OVP.js → dist-6RK4U6VU.js} +11 -5
- package/chunks/{dist-B2CGTW6T.js → dist-CCUH2Z4C.js} +3 -3
- package/chunks/{dist-J47AXBZC.js → dist-EZHCZSW6.js} +3 -3
- package/chunks/{dist-EZE3V3Q7.js → dist-JIORWIDV.js} +3 -3
- package/chunks/{dist-EWW3J4HQ.js → dist-M3XMEIP2.js} +3 -3
- package/chunks/{dist-OTUO3AS2.js → dist-NN5ARGTQ.js} +13 -5
- package/chunks/{earlyInputCapture-IWMYR6OB.js → earlyInputCapture-UNMCTGJR.js} +43 -42
- package/chunks/{edit-ZFGROCAF.js → edit-TXVTSXHY.js} +42 -41
- package/chunks/{en-SY5GTIGX.js → en-X6YV7GME.js} +2 -1
- package/chunks/{enter-worktree-TZZZCDM5.js → enter-worktree-7Q3X4PW7.js} +42 -41
- package/chunks/{enterPlanMode-U77BI3R6.js → enterPlanMode-AZBU3ZB6.js} +42 -41
- package/chunks/{environment-HC37DS2I.js → environment-TGFFQISF.js} +45 -44
- package/chunks/{errors-6AG54JPD.js → errors-GVPFT7BA.js} +44 -43
- package/chunks/{exit-worktree-UYYWFPNK.js → exit-worktree-7INKYMWE.js} +42 -41
- package/chunks/exitPlanMode-5CE7CLAE.js +85 -0
- package/chunks/{fast-path-F5FSZ3O7.js → fast-path-7B6F74IR.js} +5 -5
- package/chunks/{fast-path-settings-RPAVBD7P.js → fast-path-settings-LNOFM2YP.js} +2 -2
- package/chunks/{fr-RQFO7U4P.js → fr-VENTC2BS.js} +2 -1
- package/chunks/{gemini-NKQHYM36.js → gemini-4RUYPDKT.js} +92 -91
- package/chunks/{geminiContentGenerator-HCWZOUX3.js → geminiContentGenerator-NLL52POY.js} +6 -6
- package/chunks/{glob-3PDXKBAO.js → glob-DHU3INUK.js} +42 -41
- package/chunks/{goal-tools-SWNB6GP4.js → goal-tools-LQFO4BRY.js} +4 -4
- package/chunks/{grep-5HZKZYVD.js → grep-523W6G52.js} +42 -41
- package/chunks/handleAutoUpdate-PKUQ3OQQ.js +94 -0
- package/chunks/{i18n-Q27KKNDL.js → i18n-HYL2UBJW.js} +43 -42
- package/chunks/{image-gen-2Z2RJ6W7.js → image-gen-NLIDBAKE.js} +10 -10
- package/chunks/initializer-DGH7RAJ7.js +100 -0
- package/chunks/{installationInfo-XXB75T7O.js → installationInfo-FZ4XWV7O.js} +43 -42
- package/chunks/{ja-KOZKHJHZ.js → ja-QHT4EQTO.js} +2 -1
- package/chunks/{keychain-token-storage-TVAMTNP7.js → keychain-token-storage-GU75J2T2.js} +2 -2
- package/chunks/list-RH5HGWRJ.js +103 -0
- package/chunks/{list-agents-Z4WABFDZ.js → list-agents-5PNMK2AM.js} +2 -2
- package/chunks/loadedSettingsAdapter-XMX2JDOU.js +97 -0
- package/chunks/{loggingContentGenerator-6NTFBM7Q.js → loggingContentGenerator-T3J4HZ7U.js} +139 -98
- package/chunks/{loop-wakeup-UZ5RL5Y2.js → loop-wakeup-OV65FEGR.js} +5 -5
- package/chunks/{ls-TVHDGIES.js → ls-7CETV7WV.js} +4 -4
- package/chunks/{lsp-CVN6OQPI.js → lsp-IWTJWFLT.js} +2 -2
- package/chunks/{managed-npm-update-SPHYQUWZ.js → managed-npm-update-E5ZGIGWV.js} +45 -44
- package/chunks/mcp-6LC572CW.js +97 -0
- package/chunks/{monitor-ZBBPAA54.js → monitor-HQUS4RTV.js} +42 -41
- package/chunks/nonInteractiveCli-X7HKTS5Z.js +163 -0
- package/chunks/{notebook-edit-5W3FW7Z2.js → notebook-edit-QPI3LTFM.js} +42 -41
- package/chunks/{openaiContentGenerator-TQANPEVZ.js → openaiContentGenerator-GGS72DVB.js} +29 -29
- package/chunks/{pidfile-EQOBLH4E.js → pidfile-HD3EB6GL.js} +43 -42
- package/chunks/{processUtils-7XQG7EHS.js → processUtils-2WNEPSW4.js} +2 -2
- package/chunks/{pt-U6AOCTMF.js → pt-VL3I5RNY.js} +2 -1
- package/chunks/{qwenContentGenerator-BKCPHHXU.js → qwenContentGenerator-WJYPELF3.js} +48 -48
- package/chunks/{qwenOAuth2-BJ6PQKE6.js → qwenOAuth2-RSMEBZU4.js} +9 -9
- package/chunks/read-file-URU5ALY3.js +32 -0
- package/chunks/{read-mcp-resource-PZ4ZF6YL.js → read-mcp-resource-THCSZHXO.js} +2 -2
- package/chunks/{read-package-up-TCM6I7S2.js → read-package-up-K6RKTL5D.js} +1 -1
- package/chunks/{record-artifact-P4HFMS7X.js → record-artifact-76YYQA5F.js} +3 -3
- package/chunks/{resumeHistoryUtils-6N6XGJJW.js → resumeHistoryUtils-XMC3CR2U.js} +49 -48
- package/chunks/ripGrep-6NYCUBVW.js +85 -0
- package/chunks/{ru-CMX4UMYP.js → ru-4RCKL4PY.js} +2 -1
- package/chunks/{run-qwen-serve-BCKBCAMX.js → run-qwen-serve-H4IXCJDQ.js} +165 -65
- package/chunks/{runtime-E2437YKL.js → runtime-EJHNZR7H.js} +55 -54
- package/chunks/{scheduler-K3D5Z655.js → scheduler-VVORKEEZ.js} +44 -43
- package/chunks/{sdk-exporters-http-XVTZQRCE.js → sdk-exporters-http-JYKTSCMG.js} +11 -7
- package/chunks/{sdk-impl-7W7AKCS4.js → sdk-impl-ROR54N3H.js} +13 -10
- package/chunks/{send-message-CAMSLG2L.js → send-message-P5SLP57G.js} +6 -6
- package/chunks/serve-3ULKH2KQ.js +107 -0
- package/chunks/{server-UD6INW7J.js → server-J52IQLRJ.js} +949 -303
- package/chunks/{session-GR4ZEVW4.js → session-MNWSMCC2.js} +118 -98
- package/chunks/{settings-5O24D3OJ.js → settings-WFCKUQZO.js} +48 -47
- package/chunks/{shell-UTLWLG5G.js → shell-H5DZN76B.js} +42 -41
- package/chunks/{skill-QQAZL4VO.js → skill-STSDBOIL.js} +19 -19
- package/chunks/{skill-settings-P3YHJVBZ.js → skill-settings-LTJAR2LV.js} +48 -47
- package/chunks/spawnChannel-XL27KTLE.js +98 -0
- package/chunks/{standalone-update-QP742MGP.js → standalone-update-3FUDL2R6.js} +44 -43
- package/chunks/{startInteractiveUI-YCS6AEPN.js → startInteractiveUI-5BFJCCWU.js} +596 -335
- package/chunks/{syntheticOutput-PEBJQYJV.js → syntheticOutput-SEW4NA47.js} +3 -3
- package/chunks/{task-create-5NWCQSJF.js → task-create-247EAVF7.js} +10 -10
- package/chunks/{task-list-53265TRZ.js → task-list-ZJN4QHLK.js} +5 -5
- package/chunks/{task-stop-FPCOIRYX.js → task-stop-MAYQJ42I.js} +2 -2
- package/chunks/{task-update-5HN577LS.js → task-update-CG4FALQF.js} +10 -10
- package/chunks/{team-create-WFH7OCDQ.js → team-create-FC2EYGE7.js} +44 -43
- package/chunks/{team-delete-MMQB4OSC.js → team-delete-3XVRPQBP.js} +5 -5
- package/chunks/{team-plan-approval-EGTT53MV.js → team-plan-approval-X673CRIZ.js} +42 -41
- package/chunks/{terminal-image-renderer-BWRESAQ7.js → terminal-image-renderer-MRNJ77H7.js} +44 -43
- package/chunks/theme-manager-6UMSB7DJ.js +89 -0
- package/chunks/{todoWrite-JGV6VLOX.js → todoWrite-IE2YTCK7.js} +4 -4
- package/chunks/{tool-search-TI5PTIBF.js → tool-search-7Z3PPA5O.js} +19 -19
- package/chunks/total-session-admission-NU4KV76R.js +99 -0
- package/chunks/{trustedFolders-4KYHA4IG.js → trustedFolders-SCUSHKHS.js} +43 -42
- package/chunks/{update-relaunch-WB6LGIF2.js → update-relaunch-M6BNKY4W.js} +5 -5
- package/chunks/{updateCheck-LOS5GYFC.js → updateCheck-QMZZ53S6.js} +48 -47
- package/chunks/{useAutoAcceptIndicator-MHAPY52L.js → useAutoAcceptIndicator-GAFG5PFE.js} +52 -51
- package/chunks/{validateNonInterActiveAuth-QV22HNQU.js → validateNonInterActiveAuth-V44BOAD2.js} +87 -86
- package/chunks/{version-DALWZHKQ.js → version-A4J2RQXD.js} +2 -2
- package/chunks/{web-fetch-JMJVMYFE.js → web-fetch-43TWEBWB.js} +19 -19
- package/chunks/{web-search-DNDUIPU5.js → web-search-CS3Q6JBI.js} +11 -11
- package/chunks/{workflow-JGNN64PM.js → workflow-ETQXJUPR.js} +115 -49
- package/chunks/workspace-providers-status-Y4FPKLHN.js +100 -0
- package/chunks/{workspace-registration-store-LRJG7QA4.js → workspace-registration-store-JASCK5RS.js} +1 -1
- package/chunks/{workspace-registry-KVXIFM36.js → workspace-registry-MU3VIM2D.js} +49 -48
- package/chunks/{workspace-service-PO4AAKKT.js → workspace-service-MHVHRNDX.js} +54 -53
- package/chunks/workspace-skills-status-QVQMNHGO.js +100 -0
- package/chunks/{workspace-trust-reconciler-DOZPCVHG.js → workspace-trust-reconciler-ABXDCISO.js} +56 -55
- package/chunks/write-file-YL7EPQRJ.js +87 -0
- package/chunks/{zh-AGL2FVBI.js → zh-LMSTK4WD.js} +2 -1
- package/chunks/{zh-TW-KI66MHQY.js → zh-TW-SQ4HTSCW.js} +2 -1
- package/chunks/{zoom-image-CNC77ZMA.js → zoom-image-ZQV6O2KE.js} +15 -15
- package/cli.js +13 -13
- package/locales/ca.js +1 -0
- package/locales/de.js +1 -0
- package/locales/en.js +1 -0
- package/locales/fr.js +1 -0
- package/locales/ja.js +1 -0
- package/locales/pt.js +1 -0
- package/locales/ru.js +1 -0
- package/locales/zh-TW.js +1 -0
- package/locales/zh.js +1 -0
- package/package.json +4 -4
- package/web-shell/assets/{arc-CDk0d60K.js → arc-BDKBUdHd.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-h-W3I2lP.js → architectureDiagram-3BPJPVTR-DgMi5iOf.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-D1pvSmZg.js → blockDiagram-GPEHLZMM-DOyxD2BK.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-ByAm5ZNf.js → c4Diagram-AAUBKEIU-CmXzCE_n.js} +1 -1
- package/web-shell/assets/channel-BCff03Ag.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-VrGPPOGV.js → chunk-2J33WTMH-Dr13N7PT.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-B7hTowgG.js → chunk-4BX2VUAB-CIFcKNCP.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-j1Fq8DpE.js → chunk-55IACEB6-B8jmrVPK.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-UjABYpF2.js → chunk-727SXJPM-CQc0wjze.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D4uBItrs.js → chunk-AQP2D5EJ-CGdZxT9s.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-DeFbKlb8.js → chunk-FMBD7UC4-4iCBhCLJ.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-rQJ8TIgT.js → chunk-ND2GUHAM-B0mMzZcM.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-DAGcRxvq.js → chunk-QZHKN3VN-6CURQrGl.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-DnwxH0ri.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-DnwxH0ri.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-MaE7MJSt.js → cose-bilkent-S5V4N54A-L6Fo1GN1.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DzijYGSb.js → dagre-BM42HDAG-BTsGDeLA.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-WdbG7WnX.js → diagram-2AECGRRQ-B4AXYZGR.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-NYutsBnw.js → diagram-5GNKFQAL-C2yM5aNc.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Dqg0eBY0.js → diagram-KO2AKTUF-CrGLZmRK.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-C7vRP2Lb.js → diagram-LMA3HP47-rycHl4fv.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-B2sEPpPt.js → diagram-OG6HWLK6-MQj80AQu.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-a4zIbzm8.js → erDiagram-TEJ5UH35-DCgH-D0D.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BK9y89ya.js → flowDiagram-I6XJVG4X-B0gnwCnt.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-wUQTSNvV.js → ganttDiagram-6RSMTGT7-CB0OxXVE.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Dnzt4SAi.js → gitGraphDiagram-PVQCEYII-xLxucse9.js} +1 -1
- package/web-shell/assets/{index-BA3wUcKL.js → index-BFFbq0E-.js} +1 -1
- package/web-shell/assets/index-D7XXR9S-.js +1789 -0
- package/web-shell/assets/index-Dk5RwPL9.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DcaoToij.js → infoDiagram-5YYISTIA-7FCqN4qa.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DzduqhP2.js → ishikawaDiagram-YF4QCWOH-BGyKlnik.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-BvviZR_O.js → journeyDiagram-JHISSGLW-CmgSXMLF.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Efm2JxY3.js → kanban-definition-UN3LZRKU-CjT2mF6A.js} +1 -1
- package/web-shell/assets/{linear-DtY3IbOs.js → linear-CiTDGfCW.js} +1 -1
- package/web-shell/assets/{mermaid.core-PzpFqoMe.js → mermaid.core-_QnqxPRF.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BLlTkHS0.js → mindmap-definition-RKZ34NQL-B1On14ZB.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-D-mKF-jE.js → pieDiagram-4H26LBE5-x1Pf1OG2.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DYCzslGm.js → quadrantDiagram-W4KKPZXB-ZawmK1Q9.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-Dfpxlk7R.js → requirementDiagram-4Y6WPE33-krIMX0c8.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-D5cRaaxh.js → sankeyDiagram-5OEKKPKP-aMJyxtx_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-s04DReiS.js → sequenceDiagram-3UESZ5HK-C530-Kqz.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-01UNFgnb.js → stateDiagram-AJRCARHV-DObd9dT_.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bttf9Ae9.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DX8_wZBC.js → timeline-definition-PNZ67QCA-D9LnwQ1O.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BK0FlBme.js → vennDiagram-CIIHVFJN-B_MT_v6Y.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-DkPc9UlD.js → wardley-L42UT6IY-DHKPz5Hu.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DNKkpDAo.js → wardleyDiagram-YWT4CUSO-BoyKaItA.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-CiPwg8QG.js → xychartDiagram-2RQKCTM6--xBJT7Kg.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/agent-headless-HYEHZFH6.js +0 -86
- package/chunks/channel-settings-store-OXYG5S5X.js +0 -101
- package/chunks/chunk-I5VM3SKY.js +0 -451
- package/chunks/chunk-PDPFQ2FO.js +0 -156
- package/chunks/daemon-status-provider-L3J6GKCT.js +0 -102
- package/chunks/daemon-trust-policy-4PHPY23S.js +0 -98
- package/chunks/exitPlanMode-RWJR2KGB.js +0 -84
- package/chunks/handleAutoUpdate-NHFSGYTF.js +0 -93
- package/chunks/initializer-Y5DJLT43.js +0 -99
- package/chunks/list-YHNQ32CS.js +0 -102
- package/chunks/loadedSettingsAdapter-GHUQK7H4.js +0 -96
- package/chunks/mcp-EA3KO6FS.js +0 -96
- package/chunks/nonInteractiveCli-NNOR56HU.js +0 -162
- package/chunks/read-file-KKTXGIZD.js +0 -32
- package/chunks/ripGrep-SJVAAYDV.js +0 -84
- package/chunks/serve-IH4XR5IL.js +0 -106
- package/chunks/spawnChannel-UAQMH6Y6.js +0 -94
- package/chunks/theme-manager-ZNDGAHJN.js +0 -88
- package/chunks/total-session-admission-66UDSOHO.js +0 -98
- package/chunks/workspace-providers-status-K22B3Z6B.js +0 -99
- package/chunks/workspace-skills-status-DDYCBVSH.js +0 -99
- package/chunks/write-file-TT6MWIKC.js +0 -86
- package/web-shell/assets/channel-DPFUV4oi.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CLm0hVvw.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CLm0hVvw.js +0 -1
- package/web-shell/assets/index-BjC3yjjL.css +0 -5
- package/web-shell/assets/index-QzFq6w7o.js +0 -1775
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DXb5olqv.js +0 -1
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
} from "./chunk-57OAHC2Y.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettings
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LY2SB7GC.js";
|
|
9
9
|
import {
|
|
10
10
|
getCurrentLanguage,
|
|
11
11
|
t
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SESSAEWC.js";
|
|
13
13
|
import {
|
|
14
14
|
isWorkspaceTrusted
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZM6LZON7.js";
|
|
16
16
|
import {
|
|
17
17
|
ExtensionManager,
|
|
18
18
|
getExtensionDescription,
|
|
19
19
|
getExtensionDisplayName,
|
|
20
20
|
redactUrlCredentials,
|
|
21
21
|
require_prompts
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WH32GXQS.js";
|
|
23
23
|
import {
|
|
24
24
|
stripAnsi
|
|
25
25
|
} from "./chunk-TWPJO254.js";
|
|
@@ -107,7 +107,7 @@ async function promptForConsentInteractive(prompt, addExtensionUpdateConfirmatio
|
|
|
107
107
|
__name(promptForConsentInteractive, "promptForConsentInteractive");
|
|
108
108
|
function extensionConsentString(extensionConfig, commands = [], skills = [], subagents = [], originSource = "QwenCode") {
|
|
109
109
|
const output = [];
|
|
110
|
-
if (originSource !== "QwenCode") {
|
|
110
|
+
if (originSource !== "QwenCode" && originSource !== "AgentPlugins") {
|
|
111
111
|
output.push(
|
|
112
112
|
t(
|
|
113
113
|
"You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.",
|
|
@@ -117,9 +117,7 @@ function extensionConsentString(extensionConfig, commands = [], skills = [], sub
|
|
|
117
117
|
}
|
|
118
118
|
const mcpServerEntries = Object.entries(extensionConfig.mcpServers || {});
|
|
119
119
|
const displayLabel = extensionConfig.displayName ?? extensionConfig.name;
|
|
120
|
-
output.push(
|
|
121
|
-
t('Installing extension "{{name}}".', { name: displayLabel })
|
|
122
|
-
);
|
|
120
|
+
output.push(t('Installing extension "{{name}}".', { name: displayLabel }));
|
|
123
121
|
if (typeof extensionConfig.description === "string" && extensionConfig.description) {
|
|
124
122
|
output.push(stripAnsi(extensionConfig.description));
|
|
125
123
|
}
|
|
@@ -277,6 +275,10 @@ function extensionToOutputString(extension, extensionManager, workspaceDir, inli
|
|
|
277
275
|
if (extension.installMetadata) {
|
|
278
276
|
output += `
|
|
279
277
|
${t("Source:")} ${redactUrlCredentials(extension.installMetadata.source)} (${t("Type:")} ${extension.installMetadata.type})`;
|
|
278
|
+
if (extension.installMetadata.originSource) {
|
|
279
|
+
output += `
|
|
280
|
+
${t("Origin:")} ${extension.installMetadata.originSource}`;
|
|
281
|
+
}
|
|
280
282
|
if (extension.installMetadata.ref) {
|
|
281
283
|
output += `
|
|
282
284
|
${t("Ref:")} ${extension.installMetadata.ref}`;
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
isQwenFamilyWireModel,
|
|
11
11
|
isTieredEffortWireModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YRLW2MSX.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOutputCeiling,
|
|
15
15
|
hasExplicitOutputLimit,
|
|
16
16
|
parsePositiveIntegerEnvValue,
|
|
17
17
|
tokenLimit
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FPGTNKCP.js";
|
|
19
19
|
import {
|
|
20
20
|
buildRuntimeFetchOptions
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H6BFLALJ.js";
|
|
22
22
|
import {
|
|
23
23
|
createDebugLogger
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YMB77M76.js";
|
|
25
25
|
import {
|
|
26
26
|
init_esbuild_shims
|
|
27
27
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -6952,6 +6952,9 @@ var DefaultOpenAICompatibleProvider = class {
|
|
|
6952
6952
|
getDefaultGenerationConfig() {
|
|
6953
6953
|
return {};
|
|
6954
6954
|
}
|
|
6955
|
+
getResponseParsingOptions() {
|
|
6956
|
+
return { contentOnlyThinkingTagLeaks: true };
|
|
6957
|
+
}
|
|
6955
6958
|
/**
|
|
6956
6959
|
* Apply output token limit to a request's max_tokens parameter.
|
|
6957
6960
|
*
|
|
@@ -7019,6 +7022,78 @@ var DefaultOpenAICompatibleProvider = class {
|
|
|
7019
7022
|
// packages/core/src/core/openaiContentGenerator/provider/dashscope.ts
|
|
7020
7023
|
init_esbuild_shims();
|
|
7021
7024
|
var debugLogger = createDebugLogger("DashScopeOpenAICompatibleProvider");
|
|
7025
|
+
function selectDashScopeThinkingKnob(model, extraBody, samplingParams, reasoningEffort) {
|
|
7026
|
+
if (!isTieredEffortWireModel((model ?? "").toLowerCase())) {
|
|
7027
|
+
return void 0;
|
|
7028
|
+
}
|
|
7029
|
+
const selectFromLayer = /* @__PURE__ */ __name((source, layer) => {
|
|
7030
|
+
if (layer?.["enable_thinking"] === false) {
|
|
7031
|
+
return { source, field: "enable_thinking", value: false };
|
|
7032
|
+
}
|
|
7033
|
+
return selectValueFromLayer(source, layer) ?? selectOnSwitch(source, layer);
|
|
7034
|
+
}, "selectFromLayer");
|
|
7035
|
+
const selectValueFromLayer = /* @__PURE__ */ __name((source, layer) => {
|
|
7036
|
+
if (layer?.["reasoning_effort"] != null) {
|
|
7037
|
+
return {
|
|
7038
|
+
source,
|
|
7039
|
+
field: "reasoning_effort",
|
|
7040
|
+
value: layer["reasoning_effort"]
|
|
7041
|
+
};
|
|
7042
|
+
}
|
|
7043
|
+
if (layer?.["thinking_budget"] != null) {
|
|
7044
|
+
return {
|
|
7045
|
+
source,
|
|
7046
|
+
field: "thinking_budget",
|
|
7047
|
+
value: layer["thinking_budget"]
|
|
7048
|
+
};
|
|
7049
|
+
}
|
|
7050
|
+
return void 0;
|
|
7051
|
+
}, "selectValueFromLayer");
|
|
7052
|
+
const selectOnSwitch = /* @__PURE__ */ __name((source, layer) => {
|
|
7053
|
+
if (layer?.["enable_thinking"] === true) {
|
|
7054
|
+
return { source, field: "enable_thinking", value: true };
|
|
7055
|
+
}
|
|
7056
|
+
return void 0;
|
|
7057
|
+
}, "selectOnSwitch");
|
|
7058
|
+
const reasoningSelection = reasoningEffort !== void 0 ? {
|
|
7059
|
+
source: "reasoning",
|
|
7060
|
+
field: "reasoning_effort",
|
|
7061
|
+
value: reasoningEffort
|
|
7062
|
+
} : void 0;
|
|
7063
|
+
const extraBodySelection = selectFromLayer("extra_body", extraBody);
|
|
7064
|
+
if (extraBodySelection?.field === "enable_thinking" && extraBodySelection.value === true) {
|
|
7065
|
+
return selectValueFromLayer("samplingParams", samplingParams) ?? reasoningSelection ?? extraBodySelection;
|
|
7066
|
+
}
|
|
7067
|
+
if (extraBodySelection) {
|
|
7068
|
+
return extraBodySelection;
|
|
7069
|
+
}
|
|
7070
|
+
const samplingSelection = selectFromLayer("samplingParams", samplingParams);
|
|
7071
|
+
return samplingSelection?.field === "enable_thinking" && samplingSelection.value === true ? reasoningSelection ?? samplingSelection : samplingSelection ?? reasoningSelection;
|
|
7072
|
+
}
|
|
7073
|
+
__name(selectDashScopeThinkingKnob, "selectDashScopeThinkingKnob");
|
|
7074
|
+
function withoutNullishThinkingKnobs(layer) {
|
|
7075
|
+
if (!layer) {
|
|
7076
|
+
return void 0;
|
|
7077
|
+
}
|
|
7078
|
+
const hasNullishEnableThinking = "enable_thinking" in layer && layer["enable_thinking"] == null;
|
|
7079
|
+
const hasNullishEffort = "reasoning_effort" in layer && layer["reasoning_effort"] == null;
|
|
7080
|
+
const hasNullishBudget = "thinking_budget" in layer && layer["thinking_budget"] == null;
|
|
7081
|
+
if (!hasNullishEnableThinking && !hasNullishEffort && !hasNullishBudget) {
|
|
7082
|
+
return layer;
|
|
7083
|
+
}
|
|
7084
|
+
const sanitized = { ...layer };
|
|
7085
|
+
if (hasNullishEnableThinking) {
|
|
7086
|
+
delete sanitized["enable_thinking"];
|
|
7087
|
+
}
|
|
7088
|
+
if (hasNullishEffort) {
|
|
7089
|
+
delete sanitized["reasoning_effort"];
|
|
7090
|
+
}
|
|
7091
|
+
if (hasNullishBudget) {
|
|
7092
|
+
delete sanitized["thinking_budget"];
|
|
7093
|
+
}
|
|
7094
|
+
return sanitized;
|
|
7095
|
+
}
|
|
7096
|
+
__name(withoutNullishThinkingKnobs, "withoutNullishThinkingKnobs");
|
|
7022
7097
|
var DASHSCOPE_REGIONAL_HOSTS = [
|
|
7023
7098
|
"dashscope.aliyuncs.com",
|
|
7024
7099
|
"dashscope-intl.aliyuncs.com",
|
|
@@ -7031,14 +7106,12 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7031
7106
|
constructor(contentGeneratorConfig, cliConfig) {
|
|
7032
7107
|
super(contentGeneratorConfig, cliConfig);
|
|
7033
7108
|
}
|
|
7034
|
-
getResponseParsingOptions() {
|
|
7035
|
-
return { contentOnlyThinkingTagLeaks: true };
|
|
7036
|
-
}
|
|
7037
7109
|
/**
|
|
7038
7110
|
* Determines whether to use the DashScope-compatible provider.
|
|
7039
7111
|
* Covers the official regional hosts (DASHSCOPE_REGIONAL_HOSTS),
|
|
7040
7112
|
* Token Plan endpoints under token-plan.<region>.maas.aliyuncs.com,
|
|
7041
7113
|
* internal Alibaba domains (*.alibaba-inc.com, *.aliyun-inc.com),
|
|
7114
|
+
* Alibaba Cloud API Gateway domains (*.alicloudapi.com),
|
|
7042
7115
|
* and proxy matches.
|
|
7043
7116
|
*
|
|
7044
7117
|
* Note: any *.alibaba-inc.com / *.aliyun-inc.com host is treated as a
|
|
@@ -7061,11 +7134,12 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7061
7134
|
);
|
|
7062
7135
|
const isTokenPlanOrigin = hostname !== null && hostname.startsWith("token-plan.") && hostname.endsWith(".maas.aliyuncs.com");
|
|
7063
7136
|
const isInternalOrigin = hostname !== null && (hostname.endsWith(".alibaba-inc.com") || hostname.endsWith(".aliyun-inc.com"));
|
|
7137
|
+
const isAliCloudApiOrigin = hostname !== null && hostname.endsWith(".alicloudapi.com");
|
|
7064
7138
|
const normalizedProxyUrl = DASHSCOPE_PROXY_BASE_URL?.endsWith("/") ? DASHSCOPE_PROXY_BASE_URL.slice(0, -1) : DASHSCOPE_PROXY_BASE_URL;
|
|
7065
7139
|
const isProxyMatch = Boolean(
|
|
7066
7140
|
normalizedProxyUrl && normalizedBaseUrl.toLowerCase() === normalizedProxyUrl.toLowerCase()
|
|
7067
7141
|
);
|
|
7068
|
-
if (normalizedProxyUrl && !isDashscopeOrigin && !isTokenPlanOrigin && !isInternalOrigin && !isProxyMatch) {
|
|
7142
|
+
if (normalizedProxyUrl && !isDashscopeOrigin && !isTokenPlanOrigin && !isInternalOrigin && !isAliCloudApiOrigin && !isProxyMatch) {
|
|
7069
7143
|
debugLogger.debug(
|
|
7070
7144
|
`DASHSCOPE_PROXY_BASE_URL is configured but the request baseUrl does not match. DashScope headers/cache control will be skipped.`
|
|
7071
7145
|
);
|
|
@@ -7075,7 +7149,12 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7075
7149
|
`DashScope provider activated via internal origin: ${hostname}`
|
|
7076
7150
|
);
|
|
7077
7151
|
}
|
|
7078
|
-
|
|
7152
|
+
if (isAliCloudApiOrigin) {
|
|
7153
|
+
debugLogger.debug(
|
|
7154
|
+
`DashScope provider activated via alicloudapi origin: ${hostname}`
|
|
7155
|
+
);
|
|
7156
|
+
}
|
|
7157
|
+
return isDashscopeOrigin || isTokenPlanOrigin || isInternalOrigin || isAliCloudApiOrigin || isProxyMatch;
|
|
7079
7158
|
}
|
|
7080
7159
|
buildHeaders() {
|
|
7081
7160
|
const version = this.cliConfig.getCliVersion() || "unknown";
|
|
@@ -7139,13 +7218,23 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7139
7218
|
tools = updatedTools;
|
|
7140
7219
|
}
|
|
7141
7220
|
const requestWithTokenLimits = this.applyOutputTokenLimit(request);
|
|
7142
|
-
const
|
|
7221
|
+
const isTieredQwenModel = isTieredEffortWireModel(
|
|
7222
|
+
this.resolveWireModel(request.model)
|
|
7223
|
+
);
|
|
7224
|
+
const extraBody = isTieredQwenModel ? withoutNullishThinkingKnobs(this.contentGeneratorConfig.extra_body) : this.contentGeneratorConfig.extra_body;
|
|
7143
7225
|
const qwenEffortConfig = this.buildQwenEffortConfig(request.model);
|
|
7144
|
-
const
|
|
7226
|
+
const rawRequestParams = requestWithTokenLimits;
|
|
7227
|
+
const requestParams = isTieredQwenModel ? withoutNullishThinkingKnobs(rawRequestParams) : rawRequestParams;
|
|
7145
7228
|
if ("reasoning_effort" in requestParams && "reasoning_effort" in qwenEffortConfig) {
|
|
7146
7229
|
qwenEffortConfig["reasoning_effort"] = requestParams["reasoning_effort"];
|
|
7147
7230
|
}
|
|
7148
7231
|
const hasQwenEffortConfig = Object.keys(qwenEffortConfig).length > 0;
|
|
7232
|
+
const selectedThinkingKnob = isTieredQwenModel ? selectDashScopeThinkingKnob(
|
|
7233
|
+
this.resolveWireModel(request.model),
|
|
7234
|
+
extraBody,
|
|
7235
|
+
requestParams,
|
|
7236
|
+
qwenEffortConfig["reasoning_effort"]
|
|
7237
|
+
) : void 0;
|
|
7149
7238
|
if (this.isVisionModel(request.model)) {
|
|
7150
7239
|
const dashscopeExtras2 = {
|
|
7151
7240
|
vl_high_resolution_images: true,
|
|
@@ -7153,7 +7242,7 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7153
7242
|
...qwenEffortConfig
|
|
7154
7243
|
};
|
|
7155
7244
|
const visionResult = {
|
|
7156
|
-
...
|
|
7245
|
+
...requestParams,
|
|
7157
7246
|
messages,
|
|
7158
7247
|
...tools ? { tools } : {},
|
|
7159
7248
|
...this.buildMetadata(userPromptId) || {},
|
|
@@ -7165,7 +7254,8 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7165
7254
|
return this.mergeExtraBodyAndResolveKnobs(
|
|
7166
7255
|
visionResult,
|
|
7167
7256
|
extraBody,
|
|
7168
|
-
request.model
|
|
7257
|
+
request.model,
|
|
7258
|
+
selectedThinkingKnob
|
|
7169
7259
|
);
|
|
7170
7260
|
}
|
|
7171
7261
|
const dashscopeExtras = {
|
|
@@ -7173,7 +7263,7 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7173
7263
|
...qwenEffortConfig
|
|
7174
7264
|
};
|
|
7175
7265
|
const result = {
|
|
7176
|
-
...
|
|
7266
|
+
...requestParams,
|
|
7177
7267
|
// Preserve all original parameters including sampling params and adjusted max_tokens
|
|
7178
7268
|
messages,
|
|
7179
7269
|
...tools ? { tools } : {},
|
|
@@ -7183,18 +7273,46 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7183
7273
|
if (hasQwenEffortConfig && "reasoning" in result) {
|
|
7184
7274
|
delete result["reasoning"];
|
|
7185
7275
|
}
|
|
7186
|
-
return this.mergeExtraBodyAndResolveKnobs(
|
|
7276
|
+
return this.mergeExtraBodyAndResolveKnobs(
|
|
7277
|
+
result,
|
|
7278
|
+
extraBody,
|
|
7279
|
+
request.model,
|
|
7280
|
+
selectedThinkingKnob
|
|
7281
|
+
);
|
|
7187
7282
|
}
|
|
7188
7283
|
/**
|
|
7189
7284
|
* Shared tail for the vision and text branches: merge user extra_body
|
|
7190
7285
|
* last, then resolve thinking-knob conflicts against the wire model.
|
|
7191
7286
|
*/
|
|
7192
|
-
mergeExtraBodyAndResolveKnobs(result, extraBody, model) {
|
|
7287
|
+
mergeExtraBodyAndResolveKnobs(result, extraBody, model, selectedThinkingKnob) {
|
|
7193
7288
|
const merged = {
|
|
7194
7289
|
...result,
|
|
7195
7290
|
...extraBody ? extraBody : {}
|
|
7196
7291
|
};
|
|
7197
|
-
|
|
7292
|
+
const reasoningEffort = merged["reasoning_effort"];
|
|
7293
|
+
const dropped = /* @__PURE__ */ new Set();
|
|
7294
|
+
if (selectedThinkingKnob?.field === "thinking_budget") {
|
|
7295
|
+
if (reasoningEffort !== void 0) {
|
|
7296
|
+
dropped.add("reasoning_effort");
|
|
7297
|
+
}
|
|
7298
|
+
if (merged["enable_thinking"] === false) {
|
|
7299
|
+
dropped.add("enable_thinking");
|
|
7300
|
+
}
|
|
7301
|
+
}
|
|
7302
|
+
if (selectedThinkingKnob?.field === "reasoning_effort" && merged["thinking_budget"] !== void 0) {
|
|
7303
|
+
dropped.add("thinking_budget");
|
|
7304
|
+
}
|
|
7305
|
+
for (const key of dropped) {
|
|
7306
|
+
delete merged[key];
|
|
7307
|
+
}
|
|
7308
|
+
for (const key of this.dropConflictingThinkingKnobs(
|
|
7309
|
+
model,
|
|
7310
|
+
merged,
|
|
7311
|
+
selectedThinkingKnob
|
|
7312
|
+
)) {
|
|
7313
|
+
dropped.add(key);
|
|
7314
|
+
}
|
|
7315
|
+
this.warnConflictingKnobDrop(model, reasoningEffort, [...dropped]);
|
|
7198
7316
|
return merged;
|
|
7199
7317
|
}
|
|
7200
7318
|
resolveWireModel(model) {
|
|
@@ -7227,60 +7345,78 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7227
7345
|
* Resolve thinking knobs that conflict with a shipping `reasoning_effort`.
|
|
7228
7346
|
* Preset extra_body injects `enable_thinking` for models declared with
|
|
7229
7347
|
* enableThinking (provider-config.ts), and user extra_body merges last.
|
|
7230
|
-
* Only the qwen3.8-max family reads `reasoning_effort` itself — there
|
|
7231
|
-
* tier ships alone: an `enable_thinking: true` alongside
|
|
7232
|
-
* competing knob (the shape the nested-`reasoning` strip
|
|
7233
|
-
* exists to prevent), and DashScope rejects
|
|
7234
|
-
* with `thinking_budget`.
|
|
7235
|
-
*
|
|
7236
|
-
*
|
|
7237
|
-
*
|
|
7238
|
-
*
|
|
7239
|
-
*
|
|
7240
|
-
*
|
|
7241
|
-
* the
|
|
7242
|
-
*
|
|
7243
|
-
*
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7348
|
+
* Only the qwen3.8-max family reads `reasoning_effort` itself — there an
|
|
7349
|
+
* effort tier ships alone: an `enable_thinking: true` alongside an effort
|
|
7350
|
+
* tier is a second competing knob (the shape the nested-`reasoning` strip
|
|
7351
|
+
* in buildRequest exists to prevent), and DashScope rejects
|
|
7352
|
+
* `reasoning_effort` combined with `thinking_budget`. The `'none'`
|
|
7353
|
+
* disable and a winning `thinking_budget` intentionally keep a co-present
|
|
7354
|
+
* `enable_thinking: true`. Explicit same-layer effort/budget pairs retain
|
|
7355
|
+
* reasoning_effort, matching the provider's behavior before cross-layer
|
|
7356
|
+
* resolution. An explicit `enable_thinking: false` is the documented
|
|
7357
|
+
* extra_body escape hatch winning over the config tier, so it is honoured
|
|
7358
|
+
* as the family's canonical disable (`reasoning_effort: 'none'`, preserved
|
|
7359
|
+
* by the pipeline's disable strip) rather than silently deleted; a
|
|
7360
|
+
* higher-priority `enable_thinking: true` conversely keeps the shipping
|
|
7361
|
+
* tier. Older qwen
|
|
7362
|
+
* hybrids read `enable_thinking` / `thinking_budget`, not
|
|
7363
|
+
* `reasoning_effort`, so when an opaque reasoning_effort override
|
|
7364
|
+
* conflicts with a meaningful thinking_budget the inert field goes and
|
|
7365
|
+
* the knobs the model reads survive. Non-qwen models treat
|
|
7366
|
+
* `reasoning_effort` as an opaque sampling override and keep every knob.
|
|
7367
|
+
*/
|
|
7368
|
+
dropConflictingThinkingKnobs(model, merged, selectedThinkingKnob) {
|
|
7250
7369
|
const wireModel = this.resolveWireModel(model);
|
|
7251
7370
|
if (!isQwenFamilyWireModel(wireModel)) {
|
|
7252
|
-
return;
|
|
7371
|
+
return [];
|
|
7253
7372
|
}
|
|
7254
|
-
const
|
|
7255
|
-
if (
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
}
|
|
7260
|
-
dropped.push("enable_thinking");
|
|
7261
|
-
}
|
|
7262
|
-
if ("thinking_budget" in merged) {
|
|
7373
|
+
const isTieredEffortModel = isTieredEffortWireModel(wireModel);
|
|
7374
|
+
if (isTieredEffortModel && selectedThinkingKnob?.field === "enable_thinking" && selectedThinkingKnob.value === false) {
|
|
7375
|
+
merged["reasoning_effort"] = "none";
|
|
7376
|
+
const dropped = ["enable_thinking"];
|
|
7377
|
+
if (merged["thinking_budget"] !== void 0) {
|
|
7263
7378
|
dropped.push("thinking_budget");
|
|
7264
7379
|
}
|
|
7265
|
-
|
|
7266
|
-
|
|
7380
|
+
for (const key of dropped) {
|
|
7381
|
+
delete merged[key];
|
|
7382
|
+
}
|
|
7383
|
+
return dropped;
|
|
7384
|
+
}
|
|
7385
|
+
const effort = merged["reasoning_effort"];
|
|
7386
|
+
if (typeof effort !== "string") {
|
|
7387
|
+
return [];
|
|
7388
|
+
}
|
|
7389
|
+
if (isTieredEffortModel && effort === "none") {
|
|
7390
|
+
if (merged["thinking_budget"] === void 0) {
|
|
7391
|
+
return [];
|
|
7392
|
+
}
|
|
7393
|
+
delete merged["thinking_budget"];
|
|
7394
|
+
return ["thinking_budget"];
|
|
7395
|
+
}
|
|
7396
|
+
if (isTieredEffortModel) {
|
|
7397
|
+
if (selectedThinkingKnob?.field === "reasoning_effort" && "enable_thinking" in merged) {
|
|
7398
|
+
delete merged["enable_thinking"];
|
|
7399
|
+
return ["enable_thinking"];
|
|
7400
|
+
}
|
|
7401
|
+
return [];
|
|
7402
|
+
}
|
|
7403
|
+
if (merged["thinking_budget"] === void 0) {
|
|
7404
|
+
return [];
|
|
7267
7405
|
}
|
|
7406
|
+
delete merged["reasoning_effort"];
|
|
7407
|
+
return ["reasoning_effort"];
|
|
7408
|
+
}
|
|
7409
|
+
warnConflictingKnobDrop(model, reasoningEffort, dropped) {
|
|
7268
7410
|
if (dropped.length === 0) {
|
|
7269
7411
|
return;
|
|
7270
7412
|
}
|
|
7271
|
-
for (const key of dropped) {
|
|
7272
|
-
delete merged[key];
|
|
7273
|
-
}
|
|
7274
7413
|
if (!this.conflictingKnobDropWarned) {
|
|
7275
7414
|
this.conflictingKnobDropWarned = true;
|
|
7276
|
-
debugLogger.warn(
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
dropped
|
|
7282
|
-
}
|
|
7283
|
-
);
|
|
7415
|
+
debugLogger.warn("DashScope: dropped conflicting thinking knobs", {
|
|
7416
|
+
model: this.resolveWireModel(model),
|
|
7417
|
+
reasoningEffort,
|
|
7418
|
+
dropped
|
|
7419
|
+
});
|
|
7284
7420
|
}
|
|
7285
7421
|
}
|
|
7286
7422
|
conflictingKnobDropWarned = false;
|
|
@@ -7473,6 +7609,7 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7473
7609
|
export {
|
|
7474
7610
|
OpenAI,
|
|
7475
7611
|
DefaultOpenAICompatibleProvider,
|
|
7612
|
+
selectDashScopeThinkingKnob,
|
|
7476
7613
|
DASHSCOPE_REGIONAL_HOSTS,
|
|
7477
7614
|
DashScopeOpenAICompatibleProvider
|
|
7478
7615
|
};
|