mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3911] [Feature]: Keep drafting available during agent work and background Illustrator images #2114
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#2114
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?
Originally created by @SpicyMarinara on GitHub (Jul 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3911
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Chat composers currently disable the text field while Roleplay or Game agents are processing, preventing users from preparing their next response. Automatic and manually retried Illustrator image generation also keeps the current generation state occupied until the image finishes, even though the assistant message is already complete and the image is persisted separately.
Proposed solution
Keep Conversation, Roleplay, and Game draft fields editable while generation or agents are active, but continue guarding Send and Enter-to-send during ordinary reply and agent work. Once all reply work is complete and only Illustrator image generation remains, treat that image task as background work: allow the next message to send, keep listening for completion, attach the image to the exact assistant message and swipe that requested it, and refresh the chat Gallery.
Alternatives considered
Closing the generation stream and polling messages or introducing a persistent image-job API would add more infrastructure. Reusing the existing late Illustrator SSE event and per-generation controller ownership keeps the change focused while preserving current attachment and error behavior.
Additional context
This should cover Conversation, Roleplay, and Game composers as well as Illustrator-only agent retries. Ordinary same-chat generations must remain exclusive; only the Illustrator-only tail may overlap with the next text generation.
Template check