@dsh-external/dsh-prompt
Editable prompt snippets injected into DSH on three channels: the system prompt, the per-turn runtime context, and a user message at each turn's start. DSH 提示词注入插件:片段可增删改、按通道注入系统提示词 / 运行时上下文 / 每轮用户消息,带设置页与输入框快捷开关。 适合需要精细控制提示词注入通道、动态调整模型行为的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hongweifei/dsh-promptドキュメント
README 全文を読む ↗配置
放在 profile 的 cordis.patch.yml 里,作为 id: prompt 覆盖:
- id: prompt
name: '@dsh-external/dsh-prompt'
config:
enabled: true
maxChars: 8000 # 三通道合计字符上限;0 = 不限制
sectionOrder: 100 # 系统提示词 section 的位置(0 = persona,500 = plan policy)
contextOrder: 200 # 运行时上下文的位置(宿主自带的是 110/115/120)
refreshMs: 3000 # 存储快照重读间隔;0 = 只靠启动与面板写入刷新