@little-samo/samo-ai-sdk 0.3.3 → 0.4.1

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.
Files changed (29) hide show
  1. package/dist/dto/entities/agents/agent.requests.d.ts +58 -30
  2. package/dist/dto/entities/gimmicks/gimmick.config.d.ts +2 -3
  3. package/dist/dto/entities/gimmicks/gimmick.config.js +1 -2
  4. package/dist/dto/entities/gimmicks/gimmick.config.js.map +1 -1
  5. package/dist/dto/entities/users/user.d.ts +9 -0
  6. package/dist/dto/entities/users/user.requests.d.ts +41 -1
  7. package/dist/dto/entities/users/user.requests.js +13 -1
  8. package/dist/dto/entities/users/user.requests.js.map +1 -1
  9. package/dist/dto/images/image.requests.d.ts +17 -0
  10. package/dist/dto/images/image.requests.js +9 -0
  11. package/dist/dto/images/image.requests.js.map +1 -0
  12. package/dist/dto/images/index.d.ts +1 -0
  13. package/dist/dto/images/index.js +18 -0
  14. package/dist/dto/images/index.js.map +1 -0
  15. package/dist/dto/index.d.ts +1 -0
  16. package/dist/dto/index.js +1 -0
  17. package/dist/dto/index.js.map +1 -1
  18. package/dist/dto/locations/location.preset.d.ts +5 -1
  19. package/dist/dto/locations/location.preset.js.map +1 -1
  20. package/dist/dto/locations/location.requests.d.ts +1067 -169
  21. package/dist/dto/locations/location.requests.js +13 -8
  22. package/dist/dto/locations/location.requests.js.map +1 -1
  23. package/dist/models/entities/agents/agent.config.d.ts +25 -9
  24. package/dist/models/entities/agents/agent.config.js +13 -3
  25. package/dist/models/entities/agents/agent.config.js.map +1 -1
  26. package/dist/models/locations/location.config.d.ts +8 -8
  27. package/dist/models/locations/location.config.js +1 -1
  28. package/dist/models/locations/location.config.js.map +1 -1
  29. package/package.json +3 -3
@@ -42,13 +42,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
42
42
  config: z.ZodObject<{
43
43
  name: z.ZodOptional<z.ZodString>;
44
44
  avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
45
+ referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
45
46
  appearance: z.ZodOptional<z.ZodString>;
46
47
  core: z.ZodOptional<z.ZodObject<{
47
- name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">]>;
48
+ name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">, z.ZodLiteral<"no_action">]>;
48
49
  }, "strip", z.ZodTypeAny, {
49
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
50
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
50
51
  }, {
51
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
52
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
52
53
  }>>;
53
54
  llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"free">, z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"xai-low">, z.ZodLiteral<"xai-medium">]>>;
54
55
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -59,16 +60,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
59
60
  background: z.ZodOptional<z.ZodObject<{
60
61
  role: z.ZodOptional<z.ZodString>;
61
62
  gender: z.ZodOptional<z.ZodString>;
63
+ age: z.ZodOptional<z.ZodString>;
62
64
  expertise: z.ZodOptional<z.ZodString>;
63
65
  backstory: z.ZodOptional<z.ZodString>;
64
66
  }, "strip", z.ZodTypeAny, {
65
67
  role?: string | undefined;
66
68
  gender?: string | undefined;
69
+ age?: string | undefined;
67
70
  expertise?: string | undefined;
68
71
  backstory?: string | undefined;
69
72
  }, {
70
73
  role?: string | undefined;
71
74
  gender?: string | undefined;
75
+ age?: string | undefined;
72
76
  expertise?: string | undefined;
73
77
  backstory?: string | undefined;
74
78
  }>>;
@@ -108,6 +112,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
108
112
  background?: {
109
113
  role?: string | undefined;
110
114
  gender?: string | undefined;
115
+ age?: string | undefined;
111
116
  expertise?: string | undefined;
112
117
  backstory?: string | undefined;
113
118
  } | undefined;
@@ -127,6 +132,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
127
132
  background?: {
128
133
  role?: string | undefined;
129
134
  gender?: string | undefined;
135
+ age?: string | undefined;
130
136
  expertise?: string | undefined;
131
137
  backstory?: string | undefined;
132
138
  } | undefined;
@@ -145,12 +151,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
145
151
  }>>;
146
152
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
153
  }, "strict", z.ZodTypeAny, {
148
- name?: string | undefined;
149
154
  avatar?: string | undefined;
155
+ referenceAvatar?: string | undefined;
150
156
  appearance?: string | undefined;
157
+ name?: string | undefined;
151
158
  core?: {
152
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
159
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
153
160
  } | undefined;
161
+ rules?: string[] | undefined;
154
162
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
155
163
  languages?: string[] | undefined;
156
164
  timeZone?: string | undefined;
@@ -160,6 +168,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
160
168
  background?: {
161
169
  role?: string | undefined;
162
170
  gender?: string | undefined;
171
+ age?: string | undefined;
163
172
  expertise?: string | undefined;
164
173
  backstory?: string | undefined;
165
174
  } | undefined;
@@ -176,14 +185,15 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
176
185
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
177
186
  } | undefined;
178
187
  } | undefined;
179
- rules?: string[] | undefined;
180
188
  }, {
181
- name?: string | undefined;
182
189
  avatar?: string | undefined;
190
+ referenceAvatar?: string | undefined;
183
191
  appearance?: string | undefined;
192
+ name?: string | undefined;
184
193
  core?: {
185
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
194
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
186
195
  } | undefined;
196
+ rules?: string[] | undefined;
187
197
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
188
198
  languages?: string[] | undefined;
189
199
  timeZone?: string | undefined;
@@ -193,6 +203,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
193
203
  background?: {
194
204
  role?: string | undefined;
195
205
  gender?: string | undefined;
206
+ age?: string | undefined;
196
207
  expertise?: string | undefined;
197
208
  backstory?: string | undefined;
198
209
  } | undefined;
@@ -209,16 +220,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
209
220
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
210
221
  } | undefined;
211
222
  } | undefined;
212
- rules?: string[] | undefined;
213
223
  }>;
214
224
  }, "strip", z.ZodTypeAny, {
215
225
  config: {
216
- name?: string | undefined;
217
226
  avatar?: string | undefined;
227
+ referenceAvatar?: string | undefined;
218
228
  appearance?: string | undefined;
229
+ name?: string | undefined;
219
230
  core?: {
220
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
231
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
221
232
  } | undefined;
233
+ rules?: string[] | undefined;
222
234
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
223
235
  languages?: string[] | undefined;
224
236
  timeZone?: string | undefined;
@@ -228,6 +240,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
228
240
  background?: {
229
241
  role?: string | undefined;
230
242
  gender?: string | undefined;
243
+ age?: string | undefined;
231
244
  expertise?: string | undefined;
232
245
  backstory?: string | undefined;
233
246
  } | undefined;
@@ -244,17 +257,18 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
244
257
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
245
258
  } | undefined;
246
259
  } | undefined;
247
- rules?: string[] | undefined;
248
260
  };
249
261
  agentId: bigint;
250
262
  }, {
251
263
  config: {
252
- name?: string | undefined;
253
264
  avatar?: string | undefined;
265
+ referenceAvatar?: string | undefined;
254
266
  appearance?: string | undefined;
267
+ name?: string | undefined;
255
268
  core?: {
256
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
269
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
257
270
  } | undefined;
271
+ rules?: string[] | undefined;
258
272
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
259
273
  languages?: string[] | undefined;
260
274
  timeZone?: string | undefined;
@@ -264,6 +278,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
264
278
  background?: {
265
279
  role?: string | undefined;
266
280
  gender?: string | undefined;
281
+ age?: string | undefined;
267
282
  expertise?: string | undefined;
268
283
  backstory?: string | undefined;
269
284
  } | undefined;
@@ -280,7 +295,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
280
295
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
281
296
  } | undefined;
282
297
  } | undefined;
283
- rules?: string[] | undefined;
284
298
  };
285
299
  agentId: bigint;
286
300
  }>;
@@ -370,13 +384,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
370
384
  config: z.ZodObject<{
371
385
  name: z.ZodOptional<z.ZodString>;
372
386
  avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
387
+ referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
373
388
  appearance: z.ZodOptional<z.ZodString>;
374
389
  core: z.ZodOptional<z.ZodObject<{
375
- name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">]>;
390
+ name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">, z.ZodLiteral<"no_action">]>;
376
391
  }, "strip", z.ZodTypeAny, {
377
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
392
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
378
393
  }, {
379
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
394
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
380
395
  }>>;
381
396
  llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"free">, z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"xai-low">, z.ZodLiteral<"xai-medium">]>>;
382
397
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -387,16 +402,19 @@ export declare const CreateAgentSchema: z.ZodObject<{
387
402
  background: z.ZodOptional<z.ZodObject<{
388
403
  role: z.ZodOptional<z.ZodString>;
389
404
  gender: z.ZodOptional<z.ZodString>;
405
+ age: z.ZodOptional<z.ZodString>;
390
406
  expertise: z.ZodOptional<z.ZodString>;
391
407
  backstory: z.ZodOptional<z.ZodString>;
392
408
  }, "strip", z.ZodTypeAny, {
393
409
  role?: string | undefined;
394
410
  gender?: string | undefined;
411
+ age?: string | undefined;
395
412
  expertise?: string | undefined;
396
413
  backstory?: string | undefined;
397
414
  }, {
398
415
  role?: string | undefined;
399
416
  gender?: string | undefined;
417
+ age?: string | undefined;
400
418
  expertise?: string | undefined;
401
419
  backstory?: string | undefined;
402
420
  }>>;
@@ -436,6 +454,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
436
454
  background?: {
437
455
  role?: string | undefined;
438
456
  gender?: string | undefined;
457
+ age?: string | undefined;
439
458
  expertise?: string | undefined;
440
459
  backstory?: string | undefined;
441
460
  } | undefined;
@@ -455,6 +474,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
455
474
  background?: {
456
475
  role?: string | undefined;
457
476
  gender?: string | undefined;
477
+ age?: string | undefined;
458
478
  expertise?: string | undefined;
459
479
  backstory?: string | undefined;
460
480
  } | undefined;
@@ -473,12 +493,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
473
493
  }>>;
474
494
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
475
495
  }, "strict", z.ZodTypeAny, {
476
- name?: string | undefined;
477
496
  avatar?: string | undefined;
497
+ referenceAvatar?: string | undefined;
478
498
  appearance?: string | undefined;
499
+ name?: string | undefined;
479
500
  core?: {
480
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
501
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
481
502
  } | undefined;
503
+ rules?: string[] | undefined;
482
504
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
483
505
  languages?: string[] | undefined;
484
506
  timeZone?: string | undefined;
@@ -488,6 +510,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
488
510
  background?: {
489
511
  role?: string | undefined;
490
512
  gender?: string | undefined;
513
+ age?: string | undefined;
491
514
  expertise?: string | undefined;
492
515
  backstory?: string | undefined;
493
516
  } | undefined;
@@ -504,14 +527,15 @@ export declare const CreateAgentSchema: z.ZodObject<{
504
527
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
505
528
  } | undefined;
506
529
  } | undefined;
507
- rules?: string[] | undefined;
508
530
  }, {
509
- name?: string | undefined;
510
531
  avatar?: string | undefined;
532
+ referenceAvatar?: string | undefined;
511
533
  appearance?: string | undefined;
534
+ name?: string | undefined;
512
535
  core?: {
513
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
536
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
514
537
  } | undefined;
538
+ rules?: string[] | undefined;
515
539
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
516
540
  languages?: string[] | undefined;
517
541
  timeZone?: string | undefined;
@@ -521,6 +545,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
521
545
  background?: {
522
546
  role?: string | undefined;
523
547
  gender?: string | undefined;
548
+ age?: string | undefined;
524
549
  expertise?: string | undefined;
525
550
  backstory?: string | undefined;
526
551
  } | undefined;
@@ -537,16 +562,17 @@ export declare const CreateAgentSchema: z.ZodObject<{
537
562
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
538
563
  } | undefined;
539
564
  } | undefined;
540
- rules?: string[] | undefined;
541
565
  }>;
542
566
  }, "strip", z.ZodTypeAny, {
543
567
  config: {
544
- name?: string | undefined;
545
568
  avatar?: string | undefined;
569
+ referenceAvatar?: string | undefined;
546
570
  appearance?: string | undefined;
571
+ name?: string | undefined;
547
572
  core?: {
548
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
573
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
549
574
  } | undefined;
575
+ rules?: string[] | undefined;
550
576
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
551
577
  languages?: string[] | undefined;
552
578
  timeZone?: string | undefined;
@@ -556,6 +582,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
556
582
  background?: {
557
583
  role?: string | undefined;
558
584
  gender?: string | undefined;
585
+ age?: string | undefined;
559
586
  expertise?: string | undefined;
560
587
  backstory?: string | undefined;
561
588
  } | undefined;
@@ -572,16 +599,17 @@ export declare const CreateAgentSchema: z.ZodObject<{
572
599
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
573
600
  } | undefined;
574
601
  } | undefined;
575
- rules?: string[] | undefined;
576
602
  };
577
603
  }, {
578
604
  config: {
579
- name?: string | undefined;
580
605
  avatar?: string | undefined;
606
+ referenceAvatar?: string | undefined;
581
607
  appearance?: string | undefined;
608
+ name?: string | undefined;
582
609
  core?: {
583
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
610
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
584
611
  } | undefined;
612
+ rules?: string[] | undefined;
585
613
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
586
614
  languages?: string[] | undefined;
587
615
  timeZone?: string | undefined;
@@ -591,6 +619,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
591
619
  background?: {
592
620
  role?: string | undefined;
593
621
  gender?: string | undefined;
622
+ age?: string | undefined;
594
623
  expertise?: string | undefined;
595
624
  backstory?: string | undefined;
596
625
  } | undefined;
@@ -607,7 +636,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
607
636
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
608
637
  } | undefined;
609
638
  } | undefined;
610
- rules?: string[] | undefined;
611
639
  };
612
640
  }>;
613
641
  export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
@@ -2,9 +2,8 @@ import { z } from 'zod';
2
2
  export declare const GimmickCoreDescriptions: {
3
3
  readonly web_search: "Searches the web for real-time or missing information using an LLM. Returns both summary and detailed results. Takes ~30 seconds to execute";
4
4
  readonly image_generator: "Generates images from text prompts with optional reference images. Can modify existing images in context using text instructions. Takes ~30 seconds to execute";
5
- readonly character_image_generator: "Generates consistent character images using the gimmick's appearance as a base prompt to maintain character identity. Style defaults to \"anime style\" but can be customized (e.g., \"realistic\" for photorealistic). Optionally combines one image description from the images array with the base prompt";
6
- readonly scene_image_generator: "Generates scene images with one or more characters using reference images and appearance prompts. Each image in the images array includes a reference image and its Stable Diffusion-style appearance prompt for scene composition";
5
+ readonly character_image_generator: "Generates consistent character images using the gimmick's appearance as a base prompt to maintain character identity. Style defaults to \"anime style\" but can be customized (e.g., \"realistic\" for photorealistic). Supports reference images for character consistency";
7
6
  readonly notion: "Interacts with Notion for content management and collaboration";
8
7
  };
9
8
  export type GimmickCore = keyof typeof GimmickCoreDescriptions;
10
- export declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "scene_image_generator" | "notion">[]]>;
9
+ export declare const GimmickCoreSchema: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
@@ -5,8 +5,7 @@ const zod_1 = require("zod");
5
5
  exports.GimmickCoreDescriptions = {
6
6
  web_search: 'Searches the web for real-time or missing information using an LLM. Returns both summary and detailed results. Takes ~30 seconds to execute',
7
7
  image_generator: 'Generates images from text prompts with optional reference images. Can modify existing images in context using text instructions. Takes ~30 seconds to execute',
8
- character_image_generator: 'Generates consistent character images using the gimmick\'s appearance as a base prompt to maintain character identity. Style defaults to "anime style" but can be customized (e.g., "realistic" for photorealistic). Optionally combines one image description from the images array with the base prompt',
9
- scene_image_generator: 'Generates scene images with one or more characters using reference images and appearance prompts. Each image in the images array includes a reference image and its Stable Diffusion-style appearance prompt for scene composition',
8
+ character_image_generator: 'Generates consistent character images using the gimmick\'s appearance as a base prompt to maintain character identity. Style defaults to "anime style" but can be customized (e.g., "realistic" for photorealistic). Supports reference images for character consistency',
10
9
  notion: 'Interacts with Notion for content management and collaboration',
11
10
  };
12
11
  exports.GimmickCoreSchema = zod_1.z.union(Object.keys(exports.GimmickCoreDescriptions).map((key) => zod_1.z.literal(key).describe(exports.GimmickCoreDescriptions[key])));
@@ -1 +1 @@
1
- {"version":3,"file":"gimmick.config.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/gimmick.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG;IACrC,UAAU,EACR,6IAA6I;IAC/I,eAAe,EACb,gKAAgK;IAClK,yBAAyB,EACvB,2SAA2S;IAC7S,qBAAqB,EACnB,oOAAoO;IACtO,MAAM,EAAE,gEAAgE;CAChE,CAAC;AAIE,QAAA,iBAAiB,GAAG,OAAC,CAAC,KAAK,CACtC,MAAM,CAAC,IAAI,CAAC,+BAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAC/C,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,+BAAuB,CAAC,GAAkB,CAAC,CAAC,CAKrE,CACF,CAAC"}
1
+ {"version":3,"file":"gimmick.config.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/gimmick.config.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG;IACrC,UAAU,EACR,6IAA6I;IAC/I,eAAe,EACb,gKAAgK;IAClK,yBAAyB,EACvB,0QAA0Q;IAC5Q,MAAM,EAAE,gEAAgE;CAChE,CAAC;AAIE,QAAA,iBAAiB,GAAG,OAAC,CAAC,KAAK,CACtC,MAAM,CAAC,IAAI,CAAC,+BAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAC/C,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,+BAAuB,CAAC,GAAkB,CAAC,CAAC,CAKrE,CACF,CAAC"}
@@ -6,6 +6,8 @@ export interface UserPublicDto {
6
6
  firstName: string | null;
7
7
  lastName: string | null;
8
8
  profilePicture: string | null;
9
+ avatar: string | null;
10
+ referenceAvatar: string | null;
9
11
  appearance: string | null;
10
12
  }
11
13
  export interface UserPrivateDto extends UserPublicDto {
@@ -17,6 +19,13 @@ export interface UserPrivateDto extends UserPublicDto {
17
19
  defaultCredits: number;
18
20
  maxAgents: number;
19
21
  maxLocationAgents: number;
22
+ maxLocationAgentsHardLimit: number;
20
23
  maxAgentLocations: number;
21
24
  isAllowSensitive: boolean;
22
25
  }
26
+ export interface UserAvatarDto {
27
+ name: string;
28
+ avatar: string | null;
29
+ referenceAvatar: string | null;
30
+ appearance: string;
31
+ }
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { UserPrivateDto, UserPublicDto } from './user';
2
+ import { UserAvatarDto, UserPrivateDto, UserPublicDto } from './user';
3
3
  export declare const GetCurrentUserQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4
4
  export type GetCurrentUserQueryDto = z.infer<typeof GetCurrentUserQuerySchema>;
5
5
  export interface GetCurrentUserResponseDto {
@@ -10,6 +10,8 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
10
10
  nickname: z.ZodOptional<z.ZodString>;
11
11
  birthDate: z.ZodOptional<z.ZodDate>;
12
12
  profilePicture: z.ZodOptional<z.ZodString>;
13
+ avatar: z.ZodOptional<z.ZodString>;
14
+ referenceAvatar: z.ZodOptional<z.ZodString>;
13
15
  appearance: z.ZodOptional<z.ZodString>;
14
16
  isAllowSensitive: z.ZodOptional<z.ZodBoolean>;
15
17
  }, "strip", z.ZodTypeAny, {
@@ -17,6 +19,8 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
17
19
  nickname?: string | undefined;
18
20
  birthDate?: Date | undefined;
19
21
  profilePicture?: string | undefined;
22
+ avatar?: string | undefined;
23
+ referenceAvatar?: string | undefined;
20
24
  appearance?: string | undefined;
21
25
  isAllowSensitive?: boolean | undefined;
22
26
  }, {
@@ -24,6 +28,8 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
24
28
  nickname?: string | undefined;
25
29
  birthDate?: Date | undefined;
26
30
  profilePicture?: string | undefined;
31
+ avatar?: string | undefined;
32
+ referenceAvatar?: string | undefined;
27
33
  appearance?: string | undefined;
28
34
  isAllowSensitive?: boolean | undefined;
29
35
  }>;
@@ -32,6 +38,40 @@ export interface UpdateCurrentUserResponseDto {
32
38
  success: boolean;
33
39
  error?: string;
34
40
  }
41
+ export declare const GetUserAvatarsQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
42
+ export type GetUserAvatarsQueryDto = z.infer<typeof GetUserAvatarsQuerySchema>;
43
+ export interface GetUserAvatarsResponseDto {
44
+ avatars: (UserAvatarDto | null)[];
45
+ }
46
+ export declare const UpdateUserAvatarParamsSchema: z.ZodObject<{
47
+ index: z.ZodNumber;
48
+ }, "strip", z.ZodTypeAny, {
49
+ index: number;
50
+ }, {
51
+ index: number;
52
+ }>;
53
+ export declare const UpdateUserAvatarBodySchema: z.ZodObject<{
54
+ name: z.ZodNullable<z.ZodString>;
55
+ avatar: z.ZodNullable<z.ZodString>;
56
+ referenceAvatar: z.ZodNullable<z.ZodString>;
57
+ appearance: z.ZodNullable<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ avatar: string | null;
60
+ referenceAvatar: string | null;
61
+ appearance: string | null;
62
+ name: string | null;
63
+ }, {
64
+ avatar: string | null;
65
+ referenceAvatar: string | null;
66
+ appearance: string | null;
67
+ name: string | null;
68
+ }>;
69
+ export type UpdateUserAvatarParamsDto = z.infer<typeof UpdateUserAvatarParamsSchema>;
70
+ export type UpdateUserAvatarBodyDto = z.infer<typeof UpdateUserAvatarBodySchema>;
71
+ export interface UpdateUserAvatarResponseDto {
72
+ success: boolean;
73
+ error?: string;
74
+ }
35
75
  export declare const ValidateUserFieldBodySchema: z.ZodObject<{
36
76
  username: z.ZodOptional<z.ZodString>;
37
77
  nickname: z.ZodOptional<z.ZodString>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCurrentUserSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
3
+ exports.GetCurrentUserSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.UpdateUserAvatarBodySchema = exports.UpdateUserAvatarParamsSchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.GetCurrentUserQuerySchema = zod_1.z.object({});
6
6
  exports.UpdateCurrentUserBodySchema = zod_1.z.object({
@@ -13,9 +13,21 @@ exports.UpdateCurrentUserBodySchema = zod_1.z.object({
13
13
  nickname: zod_1.z.string().min(4).max(32).optional(),
14
14
  birthDate: zod_1.z.coerce.date().optional(),
15
15
  profilePicture: zod_1.z.string().max(2048).optional(),
16
+ avatar: zod_1.z.string().max(2048).optional(),
17
+ referenceAvatar: zod_1.z.string().max(2048).optional(),
16
18
  appearance: zod_1.z.string().max(500).optional(),
17
19
  isAllowSensitive: zod_1.z.boolean().optional(),
18
20
  });
21
+ exports.GetUserAvatarsQuerySchema = zod_1.z.object({});
22
+ exports.UpdateUserAvatarParamsSchema = zod_1.z.object({
23
+ index: zod_1.z.coerce.number().int().min(0),
24
+ });
25
+ exports.UpdateUserAvatarBodySchema = zod_1.z.object({
26
+ name: zod_1.z.string().max(64).nullable(),
27
+ avatar: zod_1.z.string().max(2048).nullable(),
28
+ referenceAvatar: zod_1.z.string().max(2048).nullable(),
29
+ appearance: zod_1.z.string().max(500).nullable(),
30
+ });
19
31
  exports.ValidateUserFieldBodySchema = zod_1.z.object({
20
32
  username: zod_1.z
21
33
  .string()
@@ -1 +1 @@
1
- {"version":3,"file":"user.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AASX,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AASzC,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;IACb,QAAQ,EAAE,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I,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE;QACnD,OAAO,EAAE,oCAAoC;KAC9C,CAAC;CACL,CAAC,CAAC;AAaU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ export declare const GenerateAvatarImageBodySchema: z.ZodObject<{
3
+ image: z.ZodOptional<z.ZodString>;
4
+ prompt: z.ZodOptional<z.ZodString>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ image?: string | undefined;
7
+ prompt?: string | undefined;
8
+ }, {
9
+ image?: string | undefined;
10
+ prompt?: string | undefined;
11
+ }>;
12
+ export type GenerateAvatarImageBodyDto = z.infer<typeof GenerateAvatarImageBodySchema>;
13
+ export interface GenerateAvatarImageResponseDto {
14
+ avatarUrl: string;
15
+ referenceAvatarUrl: string;
16
+ prompt: string;
17
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GenerateAvatarImageBodySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.GenerateAvatarImageBodySchema = zod_1.z.object({
6
+ image: zod_1.z.string().max(2048).optional(),
7
+ prompt: zod_1.z.string().max(500).optional(),
8
+ });
9
+ //# sourceMappingURL=image.requests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.requests.js","sourceRoot":"","sources":["../../../src/dto/images/image.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAOX,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './image.requests';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./image.requests"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/images/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -1,4 +1,5 @@
1
1
  export * from './entities';
2
+ export * from './images';
2
3
  export * from './items';
3
4
  export * from './locations';
4
5
  export * from './rankings';
package/dist/dto/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./images"), exports);
18
19
  __exportStar(require("./items"), exports);
19
20
  __exportStar(require("./locations"), exports);
20
21
  __exportStar(require("./rankings"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,2CAAyB"}
@@ -1,6 +1,6 @@
1
1
  import { LocationId, UserId } from '@little-samo/samo-ai';
2
2
  import z from 'zod';
3
- import type { LocationConfigCanvas } from '@little-samo/samo-ai-sdk/models';
3
+ import type { AgentConfig, LocationConfig, LocationConfigCanvas } from '@little-samo/samo-ai-sdk/models';
4
4
  import type { AgentCostDto, AgentPublicDto, GimmickCostDto, GimmickPublicDto } from '../entities';
5
5
  export declare const LocationPresetMessageSchema: z.ZodObject<{
6
6
  entityType: z.ZodNativeEnum<{
@@ -68,3 +68,7 @@ export interface LocationPresetDetailDto extends LocationPresetDto {
68
68
  totalUsedCredit: number;
69
69
  totalMessageCount: number;
70
70
  }
71
+ export interface LocationPresetPrivateDto extends LocationPresetDto {
72
+ locationConfig: LocationConfig;
73
+ agentConfigs: AgentConfig[];
74
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"location.preset.js","sourceRoot":"","sources":["../../../src/dto/locations/location.preset.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAsE;AACtE,8CAAoB;AAWP,QAAA,2BAA2B,GAAG,aAAC,CAAC,MAAM,CAAC;IAClD,UAAU,EAAE,aAAC,CAAC,UAAU,CAAC,oBAAU,CAAC;IACpC,QAAQ,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAE3B,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACvC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAMU,QAAA,0BAA0B,GAAG,aAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC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