@adobe/design-data-agent-mcp 1.15.21 → 1.15.23
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/package.json +4 -4
- package/skills/design-data/SKILL.md +28 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/design-data-agent-mcp",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.23",
|
|
4
4
|
"description": "MCP server and Claude Code skill for the design-data agent surface — read tools run in-process via wasm",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
34
|
-
"@adobe/design-data": "3.3.
|
|
35
|
-
"@adobe/design-data-wasm": "0.
|
|
36
|
-
"@adobe/spectrum-design-data": "3.
|
|
34
|
+
"@adobe/design-data": "3.3.15",
|
|
35
|
+
"@adobe/design-data-wasm": "0.21.0",
|
|
36
|
+
"@adobe/spectrum-design-data": "3.12.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"ava": "^6.0.1"
|
|
@@ -6,7 +6,7 @@ description: >
|
|
|
6
6
|
system, token lookup, spec-conformance, drift detection, or token authoring on custom data.
|
|
7
7
|
metadata:
|
|
8
8
|
author: adobe
|
|
9
|
-
version: "1.15.
|
|
9
|
+
version: "1.15.23"
|
|
10
10
|
when_to_use: >
|
|
11
11
|
Trigger on: design system, design tokens, spec-conformant, drift, validate tokens, token
|
|
12
12
|
authoring, custom dataset, DESIGN_DATA_PATH, design-data validate, design-data diff,
|
|
@@ -178,6 +178,33 @@ for Layer-1 JSON-Schema validation before writing.
|
|
|
178
178
|
|
|
179
179
|
***
|
|
180
180
|
|
|
181
|
+
## Component previews and fonts (CLI)
|
|
182
|
+
|
|
183
|
+
The `design-data` CLI draws a component's visual recipe. SVG needs no setup; PNG text uses
|
|
184
|
+
Adobe Clean Spectrum VF when it is installed.
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
design-data render button --format svg > button.svg
|
|
188
|
+
design-data render button --format png --output button.png # --pixel-ratio N, default 2
|
|
189
|
+
design-data fonts # exit 0: found; exit 1: the bundled fallback would be used
|
|
190
|
+
design-data fonts --json # { found, fallback, using, rejected, related, searched, help }
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
* The font is found by itself (font folders and Creative Cloud's font cache), or chosen
|
|
194
|
+
with `--font <file.ttf>` (repeatable) or `DESIGN_DATA_FONT=<file.ttf>`. A chosen font also
|
|
195
|
+
sets the layout text widths, so SVG output changes when `--font` is passed.
|
|
196
|
+
* When `render --format png` falls back to the bundled Source Sans 3 it prints a warning
|
|
197
|
+
with the install steps. Relay it: say the text may differ slightly from Adobe Clean
|
|
198
|
+
Spectrum VF and the image is not exact. Do not tell the user to download anything when
|
|
199
|
+
`design-data fonts` exits 0.
|
|
200
|
+
* Adobe employees get the font from the Brand Center
|
|
201
|
+
(<https://inside.corp.adobe.com/content/inside/en/brand-center/font.html>, employees
|
|
202
|
+
only): install the `.ttf` (not the `.otf`, which uses PostScript outlines and cannot be
|
|
203
|
+
read). Creative Cloud's "Adobe Clean" is a different font and is not used. Someone
|
|
204
|
+
outside Adobe cannot get it, so the fallback is the best result; say so.
|
|
205
|
+
* If the user says the font is installed but `design-data fonts` says it is not, ask for
|
|
206
|
+
the file's path and use `--font` or `DESIGN_DATA_FONT`. Never offer or attach the font file.
|
|
207
|
+
|
|
181
208
|
## Gotchas
|
|
182
209
|
|
|
183
210
|
* **Scale values:** `desktop` and `mobile` — not `medium`/`large`.
|