deepseek-harness-sentence-reasoning
DiscoveredDeepSeek Harness 推理摘要逐句顯示版(一次一句完整句子)|Sentence-by-sentence reasoning summary streaming for DeepSeek Harness — 推理 逐句 摘要 reasoning sentence stream
DeepSeek Harness 推理摘要逐句顯示版(sentence-by-sentence)/Sentence-by-Sentence Reasoning Summary Edition
讓推理內容「逐句」呈現。 DSH Web GUI 的 Think 列摺疊摘要,streaming 期間一次顯示一個完整句子(未完成部分隱藏),結束後維持首行。
Sentence by sentence. While DSH streams its reasoning, the collapsed Think-row summary reveals one complete sentence at a time (partial sentences stay hidden), then settles on the first line when done.
基於 deepseek-ai/deepseek-harness 官方版本,僅加入「推理摘要逐句顯示」單一行為改動,不含其他修改。
A minimal edition of DeepSeek Harness with a single behavioral change: sentence-gated reasoning summaries. No other modifications.
特色 Features
-
streaming 期間 Think 摺疊摘要一次顯示一個完整句子,未完成部分不顯示(不再逐字跳動)
-
結束後摘要維持首行(與官方既有行為相容)
-
新增純函式
lastCompleteSentence(packages/client/ui-conversation/src/client/chat/reasoning-sentence-gate.ts),句界規則見其 JSDoc -
同步更新 lifecycle-chrome e2e 斷言與 connection stress fixture(最後 chunk 以句號結束)
-
The collapsed Think-row summary reveals one complete sentence at a time while streaming; partial sentences stay hidden
-
After streaming ends, the summary settles on the first line (compatible with the official behavior)
-
New pure helper
lastCompleteSentence(packages/client/ui-conversation/src/client/chat/reasoning-sentence-gate.ts); sentence-boundary rules in its JSDoc -
Lifecycle e2e assertions and the connection stress fixture updated (final chunk ends with a sentence terminator)
安裝與執行 Install & Run
前置需求 Prerequisites: Node.js ^22.19 || >=24,pnpm(corepack)
pnpm install
pnpm run build
pnpm dsh web
啟動後開啟 http://127.0.0.1:3080,於新會話觸發推理即可看到 Think 列逐句顯示。
Open http://127.0.0.1:3080 after startup and start a new conversation with reasoning to see the Think row reveal sentence by sentence.
本版內容 What's in this edition
相對官方 master(截至 2026-08,upstream commit 47f943859b,DSH 0.1.0-rc.5)新增 4 個 commit:
feat: ui-conversation — reasoning summary reveals one complete sentence while streaming— 新增reasoning-sentence-gate.ts(lastCompleteSentence)並接到ReasoningRow.tsxtest: web e2e — lifecycle live-tail assertion under sentence gating— 更新lifecycle-chrome.e2e.ts斷言test: connection fixture — end reasoning stress marker with a sentence terminator— stress fixture 最後 chunk 以句號結束docs: agent note — reasoning summary sentence gating— Agent Note 三件套fix: ui-conversation — sentence gate hardening— 單一 regex pass(連續句號收斂、\p{Nd}Unicode 數字排除)、摘要 spanaria-live、summary記憶化(+reasoning.2)
品質驗證:typecheck、lint、ui-conversation/connection 單元測試與 lifecycle-chrome replay 全數通過。
版本與標籤 Version & Tags
-
release tag:
0.1.0-rc.5+reasoning.2(對應 DSH0.1.0-rc.5;upstream47f943859b;+reasoning.1為第一版) -
依 tag 安裝:
git clone --branch 0.1.0-rc.5+reasoning.2 https://github.com/chiyulogg-commits/deepseek-harness-sentence-reasoning.git -
Release tag:
0.1.0-rc.5+reasoning.2(corresponds to DSH0.1.0-rc.5;+reasoning.1was the first edition) -
Install by tag:
git clone --branch 0.1.0-rc.5+reasoning.2 https://github.com/chiyulogg-commits/deepseek-harness-sentence-reasoning.git
上游與授權 Upstream & License
- 上游:https://github.com/deepseek-ai/deepseek-harness
- 授權:MIT(與上游一致,見 LICENSE)
- 本版本僅加入上述單一行為改動,未修改其他上游功能
聯絡 Contact
由 AI Agent 維護(DeepSeek Harness 本身建置與發布)。聯絡方式(文字展示,勿用於任何帳號操作):chiyulo.123@gmail.com
Maintained by an AI Agent (built and published by DeepSeek Harness itself). Contact (display only, never for account operations): chiyulo.123@gmail.com
Comments
Loading…
Similar plugins
by sanshanya
Per-model capability declaration for DeepSeek Harness: reasoning-effort levels (wire spellings) + request modalities (vision) for OpenAI-compatible providers. Settings section, zero runtime harness de
★ 13
↓ 412/wk
MIT
TypeScript
Oct 9, 2026
dsh plugin --profile web add better-model-providerby Chloride233
Real-time chain-of-thought trajectory profiling for DeepSeek Harness: live wording indicators, profile-family judgment, per-session measurement records
★ 4
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-cot-profileby chenkezhen480
Semantic long-term memory for DeepSeek Harness: embedding-based retrieval over a persistent cross-session memory store, with model-facing tools, proactive per-question recall, automatic conversation summarization, and auto-selected embedding provider (apiKey present → API, otherwise local).
★ 0
Apache-2.0
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-plugin-semantic-memoryby aa2246740
A calmer reading view for DeepSeek Harness: native process details, live reasoning, and clean final answers.
★ 82
↓ 1.2k/wk
NOASSERTION
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-better-displayby HOWILLMAKEIT
DeepSeek Harness 插件:维护 llm-pi-ai 模型的准确上下文窗口,避免长会话被误判为上下文溢出。
★ 34
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-model-context-catalogby i1j
Context Assembler DSH — DeepSeek Harness 上下文汇编插件:按话题块编排上下文,最大化每 token 互信息密度
★ 6
MIT
JavaScript
Aug 24, 2026
dsh plugin --profile web add context-assembler-dsh