ctx7@0.5.7

neuml/txtaictx7@0.5.7Jul 30, 2026by github-actions[bot]

AI Summary

Fixes authentication configuration to use standard Bearer token headers instead of a custom header name.

Key Highlights

  • Changed ctx7 setup to write API key as Authorization: Bearer <key>
  • Fixes auth flow issues where custom headers caused OAuth fallback logic

Full Release Notes

### Patch Changes

- b89a04e: `ctx7 setup` now writes the API key as a standard `Authorization: Bearer <key>` header instead of a custom `CONTEXT7_API_KEY` header. Codex resolves a server's auth mode from `bearer_token_env_var` or a header literally named `Authorization`, so a custom name read as "no credential configured": Codex fell through to an OAuth credential stored against the same server name and URL, refreshed it during startup, and when that refresh token was dead the server failed with `invalid_grant` before the API key was ever sent. The hosted endpoint accepts both header forms, so existing configs keep working.