D
dsh-archived-tasks
v0.1.0 · 2 天前发布
DSH web GUI plugin: an "Archived Tasks" settings page that lists archived sessions and supports restore or permanent delete
README
dsh-archived-tasks — DeepSeek Harness 已归档任务插件
English | 中文
DeepSeek Harness Web GUI 插件:在设置页新增一个已归档任务页面,列出所有
已归档会话,可一键恢复,或彻底删除其日志文件与注册表引用。
安装
已发布到 npm,作为 profile bundle 一条命令安装:
sh
dsh plugin --profile web add dsh-archived-tasks
安装后重启 dsh web,打开 设置 → 已归档任务 即可看到。
卸载:
sh
dsh plugin --profile web remove dsh-archived-tasks
功能
设置页列出 workspace 注册表中归档集合(archivedSessionIds)里的会话:
archivedSessionIds 中移除;会话日志与workspace 记账保持不变。
rm -rf 删除 data/sessions 下的会话日志目录,从归档集合中移除该 id,摘除内存中的会话,并从所有 workspace 的
记账列表中清除该 id。
删除路由有刻意防护:
^session-[0-9a-f-]+$,杜绝路径穿越。data/sessions/<encoded-cwd>/下一层。
dataRoot 解析顺序:版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- Apache-2.0
- npm
- dsh-archived-tasks
- Repo
- git+https://github.com/zhaoyw220716-oss/dsh-archived-tasks.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings"],"platform":"web"}}