CLI/docs: mention canvas.* alias

This commit is contained in:
Peter Steinberger committed 2025-12-18 01:10:40 +00:00
1 parent f973b9e0e5
commit c976799f8c
2 files changed
+7 -1

No files matched your search

+3
View File
@@ -123,6 +123,9 @@ These are values for `node.invoke.command`:
- `screen.snapshot` with `{ maxWidth?, quality?, format? }`
- `screen.setMode` with `{ mode: "canvas" | "web" }`
Alias:
- `canvas.*` is accepted as a synonym for `screen.*` (e.g. `canvas.eval` → `screen.eval`).
Result pattern:
- Request is a standard `req/res` with `ok` / `error`.
- Long operations (loads, streaming drawing, etc.) may also emit `node.event` progress.