Skip to main content

Module canvas

Module canvas 

Expand description

Live Canvas (A2UI) tool — push rendered content to a web canvas in real time.

Structs§

CanvasFrame
A single canvas frame (one render).
CanvasStore
Shared canvas store — holds all active canvases. Thread-safe and cheaply cloneable (wraps Arc).
CanvasTool
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).