@douyinfe/semi-mcp 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -476,9 +476,9 @@ async function main() {
476
476
  });
477
477
  const transport = new StdioServerTransport();
478
478
  await server.connect(transport);
479
- console.error('Semi MCP Server 已启动,使用 stdio 传输');
480
479
  }
481
480
  main().catch((error)=>{
482
- console.error('服务器启动失败:', error);
481
+ const errorMessage = error instanceof Error ? error.message : String(error);
482
+ process.stderr.write(`Semi MCP Server 启动失败: ${errorMessage}\n`);
483
483
  process.exit(1);
484
484
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-mcp",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
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",