Skip to content

Fix Codex client detection without user-agent - #37

Merged
joeldickson merged 1 commit into
mainfrom
fix-issue-27-codex-client-detection
Jul 7, 2026
Merged

joeldickson merged 1 commit into
mainfrom
fix-issue-27-codex-client-detection

Conversation

@joeldickson

Copy link
Copy Markdown
Contributor

Summary

  • Cache initialized MCP client identity by peer when no session id is available yet
  • Promote peer-derived identity into the session cache once a later request provides the MCP session id
  • Add regression coverage for codex-mcp-client with missing user-agent and bump version to 0.12.0

Verification

  • .venv/bin/ruff check src tests
  • .venv/bin/pytest tests/test_telemetry.py
  • .venv/bin/pytest

Closes #27

@joeldickson
joeldickson merged commit 0d9a99c into main Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve MCP agent detection for Codex and missing user-agent requests

2 participants