ctx7@0.5.7

upstash/context7ctx7@0.5.7Jul 30, 2026by github-actions[bot]

AI Summary

Fixes CLI setup command to use standard Bearer token format for better compatibility with Codex.

Key Highlights

  • Write API key as standard Authorization: Bearer header
  • Fix authentication mode detection for Codex
  • Ensure API keys are sent correctly during setup

New Features

  • Standardized Bearer header format
  • Codex authentication compatibility

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.