@classic-homes/theme-mcp 0.5.3 → 0.5.5

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.
@@ -6,7 +6,7 @@ import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
6
6
 
7
7
  // src/data/component-catalog.json
8
8
  var component_catalog_default = {
9
- version: "0.5.3",
9
+ version: "0.5.5",
10
10
  components: [
11
11
  {
12
12
  name: "ActionHeader",
@@ -9255,7 +9255,7 @@ var component_catalog_default = {
9255
9255
  type: "string[]",
9256
9256
  default: "['image/*', 'application/pdf']",
9257
9257
  required: false,
9258
- description: "Accepted MIME types; `type/*` matches a whole category"
9258
+ description: "`accept` entries: MIME types, `type/*` wildcards or `.ext` extensions"
9259
9259
  },
9260
9260
  {
9261
9261
  name: "maxSizeBytes",
@@ -22523,7 +22523,7 @@ function registerComponentResources(server) {
22523
22523
 
22524
22524
  // src/data/token-definitions.json
22525
22525
  var token_definitions_default = {
22526
- version: "0.5.3",
22526
+ version: "0.5.5",
22527
22527
  colors: {
22528
22528
  brand: [
22529
22529
  {
@@ -23506,7 +23506,7 @@ function registerTokenResources(server) {
23506
23506
 
23507
23507
  // src/data/styles-catalog.json
23508
23508
  var styles_catalog_default = {
23509
- version: "0.5.3",
23509
+ version: "0.5.5",
23510
23510
  package: "@classic-homes/theme-styles",
23511
23511
  description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
23512
23512
  integration: {
@@ -23889,7 +23889,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
23889
23889
 
23890
23890
  // src/data/pattern-library.json
23891
23891
  var pattern_library_default = {
23892
- version: "0.5.3",
23892
+ version: "0.5.5",
23893
23893
  layouts: [
23894
23894
  {
23895
23895
  id: "dashboard-page",
@@ -24983,7 +24983,7 @@ function registerLayoutResources(server) {
24983
24983
 
24984
24984
  // src/data/schema-catalog.json
24985
24985
  var schema_catalog_default = {
24986
- version: "0.5.3",
24986
+ version: "0.5.5",
24987
24987
  packageName: "@classic-homes/theme-svelte",
24988
24988
  importPath: "@classic-homes/theme-svelte",
24989
24989
  generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
@@ -25791,7 +25791,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
25791
25791
 
25792
25792
  // src/data/auth-catalog.json
25793
25793
  var auth_catalog_default = {
25794
- version: "0.5.3",
25794
+ version: "0.5.5",
25795
25795
  packageName: "@classic-homes/auth",
25796
25796
  description: "Authentication services and Svelte bindings for Classic Theme apps",
25797
25797
  subpackages: {
@@ -26093,6 +26093,11 @@ var auth_catalog_default = {
26093
26093
  signature: "(data: MFAChallengeData) => Promise<LoginResponse>",
26094
26094
  description: "Verify MFA challenge during login"
26095
26095
  },
26096
+ {
26097
+ name: "authApi.sendMFAChallengeEmail",
26098
+ signature: "(mfaToken: string) => Promise<MFAChallengeEmailResponse>",
26099
+ description: "Email a sign-in code for an MFA challenge (email-MFA accounts); throws MFAChallengeEmailError (retryAfterSeconds on a cooldown)"
26100
+ },
26096
26101
  {
26097
26102
  name: "authApi.getDevices",
26098
26103
  signature: "(customFetch?: typeof fetch) => Promise<{ devices: Device[] }>",
@@ -26989,13 +26994,13 @@ formatUserRoles(user, { lowercase: true }); // "admin, manager"`
26989
26994
  name: "code",
26990
26995
  type: "string",
26991
26996
  required: true,
26992
- description: "MFA code from authenticator"
26997
+ description: "MFA code (authenticator, emailed or backup)"
26993
26998
  },
26994
26999
  {
26995
27000
  name: "method",
26996
27001
  type: "'totp' | 'email' | 'backup'",
26997
27002
  required: false,
26998
- description: "MFA method"
27003
+ description: "MFA method; 'email' codes come from sendMFAChallengeEmail (default totp)"
26999
27004
  },
27000
27005
  {
27001
27006
  name: "trustDevice",
@@ -28828,7 +28833,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
28828
28833
 
28829
28834
  // src/data/notifications-catalog.json
28830
28835
  var notifications_catalog_default = {
28831
- version: "0.5.3",
28836
+ version: "0.5.5",
28832
28837
  packageName: "@classic-homes/notifications",
28833
28838
  description: "Notification services and Svelte bindings for Classic Theme apps",
28834
28839
  subpackages: {
@@ -29740,7 +29745,7 @@ function registerNotificationsResources(server) {
29740
29745
 
29741
29746
  // src/data/docs-catalog.json
29742
29747
  var docs_catalog_default = {
29743
- version: "0.5.3",
29748
+ version: "0.5.5",
29744
29749
  packageName: "@classic-homes/theme-docs",
29745
29750
  description: "Markdown documentation components for the Classic theme system",
29746
29751
  exports: {
@@ -31231,7 +31236,7 @@ var docs_catalog_default = {
31231
31236
  peerDependencies: {
31232
31237
  "@classic-homes/theme-svelte": ">=1.16.0",
31233
31238
  mermaid: "^11.0.0",
31234
- svelte: "^5.0.0",
31239
+ svelte: "^5.31.0",
31235
31240
  vite: ">=5.0.0"
31236
31241
  },
31237
31242
  dependencies: {
@@ -31412,7 +31417,7 @@ function registerDocsResources(server) {
31412
31417
 
31413
31418
  // src/data/charts-catalog.json
31414
31419
  var charts_catalog_default = {
31415
- version: "0.5.3",
31420
+ version: "0.5.5",
31416
31421
  packageName: "@classic-homes/charts-core",
31417
31422
  description: "Core utilities, types, and themes for Classic Theme chart components",
31418
31423
  subpackages: {
@@ -35550,7 +35555,7 @@ interface SankeyData {
35550
35555
 
35551
35556
  // src/data/gantt-catalog.json
35552
35557
  var gantt_catalog_default = {
35553
- version: "0.5.3",
35558
+ version: "0.5.5",
35554
35559
  packageName: "@classic-homes/gantt-core",
35555
35560
  description: "Framework-agnostic Gantt engine: working calendars, a critical-path scheduler, an editable project model with undo/redo, timeline geometry, drag math, accessible descriptions and import/export. No DOM, no framework, no runtime dependencies. @classic-homes/gantt-svelte renders it; a React package (@classic-homes/gantt-react) is planned.",
35556
35561
  packages: {
@@ -36533,7 +36538,7 @@ function registerGanttResources(server) {
36533
36538
 
36534
36539
  // src/data/maps-catalog.json
36535
36540
  var maps_catalog_default = {
36536
- version: "0.5.3",
36541
+ version: "0.5.5",
36537
36542
  packageName: "@classic-homes/maps-core",
36538
36543
  description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
36539
36544
  subpackages: {
@@ -42159,7 +42164,7 @@ ${catalog6.quickReference.tailwindConfig}
42159
42164
 
42160
42165
  // src/data/native-catalog.json
42161
42166
  var native_catalog_default = {
42162
- version: "0.5.3",
42167
+ version: "0.5.5",
42163
42168
  packageName: "@classic-homes/native",
42164
42169
  description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
42165
42170
  subpackages: {
@@ -42173,6 +42178,12 @@ var native_catalog_default = {
42173
42178
  description: "Initialize the native module with optional configuration. Call at app startup.",
42174
42179
  example: "const platform = initNative({ debug: true });"
42175
42180
  },
42181
+ {
42182
+ name: "registerNativePlugins",
42183
+ signature: "registerNativePlugins(plugins: Partial<Record<NativePluginName, () => Promise<unknown>>>): void",
42184
+ description: "Register the optional Capacitor plugins the app installed, keyed by package name. The package never imports a plugin itself, so web-only apps bundle without any; unregistered plugins use the web fallback. Call at startup. `import '@classic-homes/native/plugins'` registers all nine (needs every plugin installed).",
42185
+ example: "registerNativePlugins({ '@capacitor/camera': () => import('@capacitor/camera') });"
42186
+ },
42176
42187
  {
42177
42188
  name: "getPlatformInfo",
42178
42189
  signature: "getPlatformInfo(): PlatformInfo",
@@ -43639,8 +43650,8 @@ var native_catalog_default = {
43639
43650
  },
43640
43651
  quickReference: {
43641
43652
  installation: "npm install @classic-homes/native @capacitor/core",
43642
- basicUsage: "import { initNative, getPlatformInfo } from '@classic-homes/native';\nimport { useGeolocation, useCamera } from '@classic-homes/native/react';\n// or\nimport { useGeolocation, useCamera } from '@classic-homes/native/svelte';\n\n// Initialize at app startup\nconst platform = initNative({ debug: true });",
43643
- peerDependency: "@capacitor/core@^6.0.0",
43653
+ basicUsage: "import { initNative, registerNativePlugins } from '@classic-homes/native';\nimport { useGeolocation, useCamera } from '@classic-homes/native/react';\n// or\nimport { useGeolocation, useCamera } from '@classic-homes/native/svelte';\n\n// Register the Capacitor plugins you installed (or: import '@classic-homes/native/plugins')\nregisterNativePlugins({\n '@capacitor/camera': () => import('@capacitor/camera'),\n '@capacitor/geolocation': () => import('@capacitor/geolocation'),\n});\n\n// Initialize at app startup\nconst platform = initNative({ debug: true });",
43654
+ peerDependency: "@capacitor/core@^8.0.0",
43644
43655
  optionalPlugins: [
43645
43656
  "@capacitor/camera",
43646
43657
  "@capacitor/geolocation",
@@ -43863,7 +43874,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
43863
43874
 
43864
43875
  // src/data/viewer-catalog.json
43865
43876
  var viewer_catalog_default = {
43866
- version: "0.5.3",
43877
+ version: "0.5.5",
43867
43878
  packageName: "@classic-homes/viewer-svelte",
43868
43879
  description: "Client-side, view-only document viewers: PDF, Word (.docx), Excel (.xlsx), CSV/TSV and CAD (DXF; DWG through the separate GPL package). Files are parsed and rendered in the browser; nothing is uploaded or converted on a server. Each format is a lazy-loaded subpath with an optional peer dependency, so apps only bundle what they register. Svelte 5 only; a React package (viewer-react) is planned.",
43869
43880
  packages: {
@@ -44922,7 +44933,7 @@ function registerPrompts(server) {
44922
44933
  // package.json
44923
44934
  var package_default = {
44924
44935
  name: "@classic-homes/theme-mcp",
44925
- version: "0.5.3",
44936
+ version: "0.5.5",
44926
44937
  description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
44927
44938
  type: "module",
44928
44939
  main: "dist/index.js",
@@ -45021,4 +45032,4 @@ function createServer() {
45021
45032
  export {
45022
45033
  createServer
45023
45034
  };
45024
- //# sourceMappingURL=chunk-BZGOGPUW.js.map
45035
+ //# sourceMappingURL=chunk-GTYUYC3G.js.map