dsh-rules

从 OMP 支持的每一种约定中发现规则文件,以 always-apply 层加规则索引注入系统提示词,并用时间旅行流规则强制执行——在模型输出中途打断违规内容、拦下会违规的工具调用、把提醒折进该调用的结果,或在回复完成后交由裁判模型判断。同一个工具也让模型能写入新规则;Plugins 页的审计面板会说明每条规则为何生效。

编程与调试NOASSERTION☆ 4

插件介绍

从 OMP 支持的每一种约定中发现规则文件,以 always-apply 层加规则索引注入系统提示词,并用时间旅行流规则强制执行——在模型输出中途打断违规内容、拦下会违规的工具调用、把提醒折进该调用的结果,或在回复完成后交由裁判模型判断。同一个工具也让模型能写入新规则;Plugins 页的审计面板会说明每条规则为何生效。

安装方式

通过 npm 安装

dsh plugin --profile web add @ndsanes/dsh-rules

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:Ndsanes/dsh-rules

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

第三方安装实测

安装测试结果
测试版本不兼容
实测 Harness 版本
0.2.2-rc.1
实测插件版本
未记录
测试日期

版本回退

回退测试结果
未找到回退版本
查看依赖版本范围
@deepseek-ai/dsh-llm
0.2.0-rc.2
@deepseek-ai/dsh-agent
0.2.0-rc.2
@deepseek-ai/dsh-tools
0.2.0-rc.2
@deepseek-ai/dsh-session
0.2.0-rc.2
@deepseek-ai/dsh-system-prompt
0.2.0-rc.2

安装提示

  • 可能调用终端命令