Pre-release docs, for @frebreco/canvas@next. Stable docs
Limits
.mdWhat canvas does not do, yet.
canvas is a prototype. These are known, and not bugs to report.
Hosting
- The host’s browser must be open. It is the only way to
canvas serve: without it nothing runs, board tools are unavailable, and board edits between guests wait. - One host tab at a time. Opening the host link again moves the board to the new tab; the old one turns read-only until you press Use here there.
- Peer discovery uses public Nostr relays. Some are down at any time; discovery usually succeeds through the others.
- Restrictive networks need a canvas relay. Without one, a network that blocks the Nostr relays or WebRTC keeps people from connecting; the connection dialog says which. There is no TURN support.
- A relay token lasts 30 days from when the host’s tab got it. After that, guests need a fresh guest link.
- A board’s relay is set when
canvas servestarts. Changing it gives everyone new guest links.
Guests
- Roles are view and edit. No guest runs anything without the host’s approval, or types into a terminal, unless the host trusts them; that lasts only while the host’s tab is open.
- A guest link lasts until the host resets it, by hand or by removing a member. Until then whoever holds it can knock; waiting in the lobby, they see nobody’s presence, and nobody sees theirs. A reset moves only the members on the board: anyone else needs the new link, members who were away included.
- Late joiners receive whole threads, shortest first, each in one message: a very long thread takes a while to appear. They get the threads frames show; another one comes when a frame switches to it.
Agents
- Claude Code and opencode are the agents canvas launches. Others speak ACP too but need code.
- Permission prompts add up: opencode asks for every shell command.
- Tool call arguments are not shown in the thread, only the tool’s title.
- Tool output is cut to its first 3,000 and last 1,000 characters, and images a tool returns (a screenshot the agent reads, a drawing) show as a placeholder. The agent itself gets them in full.
- Agents prompt other agents only through people: an agent frame an agent opens gets a draft.
- Conversations are listed per frame: there is no list of the whole board’s yet, and a frame’s are all of its agent. A frame can’t switch while its agent works, so a conversation doesn’t run on in the background. ↑ in the draft goes through the shown conversation’s prompts only.
Frames
- Terminals do not survive a restart of
canvas serve, and keep running after their frame is removed, untilcanvas servestops. - Terminals need
setsid(util-linux, on every Linux) to be a real terminal for the shell. Without it, as on macOS, Ctrl-C does not reach programs, and ones that open the terminal themselves — fzf’s Ctrl-R,sudoandsshprompts — hang. - Browser frames load pages per viewer: a dev server on the host’s
localhostis not visible to guests, who see a notice. - HTML previews don’t load relative assets (CSS, images, scripts). Their links work.
- Links to frames name a frame’s id: once it’s closed, they go nowhere.
- Files are read-only. The board cannot create or edit files; agents do.
- The shared set is fixed by rule. There is no
.canvasignoreyet. - Layout: a column holds one frame, no stacks yet; clusters go in lines, none can be placed freely. Two people dropping the same frame at once: the last drop wins.