[PR #4122] [MERGED] Resolve open Engine issues and Prose Guardian regression #6239

Closed
opened 2026-10-23 04:08:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: agent/issues-sweep-4114-4120


📝 Commits (4)

  • 9009f89 Start issues sweep with credits update
  • 8b33eea Resolve open staging issues
  • fe3a679 Add local sidecar memory controls
  • 15eb06b Apply CodeRabbit review fixes

📊 Changes

35 files changed (+931 additions, -68 deletions)

View changed files

📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+3 -0)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+2 -0)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+94 -1)
📝 packages/client/src/components/game/GameSurface.tsx (+94 -8)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+47 -0)
📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+37 -0)
📝 packages/client/src/hooks/use-background-autonomous.ts (+39 -10)
📝 packages/client/src/hooks/use-connections.ts (+2 -1)
📝 packages/client/src/hooks/use-generate.ts (+5 -2)
📝 packages/client/src/localization/locales/en.json (+16 -0)
📝 packages/client/src/stores/sidecar.store.ts (+17 -0)
📝 packages/server/src/routes/connections.routes.ts (+23 -7)
📝 packages/server/src/routes/gallery.routes.ts (+2 -1)
📝 packages/server/src/routes/game.routes.ts (+6 -1)
📝 packages/server/src/routes/generate.routes.ts (+6 -1)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+7 -1)
📝 packages/server/src/routes/sidecar.routes.ts (+3 -1)
📝 packages/server/src/routes/sprites.routes.ts (+2 -0)
📝 packages/server/src/routes/tts.routes.ts (+124 -0)
📝 packages/server/src/services/generation/media-connection-fallback.ts (+21 -1)

...and 15 more files

📄 Description

Why

Resolve the current open issue set with focused fixes, include the maintainer credits update, restore Prose Guardian rewrites reported against latest staging, and add the requested explicit sidecar VRAM control.

Scope

  • Resolves #4114: make the Memory Recall accordion state accessible to screen readers.
  • Resolves #4115: preserve roleplay message edits made during generation, with regression coverage for the existing staging fix.
  • Resolves #4116: clear stale buffered stream text before a new generation.
  • Resolves #4117: preserve edited connection default parameters, with regression coverage for the existing staging fix.
  • Resolves #4118: support up to five ComfyUI LoRAs and strengths in both image and video workflows.
  • Resolves #4119: reconcile background autonomous message saves before notifications and cache invalidation.
  • Resolves #4120: optionally generate Game sound effects and music through ElevenLabs.
  • Resolves #4123: expose state-aware Load/Unload controls for the local sidecar and keep manual unloads from immediately auto-reloading.
  • Include DSBwizzard and Nevi in Special Thanks.
  • Restore Prose Guardian rewriting when an agent returns modifiesText as the string "true", while retaining a negative control.

Validation

  • pnpm check
  • pnpm localization:check
  • pnpm regression:issues
  • pnpm smoke:ui
  • Manually verify the affected UI paths in a browser

Automated validation run while preparing this PR: pnpm check, pnpm regression:issues, and pnpm smoke:ui (130 passed, 68 skipped). The only lint notice is the pre-existing NoodleHome.tsx exhaustive-deps warning.

All validation boxes intentionally remain unchecked for human verification.

Summary by CodeRabbit

  • New Features

    • Configure up to five LoRAs for ComfyUI image and video generation.
    • Generate game music and sound effects with ElevenLabs.
    • Load and unload local models directly from Connections settings.
    • Improve generated game audio playback and caching.
    • Added accessibility semantics to the Memory Recall toggle.
  • Bug Fixes

    • Improved persistence and display of background-generated messages.
    • Refined text-rewrite handling and scene audio generation controls.
    • Added clearer local model loading, unloading, and error states.
    • Updated credits with additional acknowledgements.

🔄 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/4122 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/26/2026 **Status:** ✅ Merged **Merged:** 7/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/issues-sweep-4114-4120` --- ### 📝 Commits (4) - [`9009f89`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9009f8940d9fe78b9415d779009c55fe1d503b4c) Start issues sweep with credits update - [`8b33eea`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8b33eea8d24677feb4a6041b5b9134b4afbc3ba2) Resolve open staging issues - [`fe3a679`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fe3a679d8245874a148387e195f163bb8b35605b) Add local sidecar memory controls - [`15eb06b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/15eb06b347553a5097d894f96cf54303be8f8661) Apply CodeRabbit review fixes ### 📊 Changes **35 files changed** (+931 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+3 -0) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+2 -0) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+94 -1) 📝 `packages/client/src/components/game/GameSurface.tsx` (+94 -8) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+47 -0) 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+37 -0) 📝 `packages/client/src/hooks/use-background-autonomous.ts` (+39 -10) 📝 `packages/client/src/hooks/use-connections.ts` (+2 -1) 📝 `packages/client/src/hooks/use-generate.ts` (+5 -2) 📝 `packages/client/src/localization/locales/en.json` (+16 -0) 📝 `packages/client/src/stores/sidecar.store.ts` (+17 -0) 📝 `packages/server/src/routes/connections.routes.ts` (+23 -7) 📝 `packages/server/src/routes/gallery.routes.ts` (+2 -1) 📝 `packages/server/src/routes/game.routes.ts` (+6 -1) 📝 `packages/server/src/routes/generate.routes.ts` (+6 -1) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+7 -1) 📝 `packages/server/src/routes/sidecar.routes.ts` (+3 -1) 📝 `packages/server/src/routes/sprites.routes.ts` (+2 -0) 📝 `packages/server/src/routes/tts.routes.ts` (+124 -0) 📝 `packages/server/src/services/generation/media-connection-fallback.ts` (+21 -1) _...and 15 more files_ </details> ### 📄 Description ## Why Resolve the current open issue set with focused fixes, include the maintainer credits update, restore Prose Guardian rewrites reported against latest staging, and add the requested explicit sidecar VRAM control. ## Scope - Resolves #4114: make the Memory Recall accordion state accessible to screen readers. - Resolves #4115: preserve roleplay message edits made during generation, with regression coverage for the existing staging fix. - Resolves #4116: clear stale buffered stream text before a new generation. - Resolves #4117: preserve edited connection default parameters, with regression coverage for the existing staging fix. - Resolves #4118: support up to five ComfyUI LoRAs and strengths in both image and video workflows. - Resolves #4119: reconcile background autonomous message saves before notifications and cache invalidation. - Resolves #4120: optionally generate Game sound effects and music through ElevenLabs. - Resolves #4123: expose state-aware Load/Unload controls for the local sidecar and keep manual unloads from immediately auto-reloading. - Include DSBwizzard and Nevi in Special Thanks. - Restore Prose Guardian rewriting when an agent returns `modifiesText` as the string `"true"`, while retaining a negative control. ## Validation - [ ] `pnpm check` - [ ] `pnpm localization:check` - [ ] `pnpm regression:issues` - [ ] `pnpm smoke:ui` - [ ] Manually verify the affected UI paths in a browser Automated validation run while preparing this PR: `pnpm check`, `pnpm regression:issues`, and `pnpm smoke:ui` (130 passed, 68 skipped). The only lint notice is the pre-existing `NoodleHome.tsx` exhaustive-deps warning. All validation boxes intentionally remain unchecked for human verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Configure up to five LoRAs for ComfyUI image and video generation. - Generate game music and sound effects with ElevenLabs. - Load and unload local models directly from Connections settings. - Improve generated game audio playback and caching. - Added accessibility semantics to the Memory Recall toggle. - **Bug Fixes** - Improved persistence and display of background-generated messages. - Refined text-rewrite handling and scene audio generation controls. - Added clearer local model loading, unloading, and error states. - Updated credits with additional acknowledgements. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:08:30 +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#6239
No description provided.