mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 05:31:11 +00:00
* perf(tts): split lightweight settings imports * fix(tts): drop redundant internal exports * fix(tts): remove unused settings type import * docs(sdk): refresh speech settings API baseline * fix(tts): align SDK surface gates * fix(tts): ignore non-object preference roots
49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
// Runtime speech API barrel for TTS preferences, synthesis, streaming, and test
|
|
// helpers used by speech-capable plugins.
|
|
export {
|
|
buildTtsSystemPromptHint,
|
|
getTtsMaxLength,
|
|
getTtsPersona,
|
|
isSummarizationEnabled,
|
|
isTtsEnabled,
|
|
listTtsPersonas,
|
|
resolveTtsAutoMode,
|
|
resolveTtsConfig,
|
|
resolveTtsPrefsPath,
|
|
type ResolvedTtsConfig,
|
|
type ResolvedTtsModelOverrides,
|
|
} from "./src/tts-settings.js";
|
|
export {
|
|
setSummarizationEnabled,
|
|
setTtsAutoMode,
|
|
setTtsEnabled,
|
|
setTtsMaxLength,
|
|
setTtsPersona,
|
|
setTtsProvider,
|
|
} from "./src/tts-settings-writes.js";
|
|
export {
|
|
getLastTtsAttempt,
|
|
getResolvedSpeechProviderConfig,
|
|
getTtsProvider,
|
|
isTtsProviderConfigured,
|
|
listSpeechVoices,
|
|
maybeApplyTtsToPayload,
|
|
resolveExplicitTtsOverrides,
|
|
resolveTtsProviderOrder,
|
|
setLastTtsAttempt,
|
|
synthesizeSpeech,
|
|
streamSpeech,
|
|
textToSpeech,
|
|
textToSpeechStream,
|
|
textToSpeechTelephony,
|
|
testApi as _test,
|
|
testApi,
|
|
type TtsDirectiveOverrides,
|
|
type TtsDirectiveParseResult,
|
|
type TtsResult,
|
|
type TtsSynthesisResult,
|
|
type TtsSynthesisStreamResult,
|
|
type TtsStreamResult,
|
|
type TtsTelephonyResult,
|
|
} from "./src/tts.js";
|