StatusCtx
Fields
cache_hit_rate — Returns the cache-hit rate of the last turn as a percentage, or nil when the turn didn't use cache.
cache_read — Returns the session-cumulative cache-read tokens.
cache_write — Returns the session-cumulative cache-write tokens.
chars_per_second — Returns the streaming characters/sec.
context_percent — Returns the occupancy of the context window as a percentage, or nil when unknown.
context_used — Returns the tokens counted as in use by the context gauge.
context_window — Returns the context window of the model in tokens, or nil when unknown.
cwd — Returns the working directory.
default — Returns the ctx.default namespace.
effort — Returns the effort level name, or nil when none is set.
git_branch — Returns the current git branch, or nil outside a work tree.
input_tokens — Returns the session-cumulative non-cached input tokens.
mode — Returns the active mode within that personality.
model — Returns the model name, e.g. sonnet.
output_tokens — Returns the session-cumulative output tokens.
personality — Returns the active personality name.
provider — Returns the provider name, e.g. claude-code.
session_name — Returns the user-assigned session title, or nil when none is set.
thinking — Returns the thinking keyword (think/nothink), or nil when unpinned.
tokens_per_second — Returns the measured streaming tokens/sec, or nil when not measured.
turn_active — Returns whether a turn is currently streaming.
width — Returns the terminal width in columns.