mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2560] [MERGED] feat(agents): add YouTube DJ agent with in-app embedded player #5657
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#5657
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/2560
Author: @Romuromylus
Created: 6/14/2026
Status: ✅ Merged
Merged: 6/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:yt-dj-pr📝 Commits (3)
2e9ba56feat(agents): add YouTube DJ agent with in-app embedded playerb6147cefix(youtube-dj): mutually exclusive game music sources + immediate stop80bd963fix(youtube-dj): count YouTube DJ in the game agents badge📊 Changes
22 files changed (+934 additions, -16 deletions)
View changed files
📝
packages/client/src/components/agents/AgentEditor.tsx(+153 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+96 -2)➕
packages/client/src/components/chat/YouTubePlayer.tsx(+272 -0)📝
packages/client/src/components/game/GameSurface.tsx(+70 -9)📝
packages/client/src/components/layout/TopBar.tsx(+2 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+8 -0)📝
packages/client/src/hooks/use-generate.ts(+44 -0)📝
packages/client/src/stores/agent.store.ts(+16 -0)📝
packages/client/src/stores/ui.store.ts(+12 -1)📝
packages/server/src/middleware/security-headers.ts(+2 -2)📝
packages/server/src/routes/generate/retry-agents-route.ts(+13 -0)📝
packages/server/src/routes/index.ts(+2 -0)➕
packages/server/src/routes/youtube.routes.ts(+187 -0)📝
packages/server/src/services/agents/agent-executor.ts(+9 -0)📝
packages/server/src/services/storage/agents.storage.ts(+2 -0)📝
packages/shared/scripts/generate-feature-registries.mjs(+1 -0)📝
packages/shared/src/constants/agent-prompts.ts(+24 -0)📝
packages/shared/src/constants/chat-mode-capabilities.ts(+2 -1)📝
packages/shared/src/features/agents/agent-registry.generated.ts(+2 -0)➕
packages/shared/src/features/agents/youtube/manifest.ts(+15 -0)...and 2 more files
📄 Description
Linked issue
Closes #2559
Why this change
What changed
post_processing, off by default),youtube_controlresult type, and a regenerated agent registry (addedyoutubeto the generator order, right afterspotify)./api/youtuberoutes — encrypted API-key storage, server-side search so the key never reaches the browser, and friendly, actionable Google API error messages (API-not-enabled, invalid/expired key, referrer restriction, quota). Agent-executor constraint bridge (<youtube_dj_constraints>, mirroring Spotify's), plus game-mode "Retry YouTube DJ" wiring.youtube.com/s.ytimg.com(script + frame).Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpasses locally (Impeccable guard + lint + alltsc+ production build). Boxes left unticked while this is a draft, pending a final maintainer pass.Verified end-to-end on a self-hosted Docker deployment of this feature:
Still to verify before marking ready: light/dark + mobile viewport pass, and the error paths surfaced through the friendly-error messages (invalid key, quota).
Docs and release impact
No existing doc is made misleading by this additive agent. A short YouTube DJ mention could be added alongside the Spotify DJ docs if desired.
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.