Codex App could not read terminal
What version of the Codex App are you using (From “About Codex” dialog)?
26.616.31447
What subscription do you have?
plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
I’m using Codex Desktop on Windows. In this thread, the visible terminal panel exists in the UI, but the agent cannot read its contents via the provided read_thread_terminal tool.
When the agent calls codex_app.read_thread_terminal, it returns:
No app terminal session is attached to this thread yet.
So the issue is: the Codex Desktop UI appears to show a lower/right terminal, but that terminal is not attached to the current Codex thread from the agent/tooling perspective. Because of that, the agent cannot inspect the terminal output, even though it is visible to the user in the app.
What steps can reproduce the bug?
Feedback ID: 019edefd-f9ca-7671-8f46-c58e917335fc
What is the expected behavior?
codex should able to read the inside terminal, it works fine before I updated to v26.616.31447 today.
Additional information
I've tried adding Computer Use plugin to Codex, giving Codex full control access, rebooting Codex serveral times, creating new chat.
all of above doesn't fix the issue.
17 Comments
Same here. Hope they can fix. the integrated terminals have been mostly usless for me with CODEX since release.
+1
Same here for 26.616.41845 on Mac, it did work before update
I can reproduce the same issue on macOS.
Environment:
codex doctor: 0.142.0-alpha.6Observed behavior:
The integrated terminal can be opened in the Codex Desktop UI, but the agent cannot read it. When the agent checks the terminal, it consistently receives:
please fix it。
Code App: 26.623.31921
No app terminal session is attached to this thread yet.
Version 26.623.81905 • Released Jul 1, 2026
macos
same problem
This issue is still reproducible on Windows Codex App 26.630.12135.
codex_app.read_thread_terminalstill returnsNo app terminal session is attached to this thread yet.Finally! It's now fixed at 26.721.30844, Released Jul 24, 2026! 💯
Still reproducible for me after the claimed fix.
Environment:
This happens even though the app version is newer than 26.721.30844, which was reported as fixed in this issue:
Observed:
codex_app.read_thread_terminalstill returns:I can reproduce the same issue on macOS.
Environment:
arm64)The integrated terminal is visible and fully interactive. For example, I can run:
However, when the agent calls
codex_app.read_thread_terminal, it consistently returns:The terminal shown in the UI therefore appears not to be attached to the current thread from the agent/tooling perspective.
I have reproduced this after:
The terminal remains usable by me, but the agent cannot read its output.
This suggests that the issue is not Windows-specific and may be a cross-platform problem in the Desktop app’s terminal-to-thread/app-server attachment layer. I can provide logs, a screenshot, and the affected thread ID if helpful.
Still reproducible on Windows:
The integrated terminal is visible and interactive, but
read_thread_terminalreturns:The error appears 35 times in my local logs. Sanitized entries show:
This matches the thread ID mismatch in #31417. Microsoft Store currently offers no newer package.
Update: The integrated terminal is now readable in my local Desktop thread.
Previously, codex_app.read_thread_terminal consistently returned:
No app terminal session is attached to this thread yet.
After installing the latest app update, restarting the app, and setting a profile/avatar image, the terminal attachment started working. The tool now returns the integrated terminal snapshot correctly, including the working directory, shell, command, and output.
Example:
cwd: <local-project-path>
shell: zsh
% echo test
test
I cannot confirm which step actually resolved the issue. However, another user also mentioned that setting an avatar/profile image appeared to make the terminal work for them. This may indicate that a profile/account state refresh causes the Desktop app to re-materialize or repair the thread-to-terminal attachment state.
If others are still affected, it may be worth trying the following sequence:
Install the latest Desktop app update.
Fully restart the app.
Set or update the account profile/avatar image.
Open a new local Desktop thread.
Open the integrated terminal and run a simple command.
Ask the agent to read the terminal output again.
This does not prove that the avatar itself is the root cause, but it may be a useful workaround or diagnostic signal for stale account/session/thread metadata.
Additional Windows reproduction
Codex App version:
26.810.7004.0Platform:
Microsoft Windows NT 10.0.19045.0 x64Actual behavior
After updating the Windows app on 2026-08-17, a newly opened integrated terminal in the currently visible thread is interactive and displays command output, but the agent cannot read it.
codex_app.read_thread_terminalconsistently returns:This functionality worked before the app update.
Steps to reproduce
status: queuedeven though the thread is visible. Navigating back to the same thread and retrying still does not attach the terminal.Expected behavior
Codex should be able to read the output of a newly created integrated terminal scoped to the currently visible thread.
totally same issue n bother me a lot.
Try choosing an Avatar!
Powered by Codex & OWL
版本 26.820.71523
发布于 2026年8月27日
什么辣鸡软件啊
I kept running into this and what i found out finally from Codex itself is that it could run this from a symlink'd directory. The project folder must be in a real live path that doesnt have a symlink in it.