()
| 674 | }; |
| 675 | |
| 676 | const getCommandDirs = () => { |
| 677 | const roots = getSearchRoots(); |
| 678 | const dirs = []; |
| 679 | |
| 680 | for (const root of roots) { |
| 681 | const cmdDir = path.join(root, 'command'); |
| 682 | if (fs.existsSync(cmdDir)) { |
| 683 | dirs.push({ path: cmdDir, source: 'command-dir', root }); |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | return dirs; |
| 688 | }; |
| 689 | |
| 690 | const getMcpDirs = () => { |
| 691 | const roots = getSearchRoots(); |
no test coverage detected