Plugin governance: new/updated plugins stage in a candidate area first, then hot-mount after startup — success promotes, failure auto-disables, repeated failures freeze, one-click safe mode, sidebar diagnostics panel (npm: `dsh-my-guardian`).
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-my-guardian
# from a prebuilt release tarball
dsh plugin --profile web add "https://github.com/baosfeng/my-dsh-plugins/releases/download/dsh-my-guardian@v0.4.0/dsh-my-guardian-0.4.0.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:baosfeng/my-dsh-plugins#path:/plugins/dsh-my-guardian
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
个人 DSH(DeepSeek Harness)插件集合仓库:轻量多插件目录,每个插件位于 plugins/<name>/,自包含、可独立安装与发布。
插件列表
| 插件 | 版本 | 简介 |
|---|---|---|
| dsh-file-activity | 0.5.14 | 侧边栏文件活动页签:记录文件读取/新增/修改与统计,文件夹树形展示,点击浮窗预览 |
| dsh-md-render | 0.4.0 | markdown 内容渲染增强:text 围栏块 / 上下文注入块 / mermaid 图表卡片 / 思考块默认展开 + 整段复制 |
| dsh-my-notify | 0.4.2 | 通知提醒:会话结束 / ask / 审批时浏览器通知 + 提示音,点击跳转;远程 hook 触发 + 出站 webhook |
| dsh-my-remote | 0.1.4 | 远程控制:ask / approval / 会话结束事件下行到手机或 IM,可远程回答、批准、查询、继续 |
| dsh-task-reliability | 0.4.10 | 任务可靠性:超时重试、未完成自动继续、完成度校验 agent、思考重复干预、重启恢复、自主决策 |
| dsh-my-skill-manager | 0.1.11 | Skill 管理:分全局/项目查看 skill,按项目启用/禁用(禁用即不注入会话) |
| dsh-my-memory | 0.1.11 | 记忆:全局/项目两级持久化,会话开始注入系统提示词;设置页面板 + 写操作确认 |
| dsh-my-observability | 0.3.5 | 可观测性:事件审计与查询 API、资源看门狗面板、结构化 Git 类型化提交、提交前增量 diff 审查 |
| dsh-my-context | 0.1.6 | 上下文透镜:token 用量与上下文构成可视化、KV 缓存命中率、每轮/每会话预算控制 |
| dsh-my-opencode-session-header | 0.1.0 | OpenCode 会话头:为 opencode 路由注入按会话稳定的 x-opencode-session 头 |
| dsh-shared | 0.1.6 | 共享工具包:多插件共用的 server 端工具(信任围栏 / HTTP JSON / 配置持久化 / 原子写) |
🚀 快速开始
安装插件
dsh plugin --profile web add dsh-file-activity --trust-lockfile # 单个
dsh plugin --profile web add dsh-shared dsh-md-render # 多个
安装方式(npm / link / 手动)与各插件配置见 plugins/<包名>/README.md「安装」章节。
本地开发
git clone https://github.com/baosfeng/my-dsh-plugins.git && cd my-dsh-plugins
npm install
npm test # 全量测试(CI 等价:npm run verify)
开发新插件
- skills/dsh-plugin-development/SKILL.md — 插件形态、目录结构、开发/调试/发布。
- skills/dsh-github-triage/SKILL.md — 把需求整理成规范 issue 提交到本仓库。
- 开发流程与门禁见 docs/索引.md;文档写法见 docs/开发指南/文档规范.md。
发布约定
- 双通道:GitHub Release(tag 触发打包)+ npm 官方 registry(release.yml 读
NPM_TOKEN自动发布,未配置仅警告跳过)。 - 发版入口:Actions → Release (auto) workflow,或
node scripts/release.mjs <插件名> --bump patch --push。 - tag 格式
<包名>@v<版本>;每个插件独立 semver 与 CHANGELOG。
🤝 贡献指南
问题与需求走 issue 模板;提交流程、开发规范与审查要求见 CONTRIBUTING.md。
许可
每个插件各自携带 MIT LICENSE;仓库级文档默认 MIT。
Links
More in this category
yjh051108/dsh-routing-suite★ 7015
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3684
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
hust-open-atom-club/oh-dsh★ 322
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
weijiafu14/pi2dsh★ 212
Pi Host ABI compatibility engine: after one install, unmodified Pi extensions from npm mount as native DSH plugins with `dsh plugin add <pi-package>`. Verified end to end on stock DSH with pi-mcp-adapter (full MCP manager: OAuth, resources, prompts, MCP Apps, elicitation, sampling), @tintinweb/pi-subagents, pi-code, pi-hermes-memory and pi-background-tasks; `pi2dsh inspect` reports a package's compatibility before installing.
Fishquito7/dsh-skill-mcp-panel★ 188
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
lire1131/dsh-undo-savepoint★ 179
Undo/redo & rollback system for DSH: every config change is auto-snapshotted; undo/redo/restore to any version from the WebUI or the offline CLI/GUI tools (works even when DSH fails to boot).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.