mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 05:45:04 +03:00
The kilocode provider uses OAuth device flow + direct HTTPS to api.kilo.ai and never depends on the local kilocode CLI binary at runtime. The connection test was hard-failing with "Local CLI runtime is not installed" even when the OAuth token itself was perfectly valid, blocking all kilocode setups on hosts where the CLI binary was not also installed. Removed kilocode from CLI_RUNTIME_PROVIDER_MAP and extracted the constant to a dedicated module so unit tests can pin the contract without dragging the full Next.js route + DB initialization into the test runtime. CLI Tools integration (/api/cli-tools/kilo-settings, used to configure the Kilo VSCode extension to point at OmniRoute) keeps its own runtime check since it actually does need the CLI binary to be present.
1.2 KiB
1.2 KiB