- Extract shared RPC command handlers into packages/core/src/rpc/ (info, pages, tree, find, node, variables, analyze colors/typography/spacing/clusters) - Add automation bridge (src/automation/bridge.ts) that runs in Vite/Bun process, listens on localhost:7600 (HTTP) and :7601 (WebSocket) - Add browser-side handler (src/automation/server.ts) that connects via WebSocket, executes commands against live EditorStore with requestRender()/flashNodes() - Supports eval, tool execution, and image export via RPC - Refactor all CLI commands: file arg is now optional — omit it to connect to the running app instead of loading a .fig file - Bearer token auth generated per session, exposed via /health endpoint - Vite plugin starts the bridge automatically during dev |
||
|---|---|---|
| .. | ||
| acp | ||
| cli | ||
| core | ||
| demos | ||
| docs | ||
| mcp | ||