refactor(mcp): simplify tool inputs and inline results

This commit is contained in:
morluto
2026-09-29 11:22:00 +08:00
parent bd0e341572
commit f55c2b9267
70 changed files with 468 additions and 741 deletions
@@ -177,7 +177,7 @@ describe("enhanced MCP input validation", () => {
execute: () => Promise.resolve(ok(["not", "a", "procedure", "map"])),
});
const result = await client.callTool({
name: "swift_classes",
name: "analyze_swift_types",
arguments: {},
});
expect(result.isError).toBe(true);