@qwen-code/qwen-code 0.19.8 → 0.19.9-preview.0
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 +68 -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 +82 -7
- package/bundled/qc-helper/docs/features/channels/wecom.md +6 -0
- package/bundled/qc-helper/docs/features/code-review.md +109 -41
- package/bundled/qc-helper/docs/features/commands.md +45 -44
- package/bundled/qc-helper/docs/features/computer-use.md +77 -0
- package/bundled/qc-helper/docs/features/hooks.md +29 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +21 -0
- 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 +66 -23
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +2 -2
- package/bundled/review/DESIGN.md +303 -46
- package/bundled/review/SKILL.md +670 -165
- package/chunks/MaxSizedBox-BEVSAWZ6.js +70 -0
- package/chunks/{StandaloneSessionPicker-EYRGH6PJ.js → StandaloneSessionPicker-2DA2MDDE.js} +81 -79
- package/chunks/{acpAgent-GRFTTRHW.js → acpAgent-G3WJU3PS.js} +1318 -465
- package/chunks/agent-DD3WSHXE.js +68 -0
- package/chunks/agent-headless-MHI7U2CU.js +62 -0
- package/chunks/{anthropicContentGenerator-CPF22MA7.js → anthropicContentGenerator-56U3YCP2.js} +187 -31
- package/chunks/{artifact-tool-D233YJFH.js → artifact-tool-MIZLXBLF.js} +5 -5
- package/chunks/{askUserQuestion-MKL5ZTMC.js → askUserQuestion-XMJVPNWM.js} +6 -6
- package/chunks/bridge-HKEWPNB5.js +78 -0
- package/chunks/{ca-MKD32FQL.js → ca-C2JTT2N5.js} +68 -6
- package/chunks/channel-worker-group-K7QKH6IG.js +13 -0
- package/chunks/channel-worker-manager-YSFB4HUU.js +418 -0
- package/chunks/channel-worker-supervisor-QCKIOYZD.js +20 -0
- package/chunks/chunk-2FMQQXMM.js +38 -0
- package/chunks/{chunk-CSOTA7KX.js → chunk-2FO5GFKZ.js} +2 -2
- package/chunks/{chunk-QQDPRDVW.js → chunk-2HRYPZT5.js} +1 -1
- package/chunks/{chunk-UXEW557D.js → chunk-2J4ZWME4.js} +3 -3
- package/chunks/{chunk-P3XEEI3X.js → chunk-2TQXXQMI.js} +36 -7
- package/chunks/{chunk-GSHQYYIV.js → chunk-2UW5RFRP.js} +6 -26
- package/chunks/{chunk-6IAWPIQ6.js → chunk-2W3OOD4W.js} +5 -3
- package/chunks/{chunk-2PSWA5ID.js → chunk-2X56YUSZ.js} +1 -1
- package/chunks/{chunk-NQKLOAVJ.js → chunk-2Z5UX4KI.js} +2 -2
- package/chunks/chunk-3MX7D6QN.js +516 -0
- package/chunks/{chunk-EEN2TKST.js → chunk-43RXPU5Q.js} +2 -2
- package/chunks/{chunk-55ZMG67I.js → chunk-4LD5APFL.js} +4 -4
- package/chunks/{chunk-WF4FAXDL.js → chunk-4QZ3XHWE.js} +62 -62
- package/chunks/chunk-4QZADKJS.js +34 -0
- package/chunks/{chunk-UIDXQNMV.js → chunk-4WGODMVR.js} +1 -1
- package/chunks/{chunk-E6US47KI.js → chunk-4WKAA4KS.js} +1 -1
- package/chunks/{chunk-TI3BWD4D.js → chunk-54UZQ57N.js} +39 -19
- package/chunks/{chunk-3GONHQOA.js → chunk-57OAHC2Y.js} +1 -1
- package/chunks/{chunk-JZSY4WP3.js → chunk-5DTTYNB7.js} +1 -1
- package/chunks/chunk-5HBA2Z7V.js +28 -0
- package/chunks/{chunk-SKAZWEV5.js → chunk-5M6IDOMF.js} +35 -98
- package/chunks/{chunk-A4BMJM77.js → chunk-5O2XNYP6.js} +1 -0
- package/chunks/{chunk-FQNC62B2.js → chunk-5VHASII5.js} +11 -11
- package/chunks/{chunk-GO6LNQXT.js → chunk-6AM5D4ME.js} +1 -1
- package/chunks/{chunk-BJBWRCSK.js → chunk-6H67XLET.js} +1 -1
- package/chunks/{chunk-O7FIRWJV.js → chunk-6JPDCEDB.js} +3 -3
- package/chunks/{chunk-3UP777ZS.js → chunk-6RLROE6G.js} +1 -1
- package/chunks/{chunk-GN3F6PIU.js → chunk-6WPJRYLZ.js} +5 -5
- package/chunks/{chunk-ZERZSAZL.js → chunk-75DOP5OR.js} +2 -2
- package/chunks/chunk-7DKX4A5Z.js +91 -0
- package/chunks/{chunk-M7S4GK5Z.js → chunk-7IDCQ35Q.js} +147 -30
- package/chunks/{chunk-22MNNNXE.js → chunk-7NFB7LBQ.js} +11 -3
- package/chunks/{chunk-ZL5HN75Q.js → chunk-7R4DPSRA.js} +37 -3
- package/chunks/{chunk-VZ7HY3YU.js → chunk-7STBROEV.js} +3 -3
- package/chunks/{chunk-SAIILPQ3.js → chunk-7X7TEQNX.js} +5 -3
- package/chunks/{chunk-RMLZAUWH.js → chunk-A3U2TQUL.js} +10 -12
- package/chunks/{chunk-IRJWHZWU.js → chunk-A4UCTEB5.js} +2 -2
- package/chunks/{chunk-BOBRZZKD.js → chunk-A7W4GQRW.js} +5 -5
- package/chunks/{chunk-O33TBKDC.js → chunk-AAUZBE5Y.js} +155 -19
- package/chunks/{chunk-SQ2UATK7.js → chunk-ADLYZJYZ.js} +11 -11
- package/chunks/{chunk-QYUE6W3T.js → chunk-ALGGS7UH.js} +2 -39
- package/chunks/{chunk-WMPVYQ4P.js → chunk-ARKANCNX.js} +3 -2
- package/chunks/{chunk-IBY3Q3HG.js → chunk-AU4R7ACM.js} +967 -181
- package/chunks/{channel-worker-supervisor-NZQUOEFJ.js → chunk-B7MFJBKE.js} +190 -34
- package/chunks/{chunk-HW4N45EE.js → chunk-B7NUUEXC.js} +38 -11
- package/chunks/{chunk-3B26UVCX.js → chunk-BLPMRN4B.js} +39 -10
- package/chunks/{chunk-ZN5T4BHI.js → chunk-BPZALHVR.js} +2 -2
- package/chunks/{chunk-BVYU3ZTI.js → chunk-BXT6PQ73.js} +1020 -942
- package/chunks/{chunk-OFEVLU4C.js → chunk-CARU2RR2.js} +1 -1
- package/chunks/{chunk-HDOH3QYE.js → chunk-CEGKYZDB.js} +2 -2
- package/chunks/{chunk-GLE2YUPU.js → chunk-COH43MRJ.js} +1 -1
- package/chunks/{chunk-E5A7LHNN.js → chunk-CPBF7KYF.js} +1 -1
- package/chunks/{chunk-UWCTAVOD.js → chunk-CR3C7WXL.js} +1 -1
- package/chunks/{chunk-IWKSG2AR.js → chunk-CXAOG665.js} +1 -1
- package/chunks/{chunk-64WXLC72.js → chunk-DJ2GSRLV.js} +1 -1
- package/chunks/{chunk-QN5NZ3UQ.js → chunk-DMTGGOSA.js} +2 -2
- package/chunks/{chunk-27BHARDE.js → chunk-DMVA55W5.js} +2124 -30
- package/chunks/{chunk-JPALE3PA.js → chunk-DQCCLVQK.js} +6 -6
- package/chunks/{chunk-X2XNQQJI.js → chunk-E2UVIFI2.js} +186 -399
- package/chunks/{chunk-KHDZHZMH.js → chunk-E5Z2AVNV.js} +1 -1
- package/chunks/{chunk-E7EMCSUG.js → chunk-EAHMOXLL.js} +64 -42
- package/chunks/{chunk-VGGOPZUL.js → chunk-EJ3KGYWL.js} +36 -8
- package/chunks/{chunk-DIWVZ3VM.js → chunk-ERTHKDKN.js} +5 -5
- package/chunks/{chunk-UX6OTBVD.js → chunk-EX5OULP3.js} +2 -2
- package/chunks/{chunk-5MBO76SL.js → chunk-F333XEAU.js} +3 -3
- package/chunks/{chunk-OACJLMLD.js → chunk-FBU7WRZI.js} +18 -2
- package/chunks/{chunk-5IFG2VC4.js → chunk-FCMNKVXT.js} +1 -1
- package/chunks/chunk-FEOBU3FA.js +253 -0
- package/chunks/{chunk-LAXNEOBG.js → chunk-FI2WSOWX.js} +19 -3
- package/chunks/{chunk-E7KNELIZ.js → chunk-FSA7ERJ2.js} +2 -2
- package/chunks/{chunk-44NROQYV.js → chunk-GDQQRV43.js} +4 -4
- package/chunks/{chunk-ZE6E424U.js → chunk-GN5HJJBO.js} +2 -2
- package/chunks/{chunk-O2YT7VB4.js → chunk-GOXKNSDZ.js} +2 -65
- package/chunks/{chunk-V35MD7KN.js → chunk-GRC5HGPI.js} +1 -1
- package/chunks/{chunk-ON3JA3RU.js → chunk-GTENQOEJ.js} +7 -9
- package/chunks/{chunk-S6RLAIUR.js → chunk-GYTKQYDB.js} +1 -1
- package/chunks/{chunk-A2X3KLC3.js → chunk-GZXCZHCT.js} +3 -3
- package/chunks/{chunk-K5PGHDBN.js → chunk-H6XPXXMH.js} +1 -1
- package/chunks/{chunk-PMFULMLX.js → chunk-HCJTURZD.js} +2262 -384
- package/chunks/chunk-HGG2RRXD.js +445 -0
- package/chunks/{chunk-II73RK2S.js → chunk-HGT6JR3U.js} +20 -1
- package/chunks/{chunk-DICGXFAI.js → chunk-HJCVNZLQ.js} +11 -9
- package/chunks/{chunk-3GNOQZDC.js → chunk-HJUDVNCO.js} +17663 -14877
- package/chunks/{chunk-AYNCLGTW.js → chunk-HRUGYOJN.js} +8 -51
- package/chunks/{chunk-KYMBIKIW.js → chunk-HTHUX2T5.js} +1 -1
- package/chunks/{chunk-LQ7TMOCE.js → chunk-HTO4JFDZ.js} +1 -1
- package/chunks/{chunk-BUZ6HGL4.js → chunk-HWTL6MPR.js} +357 -59
- package/chunks/chunk-IDS7MSUP.js +74 -0
- package/chunks/{chunk-4CGOWHKM.js → chunk-J4MOFEOK.js} +2 -2
- package/chunks/chunk-JCD4FM7K.js +296 -0
- package/chunks/{chunk-22IFUCVR.js → chunk-JESCGQM3.js} +1 -1
- package/chunks/{chunk-JZHIQJOE.js → chunk-JGO6RFI2.js} +6 -6
- package/chunks/{chunk-X3YGAX7V.js → chunk-JGUT3LWZ.js} +9 -2
- package/chunks/{chunk-JRQ7EVGE.js → chunk-JW7OOJC6.js} +2 -2
- package/chunks/{chunk-OQXDAMKY.js → chunk-KF5MMGG4.js} +8 -8
- package/chunks/{chunk-42XGFRJS.js → chunk-KKRTYONM.js} +8 -6
- package/chunks/{chunk-GGQQA4JW.js → chunk-KSO42X3Z.js} +15 -2
- package/chunks/{chunk-MRO43B25.js → chunk-KW7NOTN6.js} +1 -1
- package/chunks/{chunk-54YZOP7P.js → chunk-L573Z2QZ.js} +11894 -5190
- package/chunks/{chunk-TLWA7TPR.js → chunk-L5U3ELZX.js} +2 -2
- package/chunks/{chunk-YHKAK72D.js → chunk-LHEOLOXU.js} +251 -63
- package/chunks/{chunk-H6EMK6QK.js → chunk-LQIDP6K5.js} +11913 -5207
- package/chunks/{chunk-I6WGFJJ3.js → chunk-LSEJG6AM.js} +73 -19
- package/chunks/{chunk-MZ7BABX3.js → chunk-LXLTBIDP.js} +44 -7
- package/chunks/{chunk-HLKG6CZN.js → chunk-M5GB774H.js} +1 -1
- package/chunks/{chunk-JCH35JB3.js → chunk-MKK4XGLF.js} +2 -2
- package/chunks/{chunk-YKZIAK7C.js → chunk-MO7O5722.js} +424 -40
- package/chunks/chunk-MR3PXB6E.js +48 -0
- package/chunks/{chunk-A5JOJ77H.js → chunk-MRYWYBQ4.js} +38 -15
- package/chunks/{chunk-332PWN27.js → chunk-NHDKSOEY.js} +1 -1
- package/chunks/{chunk-TSPB77TG.js → chunk-NRAFASYX.js} +1016 -2967
- package/chunks/{chunk-BMFMJINR.js → chunk-OA4JVLSA.js} +28 -2
- package/chunks/{chunk-P7M4GA57.js → chunk-OCPBI7J5.js} +1 -1
- package/chunks/chunk-OJAMDVF5.js +66 -0
- package/chunks/{chunk-IJRL2S3D.js → chunk-OKAIGAYW.js} +6 -6
- package/chunks/{chunk-FBET5XZ2.js → chunk-PEJWA3QQ.js} +29 -10
- package/chunks/{chunk-L4AMBVQG.js → chunk-PMKW35AT.js} +54 -22
- package/chunks/{chunk-AGHU5VRK.js → chunk-PZL23GTM.js} +1 -1
- package/chunks/{chunk-PC4ZXHU2.js → chunk-Q6TUALBE.js} +3 -3
- package/chunks/{chunk-FXGLL2HL.js → chunk-Q7YDKOGY.js} +1 -1
- package/chunks/{chunk-XOHNA2S6.js → chunk-QAW7PIHT.js} +3 -3
- package/chunks/{chunk-XYR5RUA5.js → chunk-QE2WJ7FS.js} +10 -3
- package/chunks/{chunk-LGFAYIKX.js → chunk-QHTIBUWB.js} +1 -1
- package/chunks/{chunk-P3MYAZBY.js → chunk-QMGX2KO2.js} +1 -1
- package/chunks/{chunk-Z3I3QJK3.js → chunk-QRUIS3DN.js} +1 -1
- package/chunks/{chunk-ITOGNELQ.js → chunk-QSWDGAIC.js} +2 -2
- package/chunks/{chunk-PUVCVELY.js → chunk-QUJOI7SR.js} +70 -8
- package/chunks/{chunk-GHOTR7HL.js → chunk-QUPXZXLV.js} +1 -1
- package/chunks/{chunk-6VK6FIMQ.js → chunk-R5D5JOAM.js} +415 -379
- package/chunks/{chunk-CD6USWHZ.js → chunk-R5XLNDE2.js} +2 -2
- package/chunks/{chunk-W7EEOR7D.js → chunk-RCEEXIOO.js} +8 -6
- package/chunks/{chunk-TLRYABYP.js → chunk-RKUWKYED.js} +1 -1
- package/chunks/{chunk-RNBYOUGV.js → chunk-RXFQM6FQ.js} +1 -1
- package/chunks/{chunk-QXPI7FEC.js → chunk-S3TWXGKA.js} +4 -4
- package/chunks/{chunk-2EM7ECZD.js → chunk-SMSFWUFY.js} +309 -80
- package/chunks/{chunk-FV7425LN.js → chunk-SPJQO2CE.js} +18 -5
- 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-EXPMGZZV.js → chunk-TEGEBB2I.js} +1 -1
- package/chunks/{chunk-MX2YXRER.js → chunk-TJTKSVIV.js} +1 -1
- package/chunks/{chunk-CCGOFQV3.js → chunk-TQBODCFD.js} +8 -7
- package/chunks/chunk-TV6K2FB4.js +224 -0
- package/chunks/{chunk-H6BD2ELD.js → chunk-TYAMGABM.js} +2 -2
- package/chunks/{chunk-QYNNN7BK.js → chunk-TYLOFD2U.js} +2 -2
- package/chunks/{chunk-VRDMOSQS.js → chunk-UDXSXLER.js} +2 -2
- package/chunks/{chunk-DHOLNQLC.js → chunk-UFDX27PL.js} +60 -40
- package/chunks/{chunk-WHJQ3JUS.js → chunk-UGN6CTNZ.js} +10 -10
- package/chunks/{chunk-CHB5SLZZ.js → chunk-UNLRKDMW.js} +4 -4
- package/chunks/{chunk-CJCKDMWO.js → chunk-URK542T4.js} +1 -1
- package/chunks/{chunk-AHNXYU4O.js → chunk-V6WHFGST.js} +1 -1
- package/chunks/{chunk-ZTQ26VBE.js → chunk-VDDGDZMA.js} +1 -1
- package/chunks/{chunk-BOBOCR5H.js → chunk-VEETSXYX.js} +4 -4
- package/chunks/{chunk-OMX7CUOE.js → chunk-VGC4I5JJ.js} +1 -1
- package/chunks/{chunk-43W4YSO6.js → chunk-VJNBRRZG.js} +2 -2
- package/chunks/{chunk-WQTHLB5T.js → chunk-VKS7EIOA.js} +7 -7
- package/chunks/{chunk-J7RCB6N5.js → chunk-VVDNGM6X.js} +2 -2
- package/chunks/{chunk-ER3BKOLB.js → chunk-W7FJ3N32.js} +1 -1
- package/chunks/{chunk-3HX5LZ6R.js → chunk-WBL3FJEU.js} +2 -2
- package/chunks/{chunk-7LTB54MK.js → chunk-WIEO4CWB.js} +2 -2
- package/chunks/chunk-WMC6HH7Y.js +493 -0
- package/chunks/{chunk-FEJ2FZ3U.js → chunk-WTNZ6DXB.js} +2 -2
- package/chunks/{chunk-L46XKEGM.js → chunk-X6ODDESK.js} +5 -8
- package/chunks/chunk-XDPYM5DE.js +71 -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-SUAKHHK7.js → chunk-Y66VOBRP.js} +3 -3
- package/chunks/chunk-YAF2MQZ6.js +19 -0
- package/chunks/chunk-YHN5SUIJ.js +219 -0
- package/chunks/{chunk-BR4QREVK.js → chunk-YQ3U5MUC.js} +1 -1
- package/chunks/{chunk-Y6Z2O3WR.js → chunk-YUZI3WAC.js} +1 -1
- package/chunks/{chunk-YDOXPLYL.js → chunk-ZA74ZTQU.js} +4564 -1326
- package/chunks/{chunk-DCZWC4PF.js → chunk-ZGE3222J.js} +5 -5
- package/chunks/chunk-ZP4ZZJJG.js +448 -0
- package/chunks/{chunk-AHNJGLFV.js → chunk-ZPAHLFZU.js} +3 -3
- package/chunks/cli-entry-path-4VJ3Y6T2.js +10 -0
- package/chunks/{computer-use-WMY3UOBX.js → computer-use-SHA6C3ES.js} +50 -50
- package/chunks/config-utils-XSHOMMK4.js +24 -0
- package/chunks/contextCommand-HOAF5LUC.js +68 -0
- package/chunks/create-sub-session-EAB2U5XW.js +207 -0
- package/chunks/create-sub-session-WJOWBFEP.js +375 -0
- package/chunks/{cron-create-JSXEIPVS.js → cron-create-GMVKSXZT.js} +9 -9
- package/chunks/{cron-delete-OIFVEPGU.js → cron-delete-VDZKUAVK.js} +7 -7
- package/chunks/{cron-list-D4ZX4IOE.js → cron-list-UG7C7RAR.js} +14 -10
- package/chunks/{daemon-WPAENEBW.js → daemon-MI5HF26N.js} +1074 -61
- package/chunks/daemon-status-provider-KFL3LRTP.js +76 -0
- package/chunks/{de-ZFPPQVSF.js → de-2VCDRDGU.js} +68 -6
- package/chunks/{devtools-FM6GJPYG.js → devtools-4QFYJT6U.js} +3 -3
- package/chunks/{dist-O2IRTRPP.js → dist-IEXZC5ZR.js} +10 -10
- package/chunks/{dist-SCFLLYMK.js → dist-PQK4GCKA.js} +12 -11
- package/chunks/{dist-63IS3ZMI.js → dist-PZV5RKM6.js} +4 -4
- package/chunks/{dist-E6UANPIM.js → dist-U75JK3PF.js} +1011 -197
- package/chunks/{dist-H2AEJCZ5.js → dist-VXO7QBON.js} +5 -5
- package/chunks/{dist-Z34QPAQW.js → dist-WH4TZSH3.js} +529 -79
- package/chunks/{dist-BEXOZXLQ.js → dist-X2ABIW5R.js} +36 -15
- package/chunks/earlyInputCapture-PKAQJMIP.js +69 -0
- package/chunks/{edit-OTYWAXGP.js → edit-6TXLYHJ2.js} +51 -51
- package/chunks/{en-N4EPZAQI.js → en-NJCA3TAA.js} +78 -6
- package/chunks/{enter-worktree-HNYBDVCX.js → enter-worktree-ZTILGPJX.js} +50 -50
- package/chunks/{enterPlanMode-CJCNGT63.js → enterPlanMode-62HRAMCH.js} +66 -51
- package/chunks/environment-OYA3ZVEL.js +89 -0
- package/chunks/errors-BFXOUUUR.js +75 -0
- package/chunks/{exit-worktree-DUUKOE3X.js → exit-worktree-HHJ5M6MV.js} +50 -50
- package/chunks/{exitPlanMode-AMMSXOAJ.js → exitPlanMode-M3SWHCL7.js} +51 -51
- package/chunks/{fast-path-OV6NIP3K.js → fast-path-3VMPLM74.js} +8 -8
- package/chunks/{fast-path-settings-7RIFI3PK.js → fast-path-settings-DAOVFADC.js} +8 -6
- package/chunks/{fileFromPath-IBEHA3CO.js → fileFromPath-UDALK7FM.js} +3 -3
- package/chunks/{fr-5WWMY53B.js → fr-5F3E7WKD.js} +68 -6
- package/chunks/{gemini-NQ3WWBKB.js → gemini-ZCGVYOJL.js} +181 -110
- package/chunks/{geminiContentGenerator-CDUNEJQE.js → geminiContentGenerator-XBYBAIDQ.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-ROV3YS4R.js → glob-UOEYQNHN.js} +97 -75
- package/chunks/{grep-NRITKDCD.js → grep-OQM3CH7W.js} +50 -50
- package/chunks/handleAutoUpdate-ORBYVJHZ.js +69 -0
- package/chunks/i18n-NBP574CO.js +84 -0
- package/chunks/initializer-CWD7TCCD.js +73 -0
- package/chunks/installationInfo-CHPDUPWC.js +65 -0
- package/chunks/{ja-CUHZOLEJ.js → ja-66J6B53L.js} +69 -7
- package/chunks/{keychain-token-storage-UJV5XP4Z.js → keychain-token-storage-AU22CQI6.js} +4 -4
- package/chunks/{kittyProtocolDetector-OJRCJLIU.js → kittyProtocolDetector-HCNNKJTI.js} +2 -2
- package/chunks/list-ZTTO362W.js +76 -0
- package/chunks/loadedSettingsAdapter-V4ZTRKUO.js +70 -0
- package/chunks/{loop-wakeup-OHWEMFP5.js → loop-wakeup-C4EXLYVA.js} +10 -10
- package/chunks/{lowlight-FYAAUU5J.js → lowlight-J2OZNPCA.js} +1 -1
- package/chunks/{ls-7MFU2QYW.js → ls-2OUTG3IZ.js} +6 -6
- package/chunks/{lsp-XHDTPTGV.js → lsp-4VMNXZW6.js} +4 -4
- package/chunks/mcp-UH5PSGIK.js +70 -0
- package/chunks/{monitor-FL2ZO33W.js → monitor-F4NYEU5J.js} +50 -50
- package/chunks/{multipart-parser-AJ4WASWR.js → multipart-parser-AWZKXSQN.js} +3 -3
- package/chunks/nonInteractiveCli-7IHPXVNH.js +129 -0
- package/chunks/{notebook-edit-6PULTHL5.js → notebook-edit-HPDXNGQH.js} +51 -51
- package/chunks/openaiContentGenerator-OBDNNOE2.js +56 -0
- package/chunks/pidfile-AUMGYIOK.js +73 -0
- package/chunks/{pt-OLYN42DS.js → pt-TFZO5Y6T.js} +68 -6
- package/chunks/{qwenContentGenerator-NX2E7PB7.js → qwenContentGenerator-LH2U2YRG.js} +52 -52
- package/chunks/{qwenOAuth2-ZV7YLMND.js → qwenOAuth2-LEYOU7RU.js} +9 -9
- package/chunks/read-file-HUUFBLEO.js +30 -0
- package/chunks/{read-mcp-resource-CNQHBSJM.js → read-mcp-resource-JUFHCKSC.js} +5 -5
- package/chunks/{read-package-up-ER5OJUGP.js → read-package-up-TCM6I7S2.js} +2 -2
- package/chunks/{record-artifact-SQ2OKRJW.js → record-artifact-DWSMBXYY.js} +4 -4
- package/chunks/ripGrep-C7X33LU6.js +60 -0
- package/chunks/{ru-LDM3GWVQ.js → ru-4L4LFHIT.js} +68 -6
- package/chunks/{run-qwen-serve-JK2DL7PI.js → run-qwen-serve-DGW5AFDJ.js} +1465 -283
- package/chunks/runtime-NYUSLBEZ.js +99 -0
- package/chunks/{scheduler-O4IGVZKK.js → scheduler-5VKDXULT.js} +51 -51
- package/chunks/{send-message-76GT3JMC.js → send-message-JZ752NWD.js} +7 -7
- package/chunks/serve-UTAHSFXH.js +76 -0
- package/chunks/{server-SGNPKX2O.js → server-VUHSYSUV.js} +9088 -1817
- package/chunks/{session-5BNM25EZ.js → session-QSGSSNFB.js} +340 -135
- package/chunks/settings-X24RYEED.js +120 -0
- package/chunks/shell-4MSI2R4O.js +70 -0
- package/chunks/{skill-I22QK5XS.js → skill-JR3GTNVZ.js} +24 -24
- package/chunks/spawnChannel-RFAAO44J.js +70 -0
- package/chunks/{src-7XL4G4DC.js → src-VLI3TKEY.js} +4 -4
- package/chunks/{src-BBQSM46M.js → src-YDBNMIIM.js} +183 -53
- package/chunks/standalone-update-4CY4HKGC.js +79 -0
- package/chunks/{startInteractiveUI-JII36UGN.js → startInteractiveUI-FOD7MMVB.js} +2368 -1923
- package/chunks/stdioHelpers-UMY72QRP.js +14 -0
- package/chunks/{syntheticOutput-F7LSDCAR.js → syntheticOutput-LELY6HAI.js} +5 -5
- package/chunks/task-create-QY3BIMNM.js +23 -0
- package/chunks/{task-list-TGGJX7EA.js → task-list-D2U47WBJ.js} +11 -10
- package/chunks/{task-stop-W7NGTMYQ.js → task-stop-N6E5IYLH.js} +4 -4
- package/chunks/{task-update-XYWMHJGJ.js → task-update-HJCQILLB.js} +13 -12
- package/chunks/{team-create-A7NUU5AQ.js → team-create-ZLQSU2E3.js} +50 -50
- package/chunks/{team-delete-UHQQ2QQX.js → team-delete-RCWYDRF4.js} +11 -10
- package/chunks/{team-plan-approval-TOQRJ2KI.js → team-plan-approval-YUAYBYLS.js} +50 -50
- package/chunks/theme-manager-SKNEBMOG.js +64 -0
- package/chunks/{todoWrite-C4ZAMSR3.js → todoWrite-FKCGATPJ.js} +6 -6
- package/chunks/{tool-search-SZ4EFS2T.js → tool-search-V5J3TGWY.js} +24 -24
- package/chunks/total-session-admission-2WIH72I3.js +72 -0
- package/chunks/tree-sitter-YJVE2ZUK.js +2980 -0
- package/chunks/trustedFolders-JF265CRI.js +80 -0
- package/chunks/types-ML3TRJQ5.js +16 -0
- package/chunks/updateCheck-AMXNPBP6.js +69 -0
- package/chunks/updateEventEmitter-5MKC7BLQ.js +10 -0
- package/chunks/validateNonInterActiveAuth-6YHQO7PD.js +194 -0
- package/chunks/{version-NO2XSNNP.js → version-UEJJK7PE.js} +3 -3
- package/chunks/{web-fetch-UYGMOHW4.js → web-fetch-QGODBB6S.js} +8 -8
- package/chunks/{workflow-WO2H6NRI.js → workflow-5YFA5V4M.js} +51 -51
- package/chunks/workspace-providers-status-LMBLBNR7.js +73 -0
- package/chunks/workspace-registration-store-VV2S4MSV.js +27 -0
- package/chunks/workspace-registry-BVMPYRLN.js +76 -0
- package/chunks/workspace-service-PUYIZ3J4.js +86 -0
- package/chunks/workspace-skills-status-CJ7J2KPP.js +72 -0
- package/chunks/{write-file-PX2Z7IBE.js → write-file-OV77M6X7.js} +51 -51
- package/chunks/{yargs-B64EYTCF.js → yargs-6H2AUULL.js} +2 -2
- package/chunks/{zh-J4F6QWQV.js → zh-FSAH32JB.js} +79 -7
- package/chunks/{zh-TW-XVDWOLSW.js → zh-TW-D2YIE2LO.js} +79 -7
- package/cli.js +18 -17
- package/locales/ca.js +91 -7
- package/locales/de.js +90 -7
- package/locales/en.js +109 -7
- package/locales/fr.js +91 -7
- package/locales/ja.js +93 -7
- package/locales/pt.js +90 -7
- package/locales/ru.js +90 -7
- package/locales/zh-TW.js +106 -7
- package/locales/zh.js +106 -7
- package/package.json +3 -6
- package/web-shell/assets/{arc-BWyoJpY2.js → arc-CObt_TK9.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BT0mGrz2.js → architectureDiagram-3BPJPVTR-B7aiJ6CK.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-BLgUWvyf.js → blockDiagram-GPEHLZMM-BSK2CrID.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DYx9M7oU.js → c4Diagram-AAUBKEIU-Bhx2p7T_.js} +1 -1
- package/web-shell/assets/channel-BBaLq8MV.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CfMHWbuZ.js → chunk-2J33WTMH-c3Hzv0Ni.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-B1URoqEV.js → chunk-4BX2VUAB-DNXaK7ZF.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DAIaM4QF.js → chunk-55IACEB6-BXjvDj_i.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-B2X34knw.js → chunk-727SXJPM-B6CaKFp-.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-Cif-zLTQ.js → chunk-AQP2D5EJ-tij6Mz9B.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-H18WCXdY.js → chunk-FMBD7UC4-DdlsGk2h.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-YFtetHi0.js → chunk-ND2GUHAM-CdgGZSHE.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-By2hiH3r.js → chunk-QZHKN3VN-D8oJn1C0.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-B2ZK6sWE.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B2ZK6sWE.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-VrcnnLZu.js → cose-bilkent-S5V4N54A-BUVmNp1Y.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-CGo-IaVV.js → dagre-BM42HDAG-CO4q310O.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-Dl4QjzIB.js → diagram-2AECGRRQ-C6gFvWkg.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-qMLmsO0u.js → diagram-5GNKFQAL-NG2I_c0h.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CHlmuxPI.js → diagram-KO2AKTUF-DFKMS6I9.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BUwU3GwT.js → diagram-LMA3HP47-BiElfsfP.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-HEhwPDUM.js → diagram-OG6HWLK6-zLWDYUqu.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-1n0llBmM.js → erDiagram-TEJ5UH35-DoVaazhK.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BN74uMnt.js → flowDiagram-I6XJVG4X-0RLz-mXg.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BoOq78i3.js → ganttDiagram-6RSMTGT7-C-eX1A39.js} +3 -3
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CN8b00c8.js → gitGraphDiagram-PVQCEYII-BauQu1Bu.js} +1 -1
- package/web-shell/assets/index-3uAT3ehO.css +5 -0
- package/web-shell/assets/index-CVHa2QH7.js +3 -0
- package/web-shell/assets/index-D1KigWat.js +1128 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CCurnIna.js → infoDiagram-5YYISTIA-C800cFvZ.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-AwuRqdUP.js → ishikawaDiagram-YF4QCWOH-CFK1Jk6e.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-B7IICk-E.js → journeyDiagram-JHISSGLW-Cjx0WAC4.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BYF0OKhx.js → kanban-definition-UN3LZRKU-DWMDHbiv.js} +1 -1
- package/web-shell/assets/{linear-GWWguGfD.js → linear-vpW4FrZs.js} +1 -1
- package/web-shell/assets/{mermaid.core-JqtkxvCl.js → mermaid.core-DsHRUnDd.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-B0MmHsZ6.js → mindmap-definition-RKZ34NQL-D3Eb1cAK.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-DhImUZLQ.js → pieDiagram-4H26LBE5-Cr2-6sWt.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DGeSC3DT.js → quadrantDiagram-W4KKPZXB-Yd7yUgVp.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-DkspY6Re.js → requirementDiagram-4Y6WPE33-BE6SprL8.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-CaOofS2x.js → sankeyDiagram-5OEKKPKP-DzkuMK8d.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DFQ_kFnN.js → sequenceDiagram-3UESZ5HK-wD9A3Dhi.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-D3snw0Tz.js → stateDiagram-AJRCARHV-BOp5q1Nm.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BDsWUmPG.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-l4zH8nLM.js → timeline-definition-PNZ67QCA-Btc08sUA.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BnRlA98M.js → vennDiagram-CIIHVFJN-Bv6upsOA.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-BS0xUdmd.js → wardley-L42UT6IY-D-XamnCK.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DKGBUWyQ.js → wardleyDiagram-YWT4CUSO-BbP_5Wfp.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DVb2HuOB.js → xychartDiagram-2RQKCTM6-CO5Hh28b.js} +1 -1
- package/web-shell/index.html +16 -4
- package/chunks/MaxSizedBox-5DT2SD7B.js +0 -71
- package/chunks/agent-H2DGKS77.js +0 -68
- package/chunks/agent-headless-KFMFIT6J.js +0 -62
- package/chunks/bridge-NA3ZQQKJ.js +0 -78
- package/chunks/chunk-5P5XGNYH.js +0 -93
- package/chunks/chunk-6SHO7WFF.js +0 -79
- package/chunks/chunk-IFEWJXFS.js +0 -37
- package/chunks/chunk-XNXVCNAT.js +0 -88
- package/chunks/contextCommand-LXFZRP4L.js +0 -68
- package/chunks/daemon-status-provider-GJRXY5EN.js +0 -76
- package/chunks/earlyInputCapture-KNOYZ4MJ.js +0 -69
- package/chunks/environment-ATFTYMLZ.js +0 -88
- package/chunks/errors-A54HAADA.js +0 -75
- package/chunks/handleAutoUpdate-CEZJAARW.js +0 -65
- package/chunks/initializer-BRFJKRRX.js +0 -71
- package/chunks/list-KVHF7O4X.js +0 -73
- package/chunks/loadedSettingsAdapter-LL5PSFKX.js +0 -68
- package/chunks/mcp-3GCXRTOQ.js +0 -68
- package/chunks/nonInteractiveCli-PTQI3DV6.js +0 -119
- package/chunks/openaiContentGenerator-YE42PKCY.js +0 -56
- package/chunks/pidfile-NZYSCFRK.js +0 -73
- package/chunks/read-file-33XGP5HF.js +0 -30
- package/chunks/ripGrep-QWZLGTAN.js +0 -60
- package/chunks/serve-JTMIGANH.js +0 -74
- package/chunks/settings-3MI4XXP6.js +0 -118
- package/chunks/shell-YJKBE67T.js +0 -68
- package/chunks/spawnChannel-UNV6W4DU.js +0 -70
- package/chunks/task-create-WCHTB435.js +0 -22
- package/chunks/theme-manager-WZ4RRMMB.js +0 -64
- package/chunks/total-session-admission-ULXJWXFV.js +0 -72
- package/chunks/trustedFolders-LAZZPZ3D.js +0 -79
- package/chunks/types-QX5C3CHJ.js +0 -12
- package/chunks/updateCheck-KONLM73X.js +0 -65
- package/chunks/validateNonInterActiveAuth-MPKSRCXD.js +0 -184
- package/chunks/workspace-providers-status-3W7E7DFW.js +0 -71
- package/chunks/workspace-registry-SXJZNN3O.js +0 -74
- package/chunks/workspace-service-CZRQZ4Q4.js +0 -80
- package/chunks/workspace-skills-status-K7WFREPD.js +0 -70
- 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-wmPUGHtg.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BA2ljEjW.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BA2ljEjW.js +0 -1
- package/web-shell/assets/index-CNwoO1Cn.js +0 -783
- package/web-shell/assets/index-CWQ0z6kZ.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BbSm_9d0.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-HJUDVNCO.js";
|
|
11
|
+
import "./chunk-H6XPXXMH.js";
|
|
12
|
+
import "./chunk-5M6IDOMF.js";
|
|
13
|
+
import "./chunk-BLPMRN4B.js";
|
|
14
|
+
import "./chunk-RCEEXIOO.js";
|
|
15
|
+
import "./chunk-KKRTYONM.js";
|
|
16
|
+
import "./chunk-TV6K2FB4.js";
|
|
17
|
+
import "./chunk-E2UVIFI2.js";
|
|
18
|
+
import "./chunk-7STBROEV.js";
|
|
19
|
+
import "./chunk-XU457J4V.js";
|
|
20
|
+
import "./chunk-VDDGDZMA.js";
|
|
21
|
+
import "./chunk-SPJQO2CE.js";
|
|
22
|
+
import "./chunk-SZRN75WQ.js";
|
|
23
|
+
import "./chunk-HTO4JFDZ.js";
|
|
24
|
+
import "./chunk-CPBF7KYF.js";
|
|
25
|
+
import "./chunk-F333XEAU.js";
|
|
26
|
+
import "./chunk-6AM5D4ME.js";
|
|
27
|
+
import "./chunk-2Z5UX4KI.js";
|
|
28
|
+
import "./chunk-ARKANCNX.js";
|
|
29
|
+
import "./chunk-L5U3ELZX.js";
|
|
30
|
+
import "./chunk-TYLOFD2U.js";
|
|
31
|
+
import "./chunk-HWTL6MPR.js";
|
|
32
|
+
import "./chunk-4WKAA4KS.js";
|
|
33
|
+
import "./chunk-CR3C7WXL.js";
|
|
34
|
+
import "./chunk-CARU2RR2.js";
|
|
35
|
+
import "./chunk-VGC4I5JJ.js";
|
|
36
|
+
import "./chunk-FBU7WRZI.js";
|
|
37
|
+
import "./chunk-Y66VOBRP.js";
|
|
38
|
+
import "./chunk-WTNZ6DXB.js";
|
|
39
|
+
import "./chunk-JGUT3LWZ.js";
|
|
40
|
+
import "./chunk-OKAIGAYW.js";
|
|
41
|
+
import "./chunk-ZPAHLFZU.js";
|
|
42
|
+
import "./chunk-JESCGQM3.js";
|
|
43
|
+
import "./chunk-WIEO4CWB.js";
|
|
44
|
+
import "./chunk-XVNQMZ2I.js";
|
|
45
|
+
import "./chunk-B7NUUEXC.js";
|
|
46
|
+
import "./chunk-TQBODCFD.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-LQIDP6K5.js";
|
|
54
|
+
import "./chunk-7NFB7LBQ.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-HJUDVNCO.js";
|
|
8
|
+
import "./chunk-H6XPXXMH.js";
|
|
9
|
+
import "./chunk-5M6IDOMF.js";
|
|
10
|
+
import "./chunk-BLPMRN4B.js";
|
|
11
|
+
import "./chunk-RCEEXIOO.js";
|
|
12
|
+
import "./chunk-KKRTYONM.js";
|
|
13
|
+
import "./chunk-TV6K2FB4.js";
|
|
14
|
+
import "./chunk-E2UVIFI2.js";
|
|
15
|
+
import "./chunk-7STBROEV.js";
|
|
16
|
+
import "./chunk-XU457J4V.js";
|
|
17
|
+
import "./chunk-VDDGDZMA.js";
|
|
18
|
+
import "./chunk-SPJQO2CE.js";
|
|
19
|
+
import "./chunk-SZRN75WQ.js";
|
|
20
|
+
import "./chunk-HTO4JFDZ.js";
|
|
21
|
+
import "./chunk-CPBF7KYF.js";
|
|
22
|
+
import "./chunk-F333XEAU.js";
|
|
23
|
+
import "./chunk-6AM5D4ME.js";
|
|
24
|
+
import "./chunk-2Z5UX4KI.js";
|
|
25
|
+
import "./chunk-ARKANCNX.js";
|
|
26
|
+
import "./chunk-L5U3ELZX.js";
|
|
27
|
+
import "./chunk-TYLOFD2U.js";
|
|
28
|
+
import "./chunk-HWTL6MPR.js";
|
|
29
|
+
import "./chunk-4WKAA4KS.js";
|
|
30
|
+
import "./chunk-CR3C7WXL.js";
|
|
31
|
+
import "./chunk-CARU2RR2.js";
|
|
32
|
+
import "./chunk-VGC4I5JJ.js";
|
|
33
|
+
import "./chunk-FBU7WRZI.js";
|
|
34
|
+
import "./chunk-Y66VOBRP.js";
|
|
35
|
+
import "./chunk-WTNZ6DXB.js";
|
|
36
|
+
import "./chunk-JGUT3LWZ.js";
|
|
37
|
+
import "./chunk-OKAIGAYW.js";
|
|
38
|
+
import "./chunk-ZPAHLFZU.js";
|
|
39
|
+
import "./chunk-JESCGQM3.js";
|
|
40
|
+
import "./chunk-WIEO4CWB.js";
|
|
41
|
+
import "./chunk-XVNQMZ2I.js";
|
|
42
|
+
import "./chunk-B7NUUEXC.js";
|
|
43
|
+
import "./chunk-TQBODCFD.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-LQIDP6K5.js";
|
|
51
|
+
import "./chunk-7NFB7LBQ.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-CPF22MA7.js → anthropicContentGenerator-56U3YCP2.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-GDQQRV43.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-B7NUUEXC.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-TQBODCFD.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-LQIDP6K5.js";
|
|
39
41
|
import {
|
|
40
42
|
createDebugLogger
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7NFB7LBQ.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;
|
|
@@ -4928,7 +5077,7 @@ var AnthropicContentGenerator = class {
|
|
|
4928
5077
|
totalTokens: result.totalTokens
|
|
4929
5078
|
};
|
|
4930
5079
|
} catch (error) {
|
|
4931
|
-
|
|
5080
|
+
debugLogger2.warn(
|
|
4932
5081
|
"Failed to calculate tokens with tokenizer, falling back to simple method:",
|
|
4933
5082
|
error
|
|
4934
5083
|
);
|
|
@@ -4995,8 +5144,10 @@ var AnthropicContentGenerator = class {
|
|
|
4995
5144
|
}
|
|
4996
5145
|
/**
|
|
4997
5146
|
* Whether to ATTACH the body-side `scope: 'global'` field on
|
|
4998
|
-
* `cache_control` entries this request. Requires
|
|
4999
|
-
* `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).
|
|
5000
5151
|
* Computed per request: `Config.handleModelChange()` hot-updates
|
|
5001
5152
|
* `enableCacheControl` in-place on the qwen-oauth path (without
|
|
5002
5153
|
* recreating the ContentGenerator); non-qwen-oauth providers refresh
|
|
@@ -5013,7 +5164,10 @@ var AnthropicContentGenerator = class {
|
|
|
5013
5164
|
* to attach scope to, beta correctly suppressed).
|
|
5014
5165
|
*/
|
|
5015
5166
|
useGlobalCacheScope() {
|
|
5016
|
-
|
|
5167
|
+
if (this.contentGeneratorConfig.enableCacheControl === false) {
|
|
5168
|
+
return false;
|
|
5169
|
+
}
|
|
5170
|
+
return isAnthropicNativeBaseUrl(this.contentGeneratorConfig) || this.contentGeneratorConfig.forceGlobalCacheScope === true;
|
|
5017
5171
|
}
|
|
5018
5172
|
/**
|
|
5019
5173
|
* Whether the assembled request body carries any
|
|
@@ -5108,7 +5262,9 @@ var AnthropicContentGenerator = class {
|
|
|
5108
5262
|
const requestValue = requestKey ? requestConfig[requestKey] : void 0;
|
|
5109
5263
|
return configValue !== void 0 ? configValue : requestValue;
|
|
5110
5264
|
}, "getParam");
|
|
5111
|
-
const
|
|
5265
|
+
const configMaxTokens = configSamplingParams?.max_tokens;
|
|
5266
|
+
const requestMaxTokens = requestConfig.maxOutputTokens;
|
|
5267
|
+
const userMaxTokens = reconcileMaxTokens(configMaxTokens, requestMaxTokens) ?? configMaxTokens ?? requestMaxTokens;
|
|
5112
5268
|
const modelId = this.contentGeneratorConfig.model;
|
|
5113
5269
|
const modelLimit = tokenLimit(modelId, "output");
|
|
5114
5270
|
const isKnownModel = hasExplicitOutputLimit(modelId);
|
|
@@ -5122,14 +5278,14 @@ var AnthropicContentGenerator = class {
|
|
|
5122
5278
|
if (envMaxTokens !== void 0) {
|
|
5123
5279
|
maxTokens = isKnownModel ? Math.min(envMaxTokens, modelLimit) : envMaxTokens;
|
|
5124
5280
|
} else {
|
|
5125
|
-
maxTokens =
|
|
5281
|
+
maxTokens = defaultOutputCeiling(modelId);
|
|
5126
5282
|
}
|
|
5127
5283
|
}
|
|
5128
5284
|
const temperatureDropped = this.modelRejectsTemperature();
|
|
5129
5285
|
if (temperatureDropped && !this.temperatureDropWarned) {
|
|
5130
5286
|
const userTemp = getParam("temperature", "temperature");
|
|
5131
5287
|
if (userTemp !== void 0) {
|
|
5132
|
-
|
|
5288
|
+
debugLogger2.warn(
|
|
5133
5289
|
`temperature=${userTemp} is not supported by '${this.contentGeneratorConfig.model ?? "unknown"}' (deprecated on 4.8+); ignoring.`
|
|
5134
5290
|
);
|
|
5135
5291
|
}
|
|
@@ -5173,7 +5329,7 @@ var AnthropicContentGenerator = class {
|
|
|
5173
5329
|
if (isDeepSeekAnthropicHostname(this.contentGeneratorConfig)) {
|
|
5174
5330
|
const mapped = effort === "xhigh" || effort === "max" ? "max" : "high";
|
|
5175
5331
|
if (mapped !== effort && !this.effortClampWarned) {
|
|
5176
|
-
|
|
5332
|
+
debugLogger2.warn(
|
|
5177
5333
|
`reasoning.effort='${effort}' is not accepted by the DeepSeek anthropic-compatible endpoint; using '${mapped}'.`
|
|
5178
5334
|
);
|
|
5179
5335
|
this.effortClampWarned = true;
|
|
@@ -5185,7 +5341,7 @@ var AnthropicContentGenerator = class {
|
|
|
5185
5341
|
);
|
|
5186
5342
|
const clamped = clampReasoningEffort(effort, supported);
|
|
5187
5343
|
if (clamped !== effort && !this.effortClampWarned) {
|
|
5188
|
-
|
|
5344
|
+
debugLogger2.warn(
|
|
5189
5345
|
`reasoning.effort='${effort}' is not supported by '${this.contentGeneratorConfig.model ?? "unknown"}'; using '${clamped}'.`
|
|
5190
5346
|
);
|
|
5191
5347
|
this.effortClampWarned = true;
|
|
@@ -5259,7 +5415,7 @@ var AnthropicContentGenerator = class {
|
|
|
5259
5415
|
};
|
|
5260
5416
|
}
|
|
5261
5417
|
if (reasoning?.budget_tokens !== void 0 && this.modelRejectsManualThinking() && !this.budgetDropWarned) {
|
|
5262
|
-
|
|
5418
|
+
debugLogger2.warn(
|
|
5263
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.`
|
|
5264
5420
|
);
|
|
5265
5421
|
this.budgetDropWarned = true;
|
|
@@ -5476,7 +5632,7 @@ var AnthropicContentGenerator = class {
|
|
|
5476
5632
|
if (hasAssistantPayload || hasFinishReason) {
|
|
5477
5633
|
return;
|
|
5478
5634
|
}
|
|
5479
|
-
|
|
5635
|
+
debugLogger2.warn(
|
|
5480
5636
|
"Anthropic stream ended without assistant payload or finish reason; probing once with a non-streaming request to surface provider errors."
|
|
5481
5637
|
);
|
|
5482
5638
|
let response;
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
BaseToolInvocation,
|
|
6
6
|
ToolDisplayNames,
|
|
7
7
|
ToolNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JGUT3LWZ.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-7NFB7LBQ.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-JGUT3LWZ.js";
|
|
13
13
|
import {
|
|
14
14
|
createDebugLogger
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-7NFB7LBQ.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-HCJTURZD.js";
|
|
10
|
+
import "./chunk-PZL23GTM.js";
|
|
11
|
+
import "./chunk-6RLROE6G.js";
|
|
12
|
+
import "./chunk-COH43MRJ.js";
|
|
13
|
+
import "./chunk-OCPBI7J5.js";
|
|
14
|
+
import "./chunk-KSO42X3Z.js";
|
|
15
|
+
import "./chunk-VEETSXYX.js";
|
|
16
|
+
import "./chunk-TEGEBB2I.js";
|
|
17
|
+
import "./chunk-FI2WSOWX.js";
|
|
18
|
+
import "./chunk-W7FJ3N32.js";
|
|
19
|
+
import "./chunk-M5GB774H.js";
|
|
20
|
+
import "./chunk-UDXSXLER.js";
|
|
21
|
+
import "./chunk-HJUDVNCO.js";
|
|
22
|
+
import "./chunk-H6XPXXMH.js";
|
|
23
|
+
import "./chunk-5M6IDOMF.js";
|
|
24
|
+
import "./chunk-BLPMRN4B.js";
|
|
25
|
+
import "./chunk-RCEEXIOO.js";
|
|
26
|
+
import "./chunk-KKRTYONM.js";
|
|
27
|
+
import "./chunk-TV6K2FB4.js";
|
|
28
|
+
import "./chunk-E2UVIFI2.js";
|
|
29
|
+
import "./chunk-7STBROEV.js";
|
|
30
|
+
import "./chunk-XU457J4V.js";
|
|
31
|
+
import "./chunk-VDDGDZMA.js";
|
|
32
|
+
import "./chunk-SPJQO2CE.js";
|
|
33
|
+
import "./chunk-SZRN75WQ.js";
|
|
34
|
+
import "./chunk-HTO4JFDZ.js";
|
|
35
|
+
import "./chunk-CPBF7KYF.js";
|
|
36
|
+
import "./chunk-F333XEAU.js";
|
|
37
|
+
import "./chunk-6AM5D4ME.js";
|
|
38
|
+
import "./chunk-2Z5UX4KI.js";
|
|
39
|
+
import "./chunk-ARKANCNX.js";
|
|
40
|
+
import "./chunk-L5U3ELZX.js";
|
|
41
|
+
import "./chunk-TYLOFD2U.js";
|
|
42
|
+
import "./chunk-HWTL6MPR.js";
|
|
43
|
+
import "./chunk-4WKAA4KS.js";
|
|
44
|
+
import "./chunk-CR3C7WXL.js";
|
|
45
|
+
import "./chunk-CARU2RR2.js";
|
|
46
|
+
import "./chunk-VGC4I5JJ.js";
|
|
47
|
+
import "./chunk-FBU7WRZI.js";
|
|
48
|
+
import "./chunk-Y66VOBRP.js";
|
|
49
|
+
import "./chunk-WTNZ6DXB.js";
|
|
50
|
+
import "./chunk-JGUT3LWZ.js";
|
|
51
|
+
import "./chunk-OKAIGAYW.js";
|
|
52
|
+
import "./chunk-ZPAHLFZU.js";
|
|
53
|
+
import "./chunk-JESCGQM3.js";
|
|
54
|
+
import "./chunk-WIEO4CWB.js";
|
|
55
|
+
import "./chunk-XVNQMZ2I.js";
|
|
56
|
+
import "./chunk-B7NUUEXC.js";
|
|
57
|
+
import "./chunk-TQBODCFD.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-LQIDP6K5.js";
|
|
65
|
+
import "./chunk-7NFB7LBQ.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
|
+
};
|