SkillPedia Skills Encyclopedia
中文 EN

MCP 服务 2026-06-24 16:12 UTC

Figma-Context-MCP

由提交人 GLips 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix: use canonical style comparison and guard aspect-ratio divide-by-zero (#402)。解决了已知运行时异常与边界错误,提升系统稳定性。

GLips c083d65 GLips/Figma-Context-MCP

Commit提交信息原文

fix: use canonical style comparison and guard aspect-ratio divide-by-zero (#402)

* chore: nit

* fix: use canonical style comparison and guard aspect-ratio divide-by-zero

resolveStyleKey now compares same-name styles with stableStringify (key-order
insensitive) instead of raw JSON.stringify, so semantically identical styles
emitted in different key orders collapse to one key instead of getting a
spurious id suffix that wastes tokens and produces misleading distinct keys.

Guard the aspectRatio division in buildSimplifiedLayout against zero height so
a zero-height column child no longer emits aspectRatio: Infinity.