Repository navigation
Fixes
- TOML drift false positives: removing or reinstalling a Codex
[mcp_servers.<name>]entry no longer aborts with "modified manually" when another table was appended after it, or when an editor converted the file to CRLF. Real edits inside the tracked section are still blocked. - CRLF preservation: installs and rollbacks keep the file's existing line-ending style instead of mixing LF into CRLF files.
- TOML headers with whitespace (
[ mcp_servers.demo ]) are now recognized. - Clear JSON errors on remove: a missing, empty, or invalid tracked JSON config now reports an actionable message (instead of
Unexpected end of JSON input) and keeps the tracking state.
Compatibility
Hashes recorded by v1.0.0 remain valid (normalizeTomlSection is idempotent on generated entries). New export: normalizeTomlSection.
Tests
node --test: 14/14 passing (6 new regression tests).