@mcp-use/inspector 0.23.0 → 0.23.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/cdn/inspector.js +2 -2
- package/dist/client/index.js +55 -55
- package/dist/web/assets/{1c-B_je6PfC.js → 1c-BsRrdtxF.js} +1 -1
- package/dist/web/assets/{abnf-CMyowSyS.js → abnf-B0MsJh7q.js} +1 -1
- package/dist/web/assets/{accesslog-B8bWWYFd.js → accesslog-B5MEB0Nq.js} +1 -1
- package/dist/web/assets/{actionscript-Bm06ULzQ.js → actionscript-D7usd51e.js} +1 -1
- package/dist/web/assets/{ada-DB-eSZJZ.js → ada-BbS9j0Du.js} +1 -1
- package/dist/web/assets/{angelscript-5kqeqwJe.js → angelscript-DQYQ6hpH.js} +1 -1
- package/dist/web/assets/{apache-CybdhqJ2.js → apache-Cgpbf6xa.js} +1 -1
- package/dist/web/assets/{applescript-DdoNE_9S.js → applescript-CabjdxAf.js} +1 -1
- package/dist/web/assets/{arcade-DN-WIgd_.js → arcade-CKaYSQsH.js} +1 -1
- package/dist/web/assets/{arduino-DwQxKJ4e.js → arduino-BQuUKcEL.js} +1 -1
- package/dist/web/assets/{armasm-dFo227o8.js → armasm-CanmQ6ny.js} +1 -1
- package/dist/web/assets/{asciidoc-BEFNLOT0.js → asciidoc-DdN7FlUK.js} +1 -1
- package/dist/web/assets/{aspectj-BQH--xv3.js → aspectj-MYtmdY-K.js} +1 -1
- package/dist/web/assets/{autohotkey-CFDHj8-O.js → autohotkey-DqKAmjev.js} +1 -1
- package/dist/web/assets/{autoit-B8H_AR3d.js → autoit-CB6llvMG.js} +1 -1
- package/dist/web/assets/{avrasm-CFP-9Hcg.js → avrasm-ko1F28KW.js} +1 -1
- package/dist/web/assets/{awk-BTDWhXxC.js → awk-DDN9Ts05.js} +1 -1
- package/dist/web/assets/{axapta-BkG50zY6.js → axapta-YDcRtOiH.js} +1 -1
- package/dist/web/assets/{bash-BwmuHn4L.js → bash-BWvdw61y.js} +1 -1
- package/dist/web/assets/{basic-DyMnlzsT.js → basic-BdfTpsKh.js} +1 -1
- package/dist/web/assets/{bnf-wgP2gYai.js → bnf-Cj7gSn_B.js} +1 -1
- package/dist/web/assets/{brainfuck-sl47XX-n.js → brainfuck-CUZKrx3C.js} +1 -1
- package/dist/web/assets/{c-BsHU5Igk.js → c-CUji4Xxt.js} +1 -1
- package/dist/web/assets/{c-like-CqskoEx9.js → c-like-E6EL3XNG.js} +1 -1
- package/dist/web/assets/{cal-BznNzu_D.js → cal-BFOqp-_R.js} +1 -1
- package/dist/web/assets/{capnproto-DUBMKB47.js → capnproto-Za5R5CAz.js} +1 -1
- package/dist/web/assets/{ceylon-ySvbdVNJ.js → ceylon-BDTZ0mmV.js} +1 -1
- package/dist/web/assets/{clean-BDNdAdak.js → clean-Ck3_cd2k.js} +1 -1
- package/dist/web/assets/{client-BuqtKWTS.js → client-t4HcGl6d.js} +3 -3
- package/dist/web/assets/{clojure-BUYGZAJO.js → clojure-D3o7dL0G.js} +1 -1
- package/dist/web/assets/{clojure-repl-CFX3nuKH.js → clojure-repl-BQmlQwow.js} +1 -1
- package/dist/web/assets/{cmake-B0jnRzyO.js → cmake-CDk-OBbc.js} +1 -1
- package/dist/web/assets/{coffeescript-CpXwCdZz.js → coffeescript-B4xFq9dn.js} +1 -1
- package/dist/web/assets/{coq-27HdgGtX.js → coq-BENOEOEW.js} +1 -1
- package/dist/web/assets/{core-BMZRhyOQ.js → core-BLev_GwY.js} +1 -1
- package/dist/web/assets/{cos-BDZEzGql.js → cos-DpDwVd_e.js} +1 -1
- package/dist/web/assets/{cpp-CdJeebjR.js → cpp-Dp70qi8u.js} +1 -1
- package/dist/web/assets/{crmsh-BQAX9lf1.js → crmsh-DTMGlc_4.js} +1 -1
- package/dist/web/assets/{crystal-BEigTkZV.js → crystal-C2R5Vcfx.js} +1 -1
- package/dist/web/assets/{csharp-CfEDILBg.js → csharp-CWIleYvU.js} +1 -1
- package/dist/web/assets/{csp-CxPy5hcn.js → csp-aYB9UXKl.js} +1 -1
- package/dist/web/assets/{css-CMLuD7AI.js → css-hBoT9mUj.js} +1 -1
- package/dist/web/assets/{d-ClrhAUQO.js → d-Cf_T2fLw.js} +1 -1
- package/dist/web/assets/{dart-BjGU1EF6.js → dart-qF-Tl2wz.js} +1 -1
- package/dist/web/assets/{delphi-QulVW-GU.js → delphi-DIYXsGYS.js} +1 -1
- package/dist/web/assets/{diff-12NuWxNv.js → diff-4NJjPklq.js} +1 -1
- package/dist/web/assets/{display-A5IEINAP-Djz0KdYV.js → display-A5IEINAP-BJvDfnSY.js} +2 -2
- package/dist/web/assets/{django-G2wpsFnc.js → django-Od9lRitI.js} +1 -1
- package/dist/web/assets/{dns-CMUAhAyW.js → dns-DW12HStc.js} +1 -1
- package/dist/web/assets/{dockerfile-DW2nN5-j.js → dockerfile-dWBlpudl.js} +1 -1
- package/dist/web/assets/{dos-BdpgcwAB.js → dos-E3TEQiJI.js} +1 -1
- package/dist/web/assets/{dsconfig-DpuxAJjs.js → dsconfig-CSNUWyN-.js} +1 -1
- package/dist/web/assets/{dts-MWWeiyZ-.js → dts-BkpTtO7B.js} +1 -1
- package/dist/web/assets/{dust-BvFjCcxi.js → dust-CwWZ-Lo5.js} +1 -1
- package/dist/web/assets/{ebnf-CCLpH6ws.js → ebnf-C_5A2-JI.js} +1 -1
- package/dist/web/assets/{elixir-Dq40XM8Z.js → elixir-CaPYgopi.js} +1 -1
- package/dist/web/assets/{elm-BVy63D_g.js → elm-tqE-YCpV.js} +1 -1
- package/dist/web/assets/{embeddings-BvH7ZdmL.js → embeddings-CxF6I3vU.js} +1 -1
- package/dist/web/assets/{erb-Dnlj40O6.js → erb-D-qNWxp0.js} +1 -1
- package/dist/web/assets/{erlang-DQYvLS_f.js → erlang-D3C3W_jo.js} +1 -1
- package/dist/web/assets/{erlang-repl-IRMolZ4v.js → erlang-repl-xsVUO4jf.js} +1 -1
- package/dist/web/assets/{excel-CamZDJFp.js → excel-ZozOTX_V.js} +1 -1
- package/dist/web/assets/{fix-DyJGyuzT.js → fix-DWglvW6g.js} +1 -1
- package/dist/web/assets/{flix-IAT9M8k0.js → flix-3vkdL3yb.js} +1 -1
- package/dist/web/assets/{fortran-Xq5ArUMh.js → fortran-BDaVIsyK.js} +1 -1
- package/dist/web/assets/{fsharp-B_YSlgiC.js → fsharp-B-sGm4-h.js} +1 -1
- package/dist/web/assets/{gams-5gA6q89M.js → gams-B9oJjz2K.js} +1 -1
- package/dist/web/assets/{gauss-BpCcOLfr.js → gauss-DgiF_w4K.js} +1 -1
- package/dist/web/assets/{gcode-DwtGgXaR.js → gcode-080NEyCE.js} +1 -1
- package/dist/web/assets/{gherkin-KXqOjvTC.js → gherkin-sl-yzRhk.js} +1 -1
- package/dist/web/assets/{glsl-22KfDz-0.js → glsl-VnY9COwq.js} +1 -1
- package/dist/web/assets/{gml-DEKvIqVF.js → gml-Do7sEzB3.js} +1 -1
- package/dist/web/assets/{go-D-wiYFxl.js → go-BMymkk5z.js} +1 -1
- package/dist/web/assets/{golo-DJrp9ats.js → golo-DW2MR_9w.js} +1 -1
- package/dist/web/assets/{gradle-CMtW6Qfi.js → gradle-CFfNKfWc.js} +1 -1
- package/dist/web/assets/{groovy-D0xBkuRa.js → groovy-C3a9bR-p.js} +1 -1
- package/dist/web/assets/{haml-Xo0_4dqz.js → haml-D5wIbcmG.js} +1 -1
- package/dist/web/assets/{handlebars-BPJ5GVnz.js → handlebars-CxZhhsLd.js} +1 -1
- package/dist/web/assets/{haskell-CoqneDxq.js → haskell-BBm7vfyv.js} +1 -1
- package/dist/web/assets/{haxe-D7euWtAP.js → haxe-X2t-uDsG.js} +1 -1
- package/dist/web/assets/{hsp-D3rX7tSn.js → hsp-BJ40nvPc.js} +1 -1
- package/dist/web/assets/{htmlbars-EsxrG9s9.js → htmlbars-D0-W9-G5.js} +1 -1
- package/dist/web/assets/{http-BLdsE9-_.js → http-B7XSrOsj.js} +1 -1
- package/dist/web/assets/{hy-CQRm0lvC.js → hy-DWSXox36.js} +1 -1
- package/dist/web/assets/{index-EQ5dayGy.js → index-B9xgKKTO.js} +8 -8
- package/dist/web/assets/{index-VInbTqkl.js → index-BXsQjwTP.js} +1 -1
- package/dist/web/assets/{index-DYdfZiN5.js → index-CHETn0A3.js} +1 -1
- package/dist/web/assets/{index-BWrbAuul.js → index-CbFpMbvI.js} +1 -1
- package/dist/web/assets/{index-BGZ_E61E.js → index-D8-Z6Ssp.js} +1 -1
- package/dist/web/assets/{index-rGyQWD5d.js → index-DtYddBwZ.js} +1 -1
- package/dist/web/assets/{index-CasfVa_z.js → index-JfcYhvKH.js} +1 -1
- package/dist/web/assets/{inform7-BhKMBHn1.js → inform7-CpIZKqpb.js} +1 -1
- package/dist/web/assets/{ini-B8h_vE4H.js → ini-BiooBqHz.js} +1 -1
- package/dist/web/assets/{irpf90-CTrvOh6B.js → irpf90-C_s7teuJ.js} +1 -1
- package/dist/web/assets/{isbl-CiBkUpIB.js → isbl-BAGFDUwq.js} +1 -1
- package/dist/web/assets/{java-Dejg8LYu.js → java-CjIIJWjg.js} +1 -1
- package/dist/web/assets/{javascript-BSr_g6Qp.js → javascript-CKKTZSU3.js} +1 -1
- package/dist/web/assets/{jboss-cli-BJPQrGBp.js → jboss-cli-rAdWOEbn.js} +1 -1
- package/dist/web/assets/{json-DW6y8gJL.js → json-BcbXmg-L.js} +1 -1
- package/dist/web/assets/{julia-CVwylLUm.js → julia-DGomzeJO.js} +1 -1
- package/dist/web/assets/{julia-repl-BaYgxd1Q.js → julia-repl-G5Vn7riF.js} +1 -1
- package/dist/web/assets/{kotlin-DaR9zYlH.js → kotlin-DRokrVaP.js} +1 -1
- package/dist/web/assets/{langfuse-U2OEF7K7-CGMUPIPb.js → langfuse-U2OEF7K7-Bke0aacP.js} +3 -3
- package/dist/web/assets/{lasso-UR0nfSAp.js → lasso-DtyZVNex.js} +1 -1
- package/dist/web/assets/{latex-6QoImG_q.js → latex-NAG_A9K9.js} +1 -1
- package/dist/web/assets/{ldif-BVb__qq8.js → ldif-9fLfTLpF.js} +1 -1
- package/dist/web/assets/{leaf-B9eyYs68.js → leaf-DaH9hmep.js} +1 -1
- package/dist/web/assets/{less-DwfIC8bh.js → less-CBWXKj5w.js} +1 -1
- package/dist/web/assets/{lisp-C7qEPJ3F.js → lisp-CFawLH9g.js} +1 -1
- package/dist/web/assets/{livecodeserver-CGD1DD2T.js → livecodeserver-DrfKgSWf.js} +1 -1
- package/dist/web/assets/{livescript-C-9OhXPH.js → livescript-DpPbX4vJ.js} +1 -1
- package/dist/web/assets/{llms-B0zs90kq.js → llms-DYitwP9m.js} +1 -1
- package/dist/web/assets/{llvm-16wwRDwA.js → llvm-BPjpvHfE.js} +1 -1
- package/dist/web/assets/{lsl-CWuJPVoL.js → lsl-CPpcPvxS.js} +1 -1
- package/dist/web/assets/{lua-LITIGhoN.js → lua-mIS-MtkS.js} +1 -1
- package/dist/web/assets/{makefile-95Bba-dy.js → makefile-DcepQtXt.js} +1 -1
- package/dist/web/assets/{markdown-C95TKAda.js → markdown-DRgXaNAJ.js} +1 -1
- package/dist/web/assets/{mathematica-BQpRB38P.js → mathematica-FI-UENno.js} +1 -1
- package/dist/web/assets/{matlab-BGayBMsq.js → matlab-Q3ZyyMDx.js} +1 -1
- package/dist/web/assets/{maxima-CjZWFs_J.js → maxima-o6aVwcas.js} +1 -1
- package/dist/web/assets/{mel-BpEckeWP.js → mel-BGz6eZQ9.js} +1 -1
- package/dist/web/assets/{mercury-D2zkDp8M.js → mercury-CYcz5QAB.js} +1 -1
- package/dist/web/assets/{mipsasm-CRPiVoeH.js → mipsasm-DhjRABQ9.js} +1 -1
- package/dist/web/assets/{mizar-B3BtwgcQ.js → mizar-DlyvdoBU.js} +1 -1
- package/dist/web/assets/{mojolicious-CJ3KCHwt.js → mojolicious-kQMe5Mav.js} +1 -1
- package/dist/web/assets/{monkey-BQ5qA794.js → monkey-CHe2RjjI.js} +1 -1
- package/dist/web/assets/{moonscript-BCr1MWWG.js → moonscript-DxF4RK-z.js} +1 -1
- package/dist/web/assets/{n1ql-CGYGZU8R.js → n1ql-DIlbVIF3.js} +1 -1
- package/dist/web/assets/{nginx-DkMtKMmq.js → nginx-BIi-xNAu.js} +1 -1
- package/dist/web/assets/{nim-CMa9cdZ7.js → nim-DEQXplhE.js} +1 -1
- package/dist/web/assets/{nix-CdqVQ-JG.js → nix-Ve7LBnfe.js} +1 -1
- package/dist/web/assets/{node-repl-BlT0krOy.js → node-repl-BmI-Y67d.js} +1 -1
- package/dist/web/assets/{nsis-BAwbESyn.js → nsis-NVQLvjeu.js} +1 -1
- package/dist/web/assets/{objectivec-BAwBm25O.js → objectivec-BQUYSzXL.js} +1 -1
- package/dist/web/assets/{ocaml-DYJ8qoU6.js → ocaml-BPdXwJkf.js} +1 -1
- package/dist/web/assets/{openscad-DkqvknC-.js → openscad-dvcaeWYq.js} +1 -1
- package/dist/web/assets/{oxygene-BrJvcxBy.js → oxygene-CSla5wjf.js} +1 -1
- package/dist/web/assets/{parser3-fafUqQi2.js → parser3-CMrWz2iO.js} +1 -1
- package/dist/web/assets/{perl--jYF00F0.js → perl-BziYdes5.js} +1 -1
- package/dist/web/assets/{pf-BhSXdG0_.js → pf-C1iCtbdl.js} +1 -1
- package/dist/web/assets/{pgsql-HgzZhc5T.js → pgsql-CFCQucay.js} +1 -1
- package/dist/web/assets/{php-DZyMwBqo.js → php-DlSsymtp.js} +1 -1
- package/dist/web/assets/{php-template-B8piwhU2.js → php-template-BTwd9Gp0.js} +1 -1
- package/dist/web/assets/{plaintext-EAUL7Dxt.js → plaintext-DOepJ0qD.js} +1 -1
- package/dist/web/assets/{pony-CCpAjnnq.js → pony-DMFN3WsV.js} +1 -1
- package/dist/web/assets/{powershell-DT_hNyeL.js → powershell-D40vlosJ.js} +1 -1
- package/dist/web/assets/{processing-BPIe0lUf.js → processing-D4viRPwG.js} +1 -1
- package/dist/web/assets/{profile-oG12msCt.js → profile-CvYulgSX.js} +1 -1
- package/dist/web/assets/{prolog-C4FL3v6h.js → prolog-CVb4Rh_Q.js} +1 -1
- package/dist/web/assets/{properties-XGoYqUVT.js → properties-gtvmZIqu.js} +1 -1
- package/dist/web/assets/{protobuf--oqbsbBH.js → protobuf-B1uOKzzg.js} +1 -1
- package/dist/web/assets/{puppet-B_Gin-K8.js → puppet-DBnPY0DC.js} +1 -1
- package/dist/web/assets/{purebasic-DyEwTmwY.js → purebasic-BWMNWX6q.js} +1 -1
- package/dist/web/assets/{python-QFOsazzN.js → python-B4yxFuwN.js} +1 -1
- package/dist/web/assets/{python-repl-DFj8HAmm.js → python-repl-B4R0ucck.js} +1 -1
- package/dist/web/assets/{q-I0_NMD2H.js → q-BqXgZiuR.js} +1 -1
- package/dist/web/assets/{qml-CMebwEgm.js → qml-DoOX5TtE.js} +1 -1
- package/dist/web/assets/{r-DKKlNppV.js → r-DGwsLqP2.js} +1 -1
- package/dist/web/assets/{reasonml-CbRZEW-I.js → reasonml-x0wAKLIU.js} +1 -1
- package/dist/web/assets/{rib-E5n3Msug.js → rib-C1oAuasr.js} +1 -1
- package/dist/web/assets/{roboconf-Dv9mT086.js → roboconf-DIY40GP8.js} +1 -1
- package/dist/web/assets/{routeros-BfutvcgN.js → routeros-DxYGPHzM.js} +1 -1
- package/dist/web/assets/{rsl-FiwBpg36.js → rsl-CCA0JfiX.js} +1 -1
- package/dist/web/assets/{ruby-Dxo6i7Sa.js → ruby-DnfA9qTX.js} +1 -1
- package/dist/web/assets/{ruleslanguage-CaIzMGqP.js → ruleslanguage-BYu1pbs1.js} +1 -1
- package/dist/web/assets/{rust-COrUlmUI.js → rust-Bo7Yv597.js} +1 -1
- package/dist/web/assets/{sas-D4qg8kb5.js → sas-RWr0BTgT.js} +1 -1
- package/dist/web/assets/{scala-CUBcEPgu.js → scala-B3j_BiDT.js} +1 -1
- package/dist/web/assets/{scheme-0ZpX1ySL.js → scheme-BGP6F_8T.js} +1 -1
- package/dist/web/assets/{scilab-BCODw-0T.js → scilab-dY6W91ZT.js} +1 -1
- package/dist/web/assets/{scss-le2yyBXs.js → scss-CY8oiDRb.js} +1 -1
- package/dist/web/assets/{shell-B-0dFyKm.js → shell-DqaY9zAJ.js} +1 -1
- package/dist/web/assets/{smali-DMWoqzQX.js → smali-D2LeWTmK.js} +1 -1
- package/dist/web/assets/{smalltalk-lkIe20u7.js → smalltalk-COKhMPO9.js} +1 -1
- package/dist/web/assets/{sml-BLssJHhI.js → sml-CMHbapOv.js} +1 -1
- package/dist/web/assets/{sqf-BSiek2nc.js → sqf-BOjVS45n.js} +1 -1
- package/dist/web/assets/{sql-CwPLT5Zx.js → sql-vpDLcHMb.js} +1 -1
- package/dist/web/assets/{sql_more-CYbYArA0.js → sql_more-BiMI8Am_.js} +1 -1
- package/dist/web/assets/{stan-C1xx8pCO.js → stan-CPeYAOTS.js} +1 -1
- package/dist/web/assets/{stata-CIH7ZWNc.js → stata-Ct83xeQd.js} +1 -1
- package/dist/web/assets/{stdio-PTTIG7SS-me9t1SdW.js → stdio-ZKXAJGR6-Dd4k1mfX.js} +1 -1
- package/dist/web/assets/{step21-XNBcD_dp.js → step21-DUZiOjnn.js} +1 -1
- package/dist/web/assets/{stylus-BD_OvkZb.js → stylus-FWTmBbCS.js} +1 -1
- package/dist/web/assets/{subunit-D9lzPgDY.js → subunit-Dl1pnObk.js} +1 -1
- package/dist/web/assets/{swift-D6Ck_ind.js → swift-HAtiNg-T.js} +1 -1
- package/dist/web/assets/{taggerscript-aPaeNA4b.js → taggerscript-Cz34irh9.js} +1 -1
- package/dist/web/assets/{tap-C7r0ZeWw.js → tap-Bu2skdDM.js} +1 -1
- package/dist/web/assets/{tcl-DzVGzGM7.js → tcl-CxaqHaHx.js} +1 -1
- package/dist/web/assets/{thrift-iZUyuSTy.js → thrift-nPdR9I2E.js} +1 -1
- package/dist/web/assets/{tp-BpuLXsMO.js → tp-_vENqxx-.js} +1 -1
- package/dist/web/assets/{twig-BojFLS7l.js → twig-awCszUrW.js} +1 -1
- package/dist/web/assets/{typescript-Bi9qg7GO.js → typescript-9c_deSBN.js} +1 -1
- package/dist/web/assets/{vala-DbcwTZqk.js → vala-ebfKzDz0.js} +1 -1
- package/dist/web/assets/{vbnet-DFnvJTPG.js → vbnet-bjHn2fST.js} +1 -1
- package/dist/web/assets/{vbscript-html-DlyUoqjN.js → vbscript-html-B9CQZ8DC.js} +1 -1
- package/dist/web/assets/{vbscript-DiUDExti.js → vbscript-p-F44wLd.js} +1 -1
- package/dist/web/assets/{verilog-LwisCW_O.js → verilog-Cs5a8rHK.js} +1 -1
- package/dist/web/assets/{vhdl-CS5FT-M5.js → vhdl-G1SVZ576.js} +1 -1
- package/dist/web/assets/{vim-Btvi-251.js → vim-yJqjP0TD.js} +1 -1
- package/dist/web/assets/{x86asm-C75IOaeQ.js → x86asm-CsCdt4bH.js} +1 -1
- package/dist/web/assets/{xl-BSeeUT0h.js → xl-CYTyXc_9.js} +1 -1
- package/dist/web/assets/{xml-D-m4zfDV.js → xml-Dalj10I6.js} +1 -1
- package/dist/web/assets/{xquery-Dquu35_d.js → xquery-BTFe1rwO.js} +1 -1
- package/dist/web/assets/{yaml-DZAxXcR7.js → yaml-KooNpSWL.js} +1 -1
- package/dist/web/assets/{zephir-B8Lcrp1n.js → zephir-D9a9khgn.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +2 -2
package/dist/cdn/inspector.js
CHANGED
|
@@ -15350,7 +15350,7 @@ Ie.object({ method: Ie.literal("ui/notifications/host-context-changed"), params:
|
|
|
15350
15350
|
Ie.object({ method: Ie.literal("ui/update-model-context"), params: Ie.object({ content: Ie.array(z1).optional().describe("Context content blocks (text, image, etc.)."), structuredContent: Ie.record(Ie.string(), Ie.unknown().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.") }) });
|
|
15351
15351
|
Ie.object({ method: Ie.literal("ui/initialize"), params: Ie.object({ appInfo: U1.describe("App identification (name and version)."), appCapabilities: FUt.describe("Features and capabilities this app provides."), protocolVersion: Ie.string().describe("Protocol version this app supports.") }) });
|
|
15352
15352
|
Ie.object({ protocolVersion: Ie.string().describe('Negotiated protocol version string (e.g., "2025-11-21").'), hostInfo: U1.describe("Host application identification and version."), hostCapabilities: zUt.describe("Features and capabilities provided by the host."), hostContext: CVe.describe("Rich context about the host environment.") }).passthrough();
|
|
15353
|
-
var GUt = "text/html;profile=mcp-app", AVe = "1.20.
|
|
15353
|
+
var GUt = "text/html;profile=mcp-app", AVe = "1.20.5";
|
|
15354
15354
|
function B1() {
|
|
15355
15355
|
return AVe;
|
|
15356
15356
|
}
|
|
@@ -63087,7 +63087,7 @@ class lBt {
|
|
|
63087
63087
|
}
|
|
63088
63088
|
function nZ() {
|
|
63089
63089
|
try {
|
|
63090
|
-
return "0.23.
|
|
63090
|
+
return "0.23.1";
|
|
63091
63091
|
} catch {
|
|
63092
63092
|
return "0.0.0";
|
|
63093
63093
|
}
|
package/dist/client/index.js
CHANGED
|
@@ -6280,7 +6280,7 @@ var init_module = __esm({
|
|
|
6280
6280
|
}
|
|
6281
6281
|
});
|
|
6282
6282
|
|
|
6283
|
-
// ../mcp-use/dist/chunk-
|
|
6283
|
+
// ../mcp-use/dist/chunk-YEK7642C.js
|
|
6284
6284
|
import { RESOURCE_MIME_TYPE } from "@modelcontextprotocol/ext-apps";
|
|
6285
6285
|
function getPackageVersion2() {
|
|
6286
6286
|
return VERSION;
|
|
@@ -6443,12 +6443,12 @@ function setTelemetrySource(source) {
|
|
|
6443
6443
|
Tel.getInstance().setSource(source);
|
|
6444
6444
|
}
|
|
6445
6445
|
var VERSION, _a6, BaseTelemetryEvent, _a7, MCPAgentExecutionEvent, _a8, ServerRunEvent, _a9, ServerInitializeEvent, _a10, ServerToolCallEvent, _a11, ServerResourceCallEvent, _a12, ServerPromptCallEvent, _a13, ServerContextEvent, _a14, MCPClientInitEvent, _a15, ConnectorInitEvent, _a16, ClientAddServerEvent, _a17, ClientRemoveServerEvent, USER_ID_STORAGE_KEY, cachedEnvironment, _a18, Telemetry2, Tel;
|
|
6446
|
-
var
|
|
6447
|
-
"../mcp-use/dist/chunk-
|
|
6446
|
+
var init_chunk_YEK7642C = __esm({
|
|
6447
|
+
"../mcp-use/dist/chunk-YEK7642C.js"() {
|
|
6448
6448
|
"use strict";
|
|
6449
6449
|
init_chunk_QWQYAQCK();
|
|
6450
6450
|
init_chunk_3GQAWCBQ();
|
|
6451
|
-
VERSION = "1.20.
|
|
6451
|
+
VERSION = "1.20.5";
|
|
6452
6452
|
__name(getPackageVersion2, "getPackageVersion");
|
|
6453
6453
|
BaseTelemetryEvent = (_a6 = class {
|
|
6454
6454
|
}, __name(_a6, "BaseTelemetryEvent"), _a6);
|
|
@@ -12528,17 +12528,17 @@ var init_langfuse_U2OEF7K7 = __esm({
|
|
|
12528
12528
|
}
|
|
12529
12529
|
});
|
|
12530
12530
|
|
|
12531
|
-
// ../mcp-use/dist/chunk-
|
|
12531
|
+
// ../mcp-use/dist/chunk-ZAA33UB5.js
|
|
12532
12532
|
import {
|
|
12533
12533
|
CreateMessageRequestSchema,
|
|
12534
12534
|
ElicitRequestSchema,
|
|
12535
12535
|
ListRootsRequestSchema
|
|
12536
12536
|
} from "@modelcontextprotocol/sdk/types.js";
|
|
12537
12537
|
var _a19, BaseConnector;
|
|
12538
|
-
var
|
|
12539
|
-
"../mcp-use/dist/chunk-
|
|
12538
|
+
var init_chunk_ZAA33UB5 = __esm({
|
|
12539
|
+
"../mcp-use/dist/chunk-ZAA33UB5.js"() {
|
|
12540
12540
|
"use strict";
|
|
12541
|
-
|
|
12541
|
+
init_chunk_YEK7642C();
|
|
12542
12542
|
init_chunk_QWQYAQCK();
|
|
12543
12543
|
init_chunk_3GQAWCBQ();
|
|
12544
12544
|
BaseConnector = (_a19 = class {
|
|
@@ -13048,12 +13048,12 @@ var init_chunk_6L4SEVTZ = __esm({
|
|
|
13048
13048
|
}
|
|
13049
13049
|
});
|
|
13050
13050
|
|
|
13051
|
-
// ../mcp-use/dist/chunk-
|
|
13051
|
+
// ../mcp-use/dist/chunk-MJ5Q62O7.js
|
|
13052
13052
|
var _a20, CodeModeConnector;
|
|
13053
|
-
var
|
|
13054
|
-
"../mcp-use/dist/chunk-
|
|
13053
|
+
var init_chunk_MJ5Q62O7 = __esm({
|
|
13054
|
+
"../mcp-use/dist/chunk-MJ5Q62O7.js"() {
|
|
13055
13055
|
"use strict";
|
|
13056
|
-
|
|
13056
|
+
init_chunk_ZAA33UB5();
|
|
13057
13057
|
init_chunk_3GQAWCBQ();
|
|
13058
13058
|
CodeModeConnector = (_a20 = class extends BaseConnector {
|
|
13059
13059
|
constructor(client) {
|
|
@@ -13281,7 +13281,7 @@ var init_chunk_GKPKUKD6 = __esm({
|
|
|
13281
13281
|
}
|
|
13282
13282
|
});
|
|
13283
13283
|
|
|
13284
|
-
// ../mcp-use/dist/chunk-
|
|
13284
|
+
// ../mcp-use/dist/chunk-MOIY46VI.js
|
|
13285
13285
|
import {
|
|
13286
13286
|
Client
|
|
13287
13287
|
} from "@modelcontextprotocol/sdk/client/index.js";
|
|
@@ -13351,12 +13351,12 @@ function createConnectorFromConfig(serverConfig, connectorOptions) {
|
|
|
13351
13351
|
throw new Error("Cannot determine connector type from config");
|
|
13352
13352
|
}
|
|
13353
13353
|
var _a22, MCPSession, _a23, BaseMCPClient, _a24, SseConnectionManager, _a25, HttpConnector;
|
|
13354
|
-
var
|
|
13355
|
-
"../mcp-use/dist/chunk-
|
|
13354
|
+
var init_chunk_MOIY46VI = __esm({
|
|
13355
|
+
"../mcp-use/dist/chunk-MOIY46VI.js"() {
|
|
13356
13356
|
"use strict";
|
|
13357
13357
|
init_chunk_GKPKUKD6();
|
|
13358
|
-
|
|
13359
|
-
|
|
13358
|
+
init_chunk_ZAA33UB5();
|
|
13359
|
+
init_chunk_YEK7642C();
|
|
13360
13360
|
init_chunk_QWQYAQCK();
|
|
13361
13361
|
init_chunk_3GQAWCBQ();
|
|
13362
13362
|
MCPSession = (_a22 = class {
|
|
@@ -34149,16 +34149,16 @@ var init_dist3 = __esm({
|
|
|
34149
34149
|
}
|
|
34150
34150
|
});
|
|
34151
34151
|
|
|
34152
|
-
// ../mcp-use/dist/chunk-
|
|
34152
|
+
// ../mcp-use/dist/chunk-32VEZVWH.js
|
|
34153
34153
|
import { Client as Client2 } from "@modelcontextprotocol/sdk/client/index.js";
|
|
34154
34154
|
import process22 from "process";
|
|
34155
34155
|
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
|
|
34156
34156
|
var _a28, StdioConnectionManager, _a29, StdioConnector;
|
|
34157
|
-
var
|
|
34158
|
-
"../mcp-use/dist/chunk-
|
|
34157
|
+
var init_chunk_32VEZVWH = __esm({
|
|
34158
|
+
"../mcp-use/dist/chunk-32VEZVWH.js"() {
|
|
34159
34159
|
"use strict";
|
|
34160
34160
|
init_chunk_GKPKUKD6();
|
|
34161
|
-
|
|
34161
|
+
init_chunk_ZAA33UB5();
|
|
34162
34162
|
init_chunk_QWQYAQCK();
|
|
34163
34163
|
init_chunk_3GQAWCBQ();
|
|
34164
34164
|
StdioConnectionManager = (_a28 = class extends ConnectionManager {
|
|
@@ -34301,24 +34301,24 @@ var init_chunk_4EWJ44J7 = __esm({
|
|
|
34301
34301
|
}
|
|
34302
34302
|
});
|
|
34303
34303
|
|
|
34304
|
-
// ../mcp-use/dist/stdio-
|
|
34305
|
-
var
|
|
34306
|
-
__export(
|
|
34304
|
+
// ../mcp-use/dist/stdio-ZKXAJGR6.js
|
|
34305
|
+
var stdio_ZKXAJGR6_exports = {};
|
|
34306
|
+
__export(stdio_ZKXAJGR6_exports, {
|
|
34307
34307
|
StdioConnector: () => StdioConnector
|
|
34308
34308
|
});
|
|
34309
|
-
var
|
|
34310
|
-
"../mcp-use/dist/stdio-
|
|
34309
|
+
var init_stdio_ZKXAJGR6 = __esm({
|
|
34310
|
+
"../mcp-use/dist/stdio-ZKXAJGR6.js"() {
|
|
34311
34311
|
"use strict";
|
|
34312
|
-
|
|
34312
|
+
init_chunk_32VEZVWH();
|
|
34313
34313
|
init_chunk_GKPKUKD6();
|
|
34314
|
-
|
|
34315
|
-
|
|
34314
|
+
init_chunk_ZAA33UB5();
|
|
34315
|
+
init_chunk_YEK7642C();
|
|
34316
34316
|
init_chunk_QWQYAQCK();
|
|
34317
34317
|
init_chunk_3GQAWCBQ();
|
|
34318
34318
|
}
|
|
34319
34319
|
});
|
|
34320
34320
|
|
|
34321
|
-
// ../mcp-use/dist/chunk-
|
|
34321
|
+
// ../mcp-use/dist/chunk-7VW4PHB5.js
|
|
34322
34322
|
function getVMModuleName() {
|
|
34323
34323
|
return ["node", "vm"].join(":");
|
|
34324
34324
|
}
|
|
@@ -34424,13 +34424,13 @@ function validate(params, content) {
|
|
|
34424
34424
|
}
|
|
34425
34425
|
}
|
|
34426
34426
|
var _a30, BaseCodeExecutor, _a31, E2BCodeExecutor, vm, vmCheckAttempted, _a32, VMCodeExecutor, _a33, MCPClient;
|
|
34427
|
-
var
|
|
34428
|
-
"../mcp-use/dist/chunk-
|
|
34427
|
+
var init_chunk_7VW4PHB5 = __esm({
|
|
34428
|
+
"../mcp-use/dist/chunk-7VW4PHB5.js"() {
|
|
34429
34429
|
"use strict";
|
|
34430
|
-
|
|
34430
|
+
init_chunk_MJ5Q62O7();
|
|
34431
34431
|
init_chunk_RPN2XO5I();
|
|
34432
|
-
|
|
34433
|
-
|
|
34432
|
+
init_chunk_MOIY46VI();
|
|
34433
|
+
init_chunk_YEK7642C();
|
|
34434
34434
|
init_chunk_QWQYAQCK();
|
|
34435
34435
|
init_chunk_3GQAWCBQ();
|
|
34436
34436
|
init_fs();
|
|
@@ -35281,7 +35281,7 @@ ${shim}
|
|
|
35281
35281
|
clientInfo: serverConfig.clientInfo ?? this.config.clientInfo
|
|
35282
35282
|
};
|
|
35283
35283
|
if ("command" in merged && "args" in merged) {
|
|
35284
|
-
const { StdioConnector: StdioConnector2 } = await Promise.resolve().then(() => (
|
|
35284
|
+
const { StdioConnector: StdioConnector2 } = await Promise.resolve().then(() => (init_stdio_ZKXAJGR6(), stdio_ZKXAJGR6_exports));
|
|
35285
35285
|
const stdioConfig = merged;
|
|
35286
35286
|
return new StdioConnector2({
|
|
35287
35287
|
command: stdioConfig.command,
|
|
@@ -35533,13 +35533,13 @@ __export(client_exports, {
|
|
|
35533
35533
|
var init_client = __esm({
|
|
35534
35534
|
"../mcp-use/dist/src/client.js"() {
|
|
35535
35535
|
"use strict";
|
|
35536
|
-
|
|
35537
|
-
|
|
35536
|
+
init_chunk_7VW4PHB5();
|
|
35537
|
+
init_chunk_MJ5Q62O7();
|
|
35538
35538
|
init_chunk_RPN2XO5I();
|
|
35539
|
-
|
|
35539
|
+
init_chunk_MOIY46VI();
|
|
35540
35540
|
init_chunk_GKPKUKD6();
|
|
35541
|
-
|
|
35542
|
-
|
|
35541
|
+
init_chunk_ZAA33UB5();
|
|
35542
|
+
init_chunk_YEK7642C();
|
|
35543
35543
|
init_chunk_QWQYAQCK();
|
|
35544
35544
|
init_chunk_3GQAWCBQ();
|
|
35545
35545
|
}
|
|
@@ -80133,7 +80133,7 @@ var init_display_A5IEINAP = __esm({
|
|
|
80133
80133
|
}
|
|
80134
80134
|
});
|
|
80135
80135
|
|
|
80136
|
-
// ../mcp-use/dist/chunk-
|
|
80136
|
+
// ../mcp-use/dist/chunk-C7XOQLBZ.js
|
|
80137
80137
|
import { z as z4 } from "zod";
|
|
80138
80138
|
import { StructuredTool } from "@langchain/core/tools";
|
|
80139
80139
|
import { StructuredTool as StructuredTool2 } from "@langchain/core/tools";
|
|
@@ -80365,11 +80365,11 @@ function normalizeRunOptions(queryOrOptions, maxSteps, manageConnector, external
|
|
|
80365
80365
|
};
|
|
80366
80366
|
}
|
|
80367
80367
|
var _a34, MCPServerTool, PresentActiveServerSchema, _a35, AcquireActiveMCPServerTool, _a36, AddMCPServerFromConfigTool, ConnectMCPServerSchema, _a37, ConnectMCPServerTool, EnumerateServersSchema, _a38, ListMCPServersTool, ReleaseConnectionSchema, _a39, ReleaseMCPServerConnectionTool, _a40, ServerManager, _a41, ObservabilityManager, API_CHATS_ENDPOINT, API_CHAT_EXECUTE_ENDPOINT, _a42, RemoteAgent, PROVIDER_CONFIG, DEFAULT_SYSTEM_PROMPT_TEMPLATE, SERVER_MANAGER_SYSTEM_PROMPT_TEMPLATE, _a43, MCPAgent;
|
|
80368
|
-
var
|
|
80369
|
-
"../mcp-use/dist/chunk-
|
|
80368
|
+
var init_chunk_C7XOQLBZ = __esm({
|
|
80369
|
+
"../mcp-use/dist/chunk-C7XOQLBZ.js"() {
|
|
80370
80370
|
"use strict";
|
|
80371
80371
|
init_chunk_3RU35UU4();
|
|
80372
|
-
|
|
80372
|
+
init_chunk_YEK7642C();
|
|
80373
80373
|
init_chunk_QWQYAQCK();
|
|
80374
80374
|
init_chunk_3GQAWCBQ();
|
|
80375
80375
|
MCPServerTool = (_a34 = class extends StructuredTool {
|
|
@@ -82719,13 +82719,13 @@ ${formatPrompt}`
|
|
|
82719
82719
|
}
|
|
82720
82720
|
});
|
|
82721
82721
|
|
|
82722
|
-
// ../mcp-use/dist/chunk-
|
|
82722
|
+
// ../mcp-use/dist/chunk-QCAOYQX6.js
|
|
82723
82723
|
var _a44, BrowserMCPClient;
|
|
82724
|
-
var
|
|
82725
|
-
"../mcp-use/dist/chunk-
|
|
82724
|
+
var init_chunk_QCAOYQX6 = __esm({
|
|
82725
|
+
"../mcp-use/dist/chunk-QCAOYQX6.js"() {
|
|
82726
82726
|
"use strict";
|
|
82727
|
-
|
|
82728
|
-
|
|
82727
|
+
init_chunk_MOIY46VI();
|
|
82728
|
+
init_chunk_YEK7642C();
|
|
82729
82729
|
init_chunk_QWQYAQCK();
|
|
82730
82730
|
init_chunk_3GQAWCBQ();
|
|
82731
82731
|
BrowserMCPClient = (_a44 = class extends BaseMCPClient {
|
|
@@ -83630,15 +83630,15 @@ var init_browser = __esm({
|
|
|
83630
83630
|
"../mcp-use/dist/src/browser.js"() {
|
|
83631
83631
|
"use strict";
|
|
83632
83632
|
init_chunk_LGDFGYRL();
|
|
83633
|
-
|
|
83633
|
+
init_chunk_C7XOQLBZ();
|
|
83634
83634
|
init_chunk_UJPHRNQP();
|
|
83635
83635
|
init_chunk_3RU35UU4();
|
|
83636
83636
|
init_chunk_RPN2XO5I();
|
|
83637
|
-
|
|
83638
|
-
|
|
83637
|
+
init_chunk_QCAOYQX6();
|
|
83638
|
+
init_chunk_MOIY46VI();
|
|
83639
83639
|
init_chunk_GKPKUKD6();
|
|
83640
|
-
|
|
83641
|
-
|
|
83640
|
+
init_chunk_ZAA33UB5();
|
|
83641
|
+
init_chunk_YEK7642C();
|
|
83642
83642
|
init_chunk_QWQYAQCK();
|
|
83643
83643
|
init_chunk_6KHHFWTB();
|
|
83644
83644
|
init_chunk_3GQAWCBQ();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./1c-DOTL_Doy.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const p=f(a),_=i({__proto__:null,default:p},[a]);export{_};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-B9xgKKTO.js";import{r as i}from"./abnf-BjLV93yi.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n}from"./index-
|
|
1
|
+
import{r as n}from"./index-B9xgKKTO.js";import{r as f}from"./accesslog-GJv3YBrF.js";function l(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=f();const g=n(a),u=l({__proto__:null,default:g},[a]);export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./index-
|
|
1
|
+
import{r as a}from"./index-B9xgKKTO.js";import{r as s}from"./actionscript-DoqfywO9.js";function p(e,c){for(var o=0;o<c.length;o++){const t=c[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(t,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var n=s();const f=a(n),g=p({__proto__:null,default:f},[n]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-B9xgKKTO.js";import{r as i}from"./ada-RUsuGPJi.js";function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i}from"./index-
|
|
1
|
+
import{r as i}from"./index-B9xgKKTO.js";import{r as c}from"./angelscript-BdZ1b0rs.js";function p(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=c();const f=i(s),u=p({__proto__:null,default:f},[s]);export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p}from"./index-
|
|
1
|
+
import{r as p}from"./index-B9xgKKTO.js";import{r as f}from"./apache-CsbpFlqC.js";function s(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const i=p(n),g=s({__proto__:null,default:i},[n]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i}from"./index-
|
|
1
|
+
import{r as i}from"./index-B9xgKKTO.js";import{r as c}from"./applescript-kY8OmlKB.js";function n(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const p=Object.getOwnPropertyDescriptor(e,r);p&&Object.defineProperty(t,r,p.get?p:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=c();const f=i(s),g=n({__proto__:null,default:f},[s]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./arcade-BmMgc7_g.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const p=f(n),l=i({__proto__:null,default:p},[n]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./arduino-pNuu6z4_.js";function u(t,a){for(var o=0;o<a.length;o++){const r=a[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=s();const c=f(i),l=u({__proto__:null,default:c},[i]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n}from"./index-
|
|
1
|
+
import{r as n}from"./index-B9xgKKTO.js";import{r as f}from"./armasm-nKvy_iDO.js";function i(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var m=f();const c=n(m),l=i({__proto__:null,default:c},[m]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-B9xgKKTO.js";import{r as n}from"./asciidoc-B_fy0kBa.js";function f(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=n();const p=s(a),l=f({__proto__:null,default:p},[a]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n}from"./index-
|
|
1
|
+
import{r as n}from"./index-B9xgKKTO.js";import{r as p}from"./aspectj-DvN9ZbSj.js";function f(r,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const a=Object.getOwnPropertyDescriptor(e,t);a&&Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var c=p();const i=n(c),g=f({__proto__:null,default:i},[c]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-B9xgKKTO.js";import{r as u}from"./autohotkey-CZG2ssCb.js";function i(r,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const a=Object.getOwnPropertyDescriptor(e,t);a&&Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var f=u();const c=s(f),l=i({__proto__:null,default:c},[f]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./autoit-DXMOl7Fd.js";function u(r,i){for(var o=0;o<i.length;o++){const t=i[o];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in r)){const a=Object.getOwnPropertyDescriptor(t,e);a&&Object.defineProperty(r,e,a.get?a:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n=s();const c=f(n),g=u({__proto__:null,default:c},[n]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as i}from"./avrasm-Ba2EQvoc.js";function c(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=i();const m=f(n),l=c({__proto__:null,default:m},[n]);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-B9xgKKTO.js";import{r as i}from"./awk-Cb-RiGP0.js";function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),g=c({__proto__:null,default:p},[f]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./axapta-J1eBZbig.js";function i(r,n){for(var a=0;a<n.length;a++){const e=n[a];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const o=Object.getOwnPropertyDescriptor(e,t);o&&Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var p=s();const c=f(p),g=i({__proto__:null,default:c},[p]);export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as i}from"./bash-CN_VnC_Q.js";function c(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=i();const p=f(n),l=c({__proto__:null,default:p},[n]);export{l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c}from"./index-
|
|
1
|
+
import{r as c}from"./index-B9xgKKTO.js";import{r as n}from"./basic-Bug0UzDW.js";function f(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=n();const p=c(i),l=f({__proto__:null,default:p},[i]);export{l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./index-
|
|
1
|
+
import{r as s}from"./index-B9xgKKTO.js";import{r as i}from"./bnf-DZMdTSN9.js";function c(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=s(a),l=c({__proto__:null,default:p},[a]);export{l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i}from"./index-
|
|
1
|
+
import{r as i}from"./index-B9xgKKTO.js";import{r as c}from"./brainfuck-BYywhCpy.js";function s(t,a){for(var o=0;o<a.length;o++){const r=a[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=c();const u=i(f),l=s({__proto__:null,default:u},[f]);export{l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./c-DkSi4Vcz.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const p=f(a),g=i({__proto__:null,default:p},[a]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./index-
|
|
1
|
+
import{r as a}from"./index-B9xgKKTO.js";import{r as f}from"./c-like-BLVencsc.js";function s(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const p=a(n),g=s({__proto__:null,default:p},[n]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./cal-Bok_ig3y.js";function l(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const i=f(n),g=l({__proto__:null,default:i},[n]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c}from"./index-
|
|
1
|
+
import{r as c}from"./index-B9xgKKTO.js";import{r as f}from"./capnproto-uQZ1jOWw.js";function s(t,p){for(var o=0;o<p.length;o++){const r=p[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=f();const i=c(a),g=s({__proto__:null,default:i},[a]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./ceylon-CLrvJLwU.js";function l(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const i=f(a),y=l({__proto__:null,default:i},[a]);export{y as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./clean-jkCpP5TC.js";function l(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=s();const i=f(c),g=l({__proto__:null,default:i},[c]);export{g as c};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stdio-
|
|
2
|
-
import{E as ye,t as c,F as Ce,H as xe,I as K,J as we,K as u,L as Se,u as W,M as Ee,N as Me,O as H,P as z}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stdio-ZKXAJGR6-Dd4k1mfX.js","assets/index-B9xgKKTO.js","assets/index-Br5Lp-nB.css","assets/langfuse-U2OEF7K7-Bke0aacP.js","assets/index-DtYddBwZ.js","assets/index-D8-Z6Ssp.js","assets/embeddings-CxF6I3vU.js","assets/llms-DYitwP9m.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{E as ye,t as c,F as Ce,H as xe,I as K,J as we,K as u,L as Se,u as W,M as Ee,N as Me,O as H,P as z}from"./index-B9xgKKTO.js";import{J as Te}from"./langfuse-U2OEF7K7-Bke0aacP.js";var S,Oe=(S=class extends ye{mcpClient;_tools;constructor(t){super(),this.mcpClient=t,this.connected=!0,this._tools=this._createToolsList()}async connect(){this.connected=!0}async disconnect(){this.connected=!1}get publicIdentifier(){return{name:"code_mode",version:"1.0.0"}}_createToolsList(){return[{name:"execute_code",description:"Execute JavaScript/TypeScript code with access to MCP tools. This is the PRIMARY way to interact with MCP servers in code mode. Write code that discovers tools using search_tools(), calls tools as async functions (e.g., await github.get_pull_request(...)), processes data efficiently, and returns results. Use 'await' for async operations and 'return' to return values. Available in code: search_tools(), __tool_namespaces, and server.tool_name() functions.",inputSchema:{type:"object",properties:{code:{type:"string",description:"JavaScript/TypeScript code to execute. Use 'await' for async operations. Use 'return' to return a value. Available: search_tools(), server.tool_name(), __tool_namespaces"},timeout:{type:"number",description:"Execution timeout in milliseconds",default:3e4}},required:["code"]}},{name:"search_tools",description:"Search and discover available MCP tools across all servers. Use this to find out what tools are available before writing code. Returns tool information including names, descriptions, and schemas. Can filter by query and control detail level.",inputSchema:{type:"object",properties:{query:{type:"string",description:"Search query to filter tools by name or description",default:""},detail_level:{type:"string",description:"Detail level: 'names', 'descriptions', or 'full'",enum:["names","descriptions","full"],default:"full"}}}}]}get tools(){return this._tools}async initialize(){return this.toolsCache=this._tools,{capabilities:{},version:"1.0.0"}}async callTool(t,e){if(t==="execute_code"){const o=e.code,n=e.timeout||3e4,s=await this.mcpClient.executeCode(o,n);return{content:[{type:"text",text:JSON.stringify(s)}]}}else if(t==="search_tools"){const o=e.query||"",n=e.detail_level,s=await this.mcpClient.searchTools(o,n&&n in["names","descriptions","full"]?n:"full");return{content:[{type:"text",text:JSON.stringify(s)}]}}throw new Error(`Unknown tool: ${t}`)}},c(S,"CodeModeConnector"),S);function Y(){throw new Error("fs.readFileSync is not available in browser environment")}function Z(){throw new Error("fs.writeFileSync is not available in browser environment")}function G(){return!1}function X(){throw new Error("fs.readFile is not available in browser environment")}function Q(){throw new Error("fs.writeFile is not available in browser environment")}function ee(){throw new Error("fs.mkdir is not available in browser environment")}function te(){throw new Error("fs.readdir is not available in browser environment")}function oe(){throw new Error("fs.stat is not available in browser environment")}function ne(){throw new Error("fs.unlink is not available in browser environment")}function se(){throw new Error("fs.rmdir is not available in browser environment")}const N={readFileSync:Y,writeFileSync:Z,existsSync:G,readFile:X,writeFile:Q,mkdir:ee,readdir:te,stat:oe,unlink:ne,rmdir:se},Le=Object.freeze(Object.defineProperty({__proto__:null,default:N,existsSync:G,mkdir:ee,readFile:X,readFileSync:Y,readdir:te,rmdir:se,stat:oe,unlink:ne,writeFile:Q,writeFileSync:Z},Symbol.toStringTag,{value:"Module"}));function F(...r){return r.filter(Boolean).join("/").replace(/\/+/g,"/").replace(/\/$/,"")}function re(...r){return F(...r)}function q(r){const t=r.split("/");return t.pop(),t.join("/")||"/"}function P(r,t){const e=r.split("/");let o=e[e.length-1]||"";return t&&o.endsWith(t)&&(o=o.slice(0,-t.length)),o}function D(r){const t=P(r),e=t.lastIndexOf(".");return e>0?t.slice(e):""}function ie(r){return r.replace(/\/+/g,"/")}function ae(r){return r.startsWith("/")}function ce(r){const t=r.startsWith("/")?"/":"",e=q(r),o=P(r),n=D(r),s=n?o.slice(0,-n.length):o;return{root:t,dir:e,base:o,ext:n,name:s}}const le="/",ue=":",de={join:F,resolve:re,dirname:q,basename:P,extname:D,normalize:ie,isAbsolute:ae,parse:ce,sep:le,delimiter:ue},je=Object.freeze(Object.defineProperty({__proto__:null,basename:P,default:de,delimiter:ue,dirname:q,extname:D,isAbsolute:ae,join:F,normalize:ie,parse:ce,resolve:re,sep:le},Symbol.toStringTag,{value:"Module"}));var ke={},E,A=(E=class{client;_connecting=!1;constructor(t){this.client=t}async ensureServersConnected(){const t=this.client.getServerNames(),e=Object.keys(this.client.getAllActiveSessions()),o=t.filter(n=>!e.includes(n));if(o.length>0&&!this._connecting){this._connecting=!0;try{u.debug(`Connecting to configured servers for code execution: ${o.join(", ")}`),await this.client.createAllSessions()}finally{this._connecting=!1}}else if(o.length>0&&this._connecting){u.debug("Waiting for ongoing server connection...");const n=Date.now();for(;this._connecting&&Date.now()-n<5e3;)await new Promise(s=>setTimeout(s,100))}}getToolNamespaces(){const t=[],e=this.client.getAllActiveSessions();for(const[o,n]of Object.entries(e))if(o!=="code_mode")try{const s=n.connector;let i;try{i=s.tools}catch(a){u.warn(`Tools not available for server ${o}: ${a}`);continue}if(!i||i.length===0)continue;t.push({serverName:o,tools:i,session:n})}catch(s){u.warn(`Failed to load tools for server ${o}: ${s}`)}return t}createSearchToolsFunction(){return async(t="",e="full")=>{const o=[],n=new Set,s=t.toLowerCase(),i=this.client.getAllActiveSessions();for(const[l,d]of Object.entries(i))if(l!=="code_mode")try{const m=d.connector.tools;m&&m.length>0&&n.add(l);for(const f of m)e==="names"?o.push({name:f.name,server:l}):e==="descriptions"?o.push({name:f.name,server:l,description:f.description}):o.push({name:f.name,server:l,description:f.description,input_schema:f.inputSchema})}catch(m){u.warn(`Failed to search tools in server ${l}: ${m}`)}let a=o;return t&&(a=o.filter(l=>{const d=l.name.toLowerCase().includes(s),m=l.description?.toLowerCase().includes(s),f=l.server.toLowerCase().includes(s);return d||m||f})),{meta:{total_tools:o.length,namespaces:Array.from(n).sort(),result_count:a.length},results:a}}}},c(E,"BaseCodeExecutor"),E),M,I=(M=class extends A{e2bApiKey;codeExecSandbox=null;SandboxClass=null;timeoutMs;constructor(t,e){super(t),this.e2bApiKey=e.apiKey,this.timeoutMs=e.timeoutMs??3e5}async ensureSandboxClass(){if(!this.SandboxClass)try{const t=await W(()=>import("@e2b/code-interpreter"),[]);this.SandboxClass=t.Sandbox}catch{throw new Error("@e2b/code-interpreter is not installed. The E2B code executor requires this optional dependency. Install it with: yarn add @e2b/code-interpreter")}}async getOrCreateCodeExecSandbox(){return this.codeExecSandbox?this.codeExecSandbox:(await this.ensureSandboxClass(),u.debug("Starting E2B sandbox for code execution..."),this.codeExecSandbox=await this.SandboxClass.create("base",{apiKey:this.e2bApiKey,timeoutMs:this.timeoutMs}),this.codeExecSandbox)}generateShim(t){let e=`
|
|
3
3
|
// MCP Bridge Shim
|
|
4
4
|
global.__callMcpTool = async (server, tool, args) => {
|
|
5
5
|
const id = Math.random().toString(36).substring(7);
|
|
@@ -88,4 +88,4 @@ ${this.generateShim(l)}
|
|
|
88
88
|
throw e;
|
|
89
89
|
}
|
|
90
90
|
})()
|
|
91
|
-
`;i=await new v.Script(m,{filename:"agent_code.js"}).runInNewContext(d,{timeout:o,displayErrors:!0})}catch(d){a=d.message||String(d),(d.code==="ERR_SCRIPT_EXECUTION_TIMEOUT"||d.message==="Script execution timed out."||typeof a=="string"&&(a.includes("timed out")||a.includes("timeout")))&&(a="Script execution timed out"),d.stack&&u.debug(`Code execution error stack: ${d.stack}`)}const l=(Date.now()-s)/1e3;return{result:i,logs:n,error:a,execution_time:l}}async _buildContext(t){const e=c((...i)=>{t.push(i.map(a=>typeof a=="object"?JSON.stringify(a,null,2):String(a)).join(" "))},"logHandler"),o={console:{log:e,error:c((...i)=>{e("[ERROR]",...i)},"error"),warn:c((...i)=>{e("[WARN]",...i)},"warn"),info:e,debug:e},Object,Array,String,Number,Boolean,Date,Math,JSON,RegExp,Map,Set,Promise,parseInt,parseFloat,isNaN,isFinite,encodeURI,decodeURI,encodeURIComponent,decodeURIComponent,setTimeout,clearTimeout,search_tools:this.createSearchToolsFunction(),__tool_namespaces:[]},n={},s=this.getToolNamespaces();for(const{serverName:i,tools:a,session:l}of s){const d={};for(const m of a){const f=m.name;d[f]=async g=>{const _=await l.connector.callTool(f,g||{});if(_.content&&_.content.length>0){const p=_.content[0];if(p.type==="text")try{return JSON.parse(p.text)}catch{return p.text}return p}return _}}o[i]=d,n[i]=!0}return o.__tool_namespaces=Object.keys(n),v.createContext(o)}async cleanup(){}},c(T,"VMCodeExecutor"),T);function V(r){return"requestedSchema"in r&&r.requestedSchema!=null}c(V,"hasRequestedSchema");function j(r){const t={};if(!V(r))return t;const o=r.requestedSchema.properties??{};for(const[n,s]of Object.entries(o)){const i=s;if("default"in i){const a=i.default;(typeof a=="string"||typeof a=="number"||typeof a=="boolean"||Array.isArray(a)&&a.every(l=>typeof l=="string"))&&(t[n]=a)}}return t}c(j,"getDefaults");function he(r,t){const e=j(r);return t==null?e:{...e,...t}}c(he,"applyDefaults");function pe(r){return{action:"accept",content:j(r)}}c(pe,"acceptWithDefaults");function _e(r){return{action:"accept",content:r}}c(_e,"accept");function U(r){return{action:"decline"}}c(U,"decline");function ge(){return{action:"cancel"}}c(ge,"cancel");function be(r){return U()}c(be,"reject");function ve(r,t){if(!V(r))return{valid:!0};try{const o=Te.convert(r.requestedSchema).safeParse(t);return o.success?{valid:!0}:{valid:!1,errors:o.error.issues.map(s=>s.path.length>0?`${s.path.join(".")}: ${s.message}`:s.message)}}catch{return{valid:!1,errors:["Unsupported or invalid schema"]}}}c(ve,"validate");var y,Ne=(y=class extends Ce{static getPackageVersion(){return xe()}codeMode=!1;_codeExecutor=null;_customCodeExecutor=null;_codeExecutorConfig="vm";_executorOptions;_globalCallbacks;constructor(t,e){t?typeof t=="string"?super(K(t)):super(t):super();let o=!1,n="vm",s;e?.codeMode&&(typeof e.codeMode=="boolean"?o=e.codeMode:(o=e.codeMode.enabled,n=e.codeMode.executor??"vm",s=e.codeMode.executorOptions)),this.codeMode=o,this._codeExecutorConfig=n,this._executorOptions=s;const i=this.config;this._globalCallbacks={onSampling:e?.onSampling??e?.samplingCallback??i?.onSampling??i?.samplingCallback,samplingCallback:e?.samplingCallback??i?.samplingCallback,onElicitation:e?.onElicitation??e?.elicitationCallback??i?.onElicitation??i?.elicitationCallback,elicitationCallback:e?.elicitationCallback??i?.elicitationCallback,onNotification:e?.onNotification??i?.onNotification},e?.samplingCallback&&!e?.onSampling&&console.warn('[MCPClient] The "samplingCallback" option is deprecated. Use "onSampling" instead.'),e?.elicitationCallback&&!e?.onElicitation&&console.warn('[MCPClient] The "elicitationCallback" option is deprecated. Use "onElicitation" instead.'),this.codeMode&&this._setupCodeModeConnector(),this._trackClientInit()}_trackClientInit(){const t=Object.keys(this.config.mcpServers??{}),e=!!(this._globalCallbacks.onSampling??this._globalCallbacks.samplingCallback),o=!!(this._globalCallbacks.onElicitation??this._globalCallbacks.elicitationCallback);we.getInstance().trackMCPClientInit({codeMode:this.codeMode,sandbox:!1,allCallbacks:e&&o,verify:!1,servers:t,numServers:t.length,isBrowser:!1}).catch(n=>u.debug(`Failed to track MCPClient init: ${n}`))}static fromDict(t,e){return new y(t,e)}static fromConfigFile(t,e){return new y(K(t),e)}saveConfig(t){const e=de.dirname(t);N.existsSync(e)||N.mkdirSync(e,{recursive:!0}),N.writeFileSync(t,JSON.stringify(this.config,null,2),"utf-8")}async createConnectorFromConfig(t){const e=Se(t,this._globalCallbacks),o={...t,clientInfo:t.clientInfo??this.config.clientInfo};if("command"in o&&"args"in o){const{StdioConnector:n}=await W(async()=>{const{StdioConnector:i}=await import("./stdio-
|
|
91
|
+
`;i=await new v.Script(m,{filename:"agent_code.js"}).runInNewContext(d,{timeout:o,displayErrors:!0})}catch(d){a=d.message||String(d),(d.code==="ERR_SCRIPT_EXECUTION_TIMEOUT"||d.message==="Script execution timed out."||typeof a=="string"&&(a.includes("timed out")||a.includes("timeout")))&&(a="Script execution timed out"),d.stack&&u.debug(`Code execution error stack: ${d.stack}`)}const l=(Date.now()-s)/1e3;return{result:i,logs:n,error:a,execution_time:l}}async _buildContext(t){const e=c((...i)=>{t.push(i.map(a=>typeof a=="object"?JSON.stringify(a,null,2):String(a)).join(" "))},"logHandler"),o={console:{log:e,error:c((...i)=>{e("[ERROR]",...i)},"error"),warn:c((...i)=>{e("[WARN]",...i)},"warn"),info:e,debug:e},Object,Array,String,Number,Boolean,Date,Math,JSON,RegExp,Map,Set,Promise,parseInt,parseFloat,isNaN,isFinite,encodeURI,decodeURI,encodeURIComponent,decodeURIComponent,setTimeout,clearTimeout,search_tools:this.createSearchToolsFunction(),__tool_namespaces:[]},n={},s=this.getToolNamespaces();for(const{serverName:i,tools:a,session:l}of s){const d={};for(const m of a){const f=m.name;d[f]=async g=>{const _=await l.connector.callTool(f,g||{});if(_.content&&_.content.length>0){const p=_.content[0];if(p.type==="text")try{return JSON.parse(p.text)}catch{return p.text}return p}return _}}o[i]=d,n[i]=!0}return o.__tool_namespaces=Object.keys(n),v.createContext(o)}async cleanup(){}},c(T,"VMCodeExecutor"),T);function V(r){return"requestedSchema"in r&&r.requestedSchema!=null}c(V,"hasRequestedSchema");function j(r){const t={};if(!V(r))return t;const o=r.requestedSchema.properties??{};for(const[n,s]of Object.entries(o)){const i=s;if("default"in i){const a=i.default;(typeof a=="string"||typeof a=="number"||typeof a=="boolean"||Array.isArray(a)&&a.every(l=>typeof l=="string"))&&(t[n]=a)}}return t}c(j,"getDefaults");function he(r,t){const e=j(r);return t==null?e:{...e,...t}}c(he,"applyDefaults");function pe(r){return{action:"accept",content:j(r)}}c(pe,"acceptWithDefaults");function _e(r){return{action:"accept",content:r}}c(_e,"accept");function U(r){return{action:"decline"}}c(U,"decline");function ge(){return{action:"cancel"}}c(ge,"cancel");function be(r){return U()}c(be,"reject");function ve(r,t){if(!V(r))return{valid:!0};try{const o=Te.convert(r.requestedSchema).safeParse(t);return o.success?{valid:!0}:{valid:!1,errors:o.error.issues.map(s=>s.path.length>0?`${s.path.join(".")}: ${s.message}`:s.message)}}catch{return{valid:!1,errors:["Unsupported or invalid schema"]}}}c(ve,"validate");var y,Ne=(y=class extends Ce{static getPackageVersion(){return xe()}codeMode=!1;_codeExecutor=null;_customCodeExecutor=null;_codeExecutorConfig="vm";_executorOptions;_globalCallbacks;constructor(t,e){t?typeof t=="string"?super(K(t)):super(t):super();let o=!1,n="vm",s;e?.codeMode&&(typeof e.codeMode=="boolean"?o=e.codeMode:(o=e.codeMode.enabled,n=e.codeMode.executor??"vm",s=e.codeMode.executorOptions)),this.codeMode=o,this._codeExecutorConfig=n,this._executorOptions=s;const i=this.config;this._globalCallbacks={onSampling:e?.onSampling??e?.samplingCallback??i?.onSampling??i?.samplingCallback,samplingCallback:e?.samplingCallback??i?.samplingCallback,onElicitation:e?.onElicitation??e?.elicitationCallback??i?.onElicitation??i?.elicitationCallback,elicitationCallback:e?.elicitationCallback??i?.elicitationCallback,onNotification:e?.onNotification??i?.onNotification},e?.samplingCallback&&!e?.onSampling&&console.warn('[MCPClient] The "samplingCallback" option is deprecated. Use "onSampling" instead.'),e?.elicitationCallback&&!e?.onElicitation&&console.warn('[MCPClient] The "elicitationCallback" option is deprecated. Use "onElicitation" instead.'),this.codeMode&&this._setupCodeModeConnector(),this._trackClientInit()}_trackClientInit(){const t=Object.keys(this.config.mcpServers??{}),e=!!(this._globalCallbacks.onSampling??this._globalCallbacks.samplingCallback),o=!!(this._globalCallbacks.onElicitation??this._globalCallbacks.elicitationCallback);we.getInstance().trackMCPClientInit({codeMode:this.codeMode,sandbox:!1,allCallbacks:e&&o,verify:!1,servers:t,numServers:t.length,isBrowser:!1}).catch(n=>u.debug(`Failed to track MCPClient init: ${n}`))}static fromDict(t,e){return new y(t,e)}static fromConfigFile(t,e){return new y(K(t),e)}saveConfig(t){const e=de.dirname(t);N.existsSync(e)||N.mkdirSync(e,{recursive:!0}),N.writeFileSync(t,JSON.stringify(this.config,null,2),"utf-8")}async createConnectorFromConfig(t){const e=Se(t,this._globalCallbacks),o={...t,clientInfo:t.clientInfo??this.config.clientInfo};if("command"in o&&"args"in o){const{StdioConnector:n}=await W(async()=>{const{StdioConnector:i}=await import("./stdio-ZKXAJGR6-Dd4k1mfX.js");return{StdioConnector:i}},__vite__mapDeps([0,1,2,3,4,5,6,7])),s=o;return new n({command:s.command,args:s.args,env:s.env,clientInfo:Ee(o.clientInfo),onSampling:e.onSampling,onElicitation:e.onElicitation,onNotification:e.onNotification})}return Me(o,{onSampling:e.onSampling,onElicitation:e.onElicitation,onNotification:e.onNotification})}_setupCodeModeConnector(){u.debug("Code mode connector initialized as internal meta server");const t=new Oe(this),e=new H(t);this.sessions.code_mode=e,this.activeSessions.push("code_mode")}_ensureCodeExecutor(){if(!this._codeExecutor){const t=this._codeExecutorConfig;if(t instanceof A)this._codeExecutor=t;else{if(typeof t=="function")throw this._customCodeExecutor=t,new Error("Custom executor function should be handled in executeCode");if(t==="e2b"){const e=this._executorOptions;if(e?.apiKey)this._codeExecutor=new I(this,e);else{u.warn("E2B executor requires apiKey. Falling back to VM.");try{this._codeExecutor=new B(this,this._executorOptions)}catch{throw new Error("VM executor is not available in this environment and E2B API key is not provided. Please provide an E2B API key or run in a Node.js environment.")}}}else try{this._codeExecutor=new B(this,this._executorOptions)}catch{const o=this._executorOptions,n=o?.apiKey||ke.E2B_API_KEY;if(n)u.info("VM executor not available in this environment. Falling back to E2B."),this._codeExecutor=new I(this,{...o,apiKey:n});else throw new Error("VM executor is not available in this environment. Please provide an E2B API key via executorOptions or E2B_API_KEY environment variable, or run in a Node.js environment.")}}}return this._codeExecutor}async executeCode(t,e){if(!this.codeMode)throw new Error("Code execution mode is not enabled");return this._customCodeExecutor?this._customCodeExecutor(t,e):this._ensureCodeExecutor().execute(t,e)}async searchTools(t="",e="full"){if(!this.codeMode)throw new Error("Code execution mode is not enabled");return this._ensureCodeExecutor().createSearchToolsFunction()(t,e)}getServerNames(){const t=this.codeMode;return super.getServerNames().filter(e=>!t||e!=="code_mode")}async close(){this._codeExecutor&&(await this._codeExecutor.cleanup(),this._codeExecutor=null),await this.closeAllSessions()}},c(y,"MCPClient"),y);const $e=Object.freeze(Object.defineProperty({__proto__:null,BaseCodeExecutor:A,E2BCodeExecutor:I,MCPClient:Ne,MCPSession:H,VMCodeExecutor:B,accept:_e,acceptWithDefaults:pe,applyDefaults:he,cancel:ge,decline:U,getDefaults:j,isVMAvailable:me,reject:be,validate:ve},Symbol.toStringTag,{value:"Module"}));export{$e as c,Le as f,je as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./clojure--pYedOFI.js";function u(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const l=f(a),g=u({__proto__:null,default:l},[a]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p}from"./index-
|
|
1
|
+
import{r as p}from"./index-B9xgKKTO.js";import{r as a}from"./clojure-repl-Cp-cHE39.js";function f(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const l=Object.getOwnPropertyDescriptor(e,r);l&&Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=a();const s=p(n),g=f({__proto__:null,default:s},[n]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./cmake-CKl4Nywn.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const m=f(n),l=i({__proto__:null,default:m},[n]);export{l as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i}from"./index-
|
|
1
|
+
import{r as i}from"./index-B9xgKKTO.js";import{r as n}from"./coffeescript-B5dBcvVG.js";function p(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=n();const a=i(s),g=p({__proto__:null,default:a},[s]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f}from"./index-
|
|
1
|
+
import{r as f}from"./index-B9xgKKTO.js";import{r as s}from"./coq-DJA4mjuN.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const p=f(a),g=i({__proto__:null,default:p},[a]);export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as q}from"./index-
|
|
1
|
+
import{r as q}from"./index-B9xgKKTO.js";import{r as O}from"./core-lM8H9z0c.js";function P(s,n){for(var l=0;l<n.length;l++){const g=n[l];if(typeof g!="string"&&!Array.isArray(g)){for(const u in g)if(u!=="default"&&!(u in s)){const o=Object.getOwnPropertyDescriptor(g,u);o&&Object.defineProperty(s,u,o.get?o:{enumerable:!0,get:()=>g[u]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var x={},L={exports:{}},F;function C(){return F||(F=1,(function(s){(function(){var n;n=s.exports=u,n.format=u,n.vsprintf=g,typeof console<"u"&&typeof console.log=="function"&&(n.printf=l);function l(){console.log(u.apply(null,arguments))}function g(o,k){return u.apply(null,[o].concat(k))}function u(o){for(var k=1,S=[].slice.call(arguments),i=0,I=o.length,c="",p,N=!1,v,w,y=!1,r,e=function(){return S[k++]},a=function(){for(var t="";/\d/.test(o[i]);)t+=o[i++],p=o[i];return t.length>0?parseInt(t):null};i<I;++i)if(p=o[i],N)switch(N=!1,p=="."?(y=!1,p=o[++i]):p=="0"&&o[i+1]=="."?(y=!0,i+=2,p=o[i]):y=!0,r=a(),p){case"b":c+=parseInt(e(),10).toString(2);break;case"c":v=e(),typeof v=="string"||v instanceof String?c+=v:c+=String.fromCharCode(parseInt(v,10));break;case"d":c+=parseInt(e(),10);break;case"f":w=String(parseFloat(e()).toFixed(r||6)),c+=y?w:w.replace(/^0/,"");break;case"j":c+=JSON.stringify(e());break;case"o":c+="0"+parseInt(e(),10).toString(8);break;case"s":c+=e();break;case"x":c+="0x"+parseInt(e(),10).toString(16);break;case"X":c+="0x"+parseInt(e(),10).toString(16).toUpperCase();break;default:c+=p;break}else p==="%"?N=!0:c+=p;return c}})()})(L)),L.exports}var A,R;function T(){if(R)return A;R=1;var s=C(),n=l(Error);A=n,n.eval=l(EvalError),n.range=l(RangeError),n.reference=l(ReferenceError),n.syntax=l(SyntaxError),n.type=l(TypeError),n.uri=l(URIError),n.create=l;function l(g){return u.displayName=g.displayName||g.name,u;function u(o){return o&&(o=s.apply(null,arguments)),new g(o)}}return A}var _;function U(){if(_)return x;_=1;var s=O(),n=T();x.highlight=g,x.highlightAuto=u,x.registerLanguage=o,x.listLanguages=k,x.registerAlias=S,i.prototype.addText=p,i.prototype.addKeyword=I,i.prototype.addSublanguage=c,i.prototype.openNode=N,i.prototype.closeNode=v,i.prototype.closeAllNodes=y,i.prototype.finalize=y,i.prototype.toHTML=w;var l="hljs-";function g(r,e,a){var t=s.configure({}),d=a||{},h=d.prefix,f;if(typeof r!="string")throw n("Expected `string` for name, got `%s`",r);if(!s.getLanguage(r))throw n("Unknown language: `%s` is not registered",r);if(typeof e!="string")throw n("Expected `string` for value, got `%s`",e);if(h==null&&(h=l),s.configure({__emitter:i,classPrefix:h}),f=s.highlight(e,{language:r,ignoreIllegals:!0}),s.configure(t||{}),f.errorRaised)throw f.errorRaised;return{relevance:f.relevance,language:f.language,value:f.emitter.rootNode.children}}function u(r,e){var a=e||{},t=a.subset||s.listLanguages();a.prefix;var d=t.length,h=-1,f,m,b,E;if(typeof r!="string")throw n("Expected `string` for value, got `%s`",r);for(m={relevance:0,language:null,value:[]},f={relevance:0,language:null,value:[]};++h<d;)E=t[h],s.getLanguage(E)&&(b=g(E,r,e),b.language=E,b.relevance>m.relevance&&(m=b),b.relevance>f.relevance&&(m=f,f=b));return m.language&&(f.secondBest=m),f}function o(r,e){s.registerLanguage(r,e)}function k(){return s.listLanguages()}function S(r,e){var a=r,t;e&&(a={},a[r]=e);for(t in a)s.registerAliases(a[t],{languageName:t})}function i(r){this.options=r,this.rootNode={children:[]},this.stack=[this.rootNode]}function I(r,e){this.openNode(e),this.addText(r),this.closeNode()}function c(r,e){var a=this.stack,t=a[a.length-1],d=r.rootNode.children,h=e?{type:"element",tagName:"span",properties:{className:[e]},children:d}:d;t.children=t.children.concat(h)}function p(r){var e=this.stack,a,t;r!==""&&(a=e[e.length-1],t=a.children[a.children.length-1],t&&t.type==="text"?t.value+=r:a.children.push({type:"text",value:r}))}function N(r){var e=this.stack,a=this.options.classPrefix+r,t=e[e.length-1],d={type:"element",tagName:"span",properties:{className:[a]},children:[]};t.children.push(d),e.push(d)}function v(){this.stack.pop()}function w(){return""}function y(){}return x}var j=U();const z=q(j),H=P({__proto__:null,default:z},[j]);export{H as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./index-
|
|
1
|
+
import{r as a}from"./index-B9xgKKTO.js";import{r as f}from"./cos-DckhWT6g.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const p=a(n),g=i({__proto__:null,default:p},[n]);export{g as c};
|