# feat\(sessions\): keep session state current and tidy session cards \(\#375\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/5475a23eb6119caeaf41b683c013160a94e0fae9)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 5475a23eb6119caeaf41b683c013160a94e0fae9

Requested commit: 5475a23eb6119caeaf41b683c013160a94e0fae9

Commit: 5475a23eb6119caeaf41b683c013160a94e0fae9

Tree: df313940cdcf8c948866af8b7bd8d3c0f5037d31

Author: Simone

Committer: GitHub

## Message

```
feat(sessions): keep session state current and tidy session cards (#375)

While the Sessions tab is visible it now rescans every 30 seconds, or at the
refresh interval when that is shorter, matching the macOS local session
monitor. The CLI marks a session active only within a two-minute activity
window, so the previous refresh-interval cadence (five minutes by default)
could show "Active" beside "4 minutes ago" and keep ended sessions listed.

Session cards mark the active state with the theme's positive color instead
of the provider accent, dim idle sessions, keep a single copy action beside
the title, and drop the details copy action. Details use a middle dot
separator, name OMP Pi-family sessions from the CLI dialect, and show the
host only when sessions come from more than one host. CopyableValue rounds
its text width up so layout rounding cannot elide a title that fits.

Documentation impact: CHANGELOG Unreleased, usage guide Sessions entry,
development guide SessionsController cadence note, regenerated README
Sessions capture and tour GIF sessions frame. Catalogs drop the unused
"Copy session details" string. TODO.md is unaffected.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
```

## Parents

- [0c3e38afa572c2b9903ca2843235df9897098636](https://git.cafe/lucenx/codexbar-plasma/commit/0c3e38afa572c2b9903ca2843235df9897098636?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/5475a23eb6119caeaf41b683c013160a94e0fae9?format=markdown)
