Anionex/dsh-suggested-replies2

@anionex/dsh-suggested-replies

DSH Web plugin that proposes concise next user messages above the composer and inserts a selected reply into the draft without sending it.

AI 分析

核心用途是辅助用户快速生成与 AI 交互的下一轮回复。适合希望提高对话效率、需要灵感提示的用户。可配置独立的辅助模型进行调用。

パッケージ
@anionex/dsh-suggested-replies
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Anionex/dsh-suggested-replies

ドキュメント

README 全文を読む ↗

设置与配置

Web 设置页中的“下一步建议”分区提供 enabled 总开关。它写入 $DSH_HOME/settings.yamlsuggested-replies 区域,下一轮立即生效。

其余部署参数在 cordis.patch.yml 或 profile overlay 中配置:

字段默认值说明
enabledtrue是否生成候选;关闭后无辅助模型调用。
suggestionCount3每轮候选数量,范围 2-4
contextMessageCount4传给辅助模型的最近可见消息数,范围 2-6
maxSuggestionChars160单条候选保留的最大字符数,范围 32-300
maxTokens384辅助调用的最大输出 token,范围 64-1024
timeoutMs15000辅助调用最长时长(毫秒),范围 1000-30000
suggestionProvider未设置可选:显式指定辅助调用 provider;省略时跟随当前会话模型。
suggestionModel未设置可选:显式指定辅助调用 model;必须与 suggestionProvider 同时提供。

示例 overlay:

- patch:
    - id: suggested-replies
      config:
        suggestionCount: 4
        maxSuggestionChars: 120
        timeoutMs: 10000
        suggestionProvider: deepseek-official
        suggestionModel: deepseek-v4-flash