@mastra/factory 0.2.0-alpha.0 → 0.2.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,25 @@
1
1
  # @mastra/factory
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added guided model-provider setup to Factory onboarding with a recommended default model and provider-specific observational-memory defaults. ([#20079](https://github.com/mastra-ai/mastra/pull/20079))
8
+
9
+ ### Patch Changes
10
+
11
+ - Renamed Mastra Factory server log prefix from "[MastraCode Web]" to "[Mastra Factory]" ([#20088](https://github.com/mastra-ai/mastra/pull/20088))
12
+
13
+ - Link Factory Review cards to their work item when a PR opens without recorded provenance. GitHub PR-opened ingress now falls back to matching the PR head branch against work item session branches, and Review intake records `headBranch`/`baseBranch` metadata so the board and session views can relate the cards. ([#20074](https://github.com/mastra-ai/mastra/pull/20074))
14
+
15
+ - Fixed board-started work sessions to use the Factory's default coding model and persisted observational-memory settings. ([#20081](https://github.com/mastra-ai/mastra/pull/20081))
16
+
17
+ - Restored observational-memory settings so Factory users can choose models and preferences before opening a chat session. ([#20079](https://github.com/mastra-ai/mastra/pull/20079))
18
+
19
+ - Updated dependencies [[`55adddf`](https://github.com/mastra-ai/mastra/commit/55adddfda2a170b00c112bf37d677e8ce5b65d5a)]:
20
+ - @mastra/core@1.52.1
21
+ - @mastra/code-sdk@1.0.1
22
+
3
23
  ## 0.2.0-alpha.0
4
24
 
5
25
  ### Minor Changes
package/dist/factory.js CHANGED
@@ -26444,7 +26444,7 @@ function buildGithubRoutes(options) {
26444
26444
  list = await github.listInstallationRepos(Number(inst.externalId));
26445
26445
  } catch (err) {
26446
26446
  if (err.status !== 404) throw err;
26447
- console.error(`[MastraCode Web] pruning stale GitHub installation ${inst.externalId} (404 from GitHub)`);
26447
+ console.error(`[Mastra Factory] pruning stale GitHub installation ${inst.externalId} (404 from GitHub)`);
26448
26448
  await github.sourceControlStorage.installations.delete({ orgId: resolved.tenant.orgId, id: inst.id });
26449
26449
  continue;
26450
26450
  }
@@ -27387,7 +27387,7 @@ function logPlatformError(message, fields) {
27387
27387
  }
27388
27388
  function writePlatformLog(level, message, fields) {
27389
27389
  const metadata = fields ? ` ${JSON.stringify(stripUndefined(fields))}` : "";
27390
- process.stderr.write(`[MastraCode Web] ${level.toUpperCase()} ${message}${metadata}
27390
+ process.stderr.write(`[Mastra Factory] ${level.toUpperCase()} ${message}${metadata}
27391
27391
  `);
27392
27392
  }
27393
27393
  function stripUndefined(fields) {
@@ -36627,7 +36627,7 @@ function handleServerError(err, c) {
36627
36627
  return c.json({ error: err.message }, err.status);
36628
36628
  }
36629
36629
  const detail = err instanceof Error ? err.stack ?? err.message : String(err);
36630
- console.error(`[MastraCode Web] ${c.req.method} ${c.req.path} failed: ${detail}`);
36630
+ console.error(`[Mastra Factory] ${c.req.method} ${c.req.path} failed: ${detail}`);
36631
36631
  return c.json(
36632
36632
  {
36633
36633
  error: "internal_error",