Repository navigation
v0.2.0 — named gateways, many per install
Any base URL + API key gateway, and as many as you like.
Install
omp plugin install git:https://github.com/magic3007/omp-gateway-login
omp login # → Custom gateway (name + base URL + API key)
# ① name ② base URL ③ API key ④ extra model ids (optional)Then allow each name in ~/.omp/agent/config.yml:
enabledModels:
- mafia/*
- kafara/*
- volcengine/*Highlights
- The login entry now takes a name; that name is the model prefix (
mafia/claude-opus-5-5,volcengine/ark-code-latest). - Unlimited gateways per installation, stored in
~/.omp/agent/gateways-login.json(0600) and registered at every start. - Extra model ids cover plan-only aliases a gateway never lists — the Ark coding plan's
ark-code-latest,doubao-seed-2.0-pro,glm-5.3. - Catalog handling learned from real gateways: reported
token_limits/modalitiesare used instead of blanket 200k/64k and text+image;Shutdown/Deprecatedtombstones and non-texttask_typeentries are dropped. - Renamed the project to omp-gateway-login — CLIProxyAPI is one gateway among many.
Verified against three live gateways (CLIProxyAPI, a vendor router, the Volcengine Ark coding plan): logins, discovery and end-to-end calls.
See CHANGELOG.md for details.