( item: ExecuteOutputItem, )
| 372 | ]; |
| 373 | |
| 374 | const isFileOutputItem = ( |
| 375 | item: ExecuteOutputItem, |
| 376 | ): item is { readonly type: "file"; readonly file: ToolFileValue } => |
| 377 | isRecord(item) && item.type === "file" && isToolFile(item.file); |
| 378 | |
| 379 | const isMcpContentBlock = (value: unknown): value is ContentBlock => |
| 380 | ContentBlockSchema.safeParse(value).success; |
no test coverage detected