create-mastra 1.10.2 → 1.10.3-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.10.3-alpha.1
4
+
5
+ ## 1.10.3-alpha.0
6
+
3
7
  ## 1.10.2
4
8
 
5
9
  ## 1.10.2-alpha.0
package/dist/index.js CHANGED
@@ -15350,6 +15350,7 @@ Top-level files define how your Mastra project is configured, built, and connect
15350
15350
  - Load the \`mastra\` skill before any Mastra-related work
15351
15351
  - Register new agents, tools, workflows, and scorers in \`src/mastra/index.ts\`
15352
15352
  - Use schemas for tool inputs and outputs
15353
+ - Use package scripts such as \`npm run dev\` instead of running \`mastra dev\` directly, so the local project dependency is used instead of any global install
15353
15354
  - Run \`npm run build\` to verify changes compile
15354
15355
 
15355
15356
  ### Never do
@@ -15671,7 +15672,7 @@ var MastraLogger = class {
15671
15672
  if (!transportId || !this.transports.has(transportId)) {
15672
15673
  return { logs: [], total: 0, page: params?.page ?? 1, perPage: params?.perPage ?? 100, hasMore: false };
15673
15674
  }
15674
- return this.transports.get(transportId).listLogs(params) ?? {
15675
+ return this.transports.get(transportId).listLogs?.(params) ?? {
15675
15676
  logs: [],
15676
15677
  total: 0,
15677
15678
  page: params?.page ?? 1,
@@ -15692,7 +15693,7 @@ var MastraLogger = class {
15692
15693
  if (!transportId || !this.transports.has(transportId) || !runId) {
15693
15694
  return { logs: [], total: 0, page: page ?? 1, perPage: perPage ?? 100, hasMore: false };
15694
15695
  }
15695
- return this.transports.get(transportId).listLogsByRunId({ runId, fromDate, toDate, logLevel, filters, page, perPage }) ?? {
15696
+ return this.transports.get(transportId).listLogsByRunId?.({ runId, fromDate, toDate, logLevel, filters, page, perPage }) ?? {
15696
15697
  logs: [],
15697
15698
  total: 0,
15698
15699
  page: page ?? 1,
@@ -15789,7 +15790,7 @@ var PinoLogger = class _PinoLogger extends MastraLogger {
15789
15790
  };
15790
15791
 
15791
15792
  var package_default = {
15792
- version: "1.10.2"};
15793
+ version: "1.10.3-alpha.1"};
15793
15794
  var logger = createLogger(false);
15794
15795
  function createLogger(debug = false) {
15795
15796
  return new PinoLogger({