@perkyzz/emvb-mcp 1.2.0 → 1.4.0
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 +3 -3
- package/dist/cli.mjs +4335 -539
- package/package.json +2 -2
- package/skill/emvb-page-builder/SKILL.md +4 -0
- package/skill/emvb-page-builder/references/design.md +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perkyzz/emvb-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Local (stdio) MCP server for EmVB pages: lets AI agents build EmDash pages through your site's EmDash MCP endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"emdash",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@modelcontextprotocol/server": "2.4.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@perkyzz/emvb": "1.
|
|
44
|
+
"@perkyzz/emvb": "1.4.0",
|
|
45
45
|
"zod": "~4.5.4"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
@@ -39,6 +39,10 @@ instructions.
|
|
|
39
39
|
write to an open page returns `PAGE_OPEN`. Check `get_requests` for what people asked from the
|
|
40
40
|
editor and answer each with `propose_changes` and its `requestId`. `get_proposal` tells you whether yours still applies;
|
|
41
41
|
`withdraw_proposal` before sending a corrected one.
|
|
42
|
+
**A whole new page for review:** `get_page_brief` (with the page's `pageId`) returns the
|
|
43
|
+
person's brief, the site's variables and classes, the element types, limits, accessibility
|
|
44
|
+
rules and steps. Send the whole page in one `propose_changes`: one `insert` per section with
|
|
45
|
+
its children inline, plus deletes for the starter content.
|
|
42
46
|
7. **Check accessibility** with `get_accessibility_findings` after building and fix every
|
|
43
47
|
error. Contrast findings that share one colour: change that colour variable once.
|
|
44
48
|
8. **Don't publish** unless the person asked and `publish_page` is available. End with
|
|
@@ -16,6 +16,12 @@ Recipes and `get_site_styles` `tokens` find variables by these names, so use the
|
|
|
16
16
|
| Spacings | `space-xs` 8, `space-s` 16, `space-m` 24, `space-l` 40, `space-2xl` 64, `space-3xl` 96–120 | Multiples of 8 only. `space-3xl` is the vertical padding of a band. |
|
|
17
17
|
| Classes | Button (`btn`), a ghost button, Card (`card`), Eyebrow | Recipes put Button and Card on their buttons and cards. |
|
|
18
18
|
|
|
19
|
+
A colour may also have a `dark` hex: visitors whose device prefers dark mode see it instead (and a
|
|
20
|
+
Theme toggle element lets them choose). Give Surface, Card, Ink and Muted dark values together, and
|
|
21
|
+
check the same contrast pairs in both. A font that has `faces` was given font files by a person in
|
|
22
|
+
Site styles; agents can't add font files. `update_site_styles` keeps the keys you don't send, so
|
|
23
|
+
change only its `value` (the stack, with the family first) and leave `family`, `faces` and `source`.
|
|
24
|
+
|
|
19
25
|
Tag defaults (`defaults.h1…h3, p, a`) set the display font, ink colour and line heights
|
|
20
26
|
(headings 1.1–1.3, body 1.5–1.7) once, so elements need fewer local styles.
|
|
21
27
|
|