Repository navigation
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.