mastra 0.18.0-alpha.0 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +86 -63
- package/dist/{chunk-7L2RX5P2.js → chunk-D6NRTVVY.js} +33 -23
- package/dist/chunk-D6NRTVVY.js.map +1 -0
- package/dist/commands/actions/start-project.d.ts +0 -1
- package/dist/commands/actions/start-project.d.ts.map +1 -1
- package/dist/commands/build/BuildBundler.d.ts.map +1 -1
- package/dist/commands/build/build.d.ts.map +1 -1
- package/dist/commands/create/create.d.ts.map +1 -1
- package/dist/commands/create/create.js +1 -1
- package/dist/commands/dev/DevBundler.d.ts.map +1 -1
- package/dist/commands/dev/dev.d.ts.map +1 -1
- package/dist/commands/init/init.d.ts +2 -1
- package/dist/commands/init/init.d.ts.map +1 -1
- package/dist/commands/init/utils.d.ts.map +1 -1
- package/dist/commands/start/start.d.ts +0 -1
- package/dist/commands/start/start.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -113
- package/dist/index.js.map +1 -1
- package/dist/playground/assets/{abap-Dw-eBUNF.js → abap-BVU-lJUW.js} +1 -1
- package/dist/playground/assets/{abnf-Di_93dxL.js → abnf-6UqDXZoZ.js} +1 -1
- package/dist/playground/assets/{actionscript-D31IAvJe.js → actionscript-Cf8lYdXa.js} +1 -1
- package/dist/playground/assets/{ada-D1s4hy1V.js → ada-hWd-J5T2.js} +1 -1
- package/dist/playground/assets/{agda-B3WrKHjd.js → agda-s9mq_rw7.js} +1 -1
- package/dist/playground/assets/{al-B9Ij48cz.js → al-xAaytfXU.js} +1 -1
- package/dist/playground/assets/{antlr4-B9KzEcht.js → antlr4-BALprcg2.js} +1 -1
- package/dist/playground/assets/{apacheconf-2yYR60rB.js → apacheconf-DOQ8HHlK.js} +1 -1
- package/dist/playground/assets/apex-Vcvg9OGb.js +1 -0
- package/dist/playground/assets/apl-B4CMkyY2.js +1 -0
- package/dist/playground/assets/{apl-CVrYZ9R-.js → apl-DzaU-2QT.js} +1 -1
- package/dist/playground/assets/{applescript-B7VUsgSo.js → applescript-CNEmaTlw.js} +1 -1
- package/dist/playground/assets/{aql-C22OkVPA.js → aql-CsRSKgIO.js} +1 -1
- package/dist/playground/assets/{arduino-ViaXsEg5.js → arduino-BY-cJnAG.js} +1 -1
- package/dist/playground/assets/{arff-DDJUOKbI.js → arff-DokkxD3G.js} +1 -1
- package/dist/playground/assets/asciiarmor-Df11BRmG.js +1 -0
- package/dist/playground/assets/{asciidoc-oCC3wwMd.js → asciidoc-7GdGhWka.js} +1 -1
- package/dist/playground/assets/{asm6502-CAu04UNE.js → asm6502-GRMku7p-.js} +1 -1
- package/dist/playground/assets/{asmatmel-D5Pl6H6F.js → asmatmel-BvdE-Rmh.js} +1 -1
- package/dist/playground/assets/asn1-EdZsLKOL.js +1 -0
- package/dist/playground/assets/{aspnet-C4VQivR7.js → aspnet-BsWvUH1-.js} +1 -1
- package/dist/playground/assets/asterisk-B-8jnY81.js +1 -0
- package/dist/playground/assets/{autohotkey-6kaxMvoI.js → autohotkey-n9yS-km2.js} +1 -1
- package/dist/playground/assets/{autoit-DXG0T0KM.js → autoit-Dl-mdu07.js} +1 -1
- package/dist/playground/assets/{avisynth-Dsr_K-C5.js → avisynth-BGGSXV1b.js} +1 -1
- package/dist/playground/assets/{avro-idl-BOtDFmp4.js → avro-idl-hfoARngC.js} +1 -1
- package/dist/playground/assets/{bash-Cuv5dsDi.js → bash-BX9bZCEQ.js} +1 -1
- package/dist/playground/assets/{basic-Cq8fOFZC.js → basic-BeEicy0W.js} +1 -1
- package/dist/playground/assets/{batch-BmO5DkEJ.js → batch-B-QD6jXn.js} +1 -1
- package/dist/playground/assets/{bbcode-BN5-Ekiz.js → bbcode-D1UeG_Ha.js} +1 -1
- package/dist/playground/assets/{bicep-GBlXR9pI.js → bicep-efKkExHD.js} +1 -1
- package/dist/playground/assets/{birb-DxjmJ2xC.js → birb-Bs-zi5x3.js} +1 -1
- package/dist/playground/assets/{bison-CKeV3A9a.js → bison-BV5Xf6co.js} +1 -1
- package/dist/playground/assets/{bnf-tLScFFqc.js → bnf-DFUz9h2B.js} +1 -1
- package/dist/playground/assets/{brainfuck-CQYbz3j8.js → brainfuck-BnKlY_gc.js} +1 -1
- package/dist/playground/assets/brainfuck-C4LP7Hcl.js +1 -0
- package/dist/playground/assets/{brightscript-qPIXvpz1.js → brightscript-C1gsrJm7.js} +1 -1
- package/dist/playground/assets/{bro-DkqnXPaa.js → bro-B3UhGNwj.js} +1 -1
- package/dist/playground/assets/{bsl-B8qqnwfE.js → bsl-Dz7OJ8Ci.js} +1 -1
- package/dist/playground/assets/{c-Bbs8yR36.js → c-B5YyudQk.js} +1 -1
- package/dist/playground/assets/{cfscript-1uZUaR0n.js → cfscript-B7Ith1so.js} +1 -1
- package/dist/playground/assets/{chaiscript-RPb9_CTI.js → chaiscript-DXRsO6vM.js} +1 -1
- package/dist/playground/assets/{cil-DgfpxqTV.js → cil-CqCfS8cX.js} +1 -1
- package/dist/playground/assets/clike-B9uivgTg.js +1 -0
- package/dist/playground/assets/{clike-DKTW5XIz.js → clike-Bdu0RZKE.js} +1 -1
- package/dist/playground/assets/clojure-BMjYHr_A.js +1 -0
- package/dist/playground/assets/{clojure-Bpgtr0yz.js → clojure-BalrzFEE.js} +1 -1
- package/dist/playground/assets/cmake-BQqOBYOt.js +1 -0
- package/dist/playground/assets/{cmake-DZ00xsNx.js → cmake-Ju964aPT.js} +1 -1
- package/dist/playground/assets/cobol-CWcv1MsR.js +1 -0
- package/dist/playground/assets/{cobol-DqZ3AjiY.js → cobol-DB3mXIrj.js} +1 -1
- package/dist/playground/assets/{coffeescript-tL0V5aom.js → coffeescript-DocPu-ht.js} +1 -1
- package/dist/playground/assets/coffeescript-S37ZYGWr.js +1 -0
- package/dist/playground/assets/commonlisp-DBKNyK5s.js +1 -0
- package/dist/playground/assets/{concurnas-EjG2eIzM.js → concurnas-C-9xbipX.js} +1 -1
- package/dist/playground/assets/{coq-C8rpOBbU.js → coq-DAreSd_C.js} +1 -1
- package/dist/playground/assets/{core-D-zCatiB.js → core-Y42MJhSP.js} +2 -2
- package/dist/playground/assets/{cpp-D9aLmHru.js → cpp-dvQd7XVa.js} +1 -1
- package/dist/playground/assets/{crystal-CtsGvLvx.js → crystal-BzSJ7kg-.js} +1 -1
- package/dist/playground/assets/crystal-SjHAIU92.js +1 -0
- package/dist/playground/assets/{csharp-B2NRsXAN.js → csharp-Bl0DNtTi.js} +1 -1
- package/dist/playground/assets/{cshtml-B8yi_hZ9.js → cshtml-DaQBDDSj.js} +1 -1
- package/dist/playground/assets/{csp-CRHtUvJh.js → csp-CBSLToGg.js} +1 -1
- package/dist/playground/assets/css-BnMrqG3P.js +1 -0
- package/dist/playground/assets/{css-CTZ3eKUe.js → css-X7GKk4nd.js} +1 -1
- package/dist/playground/assets/{css-extras-DaKLPSZx.js → css-extras-6tDxuRPg.js} +1 -1
- package/dist/playground/assets/{csv-wEewYscB.js → csv-C666JHKv.js} +1 -1
- package/dist/playground/assets/{cypher-Bk-6979E.js → cypher-CI59yD-Y.js} +1 -1
- package/dist/playground/assets/cypher-C_CwsFkJ.js +1 -0
- package/dist/playground/assets/{d-C_XiTgpV.js → d-NHu2ggck.js} +1 -1
- package/dist/playground/assets/d-pRatUO7H.js +1 -0
- package/dist/playground/assets/{dart-Be0E-QeD.js → dart-C4OO9c7H.js} +1 -1
- package/dist/playground/assets/{dataweave-BOoQUkX-.js → dataweave-CIQtCC16.js} +1 -1
- package/dist/playground/assets/{dax-CyVksnuD.js → dax-C7IJf7L3.js} +1 -1
- package/dist/playground/assets/{dhall-CY1FiXFK.js → dhall-4kgCwAd6.js} +1 -1
- package/dist/playground/assets/{diff-bHlt5_W-.js → diff-C_qsBeKM.js} +1 -1
- package/dist/playground/assets/diff-DbItnlRl.js +1 -0
- package/dist/playground/assets/{django-CE9yyaKR.js → django-DPTTlhRR.js} +1 -1
- package/dist/playground/assets/{dns-zone-file-BDOUcblj.js → dns-zone-file-DO1jKGSk.js} +1 -1
- package/dist/playground/assets/{docker-ZPGa1XTW.js → docker-uCrrSsIS.js} +1 -1
- package/dist/playground/assets/dockerfile-BKs6k2Af.js +1 -0
- package/dist/playground/assets/{dot-BAadu17f.js → dot-CnkPmspf.js} +1 -1
- package/dist/playground/assets/dtd-DF_7sFjM.js +1 -0
- package/dist/playground/assets/dylan-DwRh75JA.js +1 -0
- package/dist/playground/assets/ebnf-CDyGwa7X.js +1 -0
- package/dist/playground/assets/{ebnf-DIESnuqE.js → ebnf-CZvJ9HDv.js} +1 -1
- package/dist/playground/assets/ecl-Cabwm37j.js +1 -0
- package/dist/playground/assets/{editorconfig-D86caI_w.js → editorconfig-5YAoIZHN.js} +1 -1
- package/dist/playground/assets/eiffel-CnydiIhH.js +1 -0
- package/dist/playground/assets/{eiffel-ghvqEFvA.js → eiffel-YChsFLUL.js} +1 -1
- package/dist/playground/assets/ejs-DEaypqcg.js +1 -0
- package/dist/playground/assets/{elixir-wgmiPZdc.js → elixir-Bua3f50n.js} +1 -1
- package/dist/playground/assets/{elm-D3ZtugrE.js → elm-CzrYTz84.js} +1 -1
- package/dist/playground/assets/elm-vLlmbW-K.js +1 -0
- package/dist/playground/assets/erb-DHlAzH4y.js +1 -0
- package/dist/playground/assets/erlang-BNw1qcRV.js +1 -0
- package/dist/playground/assets/{erlang-Cfkv8Q8-.js → erlang-CN8eHtjB.js} +1 -1
- package/dist/playground/assets/{etlua-D-jgfXJR.js → etlua-CSad5tkI.js} +1 -1
- package/dist/playground/assets/{excel-formula-qZlW7-b7.js → excel-formula-Bjsg9dDb.js} +1 -1
- package/dist/playground/assets/{factor-JuGWr3MD.js → factor-T4ODCZmS.js} +1 -1
- package/dist/playground/assets/factor-kuTfRLto.js +1 -0
- package/dist/playground/assets/{false-AbhbeHHO.js → false-CDRB7B4G.js} +1 -1
- package/dist/playground/assets/fcl-Kvtd6kyn.js +1 -0
- package/dist/playground/assets/{firestore-security-rules-Dbmp6AiK.js → firestore-security-rules-CQEuSOjD.js} +1 -1
- package/dist/playground/assets/{flow-DEJjv6nI.js → flow-7QPaHOeo.js} +1 -1
- package/dist/playground/assets/forth-Ffai-XNe.js +1 -0
- package/dist/playground/assets/fortran-DYz_wnZ1.js +1 -0
- package/dist/playground/assets/{fortran-Clk-asIR.js → fortran-tBLRd-S7.js} +1 -1
- package/dist/playground/assets/{fsharp-BVJ7Zshb.js → fsharp-gbvf4zmj.js} +1 -1
- package/dist/playground/assets/{ftl-CE77er3s.js → ftl-BrBeJf--.js} +1 -1
- package/dist/playground/assets/{gap-RG28BKh0.js → gap-Bdquam6O.js} +1 -1
- package/dist/playground/assets/gas-Bneqetm1.js +1 -0
- package/dist/playground/assets/gcode-DV3U82Ps.js +1 -0
- package/dist/playground/assets/{gdscript-BYfmUUFk.js → gdscript-D5bLVfDf.js} +1 -1
- package/dist/playground/assets/{gedcom-DDDCwY-x.js → gedcom-BSZlyAM3.js} +1 -1
- package/dist/playground/assets/{gherkin-CnoOwsv5.js → gherkin-C_cPWstd.js} +1 -1
- package/dist/playground/assets/gherkin-heZmZLOM.js +1 -0
- package/dist/playground/assets/{git-Cjk4C0Ce.js → git-DjiAiMhU.js} +1 -1
- package/dist/playground/assets/{glsl-GysV0VnC.js → glsl-DjkCcw_I.js} +1 -1
- package/dist/playground/assets/{gml-Dkk6hDG6.js → gml-D2ApWvNv.js} +1 -1
- package/dist/playground/assets/gn-CXslRvIS.js +1 -0
- package/dist/playground/assets/{go-Bi91k8Df.js → go-D--DeI0b.js} +1 -1
- package/dist/playground/assets/go-module-vtVu50me.js +1 -0
- package/dist/playground/assets/{graphql-BZh5xuL_.js → graphql-CXkxvj8v.js} +1 -1
- package/dist/playground/assets/{groovy-CNyp6vU0.js → groovy-CUKxzzqz.js} +1 -1
- package/dist/playground/assets/groovy-D9Dt4D0W.js +1 -0
- package/dist/playground/assets/{haml-DfJTFAGZ.js → haml-oEw5AOTI.js} +1 -1
- package/dist/playground/assets/{handlebars-B1ZZVX74.js → handlebars-v40GawBJ.js} +1 -1
- package/dist/playground/assets/{haskell-BPf0Pps-.js → haskell-B598wJez.js} +1 -1
- package/dist/playground/assets/haskell-Cw1EW3IL.js +1 -0
- package/dist/playground/assets/{haxe-BVDozWxi.js → haxe-DMtagSy5.js} +1 -1
- package/dist/playground/assets/haxe-H-WmDvRZ.js +1 -0
- package/dist/playground/assets/{hcl-dbzTnBa7.js → hcl-CFzrJD2V.js} +1 -1
- package/dist/playground/assets/{hlsl-Ci3v2SQ-.js → hlsl-At1hAO_w.js} +1 -1
- package/dist/playground/assets/{hoon-Cupt685z.js → hoon-CsEQUkGS.js} +1 -1
- package/dist/playground/assets/{hpkp-DckJeJAW.js → hpkp-YUgBwxI_.js} +1 -1
- package/dist/playground/assets/{hsts-CgPOIPVG.js → hsts-TTXygGiR.js} +1 -1
- package/dist/playground/assets/http-DBlCnlav.js +1 -0
- package/dist/playground/assets/{http-zu1xoPKm.js → http-DYtgsWjV.js} +1 -1
- package/dist/playground/assets/{ichigojam-Bo3k8IH8.js → ichigojam-Dbu4wg_F.js} +1 -1
- package/dist/playground/assets/{icon-B50CDejr.js → icon-CZAcBrz2.js} +1 -1
- package/dist/playground/assets/{icu-message-format-BSTOztsC.js → icu-message-format-CW0zz52S.js} +1 -1
- package/dist/playground/assets/idl-BEugSyMb.js +1 -0
- package/dist/playground/assets/{idris-C6H42J_d.js → idris-1wpzU0F3.js} +1 -1
- package/dist/playground/assets/{iecst-DeTxIjrB.js → iecst-at64YdTh.js} +1 -1
- package/dist/playground/assets/{ignore-0KSpRunZ.js → ignore-BNvWO4Fc.js} +1 -1
- package/dist/playground/assets/index-B5ih8vgp.js +2 -0
- package/dist/playground/assets/index-BACOlCIs.js +1 -0
- package/dist/playground/assets/index-BJyBzvq0.js +1 -0
- package/dist/playground/assets/index-BKv1e9UQ.js +1 -0
- package/dist/playground/assets/index-Bk9GDtuh.js +1 -0
- package/dist/playground/assets/index-Blz-YgXR.js +1 -0
- package/dist/playground/assets/index-C5RYRmef.js +1 -0
- package/dist/playground/assets/index-CTzEmwzR.js +1 -0
- package/dist/playground/assets/index-CVbRXSYB.js +1 -0
- package/dist/playground/assets/index-Cp633hMk.js +1 -0
- package/dist/playground/assets/index-D9tsldG8.js +1050 -0
- package/dist/playground/assets/index-DE4AQpFw.js +1 -0
- package/dist/playground/assets/index-DQzrlDOl.js +1 -0
- package/dist/playground/assets/{index-BkG1_yWg.js → index-DW8mdAuC.js} +1 -1
- package/dist/playground/assets/index-DpNBlqih.js +1 -0
- package/dist/playground/assets/index-DqAGVYSm.js +7 -0
- package/dist/playground/assets/index-KshUWIsU.js +3 -0
- package/dist/playground/assets/index-pITeUvcT.js +1 -0
- package/dist/playground/assets/index-yUiD89B4.js +1 -0
- package/dist/playground/assets/inform7-jxssRELU.js +1 -0
- package/dist/playground/assets/{ini-DB9gjMRS.js → ini-AaVDJc0w.js} +1 -1
- package/dist/playground/assets/{io-C7qCAArq.js → io-CImlhAA_.js} +1 -1
- package/dist/playground/assets/{j-XsnqOSmo.js → j-DWcfx09a.js} +1 -1
- package/dist/playground/assets/{java-UCfAtkUn.js → java-CZIGU-EE.js} +1 -1
- package/dist/playground/assets/{javadoc-D7OatHvJ.js → javadoc-CDJfaieT.js} +1 -1
- package/dist/playground/assets/{javadoclike-CA8LOFrf.js → javadoclike-DCit1dOx.js} +1 -1
- package/dist/playground/assets/{javascript-C-HYvHJV.js → javascript-BYp0hrW9.js} +1 -1
- package/dist/playground/assets/javascript-iXu5QeM3.js +1 -0
- package/dist/playground/assets/{javastacktrace-BCR9k9Cj.js → javastacktrace-B71w34-1.js} +1 -1
- package/dist/playground/assets/{jexl-D_pcZxkS.js → jexl-BAl7PN7d.js} +1 -1
- package/dist/playground/assets/{jolie-u3DtRgok.js → jolie-CXcNL9Ex.js} +1 -1
- package/dist/playground/assets/{jq-GT1pZmXv.js → jq-C6at8Ldd.js} +1 -1
- package/dist/playground/assets/js-extras--33vsqn1.js +1 -0
- package/dist/playground/assets/{js-templates-CMo2t4Ht.js → js-templates-qYT_0Vs8.js} +1 -1
- package/dist/playground/assets/{jsdoc-DQCbH9ne.js → jsdoc-DgyjAI-X.js} +1 -1
- package/dist/playground/assets/{json-IsKS2R4x.js → json-CpKFtMmt.js} +1 -1
- package/dist/playground/assets/{json5-B5yT32a-.js → json5-KlhZyQUA.js} +1 -1
- package/dist/playground/assets/{jsonp-DuOvBcbs.js → jsonp-CYx2Q41r.js} +1 -1
- package/dist/playground/assets/{jsstacktrace-rk-VNhbs.js → jsstacktrace-YonMqrLi.js} +1 -1
- package/dist/playground/assets/{jsx-BWVDZCBQ.js → jsx-BETV1iOi.js} +1 -1
- package/dist/playground/assets/julia-DuME0IfC.js +1 -0
- package/dist/playground/assets/{julia-DKZ7VcFl.js → julia-z_rc2VE_.js} +1 -1
- package/dist/playground/assets/{keepalived-DjKvaM1q.js → keepalived-B5RddHHz.js} +1 -1
- package/dist/playground/assets/{keyman-DMYtS5SG.js → keyman-DJbl0ZHg.js} +1 -1
- package/dist/playground/assets/{kotlin-DsjRIcve.js → kotlin-s3FLObLD.js} +1 -1
- package/dist/playground/assets/{kumir-CieIOtrq.js → kumir-B7NZGF2U.js} +1 -1
- package/dist/playground/assets/{kusto-BZfafd5C.js → kusto-DTpgscnB.js} +1 -1
- package/dist/playground/assets/{latex-Dia1QRGz.js → latex-DbuVOvjS.js} +1 -1
- package/dist/playground/assets/latte-C2ECvt3D.js +1 -0
- package/dist/playground/assets/{less-CMuezF0g.js → less-St0NKuRC.js} +1 -1
- package/dist/playground/assets/{lilypond-DGCWtFBr.js → lilypond-Dn1SAEg2.js} +1 -1
- package/dist/playground/assets/{liquid-Drc9w4SS.js → liquid-YZVopELC.js} +1 -1
- package/dist/playground/assets/{lisp-BpbCEAZx.js → lisp-q6RrEW7w.js} +1 -1
- package/dist/playground/assets/{livescript-C1NpoBOR.js → livescript-BNIkJR1Q.js} +1 -1
- package/dist/playground/assets/livescript-BwQOo05w.js +1 -0
- package/dist/playground/assets/{llvm-1qkyJnTJ.js → llvm-in50JjW3.js} +1 -1
- package/dist/playground/assets/{log-tvAFy6qs.js → log-CKRTCVDT.js} +1 -1
- package/dist/playground/assets/{lolcode-DtQqifj_.js → lolcode-BIrTwhMT.js} +1 -1
- package/dist/playground/assets/lua-BgMRiT3U.js +1 -0
- package/dist/playground/assets/{lua-BCcG2J0X.js → lua-vZL8oDzk.js} +1 -1
- package/dist/playground/assets/{magma--fQ0OyeK.js → magma-Dj0h8OKy.js} +1 -1
- package/dist/playground/assets/{makefile-Bem9EtA0.js → makefile-PiKHyPYK.js} +1 -1
- package/dist/playground/assets/{markdown-3STMDGio.js → markdown-DVd-o5Uk.js} +1 -1
- package/dist/playground/assets/{markup-Dx6-VAoa.js → markup-PlSstWoq.js} +1 -1
- package/dist/playground/assets/{markup-templating-dNylR7rg.js → markup-templating-JgJykuvD.js} +1 -1
- package/dist/playground/assets/mathematica-DTrFuWx2.js +1 -0
- package/dist/playground/assets/{matlab-Du7QOZJF.js → matlab-BnWas09R.js} +1 -1
- package/dist/playground/assets/{maxscript-BrmTaVsq.js → maxscript-Bi9gYmwI.js} +1 -1
- package/dist/playground/assets/mbox-CNhZ1qSd.js +1 -0
- package/dist/playground/assets/{mel-TwBjJ92o.js → mel-Bx503q60.js} +1 -1
- package/dist/playground/assets/{mermaid-AMmFXm12.js → mermaid-BBY2Veah.js} +1 -1
- package/dist/playground/assets/mirc-CjQqDB4T.js +1 -0
- package/dist/playground/assets/{mizar-BbXyDG2u.js → mizar-CbfPTWsi.js} +1 -1
- package/dist/playground/assets/mllike-BO34x3tv.js +1 -0
- package/dist/playground/assets/modelica-Dc1JOy9r.js +1 -0
- package/dist/playground/assets/{mongodb-mTUeVvMF.js → mongodb-BrZoCPf6.js} +1 -1
- package/dist/playground/assets/{monkey-CeFTmMPQ.js → monkey-DrSj3bQP.js} +1 -1
- package/dist/playground/assets/{moonscript-Bh43XXb8.js → moonscript-CXrLB_sP.js} +1 -1
- package/dist/playground/assets/mscgen-BA5vi2Kp.js +1 -0
- package/dist/playground/assets/mumps-BT43cFF4.js +1 -0
- package/dist/playground/assets/{n1ql-D0n0YsXy.js → n1ql-IXf-_rD6.js} +1 -1
- package/dist/playground/assets/{n4js-C7hWvBFD.js → n4js-Dm_aAo1q.js} +1 -1
- package/dist/playground/assets/{nand2tetris-hdl-o_A5RQtO.js → nand2tetris-hdl-Ctw7lAR1.js} +1 -1
- package/dist/playground/assets/{naniscript-kkR3lJLE.js → naniscript-DnEVNZWI.js} +1 -1
- package/dist/playground/assets/{nasm-CB_GyrNt.js → nasm-C9KZQGtg.js} +1 -1
- package/dist/playground/assets/{neon-CFdqVQ_8.js → neon-CHk4gRLd.js} +1 -1
- package/dist/playground/assets/{nevod-DwMtbyH-.js → nevod-CYGoG76S.js} +1 -1
- package/dist/playground/assets/nginx-DCbjBtvT.js +1 -0
- package/dist/playground/assets/nginx-DdIZxoE0.js +1 -0
- package/dist/playground/assets/{nim-CWmE8iJ_.js → nim-CTeNWzMe.js} +1 -1
- package/dist/playground/assets/{nix-IAbFHtWD.js → nix-BUoatC9F.js} +1 -1
- package/dist/playground/assets/{nsis-p1DHZ7W1.js → nsis-BVo5BwWQ.js} +1 -1
- package/dist/playground/assets/nsis-LdVXkNf5.js +1 -0
- package/dist/playground/assets/ntriples-BfvgReVJ.js +1 -0
- package/dist/playground/assets/{objectivec-DuT9ir4S.js → objectivec-DQPI4Ik8.js} +1 -1
- package/dist/playground/assets/{ocaml-BN4ySxWf.js → ocaml-Dzo3oFAI.js} +1 -1
- package/dist/playground/assets/octave-Ck1zUtKM.js +1 -0
- package/dist/playground/assets/{opencl-D9M0WfuU.js → opencl-BA-UZawg.js} +1 -1
- package/dist/playground/assets/{openqasm-CHEUoj8Z.js → openqasm-3eTOQMpn.js} +1 -1
- package/dist/playground/assets/{oz-zlvEygRc.js → oz-BUfQm9QM.js} +1 -1
- package/dist/playground/assets/oz-BzwKVEFT.js +1 -0
- package/dist/playground/assets/{parigp-xNqHFm9B.js → parigp-DLMB9Yy7.js} +1 -1
- package/dist/playground/assets/{parser-BhmnvMES.js → parser-bNipfYQI.js} +1 -1
- package/dist/playground/assets/pascal--L3eBynH.js +1 -0
- package/dist/playground/assets/{pascal-BY-j064D.js → pascal-eOX_61Ye.js} +1 -1
- package/dist/playground/assets/{pascaligo-CXfIANZB.js → pascaligo-QccLOuSm.js} +1 -1
- package/dist/playground/assets/{pcaxis-DWfNJYcM.js → pcaxis-CCsi4Cdl.js} +1 -1
- package/dist/playground/assets/{peoplecode-BDiYZZlS.js → peoplecode-BqL_EsnZ.js} +1 -1
- package/dist/playground/assets/perl-CdXCOZ3F.js +1 -0
- package/dist/playground/assets/{perl-CAuwecaH.js → perl-FlRlqKMK.js} +1 -1
- package/dist/playground/assets/{php-CW7xWaZ4.js → php-Oj-eFRae.js} +1 -1
- package/dist/playground/assets/{php-extras-C5Pq3XMv.js → php-extras-BkThMOQG.js} +1 -1
- package/dist/playground/assets/{phpdoc-D2E7kKyT.js → phpdoc-UZ0tnEFb.js} +1 -1
- package/dist/playground/assets/pig-CevX1Tat.js +1 -0
- package/dist/playground/assets/{plsql-D1EXAp_w.js → plsql-DspmX3yk.js} +1 -1
- package/dist/playground/assets/{powerquery-PB8Ept_-.js → powerquery-BFSj7jZG.js} +1 -1
- package/dist/playground/assets/{powershell-UzNscYIG.js → powershell-CMHTtY3O.js} +1 -1
- package/dist/playground/assets/powershell-CaxLzxiJ.js +1 -0
- package/dist/playground/assets/{processing-BDiZj8S-.js → processing-BY3oOdHW.js} +1 -1
- package/dist/playground/assets/{prolog-DChknMrh.js → prolog-DKtbAm_1.js} +1 -1
- package/dist/playground/assets/{promql-o0EOltWo.js → promql-B2VeNPOl.js} +1 -1
- package/dist/playground/assets/properties-C78fOPTZ.js +1 -0
- package/dist/playground/assets/{properties-DyN2C4xz.js → properties-IgKuI3jR.js} +1 -1
- package/dist/playground/assets/protobuf-ChK-085T.js +1 -0
- package/dist/playground/assets/{protobuf-CZe6ZjbO.js → protobuf-DST_oL78.js} +1 -1
- package/dist/playground/assets/{psl-CwngVAoI.js → psl-YdQc77En.js} +1 -1
- package/dist/playground/assets/{pug-C38t7hpP.js → pug-DC2wmi1i.js} +1 -1
- package/dist/playground/assets/pug-DeIclll2.js +1 -0
- package/dist/playground/assets/{puppet-Ckjk1N4E.js → puppet-BKl3e7n6.js} +1 -1
- package/dist/playground/assets/puppet-DMA9R1ak.js +1 -0
- package/dist/playground/assets/{pure-DN4KVAvE.js → pure-CNL5Pvvs.js} +1 -1
- package/dist/playground/assets/{purebasic-BTlz3wbU.js → purebasic-BqKwQpF-.js} +1 -1
- package/dist/playground/assets/{purescript-CkPzrmWA.js → purescript-Hj2l0ELm.js} +1 -1
- package/dist/playground/assets/python-BuPzkPfP.js +1 -0
- package/dist/playground/assets/{python-Cv3VQCQ8.js → python-nvRgPhpi.js} +1 -1
- package/dist/playground/assets/{q-DOK6pxSF.js → q-DbQ994zM.js} +1 -1
- package/dist/playground/assets/q-pXgVlZs6.js +1 -0
- package/dist/playground/assets/{qml-ljrA7uTM.js → qml-CggQfWah.js} +1 -1
- package/dist/playground/assets/{qore-DeZQdrFP.js → qore-BRQII8uz.js} +1 -1
- package/dist/playground/assets/{qsharp-BUnCG87V.js → qsharp-BIaoV9bS.js} +1 -1
- package/dist/playground/assets/r-B6wPVr8A.js +1 -0
- package/dist/playground/assets/{r-BqbacAnU.js → r-BTd-9uy5.js} +1 -1
- package/dist/playground/assets/{racket-C9XsNQkL.js → racket-Ek2lOXun.js} +1 -1
- package/dist/playground/assets/{reason-DsSpfOlF.js → reason-BSON80OJ.js} +1 -1
- package/dist/playground/assets/{regex-DsCZ1rYR.js → regex-C4YPoQHw.js} +1 -1
- package/dist/playground/assets/{rego-ChrD1gTJ.js → rego-B-wnvXsQ.js} +1 -1
- package/dist/playground/assets/{renpy-C6Ab6ZQz.js → renpy-BNhAL0UW.js} +1 -1
- package/dist/playground/assets/{rest-CLoWF9Fw.js → rest-BbG27K1x.js} +1 -1
- package/dist/playground/assets/{rip-Di70Ub8w.js → rip-DC5QAuJO.js} +1 -1
- package/dist/playground/assets/{roboconf-lArR2EWu.js → roboconf-Svon_Rhh.js} +1 -1
- package/dist/playground/assets/{robotframework-CrAEYoQ1.js → robotframework-Bs2hNsWy.js} +1 -1
- package/dist/playground/assets/rpm-CTu-6PCP.js +1 -0
- package/dist/playground/assets/ruby-B2Rjki9n.js +1 -0
- package/dist/playground/assets/{ruby-CktMbZWQ.js → ruby-DTGHQP7e.js} +1 -1
- package/dist/playground/assets/{rust-BAg2yoNe.js → rust-DH_tP2GS.js} +1 -1
- package/dist/playground/assets/sas-B4kiWyti.js +1 -0
- package/dist/playground/assets/{sas-CFTUtqjQ.js → sas-Dcbq9F7Y.js} +1 -1
- package/dist/playground/assets/{sass-DmYmMeyJ.js → sass-CAC1LkOo.js} +1 -1
- package/dist/playground/assets/{scala-C4IO6Jqf.js → scala-CdIfwg3b.js} +1 -1
- package/dist/playground/assets/scheme-C41bIUwD.js +1 -0
- package/dist/playground/assets/{scheme-CefJ5A02.js → scheme-fKF3CFlW.js} +1 -1
- package/dist/playground/assets/{scss-CggtJmzM.js → scss-kIXiJE90.js} +1 -1
- package/dist/playground/assets/shell-CjFT_Tl9.js +1 -0
- package/dist/playground/assets/{shell-session-BXc_cAmY.js → shell-session-w--rEEtT.js} +1 -1
- package/dist/playground/assets/sieve-C3Gn_uJK.js +1 -0
- package/dist/playground/assets/simple-mode-GW_nhZxv.js +1 -0
- package/dist/playground/assets/{smali-CWF3xl-7.js → smali-DCfahoCo.js} +1 -1
- package/dist/playground/assets/smalltalk-CnHTOXQT.js +1 -0
- package/dist/playground/assets/{smalltalk-v3AmbMmD.js → smalltalk-CpOPF3mv.js} +1 -1
- package/dist/playground/assets/{smarty-D-YIdSJu.js → smarty-CN9o9u-J.js} +1 -1
- package/dist/playground/assets/{sml-BftgZ4gv.js → sml-D9MDwkty.js} +1 -1
- package/dist/playground/assets/{solidity-CSA_kKI9.js → solidity-Kpw3IWQL.js} +1 -1
- package/dist/playground/assets/solr-DehyRSwq.js +1 -0
- package/dist/playground/assets/{solution-file-BDWV_fQS.js → solution-file-B2U2tBjI.js} +1 -1
- package/dist/playground/assets/soy-CRAL_mXk.js +1 -0
- package/dist/playground/assets/{sparql-D_qLjTyO.js → sparql-CxUgdNvl.js} +1 -1
- package/dist/playground/assets/sparql-DkYu6x3z.js +1 -0
- package/dist/playground/assets/{splunk-spl-CqJSRQdy.js → splunk-spl-DHmHXWus.js} +1 -1
- package/dist/playground/assets/spreadsheet-BCZA_wO0.js +1 -0
- package/dist/playground/assets/{sqf-5RXSeyON.js → sqf-O_m0LsHG.js} +1 -1
- package/dist/playground/assets/sql-D0XecflT.js +1 -0
- package/dist/playground/assets/{sql-Bgu55XXi.js → sql-DeIvDdac.js} +1 -1
- package/dist/playground/assets/{squirrel-ke1otcdx.js → squirrel-BX42uwAc.js} +1 -1
- package/dist/playground/assets/{stan-B5n2j9bF.js → stan-kt76k905.js} +1 -1
- package/dist/playground/assets/stex-C3f8Ysf7.js +1 -0
- package/dist/playground/assets/style-B0ga_rpf.css +1 -0
- package/dist/playground/assets/stylus-B533Al4x.js +1 -0
- package/dist/playground/assets/{stylus-D1hhnHcn.js → stylus-CP8LaAU_.js} +1 -1
- package/dist/playground/assets/swift-BzpIVaGY.js +1 -0
- package/dist/playground/assets/{swift-BcPaSrT8.js → swift-DSWaws21.js} +1 -1
- package/dist/playground/assets/{systemd-B0Dbjtuc.js → systemd-B0aSnDJI.js} +1 -1
- package/dist/playground/assets/t4-cs-BB3rAiMZ.js +1 -0
- package/dist/playground/assets/{t4-templating-LJn6Oz9d.js → t4-templating-oWy3Wqfy.js} +1 -1
- package/dist/playground/assets/{t4-vb-PgRU6dl1.js → t4-vb-Dy5JdxHS.js} +1 -1
- package/dist/playground/assets/{tap-BJBQhimo.js → tap-Bmdsuv1i.js} +1 -1
- package/dist/playground/assets/tcl-DVfN8rqt.js +1 -0
- package/dist/playground/assets/{tcl-BpmU9aR4.js → tcl-Drcru4Vj.js} +1 -1
- package/dist/playground/assets/{textile-D5u9VIpl.js → textile-C9EocdUf.js} +1 -1
- package/dist/playground/assets/textile-CnDTJFAw.js +1 -0
- package/dist/playground/assets/tiddlywiki-DO-Gjzrf.js +1 -0
- package/dist/playground/assets/tiki-DGYXhP31.js +1 -0
- package/dist/playground/assets/{toml-86wyvMQP.js → toml-BQ0OcXHR.js} +1 -1
- package/dist/playground/assets/toml-Bm5Em-hy.js +1 -0
- package/dist/playground/assets/{tremor-9OiEw3CL.js → tremor-B1gwzB2z.js} +1 -1
- package/dist/playground/assets/troff-wAsdV37c.js +1 -0
- package/dist/playground/assets/{tsx-BmLeSeFq.js → tsx-Ba5tyWgS.js} +1 -1
- package/dist/playground/assets/tt2-_ZkTiupH.js +1 -0
- package/dist/playground/assets/ttcn-CfJYG6tj.js +1 -0
- package/dist/playground/assets/ttcn-cfg-B9xdYoR4.js +1 -0
- package/dist/playground/assets/turtle-B1tBg_DP.js +1 -0
- package/dist/playground/assets/{turtle-Be7PT_iq.js → turtle-C9lCkaU-.js} +1 -1
- package/dist/playground/assets/twig-DSL6_k46.js +1 -0
- package/dist/playground/assets/{typescript-C_8XpC5I.js → typescript-Dmtt5uxH.js} +1 -1
- package/dist/playground/assets/{typoscript-CQWUJ7ez.js → typoscript-Cyi8laM1.js} +1 -1
- package/dist/playground/assets/{unrealscript-jXwuiL7f.js → unrealscript-DvOfnwH_.js} +1 -1
- package/dist/playground/assets/{uorazor-ncwoqf31.js → uorazor-hhQUIS1I.js} +1 -1
- package/dist/playground/assets/{uri-DFNgPR3C.js → uri-zPhSFyzs.js} +1 -1
- package/dist/playground/assets/{v-DQZPiNCx.js → v-BCS4GYRb.js} +1 -1
- package/dist/playground/assets/{vala-CyISbrl7.js → vala-BFsZtDjj.js} +1 -1
- package/dist/playground/assets/vb-CmGdzxic.js +1 -0
- package/dist/playground/assets/{vbnet-DrNk4QtU.js → vbnet-pAD-CnX8.js} +1 -1
- package/dist/playground/assets/vbscript-BuJXcnF6.js +1 -0
- package/dist/playground/assets/{velocity-DXDwT7Kk.js → velocity-BR62bLlx.js} +1 -1
- package/dist/playground/assets/velocity-D8B20fx6.js +1 -0
- package/dist/playground/assets/verilog-C6RDOZhf.js +1 -0
- package/dist/playground/assets/{verilog-Bf56V069.js → verilog-DeMqcTMT.js} +1 -1
- package/dist/playground/assets/vhdl-lSbBsy5d.js +1 -0
- package/dist/playground/assets/{vhdl-DOY3jcIk.js → vhdl-sLg9PFwQ.js} +1 -1
- package/dist/playground/assets/{vim-C5DjeOsE.js → vim-D1srTEhx.js} +1 -1
- package/dist/playground/assets/{visual-basic-BvGr96W6.js → visual-basic-DbMx4RYs.js} +1 -1
- package/dist/playground/assets/{warpscript-BmIYv-Zb.js → warpscript-DL2cr1i4.js} +1 -1
- package/dist/playground/assets/{wasm-yZAm3GLi.js → wasm-B4KKxRe0.js} +1 -1
- package/dist/playground/assets/{web-idl-Dvr6KDXC.js → web-idl-CxpS6gw2.js} +1 -1
- package/dist/playground/assets/webidl-ZXfAyPTL.js +1 -0
- package/dist/playground/assets/{wiki-C_Rixmaj.js → wiki-CFAQ3xOY.js} +1 -1
- package/dist/playground/assets/{wolfram-C_9oNg-h.js → wolfram-CJz4xslT.js} +1 -1
- package/dist/playground/assets/{wren-goT5GN0w.js → wren-Dl38ONdP.js} +1 -1
- package/dist/playground/assets/{xeora-DhHG2Y8e.js → xeora-D0BzMZr-.js} +1 -1
- package/dist/playground/assets/{xml-doc-CepjOIw9.js → xml-doc-DzJZrHzW.js} +1 -1
- package/dist/playground/assets/{xojo-C-5rjP7-.js → xojo-CALH1OZZ.js} +1 -1
- package/dist/playground/assets/{xquery-DJKMGfWK.js → xquery-BWp5HQs0.js} +1 -1
- package/dist/playground/assets/xquery-DzFWVndE.js +1 -0
- package/dist/playground/assets/yacas-BJ4BC0dw.js +1 -0
- package/dist/playground/assets/{yaml-DUN01303.js → yaml-DJXdlQxk.js} +1 -1
- package/dist/playground/assets/{yang-CNaJjCK-.js → yang-CVZlC3Or.js} +1 -1
- package/dist/playground/assets/z80-Hz9HOZM7.js +1 -0
- package/dist/playground/assets/{zig-2H3WXvLw.js → zig-uddugz-6.js} +1 -1
- package/dist/playground/index.html +2 -2
- package/dist/playground/mastra.svg +17 -9
- package/dist/starter-files/tools.ts +2 -2
- package/dist/templates/dev.entry.js +2 -45
- package/package.json +9 -23
- package/dist/chunk-7L2RX5P2.js.map +0 -1
- package/dist/commands/dev/telemetry-loader.d.ts +0 -2
- package/dist/commands/dev/telemetry-loader.d.ts.map +0 -1
- package/dist/commands/dev/telemetry-loader.js +0 -6
- package/dist/commands/dev/telemetry-loader.js.map +0 -1
- package/dist/commands/dev/telemetry-resolver.d.ts +0 -7
- package/dist/commands/dev/telemetry-resolver.d.ts.map +0 -1
- package/dist/commands/dev/telemetry-resolver.js +0 -17
- package/dist/commands/dev/telemetry-resolver.js.map +0 -1
- package/dist/playground/assets/apex-BBQSr6vu.js +0 -1
- package/dist/playground/assets/ejs-DLLXetuU.js +0 -1
- package/dist/playground/assets/erb-CudP3oer.js +0 -1
- package/dist/playground/assets/gcode-BvZhGNwd.js +0 -1
- package/dist/playground/assets/gn-jBup9G-4.js +0 -1
- package/dist/playground/assets/go-module-DXBg4kz2.js +0 -1
- package/dist/playground/assets/index-CqRFGePW.js +0 -1040
- package/dist/playground/assets/inform7-ypqPiK-J.js +0 -1
- package/dist/playground/assets/js-extras-BDwOLDEQ.js +0 -1
- package/dist/playground/assets/latte-DzHlyyAk.js +0 -1
- package/dist/playground/assets/nginx-DhxcKdE7.js +0 -1
- package/dist/playground/assets/soy-C_6bNHYz.js +0 -1
- package/dist/playground/assets/style-BKTIbApK.css +0 -1
- package/dist/playground/assets/t4-cs-D1g13E8p.js +0 -1
- package/dist/playground/assets/tt2-Dy1YnxD7.js +0 -1
- package/dist/playground/assets/twig-2ZzE1KtS.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,104 +1,127 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 1.0.0-beta.0
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
- Update peer dependencies to match core package version bump (0.23.4) ([#9487](https://github.com/mastra-ai/mastra/pull/9487))
|
|
8
|
-
|
|
9
|
-
### Patch Changes
|
|
5
|
+
### Major Changes
|
|
10
6
|
|
|
11
|
-
-
|
|
7
|
+
- Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
|
|
12
8
|
|
|
13
|
-
-
|
|
9
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
14
10
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- @mastra/core@0.24.0-alpha.0
|
|
11
|
+
- ```([#9709](https://github.com/mastra-ai/mastra/pull/9709))
|
|
12
|
+
import { Mastra } from '@mastra/core';
|
|
13
|
+
import { Observability } from '@mastra/observability'; // Explicit import
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
const mastra = new Mastra({
|
|
16
|
+
...other_config,
|
|
17
|
+
observability: new Observability({
|
|
18
|
+
default: { enabled: true }
|
|
19
|
+
}) // Instance
|
|
20
|
+
});
|
|
21
|
+
```
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- Updated dependencies [[`b55bbce`](https://github.com/mastra-ai/mastra/commit/b55bbce89404d35fdd967012dd503fae343d4c2d), [`d6cb18e`](https://github.com/mastra-ai/mastra/commit/d6cb18e189fd0ac95d4934cf0d6f2866876d1a2e), [`d0ecff7`](https://github.com/mastra-ai/mastra/commit/d0ecff793d5cd50408cd8d1d113f02e28d897a3d), [`e84a959`](https://github.com/mastra-ai/mastra/commit/e84a9592bfdec4f1c9fdf108c9d4ea4e2ee8f7e3), [`e742d37`](https://github.com/mastra-ai/mastra/commit/e742d371f24ef8059670cc05e9aee308eac068b9)]:
|
|
25
|
-
- @mastra/deployer@0.23.3
|
|
26
|
-
- @mastra/core@0.23.3
|
|
23
|
+
Instead of:
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
```
|
|
26
|
+
import { Mastra } from '@mastra/core';
|
|
27
|
+
import '@mastra/observability/init'; // Explicit import
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
const mastra = new Mastra({
|
|
30
|
+
...other_config,
|
|
31
|
+
observability: {
|
|
32
|
+
default: { enabled: true }
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
```
|
|
31
36
|
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
37
|
+
Also renamed a bunch of:
|
|
38
|
+
- `Tracing` things to `Observability` things.
|
|
39
|
+
- `AI-` things to just things.
|
|
35
40
|
|
|
36
|
-
|
|
41
|
+
- Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
- Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
39
44
|
|
|
40
|
-
-
|
|
45
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
41
46
|
|
|
42
|
-
-
|
|
47
|
+
- Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
### Minor Changes
|
|
45
50
|
|
|
46
|
-
-
|
|
51
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
47
52
|
|
|
48
|
-
|
|
49
|
-
- @mastra/core@0.23.2
|
|
50
|
-
- @mastra/deployer@0.23.2
|
|
53
|
+
### Patch Changes
|
|
51
54
|
|
|
52
|
-
|
|
55
|
+
- Use dynamic model for scorers in create cli ([#9188](https://github.com/mastra-ai/mastra/pull/9188))
|
|
53
56
|
|
|
54
|
-
|
|
57
|
+
- Update MainSidebar component to fit required changes in Cloud CTA link ([#9318](https://github.com/mastra-ai/mastra/pull/9318))
|
|
55
58
|
|
|
56
|
-
-
|
|
59
|
+
- Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
- @mastra/core@0.23.2-alpha.1
|
|
60
|
-
- @mastra/deployer@0.23.2-alpha.1
|
|
61
|
+
Consolidated the 3 different execution contexts to one
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
```typescript
|
|
64
|
+
// before depending on the context the tool was executed in
|
|
65
|
+
tool.execute({ context: data });
|
|
66
|
+
tool.execute({ context: { inputData: data } });
|
|
67
|
+
tool.execute(data);
|
|
63
68
|
|
|
64
|
-
|
|
69
|
+
// now, for all contexts
|
|
70
|
+
tool.execute(data, context);
|
|
71
|
+
```
|
|
65
72
|
|
|
66
|
-
|
|
73
|
+
**Before:**
|
|
67
74
|
|
|
68
|
-
|
|
75
|
+
```typescript
|
|
76
|
+
inputSchema: z.object({ something: z.string() }),
|
|
77
|
+
execute: async ({ context, tracingContext, runId, ... }) => {
|
|
78
|
+
return doSomething(context.string);
|
|
79
|
+
}
|
|
80
|
+
```
|
|
69
81
|
|
|
70
|
-
|
|
82
|
+
**After:**
|
|
71
83
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
84
|
+
```typescript
|
|
85
|
+
inputSchema: z.object({ something: z.string() }),
|
|
86
|
+
execute: async (inputData, context) => {
|
|
87
|
+
const { agent, mcp, workflow, ...sharedContext } = context
|
|
75
88
|
|
|
76
|
-
|
|
89
|
+
// context that only an agent would get like toolCallId, messages, suspend, resume, etc
|
|
90
|
+
if (agent) {
|
|
91
|
+
doSomething(inputData.something, agent)
|
|
92
|
+
// context that only a workflow would get like runId, state, suspend, resume, etc
|
|
93
|
+
} else if (workflow) {
|
|
94
|
+
doSomething(inputData.something, workflow)
|
|
95
|
+
// context that only a workflow would get like "extra", "elicitation"
|
|
96
|
+
} else if (mcp) {
|
|
97
|
+
doSomething(inputData.something, mcp)
|
|
98
|
+
} else {
|
|
99
|
+
// Running a tool in no execution context
|
|
100
|
+
return doSomething(inputData.something);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
```
|
|
77
104
|
|
|
78
|
-
|
|
105
|
+
- Update CLI start server command ([#9757](https://github.com/mastra-ai/mastra/pull/9757))
|
|
79
106
|
|
|
80
|
-
-
|
|
107
|
+
- Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
|
|
81
108
|
|
|
82
|
-
-
|
|
83
|
-
- @mastra/deployer@0.23.1
|
|
84
|
-
- @mastra/loggers@0.10.18
|
|
85
|
-
- @mastra/core@0.23.1
|
|
109
|
+
- update translation scorer template to use util methods to get user and assistant message ([#9761](https://github.com/mastra-ai/mastra/pull/9761))
|
|
86
110
|
|
|
87
|
-
|
|
111
|
+
- Fix e2e test compatibility by passing version tags to all Mastra package installations. The `init` function now accepts an optional `versionTag` parameter that ensures all installed Mastra packages (`@mastra/evals`, `@mastra/libsql`, `@mastra/memory`, `@mastra/loggers`, `@mastra/observability`) use the same version, preventing module resolution errors when packages are updated with breaking internal changes. ([#9540](https://github.com/mastra-ai/mastra/pull/9540))
|
|
88
112
|
|
|
89
|
-
|
|
113
|
+
- Use a shared `getAllToolPaths()` method from the bundler to discover tool paths. ([#9204](https://github.com/mastra-ai/mastra/pull/9204))
|
|
90
114
|
|
|
91
|
-
-
|
|
92
|
-
- @mastra/core@0.23.0
|
|
93
|
-
- @mastra/deployer@0.23.0
|
|
115
|
+
- Better handle errors during `mastra start` and throw them with Mastra's logger. Also add special error handling for `ERR_MODULE_NOT_FOUND` cases. ([#9127](https://github.com/mastra-ai/mastra/pull/9127))
|
|
94
116
|
|
|
95
|
-
|
|
117
|
+
- Make sure that `mastra init` also installs the `mastra` CLI package (if not already installed) ([#9179](https://github.com/mastra-ai/mastra/pull/9179))
|
|
96
118
|
|
|
97
|
-
|
|
119
|
+
- Add `@mastra/observability` to starter project dependencies ([#9175](https://github.com/mastra-ai/mastra/pull/9175))
|
|
98
120
|
|
|
99
|
-
- Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`
|
|
100
|
-
- @mastra/
|
|
101
|
-
- @mastra/
|
|
121
|
+
- Updated dependencies [[`77ff370`](https://github.com/mastra-ai/mastra/commit/77ff370186ba77955620c465fd2e95360e1947ea), [`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`5540775`](https://github.com/mastra-ai/mastra/commit/5540775f68685e19ddb6972ad73297f117656f59), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`2ef1f3c`](https://github.com/mastra-ai/mastra/commit/2ef1f3cc1f9785998197571478821326b2a528ee), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`87f9f96`](https://github.com/mastra-ai/mastra/commit/87f9f96c772117fb868c9ea17a9eda664d41a35e), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`9e0a85d`](https://github.com/mastra-ai/mastra/commit/9e0a85d11d02ca5918463ab5c2ec55d4eebf3769), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`e41f852`](https://github.com/mastra-ai/mastra/commit/e41f852a3068be9c65818d9ab2218bae06ed0237), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`dfe3f8c`](https://github.com/mastra-ai/mastra/commit/dfe3f8c7376ffe159236819e19ca522143c1f972), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`6c7ffcd`](https://github.com/mastra-ai/mastra/commit/6c7ffcdf9a5b0a4435eb3f934c22c05b9e2fedb3), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`056d075`](https://github.com/mastra-ai/mastra/commit/056d075598761a47c4f6f48c0ba8f793ca915c7f), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`4a8cade`](https://github.com/mastra-ai/mastra/commit/4a8cade69b4616da04d78e6f76649b52d843997e), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019), [`1176e03`](https://github.com/mastra-ai/mastra/commit/1176e03a0db4b8f5b0a85afbaf45d3cc7ab2d94a)]:
|
|
122
|
+
- @mastra/deployer@1.0.0-beta.0
|
|
123
|
+
- @mastra/core@1.0.0-beta.0
|
|
124
|
+
- @mastra/loggers@1.0.0-beta.0
|
|
102
125
|
|
|
103
126
|
## 0.17.3
|
|
104
127
|
|
|
@@ -395,6 +395,7 @@ ${addExampleTool ? `import { weatherTool } from '../tools/weather-tool';` : ""}
|
|
|
395
395
|
${addScorers ? `import { scorers } from '../scorers/weather-scorer';` : ""}
|
|
396
396
|
|
|
397
397
|
export const weatherAgent = new Agent({
|
|
398
|
+
id: 'weather-agent',
|
|
398
399
|
name: 'Weather Agent',
|
|
399
400
|
instructions: \`${instructions}\`,
|
|
400
401
|
model: ${modelString},
|
|
@@ -424,6 +425,7 @@ export const weatherAgent = new Agent({
|
|
|
424
425
|
},` : ""}
|
|
425
426
|
memory: new Memory({
|
|
426
427
|
storage: new LibSQLStore({
|
|
428
|
+
id: "memory-storage",
|
|
427
429
|
url: "file:../mastra.db", // path is relative to the .mastra/output directory
|
|
428
430
|
})
|
|
429
431
|
})
|
|
@@ -636,9 +638,10 @@ async function writeToolSample(destPath) {
|
|
|
636
638
|
async function writeScorersSample(llmProvider, destPath) {
|
|
637
639
|
const modelString = getModelIdentifier(llmProvider);
|
|
638
640
|
const content = `import { z } from 'zod';
|
|
639
|
-
import { createToolCallAccuracyScorerCode } from '@mastra/evals/scorers/
|
|
640
|
-
import { createCompletenessScorer } from '@mastra/evals/scorers/
|
|
641
|
-
import {
|
|
641
|
+
import { createToolCallAccuracyScorerCode } from '@mastra/evals/scorers/prebuilt';
|
|
642
|
+
import { createCompletenessScorer } from '@mastra/evals/scorers/prebuilt';
|
|
643
|
+
import { getAssistantMessageFromRunOutput, getUserMessageFromRunInput } from '@mastra/evals/scorers/utils';
|
|
644
|
+
import { createScorer } from '@mastra/core/evals';
|
|
642
645
|
|
|
643
646
|
export const toolCallAppropriatenessScorer = createToolCallAccuracyScorerCode({
|
|
644
647
|
expectedTool: 'weatherTool',
|
|
@@ -649,6 +652,7 @@ export const completenessScorer = createCompletenessScorer();
|
|
|
649
652
|
|
|
650
653
|
// Custom LLM-judged scorer: evaluates if non-English locations are translated appropriately
|
|
651
654
|
export const translationScorer = createScorer({
|
|
655
|
+
id: 'translation-quality-scorer',
|
|
652
656
|
name: 'Translation Quality',
|
|
653
657
|
description: 'Checks that non-English location names are translated and used correctly',
|
|
654
658
|
type: 'agent',
|
|
@@ -662,8 +666,8 @@ export const translationScorer = createScorer({
|
|
|
662
666
|
},
|
|
663
667
|
})
|
|
664
668
|
.preprocess(({ run }) => {
|
|
665
|
-
const userText = (run.input
|
|
666
|
-
const assistantText = (run.output
|
|
669
|
+
const userText = getUserMessageFromRunInput(run.input) || '';
|
|
670
|
+
const assistantText = getAssistantMessageFromRunOutput(run.output) || '';
|
|
667
671
|
return { userText, assistantText };
|
|
668
672
|
})
|
|
669
673
|
.analyze({
|
|
@@ -762,7 +766,7 @@ var writeIndexFile = async ({
|
|
|
762
766
|
await fs4.writeFile(
|
|
763
767
|
destPath,
|
|
764
768
|
`
|
|
765
|
-
import { Mastra } from '@mastra/core';
|
|
769
|
+
import { Mastra } from '@mastra/core/mastra';
|
|
766
770
|
|
|
767
771
|
export const mastra = new Mastra()
|
|
768
772
|
`
|
|
@@ -775,6 +779,7 @@ export const mastra = new Mastra()
|
|
|
775
779
|
import { Mastra } from '@mastra/core/mastra';
|
|
776
780
|
import { PinoLogger } from '@mastra/loggers';
|
|
777
781
|
import { LibSQLStore } from '@mastra/libsql';
|
|
782
|
+
import { Observability } from '@mastra/observability';
|
|
778
783
|
${addWorkflow ? `import { weatherWorkflow } from './workflows/weather-workflow';` : ""}
|
|
779
784
|
${addAgent ? `import { weatherAgent } from './agents/weather-agent';` : ""}
|
|
780
785
|
${addScorers ? `import { toolCallAppropriatenessScorer, completenessScorer, translationScorer } from './scorers/weather-scorer';` : ""}
|
|
@@ -782,6 +787,7 @@ ${addScorers ? `import { toolCallAppropriatenessScorer, completenessScorer, tran
|
|
|
782
787
|
export const mastra = new Mastra({
|
|
783
788
|
${filteredExports.join("\n ")}
|
|
784
789
|
storage: new LibSQLStore({
|
|
790
|
+
id: "mastra-storage",
|
|
785
791
|
// stores observability, scores, ... into memory storage, if it needs to persist, change to file:../mastra.db
|
|
786
792
|
url: ":memory:",
|
|
787
793
|
}),
|
|
@@ -789,14 +795,10 @@ export const mastra = new Mastra({
|
|
|
789
795
|
name: 'Mastra',
|
|
790
796
|
level: 'info',
|
|
791
797
|
}),
|
|
792
|
-
|
|
793
|
-
//
|
|
794
|
-
enabled:
|
|
795
|
-
|
|
796
|
-
observability: {
|
|
797
|
-
// Enables DefaultExporter and CloudExporter for AI tracing
|
|
798
|
-
default: { enabled: true },
|
|
799
|
-
},
|
|
798
|
+
observability: new Observability({
|
|
799
|
+
// Enables DefaultExporter and CloudExporter for tracing
|
|
800
|
+
default: { enabled: true },
|
|
801
|
+
}),
|
|
800
802
|
});
|
|
801
803
|
`
|
|
802
804
|
);
|
|
@@ -1237,9 +1239,11 @@ var init = async ({
|
|
|
1237
1239
|
llmProvider = "openai",
|
|
1238
1240
|
llmApiKey,
|
|
1239
1241
|
addExample = false,
|
|
1240
|
-
configureEditorWithDocsMCP
|
|
1242
|
+
configureEditorWithDocsMCP,
|
|
1243
|
+
versionTag
|
|
1241
1244
|
}) => {
|
|
1242
1245
|
s.start("Initializing Mastra");
|
|
1246
|
+
const packageVersionTag = versionTag ? `@${versionTag}` : "";
|
|
1243
1247
|
try {
|
|
1244
1248
|
const result = await createMastraDir(directory);
|
|
1245
1249
|
if (!result.ok) {
|
|
@@ -1267,19 +1271,23 @@ var init = async ({
|
|
|
1267
1271
|
const depService = new DepsService();
|
|
1268
1272
|
const needsLibsql = await depService.checkDependencies(["@mastra/libsql"]) !== `ok`;
|
|
1269
1273
|
if (needsLibsql) {
|
|
1270
|
-
await depService.installPackages([
|
|
1274
|
+
await depService.installPackages([`@mastra/libsql${packageVersionTag}`]);
|
|
1271
1275
|
}
|
|
1272
1276
|
const needsMemory = components.includes(`agents`) && await depService.checkDependencies(["@mastra/memory"]) !== `ok`;
|
|
1273
1277
|
if (needsMemory) {
|
|
1274
|
-
await depService.installPackages([
|
|
1278
|
+
await depService.installPackages([`@mastra/memory${packageVersionTag}`]);
|
|
1275
1279
|
}
|
|
1276
1280
|
const needsLoggers = await depService.checkDependencies(["@mastra/loggers"]) !== `ok`;
|
|
1277
1281
|
if (needsLoggers) {
|
|
1278
|
-
await depService.installPackages([
|
|
1282
|
+
await depService.installPackages([`@mastra/loggers${packageVersionTag}`]);
|
|
1283
|
+
}
|
|
1284
|
+
const needsObservability = await depService.checkDependencies(["@mastra/observability"]) !== `ok`;
|
|
1285
|
+
if (needsObservability) {
|
|
1286
|
+
await depService.installPackages([`@mastra/observability${packageVersionTag}`]);
|
|
1279
1287
|
}
|
|
1280
1288
|
const needsEvals = components.includes(`scorers`) && await depService.checkDependencies(["@mastra/evals"]) !== `ok`;
|
|
1281
1289
|
if (needsEvals) {
|
|
1282
|
-
await depService.installPackages([
|
|
1290
|
+
await depService.installPackages([`@mastra/evals${packageVersionTag}`]);
|
|
1283
1291
|
}
|
|
1284
1292
|
}
|
|
1285
1293
|
const key = await getAPIKey(llmProvider || "openai");
|
|
@@ -1520,7 +1528,8 @@ var create = async (args2) => {
|
|
|
1520
1528
|
...result,
|
|
1521
1529
|
llmApiKey: result?.llmApiKey,
|
|
1522
1530
|
components: ["agents", "tools", "workflows", "scorers"],
|
|
1523
|
-
addExample: true
|
|
1531
|
+
addExample: true,
|
|
1532
|
+
versionTag: args2.createVersionTag
|
|
1524
1533
|
});
|
|
1525
1534
|
postCreate({ projectName });
|
|
1526
1535
|
return;
|
|
@@ -1539,7 +1548,8 @@ var create = async (args2) => {
|
|
|
1539
1548
|
llmProvider,
|
|
1540
1549
|
addExample,
|
|
1541
1550
|
llmApiKey,
|
|
1542
|
-
configureEditorWithDocsMCP: args2.mcpServer
|
|
1551
|
+
configureEditorWithDocsMCP: args2.mcpServer,
|
|
1552
|
+
versionTag: args2.createVersionTag
|
|
1543
1553
|
});
|
|
1544
1554
|
postCreate({ projectName });
|
|
1545
1555
|
};
|
|
@@ -1708,5 +1718,5 @@ async function createFromTemplate(args2) {
|
|
|
1708
1718
|
}
|
|
1709
1719
|
|
|
1710
1720
|
export { COMPONENTS, DepsService, FileService, LLMProvider, checkAndInstallCoreDeps, checkForPkgJson, create, createLogger, init, interactivePrompt, logger, parseComponents, parseLlmProvider, parseMcp };
|
|
1711
|
-
//# sourceMappingURL=chunk-
|
|
1712
|
-
//# sourceMappingURL=chunk-
|
|
1721
|
+
//# sourceMappingURL=chunk-D6NRTVVY.js.map
|
|
1722
|
+
//# sourceMappingURL=chunk-D6NRTVVY.js.map
|