create-mastra 1.9.0-alpha.6 → 1.9.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 CHANGED
@@ -1,5 +1,63 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add "Enable Mastra Observability? (will open auth flow)" prompt to `create-mastra` and `mastra init`. ([#15728](https://github.com/mastra-ai/mastra/pull/15728))
8
+
9
+ When the user opts in, the CLI runs the interactive browser login flow (if not already authenticated), lets them pick an existing project or create a new one, mints a fresh organization access token, and writes `MASTRA_PLATFORM_ACCESS_TOKEN` + `MASTRA_PROJECT_ID` to `.env`. The generated project already registers a `MastraPlatformExporter`, so no additional setup is needed to start sending traces.
10
+
11
+ `MASTRA_PLATFORM_ACCESS_TOKEN` replaces `MASTRA_CLOUD_ACCESS_TOKEN`. The old name is still read by the exporter for backwards compatibility but is deprecated.
12
+
13
+ If provisioning fails (e.g., the platform is unreachable), the command falls back to writing placeholder env vars with instructions.
14
+
15
+ Both commands also accept `--observability` / `--no-observability` flags for non-interactive use, and `--observability-project <name>` to bypass the project picker.
16
+
17
+ ### Patch Changes
18
+
19
+ - Mastra Observability provisioning now creates new platform projects as observability-only (no Studio or Server runtime attached). The first `mastra studio deploy` or `mastra server deploy` flips the matching runtime flag, so projects are no longer mislabelled as Studio in the platform UI before any deploy has happened. ([#15728](https://github.com/mastra-ai/mastra/pull/15728))
20
+
21
+ ## 1.9.0-alpha.18
22
+
23
+ ## 1.9.0-alpha.17
24
+
25
+ ## 1.9.0-alpha.16
26
+
27
+ ## 1.9.0-alpha.15
28
+
29
+ ### Minor Changes
30
+
31
+ - Add "Enable Mastra Observability? (will open auth flow)" prompt to `create-mastra` and `mastra init`. ([#15728](https://github.com/mastra-ai/mastra/pull/15728))
32
+
33
+ When the user opts in, the CLI runs the interactive browser login flow (if not already authenticated), lets them pick an existing project or create a new one, mints a fresh organization access token, and writes `MASTRA_PLATFORM_ACCESS_TOKEN` + `MASTRA_PROJECT_ID` to `.env`. The generated project already registers a `MastraPlatformExporter`, so no additional setup is needed to start sending traces.
34
+
35
+ `MASTRA_PLATFORM_ACCESS_TOKEN` replaces `MASTRA_CLOUD_ACCESS_TOKEN`. The old name is still read by the exporter for backwards compatibility but is deprecated.
36
+
37
+ If provisioning fails (e.g., the platform is unreachable), the command falls back to writing placeholder env vars with instructions.
38
+
39
+ Both commands also accept `--observability` / `--no-observability` flags for non-interactive use, and `--observability-project <name>` to bypass the project picker.
40
+
41
+ ### Patch Changes
42
+
43
+ - Mastra Observability provisioning now creates new platform projects as observability-only (no Studio or Server runtime attached). The first `mastra studio deploy` or `mastra server deploy` flips the matching runtime flag, so projects are no longer mislabelled as Studio in the platform UI before any deploy has happened. ([#15728](https://github.com/mastra-ai/mastra/pull/15728))
44
+
45
+ ## 1.9.0-alpha.14
46
+
47
+ ## 1.9.0-alpha.13
48
+
49
+ ## 1.9.0-alpha.12
50
+
51
+ ## 1.9.0-alpha.11
52
+
53
+ ## 1.9.0-alpha.10
54
+
55
+ ## 1.9.0-alpha.9
56
+
57
+ ## 1.9.0-alpha.8
58
+
59
+ ## 1.9.0-alpha.7
60
+
3
61
  ## 1.9.0-alpha.6
4
62
 
5
63
  ## 1.9.0-alpha.5
@@ -0,0 +1,32 @@
1
+ import { f as fetchOrgs } from './index.js';
2
+ import 'commander';
3
+ import 'node:child_process';
4
+ import 'node:crypto';
5
+ import 'node:fs';
6
+ import 'node:fs/promises';
7
+ import 'node:http';
8
+ import 'node:os';
9
+ import 'node:path';
10
+ import 'node:url';
11
+ import 'posthog-node';
12
+ import 'node:string_decoder';
13
+ import 'node:util';
14
+ import 'node:process';
15
+ import 'node:tty';
16
+ import 'node:timers/promises';
17
+ import 'node:events';
18
+ import 'node:v8';
19
+ import 'node:stream';
20
+ import 'node:buffer';
21
+ import 'node:stream/promises';
22
+ import 'node:constants';
23
+ import 'node:assert';
24
+ import 'node:readline';
25
+ import 'pino';
26
+ import 'pino-pretty';
27
+ import 'tinyexec';
28
+
29
+
30
+
31
+ export { fetchOrgs };
32
+ //# sourceMappingURL=api-C4LNCE5C-Bu-kdDfK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-C4LNCE5C-Bu-kdDfK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,33 @@
1
+ import { t as tryRefreshToken, l as loadCredentials } from './index.js';
2
+ export { c as clearCredentials, g as getCurrentOrgId, a as getToken, b as login, s as saveCredentials, d as setCurrentOrgId, v as validateOrgAccess, e as verifyToken } from './index.js';
3
+ import 'commander';
4
+ import 'node:child_process';
5
+ import 'node:crypto';
6
+ import 'node:fs';
7
+ import 'node:fs/promises';
8
+ import 'node:http';
9
+ import 'node:os';
10
+ import 'node:path';
11
+ import 'node:url';
12
+ import 'posthog-node';
13
+ import 'node:string_decoder';
14
+ import 'node:util';
15
+ import 'node:process';
16
+ import 'node:tty';
17
+ import 'node:timers/promises';
18
+ import 'node:events';
19
+ import 'node:v8';
20
+ import 'node:stream';
21
+ import 'node:buffer';
22
+ import 'node:stream/promises';
23
+ import 'node:constants';
24
+ import 'node:assert';
25
+ import 'node:readline';
26
+ import 'pino';
27
+ import 'pino-pretty';
28
+ import 'tinyexec';
29
+
30
+
31
+
32
+ export { loadCredentials, tryRefreshToken };
33
+ //# sourceMappingURL=credentials-EGXLGJFI-4_EzI-6m.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials-EGXLGJFI-4_EzI-6m.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}