@little-samo/samo-ai-sdk 0.6.0 → 0.6.2
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.
- package/dist/dto/entities/agents/agent.requests.d.ts +56 -56
- package/dist/dto/locations/location.preset.d.ts +3 -2
- package/dist/dto/locations/location.requests.d.ts +90 -78
- package/dist/dto/locations/location.requests.js +4 -0
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/models/locations/location.config.d.ts +6 -6
- package/dist/models/locations/location.config.js +3 -0
- package/dist/models/locations/location.config.js.map +1 -1
- package/dist/models/locations/location.constants.d.ts +1 -0
- package/dist/models/locations/location.constants.js +1 -0
- package/dist/models/locations/location.constants.js.map +1 -1
- package/package.json +1 -1
|
@@ -72,7 +72,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
72
72
|
config: z.ZodObject<{
|
|
73
73
|
name: z.ZodOptional<z.ZodString>;
|
|
74
74
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
75
|
-
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
|
|
75
|
+
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">, z.ZodLiteral<"BROWSER">]>>;
|
|
76
76
|
core: z.ZodOptional<z.ZodObject<{
|
|
77
77
|
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
|
|
78
78
|
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -157,7 +157,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
157
157
|
name?: string | undefined;
|
|
158
158
|
description?: string | undefined;
|
|
159
159
|
thumbnail?: string | null | undefined;
|
|
160
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
160
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
161
161
|
core?: {
|
|
162
162
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
163
163
|
sequential?: boolean | undefined;
|
|
@@ -189,7 +189,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
189
189
|
name?: string | undefined;
|
|
190
190
|
description?: string | undefined;
|
|
191
191
|
thumbnail?: string | null | undefined;
|
|
192
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
192
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
193
193
|
core?: {
|
|
194
194
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
195
195
|
sequential?: boolean | undefined;
|
|
@@ -224,7 +224,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
224
224
|
name?: string | undefined;
|
|
225
225
|
description?: string | undefined;
|
|
226
226
|
thumbnail?: string | null | undefined;
|
|
227
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
227
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
228
228
|
core?: {
|
|
229
229
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
230
230
|
sequential?: boolean | undefined;
|
|
@@ -259,7 +259,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
259
259
|
name?: string | undefined;
|
|
260
260
|
description?: string | undefined;
|
|
261
261
|
thumbnail?: string | null | undefined;
|
|
262
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
262
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
263
263
|
core?: {
|
|
264
264
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
265
265
|
sequential?: boolean | undefined;
|
|
@@ -376,16 +376,22 @@ export interface LocationPresetsPaginatedResponseDto {
|
|
|
376
376
|
}
|
|
377
377
|
export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
|
|
378
378
|
type: z.ZodEnum<["NOVEL"]>;
|
|
379
|
+
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "male", "female"]>>>;
|
|
380
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
379
381
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
380
382
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
381
383
|
}, "strip", z.ZodTypeAny, {
|
|
382
384
|
type: "NOVEL";
|
|
383
385
|
limit: number;
|
|
384
386
|
page: number;
|
|
387
|
+
gender: "all" | "male" | "female";
|
|
388
|
+
tag?: string | undefined;
|
|
385
389
|
}, {
|
|
386
390
|
type: "NOVEL";
|
|
387
391
|
limit?: number | undefined;
|
|
388
392
|
page?: number | undefined;
|
|
393
|
+
gender?: "all" | "male" | "female" | undefined;
|
|
394
|
+
tag?: string | undefined;
|
|
389
395
|
}>;
|
|
390
396
|
export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
|
|
391
397
|
export interface PublishedLocationPresetsResponseDto {
|
|
@@ -399,10 +405,13 @@ export interface PublishedLocationPresetsResponseDto {
|
|
|
399
405
|
}
|
|
400
406
|
export declare const TrendingLocationPresetsQuerySchema: z.ZodObject<{
|
|
401
407
|
type: z.ZodEnum<["NOVEL"]>;
|
|
408
|
+
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "male", "female"]>>>;
|
|
402
409
|
}, "strip", z.ZodTypeAny, {
|
|
403
410
|
type: "NOVEL";
|
|
411
|
+
gender: "all" | "male" | "female";
|
|
404
412
|
}, {
|
|
405
413
|
type: "NOVEL";
|
|
414
|
+
gender?: "all" | "male" | "female" | undefined;
|
|
406
415
|
}>;
|
|
407
416
|
export type TrendingLocationPresetsQueryDto = z.infer<typeof TrendingLocationPresetsQuerySchema>;
|
|
408
417
|
export interface TrendingLocationPresetsResponseDto {
|
|
@@ -420,7 +429,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
420
429
|
locationConfig: z.ZodOptional<z.ZodObject<{
|
|
421
430
|
name: z.ZodOptional<z.ZodString>;
|
|
422
431
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
423
|
-
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
|
|
432
|
+
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">, z.ZodLiteral<"BROWSER">]>>;
|
|
424
433
|
core: z.ZodOptional<z.ZodObject<{
|
|
425
434
|
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
|
|
426
435
|
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -505,7 +514,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
505
514
|
name?: string | undefined;
|
|
506
515
|
description?: string | undefined;
|
|
507
516
|
thumbnail?: string | null | undefined;
|
|
508
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
517
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
509
518
|
core?: {
|
|
510
519
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
511
520
|
sequential?: boolean | undefined;
|
|
@@ -537,7 +546,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
537
546
|
name?: string | undefined;
|
|
538
547
|
description?: string | undefined;
|
|
539
548
|
thumbnail?: string | null | undefined;
|
|
540
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
549
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
541
550
|
core?: {
|
|
542
551
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
543
552
|
sequential?: boolean | undefined;
|
|
@@ -592,14 +601,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
592
601
|
backstory: z.ZodOptional<z.ZodString>;
|
|
593
602
|
}, "strip", z.ZodTypeAny, {
|
|
594
603
|
gender?: string | undefined;
|
|
604
|
+
age?: string | undefined;
|
|
595
605
|
expertise?: string | undefined;
|
|
596
606
|
backstory?: string | undefined;
|
|
597
|
-
age?: string | undefined;
|
|
598
607
|
}, {
|
|
599
608
|
gender?: string | undefined;
|
|
609
|
+
age?: string | undefined;
|
|
600
610
|
expertise?: string | undefined;
|
|
601
611
|
backstory?: string | undefined;
|
|
602
|
-
age?: string | undefined;
|
|
603
612
|
}>>;
|
|
604
613
|
speech: z.ZodOptional<z.ZodObject<{
|
|
605
614
|
tone: z.ZodOptional<z.ZodString>;
|
|
@@ -622,16 +631,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
622
631
|
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">]>>;
|
|
623
632
|
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">]>>;
|
|
624
633
|
}, "strip", z.ZodTypeAny, {
|
|
634
|
+
values?: string | undefined;
|
|
625
635
|
traits?: string | undefined;
|
|
626
636
|
interests?: string | undefined;
|
|
627
|
-
values?: string | undefined;
|
|
628
637
|
quirks?: string | undefined;
|
|
629
638
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
630
639
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
631
640
|
}, {
|
|
641
|
+
values?: string | undefined;
|
|
632
642
|
traits?: string | undefined;
|
|
633
643
|
interests?: string | undefined;
|
|
634
|
-
values?: string | undefined;
|
|
635
644
|
quirks?: string | undefined;
|
|
636
645
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
637
646
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -639,9 +648,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
639
648
|
}, "strip", z.ZodTypeAny, {
|
|
640
649
|
background?: {
|
|
641
650
|
gender?: string | undefined;
|
|
651
|
+
age?: string | undefined;
|
|
642
652
|
expertise?: string | undefined;
|
|
643
653
|
backstory?: string | undefined;
|
|
644
|
-
age?: string | undefined;
|
|
645
654
|
} | undefined;
|
|
646
655
|
speech?: {
|
|
647
656
|
tone?: string | undefined;
|
|
@@ -649,9 +658,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
649
658
|
formality?: string | undefined;
|
|
650
659
|
} | undefined;
|
|
651
660
|
personality?: {
|
|
661
|
+
values?: string | undefined;
|
|
652
662
|
traits?: string | undefined;
|
|
653
663
|
interests?: string | undefined;
|
|
654
|
-
values?: string | undefined;
|
|
655
664
|
quirks?: string | undefined;
|
|
656
665
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
657
666
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -659,9 +668,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
659
668
|
}, {
|
|
660
669
|
background?: {
|
|
661
670
|
gender?: string | undefined;
|
|
671
|
+
age?: string | undefined;
|
|
662
672
|
expertise?: string | undefined;
|
|
663
673
|
backstory?: string | undefined;
|
|
664
|
-
age?: string | undefined;
|
|
665
674
|
} | undefined;
|
|
666
675
|
speech?: {
|
|
667
676
|
tone?: string | undefined;
|
|
@@ -669,9 +678,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
669
678
|
formality?: string | undefined;
|
|
670
679
|
} | undefined;
|
|
671
680
|
personality?: {
|
|
681
|
+
values?: string | undefined;
|
|
672
682
|
traits?: string | undefined;
|
|
673
683
|
interests?: string | undefined;
|
|
674
|
-
values?: string | undefined;
|
|
675
684
|
quirks?: string | undefined;
|
|
676
685
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
677
686
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -679,14 +688,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
679
688
|
}>>;
|
|
680
689
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
681
690
|
}, "strip", z.ZodTypeAny, {
|
|
682
|
-
role?: string | undefined;
|
|
683
|
-
avatar?: string | undefined;
|
|
684
691
|
name?: string | undefined;
|
|
685
692
|
core?: {
|
|
686
693
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
687
694
|
} | undefined;
|
|
688
695
|
rules?: string[] | undefined;
|
|
689
696
|
appearance?: string | undefined;
|
|
697
|
+
role?: string | undefined;
|
|
698
|
+
avatar?: string | undefined;
|
|
690
699
|
referenceAvatar?: string | undefined;
|
|
691
700
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
692
701
|
languages?: string[] | undefined;
|
|
@@ -696,9 +705,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
696
705
|
character?: {
|
|
697
706
|
background?: {
|
|
698
707
|
gender?: string | undefined;
|
|
708
|
+
age?: string | undefined;
|
|
699
709
|
expertise?: string | undefined;
|
|
700
710
|
backstory?: string | undefined;
|
|
701
|
-
age?: string | undefined;
|
|
702
711
|
} | undefined;
|
|
703
712
|
speech?: {
|
|
704
713
|
tone?: string | undefined;
|
|
@@ -706,23 +715,23 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
706
715
|
formality?: string | undefined;
|
|
707
716
|
} | undefined;
|
|
708
717
|
personality?: {
|
|
718
|
+
values?: string | undefined;
|
|
709
719
|
traits?: string | undefined;
|
|
710
720
|
interests?: string | undefined;
|
|
711
|
-
values?: string | undefined;
|
|
712
721
|
quirks?: string | undefined;
|
|
713
722
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
714
723
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
715
724
|
} | undefined;
|
|
716
725
|
} | undefined;
|
|
717
726
|
}, {
|
|
718
|
-
role?: string | undefined;
|
|
719
|
-
avatar?: string | undefined;
|
|
720
727
|
name?: string | undefined;
|
|
721
728
|
core?: {
|
|
722
729
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
723
730
|
} | undefined;
|
|
724
731
|
rules?: string[] | undefined;
|
|
725
732
|
appearance?: string | undefined;
|
|
733
|
+
role?: string | undefined;
|
|
734
|
+
avatar?: string | undefined;
|
|
726
735
|
referenceAvatar?: string | undefined;
|
|
727
736
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
728
737
|
languages?: string[] | undefined;
|
|
@@ -732,9 +741,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
732
741
|
character?: {
|
|
733
742
|
background?: {
|
|
734
743
|
gender?: string | undefined;
|
|
744
|
+
age?: string | undefined;
|
|
735
745
|
expertise?: string | undefined;
|
|
736
746
|
backstory?: string | undefined;
|
|
737
|
-
age?: string | undefined;
|
|
738
747
|
} | undefined;
|
|
739
748
|
speech?: {
|
|
740
749
|
tone?: string | undefined;
|
|
@@ -742,9 +751,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
742
751
|
formality?: string | undefined;
|
|
743
752
|
} | undefined;
|
|
744
753
|
personality?: {
|
|
754
|
+
values?: string | undefined;
|
|
745
755
|
traits?: string | undefined;
|
|
746
756
|
interests?: string | undefined;
|
|
747
|
-
values?: string | undefined;
|
|
748
757
|
quirks?: string | undefined;
|
|
749
758
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
750
759
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -764,7 +773,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
764
773
|
name?: string | undefined;
|
|
765
774
|
description?: string | undefined;
|
|
766
775
|
thumbnail?: string | null | undefined;
|
|
767
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
776
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
768
777
|
core?: {
|
|
769
778
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
770
779
|
sequential?: boolean | undefined;
|
|
@@ -794,14 +803,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
794
803
|
}[] | undefined;
|
|
795
804
|
} | undefined;
|
|
796
805
|
agentConfigs?: {
|
|
797
|
-
role?: string | undefined;
|
|
798
|
-
avatar?: string | undefined;
|
|
799
806
|
name?: string | undefined;
|
|
800
807
|
core?: {
|
|
801
808
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
802
809
|
} | undefined;
|
|
803
810
|
rules?: string[] | undefined;
|
|
804
811
|
appearance?: string | undefined;
|
|
812
|
+
role?: string | undefined;
|
|
813
|
+
avatar?: string | undefined;
|
|
805
814
|
referenceAvatar?: string | undefined;
|
|
806
815
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
807
816
|
languages?: string[] | undefined;
|
|
@@ -811,9 +820,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
811
820
|
character?: {
|
|
812
821
|
background?: {
|
|
813
822
|
gender?: string | undefined;
|
|
823
|
+
age?: string | undefined;
|
|
814
824
|
expertise?: string | undefined;
|
|
815
825
|
backstory?: string | undefined;
|
|
816
|
-
age?: string | undefined;
|
|
817
826
|
} | undefined;
|
|
818
827
|
speech?: {
|
|
819
828
|
tone?: string | undefined;
|
|
@@ -821,9 +830,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
821
830
|
formality?: string | undefined;
|
|
822
831
|
} | undefined;
|
|
823
832
|
personality?: {
|
|
833
|
+
values?: string | undefined;
|
|
824
834
|
traits?: string | undefined;
|
|
825
835
|
interests?: string | undefined;
|
|
826
|
-
values?: string | undefined;
|
|
827
836
|
quirks?: string | undefined;
|
|
828
837
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
829
838
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -843,7 +852,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
843
852
|
name?: string | undefined;
|
|
844
853
|
description?: string | undefined;
|
|
845
854
|
thumbnail?: string | null | undefined;
|
|
846
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
855
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
847
856
|
core?: {
|
|
848
857
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
849
858
|
sequential?: boolean | undefined;
|
|
@@ -873,14 +882,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
873
882
|
}[] | undefined;
|
|
874
883
|
} | undefined;
|
|
875
884
|
agentConfigs?: {
|
|
876
|
-
role?: string | undefined;
|
|
877
|
-
avatar?: string | undefined;
|
|
878
885
|
name?: string | undefined;
|
|
879
886
|
core?: {
|
|
880
887
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
881
888
|
} | undefined;
|
|
882
889
|
rules?: string[] | undefined;
|
|
883
890
|
appearance?: string | undefined;
|
|
891
|
+
role?: string | undefined;
|
|
892
|
+
avatar?: string | undefined;
|
|
884
893
|
referenceAvatar?: string | undefined;
|
|
885
894
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
886
895
|
languages?: string[] | undefined;
|
|
@@ -890,9 +899,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
890
899
|
character?: {
|
|
891
900
|
background?: {
|
|
892
901
|
gender?: string | undefined;
|
|
902
|
+
age?: string | undefined;
|
|
893
903
|
expertise?: string | undefined;
|
|
894
904
|
backstory?: string | undefined;
|
|
895
|
-
age?: string | undefined;
|
|
896
905
|
} | undefined;
|
|
897
906
|
speech?: {
|
|
898
907
|
tone?: string | undefined;
|
|
@@ -900,9 +909,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
900
909
|
formality?: string | undefined;
|
|
901
910
|
} | undefined;
|
|
902
911
|
personality?: {
|
|
912
|
+
values?: string | undefined;
|
|
903
913
|
traits?: string | undefined;
|
|
904
914
|
interests?: string | undefined;
|
|
905
|
-
values?: string | undefined;
|
|
906
915
|
quirks?: string | undefined;
|
|
907
916
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
908
917
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -996,13 +1005,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
996
1005
|
}, "strip", z.ZodTypeAny, {
|
|
997
1006
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
998
1007
|
entityId: bigint;
|
|
999
|
-
image?: string | undefined;
|
|
1000
1008
|
message?: string | undefined;
|
|
1009
|
+
image?: string | undefined;
|
|
1001
1010
|
}, {
|
|
1002
1011
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1003
1012
|
entityId: bigint;
|
|
1004
|
-
image?: string | undefined;
|
|
1005
1013
|
message?: string | undefined;
|
|
1014
|
+
image?: string | undefined;
|
|
1006
1015
|
}>, "many">>;
|
|
1007
1016
|
userAvatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1008
1017
|
name: z.ZodString;
|
|
@@ -1011,25 +1020,26 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1011
1020
|
referenceAvatar: z.ZodString;
|
|
1012
1021
|
appearance: z.ZodString;
|
|
1013
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1014
|
-
avatar: string;
|
|
1015
1023
|
name: string;
|
|
1016
1024
|
appearance: string;
|
|
1025
|
+
avatar: string;
|
|
1017
1026
|
referenceAvatar: string;
|
|
1018
1027
|
role?: string | undefined;
|
|
1019
1028
|
}, {
|
|
1020
|
-
avatar: string;
|
|
1021
1029
|
name: string;
|
|
1022
1030
|
appearance: string;
|
|
1031
|
+
avatar: string;
|
|
1023
1032
|
referenceAvatar: string;
|
|
1024
1033
|
role?: string | undefined;
|
|
1025
1034
|
}>>>;
|
|
1035
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1026
1036
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1027
1037
|
isAllowImport: z.ZodOptional<z.ZodBoolean>;
|
|
1028
1038
|
isSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1029
1039
|
locationConfig: z.ZodOptional<z.ZodObject<{
|
|
1030
1040
|
name: z.ZodOptional<z.ZodString>;
|
|
1031
1041
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
1032
|
-
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
|
|
1042
|
+
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">, z.ZodLiteral<"BROWSER">]>>;
|
|
1033
1043
|
core: z.ZodOptional<z.ZodObject<{
|
|
1034
1044
|
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
|
|
1035
1045
|
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1114,7 +1124,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1114
1124
|
name?: string | undefined;
|
|
1115
1125
|
description?: string | undefined;
|
|
1116
1126
|
thumbnail?: string | null | undefined;
|
|
1117
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1127
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1118
1128
|
core?: {
|
|
1119
1129
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1120
1130
|
sequential?: boolean | undefined;
|
|
@@ -1146,7 +1156,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1146
1156
|
name?: string | undefined;
|
|
1147
1157
|
description?: string | undefined;
|
|
1148
1158
|
thumbnail?: string | null | undefined;
|
|
1149
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1159
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1150
1160
|
core?: {
|
|
1151
1161
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1152
1162
|
sequential?: boolean | undefined;
|
|
@@ -1201,14 +1211,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1201
1211
|
backstory: z.ZodOptional<z.ZodString>;
|
|
1202
1212
|
}, "strip", z.ZodTypeAny, {
|
|
1203
1213
|
gender?: string | undefined;
|
|
1214
|
+
age?: string | undefined;
|
|
1204
1215
|
expertise?: string | undefined;
|
|
1205
1216
|
backstory?: string | undefined;
|
|
1206
|
-
age?: string | undefined;
|
|
1207
1217
|
}, {
|
|
1208
1218
|
gender?: string | undefined;
|
|
1219
|
+
age?: string | undefined;
|
|
1209
1220
|
expertise?: string | undefined;
|
|
1210
1221
|
backstory?: string | undefined;
|
|
1211
|
-
age?: string | undefined;
|
|
1212
1222
|
}>>;
|
|
1213
1223
|
speech: z.ZodOptional<z.ZodObject<{
|
|
1214
1224
|
tone: z.ZodOptional<z.ZodString>;
|
|
@@ -1231,16 +1241,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1231
1241
|
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">]>>;
|
|
1232
1242
|
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">]>>;
|
|
1233
1243
|
}, "strip", z.ZodTypeAny, {
|
|
1244
|
+
values?: string | undefined;
|
|
1234
1245
|
traits?: string | undefined;
|
|
1235
1246
|
interests?: string | undefined;
|
|
1236
|
-
values?: string | undefined;
|
|
1237
1247
|
quirks?: string | undefined;
|
|
1238
1248
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1239
1249
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
1240
1250
|
}, {
|
|
1251
|
+
values?: string | undefined;
|
|
1241
1252
|
traits?: string | undefined;
|
|
1242
1253
|
interests?: string | undefined;
|
|
1243
|
-
values?: string | undefined;
|
|
1244
1254
|
quirks?: string | undefined;
|
|
1245
1255
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1246
1256
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -1248,9 +1258,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1248
1258
|
}, "strip", z.ZodTypeAny, {
|
|
1249
1259
|
background?: {
|
|
1250
1260
|
gender?: string | undefined;
|
|
1261
|
+
age?: string | undefined;
|
|
1251
1262
|
expertise?: string | undefined;
|
|
1252
1263
|
backstory?: string | undefined;
|
|
1253
|
-
age?: string | undefined;
|
|
1254
1264
|
} | undefined;
|
|
1255
1265
|
speech?: {
|
|
1256
1266
|
tone?: string | undefined;
|
|
@@ -1258,9 +1268,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1258
1268
|
formality?: string | undefined;
|
|
1259
1269
|
} | undefined;
|
|
1260
1270
|
personality?: {
|
|
1271
|
+
values?: string | undefined;
|
|
1261
1272
|
traits?: string | undefined;
|
|
1262
1273
|
interests?: string | undefined;
|
|
1263
|
-
values?: string | undefined;
|
|
1264
1274
|
quirks?: string | undefined;
|
|
1265
1275
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1266
1276
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -1268,9 +1278,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1268
1278
|
}, {
|
|
1269
1279
|
background?: {
|
|
1270
1280
|
gender?: string | undefined;
|
|
1281
|
+
age?: string | undefined;
|
|
1271
1282
|
expertise?: string | undefined;
|
|
1272
1283
|
backstory?: string | undefined;
|
|
1273
|
-
age?: string | undefined;
|
|
1274
1284
|
} | undefined;
|
|
1275
1285
|
speech?: {
|
|
1276
1286
|
tone?: string | undefined;
|
|
@@ -1278,9 +1288,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1278
1288
|
formality?: string | undefined;
|
|
1279
1289
|
} | undefined;
|
|
1280
1290
|
personality?: {
|
|
1291
|
+
values?: string | undefined;
|
|
1281
1292
|
traits?: string | undefined;
|
|
1282
1293
|
interests?: string | undefined;
|
|
1283
|
-
values?: string | undefined;
|
|
1284
1294
|
quirks?: string | undefined;
|
|
1285
1295
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1286
1296
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -1288,14 +1298,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1288
1298
|
}>>;
|
|
1289
1299
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1290
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1291
|
-
role?: string | undefined;
|
|
1292
|
-
avatar?: string | undefined;
|
|
1293
1301
|
name?: string | undefined;
|
|
1294
1302
|
core?: {
|
|
1295
1303
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1296
1304
|
} | undefined;
|
|
1297
1305
|
rules?: string[] | undefined;
|
|
1298
1306
|
appearance?: string | undefined;
|
|
1307
|
+
role?: string | undefined;
|
|
1308
|
+
avatar?: string | undefined;
|
|
1299
1309
|
referenceAvatar?: string | undefined;
|
|
1300
1310
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1301
1311
|
languages?: string[] | undefined;
|
|
@@ -1305,9 +1315,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1305
1315
|
character?: {
|
|
1306
1316
|
background?: {
|
|
1307
1317
|
gender?: string | undefined;
|
|
1318
|
+
age?: string | undefined;
|
|
1308
1319
|
expertise?: string | undefined;
|
|
1309
1320
|
backstory?: string | undefined;
|
|
1310
|
-
age?: string | undefined;
|
|
1311
1321
|
} | undefined;
|
|
1312
1322
|
speech?: {
|
|
1313
1323
|
tone?: string | undefined;
|
|
@@ -1315,23 +1325,23 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1315
1325
|
formality?: string | undefined;
|
|
1316
1326
|
} | undefined;
|
|
1317
1327
|
personality?: {
|
|
1328
|
+
values?: string | undefined;
|
|
1318
1329
|
traits?: string | undefined;
|
|
1319
1330
|
interests?: string | undefined;
|
|
1320
|
-
values?: string | undefined;
|
|
1321
1331
|
quirks?: string | undefined;
|
|
1322
1332
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1323
1333
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
1324
1334
|
} | undefined;
|
|
1325
1335
|
} | undefined;
|
|
1326
1336
|
}, {
|
|
1327
|
-
role?: string | undefined;
|
|
1328
|
-
avatar?: string | undefined;
|
|
1329
1337
|
name?: string | undefined;
|
|
1330
1338
|
core?: {
|
|
1331
1339
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1332
1340
|
} | undefined;
|
|
1333
1341
|
rules?: string[] | undefined;
|
|
1334
1342
|
appearance?: string | undefined;
|
|
1343
|
+
role?: string | undefined;
|
|
1344
|
+
avatar?: string | undefined;
|
|
1335
1345
|
referenceAvatar?: string | undefined;
|
|
1336
1346
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1337
1347
|
languages?: string[] | undefined;
|
|
@@ -1341,9 +1351,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1341
1351
|
character?: {
|
|
1342
1352
|
background?: {
|
|
1343
1353
|
gender?: string | undefined;
|
|
1354
|
+
age?: string | undefined;
|
|
1344
1355
|
expertise?: string | undefined;
|
|
1345
1356
|
backstory?: string | undefined;
|
|
1346
|
-
age?: string | undefined;
|
|
1347
1357
|
} | undefined;
|
|
1348
1358
|
speech?: {
|
|
1349
1359
|
tone?: string | undefined;
|
|
@@ -1351,9 +1361,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1351
1361
|
formality?: string | undefined;
|
|
1352
1362
|
} | undefined;
|
|
1353
1363
|
personality?: {
|
|
1364
|
+
values?: string | undefined;
|
|
1354
1365
|
traits?: string | undefined;
|
|
1355
1366
|
interests?: string | undefined;
|
|
1356
|
-
values?: string | undefined;
|
|
1357
1367
|
quirks?: string | undefined;
|
|
1358
1368
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1359
1369
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -1377,7 +1387,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1377
1387
|
name?: string | undefined;
|
|
1378
1388
|
description?: string | undefined;
|
|
1379
1389
|
thumbnail?: string | null | undefined;
|
|
1380
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1390
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1381
1391
|
core?: {
|
|
1382
1392
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1383
1393
|
sequential?: boolean | undefined;
|
|
@@ -1407,14 +1417,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1407
1417
|
}[] | undefined;
|
|
1408
1418
|
} | undefined;
|
|
1409
1419
|
agentConfigs?: ({
|
|
1410
|
-
role?: string | undefined;
|
|
1411
|
-
avatar?: string | undefined;
|
|
1412
1420
|
name?: string | undefined;
|
|
1413
1421
|
core?: {
|
|
1414
1422
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1415
1423
|
} | undefined;
|
|
1416
1424
|
rules?: string[] | undefined;
|
|
1417
1425
|
appearance?: string | undefined;
|
|
1426
|
+
role?: string | undefined;
|
|
1427
|
+
avatar?: string | undefined;
|
|
1418
1428
|
referenceAvatar?: string | undefined;
|
|
1419
1429
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1420
1430
|
languages?: string[] | undefined;
|
|
@@ -1424,9 +1434,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1424
1434
|
character?: {
|
|
1425
1435
|
background?: {
|
|
1426
1436
|
gender?: string | undefined;
|
|
1437
|
+
age?: string | undefined;
|
|
1427
1438
|
expertise?: string | undefined;
|
|
1428
1439
|
backstory?: string | undefined;
|
|
1429
|
-
age?: string | undefined;
|
|
1430
1440
|
} | undefined;
|
|
1431
1441
|
speech?: {
|
|
1432
1442
|
tone?: string | undefined;
|
|
@@ -1434,9 +1444,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1434
1444
|
formality?: string | undefined;
|
|
1435
1445
|
} | undefined;
|
|
1436
1446
|
personality?: {
|
|
1447
|
+
values?: string | undefined;
|
|
1437
1448
|
traits?: string | undefined;
|
|
1438
1449
|
interests?: string | undefined;
|
|
1439
|
-
values?: string | undefined;
|
|
1440
1450
|
quirks?: string | undefined;
|
|
1441
1451
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1442
1452
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -1453,16 +1463,17 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1453
1463
|
messages?: {
|
|
1454
1464
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1455
1465
|
entityId: bigint;
|
|
1456
|
-
image?: string | undefined;
|
|
1457
1466
|
message?: string | undefined;
|
|
1467
|
+
image?: string | undefined;
|
|
1458
1468
|
}[] | undefined;
|
|
1459
1469
|
userAvatar?: {
|
|
1460
|
-
avatar: string;
|
|
1461
1470
|
name: string;
|
|
1462
1471
|
appearance: string;
|
|
1472
|
+
avatar: string;
|
|
1463
1473
|
referenceAvatar: string;
|
|
1464
1474
|
role?: string | undefined;
|
|
1465
1475
|
} | null | undefined;
|
|
1476
|
+
tags?: string[] | undefined;
|
|
1466
1477
|
}, {
|
|
1467
1478
|
name?: string | undefined;
|
|
1468
1479
|
thumbnail?: string | undefined;
|
|
@@ -1480,7 +1491,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1480
1491
|
name?: string | undefined;
|
|
1481
1492
|
description?: string | undefined;
|
|
1482
1493
|
thumbnail?: string | null | undefined;
|
|
1483
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1494
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1484
1495
|
core?: {
|
|
1485
1496
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1486
1497
|
sequential?: boolean | undefined;
|
|
@@ -1510,14 +1521,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1510
1521
|
}[] | undefined;
|
|
1511
1522
|
} | undefined;
|
|
1512
1523
|
agentConfigs?: ({
|
|
1513
|
-
role?: string | undefined;
|
|
1514
|
-
avatar?: string | undefined;
|
|
1515
1524
|
name?: string | undefined;
|
|
1516
1525
|
core?: {
|
|
1517
1526
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1518
1527
|
} | undefined;
|
|
1519
1528
|
rules?: string[] | undefined;
|
|
1520
1529
|
appearance?: string | undefined;
|
|
1530
|
+
role?: string | undefined;
|
|
1531
|
+
avatar?: string | undefined;
|
|
1521
1532
|
referenceAvatar?: string | undefined;
|
|
1522
1533
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1523
1534
|
languages?: string[] | undefined;
|
|
@@ -1527,9 +1538,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1527
1538
|
character?: {
|
|
1528
1539
|
background?: {
|
|
1529
1540
|
gender?: string | undefined;
|
|
1541
|
+
age?: string | undefined;
|
|
1530
1542
|
expertise?: string | undefined;
|
|
1531
1543
|
backstory?: string | undefined;
|
|
1532
|
-
age?: string | undefined;
|
|
1533
1544
|
} | undefined;
|
|
1534
1545
|
speech?: {
|
|
1535
1546
|
tone?: string | undefined;
|
|
@@ -1537,9 +1548,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1537
1548
|
formality?: string | undefined;
|
|
1538
1549
|
} | undefined;
|
|
1539
1550
|
personality?: {
|
|
1551
|
+
values?: string | undefined;
|
|
1540
1552
|
traits?: string | undefined;
|
|
1541
1553
|
interests?: string | undefined;
|
|
1542
|
-
values?: string | undefined;
|
|
1543
1554
|
quirks?: string | undefined;
|
|
1544
1555
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1545
1556
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
@@ -1556,16 +1567,17 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1556
1567
|
messages?: {
|
|
1557
1568
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1558
1569
|
entityId: bigint;
|
|
1559
|
-
image?: string | undefined;
|
|
1560
1570
|
message?: string | undefined;
|
|
1571
|
+
image?: string | undefined;
|
|
1561
1572
|
}[] | undefined;
|
|
1562
1573
|
userAvatar?: {
|
|
1563
|
-
avatar: string;
|
|
1564
1574
|
name: string;
|
|
1565
1575
|
appearance: string;
|
|
1576
|
+
avatar: string;
|
|
1566
1577
|
referenceAvatar: string;
|
|
1567
1578
|
role?: string | undefined;
|
|
1568
1579
|
} | null | undefined;
|
|
1580
|
+
tags?: string[] | undefined;
|
|
1569
1581
|
}>;
|
|
1570
1582
|
export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBodySchema>;
|
|
1571
1583
|
export interface UpdateLocationPresetResponseDto {
|
|
@@ -1871,7 +1883,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1871
1883
|
config: z.ZodObject<{
|
|
1872
1884
|
name: z.ZodOptional<z.ZodString>;
|
|
1873
1885
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
1874
|
-
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
|
|
1886
|
+
environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">, z.ZodLiteral<"BROWSER">]>>;
|
|
1875
1887
|
core: z.ZodOptional<z.ZodObject<{
|
|
1876
1888
|
name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
|
|
1877
1889
|
sequential: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1956,7 +1968,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1956
1968
|
name?: string | undefined;
|
|
1957
1969
|
description?: string | undefined;
|
|
1958
1970
|
thumbnail?: string | null | undefined;
|
|
1959
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1971
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1960
1972
|
core?: {
|
|
1961
1973
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1962
1974
|
sequential?: boolean | undefined;
|
|
@@ -1988,7 +2000,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1988
2000
|
name?: string | undefined;
|
|
1989
2001
|
description?: string | undefined;
|
|
1990
2002
|
thumbnail?: string | null | undefined;
|
|
1991
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
2003
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1992
2004
|
core?: {
|
|
1993
2005
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1994
2006
|
sequential?: boolean | undefined;
|
|
@@ -2026,7 +2038,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2026
2038
|
name?: string | undefined;
|
|
2027
2039
|
description?: string | undefined;
|
|
2028
2040
|
thumbnail?: string | null | undefined;
|
|
2029
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
2041
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2030
2042
|
core?: {
|
|
2031
2043
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
2032
2044
|
sequential?: boolean | undefined;
|
|
@@ -2061,7 +2073,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2061
2073
|
name?: string | undefined;
|
|
2062
2074
|
description?: string | undefined;
|
|
2063
2075
|
thumbnail?: string | null | undefined;
|
|
2064
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
2076
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2065
2077
|
core?: {
|
|
2066
2078
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
2067
2079
|
sequential?: boolean | undefined;
|
|
@@ -2694,15 +2706,15 @@ export declare const SendLocationMessageSchema: z.ZodObject<{
|
|
|
2694
2706
|
paidCreditOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2695
2707
|
}, "strip", z.ZodTypeAny, {
|
|
2696
2708
|
locationId: bigint;
|
|
2697
|
-
image?: string | undefined;
|
|
2698
2709
|
message?: string | undefined;
|
|
2710
|
+
image?: string | undefined;
|
|
2699
2711
|
action?: string | undefined;
|
|
2700
2712
|
creditAmount?: number | undefined;
|
|
2701
2713
|
paidCreditOnly?: boolean | undefined;
|
|
2702
2714
|
}, {
|
|
2703
2715
|
locationId: bigint;
|
|
2704
|
-
image?: string | undefined;
|
|
2705
2716
|
message?: string | undefined;
|
|
2717
|
+
image?: string | undefined;
|
|
2706
2718
|
action?: string | undefined;
|
|
2707
2719
|
creditAmount?: number | undefined;
|
|
2708
2720
|
paidCreditOnly?: boolean | undefined;
|