Deeplink prompt is ignored if Codex app was not running

Open 💬 0 comments Opened Jun 30, 2026 by Strus

What version of the Codex App are you using (From “About Codex” dialog)?

26.623.70822

What subscription do you have?

Amazon Bedrock

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

We're working on an integration with Codex that allows our users to open files and folders with Codex. We use deeplinks this way: codex://new?prompt=@<file_path_in_quotes> . I noticed that when Codex app is not running, this deeplink just starts Codex fresh and not in foreground.

What steps can reproduce the bug?

  1. Quit Codex app
  2. Execute in Terminal: open "codex://new?prompt=hello"
  3. Observe Codex app starting:
  • The app window appears behind the currently active window
  • The app shows the new chat page with no prefilled prompt text

What is the expected behavior?

Codex app window should appears in foreground and show the new chat page with "hello" in the prompt box

Additional information

Feedback ID: no-active-thread-019f182f-086e-7972-b2be-da045389a030

View original on GitHub ↗