@elizaos/core 1.0.0-beta.28 → 1.0.0-beta.29
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 +23 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -399,6 +399,28 @@ var createPrettyConfig = () => ({
|
|
|
399
399
|
colorize: true,
|
|
400
400
|
translateTime: "yyyy-mm-dd HH:MM:ss",
|
|
401
401
|
ignore: "pid,hostname",
|
|
402
|
+
levelColors: {
|
|
403
|
+
60: "red",
|
|
404
|
+
// fatal
|
|
405
|
+
50: "red",
|
|
406
|
+
// error
|
|
407
|
+
40: "yellow",
|
|
408
|
+
// warn
|
|
409
|
+
30: "blue",
|
|
410
|
+
// info
|
|
411
|
+
29: "green",
|
|
412
|
+
// log
|
|
413
|
+
28: "cyan",
|
|
414
|
+
// progress
|
|
415
|
+
27: "greenBright",
|
|
416
|
+
// success
|
|
417
|
+
20: "magenta",
|
|
418
|
+
// debug
|
|
419
|
+
10: "grey",
|
|
420
|
+
// trace
|
|
421
|
+
"*": "white"
|
|
422
|
+
// default for any unspecified level
|
|
423
|
+
},
|
|
402
424
|
customPrettifiers: {
|
|
403
425
|
level: (inputData) => {
|
|
404
426
|
let level;
|
|
@@ -1385,7 +1407,6 @@ var AgentRuntime = class {
|
|
|
1385
1407
|
this.runtimeLogger.warn("Agent already initialized");
|
|
1386
1408
|
return;
|
|
1387
1409
|
}
|
|
1388
|
-
this.isInitialized = true;
|
|
1389
1410
|
const registeredPluginNames = /* @__PURE__ */ new Set();
|
|
1390
1411
|
const pluginRegistrationPromises = [];
|
|
1391
1412
|
for (const plugin of [...this.plugins]) {
|
|
@@ -1474,6 +1495,7 @@ var AgentRuntime = class {
|
|
|
1474
1495
|
for (const service of this.servicesInitQueue) {
|
|
1475
1496
|
await this.registerService(service);
|
|
1476
1497
|
}
|
|
1498
|
+
this.isInitialized = true;
|
|
1477
1499
|
}
|
|
1478
1500
|
async handleProcessingError(error, context) {
|
|
1479
1501
|
this.runtimeLogger.error(`Error ${context}:`, error?.message || error || "Unknown error");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.29",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "626255eb1570b074feacafa3fdf82d0cf957cfc1"
|
|
80
80
|
}
|