LoserFox/marisa-distro--plugins-dsh-suggested-replies7

@dsh-external/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.

包名
@dsh-external/dsh-suggested-replies
版本
0.1.0
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LoserFox/marisa-distro#4aa96256d0af09fa65e64679a1c7826342e9ded2&path:plugins/dsh-suggested-replies

设置与配置

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