fix: stabilize notes and reasoning replay

This commit is contained in:
Peter Steinberger
2026-01-11 04:36:16 +01:00
parent edb3651c32
commit eeae5ce7fd
5 changed files with 29 additions and 19 deletions

View File

@@ -639,8 +639,10 @@ describe("doctor", () => {
([message, title]) =>
title === "Sandbox" &&
typeof message === "string" &&
message.includes('agents.list (id "work") sandbox docker') &&
message.includes('scope resolves to "shared"'),
message
.replace(/\s+/g, " ")
.includes('agents.list (id "work") sandbox docker') &&
message.replace(/\s+/g, " ").includes('scope resolves to "shared"'),
),
).toBe(true);
});