@mastra/deployer 1.33.1-alpha.0 → 1.33.1

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/build/analyze.cjs +2 -2
  3. package/dist/build/analyze.js +1 -1
  4. package/dist/build/bundler.cjs +3 -3
  5. package/dist/build/bundler.js +1 -1
  6. package/dist/build/index.cjs +21 -21
  7. package/dist/build/index.js +5 -5
  8. package/dist/build/utils.d.ts +1 -0
  9. package/dist/build/utils.d.ts.map +1 -1
  10. package/dist/bundler/index.cjs +3 -3
  11. package/dist/bundler/index.js +1 -1
  12. package/dist/{chunk-QTRSKNOJ.cjs → chunk-3T7FP546.cjs} +3 -2
  13. package/dist/chunk-3T7FP546.cjs.map +1 -0
  14. package/dist/{chunk-623NUWWK.js → chunk-4SSB2KSK.js} +3 -2
  15. package/dist/chunk-4SSB2KSK.js.map +1 -0
  16. package/dist/{chunk-D5QDTUSF.cjs → chunk-5TILMGJA.cjs} +49 -49
  17. package/dist/{chunk-D5QDTUSF.cjs.map → chunk-5TILMGJA.cjs.map} +1 -1
  18. package/dist/{chunk-BGHYAAUQ.cjs → chunk-AQL6MQFJ.cjs} +18 -18
  19. package/dist/{chunk-BGHYAAUQ.cjs.map → chunk-AQL6MQFJ.cjs.map} +1 -1
  20. package/dist/{chunk-R45J7TDH.js → chunk-FXJXKXAV.js} +3 -3
  21. package/dist/{chunk-R45J7TDH.js.map → chunk-FXJXKXAV.js.map} +1 -1
  22. package/dist/{chunk-JS4W622U.js → chunk-ISGGMBYN.js} +7 -7
  23. package/dist/{chunk-JS4W622U.js.map → chunk-ISGGMBYN.js.map} +1 -1
  24. package/dist/{chunk-5CIZPQD7.js → chunk-KAY3R5QX.js} +3 -3
  25. package/dist/{chunk-5CIZPQD7.js.map → chunk-KAY3R5QX.js.map} +1 -1
  26. package/dist/{chunk-7OOWEFCB.cjs → chunk-KBVOYAAL.cjs} +7 -7
  27. package/dist/{chunk-7OOWEFCB.cjs.map → chunk-KBVOYAAL.cjs.map} +1 -1
  28. package/dist/{chunk-AEFF4KNF.js → chunk-KTL22PW6.js} +7 -7
  29. package/dist/{chunk-AEFF4KNF.js.map → chunk-KTL22PW6.js.map} +1 -1
  30. package/dist/{chunk-KLSYVMVY.cjs → chunk-RJXYP6DA.cjs} +17 -17
  31. package/dist/{chunk-KLSYVMVY.cjs.map → chunk-RJXYP6DA.cjs.map} +1 -1
  32. package/dist/{chunk-QJIDGPHH.cjs → chunk-XABHWJ5U.cjs} +16 -16
  33. package/dist/{chunk-QJIDGPHH.cjs.map → chunk-XABHWJ5U.cjs.map} +1 -1
  34. package/dist/{chunk-WRKEX2X3.js → chunk-YHEVEEDG.js} +4 -4
  35. package/dist/{chunk-WRKEX2X3.js.map → chunk-YHEVEEDG.js.map} +1 -1
  36. package/dist/{chunk-4WS47OHX.cjs → chunk-YW7AIVNG.cjs} +5 -5
  37. package/dist/{chunk-4WS47OHX.cjs.map → chunk-YW7AIVNG.cjs.map} +1 -1
  38. package/dist/{chunk-MLMAPMI3.js → chunk-ZUJ4DO5D.js} +4 -4
  39. package/dist/{chunk-MLMAPMI3.js.map → chunk-ZUJ4DO5D.js.map} +1 -1
  40. package/dist/docs/SKILL.md +1 -1
  41. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  42. package/dist/index.cjs +4 -4
  43. package/dist/index.js +2 -2
  44. package/dist/server/index.cjs +6 -4
  45. package/dist/server/index.cjs.map +1 -1
  46. package/dist/server/index.d.ts.map +1 -1
  47. package/dist/server/index.js +3 -1
  48. package/dist/server/index.js.map +1 -1
  49. package/dist/validator/custom-resolver.cjs +3 -3
  50. package/dist/validator/custom-resolver.js +1 -1
  51. package/package.json +8 -8
  52. package/dist/chunk-623NUWWK.js.map +0 -1
  53. package/dist/chunk-QTRSKNOJ.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk4WS47OHX_cjs = require('./chunk-4WS47OHX.cjs');
4
- var chunkQTRSKNOJ_cjs = require('./chunk-QTRSKNOJ.cjs');
3
+ var chunkYW7AIVNG_cjs = require('./chunk-YW7AIVNG.cjs');
4
+ var chunk3T7FP546_cjs = require('./chunk-3T7FP546.cjs');
5
5
  var fs = require('fs');
6
6
  var promises = require('fs/promises');
7
7
  var path = require('path');
@@ -157,7 +157,7 @@ async function getWorkspaceInformation({
157
157
  mastraEntryFile
158
158
  }) {
159
159
  const closestPkgJson = pkg__namespace.up({ cwd: path.dirname(mastraEntryFile) });
160
- const location = closestPkgJson ? path.dirname(chunkQTRSKNOJ_cjs.slash(closestPkgJson)) : chunkQTRSKNOJ_cjs.slash(process.cwd());
160
+ const location = closestPkgJson ? path.dirname(chunk3T7FP546_cjs.slash(closestPkgJson)) : chunk3T7FP546_cjs.slash(process.cwd());
161
161
  const workspaces = await findWorkspaces.findWorkspaces(dir, { cache: workspacesCache });
162
162
  const _workspaceMap = new Map(
163
163
  workspaces?.map((workspace) => [
@@ -286,7 +286,7 @@ var DEPRECATED_EXTERNALS = ["fastembed", "nodemailer", "jsdom", "sqlite3"];
286
286
 
287
287
  // src/build/analyze/analyzeEntry.ts
288
288
  function getInputPlugins({ entry, isVirtualFile }, mastraEntry, { sourcemapEnabled }) {
289
- const normalizedMastraEntry = chunkQTRSKNOJ_cjs.slash(mastraEntry);
289
+ const normalizedMastraEntry = chunk3T7FP546_cjs.slash(mastraEntry);
290
290
  let virtualPlugin = null;
291
291
  if (isVirtualFile) {
292
292
  virtualPlugin = virtual__default.default({
@@ -300,13 +300,13 @@ function getInputPlugins({ entry, isVirtualFile }, mastraEntry, { sourcemapEnabl
300
300
  }
301
301
  plugins.push(
302
302
  ...[
303
- chunk4WS47OHX_cjs.tsConfigPaths(),
304
- chunk4WS47OHX_cjs.protocolExternalResolver(),
303
+ chunkYW7AIVNG_cjs.tsConfigPaths(),
304
+ chunkYW7AIVNG_cjs.protocolExternalResolver(),
305
305
  {
306
306
  name: "custom-alias-resolver",
307
307
  resolveId(id) {
308
308
  if (id === "#server") {
309
- return chunkQTRSKNOJ_cjs.slash(url.fileURLToPath(undefined("@mastra/deployer/server")));
309
+ return chunk3T7FP546_cjs.slash(url.fileURLToPath(undefined("@mastra/deployer/server")));
310
310
  }
311
311
  if (id === "#mastra") {
312
312
  return normalizedMastraEntry;
@@ -317,17 +317,17 @@ function getInputPlugins({ entry, isVirtualFile }, mastraEntry, { sourcemapEnabl
317
317
  }
318
318
  },
319
319
  json__default.default(),
320
- chunk4WS47OHX_cjs.esbuild(),
320
+ chunkYW7AIVNG_cjs.esbuild(),
321
321
  commonjs__default.default({
322
322
  strictRequires: "debug",
323
323
  ignoreTryCatch: false,
324
324
  transformMixedEsModules: true,
325
325
  extensions: [".js", ".ts"]
326
326
  }),
327
- chunk4WS47OHX_cjs.removeDeployer(mastraEntry, {
327
+ chunkYW7AIVNG_cjs.removeDeployer(mastraEntry, {
328
328
  sourcemap: sourcemapEnabled
329
329
  }),
330
- chunk4WS47OHX_cjs.esbuild()
330
+ chunkYW7AIVNG_cjs.esbuild()
331
331
  ]
332
332
  );
333
333
  return plugins;
@@ -345,18 +345,18 @@ async function captureDependenciesToOptimize(output, workspaceMap, projectRoot,
345
345
  }
346
346
  let entryRootPath = projectRoot;
347
347
  if (!output.facadeModuleId.startsWith("\0virtual:")) {
348
- entryRootPath = await chunk4WS47OHX_cjs.getPackageRootPath(output.facadeModuleId) || projectRoot;
348
+ entryRootPath = await chunkYW7AIVNG_cjs.getPackageRootPath(output.facadeModuleId) || projectRoot;
349
349
  }
350
350
  for (const [dependency, bindings] of Object.entries(output.importedBindings)) {
351
- if (!chunkQTRSKNOJ_cjs.isBareModuleSpecifier(dependency)) {
351
+ if (!chunk3T7FP546_cjs.isBareModuleSpecifier(dependency)) {
352
352
  continue;
353
353
  }
354
- const pkgName = chunkQTRSKNOJ_cjs.getPackageName(dependency);
354
+ const pkgName = chunk3T7FP546_cjs.getPackageName(dependency);
355
355
  let rootPath = null;
356
356
  let isWorkspace = false;
357
357
  let version;
358
358
  if (pkgName) {
359
- rootPath = await chunk4WS47OHX_cjs.getPackageRootPath(dependency, entryRootPath);
359
+ rootPath = await chunkYW7AIVNG_cjs.getPackageRootPath(dependency, entryRootPath);
360
360
  isWorkspace = workspaceMap.has(pkgName);
361
361
  if (rootPath) {
362
362
  try {
@@ -366,7 +366,7 @@ async function captureDependenciesToOptimize(output, workspaceMap, projectRoot,
366
366
  }
367
367
  }
368
368
  }
369
- const normalizedRootPath = rootPath ? chunkQTRSKNOJ_cjs.slash(rootPath) : null;
369
+ const normalizedRootPath = rootPath ? chunk3T7FP546_cjs.slash(rootPath) : null;
370
370
  depsToOptimize.set(dependency, {
371
371
  exports: bindings,
372
372
  rootPath: normalizedRootPath,
@@ -426,12 +426,12 @@ async function captureDependenciesToOptimize(output, workspaceMap, projectRoot,
426
426
  const dynamicImports = output.dynamicImports.filter((d) => !DEPS_TO_IGNORE.includes(d));
427
427
  if (dynamicImports.length) {
428
428
  for (const dynamicImport of dynamicImports) {
429
- if (!depsToOptimize.has(dynamicImport) && chunkQTRSKNOJ_cjs.isBareModuleSpecifier(dynamicImport)) {
430
- const pkgName = chunkQTRSKNOJ_cjs.getPackageName(dynamicImport);
429
+ if (!depsToOptimize.has(dynamicImport) && chunk3T7FP546_cjs.isBareModuleSpecifier(dynamicImport)) {
430
+ const pkgName = chunk3T7FP546_cjs.getPackageName(dynamicImport);
431
431
  let version;
432
432
  let rootPath = null;
433
433
  if (pkgName) {
434
- rootPath = await chunk4WS47OHX_cjs.getPackageRootPath(dynamicImport, entryRootPath);
434
+ rootPath = await chunkYW7AIVNG_cjs.getPackageRootPath(dynamicImport, entryRootPath);
435
435
  if (rootPath) {
436
436
  try {
437
437
  const pkgJson = await esm.readJSON(`${rootPath}/package.json`);
@@ -442,7 +442,7 @@ async function captureDependenciesToOptimize(output, workspaceMap, projectRoot,
442
442
  }
443
443
  depsToOptimize.set(dynamicImport, {
444
444
  exports: ["*"],
445
- rootPath: rootPath ? chunkQTRSKNOJ_cjs.slash(rootPath) : null,
445
+ rootPath: rootPath ? chunk3T7FP546_cjs.slash(rootPath) : null,
446
446
  isWorkspace: false,
447
447
  version
448
448
  });
@@ -464,7 +464,7 @@ async function analyzeEntry({
464
464
  shouldCheckTransitiveDependencies = false,
465
465
  analyzeCache
466
466
  }) {
467
- const cacheKey = isVirtualFile ? void 0 : chunkQTRSKNOJ_cjs.slash(entry);
467
+ const cacheKey = isVirtualFile ? void 0 : chunk3T7FP546_cjs.slash(entry);
468
468
  if (cacheKey && analyzeCache?.has(cacheKey)) {
469
469
  return analyzeCache.get(cacheKey);
470
470
  }
@@ -526,7 +526,7 @@ function moduleResolveMap(externals, projectRoot) {
526
526
  }
527
527
  for (const importedId of info.importedIds) {
528
528
  for (const external of externals) {
529
- if (chunkQTRSKNOJ_cjs.isDependencyPartOfPackage(importedId, external)) {
529
+ if (chunk3T7FP546_cjs.isDependencyPartOfPackage(importedId, external)) {
530
530
  importMap.set(external, info.id);
531
531
  }
532
532
  }
@@ -538,9 +538,9 @@ function moduleResolveMap(externals, projectRoot) {
538
538
  if (chunk.type === "chunk") {
539
539
  for (const [external, resolvedFrom] of importMap) {
540
540
  if (chunk.moduleIds.includes(resolvedFrom)) {
541
- const fullPath = url.pathToFileURL(chunkQTRSKNOJ_cjs.slash(path.join(projectRoot, fileName))).toString();
541
+ const fullPath = url.pathToFileURL(chunk3T7FP546_cjs.slash(path.join(projectRoot, fileName))).toString();
542
542
  const innerMap = resolveMap.get(fullPath) || /* @__PURE__ */ new Map();
543
- innerMap.set(external, url.pathToFileURL(chunkQTRSKNOJ_cjs.slash(resolvedFrom)).toString());
543
+ innerMap.set(external, url.pathToFileURL(chunk3T7FP546_cjs.slash(resolvedFrom)).toString());
544
544
  resolveMap.set(fullPath, innerMap);
545
545
  }
546
546
  }
@@ -606,7 +606,7 @@ function nodeGypDetector() {
606
606
 
607
607
  // src/build/analyze/bundleExternals.ts
608
608
  function prepareEntryFileName(name, rootDir) {
609
- return chunkQTRSKNOJ_cjs.rollupSafeName(name, rootDir);
609
+ return chunk3T7FP546_cjs.rollupSafeName(name, rootDir);
610
610
  }
611
611
  function createVirtualDependencies(depsToOptimize, {
612
612
  projectRoot,
@@ -656,7 +656,7 @@ function createVirtualDependencies(depsToOptimize, {
656
656
  continue;
657
657
  }
658
658
  const fileName = posix.basename(currentDepPath.name);
659
- const entryName = prepareEntryFileName(chunkQTRSKNOJ_cjs.getCompiledDepCachePath(rootPath, fileName), rootDir);
659
+ const entryName = prepareEntryFileName(chunk3T7FP546_cjs.getCompiledDepCachePath(rootPath, fileName), rootDir);
660
660
  fileNameToDependencyMap.set(entryName, dep);
661
661
  optimizedDependencyEntries.set(dep, {
662
662
  ...currentDepPath,
@@ -676,9 +676,9 @@ async function getInputPlugins2(virtualDependencies, {
676
676
  }) {
677
677
  const transpilePackagesMap = /* @__PURE__ */ new Map();
678
678
  for (const pkg2 of transpilePackages) {
679
- const dir = await chunk4WS47OHX_cjs.getPackageRootPath(pkg2);
679
+ const dir = await chunkYW7AIVNG_cjs.getPackageRootPath(pkg2);
680
680
  if (dir) {
681
- transpilePackagesMap.set(pkg2, chunkQTRSKNOJ_cjs.slash(dir));
681
+ transpilePackagesMap.set(pkg2, chunk3T7FP546_cjs.slash(dir));
682
682
  } else {
683
683
  transpilePackagesMap.set(pkg2, workspaceMap.get(pkg2)?.location ?? pkg2);
684
684
  }
@@ -693,10 +693,10 @@ async function getInputPlugins2(virtualDependencies, {
693
693
  {}
694
694
  )
695
695
  ),
696
- chunk4WS47OHX_cjs.tsConfigPaths(),
697
- chunk4WS47OHX_cjs.protocolExternalResolver(),
698
- chunk4WS47OHX_cjs.subpathExternalsResolver(externals),
699
- transpilePackagesMap.size ? chunk4WS47OHX_cjs.esbuild({
696
+ chunkYW7AIVNG_cjs.tsConfigPaths(),
697
+ chunkYW7AIVNG_cjs.protocolExternalResolver(),
698
+ chunkYW7AIVNG_cjs.subpathExternalsResolver(externals),
699
+ transpilePackagesMap.size ? chunkYW7AIVNG_cjs.esbuild({
700
700
  format: "esm",
701
701
  include: [
702
702
  // Match files from transpilePackages by their actual directory paths
@@ -751,8 +751,8 @@ async function getInputPlugins2(virtualDependencies, {
751
751
  transformMixedEsModules: true,
752
752
  ignoreTryCatch: false
753
753
  }),
754
- bundlerOptions.noBundling ? null : nodeResolve__default.default(chunkQTRSKNOJ_cjs.getNodeResolveOptions(platform)),
755
- bundlerOptions.noBundling ? chunk4WS47OHX_cjs.esmShim() : null,
754
+ bundlerOptions.noBundling ? null : nodeResolve__default.default(chunk3T7FP546_cjs.getNodeResolveOptions(platform)),
755
+ bundlerOptions.noBundling ? chunkYW7AIVNG_cjs.esmShim() : null,
756
756
  // hono is imported from deployer, so we need to resolve from here instead of the project root
757
757
  aliasHono(),
758
758
  json__default.default(),
@@ -845,9 +845,9 @@ async function buildExternalDependencies(virtualDependencies, {
845
845
  if (noBundling) {
846
846
  const importedFromPackages = /* @__PURE__ */ new Set();
847
847
  for (const moduleId of chunkInfo.moduleIds) {
848
- const normalized = chunkQTRSKNOJ_cjs.slash(moduleId);
848
+ const normalized = chunk3T7FP546_cjs.slash(moduleId);
849
849
  for (const [pkgName, pkgInfo] of workspaceMap.entries()) {
850
- const location = chunkQTRSKNOJ_cjs.slash(pkgInfo.location);
850
+ const location = chunk3T7FP546_cjs.slash(pkgInfo.location);
851
851
  if (normalized.startsWith(location)) {
852
852
  importedFromPackages.add(pkgName);
853
853
  break;
@@ -869,7 +869,7 @@ async function buildExternalDependencies(virtualDependencies, {
869
869
  if (importedFromPackages.size === 1) {
870
870
  const [pkgName] = importedFromPackages;
871
871
  const workspaceLocation = workspaceMap.get(pkgName).location;
872
- return prepareEntryFileName(chunkQTRSKNOJ_cjs.getCompiledDepCachePath(workspaceLocation, "[name].mjs"), rootDir);
872
+ return prepareEntryFileName(chunk3T7FP546_cjs.getCompiledDepCachePath(workspaceLocation, "[name].mjs"), rootDir);
873
873
  }
874
874
  }
875
875
  return `${outputDirRelative}/[name].mjs`;
@@ -883,7 +883,7 @@ async function buildExternalDependencies(virtualDependencies, {
883
883
  function findExternalImporter(module, external, allOutputs) {
884
884
  const capturedFiles = /* @__PURE__ */ new Set();
885
885
  for (const id of module.imports) {
886
- if (chunkQTRSKNOJ_cjs.isDependencyPartOfPackage(id, external)) {
886
+ if (chunk3T7FP546_cjs.isDependencyPartOfPackage(id, external)) {
887
887
  return module;
888
888
  } else {
889
889
  if (id.endsWith(".mjs")) {
@@ -1284,10 +1284,10 @@ async function validateOutput({
1284
1284
  };
1285
1285
  for (const deps of Object.values(usedExternals)) {
1286
1286
  for (const dep of Object.keys(deps)) {
1287
- if (chunkQTRSKNOJ_cjs.isExternalProtocolImport(dep)) {
1287
+ if (chunk3T7FP546_cjs.isExternalProtocolImport(dep)) {
1288
1288
  continue;
1289
1289
  }
1290
- const pkgName = chunkQTRSKNOJ_cjs.getPackageName(dep);
1290
+ const pkgName = chunk3T7FP546_cjs.getPackageName(dep);
1291
1291
  if (pkgName) {
1292
1292
  const versionInfo = depsVersionInfo.get(dep) || depsVersionInfo.get(pkgName) || {};
1293
1293
  result.externalDependencies.set(pkgName, versionInfo);
@@ -1370,9 +1370,9 @@ async function analyzeBundle(entries, mastraEntry, {
1370
1370
  });
1371
1371
  await promises.writeFile(path.join(outputDir, `entry-${index++}.mjs`), analyzeResult.output.code);
1372
1372
  for (const [dep, metadata] of analyzeResult.dependencies.entries()) {
1373
- const isPartOfExternals = allExternals.some((external) => chunkQTRSKNOJ_cjs.isDependencyPartOfPackage(dep, external));
1373
+ const isPartOfExternals = allExternals.some((external) => chunk3T7FP546_cjs.isDependencyPartOfPackage(dep, external));
1374
1374
  if (isPartOfExternals || externalsPreset && !metadata.isWorkspace) {
1375
- const pkgName = chunkQTRSKNOJ_cjs.getPackageName(dep);
1375
+ const pkgName = chunk3T7FP546_cjs.getPackageName(dep);
1376
1376
  if (pkgName && !allUsedExternals.has(pkgName)) {
1377
1377
  allUsedExternals.set(pkgName, {
1378
1378
  version: metadata.version
@@ -1413,11 +1413,11 @@ async function analyzeBundle(entries, mastraEntry, {
1413
1413
  platform
1414
1414
  });
1415
1415
  const relativeWorkspaceFolderPaths = Array.from(workspaceMap.values()).map(
1416
- (pkgInfo) => chunkQTRSKNOJ_cjs.slash(path.relative(workspaceRoot || projectRoot, pkgInfo.location))
1416
+ (pkgInfo) => chunk3T7FP546_cjs.slash(path.relative(workspaceRoot || projectRoot, pkgInfo.location))
1417
1417
  );
1418
1418
  const depsVersionInfo = /* @__PURE__ */ new Map();
1419
1419
  for (const [dep, metadata] of depsToOptimize.entries()) {
1420
- const pkgName = chunkQTRSKNOJ_cjs.getPackageName(dep);
1420
+ const pkgName = chunk3T7FP546_cjs.getPackageName(dep);
1421
1421
  if (pkgName && metadata.version) {
1422
1422
  depsVersionInfo.set(pkgName, {
1423
1423
  version: metadata.version
@@ -1434,19 +1434,19 @@ async function analyzeBundle(entries, mastraEntry, {
1434
1434
  continue;
1435
1435
  }
1436
1436
  for (const i of o.imports) {
1437
- if (chunkQTRSKNOJ_cjs.isBuiltinModule(i)) {
1437
+ if (chunk3T7FP546_cjs.isBuiltinModule(i)) {
1438
1438
  continue;
1439
1439
  }
1440
1440
  if (i.startsWith(".") || i.startsWith("/")) {
1441
1441
  continue;
1442
1442
  }
1443
- if (!chunkQTRSKNOJ_cjs.isBareModuleSpecifier(i) || chunkQTRSKNOJ_cjs.isExternalProtocolImport(i)) {
1443
+ if (!chunk3T7FP546_cjs.isBareModuleSpecifier(i) || chunk3T7FP546_cjs.isExternalProtocolImport(i)) {
1444
1444
  continue;
1445
1445
  }
1446
1446
  if (relativeWorkspaceFolderPaths.some((workspacePath) => i.startsWith(workspacePath))) {
1447
1447
  continue;
1448
1448
  }
1449
- const pkgName = chunkQTRSKNOJ_cjs.getPackageName(i);
1449
+ const pkgName = chunk3T7FP546_cjs.getPackageName(i);
1450
1450
  if (pkgName && !allUsedExternals.has(pkgName)) {
1451
1451
  const versionInfo = depsVersionInfo.get(i) || depsVersionInfo.get(pkgName) || {};
1452
1452
  allUsedExternals.set(pkgName, versionInfo);
@@ -1467,7 +1467,7 @@ async function analyzeBundle(entries, mastraEntry, {
1467
1467
  );
1468
1468
  const mergedExternalDeps = new Map(result.externalDependencies);
1469
1469
  for (const [dep, info] of allUsedExternals) {
1470
- if (chunkQTRSKNOJ_cjs.isExternalProtocolImport(dep)) {
1470
+ if (chunk3T7FP546_cjs.isExternalProtocolImport(dep)) {
1471
1471
  continue;
1472
1472
  }
1473
1473
  const existing = mergedExternalDeps.get(dep);
@@ -1494,5 +1494,5 @@ async function analyzeBundle(entries, mastraEntry, {
1494
1494
  exports.aliasHono = aliasHono;
1495
1495
  exports.analyzeBundle = analyzeBundle;
1496
1496
  exports.getWorkspaceInformation = getWorkspaceInformation;
1497
- //# sourceMappingURL=chunk-D5QDTUSF.cjs.map
1498
- //# sourceMappingURL=chunk-D5QDTUSF.cjs.map
1497
+ //# sourceMappingURL=chunk-5TILMGJA.cjs.map
1498
+ //# sourceMappingURL=chunk-5TILMGJA.cjs.map