An open source design system that's fully customizable and agent ready
TypeScript
feat(docsite): MCP server v2 — hybrid search+get with alias resolution (#2513)
Cindy Zhangb83504f2d53f
diff --git a/apps/docsite/package.json b/apps/docsite/package.jsonindex fb2b7a342d..cc576b4a53 100644--- a/apps/docsite/package.json+++ b/apps/docsite/package.json@@ -13,6 +13,8 @@"test:watch": "vitest"},"dependencies": {+ "@heroicons/react": "^2.2.0",+ "@modelcontextprotocol/sdk": "^1.29.0","@monaco-editor/react": "^4.7.0","@stylexjs/stylex": "^0.18.3","@xds/cli": "*",@@ -24,13 +26,14 @@"@xds/theme-neutral": "*","@xds/theme-stone": "*","@xds/theme-y2k": "*",- "@heroicons/react": "^2.2.0","lucide-react": "^1.17.0","lz-string": "^1.5.0",+ "mcp-handler": "^1.1.0","monaco-editor": "^0.55.1","next": "^15.5.16","react": "^19.2.6",- "react-dom": "^19.2.6"+ "react-dom": "^19.2.6",+ "zod": "^4.4.3"},"devDependencies": {"@babel/preset-react": "^7.29.7",diff --git a/apps/docsite/src/__tests__/mcp-server.test.ts b/apps/docsite/src/__tests__/mcp-server.test.tsnew file mode 100644index 0000000000..e35befec66--- /dev/null+++ b/apps/docsite/src/__tests__/mcp-server.test.ts@@ -0,0 +1,273 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++/**+ * @file MCP server tests.+ *+ * Validates the keyword-based search resolution and branding for the+ * MCP server route handler. Uses the same generated registries as the+ * actual server.+ *+ * Run: pnpm -F @xds/docsite test+ */++import {describe, it, expect} from 'vitest';+import {components} from '../generated/componentRegistry';+import {docTopics} from '../generated/docsRegistry';+import {templates} from '../generated/templateRegistry';++import type {ComponentEntry} from '../generated/componentRegistry';+import type {DocTopic} from '../generated/docsRegistry';+import type {TemplateEntry} from '../generated/templateRegistry';++// ── Replicate MCP server logic for testing ─────────────────────────────+// These mirror the runtime logic in apps/docsite/src/app/[transport]/route.ts+// without importing the Next.js route handler directly.++const allComponents: ComponentEntry[] = Object.values(components).flat();+const visibleComponents = allComponents.filter(c => !c.hidden);++function buildKeywordIndex(): Record<string, string[]> {+ const index: Record<string, string[]> = {};+ for (const comp of visibleComponents) {+ for (const kw of comp.keywords) {+ const lower = kw.toLowerCase();+ if (!index[lower]) {+ index[lower] = [];+ }+ if (!index[lower].includes(comp.name)) {+ index[lower].push(comp.name);+ }+ }+ }+ return index;+}++const keywordIndex = buildKeywordIndex();++function resolveKeywords(query: string): string[] {+ const lower = query.toLowerCase();+ const resolved: string[] = [];+ for (const [keyword, componentNames] of Object.entries(keywordIndex)) {+ if (lower.includes(keyword) || keyword.includes(lower)) {+ resolved.push(...componentNames);+ }+ }+ return [...new Set(resolved)];+}++function score(text: string, query: string): number {+ const lower = text.toLowerCase();+ const queryLower = query.toLowerCase();+ if (lower === queryLower) {return 100;}+ if (lower.startsWith(queryLower)) {return 90;}+ if (lower.includes(queryLower)) {return 85;}+ const words = queryLower.split(/\s+/).filter(w => w.length > 1);+ if (words.length === 0) {return 0;}+ let matched = 0;+ for (const word of words) {+ if (lower.includes(word)) {matched++;}+ }+ const ratio = matched / words.length;+ if (ratio === 1) {return 75;}+ if (ratio >= 0.5) {return 50;}+ if (ratio > 0) {return 30;}+ return 0;+}++function simulateSearch(query: string, limit = 8) {+ const keywordMatches = resolveKeywords(query);+ const scored: Array<{name: string; score: number; type: string}> = [];++ for (const comp of visibleComponents) {+ const nameScore = score(comp.name, query);+ const descScore = score(comp.description, query);+ const kwTextScore = Math.max(...comp.keywords.map(k => score(k, query)), 0);+ const kwBoost = keywordMatches.includes(comp.name) ? 90 : 0;+ let best = Math.max(nameScore, descScore, kwTextScore, kwBoost);++ // Demote sub-components so parent entries surface first+ if (best > 0 && comp.parentDoc && comp.name !== comp.parentDoc) {+ best = Math.min(best, best - 1);+ }++ if (best > 0) {+ scored.push({name: comp.name, score: best, type: 'component'});+ }+ }++ for (const doc of docTopics) {+ const best = Math.max(+ score(doc.topic, query),+ score(doc.title, query),+ score(doc.description, query),+ ...doc.sections.map(s => score(s.title, query) * 0.8),+ 0,+ );+ if (best > 0) {+ scored.push({name: doc.topic, score: best, type: 'doc'});+ }+ }++ for (const t of templates) {+ const best = Math.max(score(t.name, query), score(t.description, query));+ if (best > 0) {+ scored.push({name: t.name, score: best, type: 'template'});+ }+ }++ scored.sort((a, b) => b.score - a.score);+ return scored.slice(0, limit);+}++// ── Tests ──────────────────────────────────────────────────────────────++describe('MCP keyword index', () => {+ it('builds a non-empty keyword index from component docs', () => {+ const keys = Object.keys(keywordIndex);+ expect(keys.length).toBeGreaterThan(50);+ });++ it('Toast is indexed under "snackbar"', () => {+ expect(keywordIndex['snackbar']).toBeDefined();+ expect(keywordIndex['snackbar']).toContain('Toast');+ });++ it('Selector is indexed under "dropdown"', () => {+ expect(keywordIndex['dropdown']).toBeDefined();+ expect(keywordIndex['dropdown']).toContain('Selector');+ });++ it('Dialog is indexed under "modal"', () => {+ expect(keywordIndex['modal']).toBeDefined();+ expect(keywordIndex['modal']).toContain('Dialog');+ });++ it('no duplicate component names within a keyword entry', () => {+ for (const [, names] of Object.entries(keywordIndex)) {+ expect(new Set(names).size).toBe(names.length);+ }+ });++ it('hidden components are excluded from the index', () => {+ const hiddenNames = allComponents.filter(c => c.hidden).map(c => c.name);+ const indexedNames = new Set(Object.values(keywordIndex).flat());+ for (const name of hiddenNames) {+ expect(indexedNames.has(name)).toBe(false);+ }+ });+});++describe('MCP keyword resolution', () => {+ it('resolves "snackbar" to Toast', () => {+ const results = resolveKeywords('snackbar');+ expect(results).toContain('Toast');+ });++ it('resolves "dropdown" to Selector', () => {+ const results = resolveKeywords('dropdown');+ expect(results).toContain('Selector');+ });++ it('resolves "modal" to Dialog', () => {+ const results = resolveKeywords('modal');+ expect(results).toContain('Dialog');+ });++ it('resolves multi-word queries by substring matching', () => {+ const results = resolveKeywords('toast notification');+ expect(results).toContain('Toast');+ });++ it('returns empty for nonsense queries', () => {+ const results = resolveKeywords('xyzzy12345');+ expect(results).toEqual([]);+ });++ it('deduplicates results', () => {+ // A query that matches multiple keywords for the same component+ const results = resolveKeywords('select dropdown');+ const selectorCount = results.filter(r => r === 'Selector').length;+ expect(selectorCount).toBeLessThanOrEqual(1);+ });+});++describe('MCP search simulation', () => {+ it('finds Button by exact name', () => {+ const results = simulateSearch('Button');+ expect(results[0].name).toBe('Button');+ expect(results[0].score).toBe(100);+ });++ it('finds Toast via "snackbar" keyword', () => {+ const results = simulateSearch('snackbar');+ const toast = results.find(r => r.name === 'Toast');+ expect(toast).toBeDefined();+ // "snackbar" is an exact keyword on Toast → score("snackbar","snackbar") = 100+ expect(toast!.score).toBe(100);+ });++ it('finds Dialog via "modal"', () => {+ const results = simulateSearch('modal');+ const dialog = results.find(r => r.name === 'Dialog');+ expect(dialog).toBeDefined();+ // "modal" is an exact keyword on Dialog → score("modal","modal") = 100+ expect(dialog!.score).toBe(100);+ });++ it('ranks parent components above sub-components for keyword matches', () => {+ const results = simulateSearch('modal');+ const dialog = results.find(r => r.name === 'Dialog');+ const dialogHeader = results.find(r => r.name === 'DialogHeader');+ expect(dialog).toBeDefined();+ if (dialogHeader) {+ expect(dialog!.score).toBeGreaterThan(dialogHeader.score);+ }+ });++ it('finds doc topics by name', () => {+ const results = simulateSearch('spacing');+ const spacingDoc = results.find(+ r => r.type === 'doc' && r.name === 'spacing',+ );+ expect(spacingDoc).toBeDefined();+ expect(spacingDoc!.score).toBe(100);+ });++ it('returns results sorted by score descending', () => {+ const results = simulateSearch('button');+ for (let i = 1; i < results.length; i++) {+ expect(results[i].score).toBeLessThanOrEqual(results[i - 1].score);+ }+ });++ it('respects limit parameter', () => {+ const results = simulateSearch('button', 3);+ expect(results.length).toBeLessThanOrEqual(3);+ });++ it('returns empty for nonsense queries', () => {+ const results = simulateSearch('xyzzy12345nonsense');+ expect(results).toEqual([]);+ });+});++describe('MCP branding', () => {+ it('route file uses Astryx (XDS) in tool descriptions', async () => {+ const fs = await import('node:fs');+ const routePath = new URL('../app/[transport]/route.ts', import.meta.url);+ const source = fs.readFileSync(routePath, 'utf-8');+ expect(source).toContain('Search Astryx (XDS) design system');+ expect(source).toContain('Astryx (XDS) component');+ expect(source).toContain("name: 'astryx'");+ // Should NOT have bare "XDS design system" in tool descriptions+ expect(source).not.toMatch(/`Search XDS design system/);+ });++ it('route file does not contain hardcoded ALIASES map', async () => {+ const fs = await import('node:fs');+ const routePath = new URL('../app/[transport]/route.ts', import.meta.url);+ const source = fs.readFileSync(routePath, 'utf-8');+ expect(source).not.toContain('const ALIASES');+ expect(source).toContain('keywordIndex');+ });+});diff --git a/apps/docsite/src/app/[transport]/route.ts b/apps/docsite/src/app/[transport]/route.tsnew file mode 100644index 0000000000..4e32f9f37d--- /dev/null+++ b/apps/docsite/src/app/[transport]/route.ts@@ -0,0 +1,590 @@+// Copyright (c) Meta Platforms, Inc. and affiliates.++/**+ * @file MCP Server route handler — hybrid v2 (search + get).+ *+ * Two tools:+ * - search(): curated brief results with keyword-based resolution and scoring+ * - get(): full component/topic/template details with examples+ *+ * Key features:+ * - Keyword index derived from component .doc.mjs `keywords` fields+ * - Compound component awareness (Table → sorting/selection hooks)+ * - Context budget control (~1.5K tokens per brief result)+ * - Showcase examples included in get() responses+ *+ * Transport: Streamable HTTP (via mcp-handler)+ */++import {createMcpHandler} from 'mcp-handler';+import {z} from 'zod';+import {components} from '../../generated/componentRegistry';+import {docTopics} from '../../generated/docsRegistry';+import {blocks} from '../../generated/blockRegistry';+import {templates} from '../../generated/templateRegistry';++import type {ComponentEntry} from '../../generated/componentRegistry';+import type {DocTopic} from '../../generated/docsRegistry';+import type {BlockEntry} from '../../generated/blockRegistry';+import type {TemplateEntry} from '../../generated/templateRegistry';++const allComponents: ComponentEntry[] = Object.values(components).flat();+const visibleComponents = allComponents.filter(c => !c.hidden);++// ── Keyword Index ──────────────────────────────────────────────────────+// Built from the `keywords` field on each component's .doc.mjs file.+// Inverts keyword[] → component name so natural language queries resolve+// to the right components without a hardcoded alias map.+const keywordIndex: Record<string, string[]> = {};+for (const comp of visibleComponents) {+ for (const kw of comp.keywords) {+ const lower = kw.toLowerCase();+ if (!keywordIndex[lower]) {+ keywordIndex[lower] = [];+ }+ if (!keywordIndex[lower].includes(comp.name)) {+ keywordIndex[lower].push(comp.name);+ }+ }+}++// ── Scoring ────────────────────────────────────────────────────────────++function score(text: string, query: string): number {+ const lower = text.toLowerCase();+ const queryLower = query.toLowerCase();++ if (lower === queryLower) {+ return 100;+ }+ if (lower.startsWith(queryLower)) {+ return 90;+ }+ if (lower.includes(queryLower)) {+ return 85;+ }++ const words = queryLower.split(/\s+/).filter(w => w.length > 1);+ if (words.length === 0) {+ return 0;+ }++ let matched = 0;+ for (const word of words) {+ if (lower.includes(word)) {+ matched++;+ }+ }++ const ratio = matched / words.length;+ if (ratio === 1) {+ return 75;+ }+ if (ratio >= 0.5) {+ return 50;+ }+ if (ratio > 0) {+ return 30;+ }+ return 0;+}++/** Resolve keywords from component docs to boost matching components */+function resolveKeywords(query: string): string[] {+ const lower = query.toLowerCase();+ const resolved: string[] = [];++ // Check each keyword in the index+ for (const [keyword, componentNames] of Object.entries(keywordIndex)) {+ if (lower.includes(keyword) || keyword.includes(lower)) {+ resolved.push(...componentNames);+ }+ }++ return [...new Set(resolved)];+}++// ── Context Budget ─────────────────────────────────────────────────────+const MAX_TOPIC_BRIEF_CHARS = 4000;++const handler = createMcpHandler(+ server => {+ // ══════════════════════════════════════════════════════════════════+ // Tool 1: search+ // ══════════════════════════════════════════════════════════════════+ server.tool(+ 'search',+ `Search Astryx (XDS) design system — finds components, documentation topics, and page templates.\n\n` ++ `Returns brief results (name, description, key info). Use the "get" tool with a ` ++ `specific name for full details including props and code examples.\n\n` ++ `Examples: "dropdown menu", "form inputs", "theming", "dashboard template", ` ++ `"sidebar navigation", "toast notification", "table with sorting", "success message"`,+ {+ query: z.string().describe('Natural language search query.'),+ limit: z.number().optional().describe('Max results (default 8).'),+ },+ async ({query, limit = 8}) => {+ const keywordMatches = resolveKeywords(query);++ const scored: Array<{+ item: ComponentEntry | DocTopic | TemplateEntry;+ score: number;+ type: 'component' | 'doc' | 'template';+ }> = [];++ // Score components+ for (const comp of visibleComponents) {+ // Name and description matching (always checked)+ const nameScore = score(comp.name, query);+ const descScore = score(comp.description, query);+ const kwTextScore = Math.max(+ ...comp.keywords.map(k => score(k, query)),+ 0,+ );++ // Keyword index boost: 90 for exact keyword match (matches CLI parity)+ const kwBoost = keywordMatches.includes(comp.name) ? 90 : 0;++ let best = Math.max(nameScore, descScore, kwTextScore, kwBoost);++ // Demote sub-components so parent entries surface first in ties.+ // E.g. "modal" → Dialog (parent) should rank above DialogHeader (sub).+ if (best > 0 && comp.parentDoc && comp.name !== comp.parentDoc) {+ best = Math.min(best, best - 1);+ }++ if (best > 0) {+ scored.push({item: comp, score: best, type: 'component'});+ }+ }++ // Score docs+ for (const doc of docTopics) {+ const topicScore = score(doc.topic, query);+ const titleScore = score(doc.title, query);+ const descScore = score(doc.description, query);+ const sectionScore = Math.max(+ ...doc.sections.map(s => score(s.title, query) * 0.8),+ 0,+ );+ const best = Math.max(+ topicScore,+ titleScore,+ descScore,+ sectionScore,+ );+ if (best > 0) {+ scored.push({item: doc, score: best, type: 'doc'});+ }+ }++ // Score templates+ for (const t of templates) {+ const nameScore = score(t.name, query);+ const descScore = score(t.description, query);+ const best = Math.max(nameScore, descScore);+ if (best > 0) {+ scored.push({item: t, score: best, type: 'template'});+ }+ }++ scored.sort((a, b) => b.score - a.score);+ const top = scored.slice(0, limit);++ if (top.length === 0) {+ return {+ content: [+ {+ type: 'text' as const,+ text: JSON.stringify({+ results: [],+ hint: 'No results. Try: a component name (Button, Table, Dialog), a topic (theming, spacing, color), or a template (dashboard, settings).',+ }),+ },+ ],+ };+ }++ const results = top.map(entry => {+ if (entry.type === 'component') {+ const comp = entry.item as ComponentEntry;+ return {+ type: 'component',+ name: comp.name,+ moduleName: comp.moduleName,+ group: comp.group,+ description: comp.description,+ import: `import {${comp.moduleName}} from '@xds/core/${comp.name}';`,+ keyProps: comp.props+ .filter(+ p =>+ p.required ||+ p.name === 'variant' ||+ p.name === 'size' ||+ p.name === 'label' ||+ p.name === 'value' ||+ p.name === 'onChange',+ )+ .slice(0, 6)+ .map(p => `${p.name}${p.required ? '*' : ''}: ${p.type}`),+ ...(comp.params && comp.params.length > 0+ ? {+ returns: (comp.returns ?? []).map(+ r => `${r.name}: ${r.type}`,+ ),+ }+ : {}),+ ...((comp.relatedComponents ?? []).length > 0+ ? {+ relatedComponents: (comp.relatedComponents ?? []).slice(+ 0,+ 4,+ ),+ }+ : {}),+ ...((comp.relatedHooks ?? []).length > 0+ ? {relatedHooks: (comp.relatedHooks ?? []).slice(0, 3)}+ : {}),+ hint: `Use get("${comp.name}") for full props, usage, and examples.`,+ };+ } else if (entry.type === 'doc') {+ const doc = entry.item as DocTopic;+ return {+ type: 'doc',+ topic: doc.topic,+ title: doc.title,+ description: doc.description,+ sections: doc.sections.map(s => s.title),+ hint: `Use get("${doc.topic}") for full content, or get("${doc.topic}", { section: "..." }) for a specific section.`,+ };+ } else {+ const t = entry.item as TemplateEntry;+ return {+ type: 'template',+ slug: t.slug,+ name: t.name,+ description: t.description,+ hint: `Use get("${t.slug}") for full template source code.`,+ };+ }+ });++ return {+ content: [{type: 'text' as const, text: JSON.stringify(results)}],+ };+ },+ );++ // ══════════════════════════════════════════════════════════════════+ // Tool 2: get+ // ══════════════════════════════════════════════════════════════════+ server.tool(+ 'get',+ `Get full documentation for a specific Astryx (XDS) component, doc topic, or template by name.\n\n` ++ `Returns complete props, usage guidelines, code examples, and theming info.\n\n` ++ `For doc topics, optionally pass a section name to get just that section ` ++ `(recommended for large topics like "theme" to avoid context overload).\n\n` ++ `Examples:\n` ++ `- get("Button") → full Button docs with all props and examples\n` ++ `- get("useXDSToast") → hook docs with usage pattern\n` ++ `- get("theme", { section: "defineTheme" }) → just the defineTheme API\n` ++ `- get("settings") → template source code\n` ++ `- get("Table") → full Table docs including sorting/selection hooks`,+ {+ name: z+ .string()+ .describe(+ 'Component name (e.g. "Button", "useXDSToast"), doc topic (e.g. "theme", "spacing"), or template slug (e.g. "settings").',+ ),+ section: z+ .string()+ .optional()+ .describe(+ 'For doc topics: return only this section (case-insensitive substring match). Recommended for large topics.',+ ),+ },+ async ({name, section}) => {+ const normalized = name.replace(/^XDS/i, '');+ const lower = normalized.toLowerCase();++ // ── Try component match ──────────────────────────────────────+ const comp = visibleComponents.find(+ c =>+ c.name.toLowerCase() === lower ||+ c.moduleName.toLowerCase() === `xds${lower}` ||+ c.moduleName.toLowerCase() === lower,+ );++ if (comp) {+ // Find showcase example — search by name, then by directory/group for hooks+ const exampleNames = [+ comp.name.toLowerCase(),+ ...(comp.directory ? [comp.directory.toLowerCase()] : []),+ ...(comp.group && comp.group !== comp.name+ ? [comp.group.toLowerCase()]+ : []),+ ];++ const showcase = blocks.find(+ (b: BlockEntry) =>+ exampleNames.includes(b.exampleFor.toLowerCase()) && b.isShowcase,+ );++ // Find related blocks (non-showcase, limit 1 for budget)+ const relatedBlocks = blocks+ .filter(+ (b: BlockEntry) =>+ exampleNames.includes(b.exampleFor.toLowerCase()) &&+ !b.isShowcase,+ )+ .slice(0, 1);++ // For compound components (e.g. Table group), include related hooks/components+ const groupMembers = comp.group+ ? visibleComponents.filter(+ c =>+ c.group === comp.group && c.name !== comp.name && !c.hidden,+ )+ : [];++ const result = {+ name: comp.name,+ moduleName: comp.moduleName,+ import: `import {${comp.moduleName}} from '@xds/core/${comp.name}';`,+ group: comp.group,+ description: comp.description,+ props: comp.props,+ usage: comp.usage,+ theming: comp.theming,+ relatedComponents: comp.relatedComponents,+ relatedHooks: comp.relatedHooks,+ ...(comp.params+ ? {params: comp.params, returns: comp.returns}+ : {}),+ ...(showcase+ ? {+ example: {+ name: showcase.name,+ description: showcase.description,+ source: showcase.source,+ },+ }+ : {}),+ ...(relatedBlocks.length > 0+ ? {+ moreExamples: relatedBlocks.map(b => ({+ name: b.name,+ description: b.description,+ source: b.source,+ })),+ }+ : {}),+ ...(groupMembers.length > 0+ ? {+ groupMembers: groupMembers.slice(0, 6).map(m => ({+ name: m.name,+ moduleName: m.moduleName,+ import: `import {${m.moduleName}} from '@xds/core/${m.name}';`,+ description: m.description.slice(0, 120),+ ...(m.params+ ? {+ returns: (m.returns ?? [])+ .slice(0, 2)+ .map(r => `${r.name}: ${r.type}`),+ }+ : {}),+ })),+ }+ : {}),+ };++ return {+ content: [{type: 'text' as const, text: JSON.stringify(result)}],+ };+ }++ // ── Try doc topic match ──────────────────────────────────────+ const doc = docTopics.find(+ (d: DocTopic) => d.topic.toLowerCase() === lower,+ );++ if (doc) {+ // If section requested, return just that section+ if (section) {+ const match = doc.sections.find(s =>+ s.title.toLowerCase().includes(section.toLowerCase()),+ );+ if (!match) {+ return {+ content: [+ {+ type: 'text' as const,+ text: JSON.stringify({+ error: `Section "${section}" not found in "${doc.topic}".`,+ available: doc.sections.map(s => s.title),+ }),+ },+ ],+ isError: true,+ };+ }+ return {+ content: [{type: 'text' as const, text: JSON.stringify(match)}],+ };+ }++ // Full topic — guard against context bombs+ const fullJson = JSON.stringify(doc);+ if (fullJson.length > MAX_TOPIC_BRIEF_CHARS) {+ const overview = doc.sections[0];+ return {+ content: [+ {+ type: 'text' as const,+ text: JSON.stringify(+ {+ topic: doc.topic,+ title: doc.title,+ description: doc.description,+ overview: overview,+ sections: doc.sections.map(s => s.title),+ hint: `This topic is large (${doc.sections.length} sections). Use get("${doc.topic}", { section: "..." }) for specific sections to avoid context overload.`,+ },+ null,+ 2,+ ),+ },+ ],+ };+ }++ return {+ content: [{type: 'text' as const, text: JSON.stringify(doc)}],+ };+ }++ // ── Try template match ───────────────────────────────────────+ const template = templates.find(+ (t: TemplateEntry) =>+ t.slug?.toLowerCase() === lower || t.name.toLowerCase() === lower,+ );++ if (template) {+ const templateBlocks = blocks+ .filter((b: BlockEntry) => b.exampleFor === template.slug)+ .slice(0, 3);++ return {+ content: [+ {+ type: 'text' as const,+ text: JSON.stringify(+ {+ slug: template.slug,+ name: template.name,+ description: template.description,+ ...(templateBlocks.length > 0+ ? {+ examples: templateBlocks.map(b => ({+ name: b.name,+ source: b.source,+ })),+ }+ : {+ // Fall back to template source if it exists+ ...(template.source+ ? {+ source: (+ template as TemplateEntry & {source?: string}+ ).source,+ }+ : {}),+ }),+ },+ null,+ 2,+ ),+ },+ ],+ };+ }++ // ── Fuzzy fallback with keyword awareness ──────────────────────+ const keywordResolved = resolveKeywords(name);+ const keywordComponents =+ keywordResolved.length > 0+ ? visibleComponents+ .filter(c => keywordResolved.includes(c.name))+ .map(c => ({+ name: c.name,+ moduleName: c.moduleName,+ import: `import {${c.moduleName}} from '@xds/core/${c.name}';`,+ description: c.description,+ }))+ : [];++ if (keywordComponents.length > 0) {+ return {+ content: [+ {+ type: 'text' as const,+ text: JSON.stringify({+ note: `"${name}" is not an exact component name. Did you mean one of these?`,+ suggestions: keywordComponents,+ hint: 'Use get() with the exact component name from the suggestions above.',+ }),+ },+ ],+ };+ }++ const suggestions = visibleComponents+ .filter(+ c =>+ c.name.toLowerCase().includes(lower) ||+ lower.includes(c.name.toLowerCase()),+ )+ .slice(0, 5)+ .map(c => c.name);++ const docSuggestions = docTopics+ .filter((d: DocTopic) => d.topic.toLowerCase().includes(lower))+ .map(d => d.topic);++ return {+ content: [+ {+ type: 'text' as const,+ text: JSON.stringify({+ error: `"${name}" not found.`,+ ...(suggestions.length > 0+ ? {similarComponents: suggestions}+ : {}),+ ...(docSuggestions.length > 0+ ? {similarTopics: docSuggestions}+ : {}),+ hint: 'Use search() to discover available components, topics, and templates.',+ }),+ },+ ],+ isError: true,+ };+ },+ );+ },+ {+ capabilities: {tools: {}},+ serverInfo: {+ name: 'astryx',+ version: '2.0.0',+ },+ },+ {+ basePath: '',+ maxDuration: 60,+ disableSse: true,+ verboseLogs: process.env.NODE_ENV === 'development',+ },+);++export {handler as GET, handler as POST, handler as DELETE};diff --git a/packages/cli/docs/working-with-ai.doc.mjs b/packages/cli/docs/working-with-ai.doc.mjsindex b42dd7763a..9c5eb1dc7d 100644--- a/packages/cli/docs/working-with-ai.doc.mjs+++ b/packages/cli/docs/working-with-ai.doc.mjs@@ -160,5 +160,39 @@ npx xds docs tokens --dense`,},],},+ {+ title: 'MCP Server',+ content: [+ {+ type: 'prose',+ text: 'XDS ships a Model Context Protocol (MCP) server that any MCP-compatible AI tool can connect to. Instead of manually pasting CLI output, the AI can query the XDS design system directly — searching for components, reading full documentation, and pulling code examples on demand.',+ },+ {+ type: 'prose',+ text: 'The MCP server exposes two tools: search(query) for discovering components, doc topics, and templates; and get(name) for retrieving full documentation with props, usage, and examples.',+ },+ {+ type: 'prose',+ text: 'Add the server to your MCP config file. This works with any MCP-compatible tool — Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json), Windsurf (.windsurf/mcp.json), Cline, and others.',+ },+ {+ type: 'code',+ lang: 'json',+ label: 'MCP config (same for all tools)',+ code: `{+ "mcpServers": {+ "xds": {+ "type": "url",+ "url": "https://xds-sandbox.vercel.app/mcp"+ }+ }+}`,+ },+ {+ type: 'prose',+ text: 'Once connected, your AI tool can search for components by natural language (e.g. "dropdown menu", "success message") and retrieve full documentation without any manual CLI invocation. The server uses the same keyword index from component docs, so search quality improves automatically as component documentation is updated.',+ },+ ],+ },],};diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 11da5cd982..eee4d66aed 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -97,6 +97,9 @@ importers:'@heroicons/react':specifier: ^2.2.0version: 2.2.0([email protected])+ '@modelcontextprotocol/sdk':+ specifier: ^1.29.0+ version: 1.29.0([email protected])'@monaco-editor/react':specifier: ^4.7.0@@ -136,6 +139,9 @@ importers:lz-string:specifier: ^1.5.0version: 1.5.0+ mcp-handler:+ specifier: ^1.1.0+ version: 1.1.0(@modelcontextprotocol/[email protected]([email protected]))([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))monaco-editor:specifier: ^0.55.1version: 0.55.1@@ -148,6 +154,9 @@ importers:react-dom:specifier: ^19.2.6version: 19.2.6([email protected])+ zod:+ specifier: ^4.4.3+ version: 4.4.3devDependencies:'@babel/preset-react':specifier: ^7.29.7@@ -2028,6 +2037,12 @@ packages:peerDependencies:react: '>= 16 || ^19.0.0-rc'+ '@hono/[email protected]':+ resolution: {integrity: sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==}+ engines: {node: '>=18.14.1'}+ peerDependencies:+ hono: ^4+'@humanfs/[email protected]':resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==}engines: {node: '>=18.18.0'}@@ -2255,6 +2270,16 @@ packages:'@types/react': '>=16'react: '>=16'+ '@modelcontextprotocol/[email protected]':+ resolution: {integrity: sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ==}+ engines: {node: '>=18'}+ peerDependencies:+ '@cfworker/json-schema': ^4.1.1+ zod: ^3.25 || ^4.0+ peerDependenciesMeta:+ '@cfworker/json-schema':+ optional: true+'@monaco-editor/[email protected]':resolution: {integrity: sha512-gIwR1HrJrrx+vfyOhYmCZ0/JcWqG5kbfG7+d3f/C1LXk2EvzAbHSg3MQ5lO2sMlo9izoAZ04shohfKLVT6crVA==}@@ -3101,6 +3126,35 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}+ '@redis/[email protected]':+ resolution: {integrity: sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==}+ peerDependencies:+ '@redis/client': ^1.0.0++ '@redis/[email protected]':+ resolution: {integrity: sha512-/KCsg3xSlR+nCK8/8ZYSknYxvXHwubJrU82F3Lm1Fp6789VQ0/3RJKfsmRXjqfaTA++23CvC3hqmqe/2GEt6Kw==}+ engines: {node: '>=14'}++ '@redis/[email protected]':+ resolution: {integrity: sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==}+ peerDependencies:+ '@redis/client': ^1.0.0++ '@redis/[email protected]':+ resolution: {integrity: sha512-6UyXfjVaTBTJtKNG4/9Z8PSpKE6XgSyEb8iwaqDcy+uKrd/DGYHTWkUdnQDyzm727V7p21WUMhsqz5oy65kPcQ==}+ peerDependencies:+ '@redis/client': ^1.0.0++ '@redis/[email protected]':+ resolution: {integrity: sha512-tYoDBbtqOVigEDMAcTGsRlMycIIjwMCgD8eR2t0NANeQmgK/lvxNAvYyb6bZDD4frHRhIHkJu2TBRvB0ERkOmw==}+ peerDependencies:+ '@redis/client': ^1.0.0++ '@redis/[email protected]':+ resolution: {integrity: sha512-c1Q99M5ljsIuc4YdaCwfUEXsofakb9c8+Zse2qxTadu8TalLXuAESzLvFAvNVbkmSlvlzIQOLpBCmWI9wTOt+g==}+ peerDependencies:+ '@redis/client': ^1.0.0+'@reduxjs/[email protected]':resolution: {integrity: sha512-KiT+RzZbp6mQET+Mg+h2c97+9j1sNflUxQkIHI7Yuzf6Peu+OYpmkn6nbHWmLLWj+1ZODUJFwGZ7gx3L9R9EOw==}peerDependencies:@@ -3741,6 +3795,10 @@ packages:'@webcontainer/[email protected]':resolution: {integrity: sha512-6aN99yL695Hi9SuIk1oC88l9o0gmxL1nGWWQ/kNy81HigJ0FoaoTXpytCj6ItzgyCEwA9kF1wixsTuv5cjsgng==}+ resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}peerDependencies:@@ -3755,9 +3813,20 @@ packages:resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==}engines: {node: '>= 14'}+ resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}+ peerDependencies:+ ajv: ^8.0.0+ peerDependenciesMeta:+ ajv:+ optional: true+resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==}+ resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==}+resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}engines: {node: '>=6'}@@ -3851,6 +3920,10 @@ packages:resolution: {integrity: sha512-VUpsf/qykW0heRlC8LooCq28Kxn3mAqKohhDG/49rrsQ1dT1CXyj/pgXS+5BSRzFTR/3DyIBOqQOrGyZOh71Aw==}+ resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==}@@ -3876,10 +3949,22 @@ packages:peerDependencies:esbuild: '>=0.18'+ resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}engines: {node: '>=8'}+ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-iwSsYWaCOoh26cV8NwNRViHlrfUvYsHDfRVcbtmw0Kg6PJIZZXwMkj1442FYLBGkeUf1juAsU3DTfxW579mrPA==}@@ -3887,6 +3972,10 @@ packages:resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}+ engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}+resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==}@@ -3920,6 +4009,10 @@ packages:resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}engines: {node: '>=6'}+ resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==}peerDependencies:@@ -3933,6 +4026,10 @@ packages:resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}+ resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==}+ engines: {node: '>=16'}+resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==}engines: {node: '>=18'}@@ -3965,9 +4062,33 @@ packages:resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==}engines: {node: ^14.18.0 || >=16.10.0}+ resolution: {integrity: sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}+ resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==}+ engines: {node: '>=6.6.0'}++ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}engines: {node: '>= 8'}@@ -4112,6 +4233,10 @@ packages:resolution: {integrity: sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==}+ resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}engines: {node: '>=6'}@@ -4144,9 +4269,16 @@ packages:resolution: {integrity: sha512-OrwIBKsdNSVEeubdJ1HBv/wNENRM9ytAVCv7YXt//A3vPdVMNuACRqK9mXCGCBW2ln7BT/A4X0jXHo2Gu89miA==}+ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}+ resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}+resolution: {integrity: sha512-8lPELWuYZIWk7NDvCNthtmMw/7Q5Wu25NpM4djFMHBmk8DubPAtL4YTOp7ou0e7HyJtwkVlWv8XMLURnrtgJQw==}@@ -4163,6 +4295,10 @@ packages:resolution: {integrity: sha512-YGRs8knHhKHVShLkFET/rWAU8kmHbOV5LwN938RHI0pljAJ1Gf6SzXsSmRaEzcXTtOOmVqJ5+WtQPL5uigY50Q==}engines: {node: '>=14'}+ resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-mLCNbrQli11K1ySUmuNt4ZUB3OpGIDq4q2vTBTf5cL2lpsRjI9QKqSD0ndjW8FyvcW/Jj46gMe9syyHAsvMa/A==}engines: {node: '>=10.13.0'}@@ -4175,6 +4311,10 @@ packages:resolution: {integrity: sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==}engines: {node: '>=20.19.0'}+ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}engines: {node: '>= 0.4'}@@ -4182,6 +4322,10 @@ packages:resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}+ resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ==}@@ -4204,6 +4348,9 @@ packages:resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}engines: {node: '>=6'}+ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}+resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}engines: {node: '>=10'}@@ -4319,13 +4466,35 @@ packages:resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==}+ resolution: {integrity: sha512-kJezFj9YFAMLeORyi7aCLxLbD5/qWMQnoMVlVPyHIll7lgRJCc3JVln9Vgl9nwQi0YkMnhdGTMNn7CkRRAptMg==}+ engines: {node: '>=18.0.0'}++ resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==}+ engines: {node: '>=18.0.0'}+resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-5Kb34ipNX694DH48vN9irak1Qx30nb0PLYHXfJgw4YEjiC3ZEmZJhwOp+VfiCYwFzvFTdB9QkArYS5kXa2cx2A==}+ engines: {node: '>= 16'}+ peerDependencies:+ express: '>= 4.11'++ resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==}@@ -4348,6 +4517,9 @@ packages:resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==}+ resolution: {integrity: sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==}+resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==}@@ -4371,6 +4543,10 @@ packages:resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==}+ engines: {node: '>= 18.0.0'}+resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==}engines: {node: '>=6'}@@ -4405,9 +4581,17 @@ packages:resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}engines: {node: '>=14'}+ resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==}+ resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==}engines: {node: '>=6 <7 || >=8'}@@ -4435,6 +4619,10 @@ packages:resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}+ resolution: {integrity: sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==}+ engines: {node: '>= 4'}+resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}engines: {node: '>=6.9.0'}@@ -4447,10 +4635,18 @@ packages:resolution: {integrity: sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==}engines: {node: '>=18'}+ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}engines: {node: '>=6'}+ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}engines: {node: '>= 6'}@@ -4476,6 +4672,10 @@ packages:resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}engines: {node: '>=10'}+ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}@@ -4483,6 +4683,10 @@ packages:resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}engines: {node: '>=8'}+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==}engines: {node: '>= 0.4'}@@ -4493,6 +4697,10 @@ packages:resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}+ resolution: {integrity: sha512-eIaZ9qDgu7XV0pxOCrg7/WhnQ6Ivm22UcxhXx/A3dcbqbbYgBEkc6e/J/s7j2tS96zoB0S9VBdLwQNCWwUo4LA==}+ engines: {node: '>=16.9.0'}+resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==}engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}@@ -4500,6 +4708,10 @@ packages:resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}+ resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==}engines: {node: '>= 14'}@@ -4561,6 +4773,14 @@ packages:resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}+ resolution: {integrity: sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==}+ engines: {node: '>= 12'}++ resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}engines: {node: '>=8'}@@ -4602,6 +4822,9 @@ packages:resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}+ resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}+resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==}engines: {node: '>=4'}@@ -4644,6 +4867,9 @@ packages:resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==}hasBin: true+ resolution: {integrity: sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw==}+resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}engines: {node: '>=10'}@@ -4692,6 +4918,12 @@ packages:resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}+ resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}++ resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==}+resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}@@ -4862,9 +5094,31 @@ packages:engines: {node: '>= 18'}hasBin: true+ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-MVCES7g18gcoZy+R/3v5nadkUMzMAWdos8jRl6DyljOKvd2/ZKDmwlCjL6zp4vo+7FeCXOYL1uWinHWlkKAAUg==}+ hasBin: true+ peerDependencies:+ '@modelcontextprotocol/sdk': 1.26.0+ next: '>=13.0.0'+ peerDependenciesMeta:+ next:+ optional: true+resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==}+ resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}engines: {node: '>= 8'}@@ -4873,6 +5127,14 @@ packages:resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}engines: {node: '>=8.6'}+ resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}engines: {node: '>=4'}@@ -4912,6 +5174,10 @@ packages:resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}+ resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}@@ -4947,6 +5213,14 @@ packages:resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}@@ -5009,6 +5283,10 @@ packages:resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}+ resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==}engines: {node: '>=4'}@@ -5036,6 +5314,9 @@ packages:resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==}engines: {node: 18 || 20 || >=22}+ resolution: {integrity: sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==}+resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}engines: {node: '>=8'}@@ -5069,6 +5350,10 @@ packages:resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==}+ engines: {node: '>=16.20.0'}+resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==}engines: {node: '>=6'}@@ -5124,16 +5409,32 @@ packages:resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==}engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}+ resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}engines: {node: '>=6'}+ resolution: {integrity: sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==}+ engines: {node: '>=0.6'}+resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==}resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+ resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-ZtAp5XTO5HRzQctjPU0ybY0RRCQO19X/8fxn3w7y2VVTUbGHDKULPTL4ky3vB05euSgG5NpALhEhDPvQ56wvXg==}peerDependencies:@@ -5232,6 +5533,9 @@ packages:resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-S1bJDnqLftzHXHP8JsT5II/CtHWQrASX5K96REjWjlmWKrviSOLWmM7QnRLstAWsu1VBBV1ffV6DzCvxNP0UJQ==}+resolution: {integrity: sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==}peerDependencies:@@ -5268,6 +5572,10 @@ packages:engines: {node: '>=18.0.0', npm: '>=8.0.0'}hasBin: true+ resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==}engines: {node: '>=18'}@@ -5306,6 +5614,17 @@ packages:engines: {node: '>=10'}hasBin: true+ resolution: {integrity: sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==}+ engines: {node: '>= 18'}++ resolution: {integrity: sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==}+ engines: {node: '>= 18'}++ resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}+resolution: {integrity: sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==}engines: {node: '>=8'}@@ -5322,6 +5641,22 @@ packages:resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}engines: {node: '>=8'}+ resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}@@ -5367,6 +5702,10 @@ packages:resolution: {integrity: sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==}+ resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==}@@ -5528,6 +5867,10 @@ packages:resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}engines: {node: '>=8.0'}+ resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}+ engines: {node: '>=0.6'}+resolution: {integrity: sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==}hasBin: true@@ -5595,6 +5938,10 @@ packages:resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}engines: {node: '>= 0.8.0'}+ resolution: {integrity: sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==}+ engines: {node: '>= 18'}+resolution: {integrity: sha512-9f65qWLZdAW9m1JaxBDUHcqRUfL8bkxxXL7XxEfI+F09q56PkBvIfCjLF3yInsDM/BBmwkqmCQdCZe/RYlIWEw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -5617,6 +5964,10 @@ packages:resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==}engines: {node: '>= 4.0.0'}+ resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==}engines: {node: '>=18.12.0'}@@ -5659,6 +6010,10 @@ packages:peerDependencies:react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}+ engines: {node: '>= 0.8'}+resolution: {integrity: sha512-9x+4TTw/USYST5nx4yN272sy9WcqSRjAR0tkQYZJ4cQIeon7uVsnohvoPQK1JZu7K1QXGUqzj08z0u/UegBVMA==}@@ -5973,6 +6328,9 @@ packages:resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}+ resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}+resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==}engines: {node: ^20.19.0 || ^22.12.0 || >=23}@@ -5985,6 +6343,11 @@ packages:resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}engines: {node: '>=10'}+ resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}+ peerDependencies:+ zod: ^3.25.28 || ^4+resolution: {integrity: sha512-+hEiRIiPobgyuFlEojnqjJnhFvg4r/i3cqgcm67eehZf/WBaK3g6cD02YU9mtdVxZjv8CzCA9n/Rhrs3yAAvAw==}engines: {node: '>=18.0.0'}@@ -7061,6 +7424,10 @@ snapshots:dependencies:react: 19.2.6+ '@hono/[email protected]([email protected])':+ dependencies:+ hono: 4.12.23+'@humanfs/[email protected]':dependencies:'@humanfs/types': 0.15.0@@ -7241,6 +7608,28 @@ snapshots:'@types/react': 19.2.15react: 19.2.6+ '@modelcontextprotocol/[email protected]([email protected])':+ dependencies:+ '@hono/node-server': 1.19.14([email protected])+ ajv: 8.20.0+ ajv-formats: 3.0.1([email protected])+ content-type: 1.0.5+ cors: 2.8.6+ cross-spawn: 7.0.6+ eventsource: 3.0.7+ eventsource-parser: 3.1.0+ express: 5.2.1+ express-rate-limit: 8.5.2([email protected])+ hono: 4.12.23+ jose: 6.2.3+ json-schema-typed: 8.0.2+ pkce-challenge: 5.0.1+ raw-body: 3.0.2+ zod: 4.4.3+ zod-to-json-schema: 3.25.2([email protected])+ transitivePeerDependencies:+ - supports-color+'@monaco-editor/[email protected]':dependencies:state-local: 1.0.7@@ -7966,6 +8355,32 @@ snapshots:'@radix-ui/[email protected]': {}+ '@redis/[email protected](@redis/[email protected])':+ dependencies:+ '@redis/client': 1.6.1++ '@redis/[email protected]':+ dependencies:+ cluster-key-slot: 1.1.2+ generic-pool: 3.9.0+ yallist: 4.0.0++ '@redis/[email protected](@redis/[email protected])':+ dependencies:+ '@redis/client': 1.6.1++ '@redis/[email protected](@redis/[email protected])':+ dependencies:+ '@redis/client': 1.6.1++ '@redis/[email protected](@redis/[email protected])':+ dependencies:+ '@redis/client': 1.6.1++ '@redis/[email protected](@redis/[email protected])':+ dependencies:+ '@redis/client': 1.6.1+'@reduxjs/[email protected]([email protected](@types/[email protected])([email protected])([email protected]))([email protected])':dependencies:'@standard-schema/spec': 1.1.0@@ -8632,6 +9047,11 @@ snapshots:'@webcontainer/[email protected]': {}+ dependencies:+ mime-types: 3.0.2+ negotiator: 1.0.0+dependencies:acorn: 8.16.0@@ -8640,6 +9060,10 @@ snapshots:+ optionalDependencies:+ ajv: 8.20.0+dependencies:fast-deep-equal: 3.1.3@@ -8647,6 +9071,13 @@ snapshots:json-schema-traverse: 0.4.1uri-js: 4.4.1+ dependencies:+ fast-deep-equal: 3.1.3+ fast-uri: 3.1.2+ json-schema-traverse: 1.0.0+ require-from-string: 2.0.2+@@ -8721,6 +9152,20 @@ snapshots:+ dependencies:+ bytes: 3.1.2+ content-type: 1.0.5+ debug: 4.4.3+ http-errors: 2.0.1+ iconv-lite: 0.7.2+ on-finished: 2.4.1+ qs: 6.15.2+ raw-body: 3.0.2+ type-is: 2.1.0+ transitivePeerDependencies:+ - supports-color+dependencies:balanced-match: 1.0.2@@ -8748,8 +9193,20 @@ snapshots:esbuild: 0.27.7load-tsconfig: 0.2.5+ [email protected]: {}++ dependencies:+ es-errors: 1.3.0+ function-bind: 1.1.2++ dependencies:+ call-bind-apply-helpers: 1.0.2+ get-intrinsic: 1.3.0+@@ -8760,6 +9217,8 @@ snapshots:loupe: 3.2.1pathval: 2.0.1+ [email protected]: {}+@@ -8801,6 +9260,8 @@ snapshots:+ [email protected]: {}+[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])@@ -8819,6 +9280,8 @@ snapshots:+ [email protected]: {}+@@ -8837,8 +9300,23 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ object-assign: 4.1.1+ vary: 1.1.2+dependencies:path-key: 3.1.1@@ -8968,6 +9446,8 @@ snapshots:dependencies:robust-predicates: 3.0.3+ [email protected]: {}+@@ -8992,8 +9472,16 @@ snapshots:optionalDependencies:'@types/trusted-types': 2.0.7+ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-errors: 1.3.0+ gopd: 1.2.0++ [email protected]: {}+@@ -9004,6 +9492,8 @@ snapshots:+ [email protected]: {}+dependencies:graceful-fs: 4.2.11@@ -9016,10 +9506,16 @@ snapshots:+ [email protected]: {}++ dependencies:+ es-errors: 1.3.0+@@ -9111,6 +9607,8 @@ snapshots:+ [email protected]: {}+@@ -9330,10 +9828,56 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ dependencies:+ eventsource-parser: 3.1.0++ dependencies:+ express: 5.2.1+ ip-address: 10.2.0++ dependencies:+ accepts: 2.0.0+ body-parser: 2.2.2+ content-disposition: 1.1.0+ content-type: 1.0.5+ cookie: 0.7.2+ cookie-signature: 1.2.2+ debug: 4.4.3+ depd: 2.0.0+ encodeurl: 2.0.0+ escape-html: 1.0.3+ etag: 1.8.1+ finalhandler: 2.1.1+ fresh: 2.0.0+ http-errors: 2.0.1+ merge-descriptors: 2.0.0+ mime-types: 3.0.2+ on-finished: 2.4.1+ once: 1.4.0+ parseurl: 1.3.3+ proxy-addr: 2.0.7+ qs: 6.15.2+ range-parser: 1.2.1+ router: 2.2.0+ send: 1.2.1+ serve-static: 2.2.1+ statuses: 2.0.2+ type-is: 2.1.0+ vary: 1.1.2+ transitivePeerDependencies:+ - supports-color+@@ -9356,6 +9900,8 @@ snapshots:dependencies:fast-string-truncated-width: 3.0.3+ [email protected]: {}+dependencies:fast-string-width: 3.0.2@@ -9376,6 +9922,17 @@ snapshots:dependencies:to-regex-range: 5.0.1+ dependencies:+ debug: 4.4.3+ encodeurl: 2.0.0+ escape-html: 1.0.3+ on-finished: 2.4.1+ parseurl: 1.3.3+ statuses: 2.0.2+ transitivePeerDependencies:+ - supports-color+dependencies:commondir: 1.0.1@@ -9416,8 +9973,12 @@ snapshots:cross-spawn: 7.0.6signal-exit: 4.1.0+ [email protected]: {}++ [email protected]: {}+dependencies:graceful-fs: 4.2.11@@ -9442,14 +10003,34 @@ snapshots:+ [email protected]: {}++ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-define-property: 1.0.1+ es-errors: 1.3.0+ es-object-atoms: 1.1.2+ function-bind: 1.1.2+ get-proto: 1.0.1+ gopd: 1.2.0+ has-symbols: 1.1.0+ hasown: 2.0.3+ math-intrinsics: 1.1.0++ dependencies:+ dunder-proto: 1.0.1+ es-object-atoms: 1.1.2+dependencies:is-glob: 4.0.3@@ -9491,10 +10072,14 @@ snapshots:merge2: 1.4.1slash: 3.0.0+ [email protected]: {}++ [email protected]: {}+dependencies:function-bind: 1.1.2@@ -9505,6 +10090,8 @@ snapshots:dependencies:hermes-estree: 0.25.1+ [email protected]: {}+dependencies:'@exodus/bytes': 1.15.0@@ -9513,6 +10100,14 @@ snapshots:+ dependencies:+ depd: 2.0.0+ inherits: 2.0.4+ setprototypeof: 1.2.0+ statuses: 2.0.2+ toidentifier: 1.0.1+dependencies:agent-base: 7.1.4@@ -9564,6 +10159,10 @@ snapshots:dependencies:loose-envify: 1.4.0+ [email protected]: {}++ [email protected]: {}+dependencies:binary-extensions: 2.3.0@@ -9595,6 +10194,8 @@ snapshots:+ [email protected]: {}+dependencies:better-path-resolve: 1.0.0@@ -9638,6 +10239,8 @@ snapshots:+ [email protected]: {}+@@ -9710,6 +10313,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -9842,8 +10449,23 @@ snapshots:+ [email protected]: {}++ [email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])):+ dependencies:+ '@modelcontextprotocol/sdk': 1.29.0([email protected])+ chalk: 5.6.2+ commander: 11.1.0+ redis: 4.7.1+ optionalDependencies:+ next: 15.5.18(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])++ [email protected]: {}++ [email protected]: {}+@@ -9851,6 +10473,12 @@ snapshots:braces: 3.0.3picomatch: 2.3.2+ [email protected]: {}++ dependencies:+ mime-db: 1.54.0+@@ -9887,6 +10515,8 @@ snapshots:+ [email protected]: {}+[email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]):@@ -9920,6 +10550,12 @@ snapshots:+ [email protected]: {}++ dependencies:+ ee-first: 1.1.1+dependencies:wrappy: 1.0.2@@ -10031,6 +10667,8 @@ snapshots:dependencies:entities: 8.0.0+ [email protected]: {}+@@ -10051,6 +10689,8 @@ snapshots:lru-cache: 11.5.1minipass: 7.1.3+ [email protected]: {}+@@ -10069,6 +10709,8 @@ snapshots:+ [email protected]: {}+dependencies:find-up: 3.0.0@@ -10113,12 +10755,30 @@ snapshots:ansi-styles: 5.2.0react-is: 17.0.2+ dependencies:+ forwarded: 0.2.0+ ipaddr.js: 1.9.1++ dependencies:+ side-channel: 1.1.0++ [email protected]: {}++ dependencies:+ bytes: 3.1.2+ http-errors: 2.0.1+ iconv-lite: 0.7.2+ unpipe: 1.0.0+dependencies:typescript: 6.0.3@@ -10234,6 +10894,15 @@ snapshots:indent-string: 4.0.0strip-indent: 3.0.0+ dependencies:+ '@redis/bloom': 1.2.0(@redis/[email protected])+ '@redis/client': 1.6.1+ '@redis/graph': 1.1.1(@redis/[email protected])+ '@redis/json': 1.0.7(@redis/[email protected])+ '@redis/search': 1.2.0(@redis/[email protected])+ '@redis/time-series': 1.1.0(@redis/[email protected])+dependencies:redux: 5.0.1@@ -10288,6 +10957,16 @@ snapshots:'@rollup/rollup-win32-x64-msvc': 4.60.4fsevents: 2.3.3+ dependencies:+ debug: 4.4.3+ depd: 2.0.0+ is-promise: 4.0.0+ parseurl: 1.3.3+ path-to-regexp: 8.4.2+ transitivePeerDependencies:+ - supports-color+@@ -10312,6 +10991,33 @@ snapshots:+ dependencies:+ debug: 4.4.3+ encodeurl: 2.0.0+ escape-html: 1.0.3+ etag: 1.8.1+ fresh: 2.0.0+ http-errors: 2.0.1+ mime-types: 3.0.2+ ms: 2.1.3+ on-finished: 2.4.1+ range-parser: 1.2.1+ statuses: 2.0.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ encodeurl: 2.0.0+ escape-html: 1.0.3+ parseurl: 1.3.3+ send: 1.2.1+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}+dependencies:kind-of: 6.0.3@@ -10354,6 +11060,34 @@ snapshots:+ dependencies:+ es-errors: 1.3.0+ object-inspect: 1.13.4++ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ object-inspect: 1.13.4++ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ object-inspect: 1.13.4+ side-channel-map: 1.0.1++ dependencies:+ es-errors: 1.3.0+ object-inspect: 1.13.4+ side-channel-list: 1.0.1+ side-channel-map: 1.0.1+ side-channel-weakmap: 1.0.2+@@ -10386,6 +11120,8 @@ snapshots:+ [email protected]: {}+[email protected](@emnapi/[email protected])(@emnapi/[email protected])(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]):@@ -10539,6 +11275,8 @@ snapshots:dependencies:is-number: 7.0.0+ [email protected]: {}+dependencies:commander: 2.20.3@@ -10609,6 +11347,12 @@ snapshots:dependencies:prelude-ls: 1.2.1+ dependencies:+ content-type: 2.0.0+ media-typer: 1.1.0+ mime-types: 3.0.2+dependencies:'@typescript-eslint/eslint-plugin': 8.60.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])@@ -10628,6 +11372,8 @@ snapshots:+ [email protected]: {}+dependencies:'@jridgewell/remapping': 2.3.5@@ -10670,6 +11416,8 @@ snapshots:dependencies:react: 19.2.6+ [email protected]: {}+@@ -11141,6 +11889,8 @@ snapshots:+ [email protected]: {}+@@ -11154,6 +11904,10 @@ snapshots:+ dependencies:+ zod: 4.4.3+dependencies:zod: 3.25.76