feat: Auto-save voice recordings for model training

- Add /api/recordings endpoint with full CRUD operations
- Create voice_recordings SQLite table for metadata
- Save audio files to server/recordings/ as .webm
- Store transcription, duration, microphone name, file size
- Auto-save on each Whisper recording completion
This commit is contained in:
2026-02-14 01:56:53 -06:00
parent 5da6179f75
commit 950572046e
14 changed files with 229 additions and 0 deletions

View File

@@ -11,3 +11,6 @@ export const MAX_BUFFER_LINES = 1000
// Database
export const DB_PATH = 'agent-ui.db'
// Recordings
export const RECORDINGS_DIR = 'recordings'