Skip to content

Focus Codex on local macOS agent press - #12

Open
bjoycerobo wants to merge 6 commits into
dazer1234:mainfrom
bjoycerobo:feature/focus-codex-on-agent-press
Open

Focus Codex on local macOS agent press#12
bjoycerobo wants to merge 6 commits into
dazer1234:mainfrom
bjoycerobo:feature/focus-codex-on-agent-press

Conversation

@bjoycerobo

Copy link
Copy Markdown

What changed

  • adds an opt-in global Focus Codex setting for the six agent keys
  • activates the local Codex macOS bundle before dispatching a local agent press
  • leaves remote-agent routing unchanged
  • documents the inspector and macOS launchctl environment default

Why

When another app is frontmost, native agent selection can open the correct task while keyboard shortcuts continue to target the previous app.

Validation

  • npm run check
  • npm test (134 passed, 1 Windows-only test skipped)
  • npm run build

The focus action is macOS-only (/usr/bin/open -b com.openai.codex); Windows behavior is unchanged.

@bjoycerobo
bjoycerobo marked this pull request as ready for review August 12, 2026 21:34
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