(loc: Location)
| 173 | } |
| 174 | |
| 175 | printConfig(loc: Location): string { |
| 176 | const target = configPath(loc); |
| 177 | const snippet = JSON.stringify({ |
| 178 | $schema: 'https://opencode.ai/config.json', |
| 179 | mcp: { codegraph: getOpencodeServerEntry() }, |
| 180 | }, null, 2); |
| 181 | return `# Add to ${target}\n\n${snippet}\n`; |
| 182 | } |
| 183 | |
| 184 | describePaths(loc: Location): string[] { |
| 185 | return [configPath(loc), instructionsPath(loc)]; |
nothing calls this directly
no test coverage detected