Add configurable vibe presets

This commit is contained in:
Andras Schmelczer 2026-05-24 10:57:47 +01:00
parent e54bddc7db
commit f8294934fd
34 changed files with 1701 additions and 341 deletions

7
src/vibe-registry.ts Normal file
View file

@ -0,0 +1,7 @@
import { appConfig } from './config';
import type { VibeId, VibePreset } from './config/types';
export const VIBE_PRESETS: Array<VibePreset> = appConfig.vibes.presets;
export const getVibeById = (vibeId: VibeId): VibePreset | undefined =>
VIBE_PRESETS.find((vibe) => vibe.id === vibeId);