Codex should provide meaningful OSC 0/2 for Terminal Title
What version of Codex CLI is running?
0.118.0
What subscription do you have?
pro
Which model were you using?
5.3-codex
What platform is your computer?
mac os
What terminal emulator and version are you using (if applicable)?
vscode
What issue are you seeing?
Coming from https://github.com/microsoft/vscode/issues/290830 and https://github.com/microsoft/vscode/pull/304528
Note that all other CLI such as gemini, claude, copilot provides meaningful terminal title via OSC 0/2, but codex does not, leading to fallback on just workspace name from pwsh.
With new vscode setting terminal.integrated.tabs.allowAgentCliTitle we allow CLIs to set their own terminal tab title name, and it would serve codex good if you guys can contribute title, this way to prevent confusion to users and have better UI/UX for them when in embedder like vscode, cmux, or even on windows powershell.
What steps can reproduce the bug?
- Open vscode.
- set
terminal.integrated.tabs.allowAgentCliTitleto enalbed - Launch codex via typing codex in integrated terminal
- Watch title is meaningless compared to those set b y other CLIs.
What is the expected behavior?
Contribute osc 0/2 to set meaningful terminal title for embedder to set accordingly.
Additional information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗