Hide local path displays in the TUI footer and startup splash when enabled.
Hide the current git branch in the TUI footer when enabled.
Some providers (e.g. Fireworks) require fully-qualified IDs like
accounts/fireworks/models/... that crowd out the rest of the status bar;
strip the registered prefixes before display.
Return whether env var name is set to a recognizably truthy value.
Unlike bool(os.environ.get(name)), this does not treat "0" or
"false" as enabled. Use this for on/off flags where the user would
reasonably expect VAR=0 to mean "disabled".
Get the glyph set for the current charset mode.
A label that displays a model name, right-aligned with smart truncation.
When the full provider:model text doesn't fit, the provider is dropped
first. If the bare model name still doesn't fit, it is left-truncated
with a leading ellipsis so the most distinctive tail stays visible.
Status bar showing mode, auto-approve, cwd, git branch, tokens, and model.