- Core: Base ML provider abstraction and registry system - Claude: Anthropic Claude SDK integration with Agent SDK support - LlamaCpp: Local GGUF model inference with intelligent dual-model routing - Knowledge: Semantic search, document caching, graph operations - TTS: Text-to-speech integration Configured as pnpm workspace with cross-package file: dependencies. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
496 B
TypeScript
33 lines
496 B
TypeScript
/**
|
|
* TTS Provider Types
|
|
*/
|
|
|
|
export interface TTSRequest {
|
|
text: string;
|
|
voice?: string;
|
|
speed?: number;
|
|
format?: 'mp3' | 'wav' | 'opus';
|
|
}
|
|
|
|
export interface TTSResponse {
|
|
audio: Buffer;
|
|
format: string;
|
|
duration?: number;
|
|
}
|
|
|
|
export interface Voice {
|
|
id: string;
|
|
name: string;
|
|
lang: string;
|
|
}
|
|
|
|
export interface TTSServiceStatus {
|
|
available: boolean;
|
|
voices: string[];
|
|
}
|
|
|
|
export interface ServiceHealth {
|
|
healthy: boolean;
|
|
responseTimeMs?: number;
|
|
error?: string;
|
|
}
|