mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5455] [CLOSED] feat: add Story Bundles with one-click launch - self-contained and shareable #6775
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#6775
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/5455
Author: @Kranael
Created: 8/23/2026
Status: ❌ Closed
Base:
staging← Head:main📝 Commits (10+)
d360ceefeat(shared): add Story Bundle type and Zod schemasfe574b1feat(server): add story_bundles table, storage and REST routesd9dbeccfeat(client): add story bundle query hooks, ui store surface and gradient54a71f9feat(client): add Story Bundles panel, editor and navigation wiringfc689e2feat(client): add Story Bundles localization keys to English catalogba58fbadocs: add story-bundle.md documenting the Story Bundle object1fe5f42docs: add story-bundle.agent.md architecture context for agentsd550f00fix(server): register story_bundles in FILE_BACKED_TABLES3ee1ea7feat(client): add data-testid to topbar panel buttonsdbe52ccfeat(client): ask for title via prompt dialog when creating a story bundle📊 Changes
142 files changed (+15977 additions, -187 deletions)
View changed files
📝
.gitignore(+15 -0)📝
AGENTS.md(+4 -1)📝
CHANGELOG.md(+30 -0)📝
docs/chats/managing-chats.md(+5 -0)➕
docs/chats/story-bundles.md(+121 -0)➕
docs/development/general-fixes.md(+142 -0)➕
docs/development/windows-fixes.md(+217 -0)📝
docs/roleplay/getting-started.md(+4 -0)📝
package.json(+2 -0)📝
packages/client/src/components/agents/AgentCatalogView.tsx(+4 -0)📝
packages/client/src/components/characters/CharacterEditor.tsx(+61 -4)📝
packages/client/src/components/characters/ConvoProfileFields.tsx(+11 -0)📝
packages/client/src/components/chat/AgentSettingsControls.tsx(+3 -0)📝
packages/client/src/components/chat/ChatArea.tsx(+8 -2)📝
packages/client/src/components/chat/ChatCommonOverlays.tsx(+19 -0)📝
packages/client/src/components/chat/ChatConversationSurface.tsx(+5 -0)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+4 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+9 -1)📝
packages/client/src/components/layout/AppShell.tsx(+6 -0)📝
packages/client/src/components/layout/ChatSidebar.tsx(+35 -0)...and 80 more files
📄 Description
Linked issue
Related to #4364
Implements the Story Bundle proposal from #4364.
Why this change
Story Bundle provides a reusable, launchable configuration for a complete story.
Marinara's modular architecture is powerful, but starting an established story currently requires manually assembling the same Characters, Persona, Preset, Lorebooks, Agents and other configuration each time.
Presets help preserve parts of a chat configuration, but they do not provide a single story-level container for all of these components, multiple characters or lorebooks, agents, and alternative story introductions.
Story Bundles group these existing modular components into a single unit that can be configured once and launched as a complete story, while keeping the underlying components reusable and independent.
This PR implements the Story Bundle concept originally proposed in #4364, while keeping Marinara's existing modular component architecture intact.
What changed
Development
QA
Windows fixes
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Story Bundle Flow
Export/Import Flow
Architecture
The implementation intentionally builds on existing Marinara components and patterns wherever possible. Story Bundle-specific code primarily composes existing functionality rather than duplicating it. This includes shared modal, button, picker, preset-selection, avatar-upload/cropping, and other UI functionality.
The Playwright coverage follows the same principle: shared Page Objects, fixtures, API helpers, and test data are separated from feature-specific test cases to keep the suite isolated and maintainable.
Docs and release impact
Documentation is provided in the following files:
story-bundle.md— user-facing documentationstory-bundle.technical.md— technical documentation, including APIsstory-bundle.agent.md— quick introduction for agents to get context about the featurechangelog.mdTranslated docs on the
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Version/release files updated (only if this PR includes a version bump)
UI evidence (if applicable)
Manual verification screenshots covering the complete Story Bundle flow are attached as a ZIP archive.
story-bundle-ui.zip
Summary by CodeRabbit
New Features
.marinara.jsonbundles.Bug Fixes
.nativeasset markers.Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.