Detect Bun-managed Codex CLI - #82
Conversation
|
Could we split this into two PRs? Downloading and executing an installer from the application needs a separate review covering Windows support, integrity/update behavior, failure recovery, and the security boundary. |
1d55a03 to
e776fbb
Compare
|
Split as requested. This PR now contains only the |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe Codex resolver now checks ChangesCodex resolution
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change safely expands Codex discovery to Bun-managed installations without altering other provider behavior. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation The change satisfies the discovery objective in issue Resolution Implement or include the remaining
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
nulljosh
left a comment
There was a problem hiding this comment.
Correct and safe — adds ~/.bun/bin/codex as a candidate path alongside the existing npm-global/cargo/n entries in resolve_codex(). Matches the existing pattern exactly, no conflicts.
What changed
MonoCode now checks
~/.bun/bin/codexwhen resolving the Codex CLI.Why
Apps such as T3 can provision Codex in
~/.bun/bin, while GUI processes may not inherit that directory throughPATH. MonoCode could therefore report an existing Codex installation as unavailable.This is the discovery-only slice of #81. Downloading and executing an installer from the application is intentionally excluded and will require a separate review covering Windows support, integrity and update behavior, failure recovery, and the security boundary.
UI
No UI changes.
Checklist
npm run check:rustSummary by CodeRabbit
~/.bun/bindirectory.