@little-samo/samo-ai-sdk 0.4.7 → 0.4.8

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.
@@ -95,18 +95,21 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
95
95
  values: z.ZodOptional<z.ZodString>;
96
96
  quirks: z.ZodOptional<z.ZodString>;
97
97
  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">]>>;
98
+ zodiac: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Aries">, z.ZodLiteral<"Taurus">, z.ZodLiteral<"Gemini">, z.ZodLiteral<"Cancer">, z.ZodLiteral<"Leo">, z.ZodLiteral<"Virgo">, z.ZodLiteral<"Libra">, z.ZodLiteral<"Scorpio">, z.ZodLiteral<"Sagittarius">, z.ZodLiteral<"Capricorn">, z.ZodLiteral<"Aquarius">, z.ZodLiteral<"Pisces">]>>;
98
99
  }, "strip", z.ZodTypeAny, {
99
100
  values?: string | undefined;
100
101
  traits?: string | undefined;
101
102
  interests?: string | undefined;
102
103
  quirks?: string | undefined;
103
104
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
105
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
104
106
  }, {
105
107
  values?: string | undefined;
106
108
  traits?: string | undefined;
107
109
  interests?: string | undefined;
108
110
  quirks?: string | undefined;
109
111
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
112
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
110
113
  }>>;
111
114
  }, "strip", z.ZodTypeAny, {
112
115
  background?: {
@@ -127,6 +130,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
127
130
  interests?: string | undefined;
128
131
  quirks?: string | undefined;
129
132
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
133
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
130
134
  } | undefined;
131
135
  }, {
132
136
  background?: {
@@ -147,18 +151,18 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
147
151
  interests?: string | undefined;
148
152
  quirks?: string | undefined;
149
153
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
154
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
150
155
  } | undefined;
151
156
  }>>;
152
157
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
153
158
  }, "strict", z.ZodTypeAny, {
154
159
  name?: string | undefined;
160
+ avatar?: string | undefined;
161
+ referenceAvatar?: string | undefined;
162
+ appearance?: string | undefined;
155
163
  core?: {
156
164
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
157
165
  } | undefined;
158
- appearance?: string | undefined;
159
- rules?: string[] | undefined;
160
- avatar?: string | undefined;
161
- referenceAvatar?: string | undefined;
162
166
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
163
167
  languages?: string[] | undefined;
164
168
  timeZone?: string | undefined;
@@ -183,17 +187,18 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
183
187
  interests?: string | undefined;
184
188
  quirks?: string | undefined;
185
189
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
190
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
186
191
  } | undefined;
187
192
  } | undefined;
193
+ rules?: string[] | undefined;
188
194
  }, {
189
195
  name?: string | undefined;
196
+ avatar?: string | undefined;
197
+ referenceAvatar?: string | undefined;
198
+ appearance?: string | undefined;
190
199
  core?: {
191
200
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
192
201
  } | undefined;
193
- appearance?: string | undefined;
194
- rules?: string[] | undefined;
195
- avatar?: string | undefined;
196
- referenceAvatar?: string | undefined;
197
202
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
198
203
  languages?: string[] | undefined;
199
204
  timeZone?: string | undefined;
@@ -218,19 +223,20 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
218
223
  interests?: string | undefined;
219
224
  quirks?: string | undefined;
220
225
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
226
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
221
227
  } | undefined;
222
228
  } | undefined;
229
+ rules?: string[] | undefined;
223
230
  }>;
224
231
  }, "strip", z.ZodTypeAny, {
225
232
  config: {
226
233
  name?: string | undefined;
234
+ avatar?: string | undefined;
235
+ referenceAvatar?: string | undefined;
236
+ appearance?: string | undefined;
227
237
  core?: {
228
238
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
229
239
  } | undefined;
230
- appearance?: string | undefined;
231
- rules?: string[] | undefined;
232
- avatar?: string | undefined;
233
- referenceAvatar?: string | undefined;
234
240
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
235
241
  languages?: string[] | undefined;
236
242
  timeZone?: string | undefined;
@@ -255,20 +261,21 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
255
261
  interests?: string | undefined;
256
262
  quirks?: string | undefined;
257
263
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
264
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
258
265
  } | undefined;
259
266
  } | undefined;
267
+ rules?: string[] | undefined;
260
268
  };
261
269
  agentId: bigint;
262
270
  }, {
263
271
  config: {
264
272
  name?: string | undefined;
273
+ avatar?: string | undefined;
274
+ referenceAvatar?: string | undefined;
275
+ appearance?: string | undefined;
265
276
  core?: {
266
277
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
267
278
  } | undefined;
268
- appearance?: string | undefined;
269
- rules?: string[] | undefined;
270
- avatar?: string | undefined;
271
- referenceAvatar?: string | undefined;
272
279
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
273
280
  languages?: string[] | undefined;
274
281
  timeZone?: string | undefined;
@@ -293,8 +300,10 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
293
300
  interests?: string | undefined;
294
301
  quirks?: string | undefined;
295
302
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
303
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
296
304
  } | undefined;
297
305
  } | undefined;
306
+ rules?: string[] | undefined;
298
307
  };
299
308
  agentId: bigint;
300
309
  }>;
@@ -437,18 +446,21 @@ export declare const CreateAgentSchema: z.ZodObject<{
437
446
  values: z.ZodOptional<z.ZodString>;
438
447
  quirks: z.ZodOptional<z.ZodString>;
439
448
  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">]>>;
449
+ zodiac: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Aries">, z.ZodLiteral<"Taurus">, z.ZodLiteral<"Gemini">, z.ZodLiteral<"Cancer">, z.ZodLiteral<"Leo">, z.ZodLiteral<"Virgo">, z.ZodLiteral<"Libra">, z.ZodLiteral<"Scorpio">, z.ZodLiteral<"Sagittarius">, z.ZodLiteral<"Capricorn">, z.ZodLiteral<"Aquarius">, z.ZodLiteral<"Pisces">]>>;
440
450
  }, "strip", z.ZodTypeAny, {
441
451
  values?: string | undefined;
442
452
  traits?: string | undefined;
443
453
  interests?: string | undefined;
444
454
  quirks?: string | undefined;
445
455
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
456
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
446
457
  }, {
447
458
  values?: string | undefined;
448
459
  traits?: string | undefined;
449
460
  interests?: string | undefined;
450
461
  quirks?: string | undefined;
451
462
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
463
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
452
464
  }>>;
453
465
  }, "strip", z.ZodTypeAny, {
454
466
  background?: {
@@ -469,6 +481,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
469
481
  interests?: string | undefined;
470
482
  quirks?: string | undefined;
471
483
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
484
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
472
485
  } | undefined;
473
486
  }, {
474
487
  background?: {
@@ -489,18 +502,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
489
502
  interests?: string | undefined;
490
503
  quirks?: string | undefined;
491
504
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
505
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
492
506
  } | undefined;
493
507
  }>>;
494
508
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
495
509
  }, "strict", z.ZodTypeAny, {
496
510
  name?: string | undefined;
511
+ avatar?: string | undefined;
512
+ referenceAvatar?: string | undefined;
513
+ appearance?: string | undefined;
497
514
  core?: {
498
515
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
499
516
  } | undefined;
500
- appearance?: string | undefined;
501
- rules?: string[] | undefined;
502
- avatar?: string | undefined;
503
- referenceAvatar?: string | undefined;
504
517
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
505
518
  languages?: string[] | undefined;
506
519
  timeZone?: string | undefined;
@@ -525,17 +538,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
525
538
  interests?: string | undefined;
526
539
  quirks?: string | undefined;
527
540
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
541
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
528
542
  } | undefined;
529
543
  } | undefined;
544
+ rules?: string[] | undefined;
530
545
  }, {
531
546
  name?: string | undefined;
547
+ avatar?: string | undefined;
548
+ referenceAvatar?: string | undefined;
549
+ appearance?: string | undefined;
532
550
  core?: {
533
551
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
534
552
  } | undefined;
535
- appearance?: string | undefined;
536
- rules?: string[] | undefined;
537
- avatar?: string | undefined;
538
- referenceAvatar?: string | undefined;
539
553
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
540
554
  languages?: string[] | undefined;
541
555
  timeZone?: string | undefined;
@@ -560,19 +574,20 @@ export declare const CreateAgentSchema: z.ZodObject<{
560
574
  interests?: string | undefined;
561
575
  quirks?: string | undefined;
562
576
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
577
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
563
578
  } | undefined;
564
579
  } | undefined;
580
+ rules?: string[] | undefined;
565
581
  }>;
566
582
  }, "strip", z.ZodTypeAny, {
567
583
  config: {
568
584
  name?: string | undefined;
585
+ avatar?: string | undefined;
586
+ referenceAvatar?: string | undefined;
587
+ appearance?: string | undefined;
569
588
  core?: {
570
589
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
571
590
  } | undefined;
572
- appearance?: string | undefined;
573
- rules?: string[] | undefined;
574
- avatar?: string | undefined;
575
- referenceAvatar?: string | undefined;
576
591
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
577
592
  languages?: string[] | undefined;
578
593
  timeZone?: string | undefined;
@@ -597,19 +612,20 @@ export declare const CreateAgentSchema: z.ZodObject<{
597
612
  interests?: string | undefined;
598
613
  quirks?: string | undefined;
599
614
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
615
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
600
616
  } | undefined;
601
617
  } | undefined;
618
+ rules?: string[] | undefined;
602
619
  };
603
620
  }, {
604
621
  config: {
605
622
  name?: string | undefined;
623
+ avatar?: string | undefined;
624
+ referenceAvatar?: string | undefined;
625
+ appearance?: string | undefined;
606
626
  core?: {
607
627
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
608
628
  } | undefined;
609
- appearance?: string | undefined;
610
- rules?: string[] | undefined;
611
- avatar?: string | undefined;
612
- referenceAvatar?: string | undefined;
613
629
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
614
630
  languages?: string[] | undefined;
615
631
  timeZone?: string | undefined;
@@ -634,8 +650,10 @@ export declare const CreateAgentSchema: z.ZodObject<{
634
650
  interests?: string | undefined;
635
651
  quirks?: string | undefined;
636
652
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
653
+ zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
637
654
  } | undefined;
638
655
  } | undefined;
656
+ rules?: string[] | undefined;
639
657
  };
640
658
  }>;
641
659
  export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;