()
| 47 | } from './shared'; |
| 48 | |
| 49 | function configDir(): string { |
| 50 | const override = process.env.COPILOT_HOME; |
| 51 | if (override && override.trim().length > 0) return override; |
| 52 | return path.join(os.homedir(), '.copilot'); |
| 53 | } |
| 54 | |
| 55 | function mcpConfigPath(): string { |
| 56 | return path.join(configDir(), 'mcp-config.json'); |
no test coverage detected