@classic-homes/theme-mcp 0.5.12 → 0.6.0

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/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createServer
4
- } from "./chunk-N3I7O3V6.js";
4
+ } from "./chunk-MUYBUITV.js";
5
5
 
6
6
  // src/cli.ts
7
7
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/dist/index.d.ts CHANGED
@@ -49,9 +49,13 @@ interface CodeExample {
49
49
  }
50
50
  /** Component category */
51
51
  type ComponentCategory = 'core' | 'form' | 'layout' | 'feedback' | 'data' | 'overlay' | 'navigation' | 'branding' | 'chart' | 'viewer' | 'media';
52
+ /** Which component library a catalog entry documents. */
53
+ type Framework = 'svelte' | 'react';
52
54
  /** Component definition in the catalog */
53
55
  interface ComponentDefinition {
54
56
  name: string;
57
+ /** `svelte` (component-catalog.json) or `react` (react-catalog.json). */
58
+ framework: Framework;
55
59
  description: string;
56
60
  category: ComponentCategory;
57
61
  importPath: string;
@@ -66,6 +70,10 @@ interface ComponentDefinition {
66
70
  ariaAttributes?: string[];
67
71
  };
68
72
  documentation?: string;
73
+ /** React only: DOM/React attribute interfaces the component also accepts (not listed in `props`). */
74
+ inherits?: string[];
75
+ /** React only: repo-relative source file. */
76
+ source?: string;
69
77
  }
70
78
  /** Component catalog */
71
79
  interface ComponentCatalog {
@@ -662,6 +670,10 @@ interface NativeFeatureInfo {
662
670
  android: string;
663
671
  webFallback: string;
664
672
  capacitorPlugin: string;
673
+ /** What runs in a Tauri desktop app (macOS, Windows, Linux) */
674
+ desktop?: string;
675
+ /** Tauri module(s) the desktop adapter uses */
676
+ tauriPlugin?: string;
665
677
  }
666
678
  /** Native subpackage definition */
667
679
  interface NativeSubpackage {
@@ -706,4 +718,4 @@ interface NativeCatalog {
706
718
  quickReference: NativeQuickReference;
707
719
  }
708
720
 
709
- export { type AuthCatalog, type AuthFunction, type AuthModule, type AuthPattern, type AuthSubpackage, type AuthType, type AuthTypeProperty, type ChartThemeDetails, type ChartsCatalog, type ChartsFunction, type ChartsModule, type ChartsQuickReference, type ChartsSubpackage, type ChartsType, type ChartsTypeCategory, type ChartsTypeProperty, type CodeExample, type ColorToken, type ComponentCatalog, type ComponentCategory, type ComponentDefinition, type EventDefinition, type FormPattern, type KeyframeDefinition, type LayoutColorToken, type LayoutPattern, type MapsBestPracticeCategory, type MapsBestPractices, type MapsCatalog, type MapsComponentInfo, type MapsContext, type MapsFunction, type MapsHook, type MapsModule, type MapsOverlayLayersCategory, type MapsPositioningCategory, type MapsQuickReference, type MapsSubpackage, type MapsThemeTypes, type MapsType, type MapsTypeCategory, type MapsTypeProperty, type NativeCatalog, type NativeFeatureInfo, type NativeFunction, type NativeHook, type NativeQuickReference, type NativeSubpackage, type NativeType, type NativeTypeCategory, type NativeTypeProperty, type NotificationPattern, type NotificationsCatalog, type NotificationsFunction, type NotificationsModule, type NotificationsStoreMethod, type NotificationsStoreState, type NotificationsSubpackage, type NotificationsType, type NotificationsTypeProperty, type PanelPattern, type PatternLibrary, type PropDefinition, type SchemaCatalog, type SchemaInfo, type SemanticColorToken, type SlotDefinition, type SpacingToken, type StatusColors, type TailwindPresetConfig, type ThemeColorMapping, type ThemeSemanticMappings, type TokenDefinitions, type TypographyToken, type VariantDefinition, createServer };
721
+ export { type AuthCatalog, type AuthFunction, type AuthModule, type AuthPattern, type AuthSubpackage, type AuthType, type AuthTypeProperty, type ChartThemeDetails, type ChartsCatalog, type ChartsFunction, type ChartsModule, type ChartsQuickReference, type ChartsSubpackage, type ChartsType, type ChartsTypeCategory, type ChartsTypeProperty, type CodeExample, type ColorToken, type ComponentCatalog, type ComponentCategory, type ComponentDefinition, type EventDefinition, type FormPattern, type Framework, type KeyframeDefinition, type LayoutColorToken, type LayoutPattern, type MapsBestPracticeCategory, type MapsBestPractices, type MapsCatalog, type MapsComponentInfo, type MapsContext, type MapsFunction, type MapsHook, type MapsModule, type MapsOverlayLayersCategory, type MapsPositioningCategory, type MapsQuickReference, type MapsSubpackage, type MapsThemeTypes, type MapsType, type MapsTypeCategory, type MapsTypeProperty, type NativeCatalog, type NativeFeatureInfo, type NativeFunction, type NativeHook, type NativeQuickReference, type NativeSubpackage, type NativeType, type NativeTypeCategory, type NativeTypeProperty, type NotificationPattern, type NotificationsCatalog, type NotificationsFunction, type NotificationsModule, type NotificationsStoreMethod, type NotificationsStoreState, type NotificationsSubpackage, type NotificationsType, type NotificationsTypeProperty, type PanelPattern, type PatternLibrary, type PropDefinition, type SchemaCatalog, type SchemaInfo, type SemanticColorToken, type SlotDefinition, type SpacingToken, type StatusColors, type TailwindPresetConfig, type ThemeColorMapping, type ThemeSemanticMappings, type TokenDefinitions, type TypographyToken, type VariantDefinition, createServer };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-N3I7O3V6.js";
3
+ } from "./chunk-MUYBUITV.js";
4
4
  export {
5
5
  createServer
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-mcp",
3
- "version": "0.5.12",
3
+ "version": "0.6.0",
4
4
  "description": "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",