@treeui/mcp 0.1.1 → 0.2.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/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  recommendComponents,
10
10
  searchComponents,
11
11
  searchRecipes
12
- } from "./chunk-LDH2IV6Q.js";
12
+ } from "./chunk-HN245XRN.js";
13
13
 
14
14
  // src/catalog-source.ts
15
15
  import fs from "fs";
@@ -279,11 +279,9 @@ var buildCatalogFromRepo = (repoRoot) => {
279
279
  const setup2 = normalizeSetupEntry(componentSetup[name]);
280
280
  const aliases = Array.from(
281
281
  new Set(
282
- [
283
- ...normalizeStringList(document.aliases),
284
- aliasMap[name],
285
- name.startsWith("T") ? `Tree${name.slice(1)}` : void 0
286
- ].filter((value) => Boolean(value))
282
+ [...normalizeStringList(document.aliases), aliasMap[name]].filter(
283
+ (value) => Boolean(value)
284
+ )
287
285
  )
288
286
  );
289
287
  const componentRecipes = recipes.filter((recipe) => recipe.compose.includes(name)).map((recipe) => recipe.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeui/mcp",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Model Context Protocol server and AI catalog for TreeUI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": "^1.17.4",
24
- "yaml": "^2.8.1"
24
+ "yaml": "^2.9.0"
25
25
  },
26
26
  "scripts": {
27
27
  "generate:catalog": "node --import tsx scripts/generate-catalog.ts",