Skip to content
Source
Sign inSign up
pingdotgg/t3code

~~[Bug]~~ Workaround for T3Code failing with `brew codex` & 5.6 models #3843

Closedlastobelus(GitHub profile, opens in a new tab) opened this issue 1 comment

NOTE: see below for workaround. This is brew's fault.

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

Homebrew cask codex 0.144.0 installs only codex-aarch64-apple-darwin linked as codex, with no codex-code-mode-host. A temporary symlink from codex-code-mode-host to codex changes the error from missing executable to code-mode host exited during handshake, confirming T3 requires a distinct host binary/protocol. T3 Code 5.5 and Codex Desktop/CLI work normally.

  1. Install or reinstall the Brew cask:
brew reinstall --cask codex
codex --version

Expected: codex-cli 0.144.0.

  1. Confirm the required host is not installed:
ls -l /opt/homebrew/bin/codex /opt/homebrew/bin/codex-code-mode-host
find /opt/homebrew/Caskroom/codex/0.144.0 -type f -name '*code-mode*' -print

Expected: codex exists; codex-code-mode-host does not.

  1. In T3 Code, select a 5.6 model and send:
Do not edit files. Run `pwd` and return the raw output.

Expected failure:

failed to spawn code-mode host /opt/homebrew/bin/codex-code-mode-host:
No such file or directory (os error 2)
  1. Optional protocol confirmation—create a temporary symlink:
ln -sfn /opt/homebrew/bin/codex /opt/homebrew/bin/codex-code-mode-host

Repeat step 3 with a 5.6 model.

Expected changed failure:

code-mode host exited during handshake
  1. Clean up the test:
rm /opt/homebrew/bin/codex-code-mode-host
  1. Control: repeat step 3 using a 5.5 model. Expected: pwd succeeds.

NOTE: missing codex-code-mode-host also affected codex-cli & codex desktop for many people but doing full re-install of the codex package fixes it. OMM brew reinstall codex solved the issue for codex-cli & codex desktop, but not t3code.

Expected behavior

tool calls should work with 5.6 models & latest latest brew codex package

Actual behavior

tool calls do not work with 5.6 models & latest brew codex package

Impact

Blocks work completely

Version or commit

0.0.29-nightly.20260709.769 (f61fa9499d96)

Environment

Apple m5 macOS 26.5.1 (25F80)

Workaround

Confirmed workaround on macOS/Homebrew cask install:

brew reinstall --cask codex installs only /opt/homebrew/bin/codex; it does not install the sibling codex-code-mode-host executable.

ChatGPT.app bundles a host executable, so until the brew package is fixed this temporary workaround restores tool calls:

ln -s \
  /Applications/ChatGPT.app/Contents/Resources/codex-code-mode-host \
  /opt/homebrew/bin/codex-code-mode-host

After adding the symlink, tool calls succeed in T3 Code on GPT-5.6.

  1. lastobelus(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. This is brew's error, not t3code's.

Sign in to join this conversation.