Skip to content

fix: discover bundled Codex CLI on macOS - #17

Merged
SilkageNet merged 1 commit into
mainfrom
fix/macos-codex-discovery
Sep 28, 2026
Merged

SilkageNet merged 1 commit into
mainfrom
fix/macos-codex-discovery

Conversation

@SilkageNet

Copy link
Copy Markdown
Owner

Summary

  • discover Codex executables bundled in both Codex.app and ChatGPT.app
  • support the current nested codex-cli/CodexCLI.app/Contents/MacOS/codex layout
  • search both /Applications and ~/Applications after PATH
  • show the selected executable path in codex-switch doctor

Validation

  • go test -race ./...
  • golangci-lint run
  • real refresh with PATH=/usr/bin:/bin and no CODEX_BINARY; both saved accounts refreshed successfully via the bundled ChatGPT.app CLI

@SilkageNet
SilkageNet merged commit 909e184 into main Sep 28, 2026
5 checks passed
@SilkageNet
SilkageNet deleted the fix/macos-codex-discovery branch September 28, 2026 13:06
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.

1 participant