@expressivecss/mcp-server 0.2.0 → 0.2.2
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 +23 -0
- package/README.md +7 -4
- package/capability-roadmap.json +1 -1
- package/component-decisions.json +1 -1
- package/component-guides.json +42 -42
- package/contract.json +5 -3
- package/package.json +1 -1
- package/semantics-data.json +1 -1
- package/server.js +23 -12
- package/smoke.mjs +19 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expressivecss-mcp",
|
|
3
3
|
"displayName": "ExpressiveCSS MCP",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2",
|
|
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.2.
|
|
4
|
+
"version": "0.2.2",
|
|
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,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.2 - 2026-10-01
|
|
4
|
+
|
|
5
|
+
- Semantics findings from `rules_enforcer`, `quality_inspector`, and
|
|
6
|
+
`expressivecss-lint` report the element's line and column instead of 1:1.
|
|
7
|
+
- Component guides list the API reference subsections they leave out. Their
|
|
8
|
+
examples use real link targets, and menu actions are buttons. The Buttons
|
|
9
|
+
guide calls `circle` a round common button and points icon buttons to
|
|
10
|
+
`.icon-button`.
|
|
11
|
+
- The Lightbox guide includes its options and methods. The app-bar guide's
|
|
12
|
+
Search icon is a button.
|
|
13
|
+
- The Cards guide uses a plain `<p>` for supporting copy. The Date picker and
|
|
14
|
+
Time picker guides use `.date-picker` and `.time-picker`, the Select guide
|
|
15
|
+
describes the `.field` wrapper instead of `.select-wrapper`, and the
|
|
16
|
+
Scrollspy example uses `hide-on-compact-only`.
|
|
17
|
+
- Bundled framework guidance: ExpressiveCSS 0.12.0.
|
|
18
|
+
|
|
19
|
+
## 0.2.1 - 2026-09-30
|
|
20
|
+
|
|
21
|
+
- `rules_enforcer` requires an identifier boundary before a manual `.init(` call,
|
|
22
|
+
so a long identifier run no longer slows the scan.
|
|
23
|
+
- Component guides say top app bars are pinned by default.
|
|
24
|
+
- Bundled framework guidance: ExpressiveCSS 0.11.0.
|
|
25
|
+
|
|
3
26
|
## 0.2.0 - 2026-09-29
|
|
4
27
|
|
|
5
28
|
- Add the `expressivecss-lint` bin: the `rules_enforcer` static checks as a command with a `--hook` mode for Claude Code `PostToolUse`, so agent edits are checked without a tool call. `server.js` now starts the server only when run as the entry point.
|
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ Static inspection uses descriptor-level, no-follow bounded reads and rechecks fi
|
|
|
73
73
|
## Command-line lint and agent hook
|
|
74
74
|
|
|
75
75
|
`expressivecss-lint` runs the same static checks as `rules_enforcer` (bundled
|
|
76
|
-
semantics rules, retired
|
|
76
|
+
semantics rules, retired markup patterns, initialization checks) without
|
|
77
77
|
an MCP client. It exits 1 when it finds anything, so it fits `pre-commit` and CI:
|
|
78
78
|
|
|
79
79
|
```bash
|
|
@@ -111,8 +111,11 @@ files are parsed as HTML after `className` is rewritten to `class`, so
|
|
|
111
111
|
markup built from expressions can escape a selector rule, and markup kept in
|
|
112
112
|
a string prop (this repository's docs pages pass examples through
|
|
113
113
|
`<Code code={...}>`) is parsed as if it were inline, which produces false
|
|
114
|
-
findings. Semantics findings report line
|
|
115
|
-
|
|
114
|
+
findings. Semantics findings report the line and column of the element's
|
|
115
|
+
start tag. Elements the parser creates itself, such as the `<p>` implied by a
|
|
116
|
+
stray `</p>`, have no start tag and report 1:1, as do all findings in very
|
|
117
|
+
large files with thousands of tags. After the `className` rewrite, later
|
|
118
|
+
columns on the same line read four lower per rewritten attribute.
|
|
116
119
|
|
|
117
120
|
## Consumer browser scenarios
|
|
118
121
|
|
|
@@ -180,7 +183,7 @@ The real `projectRoot` must equal or be contained by one of those roots. A tool
|
|
|
180
183
|
}
|
|
181
184
|
```
|
|
182
185
|
|
|
183
|
-
The packaged config targets the npm release
|
|
186
|
+
The packaged config targets the npm release through `npx ...@latest`. Before the first publish, configure local development with `node` and an absolute path to this folder's `server.js` instead.
|
|
184
187
|
|
|
185
188
|
### Hermes
|
|
186
189
|
|
package/capability-roadmap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"frameworkVersion": "0.
|
|
3
|
+
"frameworkVersion": "0.12.0",
|
|
4
4
|
"sourceRevision": "b3821bb0390b985c31a858ab7f4e3dbf0de2d71c",
|
|
5
5
|
"basis": "Reviewed checkout snapshot, not proof of published package contents or target-browser conformance. Implemented means only the named scope. Full Material parity remains unassessed.",
|
|
6
6
|
"browserRun": {
|
package/component-decisions.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"generatedBy": "mcp/expressivecss/scripts/sync-guides.mjs",
|
|
4
|
-
"frameworkVersion": "0.
|
|
4
|
+
"frameworkVersion": "0.12.0",
|
|
5
5
|
"authority": "This catalogue owns component-selection metadata. Component guides own syntax and semantics.json owns authored semantics.",
|
|
6
6
|
"components": [
|
|
7
7
|
{
|