Pular para o conteúdo principal
J

dsh-prompt-enhancer (dsh-prompt-enhancer)

jianyiag/dsh-prompt-enhancer/dsh-prompt-enhancer

Composer prompt enhancement for DeepSeek Harness: a button beside the model selector rewrites the draft through one auxiliary LLM call and writes the result back in place, with composer undo left intact; a /prompt-enhance slash command returns the rewritten prompt as a command result line without touching the draft; the enhancement call can be pinned to its own fast provider and model in the profile patch; the rewrite policy is faithful - original intent, language and information are kept, code, commands and paths are preserved verbatim, and nothing is invented or padded with placeholder text.

Instalar

dsh plugin --profile web add github:jianyiag/dsh-prompt-enhancer

Este plugin está no subdiretório dsh-prompt-enhancer do repositório.

README

DSH 提示词增强器

简体中文 | English

DeepSeek Harness(DSH)插件。在输入框写提示词,点一下按钮,模型改写后替换输入框内容。


安装

桌面端:

  1. 左侧栏进「插件」页
  2. 安装 bundle,填 @jianyiagi/dsh-prompt-enhancer
  3. 完全退出应用后重新打开

CLI / Web 端:

dsh plugin --profile <profile> add @jianyiagi/dsh-prompt-enhancer

CLI 安装后若未生效,在「插件」页勾选该插件,或把包名加入 profile package.json 的 dsh.profile.bundles,然后重启应用。

安装与常见问题见 DISTRIBUTION.md。


使用

  1. 在输入框输入提示词
  2. 点模型选择器左侧的按钮
  3. 按钮停止转动后,输入框内容已替换为改写结果;不满意可在输入框内撤销

输入框为空时按钮不显示。

也可输入 /prompt-enhance 提示词,结果以命令结果行显示,不写回输入框。


配置

默认使用当前会话的模型。可在 profile 补丁中指定固定模型:

- insert:
    - id: prompt-enhancer
      name: '@jianyiagi/dsh-prompt-enhancer'
      config:
        provider: <provider-id>
        model: <model-id>

两个字段需同时提供;删除 config 即恢复使用会话模型。


卸载

桌面端在「插件」页卸载;CLI:

dsh plugin --profile <profile> remove @jianyiagi/dsh-prompt-enhancer

MIT

Plugins relacionados