refactor(tools): return complete analysis results inline

This commit is contained in:
morluto
2026-09-29 14:53:50 +08:00
parent c34efca4cd
commit 2a6eb41147
156 changed files with 2529 additions and 1891 deletions
@@ -9,7 +9,7 @@ describe("Codex agent release evaluation", () => {
type: "mcp_tool_call",
server: "rea",
tool: "analyze_javascript_application",
arguments: { input_path: "/tmp/app", approved: true },
arguments: { input_path: "/tmp/app" },
};
const metrics = evaluateCodexEvents(
[
@@ -150,7 +150,7 @@ describe("Codex agent completion evaluation", () => {
type: "mcp_tool_call",
server: "rea",
tool: "analyze_javascript_application",
arguments: { input_path: "/tmp/app.asar", approved: true },
arguments: { input_path: "/tmp/app.asar" },
result: { structured_content: { error: { code: "denied" } } },
error: null,
status: "failed",