/** * Shared voice-config types. Kept dependency-free so both global-config.ts and * bot-registry.ts can import them (type-only) without a runtime import cycle * with the engine adapters in ./index.ts. */ export type VoiceEngine = 'sami' | 'openai'; export interface VoiceSamiCreds { accessKey?: string; secretKey?: string; appkey?: string; /** SAMI is internal; its endpoints are NOT hardcoded in this public repo. * Supply here (or via SAMI_TOKEN_URL / SAMI_WS_URL env). */ tokenUrl?: string; wsUrl?: string; } export interface VoiceOpenAIConfig { baseUrl?: string; apiKey?: string; model?: string; } /** Stored under `voice` in ~/.botmux/config.json (global) or per bot in * bots.json. A per-bot block is merged over the global one. */ export interface VoiceConfig { engine?: VoiceEngine; /** Default speaker/voice id (SAMI speaker or OpenAI `voice`). */ speaker?: string; /** Speech rate multiplier (1.0 = normal). */ rate?: number; sami?: VoiceSamiCreds; openai?: VoiceOpenAIConfig; } //# sourceMappingURL=types.d.ts.map