dsh-prompt-clarifier

在 DSH 输入框添加「提示词优化」按钮;开启自动模式后,在助手开始执行前先用旁路模型结合最近会话上下文改写提示词,无法确定改写方式时先用原生提问卡片确认,各阶段以命令卡片在主对话中播报,分析失败时按原文继续。

插件介绍

在 DSH 输入框添加「提示词优化」按钮;开启自动模式后,在助手开始执行前先用旁路模型结合最近会话上下文改写提示词,无法确定改写方式时先用原生提问卡片确认,各阶段以命令卡片在主对话中播报,分析失败时按原文继续。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Duanyy0813/dsh-prompt-clarifier

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。