feat: chat rendering toolcalls, footer overview
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user