mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #822] [MERGED] Fix regenerate replay for command prompts #4791
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#4791
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/822
Author: @Xelvanis
Created: 5/14/2026
Status: ✅ Merged
Merged: 5/14/2026
Merged by: @Xelvanis
Base:
main← Head:fix/regenerate-command-prompts📝 Commits (3)
1fad806Add generation replay for consistent swipe/regen0e8f66cShow stored generation guidance on swipes8eb63faAddress generation replay review feedback📊 Changes
14 files changed (+566 additions, -18 deletions)
View changed files
📝
packages/client/src/components/chat/ChatArea.tsx(+8 -4)📝
packages/client/src/components/chat/ChatInput.tsx(+2 -2)📝
packages/client/src/components/chat/ChatMessage.tsx(+37 -0)📝
packages/client/src/components/chat/ConversationInput.tsx(+2 -2)📝
packages/client/src/components/chat/ConversationMessage.tsx(+45 -5)➕
packages/client/src/components/chat/GenerationReplayDetailsModal.tsx(+119 -0)📝
packages/client/src/lib/slash-commands.ts(+6 -5)📝
packages/server/src/routes/generate.routes.ts(+14 -0)➕
packages/server/src/routes/generate/generation-replay.ts(+147 -0)📝
packages/server/src/services/storage/chats.storage.ts(+1 -0)➕
packages/server/test/generation-replay.test.ts(+154 -0)📝
packages/shared/src/index.ts(+1 -0)📝
packages/shared/src/types/chat.ts(+16 -0)➕
packages/shared/src/utils/generation-guide.ts(+14 -0)📄 Description
Linked issue
Closes #820
Why this change
/narratorand/impersonatewere lost on the next swipe.What changed
/narrator, guided regenerate, game-start guidance, and/impersonate.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/shared build.pnpm exec tsx --import ./test/setup-env.ts --test test/generation-replay.test.tsfrom the server package.pnpm check; it passed with the existing Node DEP0190 build warning./narrator, empty-input regenerate replay, guided regenerate override, cleared-input replay from a guided swipe,/impersonate, and guided impersonate regenerate against a local mock provider.Docs and release impact
No version or release files changed. A follow-up docs note may be useful to explain stored replay/guidance semantics to users.
UI evidence (if applicable)
Stored guidance modal was checked in the Chromium pass, but no screenshots are attached yet.
Summary by CodeRabbit
New Features
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.