Public: anyone can read this; nobody can change it.
feat(subscriptions): Anthropic-compatible API base URL (0.7.56) #14
Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.
new above
offline
Why
Crew subscriptions only accepted
sk-ant-*tokens and always hit Anthropic. OpenRouter (and other Anthropic-compatible gateways) need a custom base URL and a different key shape.What
subscription.api_base(plain URL, not sealed)sk-or-v1-…always; accept other API key shapes whenapi_baseis setANTHROPIC_BASE_URL; for OpenRouter alsoANTHROPIC_AUTH_TOKEN+ emptyANTHROPIC_API_KEY, and allows the gateway host in the sandbox/settings/subscriptions+ new-forgemodelEndpointmodelEndpointwith starter keykindOfToken,parseApiBase,credentialEnvOf, OpenRouter spawn dry-runreleases.json→ 0.7.56 (migrations 71)Notes
OpenRouter Claude Code base is
https://openrouter.ai/api(no/v1— SDK appends it). Pasted…/api/v1is normalized on save.