Tazewell/dsh-session-tidy ↗★ 1

dsh-session-tidy

Delete DSH sessions into a recoverable trash instead of only archiving them, and edit an already-sent request by branching. 适合需要安全删除/恢复会话以及分支编辑历史消息的DSH用户。

Package
dsh-session-tidy
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Oct 22, 2026

Other repositories with this package name

Install

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

使用

侧边栏里每个会话的悬浮操作区和「…」菜单各有一个删除入口:

  1. 点击删除 → 确认对话框显示会话标题。
  2. 确认后 Host 先停止该会话正在跑的任务(子代理、后台命令、定时提醒), 再把它移入回收站,并清掉投影缓存。
  3. 侧边栏底部的垃圾桶按钮打开回收站,可以:
    • 恢复:文件回到原来的会话目录、重新挂回原工作区、解除归档;
    • 彻底删除:立即删掉回收站里的目录,不可恢复;
    • 清空回收站:删除全部记录(会二次确认)。

当前正在主视图打开的会话不能删除:对话框会提示先切换到其他会话。