(group: GroupEntry)
| 17 | |
| 18 | // Helper to extract group name regardless of format |
| 19 | export function getGroupName(group: GroupEntry): ToolGroup { |
| 20 | if (typeof group === "string") { |
| 21 | return group |
| 22 | } |
| 23 | |
| 24 | return group[0] |
| 25 | } |
| 26 | |
| 27 | // Helper to get all tools for a mode |
| 28 | export function getToolsForMode(groups: readonly GroupEntry[]): string[] { |
no outgoing calls
no test coverage detected