Releases: AOWAYHONG/dsh-hide-reasoning
Releases · AOWAYHONG/dsh-hide-reasoning
Release list
v0.4.1 — trail-based tool detection
v0.4.1 — trail-based tool detection
Tools 统计升级:从"文本提及"改为"真实轨迹调用"
- 🎯 轨迹优先:从对话轨迹读取真实工具调用记录(DSH 的
data-toolflow items:read / search / bash / write / edit / code / web / files / subagent 等,含递归子调用),同回合去重、上限 6 - 🧹 权威 None:轨迹存在但无工具调用 → 显示 "—",不再误报散文提及(如 "I will search")
- 📡 流式联动:工具卡片出现/移除时自动刷新所属思考行的 Tools 统计
- 🌐 i18n:中文界面显示中文标签(思考/推理/上下文/工具/耗时)
- ♿ a11y:正文键盘可滚动(tabindex+role=region)、统计区 aria-live
第三轮对抗性审查修复(4 P1 + 12 P2)
- 轨迹去重按显示名(read×2 → "Read" 而非 "Read · Read")
- 无工具回合返回权威空(不再回退文本正则误报)
- keepTimer 不再放弃流式中的行(running 时重试并重新武装)
- 版本守卫改用 semver 比较(修复 Number("0.4.0")=NaN 死代码)
- 子调用收集(querySelectorAll)、observer 移除联动、probe 退避重置、
nativeOpened 标记、trail 结果缓存、detectTools 数组提升
安装
git clone https://github.com/AOWAYHONG/dsh-hide-reasoning.git
cd dsh-hide-reasoning && ./install.sh附件:dsh-hide-reasoning-plugin.zip(安装包,含 install/uninstall 脚本)
v0.4.0 — collapsible reasoning summary cards
What's new
Replace native "思考/Thinking" disclosure rows in the DeepSeek Harness conversation view with collapsible summary cards:
- 🏷️ Model badge with vendor logo (DeepSeek whale / OpenAI / Claude / Gemini / Qwen) + name + token badge
- 📊 Context (token estimate), Reasoning (stages), Tools (mention detection), Completion (real measured elapsed)
- 📜 Full reasoning text, live-updating during streaming
- 🧩 Self-healing selectors (
data-variant="think"attribute + install-time class probe) - 🛟 Degraded fallback keeps the native row visible if the body cannot be mounted
Hardening (2 adversarial review rounds)
- Fix: click toggle operated on the JS object instead of the DOM element (pill did nothing)
- Fix: regex infinite-loop freeze (
TOOL_REmissing global flag) - Fix: fabricated 0.0s elapsed for already-finished rows → now shows "—"
- Fix: model probe mis-matched "Settings"/"Workspace" triggers → anchored on effort badge
- Fix: keep-branch regression that hid all pills (collapsed rows lack thinkBody in DOM)
- Fix: installer
rm -rfguard over-blocked the default$HOME/Documentspath - Fix: HMR dispose/version safety, fallback text pollution, WCAG AA contrast
- Security: zero
innerHTML/eval; all DOM writes via createElementNS/textContent
Install
git clone https://github.com/AOWAYHONG/dsh-hide-reasoning.git
cd dsh-hide-reasoning
./install.sh
# restart `dsh web`, hard-refresh (Cmd+Shift+R)Attached: dsh-hide-reasoning-plugin.zip (installer package with install/uninstall scripts).