mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1704] [MERGED] feat: Story Writer, a co-writing book for long stories and fanfiction (0.1.0) #1700
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1700
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-Agents/pull/1704
Author: @SpicyMarinara
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/story-writer📝 Commits (9)
c96ef1cfeat(story-writer): add artwork and the shared story model (#1703)4a49524feat(story-writer): a co-writing book for long stories and fanfiction (0.1.0)a24ed32Merge branch 'staging' into feat/story-writerac86044fix(story-writer): review fixes for saving, prompts, reading and layout28cd613fix(story-writer): retry saves on 408, 409 and 429 instead of dropping themb5e829echore(story-writer): record the Engine commit the package is built against736b35cfix(story-writer): address Dottore's review718c553fix(story-writer): find a banned Latin word next to CJK text4d3d5fcMerge remote-tracking branch 'origin/staging' into feat/story-writer📊 Changes
65 files changed (+13495 additions, -5 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+6 -0)📝
README.md(+2 -1)➕
artifacts/story-writer-0.1.0.zip(+0 -0)📝
artwork/agent-covers/art-direction.json(+6 -0)➕
artwork/agent-covers/story-writer.png(+0 -0)➕
artwork/sources/story-writer-imagegen.png(+0 -0)➕
artwork/sources/story-writer-imagegen.prompt.txt(+129 -0)📝
catalog/catalog.json(+105 -0)📝
catalog/notes.json(+10 -0)📝
catalog/v2/catalog.json(+105 -0)📝
catalog/v2/notes.json(+10 -0)📝
catalog/v3/catalog.json(+105 -0)📝
catalog/v3/notes.json(+10 -0)📝
package.json(+2 -1)➕
packages/story-writer/CHANGELOG.md(+12 -0)➕
packages/story-writer/README.md(+215 -0)➕
packages/story-writer/agents.json(+22 -0)➕
packages/story-writer/client.js(+1514 -0)➕
packages/story-writer/locales/en.json(+17 -0)➕
packages/story-writer/manifest.json(+95 -0)...and 45 more files
📄 Description
Pull request
Linked issue
Closes #1703
Engine side: Pasta-Devs/Marinara-Engine#8341 (capability API 1.386), which must merge first.
Why this change
What changed
story-writer0.1.0: a Story Writer tab in Home, with a book icon. It opens a full-page co-writing book.***scene breaks.Continue.), prompt (the requested default) and banned phrases (ozone, jaws working, Elara);packages/story-writer/README.md).Package and security impact
story-writer(new).openConnectionon the Home browser view, anddebugModeon/api/generate/raw), with Engine>= 2.5.1 < 4.0.0. Engines without 1.386 do not install it.routes,storageandui, with a client entrypoint and a server entrypoint.api.runtime.persistence.documents, under/api/story-writer. Inputs are normalized and size-limited, ids are validated, and chapter ownership is checked.marinara-capability-story-writer. Its Markdown renderer escapes all HTML before adding markup. It never writes the Engine's browser storage./api/generate/rawwith the user's selected connection. The package never sees credentials.restartRequired: true, because the package adds routes.capability_documents. Uninstall keeps them, as with other packages.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Run by the agent against Engine branch
feat/story-writer-host(#8341):npm run check,node scripts/typecheck-packages.mjs story-writer,node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-package-locale-keys.mjs,node scripts/validate-catalog.mjs,node scripts/tests/catalog-release-notes.regression.mjsandgit diff --checkall pass. A rebuild ofstory-writerreproduces the committed outputs byte for byte.npx tsx tests/story-writer-{store,prompt,markdown,reader-layout}.regression.ts: 39 tests pass. They cover the server store, prompt assembly including author's-note depth and size caps, Markdown escaping and round trips, and reader geometry.node scripts/run-package-browser-tests.mjs story-writer tests/package-story-writer.e2e.tspasses on desktop and phone, with generation mocked at/api/generate/raw. It covers:To verify by hand in a real Engine with a real connection:
Documentation impact
The user guide is
packages/story-writer/README.md. The Engine reference entry and the 1.386 developer docs are in #8341, with translations tracked in Pasta-Devs/Marinara-Engine#8342.UI evidence (if applicable)
Screenshots come from the agent's Playwright run (desktop at 1440×900, Pixel 7): the open book, dark mode, the e-book, the sticky note with depth, the library, and phone portrait and landscape.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.