
Fixing Cross-OS Remote Sessions in Codex CLI 0.172.0
Learn how the latest stable CLI release preserves working directories, workspace roots, and sandbox writable roots across different operating systems, plus why you should clean out the deprecated code_mode_host_grpc setting. We also cover sharper provider error reporting, per-tool approval reviewers, multi-agent reply preservation, and CSV table previews in the Codex desktop app.
Chapter 1
Cross OS Remote Sessions in Codex CLI 0.172.0
James Turner
If you have ever tried running a local Codex client on macOS or Windows against a remote Linux app server, you know the exact kind of path headache I am talking about. You pass a working directory, the server expects a different root, and suddenly your sandbox writable paths are out of sync. Before we get into the fix that just landed in Codex CLI 0.172.0, thanks to Jellypod AI for sponsoring this episode. Now let us look at what actually changed on November 24, 2026.
James Turner
Codex CLI 0.172.0, tagged as rust v0.172.0 at commit 3d86e43, shipped a set of three tightly related fixes for remote sessions. Specifically, pull requests 62375, 62376, and 62377. When the client and the server run on different operating systems, remote sessions now preserve three things across the boundary: thread working directories, workspace roots, and sandbox writable roots. Previously, if you connected from a local workstation to a remote Linux app server using the remote flag on codex exec, path and root mismatches could break your session setup or throw off your sandbox boundaries.
James Turner
Why does this matter in practice? Because remote execution is only useful if it is predictable. If you are developing on a Mac laptop and offloading heavy builds or tests to a beefy Linux box, you want your workspace roots and writable paths to stay intact without manual babysitting. With 0.172.0, the app server preserves those paths automatically across platforms, which means your sandbox boundaries remain intact and your remote session behaves the way you expect.
James Turner
Getting this running is straightforward. First, update to the current stable release using npm install with the global flag for @openai/codex@0.172.0. Once you are on 0.172.0, you can start or resume a remote session against an existing app server, either with codex exec and the remote flag pointing to your server address, or through the TUI remote controls. You do not need to manually re-specify your workspace roots or writable roots on the remote host anymore.
James Turner
Now, there are a few caveats to keep on your radar before you upgrade. First, if you look at the GitHub releases page right now, you will see a lot of pre release churn. Versions 0.174.0 alpha 1 through 0.174.0 alpha 7 were all published between November 24 and November 26, 2026. Do not let that confuse you: 0.172.0 is still the latest stable release, so stick with 0.172.0 for production workflows. Second, in 0.172.0, Code Mode now uses gRPC for all host connections, and the code_mode_host_grpc setting is officially deprecated in pull request 62476. If you have that setting in your config, it is time to clean it out.
Chapter 2
Quality of Life Updates and Caveats
James Turner
Beyond remote sessions, 0.172.0 packed in several smaller quality of life improvements that we did not cover last time. One big one is per tool approval reviewers in config.toml, from pull request 62360. You can now set an approval reviewer for individual connected app tools directly in your configuration. One small caveat here: the public release notes do not detail the exact CLI flags or config syntax beyond config.toml support, so check the schema or docs before wiring it up.
James Turner
Error reporting also got much sharper. Under pull requests 62329 and 62356, Codex now reports provider errors the moment they arrive in a response stream, and it explicitly identifies which API spend limit was reached. No more waiting for a stream to finish just to find out you hit a limit. In the agent command center, pull request 62200 lets you jump between task groups using Shift Up and Shift Down, and pull request 62209 lets you use PageUp and PageDown to read and submit answer choices that are taller than the terminal answer area.
James Turner
Multi agent workflows also got a nice safety net in pull request 62348. If you interrupt a parent turn, Codex now preserves queued replies from child agents for the next turn instead of dropping them. Also, app server clients can now select Amazon Bedrock Runtime during setup or sign in, thanks to pull request 62222. And if you are migrating models, the bundled openai docs skill in pull request 62447 now covers migration to GPT 6.2 Astra and Sol, including endpoint choices and tool calling requirements.
James Turner
Finally, a quick note on the Codex desktop app. Version 26.1120 shipped on November 23, 2026, adding CSV table previews with inline View source editing in the same tab, plus the editor now remembers whether you last used source or preview mode when you open another Markdown file. Update to CLI 0.172.0, test out your cross OS remote sessions, and check your config for that deprecated gRPC flag. That is all for today.