@elizaos/core 1.5.11-alpha.5 → 1.5.11-alpha.7
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/node/index.node.js
CHANGED
|
@@ -41884,7 +41884,7 @@ function parseBooleanFromText2(value) {
|
|
|
41884
41884
|
}
|
|
41885
41885
|
return false;
|
|
41886
41886
|
}
|
|
41887
|
-
var uuidSchema = z2.string().
|
|
41887
|
+
var uuidSchema = z2.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i, "Invalid UUID format");
|
|
41888
41888
|
function validateUuid(value) {
|
|
41889
41889
|
const result = uuidSchema.safeParse(value);
|
|
41890
41890
|
return result.success ? result.data : null;
|
|
@@ -42110,14 +42110,14 @@ var styleSchema = z3.object({
|
|
|
42110
42110
|
chat: z3.array(z3.string()).optional(),
|
|
42111
42111
|
post: z3.array(z3.string()).optional()
|
|
42112
42112
|
}).optional();
|
|
42113
|
-
var settingsSchema = z3.record(z3.union([z3.string(), z3.boolean(), z3.number(), z3.any()])).optional();
|
|
42114
|
-
var secretsSchema = z3.record(z3.union([z3.string(), z3.boolean(), z3.number()])).optional();
|
|
42113
|
+
var settingsSchema = z3.record(z3.string(), z3.union([z3.string(), z3.boolean(), z3.number(), z3.any()])).optional();
|
|
42114
|
+
var secretsSchema = z3.record(z3.string(), z3.union([z3.string(), z3.boolean(), z3.number()])).optional();
|
|
42115
42115
|
var characterSchema = z3.object({
|
|
42116
42116
|
id: uuidSchema2.optional(),
|
|
42117
42117
|
name: z3.string().min(1, "Character name is required"),
|
|
42118
42118
|
username: z3.string().optional(),
|
|
42119
42119
|
system: z3.string().optional(),
|
|
42120
|
-
templates: z3.record(templateTypeSchema).optional(),
|
|
42120
|
+
templates: z3.record(z3.string(), templateTypeSchema).optional(),
|
|
42121
42121
|
bio: z3.union([z3.string(), z3.array(z3.string())]),
|
|
42122
42122
|
messageExamples: z3.array(z3.array(messageExampleSchema)).optional(),
|
|
42123
42123
|
postExamples: z3.array(z3.string()).optional(),
|
|
@@ -46384,5 +46384,5 @@ export {
|
|
|
46384
46384
|
AgentRuntime
|
|
46385
46385
|
};
|
|
46386
46386
|
|
|
46387
|
-
//# debugId=
|
|
46387
|
+
//# debugId=5FF25988965CAF1064756E2164756E21
|
|
46388
46388
|
//# sourceMappingURL=index.node.js.map
|