@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/dist/index.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",