create-mastra 1.0.0-beta.10 → 1.0.0-beta.11

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.0.0-beta.11
4
+
3
5
  ## 1.0.0-beta.10
4
6
 
5
7
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1231,7 +1231,7 @@ var PinoLogger = class _PinoLogger extends MastraLogger {
1231
1231
  };
1232
1232
 
1233
1233
  var package_default = {
1234
- version: "1.0.0-beta.10"};
1234
+ version: "1.0.0-beta.11"};
1235
1235
  function getPackageManagerAddCommand(pm) {
1236
1236
  switch (pm) {
1237
1237
  case "npm":
@@ -1590,7 +1590,6 @@ async function writeAgentSample(llmProvider, destPath, addExampleTool, addScorer
1590
1590
  const content = `
1591
1591
  import { Agent } from '@mastra/core/agent';
1592
1592
  import { Memory } from '@mastra/memory';
1593
- import { LibSQLStore } from '@mastra/libsql';
1594
1593
  ${addExampleTool ? `import { weatherTool } from '../tools/weather-tool';` : ""}
1595
1594
  ${addScorers ? `import { scorers } from '../scorers/weather-scorer';` : ""}
1596
1595
 
@@ -1623,12 +1622,7 @@ export const weatherAgent = new Agent({
1623
1622
  },
1624
1623
  },
1625
1624
  },` : ""}
1626
- memory: new Memory({
1627
- storage: new LibSQLStore({
1628
- id: "memory-storage",
1629
- url: "file:../mastra.db", // path is relative to the .mastra/output directory
1630
- })
1631
- })
1625
+ memory: new Memory()
1632
1626
  });
1633
1627
  `;
1634
1628
  const formattedContent = await prettier.format(content, {
@@ -1998,7 +1992,7 @@ export const mastra = new Mastra({
1998
1992
  observability: new Observability({
1999
1993
  // Enables DefaultExporter and CloudExporter for tracing
2000
1994
  default: { enabled: true },
2001
- }),
1995
+ }),
2002
1996
  });
2003
1997
  `
2004
1998
  );
@@ -2159,6 +2153,7 @@ This means the Mastra docs MCP server will be available in all your Windsurf pro
2159
2153
  return editor;
2160
2154
  },
2161
2155
  initGit: async () => {
2156
+ if (skip?.gitInit) return false;
2162
2157
  return ye({
2163
2158
  message: "Initialize a new git repository?",
2164
2159
  initialValue: true