@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.
- package/dist/browser/index.browser.js +2 -2
- package/dist/browser/index.browser.js.map +3 -3
- package/dist/node/index.node.js +10 -5
- package/dist/node/index.node.js.map +3 -3
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/types/runtime.d.ts +3 -1
- package/dist/types/runtime.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/node/index.node.js
CHANGED
|
@@ -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
|
-
|
|
44789
|
-
|
|
44790
|
-
|
|
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=
|
|
47846
|
+
//# debugId=7C69A32469711FD264756E2164756E21
|
|
47842
47847
|
//# sourceMappingURL=index.node.js.map
|