dsh-better-choice

为 DSH 的 ask_user_question 选择题卡片增加两项能力:右键选项展开补充说明,并合并进提交的 custom 答案;卡片底部可以先问一句,由 fork 子代理带着当前会话上下文只读作答,不改写会话。左键选择、跳过、分页与倒计时照旧,且只接管普通选择题卡片,不接管计划确认与审批卡片。适配 DSH 0.2.0-rc.1 及以上的 0.2.x(已在 0.2.2-rc.1 验证),需 Node.js 20+。由 buaaflyaway/dsh-question-note(MIT)派生、并受 MichengAI/dsh-btw(Apache-2.0)启发;不要与 dsh-question-note 同装——两者会接管同一张 ask_user_question 卡片。

插件介绍

为 DSH 的 ask_user_question 选择题卡片增加两项能力:右键选项展开补充说明,并合并进提交的 custom 答案;卡片底部可以先问一句,由 fork 子代理带着当前会话上下文只读作答,不改写会话。左键选择、跳过、分页与倒计时照旧,且只接管普通选择题卡片,不接管计划确认与审批卡片。适配 DSH 0.2.0-rc.1 及以上的 0.2.x(已在 0.2.2-rc.1 验证),需 Node.js 20+。由 buaaflyaway/dsh-question-note(MIT)派生、并受 MichengAI/dsh-btw(Apache-2.0)启发;不要与 dsh-question-note 同装——两者会接管同一张 ask_user_question 卡片。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-better-choice

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:TLEWA/dsh-better-choice

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.

版本兼容情况

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