create-mastra 1.8.2-alpha.2 → 1.9.0-alpha.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 +18 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 1.9.0-alpha.11
|
|
4
|
+
|
|
5
|
+
## 1.9.0-alpha.10
|
|
6
|
+
|
|
7
|
+
## 1.9.0-alpha.9
|
|
8
|
+
|
|
9
|
+
## 1.9.0-alpha.8
|
|
10
|
+
|
|
11
|
+
## 1.9.0-alpha.7
|
|
12
|
+
|
|
13
|
+
## 1.9.0-alpha.6
|
|
14
|
+
|
|
15
|
+
## 1.9.0-alpha.5
|
|
16
|
+
|
|
17
|
+
## 1.9.0-alpha.4
|
|
18
|
+
|
|
19
|
+
## 1.9.0-alpha.3
|
|
20
|
+
|
|
3
21
|
## 1.8.2-alpha.2
|
|
4
22
|
|
|
5
23
|
## 1.8.2-alpha.1
|
package/dist/index.js
CHANGED
|
@@ -13748,7 +13748,7 @@ import { PinoLogger } from '@mastra/loggers';
|
|
|
13748
13748
|
import { LibSQLStore } from '@mastra/libsql';
|
|
13749
13749
|
import { DuckDBStore } from "@mastra/duckdb";
|
|
13750
13750
|
import { MastraCompositeStore } from '@mastra/core/storage';
|
|
13751
|
-
import { Observability,
|
|
13751
|
+
import { Observability, MastraStorageExporter, MastraPlatformExporter, SensitiveDataFilter } from '@mastra/observability';
|
|
13752
13752
|
${addWorkflow ? `import { weatherWorkflow } from './workflows/weather-workflow';` : ""}
|
|
13753
13753
|
${addAgent ? `import { weatherAgent } from './agents/weather-agent';` : ""}
|
|
13754
13754
|
${addScorers ? `import { toolCallAppropriatenessScorer, completenessScorer, translationScorer } from './scorers/weather-scorer';` : ""}
|
|
@@ -13774,8 +13774,8 @@ export const mastra = new Mastra({
|
|
|
13774
13774
|
default: {
|
|
13775
13775
|
serviceName: 'mastra',
|
|
13776
13776
|
exporters: [
|
|
13777
|
-
new
|
|
13778
|
-
new
|
|
13777
|
+
new MastraStorageExporter(), // Persists observability events to Mastra Storage
|
|
13778
|
+
new MastraPlatformExporter(), // Sends observability events to Mastra Platform (if MASTRA_CLOUD_ACCESS_TOKEN is set)
|
|
13779
13779
|
],
|
|
13780
13780
|
spanOutputProcessors: [
|
|
13781
13781
|
new SensitiveDataFilter(), // Redacts sensitive data like passwords, tokens, keys
|
|
@@ -14393,12 +14393,12 @@ var PosthogAnalytics = class {
|
|
|
14393
14393
|
}
|
|
14394
14394
|
}
|
|
14395
14395
|
// Ensure PostHog client is shutdown properly
|
|
14396
|
-
async shutdown() {
|
|
14396
|
+
async shutdown(timeoutMs) {
|
|
14397
14397
|
if (!this.client) {
|
|
14398
14398
|
return;
|
|
14399
14399
|
}
|
|
14400
14400
|
try {
|
|
14401
|
-
await this.client.shutdown();
|
|
14401
|
+
await this.client.shutdown(timeoutMs);
|
|
14402
14402
|
} catch {
|
|
14403
14403
|
}
|
|
14404
14404
|
}
|
|
@@ -14543,7 +14543,7 @@ var PinoLogger = class _PinoLogger extends MastraLogger {
|
|
|
14543
14543
|
};
|
|
14544
14544
|
|
|
14545
14545
|
var package_default = {
|
|
14546
|
-
version: "1.
|
|
14546
|
+
version: "1.9.0-alpha.11"};
|
|
14547
14547
|
var logger = createLogger(false);
|
|
14548
14548
|
function createLogger(debug = false) {
|
|
14549
14549
|
return new PinoLogger({
|