mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-11 01:32:22 +03:00
The `readSettings`/`readConfig`/`readAuth` helpers in `claude`, `cline`, `droid`, `kilo` and `openclaw` settings routes were re-throwing on any non-`ENOENT` error, so a config file with a trailing comma (valid JSONC, emitted by some upstream CLIs) crashed the GET route with a 500 and the dashboard misread it as "tool not installed". A new shared `readJsoncConfig` helper strips trailing commas before parsing and returns `null` on any parse failure, so the dashboard correctly renders "installed but not configured" instead. Co-authored-by: Zireael <3856578+Zireael@users.noreply.github.com> Inspired-by: https://github.com/decolua/9router/commit/6c10edf8