mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 06:12:10 +03:00
fix(cli-tools): save real API key to CLI config files instead of masked string (#523, #526) - claude-settings/route.ts: accept keyId, look up real key from DB (getApiKeyById) - cline-settings/route.ts: same keyId resolution pattern - openclaw-settings/route.ts: same keyId resolution pattern - ClaudeToolCard.tsx: store key.id as selected value, send keyId in POST body The /api/keys endpoint returns masked strings (first8+****+last4) which were being written verbatim to ~/.claude/settings.json and similar config files, causing auth failures on CLI tool launch. fix(combo): update CACHE_TAG_PATTERN to strip surrounding \\n sequences (#531) - comboAgentMiddleware.ts: non-global regex now matches literal \\n (backslash-n) and actual newline U+000A that combo.ts injects around the <omniModel> tag.