@qwen-code/qwen-code 0.19.7 → 0.19.8-nightly.20260711.0ef3a76bd
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/SKILL.md +1 -0
- package/bundled/qc-helper/docs/configuration/auth.md +40 -55
- package/bundled/qc-helper/docs/configuration/model-providers.md +224 -218
- package/bundled/qc-helper/docs/configuration/settings.md +60 -51
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +12 -2
- package/bundled/qc-helper/docs/features/channels/overview.md +86 -12
- package/bundled/qc-helper/docs/features/channels/plugins.md +1 -0
- package/bundled/qc-helper/docs/features/channels/wecom.md +6 -0
- package/bundled/qc-helper/docs/features/code-review.md +29 -5
- package/bundled/qc-helper/docs/features/commands.md +39 -38
- package/bundled/qc-helper/docs/features/computer-use.md +77 -0
- package/bundled/qc-helper/docs/features/hooks.md +36 -34
- package/bundled/qc-helper/docs/features/memory.md +1 -1
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +19 -23
- package/bundled/qc-helper/docs/integration-vscode.md +2 -2
- package/bundled/qc-helper/docs/qwen-serve.md +40 -16
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/DESIGN.md +93 -22
- package/bundled/review/SKILL.md +300 -87
- package/chunks/MaxSizedBox-4CX4IQWE.js +70 -0
- package/chunks/{StandaloneSessionPicker-APISIRJZ.js → StandaloneSessionPicker-TYUSSNJ6.js} +79 -77
- package/chunks/{acpAgent-MMOSC2YA.js → acpAgent-5HJEXOPR.js} +978 -205
- package/chunks/agent-PZF5IUUB.js +68 -0
- package/chunks/agent-headless-L4N7V2SG.js +62 -0
- package/chunks/{anthropicContentGenerator-AKYPSZIV.js → anthropicContentGenerator-L73TO3DB.js} +214 -31
- package/chunks/{artifact-tool-D233YJFH.js → artifact-tool-U7IRTLIV.js} +5 -5
- package/chunks/{askUserQuestion-MKL5ZTMC.js → askUserQuestion-2DLUUZZG.js} +6 -6
- package/chunks/bridge-OJL6LD42.js +78 -0
- package/chunks/{ca-HCMB2I54.js → ca-WTQOU43B.js} +91 -6
- package/chunks/{channel-worker-supervisor-CRCVYQIE.js → channel-worker-supervisor-LF66HCVT.js} +137 -13
- package/chunks/{chunk-QQDPRDVW.js → chunk-2HRYPZT5.js} +1 -1
- package/chunks/{chunk-JD33UY7E.js → chunk-2K56LTWA.js} +18 -12
- package/chunks/{chunk-XISQIIT7.js → chunk-2LV4JUNO.js} +4 -4
- package/chunks/chunk-2UU6DW5P.js +296 -0
- package/chunks/{chunk-2PSWA5ID.js → chunk-2X56YUSZ.js} +1 -1
- package/chunks/chunk-2ZQOQZIS.js +71 -0
- package/chunks/{chunk-Q6OEPOOC.js → chunk-3AMVHPEQ.js} +2 -2
- package/chunks/{chunk-4RQIB5UZ.js → chunk-3BTRNWWD.js} +1 -35
- package/chunks/{chunk-SD4N3QJ2.js → chunk-3QZ6GY6A.js} +66 -22
- package/chunks/{chunk-DNV4FSN5.js → chunk-3SJSQXNS.js} +24 -7
- package/chunks/{chunk-VQWAZSXN.js → chunk-3XATDZNP.js} +64 -42
- package/chunks/{chunk-LEIJKM7Q.js → chunk-3ZAIGBCP.js} +2 -2
- package/chunks/{chunk-2NPS2UDH.js → chunk-43JB7OF4.js} +905 -139
- package/chunks/chunk-43XJTCHT.js +444 -0
- package/chunks/{chunk-CNSF3WO5.js → chunk-47HXCVGG.js} +6 -6
- package/chunks/{chunk-VEB3NYSO.js → chunk-4GORAUCN.js} +8 -3
- package/chunks/{chunk-55ZMG67I.js → chunk-4LD5APFL.js} +4 -4
- package/chunks/{chunk-TLWA7TPR.js → chunk-4QLQE5WJ.js} +2 -2
- package/chunks/{chunk-UIDXQNMV.js → chunk-4WGODMVR.js} +1 -1
- package/chunks/{chunk-E6US47KI.js → chunk-4WKAA4KS.js} +1 -1
- package/chunks/{chunk-H6EMK6QK.js → chunk-4ZVWQHEQ.js} +11913 -5207
- package/chunks/{chunk-HW4N45EE.js → chunk-524RQP4Q.js} +29 -8
- package/chunks/{chunk-3GONHQOA.js → chunk-57OAHC2Y.js} +1 -1
- package/chunks/{chunk-B4U2M63D.js → chunk-5DOUQHL3.js} +2104 -14
- package/chunks/{chunk-JZSY4WP3.js → chunk-5DTTYNB7.js} +1 -1
- package/chunks/{chunk-A4BMJM77.js → chunk-5O2XNYP6.js} +1 -0
- package/chunks/{chunk-P7I3D7FM.js → chunk-5OIXALQ5.js} +2 -2
- package/chunks/chunk-5SFOMFG4.js +61 -0
- package/chunks/{chunk-QYNNN7BK.js → chunk-5XUCZNSY.js} +2 -2
- package/chunks/{chunk-FRFFNYUY.js → chunk-65F3I3PM.js} +5 -5
- package/chunks/{chunk-GO6LNQXT.js → chunk-6AM5D4ME.js} +1 -1
- package/chunks/{chunk-BWVQN2HV.js → chunk-6CR73ZIK.js} +7 -7
- package/chunks/{chunk-BJBWRCSK.js → chunk-6H67XLET.js} +1 -1
- package/chunks/{chunk-G7ZG7CA6.js → chunk-6RLROE6G.js} +9 -8
- package/chunks/{chunk-TBAZMRW3.js → chunk-6WH2WCSW.js} +2 -2
- package/chunks/{chunk-ZERZSAZL.js → chunk-75DOP5OR.js} +2 -2
- package/chunks/{chunk-FTFXDZYI.js → chunk-7KZNLIAI.js} +47 -31
- package/chunks/{chunk-HJ3GX3Y3.js → chunk-7PW5CTVR.js} +32 -18
- package/chunks/{chunk-NQKLOAVJ.js → chunk-7R3CZA3Q.js} +2 -2
- package/chunks/{chunk-SAIILPQ3.js → chunk-7X7TEQNX.js} +5 -3
- package/chunks/{chunk-IRJWHZWU.js → chunk-A4UCTEB5.js} +2 -2
- package/chunks/{chunk-XSAFNANZ.js → chunk-AHUEU3BP.js} +14 -14
- package/chunks/{chunk-X3YGAX7V.js → chunk-B5ORX3FG.js} +4 -2
- package/chunks/{chunk-ZN5T4BHI.js → chunk-BPZALHVR.js} +2 -2
- package/chunks/{chunk-IJRL2S3D.js → chunk-BZIFY5TF.js} +6 -6
- package/chunks/{chunk-AJBEAUIS.js → chunk-BZP7HZTK.js} +7 -6
- package/chunks/{chunk-OFEVLU4C.js → chunk-CARU2RR2.js} +1 -1
- package/chunks/{chunk-MIG5SQNL.js → chunk-CBKR4Q5K.js} +8 -8
- package/chunks/chunk-CC2ITGCF.js +176 -0
- package/chunks/{chunk-FV7425LN.js → chunk-CEA3E3JB.js} +18 -5
- package/chunks/{chunk-GD236YPV.js → chunk-CNOF2IZT.js} +3 -3
- package/chunks/chunk-COH43MRJ.js +34 -0
- package/chunks/{chunk-E5A7LHNN.js → chunk-CPBF7KYF.js} +1 -1
- package/chunks/{chunk-UWCTAVOD.js → chunk-CR3C7WXL.js} +1 -1
- package/chunks/{chunk-5P5XGNYH.js → chunk-CU3L64TP.js} +1 -1
- package/chunks/{chunk-IWKSG2AR.js → chunk-CXAOG665.js} +1 -1
- package/chunks/{chunk-MZ7BABX3.js → chunk-DC5Z3DU6.js} +2 -2
- package/chunks/{chunk-64WXLC72.js → chunk-DJ2GSRLV.js} +1 -1
- package/chunks/{chunk-4ZJIPVPB.js → chunk-DMN532MJ.js} +11 -11
- package/chunks/{chunk-QN5NZ3UQ.js → chunk-DMTGGOSA.js} +2 -2
- package/chunks/{chunk-KHDZHZMH.js → chunk-E5Z2AVNV.js} +1 -1
- package/chunks/chunk-F4PFZ7WP.js +239 -0
- package/chunks/{chunk-ME3YSROJ.js → chunk-FBSBT7JS.js} +25 -13
- package/chunks/{chunk-5IFG2VC4.js → chunk-FCMNKVXT.js} +1 -1
- package/chunks/{chunk-YDSYD7UI.js → chunk-FD3DA3B4.js} +3 -3
- package/chunks/{chunk-GL5TV7B5.js → chunk-GL22M2DU.js} +23 -7
- package/chunks/{chunk-AFOLR6YL.js → chunk-GQ4ZEYMI.js} +102 -16
- package/chunks/chunk-GRC5HGPI.js +13 -0
- package/chunks/{chunk-WMPVYQ4P.js → chunk-GWHYEOV2.js} +2 -2
- package/chunks/chunk-GZRTYZ2R.js +292 -0
- package/chunks/{chunk-A2X3KLC3.js → chunk-GZXCZHCT.js} +3 -3
- package/chunks/{chunk-K5PGHDBN.js → chunk-H6XPXXMH.js} +1 -1
- package/chunks/{chunk-24XYI5EI.js → chunk-HACY3IUM.js} +6 -6
- package/chunks/{chunk-DGHJTO2K.js → chunk-HIHQ3TWC.js} +38 -9
- package/chunks/{chunk-KYMBIKIW.js → chunk-HTHUX2T5.js} +1 -1
- package/chunks/{chunk-LQ7TMOCE.js → chunk-HTO4JFDZ.js} +1 -1
- package/chunks/{chunk-B34OV7K2.js → chunk-IAVB3HM3.js} +15 -2
- package/chunks/{chunk-4UCTWSTP.js → chunk-IDJEZU7C.js} +2 -2
- package/chunks/chunk-IEBIKN6A.js +38 -0
- package/chunks/{chunk-PRDFOIZF.js → chunk-IJEO2QSK.js} +73 -30
- package/chunks/{chunk-MJI36HER.js → chunk-IT6LIIVK.js} +2 -2
- package/chunks/{chunk-FEJ2FZ3U.js → chunk-J3JA76CF.js} +2 -2
- package/chunks/{chunk-4CGOWHKM.js → chunk-J4MOFEOK.js} +2 -2
- package/chunks/{chunk-22MNNNXE.js → chunk-J4TSQ5EQ.js} +3 -2
- package/chunks/{chunk-22IFUCVR.js → chunk-JESCGQM3.js} +1 -1
- package/chunks/{chunk-CCGOFQV3.js → chunk-JSG7ZSBC.js} +8 -7
- package/chunks/{chunk-X265R5C6.js → chunk-K434OPES.js} +5 -5
- package/chunks/{chunk-RFIL6REB.js → chunk-KHUQZZJ6.js} +185 -45
- package/chunks/{chunk-X2XNQQJI.js → chunk-KKNMOEZH.js} +4 -4
- package/chunks/{chunk-6BN7NZ5Z.js → chunk-KL23O5Z5.js} +7 -9
- package/chunks/{chunk-MRO43B25.js → chunk-KW7NOTN6.js} +1 -1
- package/chunks/{chunk-6IAWPIQ6.js → chunk-L36P3NBD.js} +3 -3
- package/chunks/{chunk-54YZOP7P.js → chunk-L573Z2QZ.js} +11894 -5190
- package/chunks/{chunk-STAZRKOT.js → chunk-L6GPKRH7.js} +132 -464
- package/chunks/{chunk-QAKFYMJI.js → chunk-LD5OWZ5E.js} +155 -19
- package/chunks/{chunk-E7KNELIZ.js → chunk-LK7KUE55.js} +2 -2
- package/chunks/{chunk-W7EEOR7D.js → chunk-LUODI7WD.js} +5 -5
- package/chunks/{chunk-CSOTA7KX.js → chunk-LXNEJD34.js} +2 -2
- package/chunks/{chunk-HLKG6CZN.js → chunk-M5GB774H.js} +1 -1
- package/chunks/{chunk-3B26UVCX.js → chunk-MC23XKFE.js} +39 -10
- package/chunks/{chunk-XPJH4PKR.js → chunk-MPEMTBUZ.js} +2 -2
- package/chunks/{chunk-GMOWQOQQ.js → chunk-MUCWGT7O.js} +248 -55
- package/chunks/{chunk-PC4ZXHU2.js → chunk-MXL5UP4X.js} +3 -3
- package/chunks/{chunk-PUQLHSQ2.js → chunk-N2FGNKOE.js} +10 -12
- package/chunks/{chunk-332PWN27.js → chunk-NHDKSOEY.js} +1 -1
- package/chunks/{chunk-65CFHNSE.js → chunk-NKHV3OHY.js} +62 -62
- package/chunks/{chunk-P7M4GA57.js → chunk-OCPBI7J5.js} +1 -1
- package/chunks/{chunk-42XGFRJS.js → chunk-ORBGV7NJ.js} +5 -5
- package/chunks/{chunk-ALZ75L2X.js → chunk-OZJLTZKP.js} +415 -379
- package/chunks/chunk-P3X7RYUQ.js +468 -0
- package/chunks/{chunk-AGHU5VRK.js → chunk-PZL23GTM.js} +1 -1
- package/chunks/{chunk-FXGLL2HL.js → chunk-Q7YDKOGY.js} +1 -1
- package/chunks/{chunk-LGFAYIKX.js → chunk-QHTIBUWB.js} +1 -1
- package/chunks/{chunk-AIY5UTFI.js → chunk-QK2JET6S.js} +934 -2881
- package/chunks/{chunk-P3MYAZBY.js → chunk-QMGX2KO2.js} +1 -1
- package/chunks/{chunk-QZF5U5KA.js → chunk-QNTUV3PP.js} +11 -11
- package/chunks/chunk-QRUIS3DN.js +47 -0
- package/chunks/{chunk-ITOGNELQ.js → chunk-QSWDGAIC.js} +2 -2
- package/chunks/{chunk-7JGISHHZ.js → chunk-QUJIDGIW.js} +15 -157
- package/chunks/{chunk-GHOTR7HL.js → chunk-QUPXZXLV.js} +1 -1
- package/chunks/{chunk-TDGF35EN.js → chunk-QYMQSECS.js} +3 -3
- package/chunks/{chunk-QYUE6W3T.js → chunk-RDJSGHZE.js} +1 -1
- package/chunks/{chunk-TLRYABYP.js → chunk-RKUWKYED.js} +1 -1
- package/chunks/{chunk-ADZG46HR.js → chunk-RRNR5U2U.js} +2 -2
- package/chunks/{chunk-4O344UEE.js → chunk-RW7CXRUM.js} +39 -19
- package/chunks/{chunk-RNBYOUGV.js → chunk-RXFQM6FQ.js} +1 -1
- package/chunks/{chunk-QXPI7FEC.js → chunk-S3TWXGKA.js} +4 -4
- package/chunks/{chunk-44NROQYV.js → chunk-SJHDYNHF.js} +4 -4
- package/chunks/{chunk-MLZQVCF3.js → chunk-SZRN75WQ.js} +1 -1
- package/chunks/{chunk-7RYW5LQV.js → chunk-T2NCM2ET.js} +2 -2
- package/chunks/{chunk-Z2Z3GUXZ.js → chunk-TB6UDU4T.js} +1 -1
- package/chunks/{chunk-SUAKHHK7.js → chunk-TDEXZKMT.js} +3 -3
- package/chunks/{chunk-EXPMGZZV.js → chunk-TEGEBB2I.js} +1 -1
- package/chunks/{chunk-JF7DFPQ5.js → chunk-TJCEUA3S.js} +15 -3
- package/chunks/{chunk-MX2YXRER.js → chunk-TJTKSVIV.js} +1 -1
- package/chunks/{chunk-H6BD2ELD.js → chunk-TYAMGABM.js} +2 -2
- package/chunks/{chunk-CISB3IQF.js → chunk-U3VSCGEJ.js} +100 -15
- package/chunks/{chunk-VRDMOSQS.js → chunk-UDXSXLER.js} +2 -2
- package/chunks/{chunk-AHNJGLFV.js → chunk-UOZWKTQG.js} +3 -3
- package/chunks/{chunk-CJCKDMWO.js → chunk-URK542T4.js} +1 -1
- package/chunks/{chunk-YEGT55NW.js → chunk-UUVCHN62.js} +5697 -2983
- package/chunks/{chunk-AHNXYU4O.js → chunk-V6WHFGST.js} +1 -1
- package/chunks/{chunk-U4FRHCLA.js → chunk-VAUPLGDZ.js} +2370 -364
- package/chunks/{chunk-ZTQ26VBE.js → chunk-VDDGDZMA.js} +1 -1
- package/chunks/{chunk-OMX7CUOE.js → chunk-VGC4I5JJ.js} +1 -1
- package/chunks/{chunk-IUE7YWC3.js → chunk-VIUKEWUL.js} +8 -8
- package/chunks/{chunk-43W4YSO6.js → chunk-VJNBRRZG.js} +2 -2
- package/chunks/{chunk-I4A4K72C.js → chunk-VL7GBUQA.js} +1309 -703
- package/chunks/{chunk-VZ7HY3YU.js → chunk-W2UIXQDL.js} +3 -3
- package/chunks/{chunk-ER3BKOLB.js → chunk-W7FJ3N32.js} +1 -1
- package/chunks/{chunk-3HX5LZ6R.js → chunk-WBL3FJEU.js} +2 -2
- package/chunks/{chunk-RYFZCUJO.js → chunk-WCUK2QXK.js} +17 -9
- package/chunks/{chunk-OWVIH4HY.js → chunk-WFHJDT4S.js} +421 -114
- package/chunks/{chunk-BMFMJINR.js → chunk-WL4L7EZH.js} +1 -1
- package/chunks/{chunk-NZEGNV4V.js → chunk-WPHYXKFL.js} +8 -51
- package/chunks/chunk-X4NKFGFJ.js +81 -0
- package/chunks/{chunk-3RW4AZJV.js → chunk-XFSFZCM5.js} +1 -1
- package/chunks/{chunk-2MPVVENX.js → chunk-XU457J4V.js} +2 -2
- package/chunks/{chunk-SIUQ3YYX.js → chunk-XVNQMZ2I.js} +1 -1
- package/chunks/{chunk-SYCJMSIJ.js → chunk-XWRJCPHC.js} +1 -1
- package/chunks/chunk-YAF2MQZ6.js +19 -0
- package/chunks/chunk-YF4RZPJP.js +168 -0
- package/chunks/{chunk-4KJ2BPIT.js → chunk-YLV3XXFB.js} +4 -40
- package/chunks/{chunk-BR4QREVK.js → chunk-YQ3U5MUC.js} +1 -1
- package/chunks/{chunk-Y6Z2O3WR.js → chunk-YUZI3WAC.js} +1 -1
- package/chunks/{chunk-II73RK2S.js → chunk-YVEDCAUE.js} +1 -1
- package/chunks/{chunk-SKAZWEV5.js → chunk-ZJE7NSL3.js} +1 -1
- package/chunks/{chunk-7LTB54MK.js → chunk-ZLXQN2QS.js} +2 -2
- package/chunks/cli-entry-path-4VJ3Y6T2.js +10 -0
- package/chunks/{computer-use-X4KUU3NM.js → computer-use-2ZTYDNN4.js} +50 -50
- package/chunks/config-utils-ZITWCFBY.js +23 -0
- package/chunks/contextCommand-6L4XCZZT.js +68 -0
- package/chunks/create-sub-session-INX7TXJI.js +207 -0
- package/chunks/create-sub-session-VZIOFS6N.js +375 -0
- package/chunks/{cron-create-JSXEIPVS.js → cron-create-AMBKGZX6.js} +9 -9
- package/chunks/{cron-delete-OIFVEPGU.js → cron-delete-LRU4OJYG.js} +7 -7
- package/chunks/{cron-list-D4ZX4IOE.js → cron-list-WVP2JXER.js} +14 -10
- package/chunks/{daemon-F3I2RXP6.js → daemon-QEDXW7ER.js} +554 -4
- package/chunks/daemon-status-provider-7XJZ3HPS.js +76 -0
- package/chunks/{de-PLLFDERI.js → de-XHBEYUMG.js} +91 -6
- package/chunks/{devtools-FM6GJPYG.js → devtools-4QFYJT6U.js} +3 -3
- package/chunks/{dist-573HNSVO.js → dist-EFXT7A3G.js} +12 -11
- package/chunks/{dist-PKFTNUHO.js → dist-KCRX7TGL.js} +529 -79
- package/chunks/{dist-OT7G2WNM.js → dist-MFEAEUV4.js} +1011 -197
- package/chunks/{dist-63IS3ZMI.js → dist-PZV5RKM6.js} +4 -4
- package/chunks/{dist-FQ5WRJPL.js → dist-QY3THJM5.js} +5 -5
- package/chunks/{dist-IMFFBMAT.js → dist-UJOR6KEQ.js} +32 -15
- package/chunks/{dist-YTRKAVUB.js → dist-ZWZB4CCN.js} +10 -10
- package/chunks/earlyInputCapture-TTWXFIWO.js +69 -0
- package/chunks/{edit-WZTZDGCI.js → edit-6UWFRZKY.js} +51 -51
- package/chunks/{en-GA2RMXY5.js → en-TKHUFIK7.js} +100 -6
- package/chunks/{enter-worktree-DEPXBJEL.js → enter-worktree-LS7SGAII.js} +50 -50
- package/chunks/{enterPlanMode-JFGXZHHJ.js → enterPlanMode-TSZYLEEP.js} +66 -51
- package/chunks/environment-XCVLHOXG.js +88 -0
- package/chunks/errors-KIANLUTC.js +75 -0
- package/chunks/{exit-worktree-Y7XBK3VV.js → exit-worktree-2QV6UJSW.js} +50 -50
- package/chunks/{exitPlanMode-WQQER65F.js → exitPlanMode-GVZG3F6S.js} +51 -51
- package/chunks/{fast-path-W2U6XDNO.js → fast-path-GNFZAMQK.js} +16 -7
- package/chunks/{fast-path-settings-RCRXH2JG.js → fast-path-settings-5QZE64HR.js} +6 -5
- package/chunks/{fileFromPath-IBEHA3CO.js → fileFromPath-UDALK7FM.js} +3 -3
- package/chunks/{fr-GWNQG4XH.js → fr-TBF6JZNE.js} +91 -6
- package/chunks/{gemini-T4WX6SRW.js → gemini-N3H6OLHR.js} +501 -197
- package/chunks/{geminiContentGenerator-MKQACXEJ.js → geminiContentGenerator-4C257R2N.js} +9 -9
- package/chunks/{getMachineId-bsd-4CASPIU4.js → getMachineId-bsd-EXV7SWPA.js} +3 -3
- package/chunks/{getMachineId-darwin-HPQPEMZR.js → getMachineId-darwin-IUOMFXU3.js} +3 -3
- package/chunks/{getMachineId-linux-AUARKYHL.js → getMachineId-linux-K7XJYFHL.js} +2 -2
- package/chunks/{getMachineId-unsupported-S32ZDA2T.js → getMachineId-unsupported-EA5FDRJ6.js} +2 -2
- package/chunks/{getMachineId-win-4EFLHYIJ.js → getMachineId-win-KBA6RAI5.js} +3 -3
- package/chunks/{glob-4KKSHZDF.js → glob-QTUI5I3Y.js} +95 -74
- package/chunks/{grep-GHRYXSLZ.js → grep-Z5MGLRCG.js} +50 -50
- package/chunks/handleAutoUpdate-FFF3CZGP.js +69 -0
- package/chunks/i18n-QQAJT7A2.js +84 -0
- package/chunks/initializer-LGQGC7ZT.js +71 -0
- package/chunks/installationInfo-4FEZGXIN.js +65 -0
- package/chunks/{ja-2HOTA47X.js → ja-CDXUA2H3.js} +92 -7
- package/chunks/{keychain-token-storage-UJV5XP4Z.js → keychain-token-storage-VKUBNCP4.js} +4 -4
- package/chunks/{kittyProtocolDetector-OJRCJLIU.js → kittyProtocolDetector-HCNNKJTI.js} +2 -2
- package/chunks/list-KIVFF3BB.js +74 -0
- package/chunks/loadedSettingsAdapter-EOD3RVZS.js +68 -0
- package/chunks/{loop-wakeup-OHWEMFP5.js → loop-wakeup-WX7BLWWP.js} +10 -10
- package/chunks/{lowlight-FYAAUU5J.js → lowlight-J2OZNPCA.js} +1 -1
- package/chunks/{ls-L654WOAT.js → ls-ZB2BDP6T.js} +6 -6
- package/chunks/{lsp-M35KE54Y.js → lsp-V5DN4YUJ.js} +6 -8
- package/chunks/mcp-D2P46DB4.js +68 -0
- package/chunks/{monitor-464OY2UE.js → monitor-4ZWVOL6J.js} +50 -50
- package/chunks/{multipart-parser-AJ4WASWR.js → multipart-parser-AWZKXSQN.js} +3 -3
- package/chunks/nonInteractiveCli-NAHUR2X6.js +124 -0
- package/chunks/{notebook-edit-BLJYCNDO.js → notebook-edit-RCQ2D2IE.js} +51 -51
- package/chunks/openaiContentGenerator-U655T5QC.js +56 -0
- package/chunks/pidfile-O3OO2TCP.js +73 -0
- package/chunks/{pt-2THT3YHA.js → pt-6IR2VRQY.js} +91 -6
- package/chunks/{qwenContentGenerator-SUUHZ6CR.js → qwenContentGenerator-ABGWCRS6.js} +52 -52
- package/chunks/{qwenOAuth2-ZV7YLMND.js → qwenOAuth2-PJQ27GSO.js} +9 -9
- package/chunks/read-file-X7M4GUPY.js +30 -0
- package/chunks/{read-mcp-resource-CNQHBSJM.js → read-mcp-resource-SM5DA4RG.js} +5 -5
- package/chunks/{read-package-up-ER5OJUGP.js → read-package-up-TCM6I7S2.js} +2 -2
- package/chunks/{record-artifact-PP3LKHTS.js → record-artifact-4XKZX3UW.js} +7 -7
- package/chunks/ripGrep-KMPJJK5J.js +60 -0
- package/chunks/{ru-Z67YJHBG.js → ru-DBTHQA3F.js} +91 -6
- package/chunks/{run-qwen-serve-5OKADVLE.js → run-qwen-serve-O6CMPURG.js} +958 -184
- package/chunks/runtime-THE2YO27.js +94 -0
- package/chunks/{scheduler-ZRW3AIDU.js → scheduler-XXEA6EFC.js} +51 -51
- package/chunks/{send-message-OA6MV4EU.js → send-message-F36YD6KQ.js} +7 -7
- package/chunks/serve-W6F44JQQ.js +74 -0
- package/chunks/{server-M372UENX.js → server-SAEKMY52.js} +4340 -829
- package/chunks/{session-F5KSNP2N.js → session-4GGYGOWY.js} +162 -117
- package/chunks/settings-PYEU5HVD.js +118 -0
- package/chunks/shell-JGQECKTH.js +68 -0
- package/chunks/{skill-A2TL2NPC.js → skill-XPP3C2DS.js} +24 -24
- package/chunks/spawnChannel-62QKQBQN.js +70 -0
- package/chunks/{src-XKZMNHXS.js → src-2656Q6SN.js} +126 -52
- package/chunks/{src-7XL4G4DC.js → src-VLI3TKEY.js} +4 -4
- package/chunks/standalone-update-X7AZVG5R.js +79 -0
- package/chunks/{startInteractiveUI-REKSTOHU.js → startInteractiveUI-DXR4K6T5.js} +2277 -1834
- package/chunks/stdioHelpers-UMY72QRP.js +14 -0
- package/chunks/{syntheticOutput-F7LSDCAR.js → syntheticOutput-34H7LGA7.js} +5 -5
- package/chunks/task-create-FRGOEIKY.js +22 -0
- package/chunks/{task-list-TGGJX7EA.js → task-list-OW766BXZ.js} +10 -10
- package/chunks/{task-stop-W7NGTMYQ.js → task-stop-SIR5SNBN.js} +4 -4
- package/chunks/{task-update-5WUG5MVQ.js → task-update-YRA532MT.js} +12 -12
- package/chunks/{team-create-TBQVWAG7.js → team-create-3EHCUCKA.js} +50 -50
- package/chunks/{team-delete-UHQQ2QQX.js → team-delete-6OSECUZC.js} +10 -10
- package/chunks/{team-plan-approval-FZPGUSHJ.js → team-plan-approval-KZ7NZIMX.js} +50 -50
- package/chunks/theme-manager-J7ANV4JR.js +64 -0
- package/chunks/{todoWrite-C4ZAMSR3.js → todoWrite-YDMFEV4G.js} +6 -6
- package/chunks/{tool-search-FDQ3SLNJ.js → tool-search-2XLGWG4H.js} +24 -24
- package/chunks/total-session-admission-EQIHUOL6.js +72 -0
- package/chunks/trustedFolders-BEX5334Z.js +79 -0
- package/chunks/{types-QX5C3CHJ.js → types-JNKGKUJT.js} +2 -2
- package/chunks/updateCheck-NKPJGJCR.js +69 -0
- package/chunks/updateEventEmitter-5MKC7BLQ.js +10 -0
- package/chunks/validateNonInterActiveAuth-6DGGGE4A.js +190 -0
- package/chunks/{version-CEDD6ZZR.js → version-FRVWU5ZU.js} +3 -3
- package/chunks/{web-fetch-UYGMOHW4.js → web-fetch-PAAEQKBW.js} +8 -8
- package/chunks/{workflow-CQQ4J4I6.js → workflow-LWFMECLD.js} +51 -51
- package/chunks/workspace-providers-status-NE7QWEYS.js +71 -0
- package/chunks/workspace-registry-RCWAP57G.js +76 -0
- package/chunks/workspace-service-4QUMVGBX.js +80 -0
- package/chunks/workspace-skills-status-L34BYRSY.js +70 -0
- package/chunks/{write-file-VWGY7AJP.js → write-file-WXO4M5FN.js} +51 -51
- package/chunks/{yargs-B64EYTCF.js → yargs-6H2AUULL.js} +2 -2
- package/chunks/{zh-7XVVRTDH.js → zh-LJP47LX7.js} +101 -7
- package/chunks/{zh-TW-DPH554OG.js → zh-TW-5ISMO3VJ.js} +101 -7
- package/cli.js +18 -17
- package/locales/ca.js +117 -7
- package/locales/de.js +116 -7
- package/locales/en.js +133 -7
- package/locales/fr.js +117 -7
- package/locales/ja.js +119 -7
- package/locales/pt.js +116 -7
- package/locales/ru.js +116 -7
- package/locales/zh-TW.js +130 -7
- package/locales/zh.js +130 -7
- package/package.json +3 -6
- package/web-shell/assets/{arc-C7hjaa7g.js → arc-BRDEF7h6.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-pm9KtMZY.js → architectureDiagram-3BPJPVTR-Cxnk4Ygq.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CApElKsU.js → blockDiagram-GPEHLZMM-BZrtayqw.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BeDe0-9N.js → c4Diagram-AAUBKEIU-Djmbi1yB.js} +1 -1
- package/web-shell/assets/channel-C9zfQCn-.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-DJEkmLdl.js → chunk-2J33WTMH-Cdokj-0U.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DXX8gdpe.js → chunk-4BX2VUAB-BI9Hx57o.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DORmk1kQ.js → chunk-55IACEB6-Cb17cEzj.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DWmO4mCZ.js → chunk-727SXJPM-DY1Fc0h_.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-C7LRaYw2.js → chunk-AQP2D5EJ-B10G71Hd.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CCdXgyC5.js → chunk-FMBD7UC4-BP6OoB6Z.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-SyL_xvWc.js → chunk-ND2GUHAM-CWIIwUFC.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BzOuCKxa.js → chunk-QZHKN3VN-DMrqCfGO.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BVNaf5JM.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BVNaf5JM.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BMPWyDKc.js → cose-bilkent-S5V4N54A-CF-mpkgI.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-B_GnPWik.js → dagre-BM42HDAG-DfsRFsg7.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-fJqMc3S_.js → diagram-2AECGRRQ-DBNwf6Dy.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-ximV3O9D.js → diagram-5GNKFQAL-CD1TqV1j.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-2vVyjzqw.js → diagram-KO2AKTUF-DkWlaLI2.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Dckcx1sT.js → diagram-LMA3HP47-ClrAcxwF.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-BAVv47ga.js → diagram-OG6HWLK6-Dr6dnPLw.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-Bn3nf5J0.js → erDiagram-TEJ5UH35-Dm_vj18R.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BIbGF9JT.js → flowDiagram-I6XJVG4X-lp3cMdZu.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CDbhb3AH.js → ganttDiagram-6RSMTGT7-AtdCWZya.js} +3 -3
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CbKG1a_w.js → gitGraphDiagram-PVQCEYII-BARTJafF.js} +1 -1
- package/web-shell/assets/index-BkNgyfu7.js +3 -0
- package/web-shell/assets/index-CihmnZZR.js +784 -0
- package/web-shell/assets/index-zfdXhnwH.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-DUFxTy8m.js → infoDiagram-5YYISTIA-CxbJ54_f.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-D69hrBG8.js → ishikawaDiagram-YF4QCWOH-hFoO0HQA.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DsvEw51Y.js → journeyDiagram-JHISSGLW-Bo6cKnLe.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-lFFjZEYd.js → kanban-definition-UN3LZRKU-DIFrH-XL.js} +1 -1
- package/web-shell/assets/{linear-Bo5bWzvo.js → linear-Bjv_GjDd.js} +1 -1
- package/web-shell/assets/{mermaid.core-C_HKMJx5.js → mermaid.core-C_OiqQEP.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DlV-NUTs.js → mindmap-definition-RKZ34NQL-B79Gk8aB.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-B2e6FH2a.js → pieDiagram-4H26LBE5-B_P0gIHr.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D75kSk-b.js → quadrantDiagram-W4KKPZXB-BC7F0ohb.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CQ6xakhM.js → requirementDiagram-4Y6WPE33-BrA5_NSW.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-J_XTKrcY.js → sankeyDiagram-5OEKKPKP-Q2iqrNI_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-D7jTcBtf.js → sequenceDiagram-3UESZ5HK-6vdIWz4H.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CrlM_OT3.js → stateDiagram-AJRCARHV-DMzXNKcB.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BWFH0OCO.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-5oZi76Ef.js → timeline-definition-PNZ67QCA-BykEawmS.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DO5YptPK.js → vennDiagram-CIIHVFJN-B24KD2X1.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-4t1eJDvM.js → wardley-L42UT6IY-C761G_tA.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DKZc661S.js → wardleyDiagram-YWT4CUSO-CfwGJYqw.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-su9hp08G.js → xychartDiagram-2RQKCTM6-BDu5AZ2D.js} +1 -1
- package/web-shell/index.html +16 -4
- package/chunks/MaxSizedBox-XY5LIO5O.js +0 -71
- package/chunks/agent-TKIBLLQT.js +0 -68
- package/chunks/agent-headless-VLX4C7KX.js +0 -62
- package/chunks/bridge-BCU73DZO.js +0 -77
- package/chunks/chunk-6SHO7WFF.js +0 -79
- package/chunks/chunk-IFEWJXFS.js +0 -37
- package/chunks/chunk-S6RLAIUR.js +0 -23
- package/chunks/contextCommand-LAYJZF7H.js +0 -68
- package/chunks/daemon-status-provider-XSAFKVDS.js +0 -74
- package/chunks/earlyInputCapture-AERYYGXE.js +0 -69
- package/chunks/errors-GMZL4QV7.js +0 -75
- package/chunks/handleAutoUpdate-HN7ZOSXY.js +0 -65
- package/chunks/initializer-SRN3IM42.js +0 -69
- package/chunks/list-INTVXUPA.js +0 -71
- package/chunks/loadedSettingsAdapter-QVHHQPGM.js +0 -66
- package/chunks/mcp-7V4T46RG.js +0 -66
- package/chunks/nonInteractiveCli-LJEEODU2.js +0 -116
- package/chunks/openaiContentGenerator-PFF6HYB2.js +0 -56
- package/chunks/pidfile-LIBUENIV.js +0 -73
- package/chunks/read-file-L7TBQVX7.js +0 -30
- package/chunks/ripGrep-CKKX3GRB.js +0 -60
- package/chunks/serve-36WS32W6.js +0 -71
- package/chunks/settings-WFLNS3WT.js +0 -114
- package/chunks/shell-DEDSWN56.js +0 -68
- package/chunks/spawnChannel-RQHUWTCL.js +0 -70
- package/chunks/task-create-RPFZNB4B.js +0 -22
- package/chunks/theme-manager-DQZVNSOC.js +0 -64
- package/chunks/trustedFolders-Z475EIHL.js +0 -79
- package/chunks/updateCheck-E2ZX7RL7.js +0 -65
- package/chunks/validateNonInterActiveAuth-O4ECBHQL.js +0 -181
- package/chunks/workspace-providers-status-MVYXMYDG.js +0 -68
- package/chunks/workspace-service-OMBR6ZLG.js +0 -78
- package/chunks/workspace-skills-status-IMMQ7CAY.js +0 -68
- package/node_modules/@qwen-code/audio-capture/dist/index.d.ts +0 -35
- package/node_modules/@qwen-code/audio-capture/dist/index.js +0 -48
- package/node_modules/@qwen-code/audio-capture/dist/index.js.map +0 -1
- package/node_modules/@qwen-code/audio-capture/dist/platform.d.ts +0 -7
- package/node_modules/@qwen-code/audio-capture/dist/platform.js +0 -18
- package/node_modules/@qwen-code/audio-capture/dist/platform.js.map +0 -1
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/LICENSE +0 -21
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/README.md +0 -58
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/SECURITY.md +0 -5
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/bin.js +0 -84
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/build-test.js +0 -19
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/index.js +0 -6
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/node-gyp-build.js +0 -207
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/optional.js +0 -7
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/package.json +0 -43
- package/node_modules/@qwen-code/audio-capture/package.json +0 -30
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/web-shell/assets/channel-BNf1dW-j.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-uOIGlzgi.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-uOIGlzgi.js +0 -1
- package/web-shell/assets/index-CnE2ur2L.js +0 -779
- package/web-shell/assets/index-hSKXrlSE.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bs4TK_84.js +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
AgentTool,
|
|
5
|
+
TOOL_REGISTRY_REBUILT,
|
|
6
|
+
createApprovalModeOverride,
|
|
7
|
+
hasRebuiltToolRegistry,
|
|
8
|
+
rebuildToolRegistryOnOverride,
|
|
9
|
+
resolveSubagentApprovalMode
|
|
10
|
+
} from "./chunk-UUVCHN62.js";
|
|
11
|
+
import "./chunk-CU3L64TP.js";
|
|
12
|
+
import "./chunk-ZJE7NSL3.js";
|
|
13
|
+
import "./chunk-H6XPXXMH.js";
|
|
14
|
+
import "./chunk-MC23XKFE.js";
|
|
15
|
+
import "./chunk-LUODI7WD.js";
|
|
16
|
+
import "./chunk-ORBGV7NJ.js";
|
|
17
|
+
import "./chunk-KKNMOEZH.js";
|
|
18
|
+
import "./chunk-W2UIXQDL.js";
|
|
19
|
+
import "./chunk-XU457J4V.js";
|
|
20
|
+
import "./chunk-VDDGDZMA.js";
|
|
21
|
+
import "./chunk-CEA3E3JB.js";
|
|
22
|
+
import "./chunk-SZRN75WQ.js";
|
|
23
|
+
import "./chunk-HTO4JFDZ.js";
|
|
24
|
+
import "./chunk-CPBF7KYF.js";
|
|
25
|
+
import "./chunk-4GORAUCN.js";
|
|
26
|
+
import "./chunk-6AM5D4ME.js";
|
|
27
|
+
import "./chunk-7R3CZA3Q.js";
|
|
28
|
+
import "./chunk-GWHYEOV2.js";
|
|
29
|
+
import "./chunk-4QLQE5WJ.js";
|
|
30
|
+
import "./chunk-5XUCZNSY.js";
|
|
31
|
+
import "./chunk-MUCWGT7O.js";
|
|
32
|
+
import "./chunk-4WKAA4KS.js";
|
|
33
|
+
import "./chunk-CR3C7WXL.js";
|
|
34
|
+
import "./chunk-CARU2RR2.js";
|
|
35
|
+
import "./chunk-VGC4I5JJ.js";
|
|
36
|
+
import "./chunk-YLV3XXFB.js";
|
|
37
|
+
import "./chunk-TDEXZKMT.js";
|
|
38
|
+
import "./chunk-J3JA76CF.js";
|
|
39
|
+
import "./chunk-B5ORX3FG.js";
|
|
40
|
+
import "./chunk-BZIFY5TF.js";
|
|
41
|
+
import "./chunk-UOZWKTQG.js";
|
|
42
|
+
import "./chunk-JESCGQM3.js";
|
|
43
|
+
import "./chunk-ZLXQN2QS.js";
|
|
44
|
+
import "./chunk-XVNQMZ2I.js";
|
|
45
|
+
import "./chunk-524RQP4Q.js";
|
|
46
|
+
import "./chunk-JSG7ZSBC.js";
|
|
47
|
+
import "./chunk-A4UCTEB5.js";
|
|
48
|
+
import "./chunk-XWRJCPHC.js";
|
|
49
|
+
import "./chunk-4LD5APFL.js";
|
|
50
|
+
import "./chunk-TYAMGABM.js";
|
|
51
|
+
import "./chunk-FCMNKVXT.js";
|
|
52
|
+
import "./chunk-DJ2GSRLV.js";
|
|
53
|
+
import "./chunk-4ZVWQHEQ.js";
|
|
54
|
+
import "./chunk-J4TSQ5EQ.js";
|
|
55
|
+
import "./chunk-75DOP5OR.js";
|
|
56
|
+
import "./chunk-DMTGGOSA.js";
|
|
57
|
+
import "./chunk-YQ3U5MUC.js";
|
|
58
|
+
import "./chunk-TB6UDU4T.js";
|
|
59
|
+
import "./chunk-5O2XNYP6.js";
|
|
60
|
+
import "./chunk-J2S4EL5Y.js";
|
|
61
|
+
export {
|
|
62
|
+
AgentTool,
|
|
63
|
+
TOOL_REGISTRY_REBUILT,
|
|
64
|
+
createApprovalModeOverride,
|
|
65
|
+
hasRebuiltToolRegistry,
|
|
66
|
+
rebuildToolRegistryOnOverride,
|
|
67
|
+
resolveSubagentApprovalMode
|
|
68
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
AgentHeadless,
|
|
5
|
+
ContextState,
|
|
6
|
+
templateString
|
|
7
|
+
} from "./chunk-UUVCHN62.js";
|
|
8
|
+
import "./chunk-CU3L64TP.js";
|
|
9
|
+
import "./chunk-ZJE7NSL3.js";
|
|
10
|
+
import "./chunk-H6XPXXMH.js";
|
|
11
|
+
import "./chunk-MC23XKFE.js";
|
|
12
|
+
import "./chunk-LUODI7WD.js";
|
|
13
|
+
import "./chunk-ORBGV7NJ.js";
|
|
14
|
+
import "./chunk-KKNMOEZH.js";
|
|
15
|
+
import "./chunk-W2UIXQDL.js";
|
|
16
|
+
import "./chunk-XU457J4V.js";
|
|
17
|
+
import "./chunk-VDDGDZMA.js";
|
|
18
|
+
import "./chunk-CEA3E3JB.js";
|
|
19
|
+
import "./chunk-SZRN75WQ.js";
|
|
20
|
+
import "./chunk-HTO4JFDZ.js";
|
|
21
|
+
import "./chunk-CPBF7KYF.js";
|
|
22
|
+
import "./chunk-4GORAUCN.js";
|
|
23
|
+
import "./chunk-6AM5D4ME.js";
|
|
24
|
+
import "./chunk-7R3CZA3Q.js";
|
|
25
|
+
import "./chunk-GWHYEOV2.js";
|
|
26
|
+
import "./chunk-4QLQE5WJ.js";
|
|
27
|
+
import "./chunk-5XUCZNSY.js";
|
|
28
|
+
import "./chunk-MUCWGT7O.js";
|
|
29
|
+
import "./chunk-4WKAA4KS.js";
|
|
30
|
+
import "./chunk-CR3C7WXL.js";
|
|
31
|
+
import "./chunk-CARU2RR2.js";
|
|
32
|
+
import "./chunk-VGC4I5JJ.js";
|
|
33
|
+
import "./chunk-YLV3XXFB.js";
|
|
34
|
+
import "./chunk-TDEXZKMT.js";
|
|
35
|
+
import "./chunk-J3JA76CF.js";
|
|
36
|
+
import "./chunk-B5ORX3FG.js";
|
|
37
|
+
import "./chunk-BZIFY5TF.js";
|
|
38
|
+
import "./chunk-UOZWKTQG.js";
|
|
39
|
+
import "./chunk-JESCGQM3.js";
|
|
40
|
+
import "./chunk-ZLXQN2QS.js";
|
|
41
|
+
import "./chunk-XVNQMZ2I.js";
|
|
42
|
+
import "./chunk-524RQP4Q.js";
|
|
43
|
+
import "./chunk-JSG7ZSBC.js";
|
|
44
|
+
import "./chunk-A4UCTEB5.js";
|
|
45
|
+
import "./chunk-XWRJCPHC.js";
|
|
46
|
+
import "./chunk-4LD5APFL.js";
|
|
47
|
+
import "./chunk-TYAMGABM.js";
|
|
48
|
+
import "./chunk-FCMNKVXT.js";
|
|
49
|
+
import "./chunk-DJ2GSRLV.js";
|
|
50
|
+
import "./chunk-4ZVWQHEQ.js";
|
|
51
|
+
import "./chunk-J4TSQ5EQ.js";
|
|
52
|
+
import "./chunk-75DOP5OR.js";
|
|
53
|
+
import "./chunk-DMTGGOSA.js";
|
|
54
|
+
import "./chunk-YQ3U5MUC.js";
|
|
55
|
+
import "./chunk-TB6UDU4T.js";
|
|
56
|
+
import "./chunk-5O2XNYP6.js";
|
|
57
|
+
import "./chunk-J2S4EL5Y.js";
|
|
58
|
+
export {
|
|
59
|
+
AgentHeadless,
|
|
60
|
+
ContextState,
|
|
61
|
+
templateString
|
|
62
|
+
};
|
package/chunks/{anthropicContentGenerator-AKYPSZIV.js → anthropicContentGenerator-L73TO3DB.js}
RENAMED
|
@@ -3,55 +3,57 @@
|
|
|
3
3
|
import {
|
|
4
4
|
require_abort_controller,
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BPZALHVR.js";
|
|
7
7
|
import {
|
|
8
8
|
clampReasoningEffort
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XVNQMZ2I.js";
|
|
10
10
|
import {
|
|
11
11
|
RequestTokenizer
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SJHDYNHF.js";
|
|
13
13
|
import {
|
|
14
|
+
defaultOutputCeiling,
|
|
14
15
|
hasExplicitOutputLimit,
|
|
15
16
|
parsePositiveIntegerEnvValue,
|
|
17
|
+
reconcileMaxTokens,
|
|
16
18
|
resolveRequestTimeout,
|
|
17
19
|
tokenLimit
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-524RQP4Q.js";
|
|
19
21
|
import {
|
|
20
22
|
convertSchema,
|
|
21
23
|
runtimeDiagnostics,
|
|
22
24
|
safeJsonParse
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-JSG7ZSBC.js";
|
|
26
|
+
import "./chunk-A4UCTEB5.js";
|
|
27
|
+
import "./chunk-XWRJCPHC.js";
|
|
26
28
|
import {
|
|
27
29
|
FinishReason,
|
|
28
30
|
GenerateContentResponse
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-4LD5APFL.js";
|
|
32
|
+
import "./chunk-TYAMGABM.js";
|
|
33
|
+
import "./chunk-FCMNKVXT.js";
|
|
32
34
|
import {
|
|
33
35
|
createChildAbortController
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DJ2GSRLV.js";
|
|
35
37
|
import {
|
|
36
38
|
buildRuntimeFetchOptions,
|
|
37
39
|
redactProxyError
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4ZVWQHEQ.js";
|
|
39
41
|
import {
|
|
40
42
|
createDebugLogger
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-J4TSQ5EQ.js";
|
|
42
44
|
import {
|
|
43
45
|
Blob,
|
|
44
46
|
File,
|
|
45
47
|
isFile,
|
|
46
48
|
isFunction
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QMGX2KO2.js";
|
|
48
50
|
import {
|
|
49
51
|
require_ms
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-YQ3U5MUC.js";
|
|
53
|
+
import "./chunk-TB6UDU4T.js";
|
|
52
54
|
import {
|
|
53
55
|
init_esbuild_shims
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-5O2XNYP6.js";
|
|
55
57
|
import {
|
|
56
58
|
__commonJS,
|
|
57
59
|
__name,
|
|
@@ -932,7 +934,7 @@ var MultipartBody = class {
|
|
|
932
934
|
import { ReadableStream as ReadableStream2 } from "node:stream/web";
|
|
933
935
|
var fileFromPathWarned = false;
|
|
934
936
|
async function fileFromPath2(path, ...args) {
|
|
935
|
-
const { fileFromPath: _fileFromPath } = await import("./fileFromPath-
|
|
937
|
+
const { fileFromPath: _fileFromPath } = await import("./fileFromPath-UDALK7FM.js");
|
|
936
938
|
if (!fileFromPathWarned) {
|
|
937
939
|
console.warn(`fileFromPath is deprecated; use fs.createReadStream(${JSON.stringify(path)}) instead`);
|
|
938
940
|
fileFromPathWarned = true;
|
|
@@ -4216,6 +4218,7 @@ function buildAnthropicUsageMetadata(parts) {
|
|
|
4216
4218
|
__name(buildAnthropicUsageMetadata, "buildAnthropicUsageMetadata");
|
|
4217
4219
|
|
|
4218
4220
|
// packages/core/src/core/anthropicContentGenerator/converter.ts
|
|
4221
|
+
var debugLogger = createDebugLogger("AnthropicConverter");
|
|
4219
4222
|
var AnthropicContentConverter = class {
|
|
4220
4223
|
static {
|
|
4221
4224
|
__name(this, "AnthropicContentConverter");
|
|
@@ -4229,7 +4232,7 @@ var AnthropicContentConverter = class {
|
|
|
4229
4232
|
this.enableCacheControl = enableCacheControl;
|
|
4230
4233
|
}
|
|
4231
4234
|
convertGeminiRequestToAnthropic(request, options = {}) {
|
|
4232
|
-
|
|
4235
|
+
let messages = [];
|
|
4233
4236
|
const systemText = this.extractTextFromContentUnion(
|
|
4234
4237
|
request.config?.systemInstruction
|
|
4235
4238
|
);
|
|
@@ -4243,6 +4246,13 @@ var AnthropicContentConverter = class {
|
|
|
4243
4246
|
if (options.injectThinkingOnToolUseTurns) {
|
|
4244
4247
|
this.injectEmptyThinkingOnToolUseTurns(messages);
|
|
4245
4248
|
}
|
|
4249
|
+
messages = mergeConsecutiveAssistantMessages(messages);
|
|
4250
|
+
messages = cleanOrphanedToolCalls(messages);
|
|
4251
|
+
messages = mergeConsecutiveAssistantMessages(messages);
|
|
4252
|
+
if (options.stripAssistantThinking) {
|
|
4253
|
+
this.stripThinkingFromAssistantMessages(messages);
|
|
4254
|
+
}
|
|
4255
|
+
messages = mergeConsecutiveUserMessages(messages);
|
|
4246
4256
|
const enableCacheControl = options.enableCacheControl ?? this.enableCacheControl;
|
|
4247
4257
|
const useGlobalCacheScope = options.useGlobalCacheScope ?? false;
|
|
4248
4258
|
const system = enableCacheControl ? this.buildSystemWithCacheControl(systemText, useGlobalCacheScope) : systemText;
|
|
@@ -4745,9 +4755,148 @@ var AnthropicContentConverter = class {
|
|
|
4745
4755
|
}
|
|
4746
4756
|
}
|
|
4747
4757
|
};
|
|
4758
|
+
function mergeConsecutiveAssistantMessages(messages) {
|
|
4759
|
+
const merged = [];
|
|
4760
|
+
for (const message of messages) {
|
|
4761
|
+
if (message.role === "assistant" && merged.length > 0 && Array.isArray(message.content)) {
|
|
4762
|
+
const lastMessage = merged[merged.length - 1];
|
|
4763
|
+
if (lastMessage.role === "assistant" && Array.isArray(lastMessage.content)) {
|
|
4764
|
+
const lastBlocks = lastMessage.content;
|
|
4765
|
+
const currentBlocks = message.content;
|
|
4766
|
+
const isThinking = /* @__PURE__ */ __name((b) => {
|
|
4767
|
+
const t = b.type;
|
|
4768
|
+
return t === "thinking" || t === "redacted_thinking";
|
|
4769
|
+
}, "isThinking");
|
|
4770
|
+
const seenToolUseIds = /* @__PURE__ */ new Set();
|
|
4771
|
+
const combined = [
|
|
4772
|
+
...lastBlocks.filter(isThinking),
|
|
4773
|
+
...currentBlocks.filter(isThinking),
|
|
4774
|
+
...lastBlocks.filter((b) => !isThinking(b)),
|
|
4775
|
+
...currentBlocks.filter((b) => !isThinking(b))
|
|
4776
|
+
].filter((b) => {
|
|
4777
|
+
const t = b.type;
|
|
4778
|
+
if (t === "tool_use") {
|
|
4779
|
+
const id = b.id;
|
|
4780
|
+
if (id) {
|
|
4781
|
+
if (seenToolUseIds.has(id)) return false;
|
|
4782
|
+
seenToolUseIds.add(id);
|
|
4783
|
+
}
|
|
4784
|
+
}
|
|
4785
|
+
return true;
|
|
4786
|
+
});
|
|
4787
|
+
lastMessage.content = combined;
|
|
4788
|
+
continue;
|
|
4789
|
+
}
|
|
4790
|
+
}
|
|
4791
|
+
merged.push(message);
|
|
4792
|
+
}
|
|
4793
|
+
return merged;
|
|
4794
|
+
}
|
|
4795
|
+
__name(mergeConsecutiveAssistantMessages, "mergeConsecutiveAssistantMessages");
|
|
4796
|
+
function cleanOrphanedToolCalls(messages) {
|
|
4797
|
+
const validToolUseBlocks = /* @__PURE__ */ new WeakSet();
|
|
4798
|
+
const validToolResultBlocks = /* @__PURE__ */ new WeakSet();
|
|
4799
|
+
for (let i = 0; i < messages.length; i++) {
|
|
4800
|
+
const message = messages[i];
|
|
4801
|
+
if (message.role !== "assistant" || !Array.isArray(message.content)) {
|
|
4802
|
+
continue;
|
|
4803
|
+
}
|
|
4804
|
+
const blocks = message.content;
|
|
4805
|
+
const toolUseBlocks = /* @__PURE__ */ new Map();
|
|
4806
|
+
for (const block of blocks) {
|
|
4807
|
+
if (block.type === "tool_use") {
|
|
4808
|
+
const id = block.id;
|
|
4809
|
+
if (id && !toolUseBlocks.has(id)) toolUseBlocks.set(id, block);
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
if (toolUseBlocks.size === 0) continue;
|
|
4813
|
+
for (let j = i + 1; j < messages.length; j++) {
|
|
4814
|
+
const nextMessage = messages[j];
|
|
4815
|
+
if (!nextMessage || nextMessage.role !== "user" || !Array.isArray(nextMessage.content)) {
|
|
4816
|
+
break;
|
|
4817
|
+
}
|
|
4818
|
+
let seenNonToolResult = false;
|
|
4819
|
+
for (const block of nextMessage.content) {
|
|
4820
|
+
if (block.type === "tool_result") {
|
|
4821
|
+
const id = block.tool_use_id;
|
|
4822
|
+
const toolUseBlock = id ? toolUseBlocks.get(id) : void 0;
|
|
4823
|
+
if (!seenNonToolResult && toolUseBlock) {
|
|
4824
|
+
validToolUseBlocks.add(toolUseBlock);
|
|
4825
|
+
validToolResultBlocks.add(block);
|
|
4826
|
+
}
|
|
4827
|
+
} else {
|
|
4828
|
+
seenNonToolResult = true;
|
|
4829
|
+
}
|
|
4830
|
+
}
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
const cleaned = [];
|
|
4834
|
+
for (const message of messages) {
|
|
4835
|
+
if (!Array.isArray(message.content)) {
|
|
4836
|
+
cleaned.push(message);
|
|
4837
|
+
continue;
|
|
4838
|
+
}
|
|
4839
|
+
const blocks = message.content;
|
|
4840
|
+
const hasToolUse = blocks.some(
|
|
4841
|
+
(b) => b.type === "tool_use"
|
|
4842
|
+
);
|
|
4843
|
+
const hasToolResult = blocks.some(
|
|
4844
|
+
(b) => b.type === "tool_result"
|
|
4845
|
+
);
|
|
4846
|
+
if (!hasToolUse && !hasToolResult) {
|
|
4847
|
+
cleaned.push(message);
|
|
4848
|
+
continue;
|
|
4849
|
+
}
|
|
4850
|
+
const filtered = blocks.filter((b) => {
|
|
4851
|
+
const t = b.type;
|
|
4852
|
+
if (t === "tool_use") {
|
|
4853
|
+
const id = b.id;
|
|
4854
|
+
return !id || validToolUseBlocks.has(b);
|
|
4855
|
+
}
|
|
4856
|
+
if (t === "tool_result") {
|
|
4857
|
+
const id = b.tool_use_id;
|
|
4858
|
+
return !id || validToolResultBlocks.has(b);
|
|
4859
|
+
}
|
|
4860
|
+
return true;
|
|
4861
|
+
});
|
|
4862
|
+
if (filtered.length > 0) {
|
|
4863
|
+
cleaned.push({ ...message, content: filtered });
|
|
4864
|
+
} else {
|
|
4865
|
+
debugLogger.debug(
|
|
4866
|
+
"cleanOrphanedToolCalls: dropping message with only orphaned tool blocks"
|
|
4867
|
+
);
|
|
4868
|
+
}
|
|
4869
|
+
}
|
|
4870
|
+
return cleaned;
|
|
4871
|
+
}
|
|
4872
|
+
__name(cleanOrphanedToolCalls, "cleanOrphanedToolCalls");
|
|
4873
|
+
function mergeConsecutiveUserMessages(messages) {
|
|
4874
|
+
const merged = [];
|
|
4875
|
+
for (const message of messages) {
|
|
4876
|
+
const lastMessage = merged[merged.length - 1];
|
|
4877
|
+
if (message.role === "user" && lastMessage?.role === "user" && Array.isArray(message.content) && Array.isArray(lastMessage.content)) {
|
|
4878
|
+
const combined = [
|
|
4879
|
+
...lastMessage.content,
|
|
4880
|
+
...message.content
|
|
4881
|
+
];
|
|
4882
|
+
lastMessage.content = [
|
|
4883
|
+
...combined.filter(
|
|
4884
|
+
(b) => b.type === "tool_result"
|
|
4885
|
+
),
|
|
4886
|
+
...combined.filter(
|
|
4887
|
+
(b) => b.type !== "tool_result"
|
|
4888
|
+
)
|
|
4889
|
+
];
|
|
4890
|
+
continue;
|
|
4891
|
+
}
|
|
4892
|
+
merged.push(message);
|
|
4893
|
+
}
|
|
4894
|
+
return merged;
|
|
4895
|
+
}
|
|
4896
|
+
__name(mergeConsecutiveUserMessages, "mergeConsecutiveUserMessages");
|
|
4748
4897
|
|
|
4749
4898
|
// packages/core/src/core/anthropicContentGenerator/anthropicContentGenerator.ts
|
|
4750
|
-
var
|
|
4899
|
+
var debugLogger2 = createDebugLogger("ANTHROPIC");
|
|
4751
4900
|
function isDeepSeekAnthropicHostname(contentGeneratorConfig) {
|
|
4752
4901
|
const baseUrl = contentGeneratorConfig.baseUrl ?? "";
|
|
4753
4902
|
if (!baseUrl) return false;
|
|
@@ -4860,6 +5009,7 @@ var AnthropicContentGenerator = class {
|
|
|
4860
5009
|
// instead of on every request that needs the downgrade.
|
|
4861
5010
|
effortClampWarned = false;
|
|
4862
5011
|
budgetDropWarned = false;
|
|
5012
|
+
temperatureDropWarned = false;
|
|
4863
5013
|
async generateContent(request) {
|
|
4864
5014
|
let response;
|
|
4865
5015
|
const parentSignal = request.config?.abortSignal;
|
|
@@ -4927,7 +5077,7 @@ var AnthropicContentGenerator = class {
|
|
|
4927
5077
|
totalTokens: result.totalTokens
|
|
4928
5078
|
};
|
|
4929
5079
|
} catch (error) {
|
|
4930
|
-
|
|
5080
|
+
debugLogger2.warn(
|
|
4931
5081
|
"Failed to calculate tokens with tokenizer, falling back to simple method:",
|
|
4932
5082
|
error
|
|
4933
5083
|
);
|
|
@@ -4994,8 +5144,10 @@ var AnthropicContentGenerator = class {
|
|
|
4994
5144
|
}
|
|
4995
5145
|
/**
|
|
4996
5146
|
* Whether to ATTACH the body-side `scope: 'global'` field on
|
|
4997
|
-
* `cache_control` entries this request. Requires
|
|
4998
|
-
* `enableCacheControl !== false` AND an Anthropic-native baseURL
|
|
5147
|
+
* `cache_control` entries this request. Requires
|
|
5148
|
+
* `enableCacheControl !== false` AND either an Anthropic-native baseURL
|
|
5149
|
+
* OR `forceGlobalCacheScope` (opt-in for proxy providers that forward
|
|
5150
|
+
* the `prompt-caching-scope-2026-01-05` beta; see issue #6642).
|
|
4999
5151
|
* Computed per request: `Config.handleModelChange()` hot-updates
|
|
5000
5152
|
* `enableCacheControl` in-place on the qwen-oauth path (without
|
|
5001
5153
|
* recreating the ContentGenerator); non-qwen-oauth providers refresh
|
|
@@ -5012,7 +5164,10 @@ var AnthropicContentGenerator = class {
|
|
|
5012
5164
|
* to attach scope to, beta correctly suppressed).
|
|
5013
5165
|
*/
|
|
5014
5166
|
useGlobalCacheScope() {
|
|
5015
|
-
|
|
5167
|
+
if (this.contentGeneratorConfig.enableCacheControl === false) {
|
|
5168
|
+
return false;
|
|
5169
|
+
}
|
|
5170
|
+
return isAnthropicNativeBaseUrl(this.contentGeneratorConfig) || this.contentGeneratorConfig.forceGlobalCacheScope === true;
|
|
5016
5171
|
}
|
|
5017
5172
|
/**
|
|
5018
5173
|
* Whether the assembled request body carries any
|
|
@@ -5107,7 +5262,9 @@ var AnthropicContentGenerator = class {
|
|
|
5107
5262
|
const requestValue = requestKey ? requestConfig[requestKey] : void 0;
|
|
5108
5263
|
return configValue !== void 0 ? configValue : requestValue;
|
|
5109
5264
|
}, "getParam");
|
|
5110
|
-
const
|
|
5265
|
+
const configMaxTokens = configSamplingParams?.max_tokens;
|
|
5266
|
+
const requestMaxTokens = requestConfig.maxOutputTokens;
|
|
5267
|
+
const userMaxTokens = reconcileMaxTokens(configMaxTokens, requestMaxTokens) ?? configMaxTokens ?? requestMaxTokens;
|
|
5111
5268
|
const modelId = this.contentGeneratorConfig.model;
|
|
5112
5269
|
const modelLimit = tokenLimit(modelId, "output");
|
|
5113
5270
|
const isKnownModel = hasExplicitOutputLimit(modelId);
|
|
@@ -5121,12 +5278,22 @@ var AnthropicContentGenerator = class {
|
|
|
5121
5278
|
if (envMaxTokens !== void 0) {
|
|
5122
5279
|
maxTokens = isKnownModel ? Math.min(envMaxTokens, modelLimit) : envMaxTokens;
|
|
5123
5280
|
} else {
|
|
5124
|
-
maxTokens =
|
|
5281
|
+
maxTokens = defaultOutputCeiling(modelId);
|
|
5125
5282
|
}
|
|
5126
5283
|
}
|
|
5284
|
+
const temperatureDropped = this.modelRejectsTemperature();
|
|
5285
|
+
if (temperatureDropped && !this.temperatureDropWarned) {
|
|
5286
|
+
const userTemp = getParam("temperature", "temperature");
|
|
5287
|
+
if (userTemp !== void 0) {
|
|
5288
|
+
debugLogger2.warn(
|
|
5289
|
+
`temperature=${userTemp} is not supported by '${this.contentGeneratorConfig.model ?? "unknown"}' (deprecated on 4.8+); ignoring.`
|
|
5290
|
+
);
|
|
5291
|
+
}
|
|
5292
|
+
this.temperatureDropWarned = true;
|
|
5293
|
+
}
|
|
5127
5294
|
return {
|
|
5128
5295
|
max_tokens: maxTokens,
|
|
5129
|
-
temperature: getParam("temperature", "temperature") ?? 1,
|
|
5296
|
+
...temperatureDropped ? {} : { temperature: getParam("temperature", "temperature") ?? 1 },
|
|
5130
5297
|
top_p: getParam("top_p", "topP"),
|
|
5131
5298
|
top_k: getParam("top_k", "topK")
|
|
5132
5299
|
};
|
|
@@ -5162,7 +5329,7 @@ var AnthropicContentGenerator = class {
|
|
|
5162
5329
|
if (isDeepSeekAnthropicHostname(this.contentGeneratorConfig)) {
|
|
5163
5330
|
const mapped = effort === "xhigh" || effort === "max" ? "max" : "high";
|
|
5164
5331
|
if (mapped !== effort && !this.effortClampWarned) {
|
|
5165
|
-
|
|
5332
|
+
debugLogger2.warn(
|
|
5166
5333
|
`reasoning.effort='${effort}' is not accepted by the DeepSeek anthropic-compatible endpoint; using '${mapped}'.`
|
|
5167
5334
|
);
|
|
5168
5335
|
this.effortClampWarned = true;
|
|
@@ -5174,7 +5341,7 @@ var AnthropicContentGenerator = class {
|
|
|
5174
5341
|
);
|
|
5175
5342
|
const clamped = clampReasoningEffort(effort, supported);
|
|
5176
5343
|
if (clamped !== effort && !this.effortClampWarned) {
|
|
5177
|
-
|
|
5344
|
+
debugLogger2.warn(
|
|
5178
5345
|
`reasoning.effort='${effort}' is not supported by '${this.contentGeneratorConfig.model ?? "unknown"}'; using '${clamped}'.`
|
|
5179
5346
|
);
|
|
5180
5347
|
this.effortClampWarned = true;
|
|
@@ -5217,6 +5384,22 @@ var AnthropicContentGenerator = class {
|
|
|
5217
5384
|
const { major, minor } = parsed;
|
|
5218
5385
|
return major > 4 || major === 4 && minor >= 7;
|
|
5219
5386
|
}
|
|
5387
|
+
/**
|
|
5388
|
+
* Whether the model rejects the `temperature` sampling parameter with a 400.
|
|
5389
|
+
* Claude Opus 4.8+ deprecated temperature — the server controls sampling
|
|
5390
|
+
* determinism internally and responds with
|
|
5391
|
+
* `"temperature is deprecated for this model."` when the parameter is sent.
|
|
5392
|
+
* Older models (4.7 and below) and unknown/unversioned ids still accept it,
|
|
5393
|
+
* so both return false.
|
|
5394
|
+
*/
|
|
5395
|
+
modelRejectsTemperature() {
|
|
5396
|
+
const parsed = parseClaudeModelVersion(
|
|
5397
|
+
this.contentGeneratorConfig.model || ""
|
|
5398
|
+
);
|
|
5399
|
+
if (!parsed) return false;
|
|
5400
|
+
const { major, minor } = parsed;
|
|
5401
|
+
return major > 4 || major === 4 && minor >= 8;
|
|
5402
|
+
}
|
|
5220
5403
|
buildThinkingConfig(request, effectiveEffort) {
|
|
5221
5404
|
if (request.config?.thinkingConfig?.includeThoughts === false) {
|
|
5222
5405
|
return void 0;
|
|
@@ -5232,7 +5415,7 @@ var AnthropicContentGenerator = class {
|
|
|
5232
5415
|
};
|
|
5233
5416
|
}
|
|
5234
5417
|
if (reasoning?.budget_tokens !== void 0 && this.modelRejectsManualThinking() && !this.budgetDropWarned) {
|
|
5235
|
-
|
|
5418
|
+
debugLogger2.warn(
|
|
5236
5419
|
`reasoning.budget_tokens=${reasoning.budget_tokens} is ignored on '${this.contentGeneratorConfig.model ?? "unknown"}' (Opus 4.7+/5.x use adaptive thinking); output_config.effort governs thinking depth instead.`
|
|
5237
5420
|
);
|
|
5238
5421
|
this.budgetDropWarned = true;
|
|
@@ -5449,7 +5632,7 @@ var AnthropicContentGenerator = class {
|
|
|
5449
5632
|
if (hasAssistantPayload || hasFinishReason) {
|
|
5450
5633
|
return;
|
|
5451
5634
|
}
|
|
5452
|
-
|
|
5635
|
+
debugLogger2.warn(
|
|
5453
5636
|
"Anthropic stream ended without assistant payload or finish reason; probing once with a non-streaming request to surface provider errors."
|
|
5454
5637
|
);
|
|
5455
5638
|
let response;
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
BaseToolInvocation,
|
|
6
6
|
ToolDisplayNames,
|
|
7
7
|
ToolNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B5ORX3FG.js";
|
|
9
9
|
import {
|
|
10
10
|
openBrowserSecurely
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JESCGQM3.js";
|
|
12
12
|
import {
|
|
13
13
|
Storage,
|
|
14
14
|
createDebugLogger,
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
makeRelative,
|
|
19
19
|
shortenPath,
|
|
20
20
|
unescapePath
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-J4TSQ5EQ.js";
|
|
22
|
+
import "./chunk-TB6UDU4T.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5O2XNYP6.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-J2S4EL5Y.js";
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
CAP_ESCALATION_LABELS
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-2HRYPZT5.js";
|
|
6
|
+
import "./chunk-SZRN75WQ.js";
|
|
7
7
|
import {
|
|
8
8
|
BaseDeclarativeTool,
|
|
9
9
|
BaseToolInvocation,
|
|
10
10
|
ToolDisplayNames,
|
|
11
11
|
ToolNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B5ORX3FG.js";
|
|
13
13
|
import {
|
|
14
14
|
createDebugLogger
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-J4TSQ5EQ.js";
|
|
16
|
+
import "./chunk-TB6UDU4T.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5O2XNYP6.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-J2S4EL5Y.js";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
classifyTurnErrorKind,
|
|
5
|
+
createAcpSessionBridge,
|
|
6
|
+
createHttpAcpBridge,
|
|
7
|
+
extractErrorCode,
|
|
8
|
+
extractErrorMessage
|
|
9
|
+
} from "./chunk-VAUPLGDZ.js";
|
|
10
|
+
import "./chunk-OCPBI7J5.js";
|
|
11
|
+
import "./chunk-IAVB3HM3.js";
|
|
12
|
+
import "./chunk-PZL23GTM.js";
|
|
13
|
+
import "./chunk-W7FJ3N32.js";
|
|
14
|
+
import "./chunk-6RLROE6G.js";
|
|
15
|
+
import "./chunk-COH43MRJ.js";
|
|
16
|
+
import "./chunk-BZP7HZTK.js";
|
|
17
|
+
import "./chunk-TEGEBB2I.js";
|
|
18
|
+
import "./chunk-TJCEUA3S.js";
|
|
19
|
+
import "./chunk-M5GB774H.js";
|
|
20
|
+
import "./chunk-UDXSXLER.js";
|
|
21
|
+
import "./chunk-UUVCHN62.js";
|
|
22
|
+
import "./chunk-CU3L64TP.js";
|
|
23
|
+
import "./chunk-ZJE7NSL3.js";
|
|
24
|
+
import "./chunk-H6XPXXMH.js";
|
|
25
|
+
import "./chunk-MC23XKFE.js";
|
|
26
|
+
import "./chunk-LUODI7WD.js";
|
|
27
|
+
import "./chunk-ORBGV7NJ.js";
|
|
28
|
+
import "./chunk-KKNMOEZH.js";
|
|
29
|
+
import "./chunk-W2UIXQDL.js";
|
|
30
|
+
import "./chunk-XU457J4V.js";
|
|
31
|
+
import "./chunk-VDDGDZMA.js";
|
|
32
|
+
import "./chunk-CEA3E3JB.js";
|
|
33
|
+
import "./chunk-SZRN75WQ.js";
|
|
34
|
+
import "./chunk-HTO4JFDZ.js";
|
|
35
|
+
import "./chunk-CPBF7KYF.js";
|
|
36
|
+
import "./chunk-4GORAUCN.js";
|
|
37
|
+
import "./chunk-6AM5D4ME.js";
|
|
38
|
+
import "./chunk-7R3CZA3Q.js";
|
|
39
|
+
import "./chunk-GWHYEOV2.js";
|
|
40
|
+
import "./chunk-4QLQE5WJ.js";
|
|
41
|
+
import "./chunk-5XUCZNSY.js";
|
|
42
|
+
import "./chunk-MUCWGT7O.js";
|
|
43
|
+
import "./chunk-4WKAA4KS.js";
|
|
44
|
+
import "./chunk-CR3C7WXL.js";
|
|
45
|
+
import "./chunk-CARU2RR2.js";
|
|
46
|
+
import "./chunk-VGC4I5JJ.js";
|
|
47
|
+
import "./chunk-YLV3XXFB.js";
|
|
48
|
+
import "./chunk-TDEXZKMT.js";
|
|
49
|
+
import "./chunk-J3JA76CF.js";
|
|
50
|
+
import "./chunk-B5ORX3FG.js";
|
|
51
|
+
import "./chunk-BZIFY5TF.js";
|
|
52
|
+
import "./chunk-UOZWKTQG.js";
|
|
53
|
+
import "./chunk-JESCGQM3.js";
|
|
54
|
+
import "./chunk-ZLXQN2QS.js";
|
|
55
|
+
import "./chunk-XVNQMZ2I.js";
|
|
56
|
+
import "./chunk-524RQP4Q.js";
|
|
57
|
+
import "./chunk-JSG7ZSBC.js";
|
|
58
|
+
import "./chunk-A4UCTEB5.js";
|
|
59
|
+
import "./chunk-XWRJCPHC.js";
|
|
60
|
+
import "./chunk-4LD5APFL.js";
|
|
61
|
+
import "./chunk-TYAMGABM.js";
|
|
62
|
+
import "./chunk-FCMNKVXT.js";
|
|
63
|
+
import "./chunk-DJ2GSRLV.js";
|
|
64
|
+
import "./chunk-4ZVWQHEQ.js";
|
|
65
|
+
import "./chunk-J4TSQ5EQ.js";
|
|
66
|
+
import "./chunk-75DOP5OR.js";
|
|
67
|
+
import "./chunk-DMTGGOSA.js";
|
|
68
|
+
import "./chunk-YQ3U5MUC.js";
|
|
69
|
+
import "./chunk-TB6UDU4T.js";
|
|
70
|
+
import "./chunk-5O2XNYP6.js";
|
|
71
|
+
import "./chunk-J2S4EL5Y.js";
|
|
72
|
+
export {
|
|
73
|
+
classifyTurnErrorKind,
|
|
74
|
+
createAcpSessionBridge,
|
|
75
|
+
createHttpAcpBridge,
|
|
76
|
+
extractErrorCode,
|
|
77
|
+
extractErrorMessage
|
|
78
|
+
};
|