Module canvas
Expand description
Live Canvas (A2UI) tool — push rendered content to a web canvas in real time.
Structs§
- Canvas
Frame - A single canvas frame (one render).
- Canvas
Store - Shared canvas store — holds all active canvases.
Thread-safe and cheaply cloneable (wraps
Arc). - Canvas
Tool CanvasTool— agent-callable tool for the Live Canvas (A2UI) system.
Constants§
- ALLOWED_
CONTENT_ TYPES - Allowed content types for canvas frames via the REST API.
- MAX_
CONTENT_ SIZE - Maximum content size per canvas frame (256 KB).