Mark a session as unread/read from the sidebar (inverse of session seen)
#236
Replies: 2 comments
|
the unread badge is the OSC-9/777 / for a reminder that survives the visit, that's what agterm's per-session status is for. Out of the box it's wired to your agents' activity (the status hooks you install via Help), but it's not limited to that - it's a plain per-session status you fully drive from the CLI, so setting it yourself as a follow-up marker is a first-class use:
both are one keybind away as custom commands, so "mark this session for follow-up" is already scriptable today, and unlike the badge it sticks. If you literally want the badge itself, so I'm going to pass on the GUI mark-unread action. The reminder use case is already covered by status and flag, and the badge is deliberately the ephemeral notification layer. |
|
Thanks for the detailed answer — makes sense, and you're right that the badge should stay the ephemeral notification layer.
|
Uh oh!
There was an error while loading. Please reload this page.
When an agent finishes or asks something, I jump to the session, and the unseen badge clears — but often I can't deal with it right away and want to leave a reminder to come back, the way chat apps let you mark a conversation as unread again.
Proposal
agtermctl session seenfrom Add a headless "ack" command to clear a session's unseen-notification badge without visiting it #148). Works on the multi-selection like the other batch row actions.session flagshape:session seen [on|off|toggle], with baresession seenunchanged (=on), and the existingunseentree field as the read-back.Open questions
session seen offvs a separatesession unseencommand?Happy to implement this and send a PR (tests, agent-skill docs, README/site included) if the idea fits.
All reactions