@classic-homes/theme-mcp 0.5.9 → 0.5.10

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.9",
9
+ version: "0.5.10",
10
10
  components: [
11
11
  {
12
12
  name: "AccessInspector",
@@ -16852,6 +16852,79 @@ var component_catalog_default = {
16852
16852
  "FormField"
16853
16853
  ]
16854
16854
  },
16855
+ {
16856
+ name: "PageAgentLayer",
16857
+ description: "Lets the in-app AI agent point at things on the page with an outline, a spotlight or a ghost cursor, scroll them into view, switch a tab or go to another page, through one schema-validated executor",
16858
+ category: "overlay",
16859
+ importPath: "@classic-homes/page-agent-svelte",
16860
+ props: [
16861
+ {
16862
+ name: "navigate",
16863
+ type: "NavigateHandler",
16864
+ required: false,
16865
+ description: "Router hook for the `navigate` tool, e.g. `(path) => goto(path)`. Without it, `navigate` is refused"
16866
+ },
16867
+ {
16868
+ name: "aliasAttributes",
16869
+ type: "string[]",
16870
+ required: false,
16871
+ description: "Extra id attributes scanned as targets, e.g. `['data-tour']`. Each must match `data-[a-z0-9-]+`"
16872
+ },
16873
+ {
16874
+ name: "ignoreSelector",
16875
+ type: "string",
16876
+ required: false,
16877
+ description: "CSS selector (yours, never the model's) for regions the agent must never see, beside `[data-agent-ignore]`"
16878
+ },
16879
+ {
16880
+ name: "chipLabel",
16881
+ type: "string",
16882
+ default: "'Agent is pointing'",
16883
+ required: false,
16884
+ description: "Text of the chip shown while effects are on screen"
16885
+ },
16886
+ {
16887
+ name: "dismissLabel",
16888
+ type: "string",
16889
+ default: "'Dismiss'",
16890
+ required: false,
16891
+ description: "Text of the chip's button"
16892
+ },
16893
+ {
16894
+ name: "regionLabel",
16895
+ type: "string",
16896
+ default: "'Agent'",
16897
+ required: false,
16898
+ description: "Accessible name of the chip's landmark"
16899
+ },
16900
+ {
16901
+ name: "origin",
16902
+ type: "CursorOrigin",
16903
+ default: "bottom-right corner",
16904
+ required: false,
16905
+ description: "Where the ghost cursor first glides in from: `{ top, left }` in viewport px, or a function returning one"
16906
+ }
16907
+ ],
16908
+ variants: [],
16909
+ slots: [
16910
+ {
16911
+ name: "children",
16912
+ description: "Main content",
16913
+ required: false
16914
+ }
16915
+ ],
16916
+ events: [],
16917
+ examples: [
16918
+ {
16919
+ title: "use:agentTarget",
16920
+ code: "<script>\n import { agentTarget } from '@classic-homes/page-agent-svelte';\n</script>\n\n<section use:agentTarget={{ id: 'closing-date', label: 'Closing date', kind: 'field' }}>\u2026</section>"
16921
+ }
16922
+ ],
16923
+ relatedComponents: [
16924
+ "AccessInspector",
16925
+ "Tabs"
16926
+ ]
16927
+ },
16855
16928
  {
16856
16929
  name: "PageHeader",
16857
16930
  description: "Hero and page title component with multiple variants",
@@ -23921,7 +23994,7 @@ function registerComponentResources(server) {
23921
23994
 
23922
23995
  // src/data/token-definitions.json
23923
23996
  var token_definitions_default = {
23924
- version: "0.5.9",
23997
+ version: "0.5.10",
23925
23998
  colors: {
23926
23999
  brand: [
23927
24000
  {
@@ -24904,7 +24977,7 @@ function registerTokenResources(server) {
24904
24977
 
24905
24978
  // src/data/styles-catalog.json
24906
24979
  var styles_catalog_default = {
24907
- version: "0.5.9",
24980
+ version: "0.5.10",
24908
24981
  package: "@classic-homes/theme-styles",
24909
24982
  description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
24910
24983
  integration: {
@@ -25287,7 +25360,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
25287
25360
 
25288
25361
  // src/data/pattern-library.json
25289
25362
  var pattern_library_default = {
25290
- version: "0.5.9",
25363
+ version: "0.5.10",
25291
25364
  layouts: [
25292
25365
  {
25293
25366
  id: "dashboard-page",
@@ -26381,7 +26454,7 @@ function registerLayoutResources(server) {
26381
26454
 
26382
26455
  // src/data/schema-catalog.json
26383
26456
  var schema_catalog_default = {
26384
- version: "0.5.9",
26457
+ version: "0.5.10",
26385
26458
  packageName: "@classic-homes/theme-svelte",
26386
26459
  importPath: "@classic-homes/theme-svelte",
26387
26460
  generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
@@ -27189,7 +27262,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
27189
27262
 
27190
27263
  // src/data/auth-catalog.json
27191
27264
  var auth_catalog_default = {
27192
- version: "0.5.9",
27265
+ version: "0.5.10",
27193
27266
  packageName: "@classic-homes/auth",
27194
27267
  description: "Authentication services and Svelte bindings for Classic Theme apps",
27195
27268
  subpackages: {
@@ -27548,14 +27621,14 @@ var auth_catalog_default = {
27548
27621
  },
27549
27622
  {
27550
27623
  name: "authApi.linkSSOAccount",
27551
- signature: "(provider?: string) => Promise<void>",
27552
- description: "Start linking an SSO account (redirects to the IdP). CHAPI links nothing until the /account page it returns to calls completeSSOLink(code)"
27624
+ signature: "(provider?: string, options?: { callback?: string | null }) => Promise<void>",
27625
+ description: "Start linking an SSO account (redirects to the IdP). CHAPI returns the user to options.callback (default: the current page, origin + path; origin must be on CHAPI's SSO allowlist; null sends none, so CHAPI web's /account) with ?link=pending#sso_link_code, and links nothing until that page calls completeSSOLink(code). Also authService.linkAccount(provider, options). The returned IdP authorization URL is never checked against allowedRedirectOrigins: it must be https, or on sso.idpOrigins (plus logoutOrigins, authorizeUrl and API origins) when that is set. A callback with its own query (?tab=\u2026) is fine"
27553
27626
  },
27554
27627
  {
27555
27628
  name: "authApi.completeSSOLink",
27556
27629
  signature: "(code: string) => Promise<SSOLinkCompleteResponse>",
27557
27630
  description: "Finish an SSO account link with the one-time sso_link_code (POST /auth/sso/link/complete). Throws ApiError: 400 unknown/used code or SSO account linked to another user, 403 different user or IdP email unverified / not the account email. Also on authService.completeSSOLink",
27558
- example: "import { authService, readSsoLinkResult } from '@classic-homes/auth/core';\n\nconst link = readSsoLinkResult(); // on /account; strips the code from the URL\nif (link?.status === 'pending') await authService.completeSSOLink(link.code);\nelse if (link?.status === 'error') showError(link.message ?? 'Linking failed');"
27631
+ example: "import { authService, readSsoLinkResult } from '@classic-homes/auth/core';\n\nconst link = readSsoLinkResult(); // on the link callback page (any path); strips the code from the URL\nif (link?.status === 'pending') await authService.completeSSOLink(link.code);\nelse if (link?.status === 'error') showError(link.message ?? 'Linking failed');"
27559
27632
  },
27560
27633
  {
27561
27634
  name: "authApi.getSecurityEvents",
@@ -27699,7 +27772,7 @@ var auth_catalog_default = {
27699
27772
  {
27700
27773
  name: "readSsoLinkResult",
27701
27774
  signature: "(options?: { url?: string | URL; clear?: boolean }) => SSOLinkResult | null",
27702
- description: "On /account after linkSSOAccount: read ?link=error&message or #sso_link_code and, by default, strip them from the address bar; null when the URL is not a link return"
27775
+ description: "On the link callback page (any path) after linkSSOAccount: read ?link=error&message or #sso_link_code and, by default, strip them from the address bar; null when the URL is not a link return"
27703
27776
  }
27704
27777
  ]
27705
27778
  },
@@ -30496,7 +30569,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
30496
30569
 
30497
30570
  // src/data/notifications-catalog.json
30498
30571
  var notifications_catalog_default = {
30499
- version: "0.5.9",
30572
+ version: "0.5.10",
30500
30573
  packageName: "@classic-homes/notifications",
30501
30574
  description: "Notification services and Svelte bindings for Classic Theme apps",
30502
30575
  subpackages: {
@@ -31408,7 +31481,7 @@ function registerNotificationsResources(server) {
31408
31481
 
31409
31482
  // src/data/docs-catalog.json
31410
31483
  var docs_catalog_default = {
31411
- version: "0.5.9",
31484
+ version: "0.5.10",
31412
31485
  packageName: "@classic-homes/theme-docs",
31413
31486
  description: "Markdown documentation components for the Classic theme system",
31414
31487
  exports: {
@@ -33086,7 +33159,7 @@ function registerDocsResources(server) {
33086
33159
 
33087
33160
  // src/data/charts-catalog.json
33088
33161
  var charts_catalog_default = {
33089
- version: "0.5.9",
33162
+ version: "0.5.10",
33090
33163
  packageName: "@classic-homes/charts-core",
33091
33164
  description: "Core utilities, types, and themes for Classic Theme chart components",
33092
33165
  subpackages: {
@@ -37324,7 +37397,7 @@ interface SankeyData {
37324
37397
 
37325
37398
  // src/data/gantt-catalog.json
37326
37399
  var gantt_catalog_default = {
37327
- version: "0.5.9",
37400
+ version: "0.5.10",
37328
37401
  packageName: "@classic-homes/gantt-core",
37329
37402
  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.",
37330
37403
  packages: {
@@ -38307,7 +38380,7 @@ function registerGanttResources(server) {
38307
38380
 
38308
38381
  // src/data/maps-catalog.json
38309
38382
  var maps_catalog_default = {
38310
- version: "0.5.9",
38383
+ version: "0.5.10",
38311
38384
  packageName: "@classic-homes/maps-core",
38312
38385
  description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
38313
38386
  subpackages: {
@@ -43939,7 +44012,7 @@ ${catalog6.quickReference.tailwindConfig}
43939
44012
 
43940
44013
  // src/data/native-catalog.json
43941
44014
  var native_catalog_default = {
43942
- version: "0.5.9",
44015
+ version: "0.5.10",
43943
44016
  packageName: "@classic-homes/native",
43944
44017
  description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
43945
44018
  subpackages: {
@@ -45649,7 +45722,7 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
45649
45722
 
45650
45723
  // src/data/viewer-catalog.json
45651
45724
  var viewer_catalog_default = {
45652
- version: "0.5.9",
45725
+ version: "0.5.10",
45653
45726
  packageName: "@classic-homes/viewer-svelte",
45654
45727
  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.",
45655
45728
  packages: {
@@ -46708,7 +46781,7 @@ function registerPrompts(server) {
46708
46781
  // package.json
46709
46782
  var package_default = {
46710
46783
  name: "@classic-homes/theme-mcp",
46711
- version: "0.5.9",
46784
+ version: "0.5.10",
46712
46785
  description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
46713
46786
  type: "module",
46714
46787
  main: "dist/index.js",
@@ -46807,4 +46880,4 @@ function createServer() {
46807
46880
  export {
46808
46881
  createServer
46809
46882
  };
46810
- //# sourceMappingURL=chunk-QMLYHNH4.js.map
46883
+ //# sourceMappingURL=chunk-GAZUK5GM.js.map