The frontend viewer isn't just a static display; it interacts directly with the AI, giving it structural awareness of the rendered document.
Click any block in the live
preview. Pneuma wraps it in an outline and automatically injects a <viewer-context> block
into your next chat message.
The AI knows exactly which
<h1> you clicked on without you needing to explain where it is.
The ViewerContract exposes specific actions the agent can trigger in the UI, enabling seamless multi-step workflows.