mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7695] [MERGED] feat(video): file Conversation video messages under the characters they show #7887
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#7887
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/7695
Author: @JamesMowery
Created: 10/15/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/convo-video-character-galleries📝 Commits (10+)
ae770bdfeat(video): file Conversation videos under the characters they showc36602bfix(video): list Conversation clips in a persona's gallery only when they show the persona8002629fix(video): count a unique first name as naming a chat member in a clip8eccc70Merge branch 'staging' into feat/convo-video-character-galleriesd7d4e5dMerge branch 'feat/convo-video-command' into feat/convo-video-character-galleries9fc02d7fix(video): match character names in video prompts more carefully520df8efix(video): match only capitalised names, by id for the persona, and fix the gallery docs6668ef1fix(video): skip single-quoted speech and match two-letter names in video clips5b7e033fix(video): let quoted speech wrap onto the next line, stopping at a blank linedc159daMerge branch 'staging' into feat/convo-video-character-galleries📊 Changes
9 files changed (+441 additions, -52 deletions)
View changed files
📝
docs/characters/galleries.md(+1 -1)📝
packages/server/src/db/schema/game-scene-videos.ts(+5 -0)📝
packages/server/src/routes/characters.routes.ts(+58 -48)📝
packages/server/src/routes/gallery.routes.ts(+4 -0)📝
packages/server/src/services/generation/conversation-video-runtime.ts(+109 -2)📝
packages/server/src/services/image/illustrator-references.ts(+1 -1)📝
packages/server/src/services/storage/game-scene-videos.storage.ts(+14 -0)📝
packages/server/src/services/video/chat-video-generation.ts(+3 -0)➕
scripts/regressions/convo-video-character-galleries.regression.ts(+246 -0)📄 Description
Linked issue
Closes #7693
Part of #7545 (item 4). @SpicyMarinara
Why this change
What changed
c36602b71) list a Conversation clip only when it names the persona. Before, a persona's gallery listed every video from its chats.80026290c): a clip that says "Lena" is filed under "Dr. Lena Kowalski" when no one else in the chat shares that name; a surname two people share ("Kowalski") names neither. This applies to video messages only. The shared character matcher keeps its full-name rule, so pictures are unchanged.9fc02d740,520df8ef3,6668ef13d,5b7e033bc):"…",“…”,«…»and single-quoted lines ('I'm here, Bob!'). A quote may wrap onto the next line but never crosses a blank line, so a stray quote mark (5'10") can't hide a paragraph of narration. Possessive and plural apostrophes are not quotes.NAME_STOPWORDSlist is now exported and reused here; picture matching is unchanged.game_scene_videosgains a nullablecharacter_idscolumn (a JSON list). Older rows read it as null, so no migration orSTORAGE_VERSIONbump is needed (the file-backed store reads a missing column as null).Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated runs on
1106ac66f(based on #7651's head8dd425b96, which includesstaging):pnpm check: passes.convo-video-character-galleries: passes. Through the real routes with fake text and ComfyUI services, it covers, in a group chat: a clip Aster sends that names Bob listed in Aster's and Bob's galleries but not Carol's; an untagged older video still listed for every character and the persona; the persona's gallery listing a clip only when it names the persona (and naming the persona adding no character); a first name ("Lena") filing the clip under Dr. Lena Kowalski; and a shared surname ("Kowalski") naming neither Lena nor Carol Kowalski. The persona and first-name checks fail without their fixes.convo-video,video,gallery,chat-profile,open-issues,advanced-memory-recallandlocalizationfilters.pnpm regression: 893/893 pass.eba7c2f51,0ca0fcc0d), as80026290c:pnpm checkand theconvo-videoandgalleryregressions pass again..coderabbit.yaml): 0 findings.pnpm smoke:ui/pnpm regression:ui(Playwright browsers not installed locally). This PR has no client changes.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)English docs updated:
docs/characters/galleries.md(which gallery lists a video). Translations: #7694 (updated to the post-review wording)UI evidence (if applicable)
No UI changes: only what each gallery lists changes.
Summary by CodeRabbit
/videoor the Gallery. Choose a character, animate a gallery image, and review or edit prompts before generation.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.