(block: AgentBlock)
| 36 | // Blocks that carry posts. A type guard rather than "not text", so a new block |
| 37 | // type is excluded by default instead of crashing whatever reads `.posts`. |
| 38 | export const isPostsBlock = (block: AgentBlock): block is AgentPostsBlock => |
| 39 | block.type === 'posts' || block.type === 'picks' || block.type === 'feedLink'; |
| 40 | |
| 41 | export type AgentMessage = { |
| 42 | id: string; |
no outgoing calls
no test coverage detected