kaixinbaba/dsh-session-activity ↗★ 0
dsh-session-activity
DSH 侧边栏会话整理插件。根据可配置的最后更新时间对会话进行活跃分组(如 Hot/Warm/Cool/Cold),支持注意力优先排序和专注模式。
AI 分析
核心用途是优化 DSH 侧边栏的会话组织结构。适合会话数量较多、需要根据活跃度自动分类并隐藏冷会话,或需要专注模式以提高工作效率的用户。支持在设置中自定义时间范围。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaixinbaba/dsh-session-activity说明文档
阅读完整 README ↗Configuration
Open Settings → Session Organizer to edit and save these values. Browser edits are stored in $DSH_HOME/session-organizer.json, override the profile defaults, and update the open sidebar immediately.
The defaults are:
config:
hot:
label: Hot
within: 3h
expanded: true
warm:
label: Warm
within: 1d
expanded: false
cool:
label: Cool
within: 2d
expanded: false
cold:
label: Cold
expanded: false
focus:
defaultEnabled: false
refreshEvery: 1m
You can also configure the existing dsh-session-activity plugin row in your profile; do not insert the same plugin id a second time. Values saved from Settings take precedence over that composition config.
Durations accept positive integers followed by m, h, d, or w. The thresholds must satisfy hot.within < warm.within < cool.within. Cold is always the unbounded final group. refreshEvery must be at least 1m.
Boundary membership uses the older side at equality:
- Hot: age
< hot.within - Warm:
hot.within ≤ age < warm.within - Cool:
warm.within ≤ age < cool.within - Cold: age
≥ cool.within
Group names, initial expansion, and initial Focus state come from configuration. After a user changes Focus or a group's expansion, the browser persists that choice across reloads. The current Session is shown from a collapsed group without overwriting the saved collapse preference.