DamonKoy/dsh-plugins

插件Plugin ⭐ 2

Codex-inspired enhancement plugin family for DeepSeek Harness: secret-redactor / approve-for-me / mcp-client-v2 / memories / system-proxy / usage-cost

项目介绍Project Overview

dsh-plugins 是 DSH 增强插件集合,含敏感信息脱敏、自动审批、MCP 客户端、项目记忆、系统代理检测与用量成本统计。需要补齐 Codex 类实用功能时可按包安装,配置位于 ~/.dsh 并即时重读;注意部分包状态为验证中,需重启 dsh web 生效。

dsh-plugins is a collection of DSH enhancement plugins covering secret redaction, approval policy, MCP client upgrades, project memories, system proxy detection, and usage-cost tracking. Install individual packages when you need these Codex-like utilities; config lives under ~/.dsh and is reread on use. Some packages remain verification-in-progress, and dsh web must restart after installation.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

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

DamonKoy/dsh-plugins 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-plugins

DSH(DeepSeek Harness)增强插件家族,对标 OpenAI Codex 0.147 的实用功能。

功能 Codex 对应版本 状态
dsh-secret-redactor 敏感信息脱敏(工具输出自动掩码 + redact_text 工具) 0.147 secrets redaction ✅ 已验证(真实会话脱敏生效)
dsh-approve-for-me 自动审批审核(只读自动放行 / 危险命令自动拒绝 / 全自动模式) 0.147 --approve-for-me ✅ 策略引擎 7/7 单测通过
dsh-mcp-client-v2 MCP 客户端增强(分页工具发现 / 非阻塞启动 / 工具搜索) 0.147 MCP 2026-07-28 见包内 README
dsh-memories 项目记忆系统(按 scope 持久化键值记忆) 0.145 memories ✅ 已实现
dsh-system-proxy 系统代理检测与导出(scutil / env / PAC) 0.143 PAC/WPAD 见包内 README
dsh-usage-cost 用量/成本统计与预算提醒(llm/stream usage 挂钩) 0.144 usage credits 挂钩验证中

安装

# 单个安装
dsh plugin --profile web add link:~/dsh-plugins/packages/<name>

# 或全部
for p in dsh-secret-redactor dsh-approve-for-me dsh-mcp-client-v2 dsh-memories dsh-system-proxy dsh-usage-cost; do
  dsh plugin --profile web add link:~/dsh-plugins/packages/$p
done

重启 dsh web 生效。

架构说明

每个包都是标准 DSH Cordis 插件:

  • package.json 声明 dsh.bundle.patch(可被 dsh plugin add 与 dshmarket 识别)
  • cordis.patch.yml 是插件行(bundle patch)
  • lib/index.js 是 Host 半区(纯 JS ESM,无构建步骤)
  • 配置统一放在 ~/.dsh/<name>.json,每次使用即时重读

登记

  • awesome-dsh-plugin 精选目录:见 registry/REGISTRATION.md(PR-ready 行)
  • dsh-web-ui community.json:同上(PR-ready 条目)
  • 仓库已打 dsh-plugin topic(登记前置要求)

License

MIT

上一个 Prev dsh-plugin-install 下一个 Next dsh-abyss