Release v0.10.9: Purge legacy MCP code, decouple CLI commands, and clean unused exports

This commit is contained in:
gitea committed 2026-09-04 19:08:16 +08:00
1 parent d525087b97
commit edafe033dc
20 files changed
+256 -594

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ export async function handleHttpRequest(req: IncomingMessage, res: ServerRespons
// 5. Generic Tool Invocation endpoint (POST /api/tool/:name)
if (method === "POST" && pathname.startsWith("/api/tool/")) {
const toolName = pathname.slice("/api/tool/".length).trim();
const tool = findSealTool(toolName, { includeMcpAliases: true });
const tool = findSealTool(toolName);
if (!tool) {
sendError(res, 404, `Tool not found: '${toolName}'`);
return;