Commit 56569cb
style(db): address two informational nits from reviewer pass on 69f7001
Both items came back APPROVE-with-info on the prior review and are
pure cleanup — no behavior change, no API surface change.
## #1 — RHEL/Fedora step in WASM_FALLBACK_FIX_RECIPE constant
The constant in `src/db/sqlite-adapter.ts` is documented as the
"single source of truth" for the fix recipe shown in the MCP
`Backend:` line, but it only listed macOS + Debian/Ubuntu paths. The
multi-line `buildWasmFallbackBanner` and the README both already
include the `yum groupinstall "Development Tools"` step for
RHEL/Fedora; the constant was the lone surface missing it. Now
appended so MCP-displayed guidance matches the other two surfaces
on every supported platform.
## #2 — hoist inline `import('./db').SqliteBackend` to top-level
`CodeGraph.getBackend()` was the only method in `src/index.ts` using
the inline-import type form. Adding `SqliteBackend` to the existing
`import { DatabaseConnection, getDatabasePath } from './db'` keeps
the file consistent. No circular-import risk since `./db` already
re-exports the type from `./db/sqlite-adapter`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 69f7001 commit 56569cb
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
1595 | | - | |
| 1595 | + | |
1596 | 1596 | | |
1597 | 1597 | | |
1598 | 1598 | | |
| |||
0 commit comments