kaixinbaba/dsh-session-activity0

dsh-session-activity

Organize DSH sidebar sessions by configurable last-updated activity groups with attention-first sorting and Focus mode.

包名
dsh-session-activity
版本
0.1.2
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaixinbaba/dsh-session-activity

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.