mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 18:54:55 +00:00
Under --automation-read-root, a control client's ui.menu.list (and ui.contextMenu.list, which shares the listing) left every File › Open Recent Files row in, so the client saw the names of recent files it may not read. file.recentFiles returned their full paths, and file.openRecentN for such a file answered with a refusal naming the path. Now the listing leaves out a recent file outside the read roots, as it already leaves out listed scripts outside them. The other rows keep their ids, so file.openRecent3 still opens the third file. file.recentFiles returns only the files inside the roots, in order, and file.openRecentN for a file outside them ends with "no such recent file", as an empty slot does. The person's own menus and Home screen are unchanged. Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md.