saul-dsh/dsh-prompt-enhancer ↗★ 1

dsh-prompt-enhancer

Chat-box prompt auto-enhancement for DeepSeek Harness (dsh): rewrites your rough input into a clear, self-contained prompt before it reaches the model. Works like the prompt enhancer in WorkBuddy. 适合希望在发送前自动将粗糙输入改写为清晰、完整提示词的用户。

パッケージ
dsh-prompt-enhancer
互換性
未検証
Harness ピア範囲
*
Cordis ピア範囲
*
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/23

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:saul-dsh/dsh-prompt-enhancer

ドキュメント

README 全文を読む ↗

配置

在 profile 配置(或 market 安装后的插件设置)里对 prompt-enhancer 行写 config:

- override:
    id: prompt-enhancer
    config:
      enabled: true
      mode: auto            # auto=发送前自动增强;manual=只注册工具不自动改写
      # provider: deepseek-official   # 留空=跟随当前会话的模型路由
      # model: deepseek-flash         # 建议配一个快模型,降低每次发送的延迟
      timeoutMs: 20000       # 单次增强超时,超时后原样发送
      minPromptLength: 4     # 「继续」「ok」这类超短输入不增强
      maxInputChars: 4000    # 长输入视为已是完整提示词,不再增强
      language: auto         # auto=跟随输入语言;可强制 zh / en
      styleHint: ""          # 追加自定义风格要求,例如"偏工程口吻,给出验收标准"
字段默认说明
enabledtrue总开关
modeautoauto 自动增强;manual 仅暴露工具
provider / model跟随会话增强调用用的模型路由,建议快模型
timeoutMs20000超时即放弃增强(fail-open)
minPromptLength4短于该长度不增强
maxInputChars4000长于该长度不增强
languageauto输出语言
styleHint空自定义风格要求