[PR #3296] [MERGED] [codex] Polish call clips and game asset media #5869

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

📋 Pull Request Information

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

Base: staging ← Head: codex/fix-google-veo-reference-payload


📝 Commits (1)

  • a2a8bc6 Polish call clips and game asset media

📊 Changes

17 files changed (+1282 additions, -194 deletions)

View changed files

📝 CHANGELOG.md (+12 -2)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+347 -20)
📝 packages/client/src/components/characters/CharacterLibraryView.tsx (+1 -1)
📝 packages/client/src/components/chat/ConversationCallSurface.tsx (+96 -15)
📝 packages/client/src/components/game/GameSurface.tsx (+59 -17)
📝 packages/client/src/components/panels/CharactersPanel.tsx (+1 -1)
📝 packages/client/src/hooks/use-characters.ts (+27 -1)
📝 packages/client/src/hooks/use-generate.ts (+17 -0)
📝 packages/server/src/routes/characters.routes.ts (+78 -0)
📝 packages/server/src/routes/conversation-calls.routes.ts (+10 -0)
📝 packages/server/src/routes/game.routes.ts (+13 -5)
📝 packages/server/src/services/conversation/call-character-videos.service.ts (+366 -51)
📝 packages/server/src/services/game/game-asset-generation.ts (+2 -2)
📝 packages/server/src/services/prompt-overrides/registry/conversation-call-videos.ts (+22 -33)
📝 packages/server/src/services/prompt-overrides/registry/game-assets.ts (+1 -0)
📝 packages/server/src/services/video/video-generation.ts (+226 -46)
📝 packages/shared/src/types/conversation-call.ts (+4 -0)

📄 Description

Linked issue

N/A - maintainer-requested sweep from chat; no single issue covers the full set of fixes.

Why this change

  • Video-call presence clips needed to be more reliable for real use: Veo reference payloads, stale avatar references, clip generation status, prompt drift, provider duration mismatches, and loop-tail defects were making generated clips hard to test and use.
  • Character Gallery needed practical controls for generated call clips, including deleting, regenerating individual slots, and trimming bad loop tails without destroying the original MP4.
  • Game Mode NPC portrait generation needed to preserve GM-generated NPC descriptions during initial asset generation and later dynamic prompts.
  • Several recent UI/behavior fixes needed to ship together for v2.1.0 staging.

What changed

  • Added non-destructive trim metadata for Conversation Call standard/custom clips, a Character Gallery trim editor, and in-call playback that loops inside saved trim ranges.
  • Hardened Conversation Call video generation: actual avatar-byte fingerprinting, cache-busted clip URLs, per-slot generation locks, one-at-a-time pre-generation, provider-effective duration prompts, improved Google Veo payload fallback/download extraction, and cleaner reference-led clip prompts.
  • Added delete/reset controls and per-slot generation affordances for Character/Persona Gallery Clips.
  • Improved generated call/video clip playback by muting provider audio and respecting trim ranges in Gallery previews, custom clip previews, and live call participant tiles.
  • Fixed Game Mode NPC portrait prompt assembly so GM-generated NPC visual profiles are carried into initial and dynamic image generation.
  • Updated v2.1.0 CHANGELOG entries for the included media/call/game fixes.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated validation run by Codex: pnpm check.
  • Manual browser verification still needed for Character Gallery clip trim UX, live call playback with trimmed clips, and Game Mode initial NPC portrait generation.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not attached; manual browser pass still needed by maintainer/reviewer.

🔄 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/3296 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/5/2026 **Status:** ✅ Merged **Merged:** 7/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/fix-google-veo-reference-payload` --- ### 📝 Commits (1) - [`a2a8bc6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a2a8bc680a24acf18eb172da10f6ea664ed551c9) Polish call clips and game asset media ### 📊 Changes **17 files changed** (+1282 additions, -194 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+12 -2) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+347 -20) 📝 `packages/client/src/components/characters/CharacterLibraryView.tsx` (+1 -1) 📝 `packages/client/src/components/chat/ConversationCallSurface.tsx` (+96 -15) 📝 `packages/client/src/components/game/GameSurface.tsx` (+59 -17) 📝 `packages/client/src/components/panels/CharactersPanel.tsx` (+1 -1) 📝 `packages/client/src/hooks/use-characters.ts` (+27 -1) 📝 `packages/client/src/hooks/use-generate.ts` (+17 -0) 📝 `packages/server/src/routes/characters.routes.ts` (+78 -0) 📝 `packages/server/src/routes/conversation-calls.routes.ts` (+10 -0) 📝 `packages/server/src/routes/game.routes.ts` (+13 -5) 📝 `packages/server/src/services/conversation/call-character-videos.service.ts` (+366 -51) 📝 `packages/server/src/services/game/game-asset-generation.ts` (+2 -2) 📝 `packages/server/src/services/prompt-overrides/registry/conversation-call-videos.ts` (+22 -33) 📝 `packages/server/src/services/prompt-overrides/registry/game-assets.ts` (+1 -0) 📝 `packages/server/src/services/video/video-generation.ts` (+226 -46) 📝 `packages/shared/src/types/conversation-call.ts` (+4 -0) </details> ### 📄 Description ## Linked issue N/A - maintainer-requested sweep from chat; no single issue covers the full set of fixes. ## Why this change - Video-call presence clips needed to be more reliable for real use: Veo reference payloads, stale avatar references, clip generation status, prompt drift, provider duration mismatches, and loop-tail defects were making generated clips hard to test and use. - Character Gallery needed practical controls for generated call clips, including deleting, regenerating individual slots, and trimming bad loop tails without destroying the original MP4. - Game Mode NPC portrait generation needed to preserve GM-generated NPC descriptions during initial asset generation and later dynamic prompts. - Several recent UI/behavior fixes needed to ship together for v2.1.0 staging. ## What changed - Added non-destructive trim metadata for Conversation Call standard/custom clips, a Character Gallery trim editor, and in-call playback that loops inside saved trim ranges. - Hardened Conversation Call video generation: actual avatar-byte fingerprinting, cache-busted clip URLs, per-slot generation locks, one-at-a-time pre-generation, provider-effective duration prompts, improved Google Veo payload fallback/download extraction, and cleaner reference-led clip prompts. - Added delete/reset controls and per-slot generation affordances for Character/Persona Gallery Clips. - Improved generated call/video clip playback by muting provider audio and respecting trim ranges in Gallery previews, custom clip previews, and live call participant tiles. - Fixed Game Mode NPC portrait prompt assembly so GM-generated NPC visual profiles are carried into initial and dynamic image generation. - Updated v2.1.0 CHANGELOG entries for the included media/call/game fixes. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated validation run by Codex: `pnpm check`. - Manual browser verification still needed for Character Gallery clip trim UX, live call playback with trimmed clips, and Game Mode initial NPC portrait generation. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not attached; manual browser pass still needed by maintainer/reviewer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:20:20 +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#5869
No description provided.