@webspire/mcp 0.8.0 → 0.8.1

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/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type SnippetCategory = 'glass' | 'animations' | 'easing' | 'scroll' | 'decorative' | 'interactions' | 'text';
1
+ export type SnippetCategory = 'glass' | 'animations' | 'easing' | 'scroll' | 'decorative' | 'interactions' | 'text' | 'lighting' | 'depth' | 'masks' | 'atmosphere' | 'surfaces';
2
2
  export interface SnippetAccessibility {
3
3
  prefersReducedMotion: boolean;
4
4
  prefersColorScheme: boolean;
@@ -39,10 +39,22 @@ export interface PatternEntry {
39
39
  summary: string;
40
40
  description?: string;
41
41
  family: string;
42
- kind: 'section' | 'component' | 'pattern' | 'layout';
42
+ kind: 'section' | 'component' | 'pattern' | 'layout' | 'page';
43
43
  tier: 'base' | 'enhanced';
44
44
  extends: string | null;
45
45
  tags: string[];
46
+ semantics?: {
47
+ domains: string[];
48
+ tones: string[];
49
+ uxGoals: string[];
50
+ avoidForTones: string[];
51
+ avoidForScenarios: string[];
52
+ neighbors: {
53
+ before: string[];
54
+ after: string[];
55
+ neverWith: string[];
56
+ };
57
+ };
46
58
  search: {
47
59
  intent: string[];
48
60
  keywords: string[];
@@ -66,7 +78,7 @@ export interface PatternEntry {
66
78
  animated: boolean;
67
79
  interactive: boolean;
68
80
  dependencies: string[];
69
- animationPreset: 'none' | 'fade-up' | 'fade-in' | 'scale-in' | 'slide-up' | 'stagger-children' | null;
81
+ animationPreset: 'none' | 'fade-up' | 'fade-in' | 'scale-in' | 'slide-up' | 'stagger-children' | 'hover-emphasis' | 'enter' | 'stagger' | null;
70
82
  };
71
83
  slots: Array<{
72
84
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspire/mcp",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "MCP server for Webspire — AI-native discovery of CSS snippets, UI patterns, and page templates",
5
5
  "type": "module",
6
6
  "exports": {
@@ -15,7 +15,7 @@
15
15
  "webspire-mcp": "./dist/index.js"
16
16
  },
17
17
  "scripts": {
18
- "build": "tsc && node scripts/bundle-registry.mjs",
18
+ "build": "tsc && node scripts/postbuild.mjs && node scripts/bundle-registry.mjs",
19
19
  "dev": "tsx src/index.ts",
20
20
  "clean": "rm -rf dist"
21
21
  },
@@ -51,6 +51,9 @@
51
51
  "directory": "packages/mcp"
52
52
  },
53
53
  "homepage": "https://webspire.de",
54
+ "engines": {
55
+ "node": ">=22.12.0"
56
+ },
54
57
  "license": "MIT",
55
58
  "publishConfig": {
56
59
  "access": "public"