Skip to content

Add managed Codex CLI setup - #82

Open
jagadhis wants to merge 1 commit into
hardbeat920:mainfrom
jagadhis:feat/managed-codex-cli-setup
Open

Add managed Codex CLI setup#82
jagadhis wants to merge 1 commit into
hardbeat920:mainfrom
jagadhis:feat/managed-codex-cli-setup

Conversation

@jagadhis

@jagadhis jagadhis commented Sep 5, 2026

Copy link
Copy Markdown

What changed

MonoCode now reuses Bun-managed Codex installs and offers an explicit, user-confirmed Codex install action in Settings → Providers when no CLI is found. The managed install uses the official OpenAI installer with ~/.monocode/bin as its destination, then refreshes provider availability and the model catalog without a restart.

Why

Apps such as T3 can provision Codex in ~/.bun/bin, while MonoCode may still report it as unavailable. Users without any Codex CLI also had to leave MonoCode, install it manually, and restart.

Closes #81

UI

Verified in the native app: Settings → Providers detected the existing Bun-managed Codex CLI and loaded its five-model catalog. The Install Codex button is conditional and appears only when Codex is unavailable, so it is not shown on this machine.

Checklist

  • I ran npm run check
  • This PR is small and focused
  • I did not mix unrelated changes

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.

Offer managed Codex CLI setup from Providers settings

1 participant