HeShen-1/dsh-composer-enhance ↗★ 0

dsh-composer-enhance

Native DeepSeek Harness web plugin: a ✨ button in the composer that grounds a draft in session context, asks only about genuine ambiguity, rewrites the draft in place with a change list, then refines it on a slower second pass. 适合希望在发送前让AI自动润色、消除歧义并重写输入框草稿的用户。

パッケージ
dsh-composer-enhance
互換性
未検証
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/10/20

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

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HeShen-1/dsh-composer-enhance

ドキュメント

README 全文を読む ↗

配置

配置走插件行的 config: 块,不是 settings 命名空间——settings.get(ns) 在一个命名空间被注册之前返回 undefined。

在 home patch(~/.dsh/cordis.patch.yml)里加一段同 id 的 override:

- id: composer-enhance
  config:
    provider: deepseek-official   # 留空则跟随会话模型
    model: deepseek-flash
    fastEffort: "off"             # 快轨推理档
    slowEffort: "max"             # 慢轨复核推理档
    timeoutMs: 60000
    maxTokens: 4096
    recentTurns: 8                # 接地带入最近几轮对话
    gatePrompt: ""                # 留空用内置默认
    rewritePrompt: ""
    slowPrompt: ""
    suggestPrompt: ""             # 下一步建议的 prompt;留空用内置默认

推理档的合法值是 off | low | high | max(来自 deepseek 适配器,已核对源码)。留空 gatePrompt/rewritePrompt/slowPrompt 即用内置默认。