figrelay 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/figrelay?color=cb3837&logo=npm)](https://www.npmjs.com/package/figrelay)
4
4
  [![MCP](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io/)
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/quannh287/figma-mcp-console/blob/main/LICENSE)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/quannh287/figma-relay/blob/main/LICENSE)
6
6
 
7
7
  > **Let your AI assistant design in Figma — no API token, no rate limits.**
8
8
  > Works with Claude CLI · Claude Desktop · Codex · VS Code · Cursor · Antigravity · any MCP client.
9
9
 
10
- > **Fork of [figma-mcp-console](https://github.com/hoangann2000/figma-mcp-console)** by [@hoangann2000](https://github.com/hoangann2000), forked at v0.5.4. Same setup, published on npm as `figrelay`; the plugin now shows as **Figma Relay**.
10
+ > **Fork of [figma-mcp-console](https://github.com/hoangann2000/figma-mcp-console)** by [@hoangann2000](https://github.com/hoangann2000), forked at v0.5.4. Same setup, published on npm as [`figrelay`](https://www.npmjs.com/package/figrelay); the plugin now shows as **Figma Relay**.
11
11
 
12
12
  ## 🆕 What's new since the fork
13
13
 
@@ -182,7 +182,7 @@ First, get the plugin folder onto your machine — **pick either option:**
182
182
 
183
183
  **📦 Option A — Download from GitHub (recommended)**
184
184
 
185
- > 1. Download **[plugin.zip](https://github.com/quannh287/figma-mcp-console/releases/latest)** → **unzip it**
185
+ > 1. Download **[plugin.zip](https://github.com/quannh287/figma-relay/releases/latest)** → **unzip it**
186
186
 
187
187
  **⌨️ Option B — Get it via command** *(if the download doesn't work)*
188
188
 
@@ -275,6 +275,6 @@ Setup, how to add a tool, and the gotchas that cost time: **[CONTRIBUTING.md](CO
275
275
 
276
276
  ## 📄 License
277
277
 
278
- [MIT](https://github.com/quannh287/figma-mcp-console/blob/main/LICENSE) — © [Hoang Le Thien An](https://github.com/hoangann2000) (original project), fork maintained by [@quannh287](https://github.com/quannh287)
278
+ [MIT](https://github.com/quannh287/figma-relay/blob/main/LICENSE) — © [Hoang Le Thien An](https://github.com/hoangann2000) (original project), fork maintained by [@quannh287](https://github.com/quannh287)
279
279
 
280
280
  > This is an independent community project, not affiliated with or endorsed by Figma, Inc. "Figma" is a trademark of Figma, Inc.
Binary file
Binary file
Binary file
Binary file
@@ -258,7 +258,7 @@
258
258
  </div>
259
259
  <div id="credit">
260
260
  <span id="version"></span>
261
- <a href="https://github.com/quannh287/figma-mcp-console" target="_blank">@quannh287</a>
261
+ <a href="https://github.com/quannh287/figma-relay" target="_blank">@quannh287</a>
262
262
  </div>
263
263
 
264
264
  <script>
@@ -313,19 +313,20 @@
313
313
  sock.onmessage = (e) => {
314
314
  const msg = JSON.parse(e.data);
315
315
  if (msg.hello) {
316
- // Name the side that is behind: a stale server is just as common as
317
- // a stale plugin, and blaming the plugin sends people re-importing
318
- // a plugin that was already up to date.
319
316
  // Show which server build we are talking to; "dev" means a local
320
317
  // go build rather than a release.
321
318
  if (msg.hello.version) {
322
319
  document.getElementById("version").textContent = "v" + msg.hello.version;
323
320
  }
321
+ // Name the side that is behind: a stale server is just as common as
322
+ // a stale plugin, and blaming the plugin sends people re-importing
323
+ // a plugin that was already up to date.
324
324
  protoWarning = null;
325
325
  if (msg.hello.protocol && msg.hello.protocol !== PROTOCOL) {
326
+ // npx figrelay@latest only fetches the new server when the AI client restarts it.
326
327
  protoWarning =
327
328
  msg.hello.protocol < PROTOCOL
328
- ? "⚠ Server outdated — update figrelay"
329
+ ? "⚠ Server outdated — restart your AI client"
329
330
  : "⚠ Plugin outdated — re-import from the latest release";
330
331
  }
331
332
  setStatus(true, label());
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figrelay",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "scripts": {
5
5
  "prepublishOnly": "cp ../README.md ./README.md"
6
6
  },
@@ -17,11 +17,11 @@
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git+https://github.com/quannh287/figma-mcp-console.git"
20
+ "url": "git+https://github.com/quannh287/figma-relay.git"
21
21
  },
22
- "homepage": "https://github.com/quannh287/figma-mcp-console#readme",
22
+ "homepage": "https://github.com/quannh287/figma-relay#readme",
23
23
  "bugs": {
24
- "url": "https://github.com/quannh287/figma-mcp-console/issues"
24
+ "url": "https://github.com/quannh287/figma-relay/issues"
25
25
  },
26
26
  "keywords": [
27
27
  "figma",