Repository navigation
ScreenMind 0.2.6
ScreenMind 0.2.6 makes idle capture actually idle, lets ScreenMind use a llama-server you already run, and gives every day its own saved summary and standup. All three changes come from community bug reports. Sorry for the delay in this release
Highlights
- Idle capture is really idle (#26): On a still screen, ScreenMind now checks once per
capture_interval(default 40s) instead of every 5 seconds. Frames are compared in memory first, so duplicates never touch the disk. Switching apps still triggers a check right away. - Bring your own llama-server (#27): If a llama-server already answers at
LLAMA_SERVER_HOST, ScreenMind uses it. No local binary is needed and you're not asked to install one. It's picked up within about 10 seconds even if you start it after ScreenMind, and dropped when it stops. - A summary for every day (#29): Each day keeps its own summary and standup. Cards show when they were generated ("Generated 3 hours ago"), switch to Regenerate, and remind you when today's summary is out of date. New date pills jump to recent days that have something generated.
Bug Fixes
Capture
- Idle mode never slowed down: it measured from the last save instead of the last check, so a still screen was checked every 5 seconds forever.
- Duplicate frames were saved as JPEG (and encrypted), then deleted. They're now dropped in memory.
- Failed screen grabs (e.g. a Wayland portal error) back off instead of retrying every poll.
- A window title that keeps changing (timers, unread counts) wakes an idle check at most every 10 seconds.
- Starting capture again right after stopping it captures immediately.
External llama-server
- The "is a server already running?" check only ran when a local llama-server binary existed. Without one, the dashboard showed "no model" and locked Chat, Summary and agents, even though screen analysis worked.
- Detection used
127.0.0.1:LLAMA_SERVER_PORTinstead ofLLAMA_SERVER_HOST, so servers on another port or machine were missed. - A server still loading its model shows as "starting", and ScreenMind no longer tries to start a second server on the same port.
- A server whose model can't be identified is used as "Unknown model" instead of being ignored.
- The dashboard's status check no longer waits on the network.
- Switch and Retry are disabled while an external server runs, with a clear message. Downloads still work but don't start the model.
Summary page
- Changing the date no longer leaves the previous day's summary on screen.
- Days with only a standup no longer show an empty summary card.
- A summary that finishes after you've moved to another day stays on its own day, and you get a "ready" notification.
- Generate always uses the date shown on the page, even after you change the date on Timeline.
- The page refreshes when you come back to it, and Generate turns on as soon as the model is ready.
- If a day fails to load, the page says "Couldn't load — Retry" instead of "not generated", so you can't overwrite a summary by accident.
Under the hood
- Database schema v8 adds a separate generation time for the summary and the standup. The migration runs automatically.
- New
GET /api/summary/datesendpoint; the generate endpoints now returngenerated_at. - 28 new tests covering capture throttling, the external-server lifecycle and per-day summaries (722 passing).
Thanks
Thanks to @neogeomat for three detailed, reproducible reports (#26, #27, #29), each with a suggested fix.
Upgrade
No configuration changes are needed. To use your own llama-server, set LLAMA_SERVER_HOST to its address (e.g. http://192.168.1.20:8080).
Full changelog: v0.2.5...v0.2.6
PyPI: https://pypi.org/project/screenmind/0.2.6/