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