mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8586] [Feature]: On-demand Immersive HTML — a narrator command that asks the agent for a specific artifact #8414
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#8414
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 @ylli-selmani on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8586
Originally assigned to: @ylli-selmani on GitHub.
What problem does this solve?
Roleplay Mode can put in-world HTML on screen in exactly two ways, and both sit at an extreme:
[document: kind="note|letter|journal|report|poster|terminal" title="…" content="…"]) is instant and free, but the Engine renders one of six fixed kinds with a randomized built-in style, and its prompt line explicitly forbids HTML/CSS. A narrator cannot ask for a bespoke artifact; "a spellbook page" becomes a letter-styled card.Users therefore either pay an agent call on every message for artifacts they may not want, or settle for a generic styled card. Some presets go the other way and paste full HTML instructions into the narrator prompt, bloating it for every turn.
Proposed solution
Let the narrator request an artifact with a free-form instruction, the same way
[illustrate: subject="…"]requests an image from the Illustrator, and run the Immersive HTML agent once, only then:[html: prompt="…"], advertised to the model only when the Immersive HTML agent is added to the chat (mirroring[illustrate], which requires the Illustrator)./html <prompt>, mirroring/illustrate— a one-shot run on the current message that also works when the agent is not added.Alternatives considered
[document]with an optionalprompt=field instead of a new key. Cheaper (no new toggle), but gives one command two very different cost and behavior profiles, and makes itskind/style rendering meaningless for agent runs.runInterval: 0for manual-only. No new UI, but it is per-agent rather than per-chat, and 0 currently means "never" for every other agent type. It also does nothing fortext_rewriteagents today, so the skip logic is needed either way.Additional context
.tmp/vision_list.md§ Other, with three screenshots (vision-screenshots/2026-10-31-1565879834062880939-{1,2,3}.png).[illustrate: subject="…"](advertised only with the Illustrator active), and the Gallery//illustrateone-shot retry that runs an agent without opting the chat into automatic runs.htmlagent is a downloadable capability package (packages/htmlinPasta-Devs/Marinara-Agents), so teaching it to use the guided-request block gracefully is a separate PR there. The Engine side is self-contained.Template check