fix(core): recover malformed tool input

This commit is contained in:
Dustin Deus 2026-07-18 19:13:52 +00:00
commit 7840a0d378
8 changed files with 109 additions and 16 deletions

View file

@ -1839,6 +1839,7 @@ export type SessionMessageToolStateCompleted = {
export type SessionMessageToolStateError = {
status: "error"
input: { [x: string]: JsonValue }
raw?: string
content: Array<LLMToolContent>
structured: { [x: string]: JsonValue }
error: SessionStructuredError