DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-thinking-summary

d

dsh-thinking-summary

Manifest valid
UI (client)hasBundlePatch

dsh-thinking-summary

Readable thinking display for DeepSeek Harness: while the model thinks, the reasoning stream is captured and summarized paragraph by paragraph, and the summary is shown inside the chat history where the built-in "Think" row used to be. The summary model is chosen in Settings → General and is called with thinking disabled.

Install

The repo is a Harness bundle: a package whose dsh.bundle.patch adds one dual-face row (a Host ThinkingSummaryService plus the browser half). Install it into a profile with dsh plugin:

# from a checkout of this repository
dsh plugin --profile web add .

# directly from GitHub
dsh plugin --profile web add git+https://github.com/lyuwen/dsh-thinking-summary.git
# or shorthand: dsh plugin --profile web add github:lyuwen/dsh-thinking-summary

Then restart dsh web. The lib/ artifacts are committed, so no build step runs on install (the repo has no prepare script; pnpm build is only for maintainers rebuilding from source).

Remove with dsh plugin --profile web remove dsh-thinking-summary (then restart).

Requirements

  • Harness web profile (the browser surface); the Host half needs the llm service (e.g. llm-deepseek) and optionally agent-default-model.
  • Works against the published @deepseek-ai/* packages (0.1.1-rc.1+).

What it does

The built-in "Think" row shows a single streaming line, or a large bulk of raw text when expanded. This plugin replaces the assistant-step renderer so each reasoning block becomes a disclosure with three stages, live in the message:

StageShows
0 — collapsedOne line: the summary of the last completed paragraph (live "Thinking…" while the first paragraph is still in progress)
1 — first expandedThe thinking flow: each paragraph's summary chained on a vertical rail, plus a "Show raw thinking" link
2 — fully expandedThe raw thinking text

Clicking the row title only opens/closes stage 1; the fully expanded raw view is reached from the "Show raw thinking" link inside stage 1, and "Show summaries" returns from stage 2.

Paragraph grouping

Summaries are computed per blank-line-separated paragraph, but sub-threshold fragments merge forward: completed fragments keep accumulating into one unit until it reaches ~160 characters, so a model that breaks its reasoning into frequent tiny paragraphs does not produce one summary per fragment. The remainder below the threshold folds into the streaming tail and is summarized only when the tail completes; a settled message always emits its final remainder as a unit.

Old vs new thinking

Only reasoning the plugin observed while streaming is summarized. Historical reasoning that was already settled when its row mounted is not re-summarized: it keeps the plain raw-thinking disclosure (collapsed = first line, expand = full text) — unless the Host already has cached summaries for its paragraphs, in which case those are reused via the lookup Remote.

Architecture

  • Host (src/index.ts) — ThinkingSummaryService, a TypertRemoteService served by the API gateway at /api/thinkingSummary/* (source-mode discovery; no generated descriptors). Methods:
    • listModels → provider/model catalog + current selection.
    • setModel → remembers the user's summary model for the plugin's lifetime.
    • lookup → cached summaries for settled paragraphs.
    • summarize → llm.stream() with the selected model, reasoningEffort: 'off' (thinking disabled on the wire), low temperature, and a terse one-sentence system prompt; a model with no reasoning surface rejects 'off' and the call is retried without it. Results are cleaned and LRU-cached by text hash.
  • Browser (src/client/) — registers settings.general.item ("Thinking summary model") and the conversation.chat.node key assistant-step. It watches the live reasoning text from the node's own data.blocks, splits it into blank-line-separated paragraphs, and summarizes completed paragraphs one at a time through the Host Remotes. Text blocks are rendered by a lightweight GFM-ish markdown renderer; images go through the product's conversation.message.images slot; tool-call rows stay on ui-tool. The client bundle is self-contained (no product component imports), so it builds against the published packages alone.

Development

pnpm install
pnpm build        # tsdown → lib/index.js (host) + lib/client.js (browser)

Known limitations

  • The answer text is rendered by a lightweight markdown subset (no math, footnotes, or file-mention chips); code, tables, lists, and links are supported.
  • Summaries are computed per completed paragraph; the in-progress tail paragraph shows "Thinking…" until it completes.
  • The summary-model choice lives in host memory for the plugin's lifetime; a restart resets it to the default (DeepSeek-V4-Flash, or the deployment's default model).
  • Historical reasoning is not summarized (see above); the summary cache lives in host memory.

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 20k

↓ 145/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 10.3k

↓ 156/wk

Apache-2.0

TypeScript

Aug 25, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 8.6k

↓ 156/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 5k

↓ 146.7k/wk

Apache-2.0

TypeScript

Nov 11, 2026

dsh plugin --profile web add dsh-context

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 4.5k

↓ 83.6k/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile web add dsh-better-sidebar

by shaobeichen

把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN +

UI & ExperienceManifest valid

★ 2.3k

↓ 6.2k/wk

GPL-2.0

JavaScript

Aug 23, 2026

dsh plugin --profile web add dsh-pocket