mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8324] [CLOSED] [WIP] feat(novel): add Novel Mode, a Roleplay display style for co-writing a book #8276
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#8276
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/8324
Author: @ipodnerd3019
Created: 10/25/2026
Status: ❌ Closed
Base:
staging← Head:feature-novel-mode📝 Commits (1)
9509897feat(novel): add Novel Mode, a Roleplay display style for co-writing a book📊 Changes
58 files changed (+4852 additions, -598 deletions)
View changed files
📝
docs/prompts/generation-parameters.md(+1 -1)📝
docs/prompts/presets.md(+1 -1)📝
docs/roleplay/getting-started.md(+1 -1)➕
docs/roleplay/novel-mode.md(+78 -0)➕
e2e/novel-mode.e2e.ts(+866 -0)📝
packages/client/package.json(+8 -0)📝
packages/client/src/components/chat/ChatArea.tsx(+38 -4)📝
packages/client/src/components/chat/ChatInput.tsx(+105 -48)📝
packages/client/src/components/chat/ChatMessage.tsx(+237 -193)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+186 -114)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+56 -51)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+48 -8)📝
packages/client/src/components/chat/CyoaChoices.tsx(+38 -4)➕
packages/client/src/components/chat/NovelEditor.tsx(+427 -0)📝
packages/client/src/components/chat/cyoa-choice-submission.ts(+21 -3)➕
packages/client/src/components/chat/novel-document.ts(+603 -0)📝
packages/client/src/components/layout/ChatSidebar.tsx(+6 -2)📝
packages/client/src/components/layout/GlobalOmnibar.tsx(+8 -2)📝
packages/client/src/components/panels/PresetsPanel.tsx(+2 -2)📝
packages/client/src/components/presets/PresetEditor.tsx(+3 -3)...and 38 more files
📄 Description
Linked issue
Discord thread: (Co)Writer/Story chat mode
No issue yet. A feature request for Novel Mode will be opened and linked here before this PR is marked ready.
Why this change
What changed
Nothing that worked before stops working. The Universal preset is unchanged.
/impersonate, and/sendare not offered. CYOA choices and "Regenerate (guided)" also steer as guidance.docs/roleplay/novel-mode.md, plus updates todocs/roleplay/getting-started.md,docs/prompts/presets.md, anddocs/prompts/generation-parameters.md.Implementation notes for reviewers:
vendor-tiptapchunk, about 330 kB raw. It is not in the startup bundle.ChatMessagerow around the editable text.packages/client/src/lib/message-bar-rules.ts.swipeIndex, so an edit can name the swipe it was written for. Callers that don't send it behave exactly as before.5 * 3 * 2stays literal in a novel.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated runs on the branch, which an AI agent did. They are not a substitute for the boxes above:
pnpm check: passes. The only warning is the existingserverRunhook warning in an unrelated file.pnpm regression:prompt: passes.dottore-auto-dispatch, which also fails onstaging.e2e/novel-mode.e2e.ts: 6/6 on desktop-chromium and 6/6 on mobile-chromium.pnpm smoke:ui: 7/7.scripts/regressions/novel-mode.regression.tsandscripts/regressions/novel-preset.regression.ts. Several existing preset regressions were extended.Manual verification notes
Still to verify by hand:
[guidance: …]notes, and uses italics only for thoughts and emphasis.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Docs changed under
docs/:roleplay/novel-mode.md(new),roleplay/getting-started.md,prompts/presets.md, andprompts/generation-parameters.md.Translations for all ten language packs are prepared on
ipodnerd3019:docs-i18n-novel-mode. They are machine-translated, need native-speaker review, and will be updated to the final English text before a docs-i18n PR is opened. No version bump, andCHANGELOG.mdis untouched.UI evidence (if applicable)
Desktop Video: https://discord.com/channels/1417099416812392641/1562101875355025489/1563749150984773725
Mobile editor screenshot:
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.