{# Homepage status frame — five counters with a 24h/7d window toggle. Initial paint is server-rendered from `home_stats` in ctx (no spinner, no FOUC). The toggle JS calls GET /api/me/home-stats?window= and rewrites the card values in place. #}
Status
Last sync
{% if home_stats.last_pull_at %}—{% else %}never{% endif %}
your last agnes pull
Sessions
{{ home_stats.sessions }}
last {{ home_stats.window }}
Prompts
{{ home_stats.prompts }}
user messages
Tokens
{{ home_stats.tokens.total }}
in + out + cache
Projects
{{ home_stats.projects }}
distinct cwd