@douyinfe/semi-mcp 1.0.17 → 1.0.18

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.d.ts CHANGED
@@ -5,4 +5,6 @@
5
5
  * 使用 stdio 作为传输层的 MCP 服务器
6
6
  * 通过标准输入输出与客户端通信
7
7
  */
8
- export {};
8
+ import { createMCPServer, getPackageVersion } from './server.js';
9
+ import { toolHandlers, tools } from './tools/index.js';
10
+ export { tools, toolHandlers, createMCPServer, getPackageVersion };
package/dist/index.js CHANGED
@@ -1445,3 +1445,4 @@ main().catch((error)=>{
1445
1445
  process.stderr.write(`Semi MCP Server (stdio) 启动失败: ${errorMessage}\n`);
1446
1446
  process.exit(1);
1447
1447
  });
1448
+ export { createMCPServer, getPackageVersion, toolHandlers, tools };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-mcp",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Semi Design MCP Server - Model Context Protocol server for Semi Design components and documentation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,16 @@
16
16
  "./http": {
17
17
  "types": "./dist/http.d.ts",
18
18
  "import": "./dist/http.js"
19
+ },
20
+ "./tools": {
21
+ "types": "./dist/tools/index.d.ts",
22
+ "import": "./dist/tools/index.js"
23
+ },
24
+ "./utils/*": {
25
+ "types": "./dist/utils/*.d.ts",
26
+ "import": "./dist/utils/*.js"
19
27
  }
28
+
20
29
  },
21
30
  "types": "./dist/index.d.ts",
22
31
  "files": [