mirror of
https://github.com/Bijit-Mondal/VoiceAgent.git
synced 2026-03-02 18:36:39 +00:00
- Added ConversationManager for managing conversation history with configurable limits. - Implemented InputQueue for serial processing of input items. - Created SpeechManager for handling text-to-speech generation and streaming. - Developed StreamProcessor for processing LLM streams and forwarding events. - Added TranscriptionManager for audio transcription using AI SDK. - Introduced WebSocketManager for managing WebSocket connections and messaging. - Updated VoiceAgent to support new architecture and improved socket handling. - Refactored index files to export new core components.
23 lines
524 B
TypeScript
23 lines
524 B
TypeScript
// Agents
|
|
export { VoiceAgent, type VoiceAgentOptions } from "./VoiceAgent.new";
|
|
export {
|
|
VideoAgent,
|
|
type VideoAgentOptions,
|
|
type VideoFrame,
|
|
type AudioData,
|
|
type VideoAgentConfig,
|
|
type FrameContext,
|
|
type FrameTriggerReason,
|
|
} from "./VideoAgent.new";
|
|
|
|
// Shared types
|
|
export {
|
|
type SpeechChunk,
|
|
type StreamingSpeechConfig,
|
|
type HistoryConfig,
|
|
type StopWhenCondition,
|
|
DEFAULT_STREAMING_SPEECH_CONFIG,
|
|
DEFAULT_HISTORY_CONFIG,
|
|
DEFAULT_MAX_AUDIO_SIZE,
|
|
} from "./types";
|