(loc: Location)
| 197 | } |
| 198 | |
| 199 | printConfig(loc: Location): string { |
| 200 | const target = configPath(loc); |
| 201 | const snippet = JSON.stringify({ |
| 202 | $schema: 'https://opencode.ai/config.json', |
| 203 | mcp: { servers: { codegraph: getOpencodeServerEntry() } }, |
| 204 | }, null, 2); |
| 205 | return `# Add to ${target}\n\n${snippet}\n`; |
| 206 | } |
| 207 | |
| 208 | describePaths(loc: Location): string[] { |
| 209 | return [configPath(loc), instructionsPath(loc)]; |
nothing calls this directly
no test coverage detected