wjf1/dsh-prompt-enhance ↗★ 0

dsh-prompt-enhance

Sparkle button in the DSH composer: rewrite the draft into an executable prompt through the harness LLM, with a multi-level undo stack and a token-level before/after diff. 适合需要利用大模型优化提示词、对比修改细节并支持撤销的用户。

패키지
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