@little-samo/samo-ai-sdk 0.3.2 → 0.4.0

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 (32) hide show
  1. package/dist/dto/entities/agents/agent.requests.d.ts +60 -32
  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 +8 -0
  6. package/dist/dto/entities/users/user.requests.d.ts +42 -5
  7. package/dist/dto/entities/users/user.requests.js +12 -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 +7 -3
  19. package/dist/dto/locations/location.preset.js.map +1 -1
  20. package/dist/dto/locations/location.requests.d.ts +867 -172
  21. package/dist/dto/locations/location.requests.js +12 -6
  22. package/dist/dto/locations/location.requests.js.map +1 -1
  23. package/dist/dto/upload/upload.requests.d.ts +8 -2
  24. package/dist/dto/upload/upload.requests.js +7 -1
  25. package/dist/dto/upload/upload.requests.js.map +1 -1
  26. package/dist/models/entities/agents/agent.config.d.ts +25 -9
  27. package/dist/models/entities/agents/agent.config.js +56 -50
  28. package/dist/models/entities/agents/agent.config.js.map +1 -1
  29. package/dist/models/locations/location.config.d.ts +10 -10
  30. package/dist/models/locations/location.config.js +30 -39
  31. package/dist/models/locations/location.config.js.map +1 -1
  32. package/package.json +3 -3
@@ -7,11 +7,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
7
7
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8
8
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- page: number;
11
10
  limit: number;
11
+ page: number;
12
12
  }, {
13
- page?: number | undefined;
14
13
  limit?: number | undefined;
14
+ page?: number | undefined;
15
15
  }>;
16
16
  export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
17
17
  export interface AgentsPaginatedResponseDto {
@@ -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,11 +151,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
145
151
  }>>;
146
152
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
153
  }, "strict", z.ZodTypeAny, {
148
- appearance?: string | undefined;
149
154
  name?: string | undefined;
150
155
  avatar?: string | undefined;
156
+ referenceAvatar?: string | undefined;
157
+ appearance?: 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;
154
161
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
155
162
  languages?: string[] | undefined;
@@ -160,6 +167,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
160
167
  background?: {
161
168
  role?: string | undefined;
162
169
  gender?: string | undefined;
170
+ age?: string | undefined;
163
171
  expertise?: string | undefined;
164
172
  backstory?: string | undefined;
165
173
  } | undefined;
@@ -178,11 +186,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
178
186
  } | undefined;
179
187
  rules?: string[] | undefined;
180
188
  }, {
181
- appearance?: string | undefined;
182
189
  name?: string | undefined;
183
190
  avatar?: string | undefined;
191
+ referenceAvatar?: string | undefined;
192
+ appearance?: 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;
187
196
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
188
197
  languages?: string[] | undefined;
@@ -193,6 +202,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
193
202
  background?: {
194
203
  role?: string | undefined;
195
204
  gender?: string | undefined;
205
+ age?: string | undefined;
196
206
  expertise?: string | undefined;
197
207
  backstory?: string | undefined;
198
208
  } | undefined;
@@ -212,13 +222,13 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
212
222
  rules?: string[] | undefined;
213
223
  }>;
214
224
  }, "strip", z.ZodTypeAny, {
215
- agentId: bigint;
216
225
  config: {
217
- appearance?: string | undefined;
218
226
  name?: string | undefined;
219
227
  avatar?: string | undefined;
228
+ referenceAvatar?: string | undefined;
229
+ appearance?: string | undefined;
220
230
  core?: {
221
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
231
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
222
232
  } | undefined;
223
233
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
224
234
  languages?: string[] | undefined;
@@ -229,6 +239,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
229
239
  background?: {
230
240
  role?: string | undefined;
231
241
  gender?: string | undefined;
242
+ age?: string | undefined;
232
243
  expertise?: string | undefined;
233
244
  backstory?: string | undefined;
234
245
  } | undefined;
@@ -247,14 +258,15 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
247
258
  } | undefined;
248
259
  rules?: string[] | undefined;
249
260
  };
250
- }, {
251
261
  agentId: bigint;
262
+ }, {
252
263
  config: {
253
- appearance?: string | undefined;
254
264
  name?: string | undefined;
255
265
  avatar?: string | undefined;
266
+ referenceAvatar?: string | undefined;
267
+ appearance?: string | undefined;
256
268
  core?: {
257
- name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
269
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
258
270
  } | undefined;
259
271
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
260
272
  languages?: string[] | undefined;
@@ -265,6 +277,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
265
277
  background?: {
266
278
  role?: string | undefined;
267
279
  gender?: string | undefined;
280
+ age?: string | undefined;
268
281
  expertise?: string | undefined;
269
282
  backstory?: string | undefined;
270
283
  } | undefined;
@@ -283,6 +296,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
283
296
  } | undefined;
284
297
  rules?: string[] | undefined;
285
298
  };
299
+ agentId: bigint;
286
300
  }>;
287
301
  export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
288
302
  export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
@@ -308,7 +322,6 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
308
322
  token: string;
309
323
  }>]>;
310
324
  }, "strip", z.ZodTypeAny, {
311
- agentId: bigint;
312
325
  credential: {
313
326
  type: "notion";
314
327
  token: string;
@@ -316,8 +329,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
316
329
  type: "notion";
317
330
  token: string;
318
331
  };
319
- }, {
320
332
  agentId: bigint;
333
+ }, {
321
334
  credential: {
322
335
  type: "notion";
323
336
  token: string;
@@ -325,6 +338,7 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
325
338
  type: "notion";
326
339
  token: string;
327
340
  };
341
+ agentId: bigint;
328
342
  }>;
329
343
  export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
330
344
  export interface AgentUpdateCredentialResponseDto {
@@ -335,11 +349,11 @@ export declare const AgentDeleteCredentialSchema: z.ZodObject<{
335
349
  agentId: z.ZodBigInt;
336
350
  credentialType: z.ZodString;
337
351
  }, "strip", z.ZodTypeAny, {
338
- agentId: bigint;
339
352
  credentialType: string;
340
- }, {
341
353
  agentId: bigint;
354
+ }, {
342
355
  credentialType: string;
356
+ agentId: bigint;
343
357
  }>;
344
358
  export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
345
359
  export interface AgentDeleteCredentialResponseDto {
@@ -350,11 +364,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
350
364
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
351
365
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
352
366
  }, "strip", z.ZodTypeAny, {
353
- page: number;
354
367
  limit: number;
368
+ page: number;
355
369
  }, {
356
- page?: number | undefined;
357
370
  limit?: number | undefined;
371
+ page?: number | undefined;
358
372
  }>;
359
373
  export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
360
374
  export interface AgentPresetsPaginatedResponseDto {
@@ -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,11 +493,12 @@ export declare const CreateAgentSchema: z.ZodObject<{
473
493
  }>>;
474
494
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
475
495
  }, "strict", z.ZodTypeAny, {
476
- appearance?: string | undefined;
477
496
  name?: string | undefined;
478
497
  avatar?: string | undefined;
498
+ referenceAvatar?: string | undefined;
499
+ appearance?: 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;
482
503
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
483
504
  languages?: string[] | undefined;
@@ -488,6 +509,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
488
509
  background?: {
489
510
  role?: string | undefined;
490
511
  gender?: string | undefined;
512
+ age?: string | undefined;
491
513
  expertise?: string | undefined;
492
514
  backstory?: string | undefined;
493
515
  } | undefined;
@@ -506,11 +528,12 @@ export declare const CreateAgentSchema: z.ZodObject<{
506
528
  } | undefined;
507
529
  rules?: string[] | undefined;
508
530
  }, {
509
- appearance?: string | undefined;
510
531
  name?: string | undefined;
511
532
  avatar?: string | undefined;
533
+ referenceAvatar?: string | undefined;
534
+ appearance?: 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;
515
538
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
516
539
  languages?: string[] | undefined;
@@ -521,6 +544,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
521
544
  background?: {
522
545
  role?: string | undefined;
523
546
  gender?: string | undefined;
547
+ age?: string | undefined;
524
548
  expertise?: string | undefined;
525
549
  backstory?: string | undefined;
526
550
  } | undefined;
@@ -541,11 +565,12 @@ export declare const CreateAgentSchema: z.ZodObject<{
541
565
  }>;
542
566
  }, "strip", z.ZodTypeAny, {
543
567
  config: {
544
- appearance?: string | undefined;
545
568
  name?: string | undefined;
546
569
  avatar?: string | undefined;
570
+ referenceAvatar?: string | undefined;
571
+ appearance?: 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;
550
575
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
551
576
  languages?: string[] | undefined;
@@ -556,6 +581,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
556
581
  background?: {
557
582
  role?: string | undefined;
558
583
  gender?: string | undefined;
584
+ age?: string | undefined;
559
585
  expertise?: string | undefined;
560
586
  backstory?: string | undefined;
561
587
  } | undefined;
@@ -576,11 +602,12 @@ export declare const CreateAgentSchema: z.ZodObject<{
576
602
  };
577
603
  }, {
578
604
  config: {
579
- appearance?: string | undefined;
580
605
  name?: string | undefined;
581
606
  avatar?: string | undefined;
607
+ referenceAvatar?: string | undefined;
608
+ appearance?: 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;
585
612
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
586
613
  languages?: string[] | undefined;
@@ -591,6 +618,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
591
618
  background?: {
592
619
  role?: string | undefined;
593
620
  gender?: string | undefined;
621
+ age?: string | undefined;
594
622
  expertise?: string | undefined;
595
623
  backstory?: string | undefined;
596
624
  } | undefined;
@@ -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,12 @@ 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
+ avatar: string;
28
+ referenceAvatar: string | null;
29
+ appearance: string | null;
30
+ }
@@ -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,21 +10,27 @@ 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, {
18
+ avatar?: string | undefined;
19
+ referenceAvatar?: string | undefined;
20
+ appearance?: string | undefined;
21
+ birthDate?: Date | undefined;
16
22
  username?: string | undefined;
17
23
  nickname?: string | undefined;
18
- birthDate?: Date | undefined;
19
24
  profilePicture?: string | undefined;
20
- appearance?: string | undefined;
21
25
  isAllowSensitive?: boolean | undefined;
22
26
  }, {
27
+ avatar?: string | undefined;
28
+ referenceAvatar?: string | undefined;
29
+ appearance?: string | undefined;
30
+ birthDate?: Date | undefined;
23
31
  username?: string | undefined;
24
32
  nickname?: string | undefined;
25
- birthDate?: Date | undefined;
26
33
  profilePicture?: string | undefined;
27
- appearance?: string | undefined;
28
34
  isAllowSensitive?: boolean | undefined;
29
35
  }>;
30
36
  export type UpdateCurrentUserBodyDto = z.infer<typeof UpdateCurrentUserBodySchema>;
@@ -32,6 +38,37 @@ 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
+ avatar: z.ZodOptional<z.ZodString>;
55
+ referenceAvatar: z.ZodOptional<z.ZodString>;
56
+ appearance: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ avatar?: string | undefined;
59
+ referenceAvatar?: string | undefined;
60
+ appearance?: string | undefined;
61
+ }, {
62
+ avatar?: string | undefined;
63
+ referenceAvatar?: string | undefined;
64
+ appearance?: string | undefined;
65
+ }>;
66
+ export type UpdateUserAvatarParamsDto = z.infer<typeof UpdateUserAvatarParamsSchema>;
67
+ export type UpdateUserAvatarBodyDto = z.infer<typeof UpdateUserAvatarBodySchema>;
68
+ export interface UpdateUserAvatarResponseDto {
69
+ success: boolean;
70
+ error?: string;
71
+ }
35
72
  export declare const ValidateUserFieldBodySchema: z.ZodObject<{
36
73
  username: z.ZodOptional<z.ZodString>;
37
74
  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,20 @@ 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
+ avatar: zod_1.z.string().max(2048).optional(),
27
+ referenceAvatar: zod_1.z.string().max(2048).optional(),
28
+ appearance: zod_1.z.string().max(500).optional(),
29
+ });
19
30
  exports.ValidateUserFieldBodySchema = zod_1.z.object({
20
31
  username: zod_1.z
21
32
  .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,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,SAAS,EA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are 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<{
@@ -13,12 +13,12 @@ export declare const LocationPresetMessageSchema: z.ZodObject<{
13
13
  message: z.ZodOptional<z.ZodString>;
14
14
  image: z.ZodOptional<z.ZodString>;
15
15
  }, "strip", z.ZodTypeAny, {
16
- entityType: "system" | "agent" | "user" | "gimmick";
16
+ entityType: "user" | "system" | "agent" | "gimmick";
17
17
  entityId: bigint;
18
18
  message?: string | undefined;
19
19
  image?: string | undefined;
20
20
  }, {
21
- entityType: "system" | "agent" | "user" | "gimmick";
21
+ entityType: "user" | "system" | "agent" | "gimmick";
22
22
  entityId: bigint;
23
23
  message?: string | undefined;
24
24
  image?: string | undefined;
@@ -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
+ }