@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.
- package/dist/index.js +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
|
-
|
|
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