refactor tool-call detail contract for unknown tools

This commit is contained in:
Mohamed Boudra
2026-02-09 16:50:04 +07:00
parent ef29319baf
commit 7ec3f2d3cf
31 changed files with 228 additions and 177 deletions
@@ -187,8 +187,8 @@ describe("claude tool-call mapper", () => {
expect(item.error).toBeNull();
expect(item.detail).toEqual({
type: "unknown",
rawInput: { foo: "bar" },
rawOutput: { ok: true },
input: { foo: "bar" },
output: { ok: true },
});
});
});