Repository navigation
Commit c292be1
fix: accept mcpServers as alias for mcp in config
When AI tools (Claude Code, Copilot) generate altimate-code config,
they write `mcpServers` instead of `mcp`. This causes a startup error:
"Unrecognized key: mcpServers".
Add normalization during config loading that renames `mcpServers` to
`mcp` before schema validation, matching the existing pattern for
legacy key migration (theme, keybinds, tui).
Fixes AltimateAI#619
Co-Authored-By: Vijay Yadav <[email protected]>1 parent 0d34855 commit c292be1
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1366 | 1372 | | |
1367 | 1373 | | |
1368 | 1374 | | |
| |||
0 commit comments