What it does
The service does three things:- Parallel fetching: email, news and other sources are fetched concurrently on a small worker pool, so the dashboard assembles quickly.
- AI summarization: each source’s content is summarized by the LLM into a compact heading + body.
- Caching: summaries are cached by a content hash with a 30-minute TTL, so the same content isn’t re-summarized on every refresh.
Content-hash summary cache
Each piece of content is hashed, and the summary cache is keyed on that hash:- Cache hit (within 30 min) → the stored
{heading, body}is returned instantly. - Cache miss → a placeholder is shown and the summary is generated in the background, then filled in when it’s ready. The UI never blocks waiting on the model.
Launching it
The dashboard is summoned by thedemo or telepath query and runs automatically when the
desktop starts. You choose which cards appear with --cards=:
Cards that show email, news or weather fetch it each time the dashboard loads, from your mail
provider or the web, and each card’s summary is a request to the model selected in
Settings → Configuration. Choose which cards appear under Startup Cards.
Why it’s separate
The startup dashboard has its own service because its needs are different from a normal/chat:
concurrency (many sources at once), caching (don’t re-summarize unchanged content), and
background work (return the layout immediately, fill summaries in as they’re ready). Keeping
it in its own service isolates that logic from the main composition path.