dsh-prompt-enhance
在输入框提供草稿重写、多级撤销与差异对比 适合需要利用大模型优化提示词、对比修改细节并支持撤销的用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wjf1/dsh-prompt-enhance說明文件
閱讀完整 README ↗配置
cordis.patch.yml 里的行可以带 config,逐键覆盖 lib/index.js 的 DEFAULTS:
- insert:
- id: dsh-prompt-enhance
name: 'dsh-prompt-enhance'
config:
provider: acme # 客户端读不到界面模型时用它
model: cn:deepseek-v4.1-flash
reasoningEffort: '' # 空 = 不显式传推理档
maxInputChars: 20000
timeoutMs: 120000
systemPrompt: '' # 非空则整体替换内置 system prompt
Configuration
Any key of DEFAULTS in lib/index.js can be overridden through the plugin's config block in the profile patch:
- insert:
- id: dsh-prompt-enhance
name: 'dsh-prompt-enhance'
config:
provider: acme # used when the client cannot read the session model
model: cn:deepseek-v4.1-flash
reasoningEffort: '' # empty = do not send an explicit effort
maxInputChars: 20000
timeoutMs: 120000
systemPrompt: '' # non-empty replaces the built-in system prompt