@expressivecss/mcp-server 0.3.0 → 0.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/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CHANGELOG.md +29 -0
- package/README.md +3 -0
- package/capability-roadmap.json +2097 -242
- package/component-decisions.json +4873 -615
- package/component-guides.json +170 -42
- package/contract.json +8 -4
- package/package.json +2 -1
- package/scripts/resolve-version.mjs +3 -2
- package/semantics-data.json +649 -3
- package/server.js +56 -35
- package/smoke.mjs +80 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expressivecss-mcp",
|
|
3
3
|
"displayName": "ExpressiveCSS MCP",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"description": "ExpressiveCSS workflow server with Setup Expert, Rules Enforcer, Creative Director, Page Arcjitect, Component Syntax Expert, and Quality Inspector.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "BaezFJ",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expressivecss-mcp",
|
|
3
3
|
"displayName": "ExpressiveCSS MCP",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"description": "ExpressiveCSS workflow server with Setup Expert, Rules Enforcer, Creative Director, Page Arcjitect, Component Syntax Expert, and Quality Inspector.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "BaezFJ",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0 - 2026-10-11
|
|
4
|
+
|
|
5
|
+
- Command-output redaction no longer stalls the server on long token runs.
|
|
6
|
+
160K characters of hex output took 6 s to redact; it now takes milliseconds.
|
|
7
|
+
- New `EXPRESSIVECSS_MCP_ALLOWED_PROJECT_ROOTS` setting limits which
|
|
8
|
+
directories a caller can pass as `projectRoot`. It is unset by default, which
|
|
9
|
+
keeps the current behavior.
|
|
10
|
+
- Calls with a `projectRoot` are 3 to 5 times faster. The server resolves the
|
|
11
|
+
ExpressiveCSS version once per call and sizes file buffers to the file
|
|
12
|
+
instead of the read limit.
|
|
13
|
+
- Tool results use compact JSON text, which is about a third smaller.
|
|
14
|
+
- The catalogue, guides and rules cover map, confetti and particles.
|
|
15
|
+
- Bundled framework guidance: ExpressiveCSS 0.14.1.
|
|
16
|
+
|
|
17
|
+
## 0.3.1 - 2026-10-08
|
|
18
|
+
|
|
19
|
+
- Fix `npx @expressivecss/mcp-server`, which failed with "could not determine
|
|
20
|
+
executable to run" from 0.2.0 onward because the package has two bins. A
|
|
21
|
+
`mcp-server` bin now starts the server, so the documented client config works.
|
|
22
|
+
The `expressivecss-mcp` bin is unchanged.
|
|
23
|
+
- The server and `expressivecss-lint` start about 0.3 s faster. jsdom now loads
|
|
24
|
+
the first time a check inspects markup instead of at startup.
|
|
25
|
+
- The catalogue, guides and rules cover 29 more components: accordion, aura,
|
|
26
|
+
avatar, the eight chart types, command palette, countdown, data table,
|
|
27
|
+
drop zone, empty state, KPI, marquee, message, message scroller, popover,
|
|
28
|
+
questionnaire, rating, rich text editor, skeleton, stat, stepper, timeline
|
|
29
|
+
and tree.
|
|
30
|
+
- Bundled framework guidance: ExpressiveCSS 0.13.1.
|
|
31
|
+
|
|
3
32
|
## 0.3.0 - 2026-10-06
|
|
4
33
|
|
|
5
34
|
- Breaking: guidance tools now cap each result at 64 KiB of UTF-8 by
|
package/README.md
CHANGED
|
@@ -619,6 +619,7 @@ network limits, evidence handling, and bounded repair workflow.
|
|
|
619
619
|
- `EXPRESSIVECSS_MCP_QA_MAX_TOTAL_MB`
|
|
620
620
|
- `EXPRESSIVECSS_MCP_COMMAND_TIMEOUT_MS`
|
|
621
621
|
- `EXPRESSIVECSS_MCP_ALLOWED_COMMAND_ROOTS`
|
|
622
|
+
- `EXPRESSIVECSS_MCP_ALLOWED_PROJECT_ROOTS`
|
|
622
623
|
- `SKIP_SETUP_EXPERT`
|
|
623
624
|
- `SKIP_RULES_ENFORCER`
|
|
624
625
|
- `SKIP_CREATIVE_DIRECTOR`
|
|
@@ -642,6 +643,8 @@ EXPRESSIVECSS_MCP_ALLOWED_COMMAND_ROOTS=["/srv/projects/site-a","/srv/projects/s
|
|
|
642
643
|
|
|
643
644
|
The real `projectRoot` must equal or be contained by one of those roots. A tool caller cannot expand this policy. Allowed commands receive only the executable path, system/temp/locale variables, `CI=1`, `NO_COLOR=1`, and `HOME`/`USERPROFILE` reset to the project root. API keys, tokens, passwords, cloud credentials, SSH agent variables, and other MCP-process environment values are not forwarded.
|
|
644
645
|
|
|
646
|
+
Any tool accepts a `projectRoot` by default, and `quality_inspector` reports the existence, size and SHA-256 of files under it. To limit which directories a caller can name, set `EXPRESSIVECSS_MCP_ALLOWED_PROJECT_ROOTS` in the same format. A `projectRoot` whose real path is outside every listed root fails with a tool error. An empty or invalid value denies every caller-supplied root. The default root, from `--project-root` or the working directory, is not checked.
|
|
647
|
+
|
|
645
648
|
## Sample client configuration
|
|
646
649
|
|
|
647
650
|
### `mcp/expressivecss/mcp.json`
|