Status bar showing mode, auto-approve, cwd, git branch, tokens, and model.
HorizontalCompose the status bar layout.
Manage visibility of status items based on terminal width.
Priority (highest first): model, cwd, git branch.
Set reactive values after mount to trigger watchers safely.
Update mode indicator when mode changes.
Update auto-approve indicator when state changes.
Update cwd display when it changes.
Update branch display when it changes.
Update status message display.
Set the current input mode.
Set the auto-approve state.
Set the status message.
Update token display when count changes.
Set the token count.
Forces a display refresh even when the value is unchanged, because
hide_tokens clears the widget text without updating the reactive
attribute.
Hide the token display (e.g., during streaming).
Update the model display text.