(toolName: string)
| 28 | |
| 29 | /** Find the block whose `tools.access` contains the given tool id. */ |
| 30 | export function getBlockByToolName(toolName: string): BlockConfig | undefined { |
| 31 | return Object.values(BLOCK_REGISTRY).find((b) => b.tools?.access?.includes(toolName)) |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Resolve the canonical (highest-version) block for a base type. Handles |
no outgoing calls
no test coverage detected