agent-zero/plugins/_context_window
Alessandro f8c96860c2
Some checks are pending
Build And Publish Docker Images / plan (push) Waiting to run
Build And Publish Docker Images / build (push) Blocked by required conditions
Add context window usage indicator
Add a bundled context-window plugin with a composer usage ring, responsive breakdown popover, token counts, percentages, and free-space reporting.

Keep accounting plugin-owned, reuse existing history token counts, cache bounded prompt fragments by content, and expose independent mobile and desktop visibility controls.
2026-08-23 06:08:41 +02:00
..
api Add context window usage indicator 2026-08-23 06:08:41 +02:00
extensions Add context window usage indicator 2026-08-23 06:08:41 +02:00
helpers Add context window usage indicator 2026-08-23 06:08:41 +02:00
tests Add context window usage indicator 2026-08-23 06:08:41 +02:00
webui Add context window usage indicator 2026-08-23 06:08:41 +02:00
__init__.py Add context window usage indicator 2026-08-23 06:08:41 +02:00
AGENTS.md Add context window usage indicator 2026-08-23 06:08:41 +02:00
plugin.yaml Add context window usage indicator 2026-08-23 06:08:41 +02:00
README.md Add context window usage indicator 2026-08-23 06:08:41 +02:00

Context Window

The bundled Context Window plugin adds a compact usage ring beside the chat's model and agent selectors. Its popover shows token counts and full-window percentages for Messages, System tools, Skills, MCP tools, System prompt, Extras, and Free space.

Older chats gain the detailed breakdown after their next model turn. Mobile and desktop visibility can be changed under Settings > Interface.