[GH-ISSUE #3911] [Feature]: Keep drafting available during agent work and background Illustrator images #2114

Closed
opened 2026-10-21 05:45:29 +07:00 by bsakaguchi · 0 comments
Owner

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

  • I DID NOT read this template and provide the requested details.
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 - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2114
No description provided.