[PR #5219] [MERGED] Address assigned Engine issues 5215-5218 #6677

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5219
Author: @SpicyMarinara
Created: 8/18/2026
Status: ✅ Merged
Merged: 8/18/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/issue-sweep-5215-5218


📝 Commits (5)

  • fb92da8 Address assigned Engine issues 5215-5218
  • 0fbcc2d Harden NanoGPT URL inference
  • 1410d84 Apply CodeRabbit review findings
  • 94d1884 Close remaining review edge cases
  • 5b5855e Normalize NanoGPT video aliases before defaults

📊 Changes

19 files changed (+989 additions, -538 deletions)

View changed files

📝 CHANGELOG.md (+3 -0)
📝 packages/client/src/components/chat/ConversationMessage.tsx (+8 -0)
📝 packages/client/src/components/chat/ConversationMessageGrouped.tsx (+2 -0)
📝 packages/client/src/components/chat/ConversationMessageShared.tsx (+2 -0)
📝 packages/client/src/components/chat/MessageReactions.tsx (+54 -3)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+25 -7)
📝 packages/client/src/components/game/GameNarration.tsx (+11 -412)
➕ packages/client/src/components/game/GameNarrationVisuals.tsx (+208 -0)
📝 packages/client/src/components/game/GameSurface.tsx (+2 -1)
➕ packages/client/src/components/game/game-narration-format.ts (+174 -0)
📝 packages/client/src/lib/reactions.ts (+19 -0)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/client/vite.config.ts (+8 -10)
📝 packages/server/src/routes/connections.routes.ts (+78 -36)
📝 packages/server/src/routes/sprites.routes.ts (+36 -29)
📝 packages/server/src/services/video/game-video-runtime.ts (+47 -37)
📝 packages/server/src/services/video/video-generation.ts (+226 -2)
📝 packages/shared/src/constants/model-lists.ts (+23 -1)
➕ scripts/regressions/issue-sweep-5216-5218.regression.ts (+61 -0)

📄 Description

Why

This sweep addresses the three assigned Engine issues that require source changes: the Game narration bundle crossed its guardrail, character-created reactions could not be removed, and Video Generation connections did not support NanoGPT. The separate GHCR cleanup in #5217 was audited but cannot safely be represented as a code change.

What changed

  • split Game narration formatting, reusable visual helpers, and tag parsing into focused chunks; restore the enforced 500 KiB lazy-chunk budget
  • remove character reactions by desktop click or mobile long-press while preserving a matching user reaction
  • add NanoGPT Video Generation with live model discovery, text/image requests, asynchronous polling, debug payload logging, connection tests, and Game/sprite runtime support
  • parse NanoGPT URL hostnames at an exact domain boundary rather than trusting URL substrings
  • add focused regressions and release notes

Validation

  • pnpm check
  • node scripts/run-regressions.mjs --filter issue-sweep-5216-5218.regression.ts
  • pnpm --filter @marinara-engine/shared build
  • pnpm --filter @marinara-engine/server build
  • pnpm --filter @marinara-engine/client build
  • pnpm localization:check

The broad pnpm smoke:ui run exercised all 340 scheduled cases; the relevant Game narration cases passed, while scattered untouched Home, agent-catalog, and responsive-layout cases timed out under the full local run. The required PR validation and container build are green.

Manual verification

  • Manually verify clicking a character-created reaction on desktop removes it without removing the user's matching reaction.
  • Manually verify a mobile long-press removes a character reaction while a normal tap still toggles the user's reaction.
  • Manually configure a NanoGPT Video Generation connection, load its current models, and run a text-to-video connection test.
  • Manually verify image-to-video generation with NanoGPT in Game Mode.
  • Manually smoke-test Game narration, expression indicators, side dialogue, and formatted command badges.

Closes #5215
Closes #5216
Closes #5218
Related to #5217

Summary by CodeRabbit

  • New Features
    • Added NanoGPT as a video-generation option with model discovery, asynchronous generation, connection testing, and Game/sprite support.
    • Added support for removing character-created reactions while preserving matching personal reactions.
    • Improved game narration visuals, formatting, dialogue overlays, avatars, translations, and expression reactions.
  • Performance
    • Split game narration resources into focused bundles to reduce the main game interface bundle size.
  • Bug Fixes
    • Improved reaction removal behavior across grouped and touch-based messages.

🔄 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/5219 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/18/2026 **Status:** ✅ Merged **Merged:** 8/18/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/issue-sweep-5215-5218` --- ### 📝 Commits (5) - [`fb92da8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fb92da872ec2e16ccc3bb431650f86e3044f035e) Address assigned Engine issues 5215-5218 - [`0fbcc2d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0fbcc2df6d7a4f2b98e8119b59989c68a44f624b) Harden NanoGPT URL inference - [`1410d84`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1410d84e693095278b4fb6ef64733143c48391a2) Apply CodeRabbit review findings - [`94d1884`](https://github.com/Pasta-Devs/Marinara-Engine/commit/94d1884adcaf411f80271d0585154c4d1fc76905) Close remaining review edge cases - [`5b5855e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5b5855eec452ef094cc5e6ed1c4c633f400c3b35) Normalize NanoGPT video aliases before defaults ### 📊 Changes **19 files changed** (+989 additions, -538 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+3 -0) 📝 `packages/client/src/components/chat/ConversationMessage.tsx` (+8 -0) 📝 `packages/client/src/components/chat/ConversationMessageGrouped.tsx` (+2 -0) 📝 `packages/client/src/components/chat/ConversationMessageShared.tsx` (+2 -0) 📝 `packages/client/src/components/chat/MessageReactions.tsx` (+54 -3) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+25 -7) 📝 `packages/client/src/components/game/GameNarration.tsx` (+11 -412) ➕ `packages/client/src/components/game/GameNarrationVisuals.tsx` (+208 -0) 📝 `packages/client/src/components/game/GameSurface.tsx` (+2 -1) ➕ `packages/client/src/components/game/game-narration-format.ts` (+174 -0) 📝 `packages/client/src/lib/reactions.ts` (+19 -0) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/client/vite.config.ts` (+8 -10) 📝 `packages/server/src/routes/connections.routes.ts` (+78 -36) 📝 `packages/server/src/routes/sprites.routes.ts` (+36 -29) 📝 `packages/server/src/services/video/game-video-runtime.ts` (+47 -37) 📝 `packages/server/src/services/video/video-generation.ts` (+226 -2) 📝 `packages/shared/src/constants/model-lists.ts` (+23 -1) ➕ `scripts/regressions/issue-sweep-5216-5218.regression.ts` (+61 -0) </details> ### 📄 Description ## Why This sweep addresses the three assigned Engine issues that require source changes: the Game narration bundle crossed its guardrail, character-created reactions could not be removed, and Video Generation connections did not support NanoGPT. The separate GHCR cleanup in #5217 was audited but cannot safely be represented as a code change. ## What changed - split Game narration formatting, reusable visual helpers, and tag parsing into focused chunks; restore the enforced 500 KiB lazy-chunk budget - remove character reactions by desktop click or mobile long-press while preserving a matching user reaction - add NanoGPT Video Generation with live model discovery, text/image requests, asynchronous polling, debug payload logging, connection tests, and Game/sprite runtime support - parse NanoGPT URL hostnames at an exact domain boundary rather than trusting URL substrings - add focused regressions and release notes ## Validation - `pnpm check` - `node scripts/run-regressions.mjs --filter issue-sweep-5216-5218.regression.ts` - `pnpm --filter @marinara-engine/shared build` - `pnpm --filter @marinara-engine/server build` - `pnpm --filter @marinara-engine/client build` - `pnpm localization:check` The broad `pnpm smoke:ui` run exercised all 340 scheduled cases; the relevant Game narration cases passed, while scattered untouched Home, agent-catalog, and responsive-layout cases timed out under the full local run. The required PR validation and container build are green. ## Manual verification - [ ] Manually verify clicking a character-created reaction on desktop removes it without removing the user's matching reaction. - [ ] Manually verify a mobile long-press removes a character reaction while a normal tap still toggles the user's reaction. - [ ] Manually configure a NanoGPT Video Generation connection, load its current models, and run a text-to-video connection test. - [ ] Manually verify image-to-video generation with NanoGPT in Game Mode. - [ ] Manually smoke-test Game narration, expression indicators, side dialogue, and formatted command badges. Closes #5215 Closes #5216 Closes #5218 Related to #5217 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added NanoGPT as a video-generation option with model discovery, asynchronous generation, connection testing, and Game/sprite support. * Added support for removing character-created reactions while preserving matching personal reactions. * Improved game narration visuals, formatting, dialogue overlays, avatars, translations, and expression reactions. * **Performance** * Split game narration resources into focused bundles to reduce the main game interface bundle size. * **Bug Fixes** * Improved reaction removal behavior across grouped and touch-based messages. <!-- 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:12:40 +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#6677
No description provided.