figma-console-mcp 1.40.5 β†’ 1.40.6

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
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Your design system as an API.** Model Context Protocol server that bridges design and developmentβ€”giving AI assistants complete access to Figma for **extraction**, **creation**, **debugging**, and **bidirectional token sync**.
10
10
 
11
- > **πŸ†• Design System Extraction (v1.40.0, patched v1.40.5):** Turn a production codebase into a design system. Seven new `figma_ds_*` tools (Local Mode) scan one or more app codebases β€” framework, styling-method, and vendor-layer detection; a usage-ranked component inventory classified vendored / wrapped / pure-vendor / bespoke; variant inference from real call sites; duplicate detection; and an architecture pass that separates a UI kit from a design system (`FollowButton` is really a `Button` β€” and here are the missing generic primitives). Then they mine the app's de-facto styling into DTCG tokens with per-token provenance β€” multi-mode CSS custom properties (`.dark`, `[data-theme]`, and friends), SCSS variables, Tailwind config values, shadcn HSL triples, Tailwind utility-class frequency mining valued from the app's own theme, and frequency-promoted raw values β€” scaffold the design-system package with token/typography/iconography showcase pages, wire a fresh Storybook workshop to the app's real theme layers and fonts, deep-extract components for porting with CSF3 story scaffolds, gate the result behind deterministic fidelity evals, and persist porting progress across sessions. The extracted `tokens/tokens.json` imports straight into Figma variables via `figma_import_tokens` β€” a full code β†’ design system β†’ Figma round-trip. Also fixes the token formatters quoting CSS functional expressions like `cubic-bezier(...)` (a quoted easing silently kills transitions β€” affects `figma_export_tokens` output too). Server-only β€” no plugin re-import needed. [See what's new β†’](CHANGELOG.md#1400---2026-08-16)
11
+ > **πŸ†• Design System Extraction (v1.40.0, patched v1.40.6):** Turn a production codebase into a design system. Seven new `figma_ds_*` tools (Local Mode) scan one or more app codebases β€” framework, styling-method, and vendor-layer detection; a usage-ranked component inventory classified vendored / wrapped / pure-vendor / bespoke; variant inference from real call sites; duplicate detection; and an architecture pass that separates a UI kit from a design system (`FollowButton` is really a `Button` β€” and here are the missing generic primitives). Then they mine the app's de-facto styling into DTCG tokens with per-token provenance β€” multi-mode CSS custom properties (`.dark`, `[data-theme]`, and friends), SCSS variables, Tailwind config values, shadcn HSL triples, Tailwind utility-class frequency mining valued from the app's own theme, and frequency-promoted raw values β€” scaffold the design-system package with token/typography/iconography showcase pages, wire a fresh Storybook workshop to the app's real theme layers and fonts, deep-extract components for porting with CSF3 story scaffolds, gate the result behind deterministic fidelity evals, and persist porting progress across sessions. The extracted `tokens/tokens.json` imports straight into Figma variables via `figma_import_tokens` β€” a full code β†’ design system β†’ Figma round-trip. Also fixes the token formatters quoting CSS functional expressions like `cubic-bezier(...)` (a quoted easing silently kills transitions β€” affects `figma_export_tokens` output too). Server-only β€” no plugin re-import needed. [See what's new β†’](CHANGELOG.md#1400---2026-08-16)
12
12
 
13
13
  ## What is this?
14
14
 
@@ -840,9 +840,10 @@ The architecture supports adding new apps with minimal boilerplate β€” each app
840
840
 
841
841
  ## πŸ›€οΈ Roadmap
842
842
 
843
- **Current Status:** v1.40.5 (Stable) - Production-ready. Latest: a clean dependency audit for the npm package β€” Worker-only dependencies (`@cloudflare/puppeteer`, which pulled in a high-severity `extract-zip` advisory with no upstream fix, and `agents`) no longer install for npm users, so `npm install figma-console-mcp` audits at 0 vulnerabilities and is 64 MB instead of 173 MB; the server also reports its real version to MCP clients instead of `0.1.0` (server-only, no plugin re-import). On top of v1.40.4's fixes found by live-testing v1.40.3 on hard production components β€” tools given a `fileUrl` now read variables, descriptions and annotations from THAT file rather than whichever file is active (previously every token name could vanish, or on an id collision come from the wrong file; `figma_get_component` could return a different component), a tool result over 16 MB no longer disconnects the server, anatomy labels sizing by the layout's real axes, and the icon/typography/anatomy output stays readable on large components (server-only, no plugin re-import). On top of v1.40.3's fidelity fixes for generated component docs on harder components β€” hidden layers are labeled instead of documented as rendered, one-sided borders report the weight that actually renders, typography and layer structure are compared across every variant instead of read from the first, gradients/shadows/opacity are no longer silently dropped, truncated trees say so, and `SLOT` properties are listed (server-only, no plugin re-import). On top of v1.40.2's data-loss fix for `figma_export_tokens` β€” with a different file active in Figma than intended, an export could replace a real token file with an empty one (or with another file's tokens) and report success; exports now refuse to write when a requested collection is missing, when the export is empty, when the target was generated from a different Figma file, or when overwriting would destroy tokens the export doesn't manage, and `strategy: "merge"` β€” documented as preserving code-only tokens but never implemented β€” is now a genuinely safe default (server-only, no plugin re-import). On top of v1.40.1's accuracy fixes for generated component docs across variants β€” a descendant's fill (typically an icon's) could be documented as a variant's Background, Color Token headings kept only a property literally named `Variant`, spacing was read from the first variant alone, and icons were only detected by layer name β€” plus `figma_export_tokens` accepting a file path as `outputPath` instead of failing with a raw `EEXIST` or silently creating a directory (server-only, no plugin re-import). On top of v1.40.0's design system extraction from production codebases β€” seven Local-Mode `figma_ds_*` tools that scan one or more apps (framework/styling/vendor detection, usage-ranked component inventory classified vendored/wrapped/pure-vendor/bespoke, variant inference from real call sites, duplicate detection, and an architecture pass separating UI-kit specializations from the missing generic primitives), mine the de-facto styling into DTCG tokens with per-token provenance (multi-mode CSS custom properties, SCSS, Tailwind config, shadcn HSL triples, utility-class frequency mining valued from the app's own theme), scaffold the design-system package with showcase docs pages, wire a fresh Storybook workshop to the app's real theme layers and fonts, deep-extract components for porting with CSF3 story scaffolds, verify with deterministic fidelity evals, and persist porting progress across sessions β€” the extracted tokens import straight into Figma variables via `figma_import_tokens`. On top of v1.39.1's fix for a plugin-update banner that could never be cleared β€” an older server instance nagging a newer plugin to re-import, which only ever installs the same or a newer plugin. On top of v1.39.0's multi-file execution β€” `figma_execute_across_files` runs one script against several Desktop Bridge-connected files concurrently (four files x 2s of work in ~3s, not ~8s), and `figma_execute` takes an optional `fileKey` to target a single file without moving the active file or releasing target lock; targeting must be explicit (`fileKeys` or `allFiles: true`), so nothing fans out to files you did not name. From community PR #107 by @Wolfr. Ships with a relay fix: `handleResult()` in the plugin's ui.html rebuilt each response field by field and silently dropped `resultAnalysis` and `fileContext`, so the `resultAnalysis.warning` check that `figma_execute`'s own description tells callers to perform has never been possible (re-import `manifest.json` for those two fields; everything else works without it). On top of v1.38.2's connection-stability fix β€” the server's own orphan reaper was terminating healthy MCP servers because its liveness probe used an IPv4 literal while the server binds the IPv6 loopback, which turned every kill-safety gate into a rubber stamp; this was the cause of recurring "Server disconnected" errors across all MCP clients. Alongside v1.38.1's fix for the shared-library variable tools, which had silently reported zero collections since v1.29.0 and reported failed imports as successes. On top of v1.38.0's ongoing component changelogs in generated docs β€” `figma_generate_component_doc` takes an opt-in `history` parameter that pulls per-component **design history** from Figma version history (each version diffed and scoped to that component, so renames, added properties, and token bindings show up as rows) alongside **code history** from `git log` on the component's source files, rendered as a `## History` section with design, code, and release-note tables. Prefers labeled versions, falls back to auto-saves when a file has none, and is off by default so existing calls are unchanged (server-only, no plugin re-import). On top of v1.37.x's design-system health audit for every client β€” `figma_audit_design_system_report` runs the dashboard's deterministic six-category scoring engine and returns the report as data with per-finding remediation, live-first fileKey-verified data (source disclosed), chunked per-category drill-down, and a 5-minute cache (server-only, no plugin re-import). On top of v1.36.0's target lock for multi-file parallel work β€” β€” `figma_navigate` takes a `lock: true` flag that pins the active file so an AI agent can work in one file while you work in another without commands routing to the wrong file. On top of v1.35.0's Figma Slots write support β€” create, inspect, populate, and reset Slots (GA at Config 2026) via 5 new tools (`figma_create_slot`, `figma_get_slots`, `figma_append_to_slot`, `figma_reset_slot`, `figma_add_slot_property`), live-validated against the GA Plugin API and based on community PR #77. On top of v1.34.0's Bidirectional Token Sync v2 + DTCG 2025.10 β€” `figma_import_tokens` applies the complete diff plan (creates missing collections/variables, applies renames, writes real `VARIABLE_ALIAS` references, and deletes only under explicit `replace`), `figma_export_tokens` speaks the DTCG 2025.10 dialect on request (legacy default byte-identical), variable scopes/codeSyntax round-trip via `$extensions`, `figma_setup_design_tokens` accepts alias values via DTCG brace references, and `figma_create_component_set` builds a full variant set from an axes matrix in one call. On top of the v1.33.x line: version-handshake fix (re-import banner only fires when plugin files actually changed), security dependency sweep, and the v1.33.0 connection UX overhaul (honest status pill derived from live connection state, `/health` auto-discovery with self-healing reconnect) + a 33-fix full-codebase audit (lossless DTCG multi-mode round-trips, cross-collection alias resolution, branch-URL correctness across REST tools, cache-poisoning and CSWSH fixes, bridge-first screenshots). Built on WCAG-accurate accessibility auditing (line height below 1.5Γ— is no longer mis-flagged as a failure; readability hints decoupled from conformance checks and scoped to multi-line text; code-side WCAG 1.4.12 check), a self-healing Desktop Bridge connection (zombie-process reaper + auto-reconnect watchdog β€” fixes the recurring "not connected until restart" bug), native variable binding on fills/strokes + typography control in the write tools, shared-library inspection (key-based component resolution + library variable read/import without Enterprise plan), 10-format token export pipeline (DTCG, CSS, Tailwind v4, Tailwind v3, SCSS, TS module, JSON flat/nested, Style Dictionary v3, Tokens Studio), bidirectional Figma↔code token sync, version history & time-series awareness, FigJam + Slides support, Cloud Write Relay, Design System Kit, WebSocket-only connectivity, smart multi-file tracking, **121 tools** (Local) / **101 tools** (Cloud) / **9 tools** (Remote read-only), Comments API, cross-MCP identity disambiguation, and MCP Apps.
843
+ **Current Status:** v1.40.6 (Stable) - Production-ready. Latest: overrides in extended variable collections are visible (previously reported as nonexistent), and a third round of generated-doc fidelity fixes β€” radius tokens read per corner, boolean props compared in Design-Code Parity, source links pinned to a commit, hidden layers linked to the property that shows them (server-only, no plugin re-import). On top of v1.40.5's clean dependency audit for the npm package β€” Worker-only dependencies (`@cloudflare/puppeteer`, which pulled in a high-severity `extract-zip` advisory with no upstream fix, and `agents`) no longer install for npm users, so `npm install figma-console-mcp` audits at 0 vulnerabilities and is 64 MB instead of 173 MB; the server also reports its real version to MCP clients instead of `0.1.0` (server-only, no plugin re-import). On top of v1.40.4's fixes found by live-testing v1.40.3 on hard production components β€” tools given a `fileUrl` now read variables, descriptions and annotations from THAT file rather than whichever file is active (previously every token name could vanish, or on an id collision come from the wrong file; `figma_get_component` could return a different component), a tool result over 16 MB no longer disconnects the server, anatomy labels sizing by the layout's real axes, and the icon/typography/anatomy output stays readable on large components (server-only, no plugin re-import). On top of v1.40.3's fidelity fixes for generated component docs on harder components β€” hidden layers are labeled instead of documented as rendered, one-sided borders report the weight that actually renders, typography and layer structure are compared across every variant instead of read from the first, gradients/shadows/opacity are no longer silently dropped, truncated trees say so, and `SLOT` properties are listed (server-only, no plugin re-import). On top of v1.40.2's data-loss fix for `figma_export_tokens` β€” with a different file active in Figma than intended, an export could replace a real token file with an empty one (or with another file's tokens) and report success; exports now refuse to write when a requested collection is missing, when the export is empty, when the target was generated from a different Figma file, or when overwriting would destroy tokens the export doesn't manage, and `strategy: "merge"` β€” documented as preserving code-only tokens but never implemented β€” is now a genuinely safe default (server-only, no plugin re-import). On top of v1.40.1's accuracy fixes for generated component docs across variants β€” a descendant's fill (typically an icon's) could be documented as a variant's Background, Color Token headings kept only a property literally named `Variant`, spacing was read from the first variant alone, and icons were only detected by layer name β€” plus `figma_export_tokens` accepting a file path as `outputPath` instead of failing with a raw `EEXIST` or silently creating a directory (server-only, no plugin re-import). On top of v1.40.0's design system extraction from production codebases β€” seven Local-Mode `figma_ds_*` tools that scan one or more apps (framework/styling/vendor detection, usage-ranked component inventory classified vendored/wrapped/pure-vendor/bespoke, variant inference from real call sites, duplicate detection, and an architecture pass separating UI-kit specializations from the missing generic primitives), mine the de-facto styling into DTCG tokens with per-token provenance (multi-mode CSS custom properties, SCSS, Tailwind config, shadcn HSL triples, utility-class frequency mining valued from the app's own theme), scaffold the design-system package with showcase docs pages, wire a fresh Storybook workshop to the app's real theme layers and fonts, deep-extract components for porting with CSF3 story scaffolds, verify with deterministic fidelity evals, and persist porting progress across sessions β€” the extracted tokens import straight into Figma variables via `figma_import_tokens`. On top of v1.39.1's fix for a plugin-update banner that could never be cleared β€” an older server instance nagging a newer plugin to re-import, which only ever installs the same or a newer plugin. On top of v1.39.0's multi-file execution β€” `figma_execute_across_files` runs one script against several Desktop Bridge-connected files concurrently (four files x 2s of work in ~3s, not ~8s), and `figma_execute` takes an optional `fileKey` to target a single file without moving the active file or releasing target lock; targeting must be explicit (`fileKeys` or `allFiles: true`), so nothing fans out to files you did not name. From community PR #107 by @Wolfr. Ships with a relay fix: `handleResult()` in the plugin's ui.html rebuilt each response field by field and silently dropped `resultAnalysis` and `fileContext`, so the `resultAnalysis.warning` check that `figma_execute`'s own description tells callers to perform has never been possible (re-import `manifest.json` for those two fields; everything else works without it). On top of v1.38.2's connection-stability fix β€” the server's own orphan reaper was terminating healthy MCP servers because its liveness probe used an IPv4 literal while the server binds the IPv6 loopback, which turned every kill-safety gate into a rubber stamp; this was the cause of recurring "Server disconnected" errors across all MCP clients. Alongside v1.38.1's fix for the shared-library variable tools, which had silently reported zero collections since v1.29.0 and reported failed imports as successes. On top of v1.38.0's ongoing component changelogs in generated docs β€” `figma_generate_component_doc` takes an opt-in `history` parameter that pulls per-component **design history** from Figma version history (each version diffed and scoped to that component, so renames, added properties, and token bindings show up as rows) alongside **code history** from `git log` on the component's source files, rendered as a `## History` section with design, code, and release-note tables. Prefers labeled versions, falls back to auto-saves when a file has none, and is off by default so existing calls are unchanged (server-only, no plugin re-import). On top of v1.37.x's design-system health audit for every client β€” `figma_audit_design_system_report` runs the dashboard's deterministic six-category scoring engine and returns the report as data with per-finding remediation, live-first fileKey-verified data (source disclosed), chunked per-category drill-down, and a 5-minute cache (server-only, no plugin re-import). On top of v1.36.0's target lock for multi-file parallel work β€” β€” `figma_navigate` takes a `lock: true` flag that pins the active file so an AI agent can work in one file while you work in another without commands routing to the wrong file. On top of v1.35.0's Figma Slots write support β€” create, inspect, populate, and reset Slots (GA at Config 2026) via 5 new tools (`figma_create_slot`, `figma_get_slots`, `figma_append_to_slot`, `figma_reset_slot`, `figma_add_slot_property`), live-validated against the GA Plugin API and based on community PR #77. On top of v1.34.0's Bidirectional Token Sync v2 + DTCG 2025.10 β€” `figma_import_tokens` applies the complete diff plan (creates missing collections/variables, applies renames, writes real `VARIABLE_ALIAS` references, and deletes only under explicit `replace`), `figma_export_tokens` speaks the DTCG 2025.10 dialect on request (legacy default byte-identical), variable scopes/codeSyntax round-trip via `$extensions`, `figma_setup_design_tokens` accepts alias values via DTCG brace references, and `figma_create_component_set` builds a full variant set from an axes matrix in one call. On top of the v1.33.x line: version-handshake fix (re-import banner only fires when plugin files actually changed), security dependency sweep, and the v1.33.0 connection UX overhaul (honest status pill derived from live connection state, `/health` auto-discovery with self-healing reconnect) + a 33-fix full-codebase audit (lossless DTCG multi-mode round-trips, cross-collection alias resolution, branch-URL correctness across REST tools, cache-poisoning and CSWSH fixes, bridge-first screenshots). Built on WCAG-accurate accessibility auditing (line height below 1.5Γ— is no longer mis-flagged as a failure; readability hints decoupled from conformance checks and scoped to multi-line text; code-side WCAG 1.4.12 check), a self-healing Desktop Bridge connection (zombie-process reaper + auto-reconnect watchdog β€” fixes the recurring "not connected until restart" bug), native variable binding on fills/strokes + typography control in the write tools, shared-library inspection (key-based component resolution + library variable read/import without Enterprise plan), 10-format token export pipeline (DTCG, CSS, Tailwind v4, Tailwind v3, SCSS, TS module, JSON flat/nested, Style Dictionary v3, Tokens Studio), bidirectional Figma↔code token sync, version history & time-series awareness, FigJam + Slides support, Cloud Write Relay, Design System Kit, WebSocket-only connectivity, smart multi-file tracking, **121 tools** (Local) / **101 tools** (Cloud) / **9 tools** (Remote read-only), Comments API, cross-MCP identity disambiguation, and MCP Apps.
844
844
 
845
845
  **Recent Releases:**
846
+ - [x] **v1.40.6** - Extended collections + doc fidelity. `figma_get_variables` reads extended variable collections (overrides live on the collection; they were invisible and reported as nonexistent) β€” summary, per-collection resolved values marked overridden/inherited, per-variable overrides; the mode filter no longer drops `0`/`false` values; `figma_export_tokens` explains instead of emitting empty sets. `figma_generate_component_doc`: radius and per-side stroke bindings read per corner/side, Design-Code Parity compares booleans and never prints an empty section, source links pinned to a commit (no raw relative paths, no local paths, credentials stripped), hidden layers linked to the boolean that shows them, same-named layers qualified by instance. Server-only. Reported by Brett Cooper and Robin Di Capua.
846
847
  - [x] **v1.40.5** - Clean dependency audit. `@cloudflare/puppeteer` (β†’ `@puppeteer/browsers` β†’ `extract-zip`, high, no upstream fix) and `agents` were regular dependencies but are only used by the Cloudflare Worker; they are now devDependencies and the Worker build is excluded from the npm package, so a fresh install audits at 0 vulnerabilities (was 4 high) and drops from 173 MB to 64 MB. The local server now reports its real version to MCP clients instead of `0.1.0`. A new test guards both directions of the dependency split. Server-only. Reported by Daniel Westerlund.
847
848
  - [x] **v1.40.4** - Live-test fixes. Tools given a `fileUrl` (`figma_generate_component_doc`, `figma_get_component`, `figma_get_component_for_development`) read bridge data from the ACTIVE file instead of the named one β€” token names vanished, and on an id collision another file's names, description, annotations or even component were returned; they now target the named file and fall back to REST. A tool result over 16 MB disconnected the server for the session (the client closes the transport); results are now size-capped centrally with an actionable error. Anatomy sizing labels follow the real layout axes (vertical layouts were mislabeled); icons are grouped, counted and named by the glyph in the slot; typography rows are identified by (element, style); identical sibling layers collapse to `Γ—N`. Found by testing on hard production components. Server-only.
848
849
  - [x] **v1.40.3** - Component-doc fidelity on harder components. `figma_generate_component_doc`: hidden layers labeled rather than documented as rendered; border width honors `individualStrokeWeights` (a tab underline is `4px bottom`, not the vestigial scalar) and is reported only where a stroke is painted; typography and anatomy compared across every variant (an *Applies to* column; one tree per distinct layer structure) instead of read from the first; gradients, images, shadows, blurs and opacity reported instead of dropped; fetch depth raised from 4 to 8 with an explicit note when a tree may be cut off; boolean-valued variant properties keep their name; Configurable Properties renders for variant-only sets and lists `SLOT` properties; every icon shown, not just the first; Design-Code Parity compares property values (it could report a property *name* as a missing variant); placeholder `status`/`version`/description no longer asserted. Server-only. Reported by Robin Di Capua.
@@ -7,6 +7,7 @@ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
7
7
  import type { FigmaAPI } from "./figma-api.js";
8
8
  import type { EnrichedComponent } from "./types/enriched.js";
9
9
  import type { CodeDocInfo, CompanyDocsContentEntry } from "./types/design-code.js";
10
+ import { type SourceRevision } from "./history/git-history.js";
10
11
  export { figmaRGBAToHex, normalizeColor, numericClose } from "./diff/property-compare.js";
11
12
  /** Calculate parity score from discrepancy counts */
12
13
  export declare function calculateParityScore(critical: number, major: number, minor: number, info: number): number;
@@ -61,6 +62,10 @@ interface VariantColorEntry {
61
62
  iconLabel?: string;
62
63
  /** The layer (or an ancestor) has `visible: false` β€” real design intent, but not painted */
63
64
  hidden?: boolean;
65
+ /** Boolean property that shows the hidden layer (or its hidden ancestor) */
66
+ shownWhen?: string;
67
+ /** Nearest nested instance the layer lives in β€” tells same-named layers apart */
68
+ owner?: string;
64
69
  }
65
70
  /** Color data collected from a specific variant */
66
71
  interface VariantColorData {
@@ -120,6 +125,8 @@ interface TextStyleData {
120
125
  hidden?: boolean;
121
126
  /** The layer mixes styles (e.g. a bolded word) β€” the values shown are its base style only */
122
127
  mixed?: boolean;
128
+ /** Nearest nested instance the text lives in */
129
+ owner?: string;
123
130
  }
124
131
  /**
125
132
  * id β†’ token name. Two collections can each hold a variable with the SAME name
@@ -128,6 +135,22 @@ interface TextStyleData {
128
135
  * token keeps the plain name people already map to code.
129
136
  */
130
137
  export declare function buildVariableNameMap(variables: any[], collections?: any[]): Map<string, string>;
138
+ /**
139
+ * A code path as it may appear in published docs: repo-relative paths as given;
140
+ * absolute local paths made relative to `root` when inside it, else reduced to
141
+ * the file name β€” never the author's home directory layout.
142
+ */
143
+ export declare function displayPath(path: string, root?: string): string;
144
+ /** The boolean component property that controls this layer's visibility, if any */
145
+ export declare function visibilityProperty(node: any): string | null;
146
+ /**
147
+ * How to label a layer's visibility: "(hidden β€” shown when Is Focused = true)"
148
+ * for a hidden layer a boolean property reveals, "(toggled by Show Icon)" for a
149
+ * visible one it can hide, "(hidden)" otherwise. Empty for ordinary layers.
150
+ */
151
+ export declare function visibilityNote(node: any): string;
152
+ /** "Tab Item (Is Selected=True)" β€” an instance, qualified by its variant */
153
+ export declare function describeInstance(node: any): string;
131
154
  /**
132
155
  * Human-readable name of the main component behind an instance/component id.
133
156
  * Variants resolve to "Set name (Value / Value)" since a bare "Size=16" is useless.
@@ -141,7 +164,7 @@ export declare function collectAllVariantData(node: any, varNameMap: Map<string,
141
164
  /**
142
165
  * Collect typography data from all text nodes in a component tree.
143
166
  */
144
- export declare function collectTypographyData(node: any, depth?: number, maxDepth?: number, ancestorHidden?: boolean): TextStyleData[];
167
+ export declare function collectTypographyData(node: any, depth?: number, maxDepth?: number, ancestorHidden?: boolean, owner?: string | null): TextStyleData[];
145
168
  /** One row of the typography table: a text element in one style, and where it applies */
146
169
  export interface TypographyRow {
147
170
  style: TextStyleData;
@@ -159,6 +182,21 @@ export declare function collectTypographyAcrossVariants(setNode: any): Typograph
159
182
  * Returns a formatted string showing the component's nested structure.
160
183
  */
161
184
  export declare function buildAnatomyTree(node: any, depth?: number, maxDepth?: number): string;
185
+ /**
186
+ * The variable a spacing-table property is bound to, read from where Figma
187
+ * actually stores the binding. Radius and per-side stroke weights are bound PER
188
+ * CORNER / PER SIDE (`topLeftRadius`, `strokeBottomWeight`, …) β€” there is never a
189
+ * `cornerRadius` key in `boundVariables`, even when all four corners share one
190
+ * token β€” so a lookup by the row's own key reported every radius token as
191
+ * hardcoded.
192
+ *
193
+ * `name` is the display text for the Figma Variable column (undefined = unbound);
194
+ * `signature` identifies the binding for cross-variant comparison.
195
+ */
196
+ export declare function resolvePropertyBinding(node: any, key: string, varNameMap?: Map<string, string>): {
197
+ name?: string;
198
+ signature: string;
199
+ };
162
200
  /**
163
201
  * The border width that actually RENDERS. With per-side weights (underlines,
164
202
  * dividers, accent bars) the scalar `strokeWeight` is a leftover from before the
@@ -237,8 +275,16 @@ latestDesignVersion?: {
237
275
  version_id: string;
238
276
  label: string | null;
239
277
  created_at: string;
240
- } | null): string;
241
- export declare function generateOverviewSection(componentName: string, description: string, fileUrl: string, parsedDesc: ParsedDescription, codeInfo?: CodeDocInfo): string;
278
+ } | null,
279
+ /** The commit the code-side information was read at (local mode, git repos only) */
280
+ sourceRevision?: SourceRevision | null,
281
+ /** Directory absolute code paths are shown relative to */
282
+ sourceRoot?: string): string;
283
+ export declare function generateOverviewSection(componentName: string, description: string, fileUrl: string, parsedDesc: ParsedDescription, codeInfo?: CodeDocInfo,
284
+ /** Stable web URL for a code path (pinned to a commit), when one can be resolved */
285
+ sourceUrl?: (path: string) => string | null,
286
+ /** Directory absolute paths are shown relative to */
287
+ sourceRoot?: string): string;
242
288
  export declare function generateStatesAndVariantsSection(node: any, variantData?: VariantColorData[], lookup?: ComponentLookup): string;
243
289
  export declare function generateVisualSpecsSection(node: any, enrichedData: EnrichedComponent | null, variantData?: VariantColorData[], varNameMap?: Map<string, string>,
244
290
  /** The full COMPONENT_SET when `node` is its default variant β€” enables cross-variant spacing comparison */
@@ -1 +1 @@
1
- {"version":3,"file":"design-code-tools.d.ts","sourceRoot":"","sources":["../../src/core/design-code-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI/C,OAAO,KAAK,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,KAAK,EAOX,WAAW,EAGX,uBAAuB,EACvB,MAAM,wBAAwB,CAAC;AAuBhC,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1F,qDAAqD;AACrD,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAEzG;AAiED,oEAAoE;AACpE,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAqBpG;AAED;;;GAGG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,IAAI,CAAC;AAQhC,wBAAgB,gBAAgB,CAAC,OAAO,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