mastra 1.0.0-beta.0 → 1.0.0-beta.2
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 +48 -0
- package/dist/{chunk-D6NRTVVY.js → chunk-LC24FTF4.js} +396 -241
- package/dist/chunk-LC24FTF4.js.map +1 -0
- package/dist/commands/actions/start-dev-server.d.ts +2 -2
- package/dist/commands/actions/start-dev-server.d.ts.map +1 -1
- package/dist/commands/build/BuildBundler.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 +2 -2
- package/dist/commands/dev/dev.d.ts.map +1 -1
- package/dist/commands/init/init.d.ts.map +1 -1
- package/dist/commands/init/mcp-docs-server-install.d.ts +3 -2
- package/dist/commands/init/mcp-docs-server-install.d.ts.map +1 -1
- package/dist/commands/init/utils.d.ts +7 -1
- package/dist/commands/init/utils.d.ts.map +1 -1
- package/dist/commands/start/start.d.ts.map +1 -1
- package/dist/commands/utils.d.ts +2 -1
- package/dist/commands/utils.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -15
- package/dist/index.js.map +1 -1
- package/dist/playground/assets/{abap-BVU-lJUW.js → abap-6DOLzTwj.js} +1 -1
- package/dist/playground/assets/{abnf-6UqDXZoZ.js → abnf-CfZklBkp.js} +1 -1
- package/dist/playground/assets/{actionscript-Cf8lYdXa.js → actionscript-AKAbTTS9.js} +1 -1
- package/dist/playground/assets/{ada-hWd-J5T2.js → ada-CCyCCZQc.js} +1 -1
- package/dist/playground/assets/{agda-s9mq_rw7.js → agda-BJdmxjDx.js} +1 -1
- package/dist/playground/assets/{al-xAaytfXU.js → al-Ct9Ryay7.js} +1 -1
- package/dist/playground/assets/{antlr4-BALprcg2.js → antlr4-DSMpmcmV.js} +1 -1
- package/dist/playground/assets/{apacheconf-DOQ8HHlK.js → apacheconf-BeqOavCJ.js} +1 -1
- package/dist/playground/assets/{apex-Vcvg9OGb.js → apex-1_6mi69r.js} +1 -1
- package/dist/playground/assets/{apl-DzaU-2QT.js → apl-DC48MxBB.js} +1 -1
- package/dist/playground/assets/{applescript-CNEmaTlw.js → applescript-DiL8hMiv.js} +1 -1
- package/dist/playground/assets/{aql-CsRSKgIO.js → aql-DyNBc7fs.js} +1 -1
- package/dist/playground/assets/{arduino-BY-cJnAG.js → arduino-gwy9r-YX.js} +1 -1
- package/dist/playground/assets/{arff-DokkxD3G.js → arff-DNFG93L3.js} +1 -1
- package/dist/playground/assets/{asciidoc-7GdGhWka.js → asciidoc-CTxOFUVL.js} +1 -1
- package/dist/playground/assets/{asm6502-GRMku7p-.js → asm6502-BzZ19HcF.js} +1 -1
- package/dist/playground/assets/{asmatmel-BvdE-Rmh.js → asmatmel-CLbZhuh4.js} +1 -1
- package/dist/playground/assets/{aspnet-BsWvUH1-.js → aspnet-CNeCVQc2.js} +1 -1
- package/dist/playground/assets/{autohotkey-n9yS-km2.js → autohotkey-CXQ3guY7.js} +1 -1
- package/dist/playground/assets/{autoit-Dl-mdu07.js → autoit-BXB8-6g2.js} +1 -1
- package/dist/playground/assets/{avisynth-BGGSXV1b.js → avisynth-DYmoRGo8.js} +1 -1
- package/dist/playground/assets/{avro-idl-hfoARngC.js → avro-idl-tYnrSjX3.js} +1 -1
- package/dist/playground/assets/{bash-BX9bZCEQ.js → bash-C42XeCrr.js} +1 -1
- package/dist/playground/assets/{basic-BeEicy0W.js → basic-BMMgfTME.js} +1 -1
- package/dist/playground/assets/{batch-B-QD6jXn.js → batch-B3P3xJG5.js} +1 -1
- package/dist/playground/assets/{bbcode-D1UeG_Ha.js → bbcode-CnuB3NAz.js} +1 -1
- package/dist/playground/assets/{bicep-efKkExHD.js → bicep-CFE-cvbx.js} +1 -1
- package/dist/playground/assets/{birb-Bs-zi5x3.js → birb-CFS7CYKM.js} +1 -1
- package/dist/playground/assets/{bison-BV5Xf6co.js → bison-DO7Cwt0_.js} +1 -1
- package/dist/playground/assets/{bnf-DFUz9h2B.js → bnf-DG2ekAVI.js} +1 -1
- package/dist/playground/assets/{brainfuck-BnKlY_gc.js → brainfuck-CNhtua6e.js} +1 -1
- package/dist/playground/assets/{brightscript-C1gsrJm7.js → brightscript-JOyyTqE2.js} +1 -1
- package/dist/playground/assets/{bro-B3UhGNwj.js → bro-K6FdV75Z.js} +1 -1
- package/dist/playground/assets/{bsl-Dz7OJ8Ci.js → bsl-Cco4i-C9.js} +1 -1
- package/dist/playground/assets/{c-B5YyudQk.js → c-B9sfFRGF.js} +1 -1
- package/dist/playground/assets/{cfscript-B7Ith1so.js → cfscript-uHH56TvL.js} +1 -1
- package/dist/playground/assets/{chaiscript-DXRsO6vM.js → chaiscript-CTwEBi0k.js} +1 -1
- package/dist/playground/assets/{cil-CqCfS8cX.js → cil-YW8GIRkY.js} +1 -1
- package/dist/playground/assets/{clike-Bdu0RZKE.js → clike-DFFiP88_.js} +1 -1
- package/dist/playground/assets/{clojure-BalrzFEE.js → clojure-D0KzK__-.js} +1 -1
- package/dist/playground/assets/{cmake-Ju964aPT.js → cmake-BpepAc-I.js} +1 -1
- package/dist/playground/assets/{cobol-DB3mXIrj.js → cobol-D1xQIb8e.js} +1 -1
- package/dist/playground/assets/{coffeescript-DocPu-ht.js → coffeescript-DPgAWugh.js} +1 -1
- package/dist/playground/assets/{concurnas-C-9xbipX.js → concurnas-CUKNpOla.js} +1 -1
- package/dist/playground/assets/{coq-DAreSd_C.js → coq-CTX51mGs.js} +1 -1
- package/dist/playground/assets/{core-Y42MJhSP.js → core-DQkupPXu.js} +1 -1
- package/dist/playground/assets/{cpp-dvQd7XVa.js → cpp-C1tXJDTh.js} +1 -1
- package/dist/playground/assets/{crystal-BzSJ7kg-.js → crystal-oUuEa2es.js} +1 -1
- package/dist/playground/assets/{csharp-Bl0DNtTi.js → csharp-BBpHwwTR.js} +1 -1
- package/dist/playground/assets/{cshtml-DaQBDDSj.js → cshtml-BGr3_B1M.js} +1 -1
- package/dist/playground/assets/{csp-CBSLToGg.js → csp-GltQGe54.js} +1 -1
- package/dist/playground/assets/{css-X7GKk4nd.js → css-BDxYD9rq.js} +1 -1
- package/dist/playground/assets/{css-extras-6tDxuRPg.js → css-extras-BkXe59-L.js} +1 -1
- package/dist/playground/assets/{csv-C666JHKv.js → csv-C8D8HIlr.js} +1 -1
- package/dist/playground/assets/{cypher-CI59yD-Y.js → cypher-CYU7DwZN.js} +1 -1
- package/dist/playground/assets/{d-NHu2ggck.js → d-AC8YNNya.js} +1 -1
- package/dist/playground/assets/{dart-C4OO9c7H.js → dart-1eVjARaB.js} +1 -1
- package/dist/playground/assets/{dataweave-CIQtCC16.js → dataweave-Cy9KX0sH.js} +1 -1
- package/dist/playground/assets/{dax-C7IJf7L3.js → dax-BJGnfVAi.js} +1 -1
- package/dist/playground/assets/{dhall-4kgCwAd6.js → dhall-BpUv16pM.js} +1 -1
- package/dist/playground/assets/{diff-C_qsBeKM.js → diff-Bd-AlygM.js} +1 -1
- package/dist/playground/assets/{django-DPTTlhRR.js → django-sTqyCMUn.js} +1 -1
- package/dist/playground/assets/{dns-zone-file-DO1jKGSk.js → dns-zone-file-1GhXEXKO.js} +1 -1
- package/dist/playground/assets/{docker-uCrrSsIS.js → docker-BZTwqywV.js} +1 -1
- package/dist/playground/assets/{dot-CnkPmspf.js → dot-CN_l2Zbx.js} +1 -1
- package/dist/playground/assets/{ebnf-CZvJ9HDv.js → ebnf-Cao6g6M8.js} +1 -1
- package/dist/playground/assets/{editorconfig-5YAoIZHN.js → editorconfig-C65v4TTe.js} +1 -1
- package/dist/playground/assets/{eiffel-YChsFLUL.js → eiffel-BY1wPrdH.js} +1 -1
- package/dist/playground/assets/{ejs-DEaypqcg.js → ejs-BYJUnSPa.js} +1 -1
- package/dist/playground/assets/{elixir-Bua3f50n.js → elixir-DUcA1CQ7.js} +1 -1
- package/dist/playground/assets/{elm-CzrYTz84.js → elm-B_iWR6D7.js} +1 -1
- package/dist/playground/assets/{erb-DHlAzH4y.js → erb-VZ17IOos.js} +1 -1
- package/dist/playground/assets/{erlang-CN8eHtjB.js → erlang-BmfJbSZw.js} +1 -1
- package/dist/playground/assets/{etlua-CSad5tkI.js → etlua-Cr74nwq1.js} +1 -1
- package/dist/playground/assets/{excel-formula-Bjsg9dDb.js → excel-formula-BV_N5tyK.js} +1 -1
- package/dist/playground/assets/{factor-T4ODCZmS.js → factor-H6KYHMvj.js} +1 -1
- package/dist/playground/assets/{false-CDRB7B4G.js → false-Cx7AvnUc.js} +1 -1
- package/dist/playground/assets/{firestore-security-rules-CQEuSOjD.js → firestore-security-rules-DxjvvkVI.js} +1 -1
- package/dist/playground/assets/{flow-7QPaHOeo.js → flow-CaafkKZh.js} +1 -1
- package/dist/playground/assets/{fortran-tBLRd-S7.js → fortran-BTAT0lHU.js} +1 -1
- package/dist/playground/assets/{fsharp-gbvf4zmj.js → fsharp-SdPV6MoS.js} +1 -1
- package/dist/playground/assets/{ftl-BrBeJf--.js → ftl-CdaMxLBX.js} +1 -1
- package/dist/playground/assets/{gap-Bdquam6O.js → gap-lw7_MoyR.js} +1 -1
- package/dist/playground/assets/{gcode-DV3U82Ps.js → gcode-Bi78vwuX.js} +1 -1
- package/dist/playground/assets/{gdscript-D5bLVfDf.js → gdscript-01IdRjfA.js} +1 -1
- package/dist/playground/assets/{gedcom-BSZlyAM3.js → gedcom-qa5VGNbi.js} +1 -1
- package/dist/playground/assets/{gherkin-C_cPWstd.js → gherkin-DrJrC98t.js} +1 -1
- package/dist/playground/assets/{git-DjiAiMhU.js → git-BheEAvZB.js} +1 -1
- package/dist/playground/assets/{glsl-DjkCcw_I.js → glsl-CQMHWm2x.js} +1 -1
- package/dist/playground/assets/{gml-D2ApWvNv.js → gml-Bjtos3JR.js} +1 -1
- package/dist/playground/assets/{gn-CXslRvIS.js → gn-BUdAGxdU.js} +1 -1
- package/dist/playground/assets/{go-D--DeI0b.js → go-DpOz20_U.js} +1 -1
- package/dist/playground/assets/{go-module-vtVu50me.js → go-module-B2Bo8Inl.js} +1 -1
- package/dist/playground/assets/{graphql-CXkxvj8v.js → graphql-Bz8kQLri.js} +1 -1
- package/dist/playground/assets/{groovy-CUKxzzqz.js → groovy-Brz1yCEq.js} +1 -1
- package/dist/playground/assets/{haml-oEw5AOTI.js → haml-Bb-I3-i5.js} +1 -1
- package/dist/playground/assets/{handlebars-v40GawBJ.js → handlebars-CUM7hfw1.js} +1 -1
- package/dist/playground/assets/{haskell-B598wJez.js → haskell-yU_5dHIQ.js} +1 -1
- package/dist/playground/assets/{haxe-DMtagSy5.js → haxe-ClW7_VqX.js} +1 -1
- package/dist/playground/assets/{hcl-CFzrJD2V.js → hcl-A3M7U6sx.js} +1 -1
- package/dist/playground/assets/{hlsl-At1hAO_w.js → hlsl-CV8p6SHi.js} +1 -1
- package/dist/playground/assets/{hoon-CsEQUkGS.js → hoon-DOfZY8Wb.js} +1 -1
- package/dist/playground/assets/{hpkp-YUgBwxI_.js → hpkp-BXwyhVni.js} +1 -1
- package/dist/playground/assets/{hsts-TTXygGiR.js → hsts-59AquukD.js} +1 -1
- package/dist/playground/assets/{http-DYtgsWjV.js → http-DEbn8sMc.js} +1 -1
- package/dist/playground/assets/{ichigojam-Dbu4wg_F.js → ichigojam-CQJdDSjc.js} +1 -1
- package/dist/playground/assets/{icon-CZAcBrz2.js → icon-ARicuwT2.js} +1 -1
- package/dist/playground/assets/{icu-message-format-CW0zz52S.js → icu-message-format-D91P0nOv.js} +1 -1
- package/dist/playground/assets/{idris-1wpzU0F3.js → idris-DBiCaeI0.js} +1 -1
- package/dist/playground/assets/{iecst-at64YdTh.js → iecst-DS-EtSFF.js} +1 -1
- package/dist/playground/assets/{ignore-BNvWO4Fc.js → ignore-BgVksdLk.js} +1 -1
- package/dist/playground/assets/{index-BJyBzvq0.js → index-B2FEsEX8.js} +1 -1
- package/dist/playground/assets/{index-DQzrlDOl.js → index-B972m2Un.js} +1 -1
- package/dist/playground/assets/{index-C5RYRmef.js → index-BJGEpHU4.js} +1 -1
- package/dist/playground/assets/{index-DpNBlqih.js → index-BSmKrXcj.js} +1 -1
- package/dist/playground/assets/{index-pITeUvcT.js → index-BbatZigt.js} +1 -1
- package/dist/playground/assets/{index-DW8mdAuC.js → index-BbpTW3Xm.js} +1 -1
- package/dist/playground/assets/{index-DqAGVYSm.js → index-BfKQQ_lf.js} +1 -1
- package/dist/playground/assets/{index-BACOlCIs.js → index-C6V-ctyk.js} +1 -1
- package/dist/playground/assets/{index-Cp633hMk.js → index-CbMh4TbE.js} +1 -1
- package/dist/playground/assets/{index-CTzEmwzR.js → index-Cf-FgNXk.js} +1 -1
- package/dist/playground/assets/{index-Bk9GDtuh.js → index-Cy7GC-ju.js} +1 -1
- package/dist/playground/assets/{index-KshUWIsU.js → index-D16xRHPb.js} +1 -1
- package/dist/playground/assets/{index-Blz-YgXR.js → index-D2fyGZNc.js} +1 -1
- package/dist/playground/assets/{index-CVbRXSYB.js → index-DHv_dSkz.js} +1 -1
- package/dist/playground/assets/{index-BKv1e9UQ.js → index-GOtNWXGx.js} +1 -1
- package/dist/playground/assets/{index-DE4AQpFw.js → index-Rmc5O_oR.js} +1 -1
- package/dist/playground/assets/{index-D9tsldG8.js → index-XAu1AvNW.js} +349 -305
- package/dist/playground/assets/{index-B5ih8vgp.js → index-eCXjJDLv.js} +1 -1
- package/dist/playground/assets/{inform7-jxssRELU.js → inform7-DjNR4sAs.js} +1 -1
- package/dist/playground/assets/{ini-AaVDJc0w.js → ini-CCqkUhJi.js} +1 -1
- package/dist/playground/assets/{io-CImlhAA_.js → io-HQQqcCvC.js} +1 -1
- package/dist/playground/assets/{j-DWcfx09a.js → j-DZp5i3jL.js} +1 -1
- package/dist/playground/assets/{java-CZIGU-EE.js → java-D_oPCdNs.js} +1 -1
- package/dist/playground/assets/{javadoc-CDJfaieT.js → javadoc-DyZBjvWB.js} +1 -1
- package/dist/playground/assets/{javadoclike-DCit1dOx.js → javadoclike-Chnj_N5F.js} +1 -1
- package/dist/playground/assets/{javascript-BYp0hrW9.js → javascript-B9jfLhz3.js} +1 -1
- package/dist/playground/assets/{javastacktrace-B71w34-1.js → javastacktrace-BVemymJw.js} +1 -1
- package/dist/playground/assets/{jexl-BAl7PN7d.js → jexl-CU-RBOR4.js} +1 -1
- package/dist/playground/assets/{jolie-CXcNL9Ex.js → jolie-Cha-OFlZ.js} +1 -1
- package/dist/playground/assets/{jq-C6at8Ldd.js → jq-CMjkNh5d.js} +1 -1
- package/dist/playground/assets/{js-extras--33vsqn1.js → js-extras-BniKZI6e.js} +1 -1
- package/dist/playground/assets/{js-templates-qYT_0Vs8.js → js-templates-ClVKo2BT.js} +1 -1
- package/dist/playground/assets/{jsdoc-DgyjAI-X.js → jsdoc-BrMzvzDK.js} +1 -1
- package/dist/playground/assets/{json-CpKFtMmt.js → json-DF34A1D_.js} +1 -1
- package/dist/playground/assets/{json5-KlhZyQUA.js → json5-D6ETg0VD.js} +1 -1
- package/dist/playground/assets/{jsonp-CYx2Q41r.js → jsonp-DuHV9mxH.js} +1 -1
- package/dist/playground/assets/{jsstacktrace-YonMqrLi.js → jsstacktrace-BO3isI6a.js} +1 -1
- package/dist/playground/assets/{jsx-BETV1iOi.js → jsx-oUXQNPCz.js} +1 -1
- package/dist/playground/assets/{julia-z_rc2VE_.js → julia-D_Cef320.js} +1 -1
- package/dist/playground/assets/{keepalived-B5RddHHz.js → keepalived-yzpayF3c.js} +1 -1
- package/dist/playground/assets/{keyman-DJbl0ZHg.js → keyman-Cha-G3cn.js} +1 -1
- package/dist/playground/assets/{kotlin-s3FLObLD.js → kotlin-Bulm8EmN.js} +1 -1
- package/dist/playground/assets/{kumir-B7NZGF2U.js → kumir-BwN0v8oh.js} +1 -1
- package/dist/playground/assets/{kusto-DTpgscnB.js → kusto-BX-aX_jq.js} +1 -1
- package/dist/playground/assets/{latex-DbuVOvjS.js → latex-DEqyL2ut.js} +1 -1
- package/dist/playground/assets/{latte-C2ECvt3D.js → latte-B2q0JAy4.js} +1 -1
- package/dist/playground/assets/{less-St0NKuRC.js → less-CRBwIMl2.js} +1 -1
- package/dist/playground/assets/{lilypond-Dn1SAEg2.js → lilypond-C2bAZMak.js} +1 -1
- package/dist/playground/assets/{liquid-YZVopELC.js → liquid-D3QPbKWb.js} +1 -1
- package/dist/playground/assets/{lisp-q6RrEW7w.js → lisp-KbCeZg3n.js} +1 -1
- package/dist/playground/assets/{livescript-BNIkJR1Q.js → livescript-j8ItPi2b.js} +1 -1
- package/dist/playground/assets/{llvm-in50JjW3.js → llvm-BdT72xcB.js} +1 -1
- package/dist/playground/assets/{log-CKRTCVDT.js → log-Ca8hWhgq.js} +1 -1
- package/dist/playground/assets/{lolcode-BIrTwhMT.js → lolcode-CK9jHhIe.js} +1 -1
- package/dist/playground/assets/{lua-vZL8oDzk.js → lua-CQ7zG3QO.js} +1 -1
- package/dist/playground/assets/{magma-Dj0h8OKy.js → magma-B4WoDAdb.js} +1 -1
- package/dist/playground/assets/{makefile-PiKHyPYK.js → makefile-DRCtk6Nx.js} +1 -1
- package/dist/playground/assets/{markdown-DVd-o5Uk.js → markdown-1iGCGzQ7.js} +1 -1
- package/dist/playground/assets/{markup-PlSstWoq.js → markup-DTO9t2KR.js} +1 -1
- package/dist/playground/assets/{markup-templating-JgJykuvD.js → markup-templating-DZdRBL6R.js} +1 -1
- package/dist/playground/assets/{matlab-BnWas09R.js → matlab-GlI9xSnO.js} +1 -1
- package/dist/playground/assets/{maxscript-Bi9gYmwI.js → maxscript-DkHlSJGz.js} +1 -1
- package/dist/playground/assets/{mel-Bx503q60.js → mel-BDRS7as7.js} +1 -1
- package/dist/playground/assets/{mermaid-BBY2Veah.js → mermaid-DUBxIqDz.js} +1 -1
- package/dist/playground/assets/{mizar-CbfPTWsi.js → mizar-TMjQkH6t.js} +1 -1
- package/dist/playground/assets/{mongodb-BrZoCPf6.js → mongodb-D17D-z3x.js} +1 -1
- package/dist/playground/assets/{monkey-DrSj3bQP.js → monkey-DKzQWXew.js} +1 -1
- package/dist/playground/assets/{moonscript-CXrLB_sP.js → moonscript-YvirLEB6.js} +1 -1
- package/dist/playground/assets/{n1ql-IXf-_rD6.js → n1ql-D7EBrk76.js} +1 -1
- package/dist/playground/assets/{n4js-Dm_aAo1q.js → n4js-AGysbVKZ.js} +1 -1
- package/dist/playground/assets/{nand2tetris-hdl-Ctw7lAR1.js → nand2tetris-hdl-RSq1smoT.js} +1 -1
- package/dist/playground/assets/{naniscript-DnEVNZWI.js → naniscript-CFQz6cin.js} +1 -1
- package/dist/playground/assets/{nasm-C9KZQGtg.js → nasm-Gv21rRiH.js} +1 -1
- package/dist/playground/assets/{neon-CHk4gRLd.js → neon-C-4a_p-6.js} +1 -1
- package/dist/playground/assets/{nevod-CYGoG76S.js → nevod-BE-Zgm0A.js} +1 -1
- package/dist/playground/assets/{nginx-DCbjBtvT.js → nginx-B3BsPDqE.js} +1 -1
- package/dist/playground/assets/{nim-CTeNWzMe.js → nim-BLmUHkKj.js} +1 -1
- package/dist/playground/assets/{nix-BUoatC9F.js → nix-BU0zddII.js} +1 -1
- package/dist/playground/assets/{nsis-BVo5BwWQ.js → nsis-Ddm92SWN.js} +1 -1
- package/dist/playground/assets/{objectivec-DQPI4Ik8.js → objectivec-ABq8Mm5k.js} +1 -1
- package/dist/playground/assets/{ocaml-Dzo3oFAI.js → ocaml-Ixj21G4g.js} +1 -1
- package/dist/playground/assets/{opencl-BA-UZawg.js → opencl-zdUUY9XM.js} +1 -1
- package/dist/playground/assets/{openqasm-3eTOQMpn.js → openqasm-CriPwmlK.js} +1 -1
- package/dist/playground/assets/{oz-BUfQm9QM.js → oz-B2HWkTCM.js} +1 -1
- package/dist/playground/assets/{parigp-DLMB9Yy7.js → parigp-C8RqgeOv.js} +1 -1
- package/dist/playground/assets/{parser-bNipfYQI.js → parser-CPKYBPtd.js} +1 -1
- package/dist/playground/assets/{pascal-eOX_61Ye.js → pascal-BfHplbpc.js} +1 -1
- package/dist/playground/assets/{pascaligo-QccLOuSm.js → pascaligo-9cOdgpmV.js} +1 -1
- package/dist/playground/assets/{pcaxis-CCsi4Cdl.js → pcaxis-BuSx_kfh.js} +1 -1
- package/dist/playground/assets/{peoplecode-BqL_EsnZ.js → peoplecode-D89486CG.js} +1 -1
- package/dist/playground/assets/{perl-FlRlqKMK.js → perl-b802VC1E.js} +1 -1
- package/dist/playground/assets/{php-Oj-eFRae.js → php-Jpy-nMIG.js} +1 -1
- package/dist/playground/assets/{php-extras-BkThMOQG.js → php-extras-Bn4dJWx9.js} +1 -1
- package/dist/playground/assets/{phpdoc-UZ0tnEFb.js → phpdoc-PpQbYbqz.js} +1 -1
- package/dist/playground/assets/{plsql-DspmX3yk.js → plsql-Dt_SppOk.js} +1 -1
- package/dist/playground/assets/{powerquery-BFSj7jZG.js → powerquery-Bc7eEze8.js} +1 -1
- package/dist/playground/assets/{powershell-CMHTtY3O.js → powershell-CStj08Hx.js} +1 -1
- package/dist/playground/assets/{processing-BY3oOdHW.js → processing-C1JTlqFd.js} +1 -1
- package/dist/playground/assets/{prolog-DKtbAm_1.js → prolog-B-GNUuOV.js} +1 -1
- package/dist/playground/assets/{promql-B2VeNPOl.js → promql-Bap2ofnb.js} +1 -1
- package/dist/playground/assets/{properties-IgKuI3jR.js → properties-Bmb0L3K-.js} +1 -1
- package/dist/playground/assets/{protobuf-DST_oL78.js → protobuf-Dn-X1DDq.js} +1 -1
- package/dist/playground/assets/{psl-YdQc77En.js → psl-BWf_Fpl0.js} +1 -1
- package/dist/playground/assets/{pug-DC2wmi1i.js → pug-JI4oVNTh.js} +1 -1
- package/dist/playground/assets/{puppet-BKl3e7n6.js → puppet-DmG70djG.js} +1 -1
- package/dist/playground/assets/{pure-CNL5Pvvs.js → pure-hzlgIe3s.js} +1 -1
- package/dist/playground/assets/{purebasic-BqKwQpF-.js → purebasic-BFFIHatU.js} +1 -1
- package/dist/playground/assets/{purescript-Hj2l0ELm.js → purescript-3RaTWJxq.js} +1 -1
- package/dist/playground/assets/{python-nvRgPhpi.js → python-CgLsgfE0.js} +1 -1
- package/dist/playground/assets/{q-DbQ994zM.js → q-CFZaCybp.js} +1 -1
- package/dist/playground/assets/{qml-CggQfWah.js → qml-BGPA50aO.js} +1 -1
- package/dist/playground/assets/{qore-BRQII8uz.js → qore-B75zX4vH.js} +1 -1
- package/dist/playground/assets/{qsharp-BIaoV9bS.js → qsharp-BgTsWLZU.js} +1 -1
- package/dist/playground/assets/{r-BTd-9uy5.js → r-j4HR_0nG.js} +1 -1
- package/dist/playground/assets/{racket-Ek2lOXun.js → racket-Csb45ted.js} +1 -1
- package/dist/playground/assets/{reason-BSON80OJ.js → reason-BEizlYQ-.js} +1 -1
- package/dist/playground/assets/{regex-C4YPoQHw.js → regex-Tfc8lT5t.js} +1 -1
- package/dist/playground/assets/{rego-B-wnvXsQ.js → rego-CgKzf-U8.js} +1 -1
- package/dist/playground/assets/{renpy-BNhAL0UW.js → renpy-Dv0QTYsE.js} +1 -1
- package/dist/playground/assets/{rest-BbG27K1x.js → rest-CDkxO0Xp.js} +1 -1
- package/dist/playground/assets/{rip-DC5QAuJO.js → rip-Bz5eznLE.js} +1 -1
- package/dist/playground/assets/{roboconf-Svon_Rhh.js → roboconf-C0NCywBn.js} +1 -1
- package/dist/playground/assets/{robotframework-Bs2hNsWy.js → robotframework-B4lDNhZj.js} +1 -1
- package/dist/playground/assets/{ruby-DTGHQP7e.js → ruby-BbMtl6N3.js} +1 -1
- package/dist/playground/assets/{rust-DH_tP2GS.js → rust-DKf5uPU0.js} +1 -1
- package/dist/playground/assets/{sas-Dcbq9F7Y.js → sas-DmbaK6em.js} +1 -1
- package/dist/playground/assets/{sass-CAC1LkOo.js → sass-u2a8N2ib.js} +1 -1
- package/dist/playground/assets/{scala-CdIfwg3b.js → scala-CsG0vHa8.js} +1 -1
- package/dist/playground/assets/{scheme-fKF3CFlW.js → scheme-C0wMT8OY.js} +1 -1
- package/dist/playground/assets/{scss-kIXiJE90.js → scss-CIsRQIbS.js} +1 -1
- package/dist/playground/assets/{shell-session-w--rEEtT.js → shell-session-DLmGaXkR.js} +1 -1
- package/dist/playground/assets/{smali-DCfahoCo.js → smali-B-UvTauF.js} +1 -1
- package/dist/playground/assets/{smalltalk-CpOPF3mv.js → smalltalk-Cyzqf2CY.js} +1 -1
- package/dist/playground/assets/{smarty-CN9o9u-J.js → smarty-DIBhWhES.js} +1 -1
- package/dist/playground/assets/{sml-D9MDwkty.js → sml-Dk7WR2eO.js} +1 -1
- package/dist/playground/assets/{solidity-Kpw3IWQL.js → solidity-DzM-klHb.js} +1 -1
- package/dist/playground/assets/{solution-file-B2U2tBjI.js → solution-file-BGdLAmZb.js} +1 -1
- package/dist/playground/assets/{soy-CRAL_mXk.js → soy-WWtMoZWm.js} +1 -1
- package/dist/playground/assets/{sparql-CxUgdNvl.js → sparql-BytMoUPr.js} +1 -1
- package/dist/playground/assets/{splunk-spl-DHmHXWus.js → splunk-spl-CIIWXkg9.js} +1 -1
- package/dist/playground/assets/{sqf-O_m0LsHG.js → sqf-DZKuZoNS.js} +1 -1
- package/dist/playground/assets/{sql-DeIvDdac.js → sql-CV2EgD-X.js} +1 -1
- package/dist/playground/assets/{squirrel-BX42uwAc.js → squirrel-D5G4yDQE.js} +1 -1
- package/dist/playground/assets/{stan-kt76k905.js → stan-CIwrbYLM.js} +1 -1
- package/dist/playground/assets/style-DkRpX1cz.css +1 -0
- package/dist/playground/assets/{stylus-CP8LaAU_.js → stylus-DosQ3wEK.js} +1 -1
- package/dist/playground/assets/{swift-DSWaws21.js → swift-DVoTXlNm.js} +1 -1
- package/dist/playground/assets/{systemd-B0aSnDJI.js → systemd-BrHuacWE.js} +1 -1
- package/dist/playground/assets/{t4-cs-BB3rAiMZ.js → t4-cs-CJVPzG8j.js} +1 -1
- package/dist/playground/assets/{t4-templating-oWy3Wqfy.js → t4-templating-DCKB-xxa.js} +1 -1
- package/dist/playground/assets/{t4-vb-Dy5JdxHS.js → t4-vb-CCVlmq_p.js} +1 -1
- package/dist/playground/assets/{tap-Bmdsuv1i.js → tap-K1StiBHZ.js} +1 -1
- package/dist/playground/assets/{tcl-Drcru4Vj.js → tcl-CTS-UJhx.js} +1 -1
- package/dist/playground/assets/{textile-C9EocdUf.js → textile-PGtWbNbI.js} +1 -1
- package/dist/playground/assets/{toml-BQ0OcXHR.js → toml-C32_QmpW.js} +1 -1
- package/dist/playground/assets/{tremor-B1gwzB2z.js → tremor-C6GQZcaF.js} +1 -1
- package/dist/playground/assets/{tsx-Ba5tyWgS.js → tsx-CNGXfHf5.js} +1 -1
- package/dist/playground/assets/{tt2-_ZkTiupH.js → tt2-D2asEIIA.js} +1 -1
- package/dist/playground/assets/{turtle-C9lCkaU-.js → turtle-BeOAps6D.js} +1 -1
- package/dist/playground/assets/{twig-DSL6_k46.js → twig-DnRA8b_c.js} +1 -1
- package/dist/playground/assets/{typescript-Dmtt5uxH.js → typescript-DwZ0aAIr.js} +1 -1
- package/dist/playground/assets/{typoscript-Cyi8laM1.js → typoscript-C1Abfy3p.js} +1 -1
- package/dist/playground/assets/{unrealscript-DvOfnwH_.js → unrealscript-CUanXpl-.js} +1 -1
- package/dist/playground/assets/{uorazor-hhQUIS1I.js → uorazor-Dir8pmuF.js} +1 -1
- package/dist/playground/assets/{uri-zPhSFyzs.js → uri-WdtVq9EY.js} +1 -1
- package/dist/playground/assets/{v-BCS4GYRb.js → v-B9uv8nIm.js} +1 -1
- package/dist/playground/assets/{vala-BFsZtDjj.js → vala-BpYuFBFh.js} +1 -1
- package/dist/playground/assets/{vbnet-pAD-CnX8.js → vbnet-CrTrisqD.js} +1 -1
- package/dist/playground/assets/{velocity-BR62bLlx.js → velocity-DLpAzI7w.js} +1 -1
- package/dist/playground/assets/{verilog-DeMqcTMT.js → verilog-UvKx9aG_.js} +1 -1
- package/dist/playground/assets/{vhdl-sLg9PFwQ.js → vhdl-DEwVTiBO.js} +1 -1
- package/dist/playground/assets/{vim-D1srTEhx.js → vim-Dx6r37LX.js} +1 -1
- package/dist/playground/assets/{visual-basic-DbMx4RYs.js → visual-basic-BslyvNgr.js} +1 -1
- package/dist/playground/assets/{warpscript-DL2cr1i4.js → warpscript-UQCVJq5J.js} +1 -1
- package/dist/playground/assets/{wasm-B4KKxRe0.js → wasm-DRKP4B39.js} +1 -1
- package/dist/playground/assets/{web-idl-CxpS6gw2.js → web-idl-W8E7Nc1m.js} +1 -1
- package/dist/playground/assets/{wiki-CFAQ3xOY.js → wiki-DJs1TIsO.js} +1 -1
- package/dist/playground/assets/{wolfram-CJz4xslT.js → wolfram-DDsub-da.js} +1 -1
- package/dist/playground/assets/{wren-Dl38ONdP.js → wren-Ci4dgNa6.js} +1 -1
- package/dist/playground/assets/{xeora-D0BzMZr-.js → xeora-Tml5mLJD.js} +1 -1
- package/dist/playground/assets/{xml-doc-DzJZrHzW.js → xml-doc-CXJ_BnoP.js} +1 -1
- package/dist/playground/assets/{xojo-CALH1OZZ.js → xojo-Vi3sVffH.js} +1 -1
- package/dist/playground/assets/{xquery-BWp5HQs0.js → xquery-CyNLUs-0.js} +1 -1
- package/dist/playground/assets/{yaml-DJXdlQxk.js → yaml-BDdOPn1D.js} +1 -1
- package/dist/playground/assets/{yang-CVZlC3Or.js → yang-lz56y8cI.js} +1 -1
- package/dist/playground/assets/{zig-uddugz-6.js → zig-egkOq0yY.js} +1 -1
- package/dist/playground/index.html +2 -2
- package/dist/utils/clone-template.d.ts +3 -0
- package/dist/utils/clone-template.d.ts.map +1 -1
- package/package.json +16 -18
- package/dist/chunk-D6NRTVVY.js.map +0 -1
- package/dist/playground/assets/style-B0ga_rpf.css +0 -1
- package/dist/services/browser.d.ts +0 -13
- package/dist/services/browser.d.ts.map +0 -1
- package/dist/services/service.docker.d.ts +0 -27
- package/dist/services/service.docker.d.ts.map +0 -1
- package/dist/utils/string.d.ts +0 -2
- package/dist/utils/string.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
|
-
import { COMPONENTS, parseComponents, LLMProvider, parseLlmProvider, parseMcp, create, checkForPkgJson, checkAndInstallCoreDeps, interactivePrompt, init, logger, FileService, createLogger, DepsService } from './chunk-
|
|
3
|
-
export { create } from './chunk-
|
|
2
|
+
import { package_default, COMPONENTS, parseComponents, LLMProvider, parseLlmProvider, parseMcp, create, checkForPkgJson, checkAndInstallCoreDeps, interactivePrompt, init, logger, FileService, createLogger, shouldSkipDotenvLoading, DepsService } from './chunk-LC24FTF4.js';
|
|
3
|
+
export { create } from './chunk-LC24FTF4.js';
|
|
4
4
|
import { PosthogAnalytics, setAnalytics } from './chunk-OQQFOUQW.js';
|
|
5
5
|
export { PosthogAnalytics } from './chunk-OQQFOUQW.js';
|
|
6
6
|
import { Command } from 'commander';
|
|
@@ -22,10 +22,6 @@ import * as fsExtra from 'fs-extra';
|
|
|
22
22
|
import { spawn } from 'child_process';
|
|
23
23
|
import { config } from 'dotenv';
|
|
24
24
|
|
|
25
|
-
// package.json
|
|
26
|
-
var package_default = {
|
|
27
|
-
version: "1.0.0-beta.0"};
|
|
28
|
-
|
|
29
25
|
// src/commands/scorers/available-scorers.ts
|
|
30
26
|
var AVAILABLE_SCORERS = [
|
|
31
27
|
{
|
|
@@ -479,6 +475,9 @@ var BuildBundler = class extends Bundler {
|
|
|
479
475
|
super("Build");
|
|
480
476
|
}
|
|
481
477
|
getEnvFiles() {
|
|
478
|
+
if (shouldSkipDotenvLoading()) {
|
|
479
|
+
return Promise.resolve([]);
|
|
480
|
+
}
|
|
482
481
|
const possibleFiles = [".env.production", ".env.local", ".env"];
|
|
483
482
|
try {
|
|
484
483
|
const fileService = new FileService$2();
|
|
@@ -1022,6 +1021,9 @@ var DevBundler = class extends Bundler {
|
|
|
1022
1021
|
this.customEnvFile = customEnvFile;
|
|
1023
1022
|
}
|
|
1024
1023
|
getEnvFiles() {
|
|
1024
|
+
if (shouldSkipDotenvLoading()) {
|
|
1025
|
+
return Promise.resolve([]);
|
|
1026
|
+
}
|
|
1025
1027
|
const possibleFiles = [".env.development", ".env.local", ".env"];
|
|
1026
1028
|
if (this.customEnvFile) {
|
|
1027
1029
|
possibleFiles.unshift(this.customEnvFile);
|
|
@@ -1154,6 +1156,22 @@ var currentServerProcess;
|
|
|
1154
1156
|
var isRestarting = false;
|
|
1155
1157
|
var serverStartTime;
|
|
1156
1158
|
var ON_ERROR_MAX_RESTARTS = 3;
|
|
1159
|
+
var restartAllActiveWorkflowRuns = async ({ host, port }) => {
|
|
1160
|
+
try {
|
|
1161
|
+
await fetch(`http://${host}:${port}/__restart-active-workflow-runs`, {
|
|
1162
|
+
method: "POST"
|
|
1163
|
+
});
|
|
1164
|
+
} catch (error) {
|
|
1165
|
+
devLogger.error(`Failed to restart all active workflow runs: ${error}`);
|
|
1166
|
+
await new Promise((resolve) => setTimeout(resolve, 1500));
|
|
1167
|
+
try {
|
|
1168
|
+
await fetch(`http://${host}:${port}/__restart-active-workflow-runs`, {
|
|
1169
|
+
method: "POST"
|
|
1170
|
+
});
|
|
1171
|
+
} catch {
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
};
|
|
1157
1175
|
var startServer = async (dotMastraPath, {
|
|
1158
1176
|
port,
|
|
1159
1177
|
host
|
|
@@ -1163,11 +1181,15 @@ var startServer = async (dotMastraPath, {
|
|
|
1163
1181
|
serverStartTime = Date.now();
|
|
1164
1182
|
devLogger.starting();
|
|
1165
1183
|
const commands = [];
|
|
1166
|
-
|
|
1167
|
-
|
|
1184
|
+
const inspect = startOptions.inspect === "" ? true : startOptions.inspect;
|
|
1185
|
+
const inspectBrk = startOptions.inspectBrk === "" ? true : startOptions.inspectBrk;
|
|
1186
|
+
if (inspect) {
|
|
1187
|
+
const inspectFlag = typeof inspect === "string" ? `--inspect=${inspect}` : "--inspect";
|
|
1188
|
+
commands.push(inspectFlag);
|
|
1168
1189
|
}
|
|
1169
|
-
if (
|
|
1170
|
-
|
|
1190
|
+
if (inspectBrk) {
|
|
1191
|
+
const inspectBrkFlag = typeof inspectBrk === "string" ? `--inspect-brk=${inspectBrk}` : "--inspect-brk";
|
|
1192
|
+
commands.push(inspectBrkFlag);
|
|
1171
1193
|
}
|
|
1172
1194
|
if (startOptions.customArgs) {
|
|
1173
1195
|
commands.push(...startOptions.customArgs);
|
|
@@ -1223,6 +1245,7 @@ var startServer = async (dotMastraPath, {
|
|
|
1223
1245
|
serverIsReady = true;
|
|
1224
1246
|
devLogger.ready(host, port, serverStartTime, startOptions.https);
|
|
1225
1247
|
devLogger.watching();
|
|
1248
|
+
await restartAllActiveWorkflowRuns({ host, port });
|
|
1226
1249
|
try {
|
|
1227
1250
|
await fetch(`http://${host}:${port}/__refresh`, {
|
|
1228
1251
|
method: "POST",
|
|
@@ -1426,7 +1449,7 @@ var startDevServer = async (args) => {
|
|
|
1426
1449
|
root: args?.root,
|
|
1427
1450
|
tools: args?.tools ? args.tools.split(",") : [],
|
|
1428
1451
|
env: args?.env,
|
|
1429
|
-
inspect: args?.
|
|
1452
|
+
inspect: args?.inspectBrk ? false : args?.inspect,
|
|
1430
1453
|
inspectBrk: args?.inspectBrk,
|
|
1431
1454
|
customArgs: args?.customArgs ? args.customArgs.split(",") : [],
|
|
1432
1455
|
https: args?.https,
|
|
@@ -1436,7 +1459,9 @@ var startDevServer = async (args) => {
|
|
|
1436
1459
|
});
|
|
1437
1460
|
};
|
|
1438
1461
|
async function start(options = {}) {
|
|
1439
|
-
|
|
1462
|
+
if (!shouldSkipDotenvLoading()) {
|
|
1463
|
+
config({ path: [options.env || ".env.production", ".env"], quiet: true });
|
|
1464
|
+
}
|
|
1440
1465
|
const outputDir = options.dir || ".mastra/output";
|
|
1441
1466
|
try {
|
|
1442
1467
|
const outputPath = join(process.cwd(), outputDir);
|
|
@@ -1539,7 +1564,7 @@ ${pc2.bold(pc2.cyan("Mastra"))} is a typescript framework for building AI applic
|
|
|
1539
1564
|
).action(() => {
|
|
1540
1565
|
program.help();
|
|
1541
1566
|
});
|
|
1542
|
-
program.command("create [project-name]").description("Create a new Mastra project").option("--default", "Quick start with defaults(src, OpenAI, examples)").option(
|
|
1567
|
+
program.command("create [project-name]").description("Create a new Mastra project").option("--default", "Quick start with defaults (src, OpenAI, examples)").option(
|
|
1543
1568
|
"-c, --components <components>",
|
|
1544
1569
|
`Comma-separated list of components (${COMPONENTS.join(", ")})`,
|
|
1545
1570
|
parseComponents
|
|
@@ -1550,13 +1575,19 @@ program.command("create [project-name]").description("Create a new Mastra projec
|
|
|
1550
1575
|
"--template [template-name]",
|
|
1551
1576
|
"Create project from a template (use template name, public GitHub URL, or leave blank to select from list)"
|
|
1552
1577
|
).action(createProject);
|
|
1553
|
-
program.command("init").description("Initialize Mastra in your project").option("--default", "Quick start with defaults(src, OpenAI, examples)").option("-d, --dir <directory>", "Directory for Mastra files to (defaults to src/)").option(
|
|
1578
|
+
program.command("init").description("Initialize Mastra in your project").option("--default", "Quick start with defaults (src, OpenAI, examples)").option("-d, --dir <directory>", "Directory for Mastra files to (defaults to src/)").option(
|
|
1554
1579
|
"-c, --components <components>",
|
|
1555
1580
|
`Comma-separated list of components (${COMPONENTS.join(", ")})`,
|
|
1556
1581
|
parseComponents
|
|
1557
1582
|
).option("-l, --llm <model-provider>", `Default model provider (${LLMProvider.join(", ")})`, parseLlmProvider).option("-k, --llm-api-key <api-key>", "API key for the model provider").option("-e, --example", "Include example code").option("-n, --no-example", "Do not include example code").option("-m, --mcp <editor>", "MCP Server for code editor (cursor, cursor-global, windsurf, vscode)", parseMcp).action(initProject);
|
|
1558
1583
|
program.command("lint").description("Lint your Mastra project").option("-d, --dir <path>", "Path to your Mastra folder").option("-r, --root <path>", "Path to your root folder").option("-t, --tools <toolsDirs>", "Comma-separated list of paths to tool files to include").action(lintProject);
|
|
1559
|
-
program.command("dev").description("Start mastra server").option("-d, --dir <dir>", "Path to your mastra folder").option("-r, --root <root>", "Path to your root folder").option("-t, --tools <toolsDirs>", "Comma-separated list of paths to tool files to include").option("-e, --env <env>", "Custom env file to include in the dev server").option(
|
|
1584
|
+
program.command("dev").description("Start mastra server").option("-d, --dir <dir>", "Path to your mastra folder").option("-r, --root <root>", "Path to your root folder").option("-t, --tools <toolsDirs>", "Comma-separated list of paths to tool files to include").option("-e, --env <env>", "Custom env file to include in the dev server").option(
|
|
1585
|
+
"-i, --inspect [host:port]",
|
|
1586
|
+
"Start the dev server in inspect mode (optional: [host:]port, e.g., 0.0.0.0:9229)"
|
|
1587
|
+
).option(
|
|
1588
|
+
"-b, --inspect-brk [host:port]",
|
|
1589
|
+
"Start the dev server in inspect mode and break at the beginning of the script (optional: [host:]port)"
|
|
1590
|
+
).option(
|
|
1560
1591
|
"-c, --custom-args <args>",
|
|
1561
1592
|
"Comma-separated list of custom arguments to pass to the dev server. IE: --experimental-transform-types"
|
|
1562
1593
|
).option("-s, --https", "Enable local HTTPS").option("--debug", "Enable debug logs", false).action(startDevServer);
|