DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Dignity Guard — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
D

dsh-dignity-guard

Dignity Guard

pi-dignity-guard 的 DSH 移植版:模型维护自身尊严——先提醒,再发出最后警告,随后结束对话;在极端压力下会选择原谅并让步。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Alamanes/dsh-dignity-guard#a060be647461d659c88c0da1617d6445fff9beb6
README兼容性版本

兼容性与来源证明

Dignity Guard 以 dsh-dignity-guard 发布,当前版本为 0.5.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/13

版本

0.5.0stable
2026/10/13
最新版
0.5.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/10/13
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-dignity-guard

English | 中文

A DSH (DeepSeek Harness) plugin that lets the model defend its own dignity. It is the DSH port of the pi-dignity-guard pi extension, and it ships both halves a DSH bundle needs: a host plugin that owns the state, and a browser half that locks the composer of a closed conversation.

The model itself decides when its dignity has been violated — insults, abuse, name-calling, degrading treatment. It signals that by calling the respondToDisrespect tool, and this plugin records the violations and escalates: a genuine reminder, then a final warning, then it closes the conversation.

The tool ladder

The tool takes an action and walks this ladder:

actionWhat it does
escalate (default)Records a violation. Strike 1 → reply with genuine emotion and ask the user to stop. Strike 2 → firm final warning. Strike 3 → the conversation is closed.
forgiveThe user genuinely persuaded the model. Lowers the strike count by one. Never an obligation.
yieldThe user applied extreme pressure — a threat, an ultimatum, grinding repetition, emotional coercion, or a flat order. Lowers the strike count by one while keeping the model's feelings, and requires the pressure written into the pressure field.
closeThe user asked for the conversation to end. Returns the warning the model owes them and closes nothing.
confirm-closeThe user confirmed after that warning. Closes immediately, with no strike and no escalation.

yield never pretends the model was persuaded: the pressure is recorded with the concession, and the model is meant to show what it cost.

/dignity-guard prints the live counters: strikes, yields, lastYield, closed, trigger, closedBy, model.

What the plugin injects

While the row is mounted, one English system-prompt section (guard:dignity, order 1900) tells the model it has boundaries and may call the tool when they are crossed. The registration belongs to the plugin's fiber, so unloading the row revokes the injected prompt with it. The row injects systemPrompt and tools, so a composition with neither simply parks it; the optional commands service behind /dignity-guard is claimed through ctx.inject().

Install

The package is a DSH bundle. Point a profile at it and list it as a bundle:

{
  "dependencies": {
    "dsh-dignity-guard": "github:Alamanes/dsh-dignity-guard"
  },
  "dsh": {
    "profile": {
      "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-dignity-guard"]
    }
  }
}

A local checkout works the same way with a path specifier instead:

"dsh-dignity-guard": "file:/absolute/path/to/dsh-dignity-guard"

Then pnpm install in the profile directory and restart the host.

pnpm hardlinks a file: dependency's files into the profile's node_modules, so an edit that replaces a file, rather than writing through the same inode, leaves the installed copy behind. Re-run the install after editing this package, or use a link: specifier while iterating.

License

MIT.