ctx7@0.5.7

shrimbly/node-bananactx7@0.5.7Jul 30, 2026by github-actions[bot]

AI Summary

This patch release updates the `ctx7 setup` command to use the standard `Authorization: Bearer` header instead of a custom header. This change resolves authentication failures caused by the custom header name, ensuring the API key is correctly processed by Codex.

Key Highlights

  • Switched from custom `CONTEXT7_API_KEY` header to standard `Authorization: Bearer` header.
  • Fixes authentication failures caused by the custom header name.
  • Codex now correctly resolves auth mode from `bearer_token_env_var` or the standard header.
  • Hosted endpoint maintains compatibility with both header forms.

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.