@elizaos/core 1.5.15 → 1.6.0-alpha.4
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.
|
@@ -6,200 +6,42 @@ export declare const characterSchema: z.ZodObject<{
|
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
username: z.ZodOptional<z.ZodString>;
|
|
8
8
|
system: z.ZodOptional<z.ZodString>;
|
|
9
|
-
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodFunction<z.
|
|
10
|
-
bio: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
9
|
+
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>]>>>;
|
|
10
|
+
bio: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
11
11
|
messageExamples: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
content: z.ZodObject<{
|
|
14
14
|
text: z.ZodOptional<z.ZodString>;
|
|
15
15
|
thought: z.ZodOptional<z.ZodString>;
|
|
16
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodString
|
|
17
|
-
providers: z.ZodOptional<z.ZodArray<z.ZodString
|
|
16
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
18
|
source: z.ZodOptional<z.ZodString>;
|
|
19
19
|
target: z.ZodOptional<z.ZodString>;
|
|
20
20
|
url: z.ZodOptional<z.ZodString>;
|
|
21
21
|
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
22
|
-
attachments: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
23
|
-
channelType: z.ZodOptional<z.
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
target: z.ZodOptional<z.ZodString>;
|
|
31
|
-
url: z.ZodOptional<z.ZodString>;
|
|
32
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
33
|
-
attachments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
34
|
-
channelType: z.ZodOptional<z.ZodNativeEnum<typeof ChannelType>>;
|
|
35
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
36
|
-
text: z.ZodOptional<z.ZodString>;
|
|
37
|
-
thought: z.ZodOptional<z.ZodString>;
|
|
38
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
39
|
-
providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40
|
-
source: z.ZodOptional<z.ZodString>;
|
|
41
|
-
target: z.ZodOptional<z.ZodString>;
|
|
42
|
-
url: z.ZodOptional<z.ZodString>;
|
|
43
|
-
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
44
|
-
attachments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
45
|
-
channelType: z.ZodOptional<z.ZodNativeEnum<typeof ChannelType>>;
|
|
46
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
name: string;
|
|
49
|
-
content: {
|
|
50
|
-
thought?: string | undefined;
|
|
51
|
-
text?: string | undefined;
|
|
52
|
-
actions?: string[] | undefined;
|
|
53
|
-
providers?: string[] | undefined;
|
|
54
|
-
source?: string | undefined;
|
|
55
|
-
target?: string | undefined;
|
|
56
|
-
url?: string | undefined;
|
|
57
|
-
inReplyTo?: string | undefined;
|
|
58
|
-
attachments?: any[] | undefined;
|
|
59
|
-
channelType?: ChannelType | undefined;
|
|
60
|
-
} & {
|
|
61
|
-
[k: string]: unknown;
|
|
62
|
-
};
|
|
63
|
-
}, {
|
|
64
|
-
name: string;
|
|
65
|
-
content: {
|
|
66
|
-
thought?: string | undefined;
|
|
67
|
-
text?: string | undefined;
|
|
68
|
-
actions?: string[] | undefined;
|
|
69
|
-
providers?: string[] | undefined;
|
|
70
|
-
source?: string | undefined;
|
|
71
|
-
target?: string | undefined;
|
|
72
|
-
url?: string | undefined;
|
|
73
|
-
inReplyTo?: string | undefined;
|
|
74
|
-
attachments?: any[] | undefined;
|
|
75
|
-
channelType?: ChannelType | undefined;
|
|
76
|
-
} & {
|
|
77
|
-
[k: string]: unknown;
|
|
78
|
-
};
|
|
79
|
-
}>, "many">, "many">>;
|
|
80
|
-
postExamples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
|
-
topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
|
-
adjectives: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
|
-
knowledge: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
22
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
23
|
+
channelType: z.ZodOptional<z.ZodEnum<typeof ChannelType>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
}, z.core.$strip>>>>;
|
|
26
|
+
postExamples: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
topics: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
adjectives: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
knowledge: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
84
30
|
path: z.ZodString;
|
|
85
31
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
},
|
|
87
|
-
path: string;
|
|
88
|
-
shared?: boolean | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
path: string;
|
|
91
|
-
shared?: boolean | undefined;
|
|
92
|
-
}>, z.ZodObject<{
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
33
|
directory: z.ZodString;
|
|
94
34
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
directory: string;
|
|
100
|
-
shared?: boolean | undefined;
|
|
101
|
-
}>]>, "many">>;
|
|
102
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
-
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodAny]>>>;
|
|
104
|
-
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNumber]>>>;
|
|
35
|
+
}, z.core.$strip>]>>>;
|
|
36
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodAny]>>>;
|
|
38
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>>;
|
|
105
39
|
style: z.ZodOptional<z.ZodObject<{
|
|
106
|
-
all: z.ZodOptional<z.ZodArray<z.ZodString
|
|
107
|
-
chat: z.ZodOptional<z.ZodArray<z.ZodString
|
|
108
|
-
post: z.ZodOptional<z.ZodArray<z.ZodString
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
all?: string[] | undefined;
|
|
112
|
-
chat?: string[] | undefined;
|
|
113
|
-
}, {
|
|
114
|
-
post?: string[] | undefined;
|
|
115
|
-
all?: string[] | undefined;
|
|
116
|
-
chat?: string[] | undefined;
|
|
117
|
-
}>>;
|
|
118
|
-
}, "strict", z.ZodTypeAny, {
|
|
119
|
-
name: string;
|
|
120
|
-
bio: string | string[];
|
|
121
|
-
username?: string | undefined;
|
|
122
|
-
id?: string | undefined;
|
|
123
|
-
system?: string | undefined;
|
|
124
|
-
templates?: Record<string, string | ((...args: unknown[]) => unknown) | undefined> | undefined;
|
|
125
|
-
messageExamples?: {
|
|
126
|
-
name: string;
|
|
127
|
-
content: {
|
|
128
|
-
thought?: string | undefined;
|
|
129
|
-
text?: string | undefined;
|
|
130
|
-
actions?: string[] | undefined;
|
|
131
|
-
providers?: string[] | undefined;
|
|
132
|
-
source?: string | undefined;
|
|
133
|
-
target?: string | undefined;
|
|
134
|
-
url?: string | undefined;
|
|
135
|
-
inReplyTo?: string | undefined;
|
|
136
|
-
attachments?: any[] | undefined;
|
|
137
|
-
channelType?: ChannelType | undefined;
|
|
138
|
-
} & {
|
|
139
|
-
[k: string]: unknown;
|
|
140
|
-
};
|
|
141
|
-
}[][] | undefined;
|
|
142
|
-
postExamples?: string[] | undefined;
|
|
143
|
-
topics?: string[] | undefined;
|
|
144
|
-
adjectives?: string[] | undefined;
|
|
145
|
-
knowledge?: (string | {
|
|
146
|
-
directory: string;
|
|
147
|
-
shared?: boolean | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
path: string;
|
|
150
|
-
shared?: boolean | undefined;
|
|
151
|
-
})[] | undefined;
|
|
152
|
-
plugins?: string[] | undefined;
|
|
153
|
-
settings?: Record<string, any> | undefined;
|
|
154
|
-
secrets?: Record<string, string | number | boolean> | undefined;
|
|
155
|
-
style?: {
|
|
156
|
-
post?: string[] | undefined;
|
|
157
|
-
all?: string[] | undefined;
|
|
158
|
-
chat?: string[] | undefined;
|
|
159
|
-
} | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
name: string;
|
|
162
|
-
bio: string | string[];
|
|
163
|
-
username?: string | undefined;
|
|
164
|
-
id?: string | undefined;
|
|
165
|
-
system?: string | undefined;
|
|
166
|
-
templates?: Record<string, string | ((...args: unknown[]) => unknown) | undefined> | undefined;
|
|
167
|
-
messageExamples?: {
|
|
168
|
-
name: string;
|
|
169
|
-
content: {
|
|
170
|
-
thought?: string | undefined;
|
|
171
|
-
text?: string | undefined;
|
|
172
|
-
actions?: string[] | undefined;
|
|
173
|
-
providers?: string[] | undefined;
|
|
174
|
-
source?: string | undefined;
|
|
175
|
-
target?: string | undefined;
|
|
176
|
-
url?: string | undefined;
|
|
177
|
-
inReplyTo?: string | undefined;
|
|
178
|
-
attachments?: any[] | undefined;
|
|
179
|
-
channelType?: ChannelType | undefined;
|
|
180
|
-
} & {
|
|
181
|
-
[k: string]: unknown;
|
|
182
|
-
};
|
|
183
|
-
}[][] | undefined;
|
|
184
|
-
postExamples?: string[] | undefined;
|
|
185
|
-
topics?: string[] | undefined;
|
|
186
|
-
adjectives?: string[] | undefined;
|
|
187
|
-
knowledge?: (string | {
|
|
188
|
-
directory: string;
|
|
189
|
-
shared?: boolean | undefined;
|
|
190
|
-
} | {
|
|
191
|
-
path: string;
|
|
192
|
-
shared?: boolean | undefined;
|
|
193
|
-
})[] | undefined;
|
|
194
|
-
plugins?: string[] | undefined;
|
|
195
|
-
settings?: Record<string, any> | undefined;
|
|
196
|
-
secrets?: Record<string, string | number | boolean> | undefined;
|
|
197
|
-
style?: {
|
|
198
|
-
post?: string[] | undefined;
|
|
199
|
-
all?: string[] | undefined;
|
|
200
|
-
chat?: string[] | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
}>;
|
|
40
|
+
all: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
chat: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
+
post: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strict>;
|
|
203
45
|
export interface CharacterValidationResult {
|
|
204
46
|
success: boolean;
|
|
205
47
|
data?: Character;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../src/schemas/character.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAuEnD,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../src/schemas/character.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAuEnD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkBjB,CAAC;AAGZ,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;KACvB,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,yBAAyB,CAiB1E;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,yBAAyB,CAYvF;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,SAAS,CAEjE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0-alpha.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"pdfjs-dist": "^5.2.133",
|
|
76
76
|
"unique-names-generator": "4.7.1",
|
|
77
77
|
"uuid": "11.1.0",
|
|
78
|
-
"zod": "
|
|
78
|
+
"zod": "4.1.11"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "184b0a90459ce149ad65195c60ec0de45d71d75f"
|
|
84
84
|
}
|