Collapse turn details by default in the full-screen transcript (#63788)

## What changed

Summarize tool calls and collapse completed turns when
`tui.collapse_turn_details` is unset, including when the entire `[tui]`
table is absent. Set `tui.collapse_turn_details = false` to opt out.

Keep patches out of tool-call summaries so their inline diffs stay
available for review during approval. Record the configured setting at
startup with the `codex.tui.collapse_turn_details` counter.

## Testing

Update configuration tests to cover the new default and an explicit
opt-out.

GitOrigin-RevId: 8a1de12bd2a26f445bbc1eee68f31fe93fe4925a
This commit is contained in:
Eric Traut
2026-11-25 01:13:00 +00:00
committed by copyberry
parent 1ace17a02e
commit da973317bb
9 changed files with 17 additions and 10 deletions
+2 -2
View File
@@ -5555,8 +5555,8 @@
"type": "boolean"
},
"collapse_turn_details": {
"default": false,
"description": "Summarize tool calls and collapse completed turns in the full-screen transcript. Defaults to `false`.",
"default": true,
"description": "Summarize tool calls and collapse completed turns in the full-screen transcript. Defaults to `true`.",
"type": "boolean"
},
"copy_on_select": {