Files
codex/codex-rs/tui
Anton Panasenko 326bac6ce0 Show available slash commands in the disconnected TUI (#63258)
## Why

When the TUI loses its app server connection, users can still run
local commands, but the slash menu gives them no way to discover which
commands are available.

## What changed

Typing `/` while disconnected opens a navigable menu of local commands.
Searching for a server-dependent command such as `/model` shows it as
disabled and explains that it requires a server connection. The full
menu returns on reconnect.

While disconnected, the diagnostics command shows the thread ID when available and
explains that sending a report or saving a ZIP requires reconnecting.

## Testing

Add snapshots for the disconnected menu and disabled search results,
and regression coverage for selection across redraws, completion,
catalog restoration, draft preservation, offline diagnostics, and `/q`.

GitOrigin-RevId: 835e66ad7e436227f28f62708760c91185d1b3ec
2026-11-23 04:34:46 +00:00
..