feat(canvas): restructure source directory for Canvas Agent, enhancing code maintainability

This commit is contained in:
HouYunFei
2026-07-29 10:47:06 +08:00
parent 92fd0ce129
commit 40c47dd7ff
20 changed files with 3095 additions and 777 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env node
import { startHttpServer } from "./http-server.js";
import { startMcpServer } from "./mcp-server.js";
import { startHttpServer } from "./server/http.js";
import { startMcpServer } from "./server/mcp.js";
if (process.argv[2] === "mcp") await startMcpServer();
else startHttpServer();