[PR #3146] [MERGED] [codex] recover local UI and Music DJ fixes #5815

Closed
opened 2026-10-22 04:19:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3146
Author: @SpicyMarinara
Created: 7/2/2026
Status: ✅ Merged
Merged: 7/2/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/recover-local-fixes-from-stash


📝 Commits (3)

  • f6424b3 recover local ui and music fixes
  • e083476 Merge staging into local fixes recovery
  • 1d52c36 Address CodeRabbit review feedback

📊 Changes

12 files changed (+460 additions, -263 deletions)

View changed files

📝 packages/client/src/components/chat/ChatCommonOverlays.tsx (+4 -4)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+77 -74)
📝 packages/client/src/components/chat/WeatherEffects.tsx (+76 -64)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+49 -45)
📝 packages/server/src/routes/generate.routes.ts (+24 -23)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+15 -4)
📝 packages/server/src/routes/generate/sse.ts (+13 -8)
📝 packages/server/src/services/agents/agent-executor.ts (+33 -21)
📝 packages/server/src/services/generation/spotify-agent-runtime.ts (+70 -1)
📝 packages/server/src/services/generation/tool-resolution-runtime.ts (+74 -7)
📝 packages/server/src/services/tools/tool-executor.ts (+24 -11)
📝 packages/shared/src/constants/agent-prompts.ts (+1 -1)

📄 Description

Summary

Recovers the local fixes preserved in stash@{0} (codex-preserve-local-fixes-before-team-prs-2026-07-02) onto a fresh branch from origin/staging.

  • Scope Local Model's roleplay warning to the expanded card only.
  • Keep the chosen connection checkmark above the avatar frame instead of clipping inside it.
  • Make Chat Settings loading chrome use the chat chroma/theme tokens.
  • Reduce Roleplay weather-effect stutter by lowering particle pressure, capping canvas DPR, throttling animation to 30fps, and avoiding expensive per-particle gradients.
  • Respect explicit per-chat tool/function-call disablement even when the request body says tools are enabled.
  • Harden SSE writes after client disconnects/stream closure.
  • Give Music DJ current Spotify playback context and recover action: "none" when the current playback does not match the configured playlist/artist source.

Why

These were user-reported local fixes that were stashed before the team PR merge work. Recovering them as a separate draft PR keeps them reviewable without mixing them into the newer issue-sweep PR.

No linked issue yet; a tracking issue should be opened before this PR is submitted if maintainers require one.

Validation

Automated locally:

  • git diff --check
  • prettier --check on the touched files
  • pnpm check
  • pnpm regression:prompt
  • pnpm smoke:ui (6 passed, 2 skipped)

Manual verification needed before merge:

  • Verify the chosen connection checkmark renders above custom and provider avatars.
  • Verify the Local Model warning appears only after expanding the Local Model card.
  • Verify Chat Settings loading text follows the active chroma/theme color.
  • Verify Roleplay weather effects feel smoother on a real long-running scene.
  • Verify disabling function calls/tools for a chat prevents main-generation tool calls.
  • Verify Spotify Music DJ switches away from unrelated current playback when a playlist/artist source is configured.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3146 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/2/2026 **Status:** ✅ Merged **Merged:** 7/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/recover-local-fixes-from-stash` --- ### 📝 Commits (3) - [`f6424b3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f6424b3712f19c76bf95b2bf2559d6f90fe434a4) recover local ui and music fixes - [`e083476`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e083476346b487b29ad576660c20d21432a85661) Merge staging into local fixes recovery - [`1d52c36`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1d52c36e014a5c5d8ff2ef29301e26b82bcebf0e) Address CodeRabbit review feedback ### 📊 Changes **12 files changed** (+460 additions, -263 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ChatCommonOverlays.tsx` (+4 -4) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+77 -74) 📝 `packages/client/src/components/chat/WeatherEffects.tsx` (+76 -64) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+49 -45) 📝 `packages/server/src/routes/generate.routes.ts` (+24 -23) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+15 -4) 📝 `packages/server/src/routes/generate/sse.ts` (+13 -8) 📝 `packages/server/src/services/agents/agent-executor.ts` (+33 -21) 📝 `packages/server/src/services/generation/spotify-agent-runtime.ts` (+70 -1) 📝 `packages/server/src/services/generation/tool-resolution-runtime.ts` (+74 -7) 📝 `packages/server/src/services/tools/tool-executor.ts` (+24 -11) 📝 `packages/shared/src/constants/agent-prompts.ts` (+1 -1) </details> ### 📄 Description ## Summary Recovers the local fixes preserved in `stash@{0}` (`codex-preserve-local-fixes-before-team-prs-2026-07-02`) onto a fresh branch from `origin/staging`. - Scope Local Model's roleplay warning to the expanded card only. - Keep the chosen connection checkmark above the avatar frame instead of clipping inside it. - Make Chat Settings loading chrome use the chat chroma/theme tokens. - Reduce Roleplay weather-effect stutter by lowering particle pressure, capping canvas DPR, throttling animation to 30fps, and avoiding expensive per-particle gradients. - Respect explicit per-chat tool/function-call disablement even when the request body says tools are enabled. - Harden SSE writes after client disconnects/stream closure. - Give Music DJ current Spotify playback context and recover `action: "none"` when the current playback does not match the configured playlist/artist source. ## Why These were user-reported local fixes that were stashed before the team PR merge work. Recovering them as a separate draft PR keeps them reviewable without mixing them into the newer issue-sweep PR. No linked issue yet; a tracking issue should be opened before this PR is submitted if maintainers require one. ## Validation Automated locally: - `git diff --check` - `prettier --check` on the touched files - `pnpm check` - `pnpm regression:prompt` - `pnpm smoke:ui` (6 passed, 2 skipped) Manual verification needed before merge: - [ ] Verify the chosen connection checkmark renders above custom and provider avatars. - [ ] Verify the Local Model warning appears only after expanding the Local Model card. - [ ] Verify Chat Settings loading text follows the active chroma/theme color. - [ ] Verify Roleplay weather effects feel smoother on a real long-running scene. - [ ] Verify disabling function calls/tools for a chat prevents main-generation tool calls. - [ ] Verify Spotify Music DJ switches away from unrelated current playback when a playlist/artist source is configured. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:19:45 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5815
No description provided.