@csszyx/mcp-server 0.11.10 → 0.11.11
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/llms-full.txt +12 -0
- package/package.json +4 -4
package/llms-full.txt
CHANGED
|
@@ -726,6 +726,18 @@ value-classified into property groups: same property → later wins
|
|
|
726
726
|
is scanned (`build.scanCss`); classes written in plain CSS register via
|
|
727
727
|
`registerSzcnGroups({ colors: [...], textSizes: [...] })` from `@csszyx/runtime`.
|
|
728
728
|
|
|
729
|
+
On a production-mangled build, `szcn` also ENCODES its output: a class name a
|
|
730
|
+
component resolves at runtime as a plain string (a prop mapped to `'flex-col'`,
|
|
731
|
+
a template like `` `gap-${n}` ``) leaves the merge in mangled form, matching
|
|
732
|
+
the mangled CSS. The lookup is single-pass and idempotent — already-mangled
|
|
733
|
+
tokens, authored literals, and external (non-csszyx) class names pass through
|
|
734
|
+
unchanged — and it is an identity in dev or on unmangled builds. Code that
|
|
735
|
+
INSPECTS a className for a utility by its original spelling must decode first:
|
|
736
|
+
`szDecode(token)` (from `@csszyx/runtime`) maps a mangled token back to its
|
|
737
|
+
original name and is identity everywhere else, so
|
|
738
|
+
`className.split(/\s+/).some(t => szDecode(t).startsWith('w-'))` is safe on
|
|
739
|
+
every build shape.
|
|
740
|
+
|
|
729
741
|
## `szs` — slot map for a component's internal parts
|
|
730
742
|
|
|
731
743
|
For parts a component renders ITSELF (no consumer content), `szs` maps slot names
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csszyx/mcp-server",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.11",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for csszyx — enables AI agents to understand and generate sz props",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
32
32
|
"zod": "^4.4.3",
|
|
33
|
-
"@csszyx/cli": "0.11.
|
|
34
|
-
"@csszyx/
|
|
35
|
-
"@csszyx/
|
|
33
|
+
"@csszyx/cli": "0.11.11",
|
|
34
|
+
"@csszyx/unplugin": "0.11.11",
|
|
35
|
+
"@csszyx/compiler": "0.11.11"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^22.20.1",
|