@refore-ai/html-to-figma-mcp 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. package/index.mjs +4 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -29,7 +29,7 @@ const PLATFORM_DISPLAY_NAMES = {
29
29
  //#region src/platform.ts
30
30
  const MCP_PLATFORM = "figma";
31
31
  /** 从源 package.json 的 version 由 tsdown define 注入;测试环境未注入 → 兜底 '0.0.0-dev' */
32
- const MCP_SERVER_VERSION = "0.0.4";
32
+ const MCP_SERVER_VERSION = "0.0.5";
33
33
  /** 面向 agent 的平台展示名(用于工具描述等) */
34
34
  const MCP_PLATFORM_NAME = PLATFORM_DISPLAY_NAMES[MCP_PLATFORM];
35
35
  /** 本 MCP server 的包名 / 日志前缀基名 */
@@ -247,11 +247,12 @@ function getPortRange(base, size = 100) {
247
247
  //#endregion
248
248
  //#region ../../libs/html-to-figma-mcp-protocol/src/port-segments.ts
249
249
  /**
250
- * html-to-figma MCP 在整个 MCP 端口空间里占用 5000–5499 段,按平台每 100 一格。
250
+ * html-to-figma MCP 在整个 MCP 端口空间里占用 5000–5599 段,按平台每 100 一格;
251
+ * 其中 5000–5099 空置不用,figma 落在 5500–5599。
251
252
  * 每个新 MCP 产品应选独立的 base(如 6000/7000/...),互不重叠。
252
253
  */
253
254
  const PLATFORM_PORT_BASE = {
254
- figma: 5e3,
255
+ figma: 5500,
255
256
  mastergo: 5100,
256
257
  jsdesign: 5200,
257
258
  "pixso-china": 5300,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refore-ai/html-to-figma-mcp",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "html-to-figma-mcp": "index.mjs"