Codex 升到 0.171.0 后,本地链接只能在侧栏预览?先核对终端工作区开关
升到 Codex CLI 0.171.0 之后,有人点本地链接,结果只在侧栏里打开预览;目录和 PDF 这类非文档对象打不开,看起来像升级把功能弄坏了。先别急着重装。按官方更新说明,这更像默认行为变了。 2026 年 11 月 20 日的 0.171.0 更新写明:终端工作区(TUI workspace)改为默认开启。主对话旁边会出现可搜索的文档预览、图片预览,以及子代理记录。也就是说,很多以前会交给外部打开的本地链接,现在会先走进这个只读侧栏。官方对预览的说明集中在文档和图片,并没有把目录或 PDF 写成可预览对象。因此,目录或非文本文件打不开,并不等于安装损坏。 下面按官方说明分成四步核对,每一步都有预期结果。不是一次新的实测。 第一步:先确认版本 在终端运行: codex --version 如果低于…
After upgrading to Codex CLI version 0.171.0, some users have reported that local links only open previews in the sidebar. Directories and PDFs fail to open, making it appear as though the upgrade broke functionality. Before hastily reinstalling, it's recommended to follow the official update instructions, which indicate that this is more likely a change in default behavior.
According to the 0.171.0 update notes dated November 20, 2026, the terminal workspace (TUI workspace) is set to default on. This will display searchable document and image previews, as well as child proxy records alongside the main dialogue. Many local links that previously opened externally will now open in this read-only sidebar.
The official documentation focuses on previewing documents and images, but does not list directories or PDFs as previewable objects, so failure to open these does not necessarily mean the installation is corrupted.
To verify the change, follow these four steps:
1. Confirm the version: Run `codex --version` in the terminal. If the version is lower than 0.171.0, you won't see the default workspace change. Update to 0.171.0 or higher first, then proceed to the next steps. If you're already on 0.171.0 or later, move on to checking the workspace setting.
2. Check the current `tui_workspace` status: Run `codex features list`. This command lists known feature switches and their maturity levels. Look for `tui_workspace`. In the 0.171.0 source code, this setting is marked as "Stable" and is enabled by default. If it appears enabled in the list, this aligns with local links opening in the sidebar.
3. Temporarily disable the workspace to test again: If you just want to temporarily disable the workspace to test the same link again, you don't need to edit a config file. The CLI provides the `--disable` flag, which forces a feature switch off, equivalent to `features.tui_workspace=false` for this update. To do this, run `codex --disable tui_workspace` in a new session, then click the local link again.
Note the result: is it still opening in the sidebar preview, or does it go back to opening the way it did when the workspace was disabled?
4. Permanently disable the workspace: To make the change permanent, use the official feature switch command: `codex features disable tui_workspace`. This command writes the setting to `$CODEX_HOME/config.toml` (the default is `~/.codex/config.toml`). Alternatively, you can add `tui_workspace = false` under the `[features]` section in that file.
After making the change, open a new session and run `codex features list` again to confirm the setting is now disabled. Then, click the same local link to verify the change. If you prefer to keep the workspace, you can leave it enabled. The official documentation suggests it's placed next to the main dialogue to preview documents, images, and child proxy records.
In this case, the more reasonable expectation is that Markdown documents and similar files can be searched and viewed in the sidebar, while directories or PDFs not opening does not indicate a client problem.
Note that this issue should be distinguished from another common problem: some users have experienced child agents not resuming automatically after hitting speed limits. There is no "automatic resume" switch in the official documentation, so this issue cannot be fixed with a single command. The recommended path is to manually select the child agent thread in the list and check or continue its work. This is a manual operation, not an automatic recovery process.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to