sqzw-x/dsh-plugins--packages-dsh-system-prompt-insertion ↗★ 0

dsh-system-prompt-insertion

支持在提示词头部、中部或尾部插入自定义系统提示词。 适合需要精细控制系统提示词的用户,提供左侧面板及实时预览编辑功能。

套件
dsh-system-prompt-insertion
相容性
待驗證
Harness 依賴範圍
*
Cordis 依賴範圍
~4.0.5
版本
0.2.0
授權
MIT
最近更新
2026年10月24日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sqzw-x/dsh-plugins#3ac6bed10c03c25bb1109b17f96e62d1491aa6fb&path:packages/dsh-system-prompt-insertion

配置(profile 行)

- id: system-prompt-insertion
  name: dsh-system-prompt-insertion
  config:
    enabled: true            # 总开关;false 时什么都不注册
    storeFile: ''            # 覆盖状态文件路径,空 = $DSH_HOME/system-prompt-insertion.json
    maxSectionBytes: 8192    # 单段软上限,只在 UI 里提示,不截断

配置里刻意没有提示词文本:唯一真源就是那个 JSON 文件,避免「配置里一份、界面里一份」。