chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-31 17:35:31 +00:00
parent 2f2fcc1654
commit 542b082373
2 changed files with 5 additions and 2 deletions

View File

@@ -257,7 +257,9 @@ it.live("tool execution produces non-empty session diff (snapshot race)", () =>
// Verify the tool call completed (in the first assistant message)
const allMsgs = yield* MessageV2.filterCompactedEffect(session.id)
const user = allMsgs.find((msg): msg is SessionLegacy.WithParts & { info: SessionLegacy.User } => msg.info.role === "user")
const user = allMsgs.find(
(msg): msg is SessionLegacy.WithParts & { info: SessionLegacy.User } => msg.info.role === "user",
)
const tool = allMsgs
.flatMap((m) => m.parts)
.find((p): p is SessionLegacy.ToolPart => p.type === "tool" && p.tool === "bash")