ami678-dev/session-manager ↗★ 1

@local/session-manager

Session alerts, safe deletion of archived sessions (optionally to the Recycle Bin), restart-scheduled cleanup, batch cleanup, and one-click leftover-file cleanup for the DeepSeek Harness Web GUI.

包名
@local/session-manager
兼容性
待验证
Harness 依赖范围
>=0.2.2-rc.1 <0.3.0
版本
1.2.0
最近更新
2026年11月11日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ami678-dev/session-manager

Usage

ActionResult
Approval / question / plan review on any sessionSticky popup
Session running → idle (while you are not looking at it)Popup + sound, auto-dismisses; subagent completions stay quiet
Session error eventError popup + sound
Click anywhere on a popup with a sessionOpens that session and dismisses the popup; Enter/Space works when the card is focused
Bell at the sidebar footToggle sound; Shift+click previews a test alert
Trash at the sidebar footOpen the batch cleanup dialog for archived sessions
Broom at the sidebar footScan leftover session files; open a location or move all to the Recycle Bin
Archived session → “…” → Delete archived session…Confirmation (with the Recycle Bin option), then delete or schedule
Archived session with subagent historyDescendant subagent logs are deleted with it

Batch cleanup: search by title or id, select rows (or all visible rows), then Delete (n). The result view reports deleted, scheduled, skipped, and failed sessions. Ticking the footer Recycle Bin box applies to the whole batch.

Leftover cleanup: the list is a scan of the sessions root; it never includes a registered, archived, pinned, pending-deletion, or known-subagent session. Each row has a checkbox (select-all is provided and everything starts selected), keeps its kind label (session directory / tombstone / empty directory) and full path, and 打开位置 / Open location reveals it in Explorer without changing anything. A scheduled session is still listed as archived until the next DSH start; the sticky popup names the restart requirement.

Preferences (muted) are stored in localStorage['dsh.session-manager.v1']. The bundle declares engines.dsh: ">=0.2.2-rc.1 <0.3.0", so the Plugin Manager refuses to install it on an incompatible host.