(loc: Location)
| 42 | } from '../instructions-template'; |
| 43 | |
| 44 | function configDir(loc: Location): string { |
| 45 | return loc === 'global' |
| 46 | ? path.join(os.homedir(), '.claude') |
| 47 | : path.join(process.cwd(), '.claude'); |
| 48 | } |
| 49 | function mcpJsonPath(loc: Location): string { |
| 50 | // global → ~/.claude.json (user scope: visible in every project). |
| 51 | // local → ./.mcp.json (project scope: the ONLY project-level MCP |
no test coverage detected