@character-foundry/character-foundry 0.4.2 → 0.4.3-dev.1766103111
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/charx.cjs +87 -54
- package/dist/charx.cjs.map +1 -1
- package/dist/charx.d.cts +40 -31
- package/dist/charx.d.ts +40 -31
- package/dist/charx.js +87 -54
- package/dist/charx.js.map +1 -1
- package/dist/exporter.cjs +106 -56
- package/dist/exporter.cjs.map +1 -1
- package/dist/exporter.d.cts +37 -28
- package/dist/exporter.d.ts +37 -28
- package/dist/exporter.js +106 -56
- package/dist/exporter.js.map +1 -1
- package/dist/federation.cjs +104 -36
- package/dist/federation.cjs.map +1 -1
- package/dist/federation.d.cts +72 -28
- package/dist/federation.d.ts +72 -28
- package/dist/federation.js +104 -36
- package/dist/federation.js.map +1 -1
- package/dist/index.cjs +106 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -50
- package/dist/index.d.ts +71 -50
- package/dist/index.js +106 -56
- package/dist/index.js.map +1 -1
- package/dist/loader.cjs +173 -33
- package/dist/loader.cjs.map +1 -1
- package/dist/loader.d.cts +65 -37
- package/dist/loader.d.ts +65 -37
- package/dist/loader.js +173 -33
- package/dist/loader.js.map +1 -1
- package/dist/lorebook.d.cts +57 -40
- package/dist/lorebook.d.ts +57 -40
- package/dist/normalizer.cjs +74 -20
- package/dist/normalizer.cjs.map +1 -1
- package/dist/normalizer.d.cts +97 -67
- package/dist/normalizer.d.ts +97 -67
- package/dist/normalizer.js +74 -20
- package/dist/normalizer.js.map +1 -1
- package/dist/png.cjs +74 -20
- package/dist/png.cjs.map +1 -1
- package/dist/png.d.cts +57 -41
- package/dist/png.d.ts +57 -41
- package/dist/png.js +74 -20
- package/dist/png.js.map +1 -1
- package/dist/schemas.cjs +82 -25
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +181 -115
- package/dist/schemas.d.ts +181 -115
- package/dist/schemas.js +82 -25
- package/dist/schemas.js.map +1 -1
- package/dist/voxta.cjs +93 -22
- package/dist/voxta.cjs.map +1 -1
- package/dist/voxta.d.cts +51 -37
- package/dist/voxta.d.ts +51 -37
- package/dist/voxta.js +93 -22
- package/dist/voxta.js.map +1 -1
- package/package.json +5 -5
package/dist/lorebook.d.cts
CHANGED
|
@@ -16,7 +16,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
16
16
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
17
17
|
z.ZodEnum<[
|
|
18
18
|
"before_char",
|
|
19
|
-
"after_char"
|
|
19
|
+
"after_char",
|
|
20
|
+
"in_chat"
|
|
20
21
|
]>,
|
|
21
22
|
z.ZodNumber,
|
|
22
23
|
z.ZodLiteral<"">
|
|
@@ -59,7 +60,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
59
60
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
60
61
|
z.ZodEnum<[
|
|
61
62
|
"before_char",
|
|
62
|
-
"after_char"
|
|
63
|
+
"after_char",
|
|
64
|
+
"in_chat"
|
|
63
65
|
]>,
|
|
64
66
|
z.ZodNumber,
|
|
65
67
|
z.ZodLiteral<"">
|
|
@@ -102,7 +104,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
102
104
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
103
105
|
z.ZodEnum<[
|
|
104
106
|
"before_char",
|
|
105
|
-
"after_char"
|
|
107
|
+
"after_char",
|
|
108
|
+
"in_chat"
|
|
106
109
|
]>,
|
|
107
110
|
z.ZodNumber,
|
|
108
111
|
z.ZodLiteral<"">
|
|
@@ -133,8 +136,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
133
136
|
declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
134
137
|
name: z.ZodOptional<z.ZodString>;
|
|
135
138
|
description: z.ZodOptional<z.ZodString>;
|
|
136
|
-
scan_depth: z.ZodOptional<z.ZodNumber>;
|
|
137
|
-
token_budget: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
scan_depth: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
140
|
+
token_budget: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
138
141
|
recursive_scanning: z.ZodOptional<z.ZodBoolean>;
|
|
139
142
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
140
143
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -153,7 +156,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
153
156
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
154
157
|
z.ZodEnum<[
|
|
155
158
|
"before_char",
|
|
156
|
-
"after_char"
|
|
159
|
+
"after_char",
|
|
160
|
+
"in_chat"
|
|
157
161
|
]>,
|
|
158
162
|
z.ZodNumber,
|
|
159
163
|
z.ZodLiteral<"">
|
|
@@ -196,7 +200,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
196
200
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
197
201
|
z.ZodEnum<[
|
|
198
202
|
"before_char",
|
|
199
|
-
"after_char"
|
|
203
|
+
"after_char",
|
|
204
|
+
"in_chat"
|
|
200
205
|
]>,
|
|
201
206
|
z.ZodNumber,
|
|
202
207
|
z.ZodLiteral<"">
|
|
@@ -239,7 +244,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
239
244
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
240
245
|
z.ZodEnum<[
|
|
241
246
|
"before_char",
|
|
242
|
-
"after_char"
|
|
247
|
+
"after_char",
|
|
248
|
+
"in_chat"
|
|
243
249
|
]>,
|
|
244
250
|
z.ZodNumber,
|
|
245
251
|
z.ZodLiteral<"">
|
|
@@ -284,7 +290,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
284
290
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
285
291
|
z.ZodEnum<[
|
|
286
292
|
"before_char",
|
|
287
|
-
"after_char"
|
|
293
|
+
"after_char",
|
|
294
|
+
"in_chat"
|
|
288
295
|
]>,
|
|
289
296
|
z.ZodNumber,
|
|
290
297
|
z.ZodLiteral<"">
|
|
@@ -335,7 +342,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
335
342
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
336
343
|
z.ZodEnum<[
|
|
337
344
|
"before_char",
|
|
338
|
-
"after_char"
|
|
345
|
+
"after_char",
|
|
346
|
+
"in_chat"
|
|
339
347
|
]>,
|
|
340
348
|
z.ZodNumber,
|
|
341
349
|
z.ZodLiteral<"">
|
|
@@ -365,8 +373,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
365
373
|
}, z.ZodTypeAny, "passthrough">[];
|
|
366
374
|
name?: string | undefined;
|
|
367
375
|
description?: string | undefined;
|
|
368
|
-
scan_depth?:
|
|
369
|
-
token_budget?:
|
|
376
|
+
scan_depth?: unknown;
|
|
377
|
+
token_budget?: unknown;
|
|
370
378
|
recursive_scanning?: boolean | undefined;
|
|
371
379
|
extensions?: Record<string, unknown> | undefined;
|
|
372
380
|
}>;
|
|
@@ -391,8 +399,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
391
399
|
character_book: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
392
400
|
name: z.ZodOptional<z.ZodString>;
|
|
393
401
|
description: z.ZodOptional<z.ZodString>;
|
|
394
|
-
scan_depth: z.ZodOptional<z.ZodNumber>;
|
|
395
|
-
token_budget: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
scan_depth: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
403
|
+
token_budget: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
396
404
|
recursive_scanning: z.ZodOptional<z.ZodBoolean>;
|
|
397
405
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
398
406
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -411,7 +419,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
411
419
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
412
420
|
z.ZodEnum<[
|
|
413
421
|
"before_char",
|
|
414
|
-
"after_char"
|
|
422
|
+
"after_char",
|
|
423
|
+
"in_chat"
|
|
415
424
|
]>,
|
|
416
425
|
z.ZodNumber,
|
|
417
426
|
z.ZodLiteral<"">
|
|
@@ -454,7 +463,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
454
463
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
455
464
|
z.ZodEnum<[
|
|
456
465
|
"before_char",
|
|
457
|
-
"after_char"
|
|
466
|
+
"after_char",
|
|
467
|
+
"in_chat"
|
|
458
468
|
]>,
|
|
459
469
|
z.ZodNumber,
|
|
460
470
|
z.ZodLiteral<"">
|
|
@@ -497,7 +507,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
497
507
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
498
508
|
z.ZodEnum<[
|
|
499
509
|
"before_char",
|
|
500
|
-
"after_char"
|
|
510
|
+
"after_char",
|
|
511
|
+
"in_chat"
|
|
501
512
|
]>,
|
|
502
513
|
z.ZodNumber,
|
|
503
514
|
z.ZodLiteral<"">
|
|
@@ -542,7 +553,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
542
553
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
543
554
|
z.ZodEnum<[
|
|
544
555
|
"before_char",
|
|
545
|
-
"after_char"
|
|
556
|
+
"after_char",
|
|
557
|
+
"in_chat"
|
|
546
558
|
]>,
|
|
547
559
|
z.ZodNumber,
|
|
548
560
|
z.ZodLiteral<"">
|
|
@@ -593,7 +605,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
593
605
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
594
606
|
z.ZodEnum<[
|
|
595
607
|
"before_char",
|
|
596
|
-
"after_char"
|
|
608
|
+
"after_char",
|
|
609
|
+
"in_chat"
|
|
597
610
|
]>,
|
|
598
611
|
z.ZodNumber,
|
|
599
612
|
z.ZodLiteral<"">
|
|
@@ -623,14 +636,14 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
623
636
|
}, z.ZodTypeAny, "passthrough">[];
|
|
624
637
|
name?: string | undefined;
|
|
625
638
|
description?: string | undefined;
|
|
626
|
-
scan_depth?:
|
|
627
|
-
token_budget?:
|
|
639
|
+
scan_depth?: unknown;
|
|
640
|
+
token_budget?: unknown;
|
|
628
641
|
recursive_scanning?: boolean | undefined;
|
|
629
642
|
extensions?: Record<string, unknown> | undefined;
|
|
630
643
|
}>>>;
|
|
631
644
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
632
645
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
633
|
-
type: z.ZodEnum<[
|
|
646
|
+
type: z.ZodEffects<z.ZodEnum<[
|
|
634
647
|
"icon",
|
|
635
648
|
"background",
|
|
636
649
|
"emotion",
|
|
@@ -639,7 +652,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
639
652
|
"video",
|
|
640
653
|
"custom",
|
|
641
654
|
"x-risu-asset"
|
|
642
|
-
]>;
|
|
655
|
+
]>, "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset", unknown>;
|
|
643
656
|
uri: z.ZodString;
|
|
644
657
|
name: z.ZodString;
|
|
645
658
|
ext: z.ZodString;
|
|
@@ -650,15 +663,15 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
650
663
|
ext: string;
|
|
651
664
|
}, {
|
|
652
665
|
name: string;
|
|
653
|
-
type: "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset";
|
|
654
666
|
uri: string;
|
|
655
667
|
ext: string;
|
|
668
|
+
type?: unknown;
|
|
656
669
|
}>, "many">>;
|
|
657
670
|
nickname: z.ZodOptional<z.ZodString>;
|
|
658
671
|
creator_notes_multilingual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
659
672
|
source: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
660
|
-
creation_date: z.ZodOptional<z.ZodNumber>;
|
|
661
|
-
modification_date: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
creation_date: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
674
|
+
modification_date: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
662
675
|
}, "strip", z.ZodTypeAny, {
|
|
663
676
|
name: string;
|
|
664
677
|
description: string;
|
|
@@ -692,7 +705,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
692
705
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
693
706
|
z.ZodEnum<[
|
|
694
707
|
"before_char",
|
|
695
|
-
"after_char"
|
|
708
|
+
"after_char",
|
|
709
|
+
"in_chat"
|
|
696
710
|
]>,
|
|
697
711
|
z.ZodNumber,
|
|
698
712
|
z.ZodLiteral<"">
|
|
@@ -767,7 +781,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
767
781
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
768
782
|
z.ZodEnum<[
|
|
769
783
|
"before_char",
|
|
770
|
-
"after_char"
|
|
784
|
+
"after_char",
|
|
785
|
+
"in_chat"
|
|
771
786
|
]>,
|
|
772
787
|
z.ZodNumber,
|
|
773
788
|
z.ZodLiteral<"">
|
|
@@ -797,8 +812,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
797
812
|
}, z.ZodTypeAny, "passthrough">[];
|
|
798
813
|
name?: string | undefined;
|
|
799
814
|
description?: string | undefined;
|
|
800
|
-
scan_depth?:
|
|
801
|
-
token_budget?:
|
|
815
|
+
scan_depth?: unknown;
|
|
816
|
+
token_budget?: unknown;
|
|
802
817
|
recursive_scanning?: boolean | undefined;
|
|
803
818
|
extensions?: Record<string, unknown> | undefined;
|
|
804
819
|
} | null | undefined;
|
|
@@ -808,15 +823,15 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
808
823
|
group_only_greetings?: string[] | undefined;
|
|
809
824
|
assets?: {
|
|
810
825
|
name: string;
|
|
811
|
-
type: "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset";
|
|
812
826
|
uri: string;
|
|
813
827
|
ext: string;
|
|
828
|
+
type?: unknown;
|
|
814
829
|
}[] | undefined;
|
|
815
830
|
nickname?: string | undefined;
|
|
816
831
|
creator_notes_multilingual?: Record<string, string> | undefined;
|
|
817
832
|
source?: string[] | undefined;
|
|
818
|
-
creation_date?:
|
|
819
|
-
modification_date?:
|
|
833
|
+
creation_date?: unknown;
|
|
834
|
+
modification_date?: unknown;
|
|
820
835
|
}>;
|
|
821
836
|
}, "strip", z.ZodTypeAny, {
|
|
822
837
|
data: {
|
|
@@ -852,7 +867,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
852
867
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
853
868
|
z.ZodEnum<[
|
|
854
869
|
"before_char",
|
|
855
|
-
"after_char"
|
|
870
|
+
"after_char",
|
|
871
|
+
"in_chat"
|
|
856
872
|
]>,
|
|
857
873
|
z.ZodNumber,
|
|
858
874
|
z.ZodLiteral<"">
|
|
@@ -931,7 +947,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
931
947
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
932
948
|
z.ZodEnum<[
|
|
933
949
|
"before_char",
|
|
934
|
-
"after_char"
|
|
950
|
+
"after_char",
|
|
951
|
+
"in_chat"
|
|
935
952
|
]>,
|
|
936
953
|
z.ZodNumber,
|
|
937
954
|
z.ZodLiteral<"">
|
|
@@ -961,8 +978,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
961
978
|
}, z.ZodTypeAny, "passthrough">[];
|
|
962
979
|
name?: string | undefined;
|
|
963
980
|
description?: string | undefined;
|
|
964
|
-
scan_depth?:
|
|
965
|
-
token_budget?:
|
|
981
|
+
scan_depth?: unknown;
|
|
982
|
+
token_budget?: unknown;
|
|
966
983
|
recursive_scanning?: boolean | undefined;
|
|
967
984
|
extensions?: Record<string, unknown> | undefined;
|
|
968
985
|
} | null | undefined;
|
|
@@ -972,15 +989,15 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
972
989
|
group_only_greetings?: string[] | undefined;
|
|
973
990
|
assets?: {
|
|
974
991
|
name: string;
|
|
975
|
-
type: "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset";
|
|
976
992
|
uri: string;
|
|
977
993
|
ext: string;
|
|
994
|
+
type?: unknown;
|
|
978
995
|
}[] | undefined;
|
|
979
996
|
nickname?: string | undefined;
|
|
980
997
|
creator_notes_multilingual?: Record<string, string> | undefined;
|
|
981
998
|
source?: string[] | undefined;
|
|
982
|
-
creation_date?:
|
|
983
|
-
modification_date?:
|
|
999
|
+
creation_date?: unknown;
|
|
1000
|
+
modification_date?: unknown;
|
|
984
1001
|
};
|
|
985
1002
|
spec: "chara_card_v3";
|
|
986
1003
|
spec_version: "3.0";
|
package/dist/lorebook.d.ts
CHANGED
|
@@ -16,7 +16,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
16
16
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
17
17
|
z.ZodEnum<[
|
|
18
18
|
"before_char",
|
|
19
|
-
"after_char"
|
|
19
|
+
"after_char",
|
|
20
|
+
"in_chat"
|
|
20
21
|
]>,
|
|
21
22
|
z.ZodNumber,
|
|
22
23
|
z.ZodLiteral<"">
|
|
@@ -59,7 +60,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
59
60
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
60
61
|
z.ZodEnum<[
|
|
61
62
|
"before_char",
|
|
62
|
-
"after_char"
|
|
63
|
+
"after_char",
|
|
64
|
+
"in_chat"
|
|
63
65
|
]>,
|
|
64
66
|
z.ZodNumber,
|
|
65
67
|
z.ZodLiteral<"">
|
|
@@ -102,7 +104,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
102
104
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
103
105
|
z.ZodEnum<[
|
|
104
106
|
"before_char",
|
|
105
|
-
"after_char"
|
|
107
|
+
"after_char",
|
|
108
|
+
"in_chat"
|
|
106
109
|
]>,
|
|
107
110
|
z.ZodNumber,
|
|
108
111
|
z.ZodLiteral<"">
|
|
@@ -133,8 +136,8 @@ declare const CCv3LorebookEntrySchema: z.ZodObject<{
|
|
|
133
136
|
declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
134
137
|
name: z.ZodOptional<z.ZodString>;
|
|
135
138
|
description: z.ZodOptional<z.ZodString>;
|
|
136
|
-
scan_depth: z.ZodOptional<z.ZodNumber>;
|
|
137
|
-
token_budget: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
scan_depth: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
140
|
+
token_budget: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
138
141
|
recursive_scanning: z.ZodOptional<z.ZodBoolean>;
|
|
139
142
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
140
143
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -153,7 +156,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
153
156
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
154
157
|
z.ZodEnum<[
|
|
155
158
|
"before_char",
|
|
156
|
-
"after_char"
|
|
159
|
+
"after_char",
|
|
160
|
+
"in_chat"
|
|
157
161
|
]>,
|
|
158
162
|
z.ZodNumber,
|
|
159
163
|
z.ZodLiteral<"">
|
|
@@ -196,7 +200,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
196
200
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
197
201
|
z.ZodEnum<[
|
|
198
202
|
"before_char",
|
|
199
|
-
"after_char"
|
|
203
|
+
"after_char",
|
|
204
|
+
"in_chat"
|
|
200
205
|
]>,
|
|
201
206
|
z.ZodNumber,
|
|
202
207
|
z.ZodLiteral<"">
|
|
@@ -239,7 +244,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
239
244
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
240
245
|
z.ZodEnum<[
|
|
241
246
|
"before_char",
|
|
242
|
-
"after_char"
|
|
247
|
+
"after_char",
|
|
248
|
+
"in_chat"
|
|
243
249
|
]>,
|
|
244
250
|
z.ZodNumber,
|
|
245
251
|
z.ZodLiteral<"">
|
|
@@ -284,7 +290,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
284
290
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
285
291
|
z.ZodEnum<[
|
|
286
292
|
"before_char",
|
|
287
|
-
"after_char"
|
|
293
|
+
"after_char",
|
|
294
|
+
"in_chat"
|
|
288
295
|
]>,
|
|
289
296
|
z.ZodNumber,
|
|
290
297
|
z.ZodLiteral<"">
|
|
@@ -335,7 +342,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
335
342
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
336
343
|
z.ZodEnum<[
|
|
337
344
|
"before_char",
|
|
338
|
-
"after_char"
|
|
345
|
+
"after_char",
|
|
346
|
+
"in_chat"
|
|
339
347
|
]>,
|
|
340
348
|
z.ZodNumber,
|
|
341
349
|
z.ZodLiteral<"">
|
|
@@ -365,8 +373,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
365
373
|
}, z.ZodTypeAny, "passthrough">[];
|
|
366
374
|
name?: string | undefined;
|
|
367
375
|
description?: string | undefined;
|
|
368
|
-
scan_depth?:
|
|
369
|
-
token_budget?:
|
|
376
|
+
scan_depth?: unknown;
|
|
377
|
+
token_budget?: unknown;
|
|
370
378
|
recursive_scanning?: boolean | undefined;
|
|
371
379
|
extensions?: Record<string, unknown> | undefined;
|
|
372
380
|
}>;
|
|
@@ -391,8 +399,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
391
399
|
character_book: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
392
400
|
name: z.ZodOptional<z.ZodString>;
|
|
393
401
|
description: z.ZodOptional<z.ZodString>;
|
|
394
|
-
scan_depth: z.ZodOptional<z.ZodNumber>;
|
|
395
|
-
token_budget: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
scan_depth: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
403
|
+
token_budget: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
396
404
|
recursive_scanning: z.ZodOptional<z.ZodBoolean>;
|
|
397
405
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
398
406
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -411,7 +419,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
411
419
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
412
420
|
z.ZodEnum<[
|
|
413
421
|
"before_char",
|
|
414
|
-
"after_char"
|
|
422
|
+
"after_char",
|
|
423
|
+
"in_chat"
|
|
415
424
|
]>,
|
|
416
425
|
z.ZodNumber,
|
|
417
426
|
z.ZodLiteral<"">
|
|
@@ -454,7 +463,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
454
463
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
455
464
|
z.ZodEnum<[
|
|
456
465
|
"before_char",
|
|
457
|
-
"after_char"
|
|
466
|
+
"after_char",
|
|
467
|
+
"in_chat"
|
|
458
468
|
]>,
|
|
459
469
|
z.ZodNumber,
|
|
460
470
|
z.ZodLiteral<"">
|
|
@@ -497,7 +507,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
497
507
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
498
508
|
z.ZodEnum<[
|
|
499
509
|
"before_char",
|
|
500
|
-
"after_char"
|
|
510
|
+
"after_char",
|
|
511
|
+
"in_chat"
|
|
501
512
|
]>,
|
|
502
513
|
z.ZodNumber,
|
|
503
514
|
z.ZodLiteral<"">
|
|
@@ -542,7 +553,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
542
553
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
543
554
|
z.ZodEnum<[
|
|
544
555
|
"before_char",
|
|
545
|
-
"after_char"
|
|
556
|
+
"after_char",
|
|
557
|
+
"in_chat"
|
|
546
558
|
]>,
|
|
547
559
|
z.ZodNumber,
|
|
548
560
|
z.ZodLiteral<"">
|
|
@@ -593,7 +605,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
593
605
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
594
606
|
z.ZodEnum<[
|
|
595
607
|
"before_char",
|
|
596
|
-
"after_char"
|
|
608
|
+
"after_char",
|
|
609
|
+
"in_chat"
|
|
597
610
|
]>,
|
|
598
611
|
z.ZodNumber,
|
|
599
612
|
z.ZodLiteral<"">
|
|
@@ -623,14 +636,14 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
623
636
|
}, z.ZodTypeAny, "passthrough">[];
|
|
624
637
|
name?: string | undefined;
|
|
625
638
|
description?: string | undefined;
|
|
626
|
-
scan_depth?:
|
|
627
|
-
token_budget?:
|
|
639
|
+
scan_depth?: unknown;
|
|
640
|
+
token_budget?: unknown;
|
|
628
641
|
recursive_scanning?: boolean | undefined;
|
|
629
642
|
extensions?: Record<string, unknown> | undefined;
|
|
630
643
|
}>>>;
|
|
631
644
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
632
645
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
633
|
-
type: z.ZodEnum<[
|
|
646
|
+
type: z.ZodEffects<z.ZodEnum<[
|
|
634
647
|
"icon",
|
|
635
648
|
"background",
|
|
636
649
|
"emotion",
|
|
@@ -639,7 +652,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
639
652
|
"video",
|
|
640
653
|
"custom",
|
|
641
654
|
"x-risu-asset"
|
|
642
|
-
]>;
|
|
655
|
+
]>, "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset", unknown>;
|
|
643
656
|
uri: z.ZodString;
|
|
644
657
|
name: z.ZodString;
|
|
645
658
|
ext: z.ZodString;
|
|
@@ -650,15 +663,15 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
650
663
|
ext: string;
|
|
651
664
|
}, {
|
|
652
665
|
name: string;
|
|
653
|
-
type: "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset";
|
|
654
666
|
uri: string;
|
|
655
667
|
ext: string;
|
|
668
|
+
type?: unknown;
|
|
656
669
|
}>, "many">>;
|
|
657
670
|
nickname: z.ZodOptional<z.ZodString>;
|
|
658
671
|
creator_notes_multilingual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
659
672
|
source: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
660
|
-
creation_date: z.ZodOptional<z.ZodNumber>;
|
|
661
|
-
modification_date: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
creation_date: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
674
|
+
modification_date: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
662
675
|
}, "strip", z.ZodTypeAny, {
|
|
663
676
|
name: string;
|
|
664
677
|
description: string;
|
|
@@ -692,7 +705,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
692
705
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
693
706
|
z.ZodEnum<[
|
|
694
707
|
"before_char",
|
|
695
|
-
"after_char"
|
|
708
|
+
"after_char",
|
|
709
|
+
"in_chat"
|
|
696
710
|
]>,
|
|
697
711
|
z.ZodNumber,
|
|
698
712
|
z.ZodLiteral<"">
|
|
@@ -767,7 +781,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
767
781
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
768
782
|
z.ZodEnum<[
|
|
769
783
|
"before_char",
|
|
770
|
-
"after_char"
|
|
784
|
+
"after_char",
|
|
785
|
+
"in_chat"
|
|
771
786
|
]>,
|
|
772
787
|
z.ZodNumber,
|
|
773
788
|
z.ZodLiteral<"">
|
|
@@ -797,8 +812,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
797
812
|
}, z.ZodTypeAny, "passthrough">[];
|
|
798
813
|
name?: string | undefined;
|
|
799
814
|
description?: string | undefined;
|
|
800
|
-
scan_depth?:
|
|
801
|
-
token_budget?:
|
|
815
|
+
scan_depth?: unknown;
|
|
816
|
+
token_budget?: unknown;
|
|
802
817
|
recursive_scanning?: boolean | undefined;
|
|
803
818
|
extensions?: Record<string, unknown> | undefined;
|
|
804
819
|
} | null | undefined;
|
|
@@ -808,15 +823,15 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
808
823
|
group_only_greetings?: string[] | undefined;
|
|
809
824
|
assets?: {
|
|
810
825
|
name: string;
|
|
811
|
-
type: "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset";
|
|
812
826
|
uri: string;
|
|
813
827
|
ext: string;
|
|
828
|
+
type?: unknown;
|
|
814
829
|
}[] | undefined;
|
|
815
830
|
nickname?: string | undefined;
|
|
816
831
|
creator_notes_multilingual?: Record<string, string> | undefined;
|
|
817
832
|
source?: string[] | undefined;
|
|
818
|
-
creation_date?:
|
|
819
|
-
modification_date?:
|
|
833
|
+
creation_date?: unknown;
|
|
834
|
+
modification_date?: unknown;
|
|
820
835
|
}>;
|
|
821
836
|
}, "strip", z.ZodTypeAny, {
|
|
822
837
|
data: {
|
|
@@ -852,7 +867,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
852
867
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
853
868
|
z.ZodEnum<[
|
|
854
869
|
"before_char",
|
|
855
|
-
"after_char"
|
|
870
|
+
"after_char",
|
|
871
|
+
"in_chat"
|
|
856
872
|
]>,
|
|
857
873
|
z.ZodNumber,
|
|
858
874
|
z.ZodLiteral<"">
|
|
@@ -931,7 +947,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
931
947
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
932
948
|
z.ZodEnum<[
|
|
933
949
|
"before_char",
|
|
934
|
-
"after_char"
|
|
950
|
+
"after_char",
|
|
951
|
+
"in_chat"
|
|
935
952
|
]>,
|
|
936
953
|
z.ZodNumber,
|
|
937
954
|
z.ZodLiteral<"">
|
|
@@ -961,8 +978,8 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
961
978
|
}, z.ZodTypeAny, "passthrough">[];
|
|
962
979
|
name?: string | undefined;
|
|
963
980
|
description?: string | undefined;
|
|
964
|
-
scan_depth?:
|
|
965
|
-
token_budget?:
|
|
981
|
+
scan_depth?: unknown;
|
|
982
|
+
token_budget?: unknown;
|
|
966
983
|
recursive_scanning?: boolean | undefined;
|
|
967
984
|
extensions?: Record<string, unknown> | undefined;
|
|
968
985
|
} | null | undefined;
|
|
@@ -972,15 +989,15 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
972
989
|
group_only_greetings?: string[] | undefined;
|
|
973
990
|
assets?: {
|
|
974
991
|
name: string;
|
|
975
|
-
type: "custom" | "icon" | "background" | "emotion" | "user_icon" | "sound" | "video" | "x-risu-asset";
|
|
976
992
|
uri: string;
|
|
977
993
|
ext: string;
|
|
994
|
+
type?: unknown;
|
|
978
995
|
}[] | undefined;
|
|
979
996
|
nickname?: string | undefined;
|
|
980
997
|
creator_notes_multilingual?: Record<string, string> | undefined;
|
|
981
998
|
source?: string[] | undefined;
|
|
982
|
-
creation_date?:
|
|
983
|
-
modification_date?:
|
|
999
|
+
creation_date?: unknown;
|
|
1000
|
+
modification_date?: unknown;
|
|
984
1001
|
};
|
|
985
1002
|
spec: "chara_card_v3";
|
|
986
1003
|
spec_version: "3.0";
|