Repository navigation
feat: generic audio types and voice listing in place of ElevenLabs tools - #438
Merged
Merged
Conversation
Base automatically changed from
fix/provider-scope-errors-openrouter-audio
to
main
November 5, 2026 14:23
generateAudio takes one type, speech, music or sfx, and adapts it per model. ElevenLabs takes real parameters, Lyria reads requests from the prompt, Lyria Clip is always 30 seconds, and OpenRouter only sends audio over a stream. The schema follows the configured keys. Add a generic listVoices tool, backed by the catalog that fills the Voice settings picker and the resolver generateAudio uses, so all three agree on a model's voices and its default. Remove the ElevenLabs soundEffects, generateMusic and listVoices tools, which these replace. The ElevenLabs app keeps its key and adds itself as a provider. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ProfSynapse
force-pushed
the
feat/generate-audio-types
branch
from
November 5, 2026 14:23
20ec668 to
d304506
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #437, so this should merge after it. The diff here is only this layer.
Summary
One audio tool, one
type.generateAudiotakestype: speech | music | sfxand adapts it to the model:durationSecondsinstrumentalloop(SFX only)lyria-3.5,lyria-3-clip-preview) and OpenRouter (Lyria Pro and Clip). Sound effects are ElevenLabs only.typeoption or music wording.typeout means speech, and JSON callers sendingmode: 'voice'still get speech. The CLI's--modeflag is gone.One voice list. New
listVoicesreplaces the ElevenLabs one.VoiceCatalogService, which also fills the Voice settings picker, and gets its default fromSpeechSynthesisService.resolveRequest, whichgenerateAudioalso uses. The default it reports is the one generation will use.generateAudio'svoicedescription now states the current default and points tolistVoices, instead of listing voices per model.Removed. The ElevenLabs
soundEffects,generateMusicandlistVoicestools. The app keeps its key and validation, and adds itself as a provider to the shared tools. This is a breaking change for anything calling those tools by name: it getsUnknown tool, which points it togetTools.Testing
npm run buildandschemas:checkpass.listVoicesand the tool removal were not.listVoiceson the settings default, OpenAI, Google, ElevenLabs (70 voices from a real account) and OpenRouter.nexusCLI: discovery, listing, generating a sound effect, and the removed tool failing to resolve.dev:errorsreported nothing on each run, but console capture was only enabled on the first app session, so this is weaker evidence on later runs.npm run verify:obsidianwas not run.Not tested live:
listVoices, because the key has that scope. The test uses ElevenLabs' real response wording.Worth checking in review
🤖 Generated with Claude Code