create-mastra 1.9.3-alpha.1 → 1.9.3-alpha.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.9.3-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed create-mastra observability setup so fresh projects use your saved organization instead of showing an extra organization picker at the end of project creation. ([#16644](https://github.com/mastra-ai/mastra/pull/16644))
8
+
3
9
  ## 1.9.3-alpha.1
4
10
 
5
11
  ## 1.9.3-alpha.0
package/dist/index.js CHANGED
@@ -15789,7 +15789,7 @@ var PinoLogger = class _PinoLogger extends MastraLogger {
15789
15789
  };
15790
15790
 
15791
15791
  var package_default = {
15792
- version: "1.9.3-alpha.1"};
15792
+ version: "1.9.3-alpha.2"};
15793
15793
  var logger = createLogger(false);
15794
15794
  function createLogger(debug = false) {
15795
15795
  return new PinoLogger({
@@ -16018,7 +16018,7 @@ async function provisionObservabilityProject({
16018
16018
  token: providedToken
16019
16019
  } = {}) {
16020
16020
  const token = providedToken ?? await getToken();
16021
- const { orgId, orgName } = await resolveCurrentOrg(token, { forcePrompt: true });
16021
+ const { orgId, orgName } = mode === "create" ? await resolveCurrentOrg(token) : await resolveCurrentOrg(token, { forcePrompt: true });
16022
16022
  let project;
16023
16023
  if (observabilityProject) {
16024
16024
  const projects = await listProjects(token, orgId);