You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Expose hooks for modifying API usage and context window display #8791
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Expose plugin usable hooks for modifying or replacing the text found in the context display (in sidebar or upper right corner if sidebar disabled).
ex:
I use a subscription based provider that has rate limits which reset every few hours, I therefore do not need pricing information for the session, but would rather have a percentage of my rate limit displayed.
All that is needed for myself and others to customize this display are hooks for replacing the generation of this text with our own function, and for controlling when the display refreshes (interval or on event).
This issue might be a duplicate of an existing issue. Please check:
[FEATURE]: Native StatusLine Hook for Plugins (Context-Free Display) #8619: Native StatusLine Hook for Plugins (Context-Free Display) - Proposes exposing plugin hooks for displaying persistent contextual information like cost, context %, and model info without consuming context tokens. This directly addresses your use case of displaying rate limit percentage instead of pricing information.
Activity
github-actions commentedon Jan 16, 2026
This issue might be a duplicate of an existing issue. Please check: