Max-Null/dsh-draft-polish ↗★ 2
@max-null/dsh-draft-polish
DSH 草稿润色:发送按钮左侧 ✨ 一键调用 LLM 润色输入框草稿,可选携带会话上下文帮助模型理解意图;走 DSH llm 渠道,会话进行中也能用
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Max-Null/dsh-draft-polish说明文档
阅读完整 README ↗使用
- 在输入框里写草稿;
- 点发送按钮左侧的 ✨ 按钮(输入为空时按钮不触发);
- 等待数秒,润色结果自动替换输入框内容(按钮转圈表示润色中);
- 检查结果,满意后照常发送。
设置
设置页 → 左栏「润色设置」条目(DSH 0.1.2-alpha.2 起,配置命名空间 draft-polish):
| 配置 | 默认 | 说明 |
|---|---|---|
provider | '' | 润色模型渠道;留空继承当前会话渠道 |
model | deepseek-v4-flash | 润色模型 |
reasoningEffort | off | 思考强度(润色用 off 最快) |
budgetTokens | 1024 | 输出 token 预算 |
temperature | 0.3 | 低随机性保原意 |
timeoutMs | 30000 | 超时兜底 |
contextEnabled | true | 是否携带会话上下文 |
recentWindowMessages | 4 | 近期对话条数(原文保留,每段 ≤400 字符) |
backgroundEnabled | false | 是否压缩更早背景(多一次快速模型调用) |
backgroundWindowMessages | 12 | 背景窗口条数 |
backgroundBudgetTokens | 160 | 背景摘要输出预算 |