Skip to content

feat(speech): add OmniRoute text-to-speech provider - #76

Merged
ekinnee merged 1 commit into
mainfrom
codex/issue-15-text-to-speech
Sep 18, 2026
Merged

ekinnee merged 1 commit into
mainfrom
codex/issue-15-text-to-speech

Conversation

@ekinnee

@ekinnee ekinnee commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the OmniRoute registerSpeechProvider adapter for POST /v1/audio/speech
  • support explicit model selection, OpenAI-compatible voices, mp3/opus/wav, provider-specific auth/base URL overrides, and guarded bounded binary responses
  • document speech ownership/configuration and extend manifest/compatibility probes/tests/generated dist/

Related issue

Closes #15

Validation

  • pnpm test (143 tests)
  • pnpm build
  • git diff --check
  • node .github/scripts/upstream-compatibility-probe.mjs --source-contract
  • packed dist/index.js registration probe with openclaw@2026.7.1 (provider/modelCatalog/embedding/image/speech/video/music/webSearch all registered once)
  • direct OmniRoute catalog and speech-route probe performed without exposing credentials or persisting audio

Notes for reviewers

  • No credentials, private endpoints, or production-only data included
  • Capability and manifest ownership changes are documented
  • Explicit speech models are required; the plugin does not synthesize audio catalog defaults.
  • Response validation requires matching MIME/signature, including an Ogg OpusHead for Opus output.
  • The live catalog exposed Ollama Cloud chat/reasoning/vision models but no speech-capable model. The advertised Cloudflare MeloTTS entry was rejected by OmniRoute's speech router as an invalid speech model, so no live audio result is claimed.

@github-actions github-actions Bot added documentation Improvements or additions to documentation ci Continuous-integration or automation changes tests Unit or compatibility test coverage and test tooling dependencies Dependency, lockfile, or package metadata updates compatibility OpenClaw compatibility or packaged-artifact contract changes labels Sep 18, 2026
@ekinnee
ekinnee merged commit b5c3ea6 into main Sep 18, 2026
6 checks passed
@ekinnee
ekinnee deleted the codex/issue-15-text-to-speech branch September 18, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous-integration or automation changes compatibility OpenClaw compatibility or packaged-artifact contract changes dependencies Dependency, lockfile, or package metadata updates documentation Improvements or additions to documentation tests Unit or compatibility test coverage and test tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add OmniRoute text-to-speech

1 participant