/** * schema-domain-voice-local.ts, the free local voice engines (`voice.local.*`). * * Every key ships EMPTY, and a machine with no engines reports an honest * 'unconfigured' status rather than an error. What fills them in is the managed * setup: it downloads and checksum-verifies the engines and models, points * these keys at them, and proves the result by speaking a phrase and * transcribing it back. That is one act by the user, and the platform performs * it, nothing here is a checklist for a person to work through. * * These descriptions used to say "the user downloads this explicitly, nothing * auto-downloads", written when setting local voice up by hand was the only * path. It is not: the managed installer IS the downloader, and copy telling a * user to go and fetch a model themselves describes a product that no longer * exists. A hand-built install still wins where it is deliberate, and the * managed runtime supersedes a stale one rather than quietly leaving it in * place (see voice/provisioning/config-preconfigure.ts). * * The blessed defaults and their research citations live in * docs/voice-local.md: whisper.cpp / faster-whisper for STT, Piper / Kokoro * for TTS. */ import type { ConfigSettingDefinition } from './schema-shared.js'; import type { VoiceWakeConfig } from './schema-domain-voice-wake.js'; /** Local voice engine configuration (`voice.local.*`). */ export interface VoiceLocalConfig { local: { sttEngine: string; sttBinary: string; sttModelPath: string; ttsEngine: string; ttsBinary: string; ttsModelPath: string; }; } /** * This file owns the `voice` key. Two domains live under it, the local * STT/TTS engine paths declared above, and the wake-word rows in * schema-domain-voice-wake.ts, and TypeScript's interface merging requires a * single declaration site, so the widened type is assembled here. */ declare module './schema-types.js' { interface GoodVibesConfig { voice: VoiceLocalConfig & VoiceWakeConfig; } } export declare const voiceLocalConfigDefaults: { voice: VoiceLocalConfig; }; export declare const voiceLocalConfigSettings: ConfigSettingDefinition[]; //# sourceMappingURL=schema-domain-voice-local.d.ts.map