@csszyx/mcp-server 0.15.0 → 0.15.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.
Files changed (2) hide show
  1. package/llms-full.txt +8 -7
  2. package/package.json +8 -8
package/llms-full.txt CHANGED
@@ -769,11 +769,12 @@ a template like `` `gap-${n}` ``) leaves the merge in mangled form, matching
769
769
  the mangled CSS. The lookup is single-pass and idempotent — already-mangled
770
770
  tokens, authored literals, and external (non-csszyx) class names pass through
771
771
  unchanged — and it is an identity in dev or on unmangled builds. Code that
772
- INSPECTS a className for a utility by its original spelling must decode first:
773
- `szDecode(token)` (from `@csszyx/runtime`) maps a mangled token back to its
774
- original name and is identity everywhere else, so
775
- `className.split(/\s+/).some(t => szDecode(t).startsWith('w-'))` is safe on
776
- every build shape.
772
+ INSPECTS a className for a utility must not read the spelling: `has(className,
773
+ 'w')` (from `@csszyx/runtime`) decodes each token through the registry and
774
+ strips its variant before matching, so it answers the same on every build
775
+ shape. `szDecode(token)` maps one mangled token back to its original name — and
776
+ returns the whole original, variant prefix included, so a hand-rolled
777
+ `startsWith('w-')` on it is false for `md:w-full`.
777
778
 
778
779
  ## `szs` — slot map for a component's internal parts
779
780
 
@@ -3902,8 +3903,8 @@ import {
3902
3903
  stripSzProps,
3903
3904
  } from "@csszyx/runtime";
3904
3905
 
3905
- // Partition: outer = border-outward (margin/position/border/sizing/bg/shadow/transform/visibility),
3906
- // inner = border-inward (padding/overflow/display/layout/gap/text/paint-inside/interactivity)
3906
+ // Partition: outer = border-outward (margin/position/border/ring/sizing/bg/shadow/transform/visibility),
3907
+ // inner = border-inward (padding/overflow/display/flex/grid/gap/text/interaction)
3907
3908
  const { outer, inner } = splitBox("m-4 px-2 md:flex");
3908
3909
  // outer: "m-4" inner: "px-2 md:flex"
3909
3910
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csszyx/mcp-server",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
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",
@@ -28,18 +28,18 @@
28
28
  "node": "^22.18.0 || >=24.11.0"
29
29
  },
30
30
  "dependencies": {
31
- "@modelcontextprotocol/sdk": "^1.29.0",
32
- "zod": "^4.4.3",
33
- "@csszyx/cli": "0.15.0",
34
- "@csszyx/compiler": "0.15.0",
35
- "@csszyx/unplugin": "0.15.0"
31
+ "@csszyx/cli": "0.15.2",
32
+ "@csszyx/compiler": "0.15.2",
33
+ "@csszyx/unplugin": "0.15.2",
34
+ "@modelcontextprotocol/sdk": "^1.30.0",
35
+ "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^22.20.1",
39
- "tsx": "^4.23.11",
39
+ "tsx": "^4.23.12",
40
40
  "typescript": "^6.0.3",
41
41
  "unbuild": "^3.6.1",
42
- "vitest": "^4.1.10"
42
+ "vitest": "^4.1.11"
43
43
  },
44
44
  "keywords": [
45
45
  "csszyx",