跳过主要内容
W

dsh-plugins (dsh-todo-guard)

wxlei2004/dsh-plugins/packages/dsh-todo-guard

任务清单陈旧度守卫:监听会话事件流,统计上一次 todo_write 之后又发生了多少次工具调用;超过可配置阈值时在下一步之前追加一条简短提醒,并附上当前清单内容,让模型把清单写回真实进度,而不是在界面上留一份过期的快照。纯提示注入,不阻断流程,也不改动任何数据。

安装

dsh plugin --profile web add github:wxlei2004/dsh-plugins

该插件位于仓库的 packages/dsh-todo-guard 子路径下。

README

dsh-plugins

DeepSeek Harness 插件集合 / A collection of DeepSeek Harness plugins.

插件列表

插件说明版本
dsh-todo-guard任务清单陈旧度守卫:模型忘记回写清单时自动提醒0.1.0
dsh-re-workbench逆向分析工作台:IDA Pro 桥接(idalib 无头 / GUI RPC 双模式)0.1.0
dsh-thesis-workbench论文/实证分析工作台:SPSS 执行 + 常用统计一键跑 + OMS 结构化结果0.1.0

安装

每个插件都可以单独安装。

通过插件市场

在 DSH 的插件市场里搜索插件名。

从 npm 安装

dsh plugin --profile desktop add <plugin-name>

例如:

dsh plugin --profile desktop add dsh-todo-guard
dsh plugin --profile desktop add dsh-re-workbench
dsh plugin --profile desktop add dsh-thesis-workbench

从 GitHub 直接安装

dsh plugin --profile desktop add github:wxlei2004/dsh-plugins#path:/packages/<plugin-name>

例如:

dsh plugin --profile desktop add github:wxlei2004/dsh-plugins#path:/packages/dsh-todo-guard

本地开发安装

git clone https://github.com/wxlei2004/dsh-plugins.git
cd dsh-plugins
dsh plugin --profile desktop add link:$(pwd)/packages/dsh-todo-guard

仓库结构

dsh-plugins/
├── packages/
│   ├── dsh-todo-guard/         # 每个插件一个子目录
│   │   ├── lib/                # 源码
│   │   ├── cordis.patch.yml    # bundle patch(挂载声明)
│   │   ├── package.json
│   │   ├── README.md
│   │   └── LICENSE
│   ├── dsh-re-workbench/
│   │   ├── lib/                # 插件本体(re_check / re_open / re_status)
│   │   ├── mcp/                # 独立 MCP server(零依赖 stdio)
│   │   ├── cordis.patch.yml
│   │   └── ...
│   └── dsh-thesis-workbench/
│       ├── lib/                # 插件本体(SPSS 工具集)
│       ├── mcp/                # 独立 MCP server(零依赖 stdio)
│       ├── cordis.patch.yml
│       └── ...
├── submission/                 # 插件市场提交条目
├── .gitignore
└── README.md

每个子包都是独立的 npm 包,可以单独发布到 npm 或从 GitHub subpath 安装。

开发

子包无构建步骤(纯 JS),改完直接生效。

验证语法:

node --check packages/dsh-todo-guard/lib/index.js
node --check packages/dsh-re-workbench/lib/index.js
node --check packages/dsh-re-workbench/mcp/server.js
node --check packages/dsh-thesis-workbench/lib/index.js
node --check packages/dsh-thesis-workbench/mcp/server.js

许可

MIT

相关插件