Skip to content

Releases

kit 2.1.1

Choose a tag to compare

@github-actions github-actions released this 04 Dec 12:41

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 doctor checks 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 --json prints the
    same as one JSON object for other programs.
  • kit fix <id> repairs one of them. kit fix figma-linux registers 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

Choose a tag to compare

@github-actions github-actions released this 04 Dec 10:32
  • read_styles says in its description when to use it, that read_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

Choose a tag to compare

@github-actions github-actions released this 30 Nov 18:06

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 or cargo install kit-mcp; your client runs
    kit instead of npx -y @redfoxxo/kit@1. @redfoxxo/kit on 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 plugin writes 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
    rerun kit plugin when 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's ENOENT text.
  • 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

Choose a tag to compare

@RedFoxxo RedFoxxo released this 19 Nov 16:38

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 plugin again after updating (npx -y @redfoxxo/kit@1 plugin),
    then close and relaunch kit bridge in Figma. The plugin now proves itself
    with a key that kit plugin writes 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_bridge says when kit refused a plugin without the key. The bridge
    also refuses requests for host names other than localhost, 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, shorter file and offset
    descriptions. Tools, parameters and answers are unchanged.
  • Dependencies: zod 4.6.7 (fixes GHSA-mrhx-c7xc-m3w5),
    @modelcontextprotocol/sdk 1.32.2.

Install or update: npx -y @redfoxxo/kit@1 picks up 1.x releases. Setup for each client is in the README.

npm: https://www.npmjs.com/package/@redfoxxo/kit

kit 1.1.0

Choose a tag to compare

@RedFoxxo RedFoxxo released this 19 Nov 15:59
  • Browser sign-in with your own Figma OAuth app (FIGMA_CLIENT_ID,
    FIGMA_CLIENT_SECRET): auth_login opens Figma's sign-in page and waits
    for the loopback callback on 127.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 for auth_login again.
    FIGMA_TOKEN keeps 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.

npm: https://www.npmjs.com/package/@redfoxxo/kit

kit 1.0.0

Choose a tag to compare

@RedFoxxo RedFoxxo released this 19 Nov 15:59
  • 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 offset to continue.
  • Bridge to the "kit bridge" Figma plugin over a loopback WebSocket
    (ports 7380–7389), read_bridge status and kit plugin to 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_comment posts comments and replies through the REST API.
  • read_render exports 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_bridge lists the selected nodes, so "what I selected" can be read or
    edited by id.
  • read_styles includes 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 (image prop); kit reads them,
    since the plugin has no file or network access.
  • Mixed text styles with textRanges (by substring or character range).
  • write_create builds components and variant sets; component: true turns
    an existing node into a component.
  • select: true selects 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.

npm: https://www.npmjs.com/package/@redfoxxo/kit