feat: chat rendering toolcalls, footer overview

This commit is contained in:
2026-08-09 20:24:11 -04:00
parent cb8a88d0bd
commit 259b1d3b2d
14 changed files with 664 additions and 383 deletions

View File

@@ -38,7 +38,6 @@ import { defensiveGuardsCheck } from "../src/checks/defensive-guards.js";
const noopRunner: AgentRunner = async () => ({
ok: true,
text: "",
toolCalls: [],
});
function stubCtx(cwd: string): PygieniumCtx {
@@ -135,7 +134,7 @@ describe("verify hooks fail loudly on empty agent output", () => {
registerCheck(defensiveGuardsCheck);
// Runner writes changes.md content into its text but never to disk.
setAgentRunner(async () => ({ ok: true, text: "", toolCalls: [] }));
setAgentRunner(async () => ({ ok: true, text: "" }));
await handleCheckCommand(defensiveGuardsCheck, "--fix", stubCtx(cwd));
const state = await loadRunState(cwd);