fix(core): safely recover malformed tool input (#37698)

This commit is contained in:
Kit Langton
2026-07-18 21:52:45 -04:00
committed by GitHub
parent 584fdefe6f
commit 57ff57595a
22 changed files with 876 additions and 93 deletions
+2
View File
@@ -276,6 +276,8 @@ export namespace Step {
error: SessionError.Error,
cost: Money.USD.pipe(optional),
tokens: TokenUsage.Info.pipe(optional),
snapshot: Snapshot.ID.pipe(optional),
files: Schema.Array(RelativePath).pipe(optional),
},
})
export type Failed = typeof Failed.Type