Codex Remote Sessions Keep Working Directories Across Operating Systems

CodexView original changelog

Codex CLI 0.172.0 makes remote sessions preserve working directories, workspace roots and writable paths when the client and server run on different operating systems.

Key Takeaways

  • Working directories are preserved across platforms.
  • Workspace roots survive client/server OS differences.
  • Writable paths in the sandbox are kept.
  • Helps remote control setups such as laptop to Linux box.
  • Avoids wrong-directory sessions.
  • In Codex CLI 0.172.0.

Cross-OS remote sessions

Remote control and remote app-server sessions often connect a client on one operating system to a server on another, such as a Mac laptop driving a Linux machine. In 0.172.0, Codex preserves thread working directories, workspace roots and sandbox writable roots across that boundary.

Why it matters

Path formats and conventions differ between platforms. Without preservation, a session could land in the wrong directory or lose write access. The fix keeps remote sessions pointed at the intended project and sandbox boundaries.