@mcp-use/inspector 0.20.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/components/MCPAppsRenderer.d.ts.map +1 -1
- package/dist/client/index.js +59 -58
- package/dist/web/assets/{1c-9fOAtoId.js → 1c-Oj-kARDL.js} +1 -1
- package/dist/web/assets/{abnf-UD4o0DvD.js → abnf-gbpyex7v.js} +1 -1
- package/dist/web/assets/{accesslog-xr-_9t1D.js → accesslog-Dojz9kk-.js} +1 -1
- package/dist/web/assets/{actionscript-BxZrVHY7.js → actionscript-mZqhqK8d.js} +1 -1
- package/dist/web/assets/{ada-B4jKh-JW.js → ada-DhZre7t4.js} +1 -1
- package/dist/web/assets/{angelscript-5afFVJBH.js → angelscript-Dw4HK16Z.js} +1 -1
- package/dist/web/assets/{apache-BhLNXl03.js → apache-CAk8_5g2.js} +1 -1
- package/dist/web/assets/{applescript-I6HPTmzT.js → applescript-YXn24-m4.js} +1 -1
- package/dist/web/assets/{arcade-DPSQsqX0.js → arcade-CiYtlKaj.js} +1 -1
- package/dist/web/assets/{arduino-OVrQwNmc.js → arduino-CKOR6-oG.js} +1 -1
- package/dist/web/assets/{armasm-1_lZeXvU.js → armasm-dUHYTciK.js} +1 -1
- package/dist/web/assets/{asciidoc-CtavjooU.js → asciidoc-CjuPXxuW.js} +1 -1
- package/dist/web/assets/{aspectj-CnA7gqoh.js → aspectj-CJBeE_x9.js} +1 -1
- package/dist/web/assets/{autohotkey-Bvmq28Pp.js → autohotkey-BuzNpbNu.js} +1 -1
- package/dist/web/assets/{autoit-C9ctIvbx.js → autoit-BhitNWNF.js} +1 -1
- package/dist/web/assets/{avrasm-BawQ6_tX.js → avrasm-DNLyQDvJ.js} +1 -1
- package/dist/web/assets/{awk-Dlx8twoF.js → awk-DOeBmn2Q.js} +1 -1
- package/dist/web/assets/{axapta-CY5X-lec.js → axapta-CZbchvjz.js} +1 -1
- package/dist/web/assets/{bash-DVIunwBB.js → bash-CFr3w92K.js} +1 -1
- package/dist/web/assets/{basic-bnpAyd8o.js → basic-L1Nkia-P.js} +1 -1
- package/dist/web/assets/{bnf-BSxkYeG3.js → bnf-DtnyH_33.js} +1 -1
- package/dist/web/assets/{brainfuck-w08TzRRk.js → brainfuck-DMsKRQfT.js} +1 -1
- package/dist/web/assets/{c-like-C968uMWD.js → c-like-DH6w8Vnp.js} +1 -1
- package/dist/web/assets/{c-CUnehzhN.js → c-meJXV62D.js} +1 -1
- package/dist/web/assets/{cal-CEPTf9af.js → cal-CXyEr9wE.js} +1 -1
- package/dist/web/assets/{capnproto-C5Jl_d1_.js → capnproto-C6G336LK.js} +1 -1
- package/dist/web/assets/{ceylon-WRlgiHIe.js → ceylon-C_gsBoeh.js} +1 -1
- package/dist/web/assets/{clean-CBpWqWMU.js → clean-BX8utJ4T.js} +1 -1
- package/dist/web/assets/{client-D7M7w9YL.js → client-Cb2w6EiZ.js} +3 -3
- package/dist/web/assets/{clojure-COKJioJD.js → clojure-Bv3lQy8P.js} +1 -1
- package/dist/web/assets/{clojure-repl-bWoHVx38.js → clojure-repl-MT5Zqzj1.js} +1 -1
- package/dist/web/assets/{cmake-DcfnD61E.js → cmake-BKT2NCaz.js} +1 -1
- package/dist/web/assets/{coffeescript-BA1Kj_mS.js → coffeescript-BIfTgFrH.js} +1 -1
- package/dist/web/assets/{coq-BXTETVx3.js → coq-DaZ7dl5Z.js} +1 -1
- package/dist/web/assets/{core-Cn5w6gtz.js → core-COU3xnO0.js} +1 -1
- package/dist/web/assets/{cos-fCB9y4dn.js → cos-DTGAPiuH.js} +1 -1
- package/dist/web/assets/{cpp-B5D5Oohp.js → cpp-BrzN_X_4.js} +1 -1
- package/dist/web/assets/{crmsh-D4XJHcfu.js → crmsh-CDt6lbQp.js} +1 -1
- package/dist/web/assets/{crystal-BjzQdvSi.js → crystal-tzSaHDcV.js} +1 -1
- package/dist/web/assets/{csharp-BNymHZ_J.js → csharp-OHl3U4yk.js} +1 -1
- package/dist/web/assets/{csp-BtF0N04H.js → csp-53uF1u5R.js} +1 -1
- package/dist/web/assets/{css-a4y3jiw1.js → css-OsXSqA4o.js} +1 -1
- package/dist/web/assets/{d-DqUmSQv_.js → d-1Rfl_TQA.js} +1 -1
- package/dist/web/assets/{dart-Cjc0GpfE.js → dart-BLgEhzW6.js} +1 -1
- package/dist/web/assets/{delphi-DvyaaQkK.js → delphi-5MGT0p2r.js} +1 -1
- package/dist/web/assets/{diff-CBc40Um6.js → diff-90qvg1Ru.js} +1 -1
- package/dist/web/assets/{display-A5IEINAP-D-VH1ibn.js → display-A5IEINAP-Bu1cjhpk.js} +2 -2
- package/dist/web/assets/{django-DSX1Ul99.js → django-CAoBMPA3.js} +1 -1
- package/dist/web/assets/{dns-B1KpzW4M.js → dns-Dvb3lAIV.js} +1 -1
- package/dist/web/assets/{dockerfile-zts4UURo.js → dockerfile-CEXmI-ra.js} +1 -1
- package/dist/web/assets/{dos-Bdc5ziqj.js → dos-gWX_rpd9.js} +1 -1
- package/dist/web/assets/{dsconfig-D9LJC0jo.js → dsconfig-DT3Z3nCU.js} +1 -1
- package/dist/web/assets/{dts-Dn9Zy1Dc.js → dts-WhReUo4_.js} +1 -1
- package/dist/web/assets/{dust-Imv3EsJD.js → dust-eG3ISVWr.js} +1 -1
- package/dist/web/assets/{ebnf-Da-zNIMs.js → ebnf-BxRldTxK.js} +1 -1
- package/dist/web/assets/{elixir-DzP6evv2.js → elixir-BMblKkw2.js} +1 -1
- package/dist/web/assets/{elm-CZUOxYdN.js → elm-DCNOlg64.js} +1 -1
- package/dist/web/assets/{embeddings-Dm-D9Jqe.js → embeddings-B4ViHRXY.js} +1 -1
- package/dist/web/assets/{erb-B_mIpzpR.js → erb-BxKGWtte.js} +1 -1
- package/dist/web/assets/{erlang-CLZz_Hk2.js → erlang-VFqcmQac.js} +1 -1
- package/dist/web/assets/{erlang-repl-B-ARsDx2.js → erlang-repl-B3DssA-s.js} +1 -1
- package/dist/web/assets/{excel-B4pUI08V.js → excel-CVUHQXRX.js} +1 -1
- package/dist/web/assets/{fix-CSplM5Pw.js → fix-DVyR6II_.js} +1 -1
- package/dist/web/assets/{flix-FBC2JbBp.js → flix-CR_C_l4x.js} +1 -1
- package/dist/web/assets/{fortran-6SNj-tlI.js → fortran-BDWA7Oml.js} +1 -1
- package/dist/web/assets/{fsharp-DUS7lh-Q.js → fsharp-BclT1BaK.js} +1 -1
- package/dist/web/assets/{gams-CTfDaHUc.js → gams-BmT13tfd.js} +1 -1
- package/dist/web/assets/{gauss-ZfJ3tcNp.js → gauss-DjApZhTZ.js} +1 -1
- package/dist/web/assets/{gcode-WTMd9gOE.js → gcode-BAiOn99J.js} +1 -1
- package/dist/web/assets/{gherkin-IQ4ZLG9T.js → gherkin-Bkv6sekB.js} +1 -1
- package/dist/web/assets/{glsl-BsRip7hP.js → glsl-DLJHoOLJ.js} +1 -1
- package/dist/web/assets/{gml-BAZqYC2v.js → gml-DXMzTB6Q.js} +1 -1
- package/dist/web/assets/{go-hFMTPWAW.js → go-BExe0fdv.js} +1 -1
- package/dist/web/assets/{golo-BUPVzwzX.js → golo-C6i2gcH5.js} +1 -1
- package/dist/web/assets/{gradle-Ciu38bm7.js → gradle-BQWHs2Yg.js} +1 -1
- package/dist/web/assets/{groovy-DdmgLXnk.js → groovy-CIWponIL.js} +1 -1
- package/dist/web/assets/{haml-CxzfJ_fv.js → haml-B7DWMgaa.js} +1 -1
- package/dist/web/assets/{handlebars-DAifJ-q6.js → handlebars-B3fHy3L7.js} +1 -1
- package/dist/web/assets/{haskell-DzZXzxYE.js → haskell-Bbhkfqq5.js} +1 -1
- package/dist/web/assets/{haxe-DywteKnE.js → haxe-BddBYvfC.js} +1 -1
- package/dist/web/assets/{hsp-DIC8OMyT.js → hsp-eNxPEtM1.js} +1 -1
- package/dist/web/assets/{htmlbars-xsvWzzXo.js → htmlbars-DyGMytQT.js} +1 -1
- package/dist/web/assets/{http-D6HUUqMS.js → http-C9tM9l0I.js} +1 -1
- package/dist/web/assets/{hy-4dq0NV8V.js → hy-C2n-rspI.js} +1 -1
- package/dist/web/assets/{index-BuMwyqtr.js → index-Bp0cyOcw.js} +1 -1
- package/dist/web/assets/{index-DEJSnc43.js → index-BqDPk24o.js} +1 -1
- package/dist/web/assets/{index-Deap-KOc.js → index-D5-nrKkX.js} +1 -1
- package/dist/web/assets/{index-BS6bAr00.js → index-DEYsEGbN.js} +1 -1
- package/dist/web/assets/{index-CZeFNEUV.js → index-DEzVc1T8.js} +50 -50
- package/dist/web/assets/{index-B6C1uc4n.js → index-DOUSt7HC.js} +1 -1
- package/dist/web/assets/{index-kYKXKmi5.js → index-Dm6D5Nts.js} +1 -1
- package/dist/web/assets/{index-ArruDavK.js → index-x0vkP4Qz.js} +1 -1
- package/dist/web/assets/{inform7-BEd5mrc7.js → inform7-CXh2agFI.js} +1 -1
- package/dist/web/assets/{ini-_vZuZ-YY.js → ini-BC_gZWpo.js} +1 -1
- package/dist/web/assets/{irpf90-zVQXjHyT.js → irpf90-DfnrI0e2.js} +1 -1
- package/dist/web/assets/{isbl-D3fQeI0q.js → isbl-BQWRY6M1.js} +1 -1
- package/dist/web/assets/{java-cychPp2a.js → java-D6jJYs54.js} +1 -1
- package/dist/web/assets/{javascript-B0HSL9jA.js → javascript-D0R2KOUv.js} +1 -1
- package/dist/web/assets/{jboss-cli-CbO9NVWn.js → jboss-cli-8G4zhEKz.js} +1 -1
- package/dist/web/assets/{json-CL2mYBhj.js → json-9DZRcIIm.js} +1 -1
- package/dist/web/assets/{julia-73H-cHyn.js → julia-CcXt8oVl.js} +1 -1
- package/dist/web/assets/{julia-repl-BZ6klf4E.js → julia-repl-CgaSfQKL.js} +1 -1
- package/dist/web/assets/{kotlin-C9QHJOLd.js → kotlin-SdImgIl_.js} +1 -1
- package/dist/web/assets/{langfuse-U2OEF7K7-CC-kbKr2.js → langfuse-U2OEF7K7-ROaatZoy.js} +3 -3
- package/dist/web/assets/{lasso-C_rwjoxR.js → lasso-dkdCJzU8.js} +1 -1
- package/dist/web/assets/{latex-wK0rQw-O.js → latex-BiJWbIZO.js} +1 -1
- package/dist/web/assets/{ldif-Cahhgl7H.js → ldif-CPkEXfyu.js} +1 -1
- package/dist/web/assets/{leaf-DGJL5l1N.js → leaf-DJkJxsVl.js} +1 -1
- package/dist/web/assets/{less-Njm4vARh.js → less-CwlleEAT.js} +1 -1
- package/dist/web/assets/{lisp-DLAvWfpd.js → lisp-U2Cuoz-6.js} +1 -1
- package/dist/web/assets/{livecodeserver-4wn5tcTz.js → livecodeserver-C1g6lmRt.js} +1 -1
- package/dist/web/assets/{livescript-BGXE_mcK.js → livescript-B65HHv4k.js} +1 -1
- package/dist/web/assets/{llms-Bq7qsOB_.js → llms-B5jiMs2N.js} +1 -1
- package/dist/web/assets/{llvm-CjUNP2If.js → llvm-BFKQGIc9.js} +1 -1
- package/dist/web/assets/{lsl-BiwbIbM2.js → lsl-B33gns_K.js} +1 -1
- package/dist/web/assets/{lua-B7sfIo9l.js → lua-Ct8Gc3lg.js} +1 -1
- package/dist/web/assets/{makefile-CygpNlGr.js → makefile-B6J1bQhe.js} +1 -1
- package/dist/web/assets/{markdown-DDqcrVM6.js → markdown-CLF4-bNJ.js} +1 -1
- package/dist/web/assets/{mathematica-C5QmG_gf.js → mathematica-B6aSO13o.js} +1 -1
- package/dist/web/assets/{matlab-PwCY-qhc.js → matlab-CS5W4gGh.js} +1 -1
- package/dist/web/assets/{maxima-BpP00f3K.js → maxima-KZF5p0oC.js} +1 -1
- package/dist/web/assets/{mel-_fTnp5ng.js → mel-BMxQ6JBb.js} +1 -1
- package/dist/web/assets/{mercury-3AhYbhWh.js → mercury-CsTY4Dfm.js} +1 -1
- package/dist/web/assets/{mipsasm-BH63smWz.js → mipsasm-Du6LeG-e.js} +1 -1
- package/dist/web/assets/{mizar-C-zCiS2Q.js → mizar-CVf3eQkO.js} +1 -1
- package/dist/web/assets/{mojolicious-CIBNGUcA.js → mojolicious-BcN1QPb_.js} +1 -1
- package/dist/web/assets/{monkey-CberjPNo.js → monkey-U4H5T2Va.js} +1 -1
- package/dist/web/assets/{moonscript-BjxxJdM3.js → moonscript-DMuEksYy.js} +1 -1
- package/dist/web/assets/{n1ql-DtYTsdEB.js → n1ql-EL0CnXBp.js} +1 -1
- package/dist/web/assets/{nginx-B5shscjc.js → nginx-C6sY8soe.js} +1 -1
- package/dist/web/assets/{nim-BOFdICae.js → nim-Dltmhlvd.js} +1 -1
- package/dist/web/assets/{nix-D9kHEKcN.js → nix-BBleBsq0.js} +1 -1
- package/dist/web/assets/{node-repl-BAxbp-8m.js → node-repl-bpyue_7W.js} +1 -1
- package/dist/web/assets/{nsis-BkBhzHBr.js → nsis-BqyJU2bk.js} +1 -1
- package/dist/web/assets/{objectivec-hbXCi3U3.js → objectivec-DC2ZbUMg.js} +1 -1
- package/dist/web/assets/{ocaml-CmGZwHv9.js → ocaml-gQ9fH4Ho.js} +1 -1
- package/dist/web/assets/{openscad-Pzg1LCDm.js → openscad-CpseMZRb.js} +1 -1
- package/dist/web/assets/{oxygene-Vt9dTyEG.js → oxygene-CZIJ-pWf.js} +1 -1
- package/dist/web/assets/{parser3-DqLPOGQp.js → parser3-DgRMmhjZ.js} +1 -1
- package/dist/web/assets/{perl-BAH9aGdE.js → perl-IdrzjSvm.js} +1 -1
- package/dist/web/assets/{pf-Cs38MNhe.js → pf-DMS3nOwl.js} +1 -1
- package/dist/web/assets/{pgsql-BCjs5ge5.js → pgsql-XJRZuFZy.js} +1 -1
- package/dist/web/assets/{php-ee2lR6U6.js → php-dLdhvrSw.js} +1 -1
- package/dist/web/assets/{php-template-ZCy0nT9e.js → php-template-BmYSlnnk.js} +1 -1
- package/dist/web/assets/{plaintext-_hOFNXkC.js → plaintext-vl-JmE97.js} +1 -1
- package/dist/web/assets/{pony-5pOAKjeT.js → pony-DpCr57Oz.js} +1 -1
- package/dist/web/assets/{powershell-w6ZN_aUf.js → powershell-DJnfCG-I.js} +1 -1
- package/dist/web/assets/{processing-BwSylLbg.js → processing-D2gVIfE-.js} +1 -1
- package/dist/web/assets/{profile-1LhzdLnu.js → profile-BxgSQObE.js} +1 -1
- package/dist/web/assets/{prolog-BTPYVKE2.js → prolog-CO4k1V2G.js} +1 -1
- package/dist/web/assets/{properties-JiNCHXzM.js → properties-B4e06caO.js} +1 -1
- package/dist/web/assets/{protobuf-BTHkSiHs.js → protobuf-azch6v91.js} +1 -1
- package/dist/web/assets/{puppet-CrA85bv1.js → puppet-D5mB2A0a.js} +1 -1
- package/dist/web/assets/{purebasic-BtLO5gAV.js → purebasic-JsEwlGi0.js} +1 -1
- package/dist/web/assets/{python-B_xx8ln_.js → python-BnY3YNiL.js} +1 -1
- package/dist/web/assets/{python-repl-BU5pFSnV.js → python-repl-Cr-FBZ_-.js} +1 -1
- package/dist/web/assets/{q-D-DNDA0F.js → q-CDYZW4cR.js} +1 -1
- package/dist/web/assets/{qml-DLltPg-s.js → qml-jQMkDk8I.js} +1 -1
- package/dist/web/assets/{r-C9TVzsbV.js → r-Cf0JwxDH.js} +1 -1
- package/dist/web/assets/{reasonml-CfjPgedN.js → reasonml-BFbdkSjH.js} +1 -1
- package/dist/web/assets/{rib-DQTtGvBN.js → rib-ChfluABb.js} +1 -1
- package/dist/web/assets/{roboconf-DTcZfOdX.js → roboconf-GS0e44Fy.js} +1 -1
- package/dist/web/assets/{routeros-__oTwpYM.js → routeros-xhgfqo_f.js} +1 -1
- package/dist/web/assets/{rsl-Dh5_-Igm.js → rsl-BDJOZFYC.js} +1 -1
- package/dist/web/assets/{ruby-6kOMrRLC.js → ruby-JQHW-i-_.js} +1 -1
- package/dist/web/assets/{ruleslanguage-BNsvz5Dq.js → ruleslanguage-CZwVKfFN.js} +1 -1
- package/dist/web/assets/{rust-CJuL030Z.js → rust-CXBdcMDk.js} +1 -1
- package/dist/web/assets/{sas-C8ka8fzh.js → sas-D4cXEEVG.js} +1 -1
- package/dist/web/assets/{scala-DTnvnFA8.js → scala-j5fqHjSB.js} +1 -1
- package/dist/web/assets/{scheme-B2nS_dhR.js → scheme-DNnjCBLb.js} +1 -1
- package/dist/web/assets/{scilab-oFZbrlj3.js → scilab-BVyr-bEy.js} +1 -1
- package/dist/web/assets/{scss-Bl2zBvg1.js → scss-C6H2tfD9.js} +1 -1
- package/dist/web/assets/{shell-IcG9RT0L.js → shell-CUhUWIA1.js} +1 -1
- package/dist/web/assets/{smali-BoM9LsIM.js → smali-DWyom7F1.js} +1 -1
- package/dist/web/assets/{smalltalk-CiRfRQj3.js → smalltalk-CLpGJAUq.js} +1 -1
- package/dist/web/assets/{sml-DYErTwr1.js → sml-36Yk270R.js} +1 -1
- package/dist/web/assets/{sqf-CqlA87Bs.js → sqf-BshG-hxl.js} +1 -1
- package/dist/web/assets/{sql-EK3NSt9j.js → sql-D9YAIB7N.js} +1 -1
- package/dist/web/assets/{sql_more-ZcvdS-sY.js → sql_more-BhetExPm.js} +1 -1
- package/dist/web/assets/{stan-C4-Zm4Vy.js → stan-Bf6DIE0m.js} +1 -1
- package/dist/web/assets/{stata-DvTmc46g.js → stata-DRSQHDYn.js} +1 -1
- package/dist/web/assets/{stdio-JJNSXSSG-yLClCzCe.js → stdio-UTOYNBXD-BBglu4Mp.js} +1 -1
- package/dist/web/assets/{step21-DaOG8Ffr.js → step21-BjfT1MBL.js} +1 -1
- package/dist/web/assets/{stylus-BIn4xQlF.js → stylus-CsBRztIR.js} +1 -1
- package/dist/web/assets/{subunit-BiLgn_R_.js → subunit-BxOUMKrR.js} +1 -1
- package/dist/web/assets/{swift-C2u5Umk-.js → swift-DTGxOxdh.js} +1 -1
- package/dist/web/assets/{taggerscript-BvgbPk4X.js → taggerscript-7UnLBvmy.js} +1 -1
- package/dist/web/assets/{tap-D_i_YYdZ.js → tap-DZDXPleG.js} +1 -1
- package/dist/web/assets/{tcl-BfJblw7s.js → tcl-DY80Ohzn.js} +1 -1
- package/dist/web/assets/{thrift-DiY8Ejd-.js → thrift-D9aENSsi.js} +1 -1
- package/dist/web/assets/{tp-JT1BZ_2w.js → tp-DFdKFfwR.js} +1 -1
- package/dist/web/assets/{twig-BvaFpf-b.js → twig-BTrNH64w.js} +1 -1
- package/dist/web/assets/{typescript-BsMfXY6k.js → typescript-7wno6lT0.js} +1 -1
- package/dist/web/assets/{vala-Cx_GJKlz.js → vala-Cz2i4_1q.js} +1 -1
- package/dist/web/assets/{vbnet-BWBjwLjd.js → vbnet-CCsRD3hq.js} +1 -1
- package/dist/web/assets/{vbscript-CZX4QozC.js → vbscript-drCvYo_z.js} +1 -1
- package/dist/web/assets/{vbscript-html-B7VqeEjz.js → vbscript-html-BmH-FdHH.js} +1 -1
- package/dist/web/assets/{verilog-0Thmo0sG.js → verilog-BDwVGjba.js} +1 -1
- package/dist/web/assets/{vhdl-C8kYJhfi.js → vhdl-yoLzk5pL.js} +1 -1
- package/dist/web/assets/{vim-B1DSKXjP.js → vim-BzbNHcBq.js} +1 -1
- package/dist/web/assets/{x86asm-Ct2xuo_y.js → x86asm-uxIqbHpK.js} +1 -1
- package/dist/web/assets/{xl-BCX6Ov1L.js → xl-BgV8nQYW.js} +1 -1
- package/dist/web/assets/{xml-BmpGo_xD.js → xml-BauwtffU.js} +1 -1
- package/dist/web/assets/{xquery-gpAqWleC.js → xquery-CZQDr0Hk.js} +1 -1
- package/dist/web/assets/{yaml-BXGjMaaS.js → yaml-8y4HUJyr.js} +1 -1
- package/dist/web/assets/{zephir-CTTzyPsH.js → zephir-By25rrV-.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ss,O as jt,h as ks,c as qt,f as Ts,J as Ms,S as vs,R as Dt}from"./index-ArruDavK.js";import{x as Os,d8 as y,d9 as Wt,da as Is,db as As,dc as Ft,c6 as kn,b$ as ve,cG as Ht,c4 as Rs,c5 as Cs,c1 as N,c7 as Ps,b as ot,bZ as ie,c0 as Es,c8 as Ns,dd as Us,de as tt,df as b,dg as w,dh as E,di as Bs,dj as At}from"./index-CZeFNEUV.js";import{t as Ie}from"./index-BS6bAr00.js";var Jt=class extends Ss{static lc_name(){return"AnthropicToolsOutputParser"}lc_namespace=["langchain","anthropic","output_parsers"];returnId=!1;keyName;returnSingle=!1;zodSchema;constructor(t){super(t),this.keyName=t.keyName,this.returnSingle=t.returnSingle??this.returnSingle,this.zodSchema=t.zodSchema}async _validateResult(t){let e=t;if(typeof t=="string")try{e=JSON.parse(t)}catch(r){throw new jt(`Failed to parse. Text: "${JSON.stringify(t,null,2)}". Error: ${JSON.stringify(r.message)}`,t)}else e=t;if(this.zodSchema===void 0)return e;const n=await Os(this.zodSchema,e);if(n.success)return n.data;throw new jt(`Failed to parse. Text: "${JSON.stringify(t,null,2)}". Error: ${JSON.stringify(n.error.issues)}`,JSON.stringify(e,null,2))}async parseResult(t){const e=t.flatMap(s=>{const{message:a}=s;return Array.isArray(a.content)?Tn(a.content)[0]:[]});if(e[0]===void 0)throw new Error("No parseable tool calls provided to AnthropicToolsOutputParser.");const[n]=e;return await this._validateResult(n.args)}};function Tn(t){const e=[];for(const n of t)n.type==="tool_use"&&e.push({name:n.name,args:n.input,id:n.id,type:"tool_call"});return e}function $s(t){if(t)return t==="any"?{type:"any"}:t==="auto"?{type:"auto"}:t==="none"?{type:"none"}:typeof t=="string"?{type:"tool",name:t}:t}const Ls=y({cache_control:As().optional().nullable(),defer_loading:Is().optional(),input_examples:Wt(Ft()).optional(),allowed_callers:Wt(Ft()).optional()}),Kt={tool_search_tool_regex_20251119:"advanced-tool-use-2025-11-20",tool_search_tool_bm25_20251119:"advanced-tool-use-2025-11-20",memory_20250818:"context-management-2025-06-27",web_fetch_20250910:"web-fetch-2025-09-10",code_execution_20250825:"code-execution-2025-08-25",computer_20251124:"computer-use-2025-11-24",computer_20250124:"computer-use-2025-01-24",mcp_toolset:"mcp-client-2025-11-20"};function js(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="thinking"}function qs(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="redacted_thinking"}function Ds(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="search_result"}function Ws(t){return typeof t!="object"||t==null||!("type"in t)||t.type!=="image"||!("source"in t)||typeof t.source!="object"||t.source==null||!("type"in t.source)?!1:t.source.type==="base64"?!(!("media_type"in t.source)||typeof t.source.media_type!="string"||!("data"in t.source)||typeof t.source.data!="string"):t.source.type==="url"?!(!("url"in t.source)||typeof t.source.url!="string"):!1}const Fs={providerName:"anthropic",fromStandardTextBlock(t){return{type:"text",text:t.text,..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}}},fromStandardImageBlock(t){if(t.source_type==="url"){const e=kn({dataUrl:t.url,asTypedArray:!1});return e?{type:"image",source:{type:"base64",data:e.data,media_type:e.mime_type},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}}:{type:"image",source:{type:"url",url:t.url},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}}}else{if(t.source_type==="base64")return{type:"image",source:{type:"base64",data:t.data,media_type:t.mime_type??""},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}};throw new Error(`Unsupported image source type: ${t.source_type}`)}},fromStandardFileBlock(t){const e=(t.mime_type??"").split(";")[0];if(t.source_type==="url"){if(e==="application/pdf"||e==="")return{type:"document",source:{type:"url",url:t.url},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};throw new Error(`Unsupported file mime type for file url source: ${t.mime_type}`)}else if(t.source_type==="text"){if(e==="text/plain"||e==="")return{type:"document",source:{type:"text",data:t.text,media_type:t.mime_type??""},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};throw new Error(`Unsupported file mime type for file text source: ${t.mime_type}`)}else if(t.source_type==="base64"){if(e==="application/pdf"||e==="")return{type:"document",source:{type:"base64",data:t.data,media_type:"application/pdf"},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};if(["image/jpeg","image/png","image/gif","image/webp"].includes(e))return{type:"document",source:{type:"content",content:[{type:"image",source:{type:"base64",data:t.data,media_type:e}}]},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};throw new Error(`Unsupported file mime type for file base64 source: ${t.mime_type}`)}else throw new Error(`Unsupported file source type: ${t.source_type}`)}},Hs=t=>t();function Js(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="citation"}function Ks(t){function*e(){for(const n of t)Js(n)&&(n.source==="char"?yield{type:"char_location",file_id:n.url??"",start_char_index:n.startIndex??0,end_char_index:n.endIndex??0,document_title:n.title??null,document_index:0,cited_text:n.citedText??""}:n.source==="page"?yield{type:"page_location",file_id:n.url??"",start_page_number:n.startIndex??0,end_page_number:n.endIndex??0,document_title:n.title??null,document_index:0,cited_text:n.citedText??""}:n.source==="block"?yield{type:"content_block_location",file_id:n.url??"",start_block_index:n.startIndex??0,end_block_index:n.endIndex??0,document_title:n.title??null,document_index:0,cited_text:n.citedText??""}:n.source==="url"?yield{type:"web_search_result_location",url:n.url??"",title:n.title??null,encrypted_index:String(n.startIndex??0),cited_text:n.citedText??""}:n.source==="search"&&(yield{type:"search_result_location",title:n.title??null,start_block_index:n.startIndex??0,end_block_index:n.endIndex??0,search_result_index:0,source:n.source??"",cited_text:n.citedText??""}))}return Array.from(e())}function oe(t){return typeof t=="string"?t:Xs(t)}function Xs(t){const e=[];for(let n=0,{length:r}=t;n<r;n++)e.push(String.fromCharCode(t[n]));return btoa(e.join(""))}function ct(t){return(t??"").split(";")[0].toLowerCase()}function ke(t,e){if(t!=null&&typeof t=="object"&&e in t)return t[e]}function Z(t,e){const n=ke(e,"cache_control");n!==void 0&&(t.cache_control=n);const r=ke(e,"citations");r!==void 0&&(t.citations=r);const s=ke(e,"context");s!==void 0&&(t.context=s);const a=ke(e,"title");return a!==void 0&&(t.title=a),t}function ut(t,e){const n=ke(e,"cache_control");return n!==void 0&&(t.cache_control=n),t}function Xt(t){return new Set(["image/jpeg","image/png","image/gif","image/webp"]).has(t)}function zs(t){const e=[],n=t.response_metadata,r="model_provider"in n&&n?.model_provider==="anthropic";for(const s of t.contentBlocks)if(s.type==="text")s.annotations?e.push({type:"text",text:s.text,citations:Ks(s.annotations)}):e.push({type:"text",text:s.text});else if(s.type==="tool_call")e.push({type:"tool_use",id:s.id??"",name:s.name,input:s.args});else if(s.type==="tool_call_chunk"){const a=Hs(()=>{if(typeof s.args!="string")return s.args;try{return JSON.parse(s.args)}catch{return{}}});e.push({type:"tool_use",id:s.id??"",name:s.name??"",input:a})}else if(s.type==="reasoning"&&r)e.push({type:"thinking",thinking:s.reasoning,signature:String(s.signature)});else if(s.type==="server_tool_call"&&r)s.name==="web_search"?e.push({type:"server_tool_use",name:s.name,id:s.id??"",input:s.args}):s.name==="code_execution"&&e.push({type:"server_tool_use",name:s.name,id:s.id??"",input:s.args});else if(s.type==="server_tool_call_result"&&r)if(s.name==="web_search"&&Array.isArray(s.output.urls)){const a=s.output.urls.map(i=>({type:"web_search_result",title:"",encrypted_content:"",url:i}));e.push({type:"web_search_tool_result",tool_use_id:s.toolCallId??"",content:a})}else s.name==="code_execution"?e.push({type:"code_execution_tool_result",tool_use_id:s.toolCallId??"",content:s.output}):s.name==="mcp_tool_result"&&e.push({type:"mcp_tool_result",tool_use_id:s.toolCallId??"",content:s.output});else{if(s.type==="audio")throw new Error("Anthropic does not support audio content blocks.");if(s.type==="file"){const a=s.metadata;if(s.fileId){e.push(Z({type:"document",source:{type:"file",file_id:s.fileId}},a));continue}if(s.url){const i=ct(s.mimeType);if(i==="application/pdf"||i===""){e.push(Z({type:"document",source:{type:"url",url:s.url}},a));continue}}if(s.data){const i=ct(s.mimeType);if(i===""||i==="application/pdf")e.push(Z({type:"document",source:{type:"base64",data:oe(s.data),media_type:"application/pdf"}},a));else if(i==="text/plain")e.push(Z({type:"document",source:{type:"text",data:oe(s.data),media_type:"text/plain"}},a));else if(Xt(i))e.push(Z({type:"document",source:{type:"content",content:[{type:"image",source:{type:"base64",data:oe(s.data),media_type:i}}]}},a));else throw new Error(`Unsupported file mime type for Anthropic base64 source: ${i}`);continue}throw new Error("File content block must include a fileId, url, or data property.")}else if(s.type==="image"){const a=s.metadata;if(s.fileId){e.push(ut({type:"image",source:{type:"file",file_id:s.fileId}},a));continue}if(s.url){e.push(ut({type:"image",source:{type:"url",url:s.url}},a));continue}if(s.data){const i=ct(s.mimeType)||"image/png";Xt(i)&&e.push(ut({type:"image",source:{type:"base64",data:oe(s.data),media_type:i}},a));continue}throw new Error("Image content block must include a fileId, url, or data property.")}else s.type==="video"||(s.type==="text-plain"?s.data&&e.push(Z({type:"document",source:{type:"text",data:oe(s.data),media_type:"text/plain"}},s.metadata)):s.type==="non_standard"&&r&&e.push(s.value))}return e}function lt(t){const e=kn({dataUrl:t});if(e)return{type:"base64",media_type:e.mime_type,data:e.data};let n;try{n=new URL(t)}catch{throw new Error([`Malformed image URL: ${JSON.stringify(t)}. Content blocks of type 'image_url' must be a valid http, https, or base64-encoded data URL.`,"Example: data:image/png;base64,/9j/4AAQSk...","Example: https://example.com/image.jpg"].join(`
|
|
1
|
+
import{g as Ss,O as jt,h as ks,c as qt,f as Ts,J as Ms,S as vs,R as Dt}from"./index-x0vkP4Qz.js";import{x as Os,d8 as y,d9 as Wt,da as Is,db as As,dc as Ft,c6 as kn,b$ as ve,cG as Ht,c4 as Rs,c5 as Cs,c1 as N,c7 as Ps,b as ot,bZ as ie,c0 as Es,c8 as Ns,dd as Us,de as tt,df as b,dg as w,dh as E,di as Bs,dj as At}from"./index-DEzVc1T8.js";import{t as Ie}from"./index-DEYsEGbN.js";var Jt=class extends Ss{static lc_name(){return"AnthropicToolsOutputParser"}lc_namespace=["langchain","anthropic","output_parsers"];returnId=!1;keyName;returnSingle=!1;zodSchema;constructor(t){super(t),this.keyName=t.keyName,this.returnSingle=t.returnSingle??this.returnSingle,this.zodSchema=t.zodSchema}async _validateResult(t){let e=t;if(typeof t=="string")try{e=JSON.parse(t)}catch(r){throw new jt(`Failed to parse. Text: "${JSON.stringify(t,null,2)}". Error: ${JSON.stringify(r.message)}`,t)}else e=t;if(this.zodSchema===void 0)return e;const n=await Os(this.zodSchema,e);if(n.success)return n.data;throw new jt(`Failed to parse. Text: "${JSON.stringify(t,null,2)}". Error: ${JSON.stringify(n.error.issues)}`,JSON.stringify(e,null,2))}async parseResult(t){const e=t.flatMap(s=>{const{message:a}=s;return Array.isArray(a.content)?Tn(a.content)[0]:[]});if(e[0]===void 0)throw new Error("No parseable tool calls provided to AnthropicToolsOutputParser.");const[n]=e;return await this._validateResult(n.args)}};function Tn(t){const e=[];for(const n of t)n.type==="tool_use"&&e.push({name:n.name,args:n.input,id:n.id,type:"tool_call"});return e}function $s(t){if(t)return t==="any"?{type:"any"}:t==="auto"?{type:"auto"}:t==="none"?{type:"none"}:typeof t=="string"?{type:"tool",name:t}:t}const Ls=y({cache_control:As().optional().nullable(),defer_loading:Is().optional(),input_examples:Wt(Ft()).optional(),allowed_callers:Wt(Ft()).optional()}),Kt={tool_search_tool_regex_20251119:"advanced-tool-use-2025-11-20",tool_search_tool_bm25_20251119:"advanced-tool-use-2025-11-20",memory_20250818:"context-management-2025-06-27",web_fetch_20250910:"web-fetch-2025-09-10",code_execution_20250825:"code-execution-2025-08-25",computer_20251124:"computer-use-2025-11-24",computer_20250124:"computer-use-2025-01-24",mcp_toolset:"mcp-client-2025-11-20"};function js(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="thinking"}function qs(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="redacted_thinking"}function Ds(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="search_result"}function Ws(t){return typeof t!="object"||t==null||!("type"in t)||t.type!=="image"||!("source"in t)||typeof t.source!="object"||t.source==null||!("type"in t.source)?!1:t.source.type==="base64"?!(!("media_type"in t.source)||typeof t.source.media_type!="string"||!("data"in t.source)||typeof t.source.data!="string"):t.source.type==="url"?!(!("url"in t.source)||typeof t.source.url!="string"):!1}const Fs={providerName:"anthropic",fromStandardTextBlock(t){return{type:"text",text:t.text,..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}}},fromStandardImageBlock(t){if(t.source_type==="url"){const e=kn({dataUrl:t.url,asTypedArray:!1});return e?{type:"image",source:{type:"base64",data:e.data,media_type:e.mime_type},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}}:{type:"image",source:{type:"url",url:t.url},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}}}else{if(t.source_type==="base64")return{type:"image",source:{type:"base64",data:t.data,media_type:t.mime_type??""},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{}};throw new Error(`Unsupported image source type: ${t.source_type}`)}},fromStandardFileBlock(t){const e=(t.mime_type??"").split(";")[0];if(t.source_type==="url"){if(e==="application/pdf"||e==="")return{type:"document",source:{type:"url",url:t.url},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};throw new Error(`Unsupported file mime type for file url source: ${t.mime_type}`)}else if(t.source_type==="text"){if(e==="text/plain"||e==="")return{type:"document",source:{type:"text",data:t.text,media_type:t.mime_type??""},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};throw new Error(`Unsupported file mime type for file text source: ${t.mime_type}`)}else if(t.source_type==="base64"){if(e==="application/pdf"||e==="")return{type:"document",source:{type:"base64",data:t.data,media_type:"application/pdf"},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};if(["image/jpeg","image/png","image/gif","image/webp"].includes(e))return{type:"document",source:{type:"content",content:[{type:"image",source:{type:"base64",data:t.data,media_type:e}}]},..."cache_control"in(t.metadata??{})?{cache_control:t.metadata.cache_control}:{},..."citations"in(t.metadata??{})?{citations:t.metadata.citations}:{},..."context"in(t.metadata??{})?{context:t.metadata.context}:{},..."title"in(t.metadata??{})?{title:t.metadata.title}:{}};throw new Error(`Unsupported file mime type for file base64 source: ${t.mime_type}`)}else throw new Error(`Unsupported file source type: ${t.source_type}`)}},Hs=t=>t();function Js(t){return typeof t=="object"&&t!==null&&"type"in t&&t.type==="citation"}function Ks(t){function*e(){for(const n of t)Js(n)&&(n.source==="char"?yield{type:"char_location",file_id:n.url??"",start_char_index:n.startIndex??0,end_char_index:n.endIndex??0,document_title:n.title??null,document_index:0,cited_text:n.citedText??""}:n.source==="page"?yield{type:"page_location",file_id:n.url??"",start_page_number:n.startIndex??0,end_page_number:n.endIndex??0,document_title:n.title??null,document_index:0,cited_text:n.citedText??""}:n.source==="block"?yield{type:"content_block_location",file_id:n.url??"",start_block_index:n.startIndex??0,end_block_index:n.endIndex??0,document_title:n.title??null,document_index:0,cited_text:n.citedText??""}:n.source==="url"?yield{type:"web_search_result_location",url:n.url??"",title:n.title??null,encrypted_index:String(n.startIndex??0),cited_text:n.citedText??""}:n.source==="search"&&(yield{type:"search_result_location",title:n.title??null,start_block_index:n.startIndex??0,end_block_index:n.endIndex??0,search_result_index:0,source:n.source??"",cited_text:n.citedText??""}))}return Array.from(e())}function oe(t){return typeof t=="string"?t:Xs(t)}function Xs(t){const e=[];for(let n=0,{length:r}=t;n<r;n++)e.push(String.fromCharCode(t[n]));return btoa(e.join(""))}function ct(t){return(t??"").split(";")[0].toLowerCase()}function ke(t,e){if(t!=null&&typeof t=="object"&&e in t)return t[e]}function Z(t,e){const n=ke(e,"cache_control");n!==void 0&&(t.cache_control=n);const r=ke(e,"citations");r!==void 0&&(t.citations=r);const s=ke(e,"context");s!==void 0&&(t.context=s);const a=ke(e,"title");return a!==void 0&&(t.title=a),t}function ut(t,e){const n=ke(e,"cache_control");return n!==void 0&&(t.cache_control=n),t}function Xt(t){return new Set(["image/jpeg","image/png","image/gif","image/webp"]).has(t)}function zs(t){const e=[],n=t.response_metadata,r="model_provider"in n&&n?.model_provider==="anthropic";for(const s of t.contentBlocks)if(s.type==="text")s.annotations?e.push({type:"text",text:s.text,citations:Ks(s.annotations)}):e.push({type:"text",text:s.text});else if(s.type==="tool_call")e.push({type:"tool_use",id:s.id??"",name:s.name,input:s.args});else if(s.type==="tool_call_chunk"){const a=Hs(()=>{if(typeof s.args!="string")return s.args;try{return JSON.parse(s.args)}catch{return{}}});e.push({type:"tool_use",id:s.id??"",name:s.name??"",input:a})}else if(s.type==="reasoning"&&r)e.push({type:"thinking",thinking:s.reasoning,signature:String(s.signature)});else if(s.type==="server_tool_call"&&r)s.name==="web_search"?e.push({type:"server_tool_use",name:s.name,id:s.id??"",input:s.args}):s.name==="code_execution"&&e.push({type:"server_tool_use",name:s.name,id:s.id??"",input:s.args});else if(s.type==="server_tool_call_result"&&r)if(s.name==="web_search"&&Array.isArray(s.output.urls)){const a=s.output.urls.map(i=>({type:"web_search_result",title:"",encrypted_content:"",url:i}));e.push({type:"web_search_tool_result",tool_use_id:s.toolCallId??"",content:a})}else s.name==="code_execution"?e.push({type:"code_execution_tool_result",tool_use_id:s.toolCallId??"",content:s.output}):s.name==="mcp_tool_result"&&e.push({type:"mcp_tool_result",tool_use_id:s.toolCallId??"",content:s.output});else{if(s.type==="audio")throw new Error("Anthropic does not support audio content blocks.");if(s.type==="file"){const a=s.metadata;if(s.fileId){e.push(Z({type:"document",source:{type:"file",file_id:s.fileId}},a));continue}if(s.url){const i=ct(s.mimeType);if(i==="application/pdf"||i===""){e.push(Z({type:"document",source:{type:"url",url:s.url}},a));continue}}if(s.data){const i=ct(s.mimeType);if(i===""||i==="application/pdf")e.push(Z({type:"document",source:{type:"base64",data:oe(s.data),media_type:"application/pdf"}},a));else if(i==="text/plain")e.push(Z({type:"document",source:{type:"text",data:oe(s.data),media_type:"text/plain"}},a));else if(Xt(i))e.push(Z({type:"document",source:{type:"content",content:[{type:"image",source:{type:"base64",data:oe(s.data),media_type:i}}]}},a));else throw new Error(`Unsupported file mime type for Anthropic base64 source: ${i}`);continue}throw new Error("File content block must include a fileId, url, or data property.")}else if(s.type==="image"){const a=s.metadata;if(s.fileId){e.push(ut({type:"image",source:{type:"file",file_id:s.fileId}},a));continue}if(s.url){e.push(ut({type:"image",source:{type:"url",url:s.url}},a));continue}if(s.data){const i=ct(s.mimeType)||"image/png";Xt(i)&&e.push(ut({type:"image",source:{type:"base64",data:oe(s.data),media_type:i}},a));continue}throw new Error("Image content block must include a fileId, url, or data property.")}else s.type==="video"||(s.type==="text-plain"?s.data&&e.push(Z({type:"document",source:{type:"text",data:oe(s.data),media_type:"text/plain"}},s.metadata)):s.type==="non_standard"&&r&&e.push(s.value))}return e}function lt(t){const e=kn({dataUrl:t});if(e)return{type:"base64",media_type:e.mime_type,data:e.data};let n;try{n=new URL(t)}catch{throw new Error([`Malformed image URL: ${JSON.stringify(t)}. Content blocks of type 'image_url' must be a valid http, https, or base64-encoded data URL.`,"Example: data:image/png;base64,/9j/4AAQSk...","Example: https://example.com/image.jpg"].join(`
|
|
2
2
|
|
|
3
3
|
`))}if(n.protocol==="http:"||n.protocol==="https:")return{type:"url",url:t};throw new Error([`Invalid image URL protocol: ${JSON.stringify(n.protocol)}. Anthropic only supports images as http, https, or base64-encoded data URLs on 'image_url' content blocks.`,"Example: data:image/png;base64,/9j/4AAQSk...","Example: https://example.com/image.jpg"].join(`
|
|
4
4
|
|