The TUI should keep the current model selection visible inside the prompt input frame and keep the active context budget visible directly below that frame. The compact composer status surface lets the user inspect the active model, provider, thought level, and current context length without scanning the sidebar or transcript.
This row is the compact first step of the broader session metadata surface. It must stay presentational: it renders state that the TUI already receives and must not introduce new runtime events, environment variables, storage schema, or provider behavior.
mode comes from TuiOptions.initialMode and later TuiSubmitPromptResult.mode.model comes from TuiOptions.initialModel, live model_request.payload.model
when available, and later TuiSubmitPromptResult.model.model is formatted as <provider>/<model>. The composer row splits on the
first /, renders the model segment first, and renders the provider segment
after it in a muted color. A bare model id renders the provider as -.thoughtLevel comes from TuiOptions.initialThoughtLevel and later
TuiSubmitPromptResult.thoughtLevel. Bootstrap derives it from the active
runtime model provider options and model catalog reasoning metadata. When no
explicit provider options are active, bootstrap falls back to the catalog
reasoning default level, then the first declared reasoning level. If explicit
provider options cannot be mapped to a catalog level, it renders as unknown.contextUsed and contextWindow come from the existing TUI session
projection and live model-complete usage updates. The composer must not
locally estimate model-visible tokens or introduce a second context counter.
The panel is a TUI projection only. It does not read session storage directly
and does not become a second state owner.Normal layout:
The compact composer status line is a single terminal row inside the input box:
<model> <provider> | <thoughtLevel> from the lower-left edge of the
input content area.esc to interrupt hint and the context meter are not part of this
row; they are rendered as the active status/context row described in
tui-input-active-status.md.During approval, clarification, selection, and workflow panels, the replacement panel owns the composer slot; this compact row is only part of the normal composer area.
The footer remains a live execution status area, not the canonical metadata surface. Token totals and todo items remain visible in the sidebar until the larger session metadata panel is implemented.
-, not as omitted fields.<model> <provider> | <thought>.default-deepseek/deepseek-v4-pro with thought max renders as
deepseek-v4-pro default-deepseek | max.K, and millions render as M.contextUsed is missing, omit the right-side context meter. If
contextWindow is missing or zero, render only the compact used length.esc to interrupt; when idle, the row may render only
the right-side context meter.