You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for detecting Codex AI coding tool through environment
variables CODEX_MANAGED_BY_NPM and CODEX_MANAGED_BY_BUN.
Changes:
- Create src/ai-tools/codex.ts configuration file
- Add Codex to AI tools index with CLI type (highest priority)
- Update test expectations from 8 to 9 tools
- Add comprehensive tests for Codex environment variables:
* Integration tests for CODEX_MANAGED_BY_NPM and CODEX_MANAGED_BY_BUN
* Unit tests in exec.test.ts for getCoDevelopedBy function
* Production build tests for compiled code
* Installed package tests for npm pack scenarios
The Codex tool is detected when either CODEX_MANAGED_BY_NPM=1 or
CODEX_MANAGED_BY_BUN=1 is set, and will add "Co-developed-by: Codex
<noreply@openai.com>" to commit messages.
Change-Id: Id9ccec1427a942df35a7c0c4ecd3040c28167afa
Co-developed-by: Cursor <noreply@cursor.com>
0 commit comments