Skip to content

feat: add CODEX_SHELL detection for Codex agent#13743

Merged
krlvi merged 1 commit into
masterfrom
kv-branch-122
May 11, 2026
Merged

feat: add CODEX_SHELL detection for Codex agent#13743
krlvi merged 1 commit into
masterfrom
kv-branch-122

Conversation

@krlvi
Copy link
Copy Markdown
Member

@krlvi krlvi commented May 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 11, 2026 09:05
@krlvi krlvi enabled auto-merge May 11, 2026 09:05
@github-actions github-actions Bot added rust Pull requests that update Rust code CLI The command-line program `but` labels May 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support in the but CLI’s AI-agent detection utility to recognize Codex sessions when CODEX_SHELL is present, improving correct agent attribution in environments where Codex sets that variable.

Changes:

  • Extend Codex detection to include the CODEX_SHELL environment variable.
  • Add a unit test covering CODEX_SHELL-based Codex detection.

@krlvi krlvi merged commit 92ec892 into master May 11, 2026
43 checks passed
@krlvi krlvi deleted the kv-branch-122 branch May 11, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI The command-line program `but` rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants