john-walks-slow/dsh-inject ↗★ 0
dsh-inject
Advanced model-context injection and request-only rewriting for DeepSeek Harness with native Keysmith rules compatibility. dsh-inject:为 DeepSeek Harness 提供高级上下文注入与请求侧消息重写,原生兼容 Keysmith 规则集。 适合需要自定义复杂提示词模板、自动替换规则以及精细控制请求结构的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:john-walks-slow/dsh-injectドキュメント
README 全文を読む ↗配置(设置页 → Inject)
设置页可以建立任意多个预设,每个预设包含两部分:
- 自动替换:多条规则,每条可选「关键词」或「正则」,填写替换文本,并勾选生效角色:用户 / 助手 / 工具返回。
- 开头构造回合:放进请求最前面的消息,角色可选 系统 / 助手 / 用户 / 工具。
另外可维护构造回合模板,供现场 dialog 与 /inject-turn 复用。