kaidiren/dsh-reasoning0

@kaidiren/dsh-reasoning

DSH web GUI plugin: auto-expand assistant reasoning (Think rows).

AI 分析

核心用途是免去手动点击,直接查看深度思考模型的完整思维链。适合频繁使用 DeepSeek-R1 等思考模型、关注推理过程的用户。

パッケージ
@kaidiren/dsh-reasoning
バージョン
0.1.0
ライセンス
BSD-3-Clause
最終更新
2026/08/15

インストール

$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.