tt-design-mcp 1.0.1 → 1.0.3

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/README.md CHANGED
@@ -11,6 +11,8 @@
11
11
 
12
12
  数据来源于用户项目中已安装的 `tt-design` 包内的 `dist/meta/*.json`,无需 clone 源码仓库。
13
13
 
14
+ 生成 UI 时需优先复用 Ant Design 4.24.x 的底层逻辑,仅通过 CSS Variables 覆盖样式,不建议脱离 Ant Design / tt-design 自行重写交互逻辑。
15
+
14
16
  ## 前置条件
15
17
 
16
18
  1. 本机已安装 Node.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tt-design-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for querying tt-design component metadata",
5
5
  "type": "module",
6
6
  "bin": {
package/src/server.mjs CHANGED
@@ -73,7 +73,8 @@ export function createServer() {
73
73
  {
74
74
  instructions:
75
75
  'MCP server for querying tt-design component metadata. ' +
76
- 'Loads dist/meta/*.json from the user-installed tt-design package.',
76
+ 'Loads dist/meta/*.json from the user-installed tt-design package. ' +
77
+ 'When generating UI for this project, prioritize reusing Ant Design 4.24.x underlying logic and only override styles through CSS variables.',
77
78
  },
78
79
  );
79
80