@csszyx/mcp-server 0.10.7 → 0.10.8

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/dist/index.mjs +8 -4
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -114,10 +114,14 @@ Key csszyx syntax:
114
114
 
115
115
  function resolveLlmsFullPath() {
116
116
  let dir = path.dirname(fileURLToPath(import.meta.url));
117
- for (let i = 0; i < 6; i++) {
118
- const candidate = path.join(dir, "llms-full.txt");
119
- if (fs.existsSync(candidate)) {
120
- return candidate;
117
+ for (let i = 0; i < 8; i++) {
118
+ for (const candidate of [
119
+ path.join(dir, "llms-full.txt"),
120
+ path.join(dir, "apps", "docs", "public", "llms-full.txt")
121
+ ]) {
122
+ if (fs.existsSync(candidate)) {
123
+ return candidate;
124
+ }
121
125
  }
122
126
  const parent = path.dirname(dir);
123
127
  if (parent === dir) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csszyx/mcp-server",
3
- "version": "0.10.7",
3
+ "version": "0.10.8",
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/compiler": "0.10.7",
34
- "@csszyx/unplugin": "0.10.7",
35
- "@csszyx/cli": "0.10.7"
33
+ "@csszyx/compiler": "0.10.8",
34
+ "@csszyx/cli": "0.10.8",
35
+ "@csszyx/unplugin": "0.10.8"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "^6.0.3",