@elizaos/core 1.6.4-alpha.19 → 1.6.4-alpha.20

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.
@@ -44766,7 +44766,7 @@ class AgentRuntime {
44766
44766
  }
44767
44767
  }
44768
44768
  }
44769
- async initialize() {
44769
+ async initialize(options) {
44770
44770
  try {
44771
44771
  const pluginRegistrationPromises = [];
44772
44772
  const pluginsToLoad = this.characterPlugins;
@@ -44785,9 +44785,14 @@ class AgentRuntime {
44785
44785
  await this.adapter.init();
44786
44786
  }
44787
44787
  this.messageService = new DefaultMessageService;
44788
- this.logger.info("Running plugin migrations...");
44789
- await this.runPluginMigrations();
44790
- this.logger.info("Plugin migrations completed.");
44788
+ const skipMigrations = options?.skipMigrations ?? false;
44789
+ if (skipMigrations) {
44790
+ this.logger.info("Skipping plugin migrations (skipMigrations=true)");
44791
+ } else {
44792
+ this.logger.info("Running plugin migrations...");
44793
+ await this.runPluginMigrations();
44794
+ this.logger.info("Plugin migrations completed.");
44795
+ }
44791
44796
  const existingAgent = await this.ensureAgentExists({
44792
44797
  ...this.character,
44793
44798
  id: this.agentId
@@ -47838,5 +47843,5 @@ export {
47838
47843
  AgentRuntime
47839
47844
  };
47840
47845
 
47841
- //# debugId=FE7D7B8D69AC4A2264756E2164756E21
47846
+ //# debugId=7C69A32469711FD264756E2164756E21
47842
47847
  //# sourceMappingURL=index.node.js.map