True when either the OpenCode 2 native entry or a pre-#1698 v1 entry is present.
(config: Record<string, any>)
| 144 | |
| 145 | /** True when either the OpenCode 2 native entry or a pre-#1698 v1 entry is present. */ |
| 146 | function hasCodegraphEntry(config: Record<string, any>): boolean { |
| 147 | return !!(config.mcp?.servers?.codegraph || config.mcp?.codegraph); |
| 148 | } |
| 149 | |
| 150 | const FORMATTING = { tabSize: 2, insertSpaces: true, eol: '\n' }; |
| 151 |
no outgoing calls
no test coverage detected