@character-foundry/character-foundry 0.4.2 → 0.4.3-dev.1766019473

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/charx.cjs +15 -36
  2. package/dist/charx.cjs.map +1 -1
  3. package/dist/charx.d.cts +18 -9
  4. package/dist/charx.d.ts +18 -9
  5. package/dist/charx.js +15 -36
  6. package/dist/charx.js.map +1 -1
  7. package/dist/exporter.cjs +34 -38
  8. package/dist/exporter.cjs.map +1 -1
  9. package/dist/exporter.d.cts +18 -9
  10. package/dist/exporter.d.ts +18 -9
  11. package/dist/exporter.js +34 -38
  12. package/dist/exporter.js.map +1 -1
  13. package/dist/federation.cjs +104 -36
  14. package/dist/federation.cjs.map +1 -1
  15. package/dist/federation.d.cts +53 -9
  16. package/dist/federation.d.ts +53 -9
  17. package/dist/federation.js +104 -36
  18. package/dist/federation.js.map +1 -1
  19. package/dist/index.cjs +34 -38
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +42 -21
  22. package/dist/index.d.ts +42 -21
  23. package/dist/index.js +34 -38
  24. package/dist/index.js.map +1 -1
  25. package/dist/loader.cjs +101 -15
  26. package/dist/loader.cjs.map +1 -1
  27. package/dist/loader.d.cts +42 -14
  28. package/dist/loader.d.ts +42 -14
  29. package/dist/loader.js +101 -15
  30. package/dist/loader.js.map +1 -1
  31. package/dist/lorebook.d.cts +34 -17
  32. package/dist/lorebook.d.ts +34 -17
  33. package/dist/normalizer.cjs +2 -2
  34. package/dist/normalizer.cjs.map +1 -1
  35. package/dist/normalizer.d.cts +60 -30
  36. package/dist/normalizer.d.ts +60 -30
  37. package/dist/normalizer.js +2 -2
  38. package/dist/normalizer.js.map +1 -1
  39. package/dist/png.cjs +2 -2
  40. package/dist/png.cjs.map +1 -1
  41. package/dist/png.d.cts +32 -16
  42. package/dist/png.d.ts +32 -16
  43. package/dist/png.js +2 -2
  44. package/dist/png.js.map +1 -1
  45. package/dist/schemas.cjs +7 -7
  46. package/dist/schemas.cjs.map +1 -1
  47. package/dist/schemas.d.cts +96 -48
  48. package/dist/schemas.d.ts +96 -48
  49. package/dist/schemas.js +7 -7
  50. package/dist/schemas.js.map +1 -1
  51. package/dist/voxta.cjs +21 -4
  52. package/dist/voxta.cjs.map +1 -1
  53. package/dist/voxta.d.cts +28 -14
  54. package/dist/voxta.d.ts +28 -14
  55. package/dist/voxta.js +21 -4
  56. package/dist/voxta.js.map +1 -1
  57. package/package.json +6 -6
@@ -23,7 +23,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
23
23
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
24
24
  z.ZodEnum<[
25
25
  "before_char",
26
- "after_char"
26
+ "after_char",
27
+ "in_chat"
27
28
  ]>,
28
29
  z.ZodNumber,
29
30
  z.ZodLiteral<"">
@@ -66,7 +67,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
66
67
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
67
68
  z.ZodEnum<[
68
69
  "before_char",
69
- "after_char"
70
+ "after_char",
71
+ "in_chat"
70
72
  ]>,
71
73
  z.ZodNumber,
72
74
  z.ZodLiteral<"">
@@ -109,7 +111,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
109
111
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
110
112
  z.ZodEnum<[
111
113
  "before_char",
112
- "after_char"
114
+ "after_char",
115
+ "in_chat"
113
116
  ]>,
114
117
  z.ZodNumber,
115
118
  z.ZodLiteral<"">
@@ -154,7 +157,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
154
157
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
155
158
  z.ZodEnum<[
156
159
  "before_char",
157
- "after_char"
160
+ "after_char",
161
+ "in_chat"
158
162
  ]>,
159
163
  z.ZodNumber,
160
164
  z.ZodLiteral<"">
@@ -205,7 +209,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
205
209
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
206
210
  z.ZodEnum<[
207
211
  "before_char",
208
- "after_char"
212
+ "after_char",
213
+ "in_chat"
209
214
  ]>,
210
215
  z.ZodNumber,
211
216
  z.ZodLiteral<"">
@@ -281,7 +286,8 @@ declare const CCv3DataSchema: z.ZodObject<{
281
286
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
282
287
  z.ZodEnum<[
283
288
  "before_char",
284
- "after_char"
289
+ "after_char",
290
+ "in_chat"
285
291
  ]>,
286
292
  z.ZodNumber,
287
293
  z.ZodLiteral<"">
@@ -324,7 +330,8 @@ declare const CCv3DataSchema: z.ZodObject<{
324
330
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
325
331
  z.ZodEnum<[
326
332
  "before_char",
327
- "after_char"
333
+ "after_char",
334
+ "in_chat"
328
335
  ]>,
329
336
  z.ZodNumber,
330
337
  z.ZodLiteral<"">
@@ -367,7 +374,8 @@ declare const CCv3DataSchema: z.ZodObject<{
367
374
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
368
375
  z.ZodEnum<[
369
376
  "before_char",
370
- "after_char"
377
+ "after_char",
378
+ "in_chat"
371
379
  ]>,
372
380
  z.ZodNumber,
373
381
  z.ZodLiteral<"">
@@ -412,7 +420,8 @@ declare const CCv3DataSchema: z.ZodObject<{
412
420
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
413
421
  z.ZodEnum<[
414
422
  "before_char",
415
- "after_char"
423
+ "after_char",
424
+ "in_chat"
416
425
  ]>,
417
426
  z.ZodNumber,
418
427
  z.ZodLiteral<"">
@@ -463,7 +472,8 @@ declare const CCv3DataSchema: z.ZodObject<{
463
472
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
464
473
  z.ZodEnum<[
465
474
  "before_char",
466
- "after_char"
475
+ "after_char",
476
+ "in_chat"
467
477
  ]>,
468
478
  z.ZodNumber,
469
479
  z.ZodLiteral<"">
@@ -562,7 +572,8 @@ declare const CCv3DataSchema: z.ZodObject<{
562
572
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
563
573
  z.ZodEnum<[
564
574
  "before_char",
565
- "after_char"
575
+ "after_char",
576
+ "in_chat"
566
577
  ]>,
567
578
  z.ZodNumber,
568
579
  z.ZodLiteral<"">
@@ -637,7 +648,8 @@ declare const CCv3DataSchema: z.ZodObject<{
637
648
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
638
649
  z.ZodEnum<[
639
650
  "before_char",
640
- "after_char"
651
+ "after_char",
652
+ "in_chat"
641
653
  ]>,
642
654
  z.ZodNumber,
643
655
  z.ZodLiteral<"">
@@ -722,7 +734,8 @@ declare const CCv3DataSchema: z.ZodObject<{
722
734
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
723
735
  z.ZodEnum<[
724
736
  "before_char",
725
- "after_char"
737
+ "after_char",
738
+ "in_chat"
726
739
  ]>,
727
740
  z.ZodNumber,
728
741
  z.ZodLiteral<"">
@@ -801,7 +814,8 @@ declare const CCv3DataSchema: z.ZodObject<{
801
814
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
802
815
  z.ZodEnum<[
803
816
  "before_char",
804
- "after_char"
817
+ "after_char",
818
+ "in_chat"
805
819
  ]>,
806
820
  z.ZodNumber,
807
821
  z.ZodLiteral<"">
@@ -898,7 +912,8 @@ declare const CCv2DataSchema: z.ZodObject<{
898
912
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
899
913
  z.ZodEnum<[
900
914
  "before_char",
901
- "after_char"
915
+ "after_char",
916
+ "in_chat"
902
917
  ]>,
903
918
  z.ZodNumber,
904
919
  z.ZodLiteral<"">
@@ -920,7 +935,8 @@ declare const CCv2DataSchema: z.ZodObject<{
920
935
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
921
936
  z.ZodEnum<[
922
937
  "before_char",
923
- "after_char"
938
+ "after_char",
939
+ "in_chat"
924
940
  ]>,
925
941
  z.ZodNumber,
926
942
  z.ZodLiteral<"">
@@ -942,7 +958,8 @@ declare const CCv2DataSchema: z.ZodObject<{
942
958
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
943
959
  z.ZodEnum<[
944
960
  "before_char",
945
- "after_char"
961
+ "after_char",
962
+ "in_chat"
946
963
  ]>,
947
964
  z.ZodNumber,
948
965
  z.ZodLiteral<"">
@@ -966,7 +983,8 @@ declare const CCv2DataSchema: z.ZodObject<{
966
983
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
967
984
  z.ZodEnum<[
968
985
  "before_char",
969
- "after_char"
986
+ "after_char",
987
+ "in_chat"
970
988
  ]>,
971
989
  z.ZodNumber,
972
990
  z.ZodLiteral<"">
@@ -996,7 +1014,8 @@ declare const CCv2DataSchema: z.ZodObject<{
996
1014
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
997
1015
  z.ZodEnum<[
998
1016
  "before_char",
999
- "after_char"
1017
+ "after_char",
1018
+ "in_chat"
1000
1019
  ]>,
1001
1020
  z.ZodNumber,
1002
1021
  z.ZodLiteral<"">
@@ -1043,7 +1062,8 @@ declare const CCv2DataSchema: z.ZodObject<{
1043
1062
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1044
1063
  z.ZodEnum<[
1045
1064
  "before_char",
1046
- "after_char"
1065
+ "after_char",
1066
+ "in_chat"
1047
1067
  ]>,
1048
1068
  z.ZodNumber,
1049
1069
  z.ZodLiteral<"">
@@ -1089,7 +1109,8 @@ declare const CCv2DataSchema: z.ZodObject<{
1089
1109
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1090
1110
  z.ZodEnum<[
1091
1111
  "before_char",
1092
- "after_char"
1112
+ "after_char",
1113
+ "in_chat"
1093
1114
  ]>,
1094
1115
  z.ZodNumber,
1095
1116
  z.ZodLiteral<"">
@@ -1144,7 +1165,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1144
1165
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1145
1166
  z.ZodEnum<[
1146
1167
  "before_char",
1147
- "after_char"
1168
+ "after_char",
1169
+ "in_chat"
1148
1170
  ]>,
1149
1171
  z.ZodNumber,
1150
1172
  z.ZodLiteral<"">
@@ -1166,7 +1188,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1166
1188
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1167
1189
  z.ZodEnum<[
1168
1190
  "before_char",
1169
- "after_char"
1191
+ "after_char",
1192
+ "in_chat"
1170
1193
  ]>,
1171
1194
  z.ZodNumber,
1172
1195
  z.ZodLiteral<"">
@@ -1188,7 +1211,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1188
1211
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1189
1212
  z.ZodEnum<[
1190
1213
  "before_char",
1191
- "after_char"
1214
+ "after_char",
1215
+ "in_chat"
1192
1216
  ]>,
1193
1217
  z.ZodNumber,
1194
1218
  z.ZodLiteral<"">
@@ -1212,7 +1236,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1212
1236
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1213
1237
  z.ZodEnum<[
1214
1238
  "before_char",
1215
- "after_char"
1239
+ "after_char",
1240
+ "in_chat"
1216
1241
  ]>,
1217
1242
  z.ZodNumber,
1218
1243
  z.ZodLiteral<"">
@@ -1242,7 +1267,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1242
1267
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1243
1268
  z.ZodEnum<[
1244
1269
  "before_char",
1245
- "after_char"
1270
+ "after_char",
1271
+ "in_chat"
1246
1272
  ]>,
1247
1273
  z.ZodNumber,
1248
1274
  z.ZodLiteral<"">
@@ -1289,7 +1315,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1289
1315
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1290
1316
  z.ZodEnum<[
1291
1317
  "before_char",
1292
- "after_char"
1318
+ "after_char",
1319
+ "in_chat"
1293
1320
  ]>,
1294
1321
  z.ZodNumber,
1295
1322
  z.ZodLiteral<"">
@@ -1335,7 +1362,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1335
1362
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1336
1363
  z.ZodEnum<[
1337
1364
  "before_char",
1338
- "after_char"
1365
+ "after_char",
1366
+ "in_chat"
1339
1367
  ]>,
1340
1368
  z.ZodNumber,
1341
1369
  z.ZodLiteral<"">
@@ -1383,7 +1411,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1383
1411
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1384
1412
  z.ZodEnum<[
1385
1413
  "before_char",
1386
- "after_char"
1414
+ "after_char",
1415
+ "in_chat"
1387
1416
  ]>,
1388
1417
  z.ZodNumber,
1389
1418
  z.ZodLiteral<"">
@@ -1433,7 +1462,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1433
1462
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1434
1463
  z.ZodEnum<[
1435
1464
  "before_char",
1436
- "after_char"
1465
+ "after_char",
1466
+ "in_chat"
1437
1467
  ]>,
1438
1468
  z.ZodNumber,
1439
1469
  z.ZodLiteral<"">
@@ -23,7 +23,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
23
23
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
24
24
  z.ZodEnum<[
25
25
  "before_char",
26
- "after_char"
26
+ "after_char",
27
+ "in_chat"
27
28
  ]>,
28
29
  z.ZodNumber,
29
30
  z.ZodLiteral<"">
@@ -66,7 +67,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
66
67
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
67
68
  z.ZodEnum<[
68
69
  "before_char",
69
- "after_char"
70
+ "after_char",
71
+ "in_chat"
70
72
  ]>,
71
73
  z.ZodNumber,
72
74
  z.ZodLiteral<"">
@@ -109,7 +111,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
109
111
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
110
112
  z.ZodEnum<[
111
113
  "before_char",
112
- "after_char"
114
+ "after_char",
115
+ "in_chat"
113
116
  ]>,
114
117
  z.ZodNumber,
115
118
  z.ZodLiteral<"">
@@ -154,7 +157,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
154
157
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
155
158
  z.ZodEnum<[
156
159
  "before_char",
157
- "after_char"
160
+ "after_char",
161
+ "in_chat"
158
162
  ]>,
159
163
  z.ZodNumber,
160
164
  z.ZodLiteral<"">
@@ -205,7 +209,8 @@ declare const CCv3CharacterBookSchema: z.ZodObject<{
205
209
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
206
210
  z.ZodEnum<[
207
211
  "before_char",
208
- "after_char"
212
+ "after_char",
213
+ "in_chat"
209
214
  ]>,
210
215
  z.ZodNumber,
211
216
  z.ZodLiteral<"">
@@ -281,7 +286,8 @@ declare const CCv3DataSchema: z.ZodObject<{
281
286
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
282
287
  z.ZodEnum<[
283
288
  "before_char",
284
- "after_char"
289
+ "after_char",
290
+ "in_chat"
285
291
  ]>,
286
292
  z.ZodNumber,
287
293
  z.ZodLiteral<"">
@@ -324,7 +330,8 @@ declare const CCv3DataSchema: z.ZodObject<{
324
330
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
325
331
  z.ZodEnum<[
326
332
  "before_char",
327
- "after_char"
333
+ "after_char",
334
+ "in_chat"
328
335
  ]>,
329
336
  z.ZodNumber,
330
337
  z.ZodLiteral<"">
@@ -367,7 +374,8 @@ declare const CCv3DataSchema: z.ZodObject<{
367
374
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
368
375
  z.ZodEnum<[
369
376
  "before_char",
370
- "after_char"
377
+ "after_char",
378
+ "in_chat"
371
379
  ]>,
372
380
  z.ZodNumber,
373
381
  z.ZodLiteral<"">
@@ -412,7 +420,8 @@ declare const CCv3DataSchema: z.ZodObject<{
412
420
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
413
421
  z.ZodEnum<[
414
422
  "before_char",
415
- "after_char"
423
+ "after_char",
424
+ "in_chat"
416
425
  ]>,
417
426
  z.ZodNumber,
418
427
  z.ZodLiteral<"">
@@ -463,7 +472,8 @@ declare const CCv3DataSchema: z.ZodObject<{
463
472
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
464
473
  z.ZodEnum<[
465
474
  "before_char",
466
- "after_char"
475
+ "after_char",
476
+ "in_chat"
467
477
  ]>,
468
478
  z.ZodNumber,
469
479
  z.ZodLiteral<"">
@@ -562,7 +572,8 @@ declare const CCv3DataSchema: z.ZodObject<{
562
572
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
563
573
  z.ZodEnum<[
564
574
  "before_char",
565
- "after_char"
575
+ "after_char",
576
+ "in_chat"
566
577
  ]>,
567
578
  z.ZodNumber,
568
579
  z.ZodLiteral<"">
@@ -637,7 +648,8 @@ declare const CCv3DataSchema: z.ZodObject<{
637
648
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
638
649
  z.ZodEnum<[
639
650
  "before_char",
640
- "after_char"
651
+ "after_char",
652
+ "in_chat"
641
653
  ]>,
642
654
  z.ZodNumber,
643
655
  z.ZodLiteral<"">
@@ -722,7 +734,8 @@ declare const CCv3DataSchema: z.ZodObject<{
722
734
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
723
735
  z.ZodEnum<[
724
736
  "before_char",
725
- "after_char"
737
+ "after_char",
738
+ "in_chat"
726
739
  ]>,
727
740
  z.ZodNumber,
728
741
  z.ZodLiteral<"">
@@ -801,7 +814,8 @@ declare const CCv3DataSchema: z.ZodObject<{
801
814
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
802
815
  z.ZodEnum<[
803
816
  "before_char",
804
- "after_char"
817
+ "after_char",
818
+ "in_chat"
805
819
  ]>,
806
820
  z.ZodNumber,
807
821
  z.ZodLiteral<"">
@@ -898,7 +912,8 @@ declare const CCv2DataSchema: z.ZodObject<{
898
912
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
899
913
  z.ZodEnum<[
900
914
  "before_char",
901
- "after_char"
915
+ "after_char",
916
+ "in_chat"
902
917
  ]>,
903
918
  z.ZodNumber,
904
919
  z.ZodLiteral<"">
@@ -920,7 +935,8 @@ declare const CCv2DataSchema: z.ZodObject<{
920
935
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
921
936
  z.ZodEnum<[
922
937
  "before_char",
923
- "after_char"
938
+ "after_char",
939
+ "in_chat"
924
940
  ]>,
925
941
  z.ZodNumber,
926
942
  z.ZodLiteral<"">
@@ -942,7 +958,8 @@ declare const CCv2DataSchema: z.ZodObject<{
942
958
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
943
959
  z.ZodEnum<[
944
960
  "before_char",
945
- "after_char"
961
+ "after_char",
962
+ "in_chat"
946
963
  ]>,
947
964
  z.ZodNumber,
948
965
  z.ZodLiteral<"">
@@ -966,7 +983,8 @@ declare const CCv2DataSchema: z.ZodObject<{
966
983
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
967
984
  z.ZodEnum<[
968
985
  "before_char",
969
- "after_char"
986
+ "after_char",
987
+ "in_chat"
970
988
  ]>,
971
989
  z.ZodNumber,
972
990
  z.ZodLiteral<"">
@@ -996,7 +1014,8 @@ declare const CCv2DataSchema: z.ZodObject<{
996
1014
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
997
1015
  z.ZodEnum<[
998
1016
  "before_char",
999
- "after_char"
1017
+ "after_char",
1018
+ "in_chat"
1000
1019
  ]>,
1001
1020
  z.ZodNumber,
1002
1021
  z.ZodLiteral<"">
@@ -1043,7 +1062,8 @@ declare const CCv2DataSchema: z.ZodObject<{
1043
1062
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1044
1063
  z.ZodEnum<[
1045
1064
  "before_char",
1046
- "after_char"
1065
+ "after_char",
1066
+ "in_chat"
1047
1067
  ]>,
1048
1068
  z.ZodNumber,
1049
1069
  z.ZodLiteral<"">
@@ -1089,7 +1109,8 @@ declare const CCv2DataSchema: z.ZodObject<{
1089
1109
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1090
1110
  z.ZodEnum<[
1091
1111
  "before_char",
1092
- "after_char"
1112
+ "after_char",
1113
+ "in_chat"
1093
1114
  ]>,
1094
1115
  z.ZodNumber,
1095
1116
  z.ZodLiteral<"">
@@ -1144,7 +1165,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1144
1165
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1145
1166
  z.ZodEnum<[
1146
1167
  "before_char",
1147
- "after_char"
1168
+ "after_char",
1169
+ "in_chat"
1148
1170
  ]>,
1149
1171
  z.ZodNumber,
1150
1172
  z.ZodLiteral<"">
@@ -1166,7 +1188,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1166
1188
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1167
1189
  z.ZodEnum<[
1168
1190
  "before_char",
1169
- "after_char"
1191
+ "after_char",
1192
+ "in_chat"
1170
1193
  ]>,
1171
1194
  z.ZodNumber,
1172
1195
  z.ZodLiteral<"">
@@ -1188,7 +1211,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1188
1211
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1189
1212
  z.ZodEnum<[
1190
1213
  "before_char",
1191
- "after_char"
1214
+ "after_char",
1215
+ "in_chat"
1192
1216
  ]>,
1193
1217
  z.ZodNumber,
1194
1218
  z.ZodLiteral<"">
@@ -1212,7 +1236,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1212
1236
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1213
1237
  z.ZodEnum<[
1214
1238
  "before_char",
1215
- "after_char"
1239
+ "after_char",
1240
+ "in_chat"
1216
1241
  ]>,
1217
1242
  z.ZodNumber,
1218
1243
  z.ZodLiteral<"">
@@ -1242,7 +1267,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1242
1267
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1243
1268
  z.ZodEnum<[
1244
1269
  "before_char",
1245
- "after_char"
1270
+ "after_char",
1271
+ "in_chat"
1246
1272
  ]>,
1247
1273
  z.ZodNumber,
1248
1274
  z.ZodLiteral<"">
@@ -1289,7 +1315,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1289
1315
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1290
1316
  z.ZodEnum<[
1291
1317
  "before_char",
1292
- "after_char"
1318
+ "after_char",
1319
+ "in_chat"
1293
1320
  ]>,
1294
1321
  z.ZodNumber,
1295
1322
  z.ZodLiteral<"">
@@ -1335,7 +1362,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1335
1362
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1336
1363
  z.ZodEnum<[
1337
1364
  "before_char",
1338
- "after_char"
1365
+ "after_char",
1366
+ "in_chat"
1339
1367
  ]>,
1340
1368
  z.ZodNumber,
1341
1369
  z.ZodLiteral<"">
@@ -1383,7 +1411,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1383
1411
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1384
1412
  z.ZodEnum<[
1385
1413
  "before_char",
1386
- "after_char"
1414
+ "after_char",
1415
+ "in_chat"
1387
1416
  ]>,
1388
1417
  z.ZodNumber,
1389
1418
  z.ZodLiteral<"">
@@ -1433,7 +1462,8 @@ declare const CCv2WrappedSchema: z.ZodObject<{
1433
1462
  position: z.ZodOptional<z.ZodNullable<z.ZodUnion<[
1434
1463
  z.ZodEnum<[
1435
1464
  "before_char",
1436
- "after_char"
1465
+ "after_char",
1466
+ "in_chat"
1437
1467
  ]>,
1438
1468
  z.ZodNumber,
1439
1469
  z.ZodLiteral<"">
@@ -63,7 +63,7 @@ var CCv2LorebookEntrySchema = z2.object({
63
63
  selective: z2.boolean().nullable().optional(),
64
64
  secondary_keys: z2.array(z2.string()).nullable().optional(),
65
65
  constant: z2.boolean().nullable().optional(),
66
- position: z2.union([z2.enum(["before_char", "after_char"]), z2.number().int(), z2.literal("")]).nullable().optional()
66
+ position: z2.union([z2.enum(["before_char", "after_char", "in_chat"]), z2.number().int(), z2.literal("")]).nullable().optional()
67
67
  }).passthrough();
68
68
  var CCv2CharacterBookSchema = z2.object({
69
69
  name: z2.string().optional(),
@@ -130,7 +130,7 @@ var CCv3LorebookEntrySchema = z3.object({
130
130
  selective: z3.boolean().nullable().optional(),
131
131
  secondary_keys: z3.array(z3.string()).nullable().optional(),
132
132
  constant: z3.boolean().nullable().optional(),
133
- position: z3.union([z3.enum(["before_char", "after_char"]), z3.number().int(), z3.literal("")]).nullable().optional(),
133
+ position: z3.union([z3.enum(["before_char", "after_char", "in_chat"]), z3.number().int(), z3.literal("")]).nullable().optional(),
134
134
  extensions: z3.record(z3.unknown()).optional(),
135
135
  // v3 specific - also lenient with types since SillyTavern uses numbers for enums
136
136
  automation_id: z3.string().optional(),