Files
codex/codex-rs/tui
Eric Traut debcc79621 Use destination app-server defaults for new TUI sessions (#64821)
## Why

A fresh session could send client-side execution settings as thread
overrides, even when the destination app server had its own defaults.
The TUI also needs the destination settings when preparing the first turn.

## What changed

Use the destination defaults to prepare the first turn for session
replacement, starts from the agents overview, and backend switches.
Keep explicit launch choices and managed new-thread defaults in the
start request, and let the server resolve its own model and reasoning
effort. When `config/read` is unavailable, omit implicit execution
overrides and avoid replacing server instructions with terminal
visualization text alone.

## Testing

Extend session replacement tests to check the start request and first
turn, including shadowed launch settings, server instructions with
terminal visualization enabled, and compatibility with older servers.

GitOrigin-RevId: d66d6d51495ee067282514a138f7e39abfd91f2f
2026-11-30 22:39:43 +00:00
..