mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8548] [MERGED] feat(mari): stream her field text into the open character editor #8664
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#8664
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/8548
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/mari-quick-edit-stream📝 Commits (1)
3669a55feat(mari): stream her field text into the open character editor📊 Changes
9 files changed (+305 additions, -26 deletions)
View changed files
📝
packages/client/src/components/characters/MariFieldReview.tsx(+3 -0)➕
packages/client/src/components/characters/MariFieldWriting.tsx(+18 -0)📝
packages/client/src/components/chat/mari/use-mari-workspace-run.ts(+33 -1)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/client/src/stores/ui.store.ts(+5 -0)📝
packages/client/src/styles/mari.css(+17 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+130 -25)📝
packages/shared/src/types/professor-mari-workspace.ts(+4 -0)➕
scripts/regressions/professor-mari/field-stream.regression.ts(+94 -0)📄 Description
Linked issue
No issue: planned work, slice 8 of the Professor Mari companion (#8418).
Why this change
Today Prof. Mari's new text for a character field appears only when her run ends. While she writes, the open editor shows nothing, so a long rewrite looks stuck. Now her text streams into the open field as she writes it, and the existing review or applied state takes over when the round ends.
What changed
app_datacharacter.updatearguments.edit_delta:{ characterId, field, text, restart?: true } | null.fieldis the patch key as written;textis appended;restartmarks the first chunk of a value;nullends the round after its command was applied or held.say):\uXXXX, surrogate pairs split across chunks,\b,\f; a bad\uZZZZstays literal.characterId → fieldId → text), so an editor opened mid-stream shows the full text so far and other characters show nothing.MariFieldReview, shown only when the field has no focus. The form text is not changed. Opacity-only waver, off with reduced motion.normalizeAppDataActionName.scripts/regressions/professor-mari/field-stream.regression.ts.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks:
tsc --noEmit,eslinton touched client files,prettier --check,pnpm build,pnpm localization:check: pass. Fullpnpm checkwas not run.node ./scripts/run-regressions.mjs --filter field-stream: pass.Not verified:
To verify manually:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Screenshots were taken locally (1440 and 390 px) and are not attached.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.