@csszyx/mcp-server 0.10.11 → 0.10.12

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 +16 -1
  2. package/package.json +4 -4
package/llms-full.txt CHANGED
@@ -3577,7 +3577,22 @@ are compiler-injected, do not hand-author them):
3577
3577
  Reach for it to build a className from `szv` factory output (e.g. a code-split
3578
3578
  layout that declares variants in a `.ts` module and resolves them in a `.tsx`).
3579
3579
  - **`szcn(...)`** — merge className STRINGS with last-wins override on a
3580
- same-utility conflict, mangle-aware (the Box-level merge).
3580
+ same-utility conflict, mangle-aware (the Box-level merge). Contract:
3581
+ - Variants isolate: `szcn('md:gap-2','gap-8')` keeps both; same variant+utility → last wins.
3582
+ - Directional shorthand coverage (padding/margin/inset/rounded): a LATER
3583
+ shorthand removes the longhands it subsumes (`szcn('pb-4','p-8')` → `p-8`);
3584
+ a later longhand only refines (`szcn('p-4','pb-8')` → `p-4 pb-8`). Physical
3585
+ only for inset/rounded — logical `start`/`end` stay keep-both (RTL-safe).
3586
+ - Ambiguous prefixes (`text` `font` `bg` `border` `divide` `ring` `outline`
3587
+ `flex`) classify the token VALUE into a property group: same property →
3588
+ last wins (`szcn('text-base','text-sm')` → `text-sm`), different → co-exist
3589
+ (`text-red-500` never removes `text-sm`), unclassifiable → keep-both.
3590
+ - Custom `@theme` tokens join their groups automatically via `build.scanCss`;
3591
+ plain-CSS utility names register once via
3592
+ `registerSzcnGroups({ colors: [...], textSizes: [...] })` (guard-railed:
3593
+ names shadowing built-in keywords, or defined in two conflicting
3594
+ categories, are rejected to keep-both — never a wrong merge).
3595
+ - Fail-safe: a token szcn cannot confidently group is NEVER dropped.
3581
3596
  - `szr` takes sz OBJECTS and concatenates; `szcn` takes STRINGS and overrides.
3582
3597
 
3583
3598
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csszyx/mcp-server",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
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": "^3.23.8",
33
- "@csszyx/cli": "0.10.11",
34
- "@csszyx/compiler": "0.10.11",
35
- "@csszyx/unplugin": "0.10.11"
33
+ "@csszyx/compiler": "0.10.12",
34
+ "@csszyx/cli": "0.10.12",
35
+ "@csszyx/unplugin": "0.10.12"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "^6.0.3",