( item: ExecuteOutputItem, )
| 411 | ]; |
| 412 | |
| 413 | const isFileOutputItem = ( |
| 414 | item: ExecuteOutputItem, |
| 415 | ): item is { readonly type: "file"; readonly file: ToolFileValue } => |
| 416 | isRecord(item) && item.type === "file" && isToolFile(item.file); |
| 417 | |
| 418 | const isMcpContentBlock = (value: unknown): value is ContentBlock => |
| 419 | ContentBlockSchema.safeParse(value).success; |
no test coverage detected