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. 适合希望在发送前自动将粗糙输入改写为清晰、完整提示词的用户。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:saul-dsh/dsh-prompt-enhancer配置
在 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: "" # 追加自定义风格要求,例如"偏工程口吻,给出验收标准"
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关 |
mode | auto | auto 自动增强;manual 仅暴露工具 |
provider / model | 跟随会话 | 增强调用用的模型路由,建议快模型 |
timeoutMs | 20000 | 超时即放弃增强(fail-open) |
minPromptLength | 4 | 短于该长度不增强 |
maxInputChars | 4000 | 长于该长度不增强 |
language | auto | 输出语言 |
styleHint | 空 | 自定义风格要求 |