@kaidiren/dsh-reasoning
DSH 网页插件:自动展开 Assistant 的思考过程(Think 栏),支持在设置中开启/关闭并持久化。
AI 分析
核心用途是免去手动点击,直接查看深度思考模型的完整思维链。适合频繁使用 DeepSeek-R1 等思考模型、关注推理过程的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaidiren/dsh-reasoning说明文档
阅读完整 README ↗@kaidiren/dsh-reasoning
English | 中文
DSH web GUI plugin: auto-expand assistant reasoning (Think rows).
What it does
- Expand thinking: while the setting is on, every Think row (the collapsible deep-thinking block) appears expanded by default — streaming thought and freshly loaded history included. Turn it off and rows stay collapsed, expandable per-row by clicking.
- Settings card: a card in the plugin-configuration section of
Settings > Plugin config(a sibling of the "Web UI plugins" group card) toggles the behavior; the choice persists in the browser (localStorage).
The plugin is DOM-based on purpose: disclosure state lives in React component
state (collapsed content is not in the DOM at all), so the reliable hook is
forwarding clicks on the stable data-* attributes emitted by the official
conversation UI (data-variant="think", data-disclosure-row,
data-expandable, data-open).
Install
From npm (recommended)
dsh plugin --profile web add @kaidiren/dsh-reasoning
From the repository (development)
git clone https://github.com/kaidiren/dsh-reasoning.git
cd dsh-reasoning
pnpm install
pnpm build
dsh plugin --profile web add link:$(pwd)
Restart dsh web after installing.
Known limitations
- Depends on the conversation UI's
data-*contract; a future DSH release that renames the attributes would need a selector update.
License
BSD-3-Clause.