(command: string)
| 140 | } |
| 141 | |
| 142 | function commandExists(command: string): boolean { |
| 143 | const cmd = process.platform === "win32" ? "where" : "which"; |
| 144 | const result = spawnSync(cmd, [command], { stdio: "ignore" }); |
| 145 | return result.status === 0; |
| 146 | } |
| 147 | |
| 148 | function updateMcpConfig(configPath: string): void { |
| 149 | const root = readJsonObject(configPath); |
no outgoing calls
no test coverage detected