Repository navigation
Releases
Releases · RedFoxxo/kit
kit 2.1.1
The first release with doctor and fix: 2.1.0 was tagged but never published,
because two of its own tests failed on other systems. The program is the same.
kit doctorchecks the setup for editing and says how to fix each
problem: missing plugin files, plugin files without kit's key, no sign-in,
and figma-linux not listing the kit bridge.kit doctor --jsonprints the
same as one JSON object for other programs.kit fix <id>repairs one of them.kit fix figma-linuxregisters the
plugin in figma-linux's settings, so there is nothing to import by hand; it
refuses while Figma runs and first copies the settings file to
~/.kit/backups.
kit 2.0.1
read_stylessays in its description when to use it, thatread_structure
has one node's styles, and what it answers without the plugin. The tool
list grows by about 200 characters.
kit 2.0.0
kit 2.0 is one small program written in Rust, with the same 14 tools and the
same answers: every tool call recorded from 1.2.1 replays byte for byte.
- No Node.js any more. Install kit with the install script, the Claude
Desktop bundle, a release file orcargo install kit-mcp; your client runs
kitinstead ofnpx -y @redfoxxo/kit@1.@redfoxxo/kiton npm stays at
1.x. - Much less memory. About 5 MB when idle instead of about 95 MB plus
npm exec. A file of 47,000 layers (34 MB of JSON) takes about 120 MB
instead of about 310 MB: kit keeps only the parts of a file it reads. kit pluginwrites the plugin from the program itself, to the same
~/.kit/plugin. The plugin works as before (only two source comments
changed), with the same protocol and key: no need to import it again or
rerunkit pluginwhen switching from 1.2.1.- Unknown argument names are refused instead of ignored, so a misspelled
one is reported instead of silently dropped. - kit exits when the client closes the connection; 1.x kept running
with its bridge open. - A missing image file is reported with the system's message
("No such file or directory") instead of Node'sENOENTtext. - The sign-in (
~/.kit/auth.json), bridge key and cache are the same files
as before, so 1.x and 2.0 can run side by side.
kit 1.2.1
1.2.0 was never published: the npm registry kept it in a stuck staged state.
1.2.1 is the same code.
- Run
kit pluginagain after updating (npx -y @redfoxxo/kit@1 plugin),
then close and relaunch kit bridge in Figma. The plugin now proves itself
with a key thatkit pluginwrites into its copy (kept in
~/.kit/bridge.key, readable by you only). Before, any website could open
a hidden sandboxed frame, connect to kit as if it were the plugin, receive
the edits and images kit sends, and put its own text into tool answers.
read_bridgesays when kit refused a plugin without the key. The bridge
also refuses requests for host names other thanlocalhost,127.0.0.1
and[::1](DNS rebinding), and messages sent in endless fragments. - Images from a URL are capped at 20 MB while downloading, and renders at
32 MB, instead of being read whole first. A failed image download reports
only its status, not the page it returned. - A refresh that Figma rate-limits (429) or times out (408) no longer deletes
the sign-in; kit keeps the token and tries again later. - The sign-in exchanges Figma's code once when the browser opens the callback
twice (a reload), instead of reporting a failed sign-in. - File snapshots and renders are cached in folders only you can open.
- The tool list is about 1,900 bytes (~470 tokens) smaller: no JSON Schema
draft URL, no safe-integer bounds on integers, shorterfileandoffset
descriptions. Tools, parameters and answers are unchanged. - Dependencies:
zod4.6.7 (fixes GHSA-mrhx-c7xc-m3w5),
@modelcontextprotocol/sdk1.32.2.
Install or update: npx -y @redfoxxo/kit@1 picks up 1.x releases. Setup for each client is in the README.
kit 1.1.0
- Browser sign-in with your own Figma OAuth app (
FIGMA_CLIENT_ID,
FIGMA_CLIENT_SECRET):auth_loginopens Figma's sign-in page and waits
for the loopback callback on127.0.0.1:7390(PKCE). The tokens are kept
in~/.kit/auth.json, shared by every kit session, refreshed a day before
they expire (halfway, for short-lived ones) and after Figma refuses them.
When the sign-in can't be renewed, tools ask forauth_loginagain.
FIGMA_TOKENkeeps working. - New
auth_tool tier for kit's own sign-in.
Install or update: npx -y @redfoxxo/kit@1 picks up 1.x releases. Setup for each client is in the README.
kit 1.0.0
- Read tools:
read_outline,read_frame_text,read_search,
read_comments,read_structure,read_styles,read_render. - File snapshots cached on disk per version; renders cached per version.
- Answers paged at 20,000 characters with an
offsetto continue. - Bridge to the "kit bridge" Figma plugin over a loopback WebSocket
(ports 7380–7389),read_bridgestatus andkit pluginto install the plugin. - Write tools through the plugin:
write_props(texts, paints, effects,
auto layout, styles, component properties),write_create(nested trees in
one call),delete_nodes,exec_run; each call is one undo step in Figma. write_commentposts comments and replies through the REST API.read_renderexports live through the plugin when it runs in the file.- Reads made before Figma's API shows a plugin edit are flagged as stale.
- An outdated plugin is refused with instructions to update it.
read_bridgelists the selected nodes, so "what I selected" can be read or
edited by id.read_stylesincludes local variables with a value per mode, read through
the plugin (Figma's REST variables API needs an Enterprise plan).- Images from a file path or URL as node fills (
imageprop); kit reads them,
since the plugin has no file or network access. - Mixed text styles with
textRanges(by substring or character range). write_createbuilds components and variant sets;component: trueturns
an existing node into a component.select: trueselects the created or changed nodes and brings them into view.
Install or update: npx -y @redfoxxo/kit@1 picks up 1.x releases. Setup for each client is in the README.