Skip to main content

Module canvas

Module canvas 

Source
Expand description

Canvas store for real-time rich content delivery.

Agents push content via CanvasTool and the gateway exposes REST + WebSocket endpoints for clients to consume it. The store is scoped per canvas ID.

Structs§

Canvas
A canvas instance with current content and history.
CanvasFrame
A single frame of canvas content.
CanvasStore
Thread-safe store for canvas state. Shared between the tool and gateway.
CanvasSummary
Summary info for listing canvases.

Constants§

MAX_CONTENT_BYTES
Maximum content size per frame (256 KiB).
MAX_HISTORY_FRAMES
Maximum history frames per canvas.