()
| 14 | export function getIndexer(): import('./indexer.js').Indexer | null { return _indexer; } |
| 15 | |
| 16 | function requireDB(): CodeGraphDB | { error: string } { |
| 17 | if (!_db) return { error: '[CODE_GRAPH_NOT_READY] The code graph has not been built yet. Run `qx index` or `/index` to build it.' }; |
| 18 | return _db; |
| 19 | } |
| 20 | |
| 21 | // ---------------- find_symbol ---------------- |
| 22 |