mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
Scripts get an app object with its documents, the active document and its selection, and the page items of a document, read and edited through commands so each edit is one undo step and is journaled. Host classes in the JavaScript engine give each document or item one object while a script holds it, answer `in` and indexed reads, and throw on stale objects and on members that are not available yet. Docs: docs/mcp.md, docs/target-app-parity.md.