LCQ-1024/dsh-prompt-enhancer ↗★ 3

dsh-prompt-enhancer

DSH 输入框提示词增强按钮:一键优化未发送的草稿,可选择采用或拒绝。 适合需要快速润色、增强提示词质量以获得更好 AI 回复的用户。

パッケージ
dsh-prompt-enhancer
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
バージョン
0.2.13
ライセンス
MIT
最終更新
2026/08/18

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

インストール

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

ドキュメント

README 全文を読む ↗

方式二:使用 DSH 插件安装命令(推荐)

如果系统已安装 pnpm:

dsh plugin add github:LCQ-1024/dsh-prompt-enhancer

或指定 profile:

dsh plugin --profile web add github:LCQ-1024/dsh-prompt-enhancer

仓库根目录已包含 cordis.patch.yml,package.json 也已声明 dsh.bundle。安装时 DSH 会自动读取补丁并注册插件,无需手动编辑 cordis.patch.yml。安装后重启 DSH Web 服务。

使用方法

  1. 在 DSH 输入框输入想优化的问题或需求;
  2. 点击模型选择区域右侧的 ✨ 按钮;
  3. 等待缓冲弹窗结束;
  4. 在对比弹窗中查看「增强前 / 增强后」;
  5. 点击「采用」或「拒绝」。

配置项

在 cordis.patch.yml 的插件行中可加 config:

- insert:
    - id: dsh-prompt-enhancer
      name: 'dsh-prompt-enhancer'
      config:
        provider: deepseek-official
        model: deepseek-v4-pro
        reasoningEffort: off
        maxTokens: 4096
        timeoutMs: 120000
        maxInputChars: 200000
配置项默认值说明
provider空留空自动读取 settings.yaml 的 agent-default-model.provider
model空留空自动读取 settings.yaml 的 agent-default-model.model
reasoningEffortoffoff 快速省钱;DeepSeek 还支持 high / max
maxTokens4096增强输出最大 token 数
timeoutMs120000请求超时时间(毫秒)
maxInputChars200000允许的最大草稿字符数
systemPrompt内置一般不需要修改