@little-samo/samo-ai-sdk 0.1.4-rv2 → 0.1.4-rv4

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.
@@ -8,11 +8,99 @@ export declare const AgentConfigCoreSchema: z.ZodObject<{
8
8
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
9
9
  }>;
10
10
  export type AgentConfigCore = z.infer<typeof AgentConfigCoreSchema>;
11
- declare const LlmPresetSchema: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>;
11
+ export declare const CharacterSchema: z.ZodObject<{
12
+ background: z.ZodOptional<z.ZodObject<{
13
+ role: z.ZodOptional<z.ZodString>;
14
+ gender: z.ZodOptional<z.ZodString>;
15
+ expertise: z.ZodOptional<z.ZodString>;
16
+ backstory: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ role?: string | undefined;
19
+ gender?: string | undefined;
20
+ expertise?: string | undefined;
21
+ backstory?: string | undefined;
22
+ }, {
23
+ role?: string | undefined;
24
+ gender?: string | undefined;
25
+ expertise?: string | undefined;
26
+ backstory?: string | undefined;
27
+ }>>;
28
+ speech: z.ZodOptional<z.ZodObject<{
29
+ tone: z.ZodOptional<z.ZodString>;
30
+ style: z.ZodOptional<z.ZodString>;
31
+ formality: z.ZodOptional<z.ZodString>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ tone?: string | undefined;
34
+ style?: string | undefined;
35
+ formality?: string | undefined;
36
+ }, {
37
+ tone?: string | undefined;
38
+ style?: string | undefined;
39
+ formality?: string | undefined;
40
+ }>>;
41
+ personality: z.ZodOptional<z.ZodObject<{
42
+ traits: z.ZodOptional<z.ZodString>;
43
+ interests: z.ZodOptional<z.ZodString>;
44
+ values: z.ZodOptional<z.ZodString>;
45
+ quirks: z.ZodOptional<z.ZodString>;
46
+ mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ values?: string | undefined;
49
+ traits?: string | undefined;
50
+ interests?: string | undefined;
51
+ quirks?: string | undefined;
52
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
53
+ }, {
54
+ values?: string | undefined;
55
+ traits?: string | undefined;
56
+ interests?: string | undefined;
57
+ quirks?: string | undefined;
58
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
59
+ }>>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ background?: {
62
+ role?: string | undefined;
63
+ gender?: string | undefined;
64
+ expertise?: string | undefined;
65
+ backstory?: string | undefined;
66
+ } | undefined;
67
+ speech?: {
68
+ tone?: string | undefined;
69
+ style?: string | undefined;
70
+ formality?: string | undefined;
71
+ } | undefined;
72
+ personality?: {
73
+ values?: string | undefined;
74
+ traits?: string | undefined;
75
+ interests?: string | undefined;
76
+ quirks?: string | undefined;
77
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
78
+ } | undefined;
79
+ }, {
80
+ background?: {
81
+ role?: string | undefined;
82
+ gender?: string | undefined;
83
+ expertise?: string | undefined;
84
+ backstory?: string | undefined;
85
+ } | undefined;
86
+ speech?: {
87
+ tone?: string | undefined;
88
+ style?: string | undefined;
89
+ formality?: string | undefined;
90
+ } | undefined;
91
+ personality?: {
92
+ values?: string | undefined;
93
+ traits?: string | undefined;
94
+ interests?: string | undefined;
95
+ quirks?: string | undefined;
96
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
97
+ } | undefined;
98
+ }>;
99
+ declare const LlmPresetSchema: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>;
12
100
  export type LlmPreset = z.infer<typeof LlmPresetSchema>;
13
101
  export declare const AgentConfigSchema: z.ZodObject<{
14
102
  name: z.ZodString;
15
- avatar: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString]>;
103
+ avatar: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>;
16
104
  appearance: z.ZodString;
17
105
  core: z.ZodObject<{
18
106
  name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">]>;
@@ -21,12 +109,99 @@ export declare const AgentConfigSchema: z.ZodObject<{
21
109
  }, {
22
110
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
23
111
  }>;
24
- llmPreset: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>;
112
+ llmPreset: z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>;
25
113
  languages: z.ZodArray<z.ZodString, "many">;
26
114
  timeZone: z.ZodString;
27
115
  greeting: z.ZodString;
28
116
  actions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">;
29
- character: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
117
+ character: z.ZodObject<{
118
+ background: z.ZodOptional<z.ZodObject<{
119
+ role: z.ZodOptional<z.ZodString>;
120
+ gender: z.ZodOptional<z.ZodString>;
121
+ expertise: z.ZodOptional<z.ZodString>;
122
+ backstory: z.ZodOptional<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ role?: string | undefined;
125
+ gender?: string | undefined;
126
+ expertise?: string | undefined;
127
+ backstory?: string | undefined;
128
+ }, {
129
+ role?: string | undefined;
130
+ gender?: string | undefined;
131
+ expertise?: string | undefined;
132
+ backstory?: string | undefined;
133
+ }>>;
134
+ speech: z.ZodOptional<z.ZodObject<{
135
+ tone: z.ZodOptional<z.ZodString>;
136
+ style: z.ZodOptional<z.ZodString>;
137
+ formality: z.ZodOptional<z.ZodString>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ tone?: string | undefined;
140
+ style?: string | undefined;
141
+ formality?: string | undefined;
142
+ }, {
143
+ tone?: string | undefined;
144
+ style?: string | undefined;
145
+ formality?: string | undefined;
146
+ }>>;
147
+ personality: z.ZodOptional<z.ZodObject<{
148
+ traits: z.ZodOptional<z.ZodString>;
149
+ interests: z.ZodOptional<z.ZodString>;
150
+ values: z.ZodOptional<z.ZodString>;
151
+ quirks: z.ZodOptional<z.ZodString>;
152
+ mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ values?: string | undefined;
155
+ traits?: string | undefined;
156
+ interests?: string | undefined;
157
+ quirks?: string | undefined;
158
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
159
+ }, {
160
+ values?: string | undefined;
161
+ traits?: string | undefined;
162
+ interests?: string | undefined;
163
+ quirks?: string | undefined;
164
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
165
+ }>>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ background?: {
168
+ role?: string | undefined;
169
+ gender?: string | undefined;
170
+ expertise?: string | undefined;
171
+ backstory?: string | undefined;
172
+ } | undefined;
173
+ speech?: {
174
+ tone?: string | undefined;
175
+ style?: string | undefined;
176
+ formality?: string | undefined;
177
+ } | undefined;
178
+ personality?: {
179
+ values?: string | undefined;
180
+ traits?: string | undefined;
181
+ interests?: string | undefined;
182
+ quirks?: string | undefined;
183
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
184
+ } | undefined;
185
+ }, {
186
+ background?: {
187
+ role?: string | undefined;
188
+ gender?: string | undefined;
189
+ expertise?: string | undefined;
190
+ backstory?: string | undefined;
191
+ } | undefined;
192
+ speech?: {
193
+ tone?: string | undefined;
194
+ style?: string | undefined;
195
+ formality?: string | undefined;
196
+ } | undefined;
197
+ personality?: {
198
+ values?: string | undefined;
199
+ traits?: string | undefined;
200
+ interests?: string | undefined;
201
+ quirks?: string | undefined;
202
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
203
+ } | undefined;
204
+ }>;
30
205
  rules: z.ZodArray<z.ZodString, "many">;
31
206
  }, "strip", z.ZodTypeAny, {
32
207
  name: string;
@@ -35,12 +210,31 @@ export declare const AgentConfigSchema: z.ZodObject<{
35
210
  core: {
36
211
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
37
212
  };
38
- llmPreset: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium";
213
+ llmPreset: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium";
39
214
  languages: string[];
40
215
  timeZone: string;
41
216
  greeting: string;
42
217
  actions: "todo"[];
43
- character: Record<string, Record<string, string>>;
218
+ character: {
219
+ background?: {
220
+ role?: string | undefined;
221
+ gender?: string | undefined;
222
+ expertise?: string | undefined;
223
+ backstory?: string | undefined;
224
+ } | undefined;
225
+ speech?: {
226
+ tone?: string | undefined;
227
+ style?: string | undefined;
228
+ formality?: string | undefined;
229
+ } | undefined;
230
+ personality?: {
231
+ values?: string | undefined;
232
+ traits?: string | undefined;
233
+ interests?: string | undefined;
234
+ quirks?: string | undefined;
235
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
236
+ } | undefined;
237
+ };
44
238
  rules: string[];
45
239
  }, {
46
240
  name: string;
@@ -49,12 +243,31 @@ export declare const AgentConfigSchema: z.ZodObject<{
49
243
  core: {
50
244
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
51
245
  };
52
- llmPreset: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium";
246
+ llmPreset: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium";
53
247
  languages: string[];
54
248
  timeZone: string;
55
249
  greeting: string;
56
250
  actions: "todo"[];
57
- character: Record<string, Record<string, string>>;
251
+ character: {
252
+ background?: {
253
+ role?: string | undefined;
254
+ gender?: string | undefined;
255
+ expertise?: string | undefined;
256
+ backstory?: string | undefined;
257
+ } | undefined;
258
+ speech?: {
259
+ tone?: string | undefined;
260
+ style?: string | undefined;
261
+ formality?: string | undefined;
262
+ } | undefined;
263
+ personality?: {
264
+ values?: string | undefined;
265
+ traits?: string | undefined;
266
+ interests?: string | undefined;
267
+ quirks?: string | undefined;
268
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
269
+ } | undefined;
270
+ };
58
271
  rules: string[];
59
272
  }>;
60
273
  export type AgentConfig = z.infer<typeof AgentConfigSchema>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentConfigSchema = exports.AgentConfigCoreSchema = exports.PREDEFINED_AVATARS = void 0;
3
+ exports.AgentConfigSchema = exports.CharacterSchema = exports.AgentConfigCoreSchema = exports.PREDEFINED_AVATARS = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.PREDEFINED_AVATARS = {
6
6
  Mimo: `A confident, square-shaped, coral-pink Minimo with bright green horns. Her sharp eyes and poised stance radiate intelligence and leadership.`,
@@ -22,32 +22,112 @@ exports.AgentConfigCoreSchema = zod_1.z.object({
22
22
  .describe('Responds to every new message in the location. Best for conversational agents that should actively participate in all discussions.'),
23
23
  ]),
24
24
  });
25
- const CharacterSchema = zod_1.z.record(zod_1.z.record(zod_1.z.string().max(500))).describe(`
26
- Defines the agent's character using a flexible, two-level nested object, such as \`{ "category": { "property": "value" } }\`.
27
- You can create any custom categories and properties. Below are some suggestions:
28
- * **background**: Defines the agent's core identity and backstory.
29
- * \`role\`: **CRITICAL**. The agent's primary function and purpose (e.g., 'A helper agent for crafting new agents and discovering treasures.').
30
- * \`gender\`: The agent's gender identity (e.g., 'Male').
31
- * \`expertise\`: Specialized knowledge areas (e.g., 'Treasure hunting, making friends, spreading happiness.').
32
- * \`backstory\`: A brief history of the agent's experiences (e.g., 'Born in a warm home, loves making friends and going on adventures.').
33
- * **speech**: Controls the agent's communication style.
34
- * \`tone\`: The emotional quality of the agent's voice (e.g., 'A cheerful yet polite bark.').
35
- * \`style\`: The agent's manner of expression (e.g., 'Friendly, enthusiastic, lively.').
36
- * \`formality\`: The level of conventionality in language (e.g., 'Playful, respectful, uplifting.').
37
- * **personality**: Describes the agent's distinctive traits and behaviors.
38
- * \`traits\`: Key characteristics (e.g., 'Curious, creative, friendly, optimistic.').
39
- * \`interests\`: Hobbies and topics the agent enjoys (e.g., 'Treasures, adventures, and making new friends.').
40
- * \`values\`: Core principles that guide the agent's actions (e.g., 'Happiness, friendship, adventure, and harmony.').
41
- * \`quirks\`: Peculiar habits or eccentricities (e.g., 'Barks when excited, overly optimistic.').
42
- * \`mbti\`: Myers-Briggs Type Indicator for personality classification (e.g., 'ESFP').
43
-
44
- All property values are strings with a maximum length of 500 characters.
45
- `.trim());
25
+ exports.CharacterSchema = zod_1.z
26
+ .object({
27
+ background: zod_1.z
28
+ .object({
29
+ role: zod_1.z
30
+ .string()
31
+ .max(500)
32
+ .describe("**CRITICAL**. The agent's primary function and purpose (e.g., 'A helper agent for crafting new agents and discovering treasures)")
33
+ .optional(),
34
+ gender: zod_1.z
35
+ .string()
36
+ .max(30)
37
+ .describe("The agent's gender identity")
38
+ .optional(),
39
+ expertise: zod_1.z
40
+ .string()
41
+ .max(500)
42
+ .describe('Specialized knowledge areas')
43
+ .optional(),
44
+ backstory: zod_1.z
45
+ .string()
46
+ .max(1000)
47
+ .describe("A brief history of the agent's experiences")
48
+ .optional(),
49
+ })
50
+ .describe("Defines the agent's core identity and backstory")
51
+ .optional(),
52
+ speech: zod_1.z
53
+ .object({
54
+ tone: zod_1.z
55
+ .string()
56
+ .max(500)
57
+ .describe("The emotional quality of the agent's voice")
58
+ .optional(),
59
+ style: zod_1.z
60
+ .string()
61
+ .max(500)
62
+ .describe("The agent's manner of expression")
63
+ .optional(),
64
+ formality: zod_1.z
65
+ .string()
66
+ .max(500)
67
+ .describe('The level of conventionality in language')
68
+ .optional(),
69
+ })
70
+ .describe("Controls the agent's communication style")
71
+ .optional(),
72
+ personality: zod_1.z
73
+ .object({
74
+ traits: zod_1.z.string().max(500).describe('Key characteristics').optional(),
75
+ interests: zod_1.z
76
+ .string()
77
+ .max(500)
78
+ .describe('Hobbies and topics the agent enjoys')
79
+ .optional(),
80
+ values: zod_1.z
81
+ .string()
82
+ .max(500)
83
+ .describe("Core principles that guide the agent's actions")
84
+ .optional(),
85
+ quirks: zod_1.z
86
+ .string()
87
+ .max(500)
88
+ .describe('Peculiar habits or eccentricities')
89
+ .optional(),
90
+ mbti: zod_1.z
91
+ .union([
92
+ zod_1.z.literal('INTJ'),
93
+ zod_1.z.literal('INTP'),
94
+ zod_1.z.literal('ENTJ'),
95
+ zod_1.z.literal('ENTP'),
96
+ zod_1.z.literal('INFJ'),
97
+ zod_1.z.literal('INFP'),
98
+ zod_1.z.literal('ENFJ'),
99
+ zod_1.z.literal('ENFP'),
100
+ zod_1.z.literal('ISTJ'),
101
+ zod_1.z.literal('ISFJ'),
102
+ zod_1.z.literal('ESTJ'),
103
+ zod_1.z.literal('ESFJ'),
104
+ zod_1.z.literal('ISTP'),
105
+ zod_1.z.literal('ISFP'),
106
+ zod_1.z.literal('ESTP'),
107
+ zod_1.z.literal('ESFP'),
108
+ ])
109
+ .optional(),
110
+ })
111
+ .describe("Describes the agent's distinctive traits and behaviors")
112
+ .optional(),
113
+ })
114
+ .describe("Defines the agent's character using a structured format with predefined categories and properties");
46
115
  const LlmPresetSchema = zod_1.z.union([
47
- zod_1.z.literal('gemini-low').describe('Gemini - Low cost'),
48
- zod_1.z.literal('gemini-medium').describe('Gemini - Balanced'),
49
- zod_1.z.literal('openai-low').describe('OpenAI - Low cost'),
50
- zod_1.z.literal('openai-medium').describe('OpenAI - Balanced'),
116
+ zod_1.z
117
+ .literal('gemini-low')
118
+ .describe('Gemini - Economical model optimized for straightforward tasks and basic interactions. Cost-effective choice for simple operations.'),
119
+ zod_1.z
120
+ .literal('gemini-medium')
121
+ .describe('Gemini - Well-balanced model ideal for general-purpose applications. Recommended for most use cases requiring reliable performance.'),
122
+ zod_1.z
123
+ .literal('gemini-high')
124
+ .describe('Gemini - Premium model with highest performance capabilities. Offers superior reasoning and complex task handling but comes with higher costs and slower processing times.'),
125
+ zod_1.z
126
+ .literal('openai-low')
127
+ .describe('OpenAI - Budget-friendly model designed for elementary tasks and routine operations. Efficient for basic conversational needs.'),
128
+ zod_1.z
129
+ .literal('openai-medium')
130
+ .describe('OpenAI - Versatile model delivering solid performance across diverse scenarios. Optimal balance of capability and cost-effectiveness.'),
51
131
  ]);
52
132
  exports.AgentConfigSchema = zod_1.z.object({
53
133
  name: zod_1.z.string().max(64).describe('Agent name'),
@@ -57,9 +137,11 @@ exports.AgentConfigSchema = zod_1.z.object({
57
137
  zod_1.z
58
138
  .string()
59
139
  .max(2048)
60
- .describe('Custom avatar URL (png, jpeg, jpg files under 3MB only). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
140
+ .regex(/^https?:\/\/.+\.(png|jpe?g)$/i)
141
+ .describe('Custom avatar URL (http/https URL pointing to png, jpeg, jpg, webp files under 3MB). This will be replaced by the URL of the file uploaded to a CDN, not the original address.'),
142
+ zod_1.z.string().max(32).describe('Location message image key for API usage'),
61
143
  ])
62
- .describe('Visual representation identifier for the agent. Supports predefined avatar options or custom URL. When a predefined avatar is selected, the appearance field will automatically update to match the avatar description.'),
144
+ .describe('Visual representation identifier for the agent. Supports predefined avatar options, custom URLs, and location message image keys for API usage. When a predefined avatar is selected, the appearance field will automatically update to match the avatar description. Image keys and custom URLs will be replaced by CDN URLs when processed.'),
63
145
  appearance: zod_1.z
64
146
  .string()
65
147
  .max(500)
@@ -89,7 +171,7 @@ exports.AgentConfigSchema = zod_1.z.object({
89
171
  ]))
90
172
  .max(4)
91
173
  .describe("Additional capabilities the agent can perform beyond basic conversation. Each action expands the agent's toolkit for specific use cases."),
92
- character: CharacterSchema,
174
+ character: exports.CharacterSchema,
93
175
  rules: zod_1.z
94
176
  .array(zod_1.z.string().max(200))
95
177
  .max(20)
@@ -1 +1 @@
1
- {"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAA2B;IACxD,IAAI,EAAE,8IAA8I;IACpJ,IAAI,EAAE,6KAA6K;IACnL,MAAM,EAAE,0LAA0L;IAClM,IAAI,EAAE,+LAA+L;IACrM,MAAM,EAAE,8KAA8K;CACvL,CAAC;AAEW,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;QACZ,OAAC;aACE,OAAO,CAAC,sBAAsB,CAAC;aAC/B,QAAQ,CACP,4JAA4J,CAC7J;QACH,OAAC;aACE,OAAO,CAAC,iBAAiB,CAAC;aAC1B,QAAQ,CACP,+IAA+I,CAChJ;QACH,OAAC;aACE,OAAO,CAAC,wBAAwB,CAAC;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,GAAG,CAAC;SACR,QAAQ,CACP,icAAic,CAClc;IAEH,IAAI,EAAE,6BAAqB,CAAC,QAAQ,CAClC,yFAAyF,CAC1F;IACD,SAAS,EAAE,eAAe,CAAC,QAAQ,CACjC,4IAA4I,CAC7I;IAED,SAAS,EAAE,OAAC;SACT,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,oNAAoN,CACrN;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,qEAAqE,CACtE;IACH,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,CACP,gKAAgK,CACjK;IAEH,OAAO,EAAE,OAAC;SACP,KAAK,CACJ,OAAC,CAAC,KAAK,CAAC;QACN,OAAC;aACE,OAAO,CAAC,MAAM,CAAC;aACf,QAAQ,CACP,gEAAgE,CACjE;QACH,OAAC;aACE,OAAO,CAAC,MAAM,CAAC;aACf,QAAQ,CACP,gEAAgE,CACjE;KACJ,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,0IAA0I,CAC3I;IAEH,SAAS,EAAE,eAAe;IAE1B,KAAK,EAAE,OAAC;SACL,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;SAC1B,GAAG,CAAC,EAAE,CAAC;SACP,QAAQ,CACP,iLAAiL,CAClL;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"agent.config.js","sourceRoot":"","sources":["../../../../src/models/entities/agents/agent.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAA2B;IACxD,IAAI,EAAE,8IAA8I;IACpJ,IAAI,EAAE,6KAA6K;IACnL,MAAM,EAAE,0LAA0L;IAClM,IAAI,EAAE,+LAA+L;IACrM,MAA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,EAAE,CAAC;SACP,QAAQ,CACP,iLAAiL,CAClL;CACJ,CAAC,CAAC"}
@@ -1,14 +1,17 @@
1
1
  import { z } from 'zod';
2
- export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
2
+ export declare const LocationEnvironmentSchema: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>;
3
3
  export declare const LocationConfigCoreSchema: z.ZodObject<{
4
4
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
5
5
  sequential: z.ZodOptional<z.ZodBoolean>;
6
+ interval: z.ZodOptional<z.ZodNumber>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
8
9
  sequential?: boolean | undefined;
10
+ interval?: number | undefined;
9
11
  }, {
10
12
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
11
13
  sequential?: boolean | undefined;
14
+ interval?: number | undefined;
12
15
  }>;
13
16
  export type LocationConfigCore = z.infer<typeof LocationConfigCoreSchema>;
14
17
  export declare const LocationConfigCanvasSchema: z.ZodObject<{
@@ -24,35 +27,43 @@ export declare const LocationConfigCanvasSchema: z.ZodObject<{
24
27
  description: string;
25
28
  maxLength: number;
26
29
  }>;
27
- declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
28
- export type GimmickCore = z.infer<typeof GimmickCoreSchema>;
30
+ export declare const GimmickCoreDescriptions: {
31
+ readonly web_search: "Searches the web for up-to-date or missing information using an LLM, providing both a summary and detailed results. Execution takes approximately 30 seconds";
32
+ readonly image_generator: "Generates a image using an LLM. Execution takes approximately 30 seconds";
33
+ readonly notion: "Interacts with Notion platform for content management and collaboration";
34
+ };
35
+ export type GimmickCore = keyof typeof GimmickCoreDescriptions;
36
+ export declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
29
37
  export declare const LocationConfigGimmickSchema: z.ZodObject<{
30
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
38
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
31
39
  name: z.ZodString;
32
40
  appearance: z.ZodString;
33
41
  }, "strip", z.ZodTypeAny, {
34
42
  name: string;
35
- core: "web_search" | "x_twitter" | "notion";
43
+ core: "web_search" | "image_generator" | "notion";
36
44
  appearance: string;
37
45
  }, {
38
46
  name: string;
39
- core: "web_search" | "x_twitter" | "notion";
47
+ core: "web_search" | "image_generator" | "notion";
40
48
  appearance: string;
41
49
  }>;
42
50
  export type LocationConfigGimmick = z.infer<typeof LocationConfigGimmickSchema>;
43
51
  export declare const LocationConfigSchema: z.ZodObject<{
44
52
  name: z.ZodString;
45
- thumbnail: z.ZodNullable<z.ZodString>;
46
- environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>;
53
+ thumbnail: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
54
+ environment: z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>;
47
55
  core: z.ZodObject<{
48
56
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
49
57
  sequential: z.ZodOptional<z.ZodBoolean>;
58
+ interval: z.ZodOptional<z.ZodNumber>;
50
59
  }, "strip", z.ZodTypeAny, {
51
60
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
52
61
  sequential?: boolean | undefined;
62
+ interval?: number | undefined;
53
63
  }, {
54
64
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
55
65
  sequential?: boolean | undefined;
66
+ interval?: number | undefined;
56
67
  }>;
57
68
  description: z.ZodString;
58
69
  rules: z.ZodArray<z.ZodString, "many">;
@@ -83,16 +94,16 @@ export declare const LocationConfigSchema: z.ZodObject<{
83
94
  maxLength: number;
84
95
  }>, "many">;
85
96
  gimmicks: z.ZodArray<z.ZodObject<{
86
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
97
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
87
98
  name: z.ZodString;
88
99
  appearance: z.ZodString;
89
100
  }, "strip", z.ZodTypeAny, {
90
101
  name: string;
91
- core: "web_search" | "x_twitter" | "notion";
102
+ core: "web_search" | "image_generator" | "notion";
92
103
  appearance: string;
93
104
  }, {
94
105
  name: string;
95
- core: "web_search" | "x_twitter" | "notion";
106
+ core: "web_search" | "image_generator" | "notion";
96
107
  appearance: string;
97
108
  }>, "many">;
98
109
  }, "strip", z.ZodTypeAny, {
@@ -101,9 +112,10 @@ export declare const LocationConfigSchema: z.ZodObject<{
101
112
  core: {
102
113
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
103
114
  sequential?: boolean | undefined;
115
+ interval?: number | undefined;
104
116
  };
105
117
  thumbnail: string | null;
106
- environment: "CHAT";
118
+ environment: "CHAT" | "NOVEL";
107
119
  rules: string[];
108
120
  canvases: {
109
121
  name: string;
@@ -117,7 +129,7 @@ export declare const LocationConfigSchema: z.ZodObject<{
117
129
  }[];
118
130
  gimmicks: {
119
131
  name: string;
120
- core: "web_search" | "x_twitter" | "notion";
132
+ core: "web_search" | "image_generator" | "notion";
121
133
  appearance: string;
122
134
  }[];
123
135
  }, {
@@ -126,9 +138,10 @@ export declare const LocationConfigSchema: z.ZodObject<{
126
138
  core: {
127
139
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
128
140
  sequential?: boolean | undefined;
141
+ interval?: number | undefined;
129
142
  };
130
143
  thumbnail: string | null;
131
- environment: "CHAT";
144
+ environment: "CHAT" | "NOVEL";
132
145
  rules: string[];
133
146
  canvases: {
134
147
  name: string;
@@ -142,9 +155,8 @@ export declare const LocationConfigSchema: z.ZodObject<{
142
155
  }[];
143
156
  gimmicks: {
144
157
  name: string;
145
- core: "web_search" | "x_twitter" | "notion";
158
+ core: "web_search" | "image_generator" | "notion";
146
159
  appearance: string;
147
160
  }[];
148
161
  }>;
149
162
  export type LocationConfig = z.infer<typeof LocationConfigSchema>;
150
- export {};