@mp3wizard/figma-console-mcp 1.29.2 → 1.30.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 +4 -2
- package/dist/cloudflare/core/cloud-websocket-connector.js +2 -0
- package/dist/cloudflare/core/design-code-tools.js +51 -5
- package/dist/cloudflare/core/tokens-tools.js +1 -1
- package/dist/cloudflare/core/websocket-connector.js +2 -0
- package/dist/cloudflare/core/write-tools.js +35 -8
- package/dist/cloudflare/index.js +3 -3
- package/dist/core/design-code-tools.d.ts.map +1 -1
- package/dist/core/design-code-tools.js +51 -5
- package/dist/core/design-code-tools.js.map +1 -1
- package/dist/core/tokens-tools.js +1 -1
- package/dist/core/websocket-connector.d.ts.map +1 -1
- package/dist/core/websocket-connector.js +2 -0
- package/dist/core/websocket-connector.js.map +1 -1
- package/dist/core/write-tools.d.ts.map +1 -1
- package/dist/core/write-tools.js +35 -8
- package/dist/core/write-tools.js.map +1 -1
- package/figma-desktop-bridge/code.js +156 -27
- package/figma-desktop-bridge/ui.html +2 -0
- package/package.json +5 -3
|
@@ -538,6 +538,7 @@
|
|
|
538
538
|
if (options.fontSize) params.fontSize = options.fontSize;
|
|
539
539
|
if (options.fontWeight) params.fontWeight = options.fontWeight;
|
|
540
540
|
if (options.fontFamily) params.fontFamily = options.fontFamily;
|
|
541
|
+
if (options.fontStyle) params.fontStyle = options.fontStyle;
|
|
541
542
|
}
|
|
542
543
|
return window.sendPluginCommand('SET_TEXT_CONTENT', params)
|
|
543
544
|
.catch(function(err) { return { success: false, error: err.message || String(err) }; });
|
|
@@ -1280,6 +1281,7 @@
|
|
|
1280
1281
|
if (msg.data !== undefined) result.data = msg.data;
|
|
1281
1282
|
if (msg.oldName !== undefined) result.oldName = msg.oldName;
|
|
1282
1283
|
if (msg.instance !== undefined) result.instance = msg.instance;
|
|
1284
|
+
if (msg.warnings !== undefined) result.warnings = msg.warnings;
|
|
1283
1285
|
request.resolve(result);
|
|
1284
1286
|
} else {
|
|
1285
1287
|
request.resolve({ success: false, error: msg.error || 'Unknown error' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mp3wizard/figma-console-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.1",
|
|
4
4
|
"description": "The most comprehensive MCP server for Figma — design tokens, variables, components, write tools, version history diff, accessibility audits, FigJam, Slides, and more. Local (WebSocket Desktop Bridge plugin) and Cloudflare Workers (paired + remote) modes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/local.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"typescript": "5.9.3",
|
|
85
85
|
"vite": "^6.4.2",
|
|
86
86
|
"vite-plugin-singlefile": "^2.0.0",
|
|
87
|
-
"wrangler": "^4.
|
|
87
|
+
"wrangler": "^4.75.0",
|
|
88
88
|
"zod-to-json-schema": "^3.25.1"
|
|
89
89
|
},
|
|
90
90
|
"overrides": {
|
|
@@ -101,6 +101,8 @@
|
|
|
101
101
|
"@hono/node-server": ">=1.19.13",
|
|
102
102
|
"postcss": ">=8.5.10",
|
|
103
103
|
"qs": ">=6.15.2",
|
|
104
|
-
"ws": ">=8.20.1"
|
|
104
|
+
"ws": ">=8.20.1",
|
|
105
|
+
"miniflare": ">=4.20260519.0",
|
|
106
|
+
"express-rate-limit": ">=8.5.1"
|
|
105
107
|
}
|
|
106
108
|
}
|