peterliucius/dsh-prompt-optimize ↗★ 0
dsh-prompt-optimize
DeepSeek Harness 网页端插件:通过辅助 LLM 调用重写输入框草稿,无需直接发送消息。
AI 分析
核心用途是在发送前润色和优化提示词。适合对提示词质量有要求,希望在不污染当前会话历史的前提下,一键让辅助模型帮自己重写、扩写草稿的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:peterliucius/dsh-prompt-optimize说明文档
阅读完整 README ↗Configuration
Every field is required except the paired route override; there are no library defaults. The bundle row supplies the values below.
| Key | Contract |
|---|---|
maxInputBytes | Positive UTF-8 byte ceiling for the final JSON-framed user prompt. |
maxOutputTokens | Positive auxiliary generation token cap. |
timeoutMs | Positive end-to-end deadline within the runtime timer limit. |
provider, model | Optional explicit route; both or neither. |
Override them in the profile's cordis.patch.yml by restating the whole row config.