mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6652
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5152
Author: @kolacheee
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @kolacheee
Base:
staging← Head:feat/5146-audio-connections📝 Commits (8)
e8abae6feat(connections): audio provider type — shared, schema, and storage layers (#5146)c77af48feat(audio): TTS resolution through audio connections + boot migration (#5146)6956a76feat(audio): client audio connections — editor, panel, game setup, transfer fidelity693c507fix(game): keep media connections out of the wizard GM and scene pickersd3d93d8fix(audio): pre-ready review round — 13 confirmed findings + 5 low-severity hardeningsf90ffb8fix(audio): CodeRabbit round — shared flag helper, filter reuse, partial-capability hint, localized labels, docs follow-up295105cfix(audio): quarantine filters use the shared flag helper8096b76refactor(audio): shared filterAudioGenerationConnections helper📊 Changes
28 files changed (+903 additions, -67 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+6 -2)📝
packages/client/src/components/chat/StoryboardChatSettingsPanel.tsx(+4 -1)📝
packages/client/src/components/chat/SummaryPopover.tsx(+2 -1)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+206 -14)📝
packages/client/src/components/game/GameSetupWizard.tsx(+167 -5)📝
packages/client/src/components/game/GameSurface.tsx(+44 -6)📝
packages/client/src/components/panels/ConnectionsPanel.tsx(+37 -16)📝
packages/client/src/components/panels/settings/TTSConfigCard.tsx(+5 -1)📝
packages/client/src/hooks/use-connections.ts(+4 -0)📝
packages/client/src/lib/connection-filters.ts(+24 -1)📝
packages/client/src/lib/connection-transfer.ts(+23 -0)📝
packages/client/src/lib/game-setup-share.ts(+17 -1)📝
packages/client/src/lib/tts-service.ts(+4 -0)📝
packages/client/src/localization/locales/en.json(+27 -1)📝
packages/server/src/app.ts(+6 -0)📝
packages/server/src/db/schema/connections.ts(+9 -0)📝
packages/server/src/routes/backup.routes.ts(+1 -0)📝
packages/server/src/routes/game.routes.ts(+11 -1)📝
packages/server/src/routes/tts.routes.ts(+79 -9)...and 8 more files
📄 Description
Linked issue
Closes #5146
Why this change
Music and sound-effect generation for Game Mode is currently gated on the single global TTS settings blob — one shared source, key, and pair of feature toggles for the whole install, buried under Settings → TTS. That blocked the audio roadmap discussed in #5146 (and the follow-up music redesign in #5145): there is no way to say "this game uses this ElevenLabs account with music on," no category default/fallback like image and video connections already have, and package/game features can't discover whether a capable audio backend even exists. This PR makes audio a first-class connection type so speech, sound effects, and music resolve through the same connection model as every other generation category.
What changed
audioprovider withaudioSource(elevenlabs / openai / pockettts / xai),audioVoice, and per-connectionaudioSoundEffects/audioMusiccapability flags; audio participates in the category-scoped default/fallback exclusivity that image and video use;MODEL_LISTS.audioseeds the known per-source TTS models./tts/speak,/tts/game-audio,/tts/voices, and/tts/modelsresolve their config through an audio connection (explicitaudioConnectionId→ category default → fallback) and fall back to the legacy TTS settings blob when no audio connection exists — the blob keeps owning playback knobs (speed, stability, extractor settings) either way.gameAudioConnectionId, enable flags) and round-trip through setup-share files with an audio connection snapshot./tts/game-audio.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Already exercised on a local playtest install (agent-run, so treat as a to-do list to reconfirm):
defaultForAgentsset; marker written; blob preserved; restart created no duplicate./api/connectionsmasks the key.Still needs a human pass in a real browser:
/tts/speakand game sound-effect/music generation end-to-end against a real ElevenLabs key, with and without an explicit per-game audio connection.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG entry added under Unreleased.
docs/CONFIGURATION.md(TTS section) will need a follow-up pass once the surface settles — flagged rather than done here so the docs land alongside the music-generation redesign that builds on this (#5145 discussion).Summary by CodeRabbit
New Features
Migration
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.