@character-foundry/character-foundry 0.4.2-dev.1765942273 → 0.4.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/charx.cjs +2 -2
- package/dist/charx.cjs.map +1 -1
- package/dist/charx.d.cts +9 -18
- package/dist/charx.d.ts +9 -18
- package/dist/charx.js +2 -2
- package/dist/charx.js.map +1 -1
- package/dist/exporter.cjs +2 -2
- package/dist/exporter.cjs.map +1 -1
- package/dist/exporter.d.cts +9 -18
- package/dist/exporter.d.ts +9 -18
- package/dist/exporter.js +2 -2
- package/dist/exporter.js.map +1 -1
- package/dist/federation.d.cts +9 -18
- package/dist/federation.d.ts +9 -18
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -42
- package/dist/index.d.ts +21 -42
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/loader.cjs +2 -2
- package/dist/loader.cjs.map +1 -1
- package/dist/loader.d.cts +14 -28
- package/dist/loader.d.ts +14 -28
- package/dist/loader.js +2 -2
- package/dist/loader.js.map +1 -1
- package/dist/lorebook.d.cts +17 -34
- package/dist/lorebook.d.ts +17 -34
- package/dist/normalizer.cjs +2 -2
- package/dist/normalizer.cjs.map +1 -1
- package/dist/normalizer.d.cts +30 -60
- package/dist/normalizer.d.ts +30 -60
- package/dist/normalizer.js +2 -2
- package/dist/normalizer.js.map +1 -1
- package/dist/png.cjs +2 -2
- package/dist/png.cjs.map +1 -1
- package/dist/png.d.cts +16 -32
- package/dist/png.d.ts +16 -32
- package/dist/png.js +2 -2
- package/dist/png.js.map +1 -1
- package/dist/schemas.cjs +2 -2
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +48 -96
- package/dist/schemas.d.ts +48 -96
- package/dist/schemas.js +2 -2
- package/dist/schemas.js.map +1 -1
- package/dist/voxta.cjs +2 -2
- package/dist/voxta.cjs.map +1 -1
- package/dist/voxta.d.cts +14 -28
- package/dist/voxta.d.ts +14 -28
- package/dist/voxta.js +2 -2
- package/dist/voxta.js.map +1 -1
- package/package.json +4 -4
package/dist/voxta.d.cts
CHANGED
|
@@ -33,8 +33,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
33
33
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
34
34
|
z.ZodEnum<[
|
|
35
35
|
"before_char",
|
|
36
|
-
"after_char"
|
|
37
|
-
"in_chat"
|
|
36
|
+
"after_char"
|
|
38
37
|
]>,
|
|
39
38
|
z.ZodNumber,
|
|
40
39
|
z.ZodLiteral<"">
|
|
@@ -77,8 +76,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
77
76
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
78
77
|
z.ZodEnum<[
|
|
79
78
|
"before_char",
|
|
80
|
-
"after_char"
|
|
81
|
-
"in_chat"
|
|
79
|
+
"after_char"
|
|
82
80
|
]>,
|
|
83
81
|
z.ZodNumber,
|
|
84
82
|
z.ZodLiteral<"">
|
|
@@ -121,8 +119,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
121
119
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
122
120
|
z.ZodEnum<[
|
|
123
121
|
"before_char",
|
|
124
|
-
"after_char"
|
|
125
|
-
"in_chat"
|
|
122
|
+
"after_char"
|
|
126
123
|
]>,
|
|
127
124
|
z.ZodNumber,
|
|
128
125
|
z.ZodLiteral<"">
|
|
@@ -167,8 +164,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
167
164
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
168
165
|
z.ZodEnum<[
|
|
169
166
|
"before_char",
|
|
170
|
-
"after_char"
|
|
171
|
-
"in_chat"
|
|
167
|
+
"after_char"
|
|
172
168
|
]>,
|
|
173
169
|
z.ZodNumber,
|
|
174
170
|
z.ZodLiteral<"">
|
|
@@ -219,8 +215,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
219
215
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
220
216
|
z.ZodEnum<[
|
|
221
217
|
"before_char",
|
|
222
|
-
"after_char"
|
|
223
|
-
"in_chat"
|
|
218
|
+
"after_char"
|
|
224
219
|
]>,
|
|
225
220
|
z.ZodNumber,
|
|
226
221
|
z.ZodLiteral<"">
|
|
@@ -296,8 +291,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
296
291
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
297
292
|
z.ZodEnum<[
|
|
298
293
|
"before_char",
|
|
299
|
-
"after_char"
|
|
300
|
-
"in_chat"
|
|
294
|
+
"after_char"
|
|
301
295
|
]>,
|
|
302
296
|
z.ZodNumber,
|
|
303
297
|
z.ZodLiteral<"">
|
|
@@ -340,8 +334,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
340
334
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
341
335
|
z.ZodEnum<[
|
|
342
336
|
"before_char",
|
|
343
|
-
"after_char"
|
|
344
|
-
"in_chat"
|
|
337
|
+
"after_char"
|
|
345
338
|
]>,
|
|
346
339
|
z.ZodNumber,
|
|
347
340
|
z.ZodLiteral<"">
|
|
@@ -384,8 +377,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
384
377
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
385
378
|
z.ZodEnum<[
|
|
386
379
|
"before_char",
|
|
387
|
-
"after_char"
|
|
388
|
-
"in_chat"
|
|
380
|
+
"after_char"
|
|
389
381
|
]>,
|
|
390
382
|
z.ZodNumber,
|
|
391
383
|
z.ZodLiteral<"">
|
|
@@ -430,8 +422,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
430
422
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
431
423
|
z.ZodEnum<[
|
|
432
424
|
"before_char",
|
|
433
|
-
"after_char"
|
|
434
|
-
"in_chat"
|
|
425
|
+
"after_char"
|
|
435
426
|
]>,
|
|
436
427
|
z.ZodNumber,
|
|
437
428
|
z.ZodLiteral<"">
|
|
@@ -482,8 +473,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
482
473
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
483
474
|
z.ZodEnum<[
|
|
484
475
|
"before_char",
|
|
485
|
-
"after_char"
|
|
486
|
-
"in_chat"
|
|
476
|
+
"after_char"
|
|
487
477
|
]>,
|
|
488
478
|
z.ZodNumber,
|
|
489
479
|
z.ZodLiteral<"">
|
|
@@ -582,8 +572,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
582
572
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
583
573
|
z.ZodEnum<[
|
|
584
574
|
"before_char",
|
|
585
|
-
"after_char"
|
|
586
|
-
"in_chat"
|
|
575
|
+
"after_char"
|
|
587
576
|
]>,
|
|
588
577
|
z.ZodNumber,
|
|
589
578
|
z.ZodLiteral<"">
|
|
@@ -658,8 +647,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
658
647
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
659
648
|
z.ZodEnum<[
|
|
660
649
|
"before_char",
|
|
661
|
-
"after_char"
|
|
662
|
-
"in_chat"
|
|
650
|
+
"after_char"
|
|
663
651
|
]>,
|
|
664
652
|
z.ZodNumber,
|
|
665
653
|
z.ZodLiteral<"">
|
|
@@ -744,8 +732,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
744
732
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
745
733
|
z.ZodEnum<[
|
|
746
734
|
"before_char",
|
|
747
|
-
"after_char"
|
|
748
|
-
"in_chat"
|
|
735
|
+
"after_char"
|
|
749
736
|
]>,
|
|
750
737
|
z.ZodNumber,
|
|
751
738
|
z.ZodLiteral<"">
|
|
@@ -824,8 +811,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
824
811
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
825
812
|
z.ZodEnum<[
|
|
826
813
|
"before_char",
|
|
827
|
-
"after_char"
|
|
828
|
-
"in_chat"
|
|
814
|
+
"after_char"
|
|
829
815
|
]>,
|
|
830
816
|
z.ZodNumber,
|
|
831
817
|
z.ZodLiteral<"">
|
package/dist/voxta.d.ts
CHANGED
|
@@ -33,8 +33,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
33
33
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
34
34
|
z.ZodEnum<[
|
|
35
35
|
"before_char",
|
|
36
|
-
"after_char"
|
|
37
|
-
"in_chat"
|
|
36
|
+
"after_char"
|
|
38
37
|
]>,
|
|
39
38
|
z.ZodNumber,
|
|
40
39
|
z.ZodLiteral<"">
|
|
@@ -77,8 +76,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
77
76
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
78
77
|
z.ZodEnum<[
|
|
79
78
|
"before_char",
|
|
80
|
-
"after_char"
|
|
81
|
-
"in_chat"
|
|
79
|
+
"after_char"
|
|
82
80
|
]>,
|
|
83
81
|
z.ZodNumber,
|
|
84
82
|
z.ZodLiteral<"">
|
|
@@ -121,8 +119,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
121
119
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
122
120
|
z.ZodEnum<[
|
|
123
121
|
"before_char",
|
|
124
|
-
"after_char"
|
|
125
|
-
"in_chat"
|
|
122
|
+
"after_char"
|
|
126
123
|
]>,
|
|
127
124
|
z.ZodNumber,
|
|
128
125
|
z.ZodLiteral<"">
|
|
@@ -167,8 +164,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
167
164
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
168
165
|
z.ZodEnum<[
|
|
169
166
|
"before_char",
|
|
170
|
-
"after_char"
|
|
171
|
-
"in_chat"
|
|
167
|
+
"after_char"
|
|
172
168
|
]>,
|
|
173
169
|
z.ZodNumber,
|
|
174
170
|
z.ZodLiteral<"">
|
|
@@ -219,8 +215,7 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
|
|
|
219
215
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
220
216
|
z.ZodEnum<[
|
|
221
217
|
"before_char",
|
|
222
|
-
"after_char"
|
|
223
|
-
"in_chat"
|
|
218
|
+
"after_char"
|
|
224
219
|
]>,
|
|
225
220
|
z.ZodNumber,
|
|
226
221
|
z.ZodLiteral<"">
|
|
@@ -296,8 +291,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
296
291
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
297
292
|
z.ZodEnum<[
|
|
298
293
|
"before_char",
|
|
299
|
-
"after_char"
|
|
300
|
-
"in_chat"
|
|
294
|
+
"after_char"
|
|
301
295
|
]>,
|
|
302
296
|
z.ZodNumber,
|
|
303
297
|
z.ZodLiteral<"">
|
|
@@ -340,8 +334,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
340
334
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
341
335
|
z.ZodEnum<[
|
|
342
336
|
"before_char",
|
|
343
|
-
"after_char"
|
|
344
|
-
"in_chat"
|
|
337
|
+
"after_char"
|
|
345
338
|
]>,
|
|
346
339
|
z.ZodNumber,
|
|
347
340
|
z.ZodLiteral<"">
|
|
@@ -384,8 +377,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
384
377
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
385
378
|
z.ZodEnum<[
|
|
386
379
|
"before_char",
|
|
387
|
-
"after_char"
|
|
388
|
-
"in_chat"
|
|
380
|
+
"after_char"
|
|
389
381
|
]>,
|
|
390
382
|
z.ZodNumber,
|
|
391
383
|
z.ZodLiteral<"">
|
|
@@ -430,8 +422,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
430
422
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
431
423
|
z.ZodEnum<[
|
|
432
424
|
"before_char",
|
|
433
|
-
"after_char"
|
|
434
|
-
"in_chat"
|
|
425
|
+
"after_char"
|
|
435
426
|
]>,
|
|
436
427
|
z.ZodNumber,
|
|
437
428
|
z.ZodLiteral<"">
|
|
@@ -482,8 +473,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
482
473
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
483
474
|
z.ZodEnum<[
|
|
484
475
|
"before_char",
|
|
485
|
-
"after_char"
|
|
486
|
-
"in_chat"
|
|
476
|
+
"after_char"
|
|
487
477
|
]>,
|
|
488
478
|
z.ZodNumber,
|
|
489
479
|
z.ZodLiteral<"">
|
|
@@ -582,8 +572,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
582
572
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
583
573
|
z.ZodEnum<[
|
|
584
574
|
"before_char",
|
|
585
|
-
"after_char"
|
|
586
|
-
"in_chat"
|
|
575
|
+
"after_char"
|
|
587
576
|
]>,
|
|
588
577
|
z.ZodNumber,
|
|
589
578
|
z.ZodLiteral<"">
|
|
@@ -658,8 +647,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
658
647
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
659
648
|
z.ZodEnum<[
|
|
660
649
|
"before_char",
|
|
661
|
-
"after_char"
|
|
662
|
-
"in_chat"
|
|
650
|
+
"after_char"
|
|
663
651
|
]>,
|
|
664
652
|
z.ZodNumber,
|
|
665
653
|
z.ZodLiteral<"">
|
|
@@ -744,8 +732,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
744
732
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
745
733
|
z.ZodEnum<[
|
|
746
734
|
"before_char",
|
|
747
|
-
"after_char"
|
|
748
|
-
"in_chat"
|
|
735
|
+
"after_char"
|
|
749
736
|
]>,
|
|
750
737
|
z.ZodNumber,
|
|
751
738
|
z.ZodLiteral<"">
|
|
@@ -824,8 +811,7 @@ declare const CCv3DataSchema: z.ZodObject<{
|
|
|
824
811
|
position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
|
|
825
812
|
z.ZodEnum<[
|
|
826
813
|
"before_char",
|
|
827
|
-
"after_char"
|
|
828
|
-
"in_chat"
|
|
814
|
+
"after_char"
|
|
829
815
|
]>,
|
|
830
816
|
z.ZodNumber,
|
|
831
817
|
z.ZodLiteral<"">
|
package/dist/voxta.js
CHANGED
|
@@ -6633,7 +6633,7 @@ var CCv2LorebookEntrySchema = z2.object({
|
|
|
6633
6633
|
selective: z2.boolean().nullable().optional(),
|
|
6634
6634
|
secondary_keys: z2.array(z2.string()).nullable().optional(),
|
|
6635
6635
|
constant: z2.boolean().nullable().optional(),
|
|
6636
|
-
position: z2.union([z2.enum(["before_char", "after_char"
|
|
6636
|
+
position: z2.union([z2.enum(["before_char", "after_char"]), z2.number().int(), z2.literal("")]).nullable().optional()
|
|
6637
6637
|
}).passthrough();
|
|
6638
6638
|
var CCv2CharacterBookSchema = z2.object({
|
|
6639
6639
|
name: z2.string().optional(),
|
|
@@ -6686,7 +6686,7 @@ var CCv3LorebookEntrySchema = z3.object({
|
|
|
6686
6686
|
selective: z3.boolean().nullable().optional(),
|
|
6687
6687
|
secondary_keys: z3.array(z3.string()).nullable().optional(),
|
|
6688
6688
|
constant: z3.boolean().nullable().optional(),
|
|
6689
|
-
position: z3.union([z3.enum(["before_char", "after_char"
|
|
6689
|
+
position: z3.union([z3.enum(["before_char", "after_char"]), z3.number().int(), z3.literal("")]).nullable().optional(),
|
|
6690
6690
|
extensions: z3.record(z3.unknown()).optional(),
|
|
6691
6691
|
// v3 specific - also lenient with types since SillyTavern uses numbers for enums
|
|
6692
6692
|
automation_id: z3.string().optional(),
|