Fix character card lorebook imports / exports
| @@ -4925,6 +4925,12 @@ export function convertCharacterBook(characterBook) { | ||
| 4925 | 4925 | sticky: entry.extensions?.sticky ?? null, |
| 4926 | 4926 | cooldown: entry.extensions?.cooldown ?? null, |
| 4927 | 4927 | delay: entry.extensions?.delay ?? null, |
| 4928 | + matchPersonaDescription: entry.extensions?.matchPersonaDescription ?? false, | |
| 4929 | + matchCharacterDescription: entry.extensions?.matchCharacterDescription ?? false, | |
| 4930 | + matchCharacterPersonality: entry.extensions?.matchCharacterPersonality ?? false, | |
| 4931 | + matchCharacterDepthPrompt: entry.extensions?.matchCharacterDepthPrompt ?? false, | |
| 4932 | + matchScenario: entry.extensions?.matchScenario ?? false, | |
| 4933 | + matchCreatorNotes: entry.extensions?.matchCreatorNotes ?? false, | |
| 4928 | 4934 | extensions: entry.extensions ?? {}, |
| 4929 | 4935 | }; |
| 4930 | 4936 | }); |
| @@ -702,6 +702,12 @@ function convertWorldInfoToCharacterBook(name, entries) { | ||
| 702 | 702 | sticky: entry.sticky ?? null, |
| 703 | 703 | cooldown: entry.cooldown ?? null, |
| 704 | 704 | delay: entry.delay ?? null, |
| 705 | + matchPersonaDescription: entry.matchPersonaDescription ?? false, | |
| 706 | + matchCharacterDescription: entry.matchCharacterDescription ?? false, | |
| 707 | + matchCharacterPersonality: entry.matchCharacterPersonality ?? false, | |
| 708 | + matchCharacterDepthPrompt: entry.matchCharacterDepthPrompt ?? false, | |
| 709 | + matchScenario: entry.matchScenario ?? false, | |
| 710 | + matchCreatorNotes: entry.matchCreatorNotes ?? false, | |
| 705 | 711 | }, |
| 706 | 712 | }; |
| 707 | 713 | |