DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Delete Archived Session — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

dsh-delete-archived-session

Delete Archived Session

List and delete archived DeepSeek Harness sessions: move a session's log to a trash folder (reversible) or purge it, behind explicit confirmation and per-log ownership proof.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:ocelot-D/dsh-delete-archived-session#df7dc46e94d388bae913f858bba5e838d34884f4
READMECompatibilityVersions

Compatibility and provenance

Delete Archived Session is published as dsh-delete-archived-session and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/16/2026

Versions

0.1.0stable
10/16/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/16/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in security-access.

Experimental Auto Review@deepseek-ai/dsh-experimental-auto-reviewPer-tool LLM authorization review for the DeepSeek Harness Auto permission presetCc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessDoctor@linxin666/dsh-doctorTransactional rescue mode for DSH profiles with a supervised launcher, isolated recovery capsule, deterministic repairs, health monitoring, and a local Web recovery consolePocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).

README

dsh-delete-archived-session

一个 DSH 插件:列出并删除已归档的会话。 DSH 本身只有「归档」和「取消归档」两个操作。归档只是把会话藏起来,日志永远留在磁盘上,官方没有任何办法把那块空间收回来。

安全设计

删会话就是把聊天记录销毁掉,所以这个插件刻意做得很保守。

1.只删已归档的。

2.必须明确确认。

3.必须先证明归属。

4.不跑出根目录。

5.默认可以恢复。

6.顺手清掉归档记录。

7.DSH不崩。

安装

这是一个标准的 DSH 插件包:package.json 里声明了 dsh.bundle.patch,cordis.patch.yml 负责插入一行。

方法一(推荐):在对话里说一句「把这个插件装上」,让 AI 调用插件管理器安装。

方法二:自己手动加。在 profile 的 package.json 里加依赖并登记 bundle:

{
  "dependencies": { "dsh-delete-archived-session": "file:./dsh-delete-archived-session" },
  "dsh": { "profile": { "bundles": ["dsh-delete-archived-session"] } }
}

装好后需要重启 DSH 才生效。

配置

插件不导入 Node 标准库以外的任何东西——它注册的是朴素的工具/命令描述对象,也不接受 schemastery 的 Config。这样做是为了不管 profile 怎么提升 DSH 自身的依赖,它都能挂载成功。

配置因此走环境变量:

环境变量默认值含义
DSH_DELETE_ARCHIVED_SESSIONS_ROOT$DSH_HOME/sessions要操作的会话根目录
DSH_DELETE_ARCHIVED_SESSIONS_TRASH<根目录>/../.deleted-sessions删除时移入的回收站
DSH_DELETE_ARCHIVED_SESSIONS_PERMANENT不设(允许永久删除)设为 0、false 或 no 则禁止永久删除,强制走可恢复路径

$DSH_HOME 的读取方式和 DSH 本身一致:先看 $DSH_HOME,没有就用 ~/.dsh。