wjf1/dsh-prompt-enhance ↗★ 0

dsh-prompt-enhance

在输入框提供草稿重写、多级撤销与差异对比 适合需要利用大模型优化提示词、对比修改细节并支持撤销的用户。

套件
dsh-prompt-enhance
相容性
待驗證
版本
0.2.1
授權
MIT
最近更新
2026年10月19日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wjf1/dsh-prompt-enhance

配置

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