(config: CharacterConfig)
| 300 | } |
| 301 | |
| 302 | export async function saveCharacterConfig(config: CharacterConfig): Promise<void> { |
| 303 | const col = loadCharacterCollectionSync() ?? DEFAULT_COLLECTION; |
| 304 | const updated = updateCharacter(col, config); |
| 305 | await saveCharacterCollection(updated); |
| 306 | } |
| 307 | |
| 308 | // --------------------------------------------------------------------------- |
| 309 | // Prompt helpers |
nothing calls this directly
no test coverage detected