( item: ExecuteOutputItem, )
| 556 | ]; |
| 557 | |
| 558 | const isFileOutputItem = ( |
| 559 | item: ExecuteOutputItem, |
| 560 | ): item is { readonly type: "file"; readonly file: ToolFileValue } => |
| 561 | isRecord(item) && item.type === "file" && isToolFile(item.file); |
| 562 | |
| 563 | const isMcpContentBlock = (value: unknown): value is ContentBlock => |
| 564 | ContentBlockSchema.safeParse(value).success; |
no test coverage detected