mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8167] [MERGED] feat(audio): add dedicated music and sound effect connections #8137
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#8137
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/8167
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/generative-audio-connections📝 Commits (10+)
4651a03chore: reserve dedicated generative audio implementation12aded4Merge branch 'feat/chat-agent-lorebook-attachments' into feat/generative-audio-connectionsa2ce040feat(audio): expose isolated package playback servicebe27059fix(tts): forward explicit connection for speech sequencesfb31525feat(audio): add bounded provider generation adaptersf03661efeat(audio): separate generation connections and preserve legacy Game audiod2bd1bffix(audio): preserve legacy models and avoid migration work per cuedaeaae5feat: configure dedicated music and sound-effect connections9de682bMerge remote-tracking branch 'origin/staging' into feat/generative-audio-connectionsef3f2fdMerge commit '8d3078cc5' into feat/generative-audio-connections📊 Changes
60 files changed (+4746 additions, -617 deletions)
View changed files
📝
docs/connections/providers-reference.md(+23 -5)📝
docs/development/optional-agent-packages.md(+39 -0)📝
docs/game/game-assets.md(+9 -9)📝
docs/media/tts-setup.md(+12 -4)📝
e2e/compatible-game-audio.e2e.ts(+246 -17)📝
e2e/marinara-host-namespace.e2e.ts(+50 -3)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+5 -1)📝
packages/client/src/components/chat/RoleplayCommandsSettings.tsx(+17 -2)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+379 -127)📝
packages/client/src/components/game/GameCombatUI.tsx(+1 -0)📝
packages/client/src/components/game/GameNarration.tsx(+2 -0)📝
packages/client/src/components/game/GameSetupWizard.tsx(+27 -10)📝
packages/client/src/components/game/GameSurface.tsx(+9 -23)📝
packages/client/src/components/panels/ConnectionsPanel.tsx(+56 -11)📝
packages/client/src/components/panels/settings/TTSConfigCard.tsx(+5 -26)📝
packages/client/src/hooks/use-connections.ts(+4 -0)➕
packages/client/src/lib/audio-service.ts(+48 -0)📝
packages/client/src/lib/connection-filters.ts(+19 -1)📝
packages/client/src/lib/connection-transfer.ts(+50 -10)📝
packages/client/src/lib/game-audio.ts(+98 -27)...and 40 more files
📄 Description
Why this change
Game music and sound effects currently share speech settings. This adds independent generation connections for Game, opt-in Roleplay sound commands and downloadable agents while preserving character voices, saved Game connection IDs and existing audio assets.
Closes #8166. Gacha Forge companion: Pasta-Devs/Marinara-Agents#1610. Translated documentation: #8168.
Integration: Exact candidate
d1c566b399cleanly includes actual stagingb2a126f952, which merged #8153 and contributor #8007. API 1.381 is preserved. Current-head required checks, completed substantive Dottore examination and resolved findings remain merge gates. This PR stays ready; follow-up changes use automatic incremental review.Verified staging delivery: #8167 merged normally with locked reviewed head
d1c566b3as actual Engine3a7081f3. Current staginge91d3ad8 preserves all60 audio feature files and adds the separately reviewed Memory Recall fix. Its Regression, CodeQL and container workflows all completed successfully; fresh GHCR metadata verifiese91d3ad8for both amd64 and arm64 (indexsha256:9602d2086f3e7be057a973522be36a9515ded0867fad8593c2e006e70395206f). This is registry/source verification, not a Docker pull or paid-provider test. Gacha #1610 was externally merged before its final alias/pin repair reached that branch; the remaining patch is tracked in Pasta-Devs/Marinara-Agents#1625 and #1626 as version1.11.1. English-guide translation #8173 is separately published on docs-i18n.What changed
SunoAPI's Generate Music contract documents an optional title. Music requires a public HTTPS callback; SFX creation does not. Shared task-status lookup for Suno SFX is a bounded compatibility inference, not paid live-provider proof.
Validation and review
Cache repair, actual review disposition and verified staging delivery.
For exact final source
d1c566b399:d1c566b3hosted Regression40015103408 passes 1074/1074 unique Node files across three shards at an actual checkout with the same tree. All 10 platform jobs in40015103512 pass. Actual current-head incremental Dottore40015116451 completed successfully and reported one LOW plus one nit. The LOW assumes an upgrade from an unmerged intermediate PR spelling: independently verified staging/main/release2.5.1 source objects never emitted it. The source-backed non-regression disposition is posted and the thread resolved. The local parameter-rebinding nit is stylistic. This remains a reported finding with a documented disposition, not a zero-finding review.The public clear API issue was found after the prior candidate passed its checks; it was held before merge and repaired here. Only three files change from
fffb8dca. Nine other files from the prior eleven-file repair remain byte-identical; only its service and maintained identity test overlap this follow-up.Prior exact candidate
fffb8dcacompleted actual incremental Dottore40012354089 with zero defects/notes, all8 required checks, and 1074/1074 unique hosted Node files. Its actual synthetic checkout has the same tree. Those are earlier-head results; new-head hosted gates remain required. The PR stays ready and uses ordinary automatic incremental review from that completed checkpoint, with no draft/full-review cycle or status override.The earlier eleven-file integration packet records full check,15 affected Node files plus the literal prompt trio,7 shell smokes,3 compiled projects and six actual Custom-to-preset CRUD cases across dark/light desktop Chromium/mobile Chromium/mobile WebKit. The editor/E2E bytes remain unchanged; its older4abb backend boundary is explicit. Four actual4abb findings were reproduced and fixed. Two source-backed false-positive dispositions preserve unknown-service refusal and the hidden retry-anchor counterexample.
Earlier4abb proof and the merged8153 dependency proof remain separately attributed, including the dependency's explicit unverified-findings qualification. Initial environment/calibration failures are retained. No product assertion or timeout was weakened.
Manual verification still required
Browser emulation and local MP3 endpoints do not establish physical-device audio or paid-provider compatibility. Gacha Forge must pin the actual Engine merge and rebuild its ZIP/catalog before delivery. Updating Engine alone does not update an installed agent package. Connection galleries and the callback proof cover inspected dark/light desktop/mobile captures.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #8167] feat(audio): add dedicated music and sound effect connectionsto [PR #8167] [MERGED] feat(audio): add dedicated music and sound effect connections