v0.8.0
Added
-
querycommand — XPath selectors for finding nodes (powered by fontoxpath)figma-use query "//FRAME" # All frames figma-use query "//FRAME[@width < 300]" # Frames narrower than 300px figma-use query "//COMPONENT[starts-with(@name, 'Button')]" # Name starts with figma-use query "//FRAME[contains(@name, 'Card')]" # Name contains figma-use query "//SECTION/FRAME" # Direct children figma-use query "//SECTION//TEXT" # All descendants figma-use query "//*[@cornerRadius > 0]" # Any node with radius
Full XPath 3.1 support: axes, predicates, functions, arithmetic
-
Multi-file support — proxy now supports multiple simultaneous plugin connections
- Each plugin instance registers with fileKey and fileName
file list— show all connected filesfile select <name>— switch active file (partial match supported)statusshows all connected files with active marker
-
Connector commands — work with connector lines
connector list— list connectors on current pageconnector get <id>— get connector details (endpoints, stroke, line type)connector set <id>— update connector properties (stroke, weight, line type, caps)connector create— create connector (FigJam only, Figma API limitation)
-
figma_renderMCP tool — render JSX via MCP protocol -
MCP.md — documentation for Model Context Protocol integration
Changed
- Extracted
transformJsxSnippetto separate module for reuse
Fixed
@dannote/figma-use/render— missingcolor.tsin published package- Proxy connection cleanup on plugin disconnect