Files
openclaw/packages/speech-core/runtime-api.ts
2026-06-04 01:22:31 -04:00

45 lines
1.0 KiB
TypeScript

// Runtime speech API barrel for TTS preferences, synthesis, streaming, and test
// helpers used by speech-capable plugins.
export {
buildTtsSystemPromptHint,
getLastTtsAttempt,
getResolvedSpeechProviderConfig,
getTtsMaxLength,
getTtsPersona,
getTtsProvider,
isSummarizationEnabled,
isTtsEnabled,
isTtsProviderConfigured,
listSpeechVoices,
listTtsPersonas,
maybeApplyTtsToPayload,
resolveExplicitTtsOverrides,
resolveTtsAutoMode,
resolveTtsConfig,
resolveTtsPrefsPath,
resolveTtsProviderOrder,
setLastTtsAttempt,
setSummarizationEnabled,
setTtsAutoMode,
setTtsEnabled,
setTtsMaxLength,
setTtsPersona,
setTtsProvider,
synthesizeSpeech,
streamSpeech,
textToSpeech,
textToSpeechStream,
textToSpeechTelephony,
testApi as _test,
testApi,
type ResolvedTtsConfig,
type ResolvedTtsModelOverrides,
type TtsDirectiveOverrides,
type TtsDirectiveParseResult,
type TtsResult,
type TtsSynthesisResult,
type TtsSynthesisStreamResult,
type TtsStreamResult,
type TtsTelephonyResult,
} from "./src/tts.js";