mirror of
https://github.com/penpot/penpot.git
synced 2026-11-06 18:10:39 +00:00
Plugin writes failed whenever the workspace read-only flag was set. The Inspect tab sets it too, although it only hides the editing tools, so an MCP agent could not edit while the user was inspecting. A user who became a viewer had the flag cleared, so plugin writes did not throw and silently did nothing. Writes now fail on what makes them unsafe, not on the flag: failing saves, a user who cannot edit, a version preview or a lost render context. The error says which one, and the MCP instructions tell the agent which of them pass by waiting.