Web 对话「只看结果」开关:隐藏思考与工具调用过程,运行中仅保留一条实时状态行,reduced-motion 环境下恢复活动光影,中英双语。原生输入框与 dsh-split-screen 分屏面板内均可用;已适配 DSH 0.1.1 与 0.1.5。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-result-only-view
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:YEYEYEYESHIFU/dsh-result-only-view
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
English
A Results only toggle for the DeepSeek Harness Web GUI. Turn it on and thinking, tool-call and context-injection rows fold away — only your messages and the final replies remain. Open any of them again whenever you want the details.
- Default on; the state persists in
localStorage. - While the agent runs — one compact chip per running step (tool name + args hint, or the latest thinking line). Click a chip to reveal and expand that step's native row mid-run. With no active step, a single live status line shows the latest one.
- After a turn settles — a
Processed N steps · Xs ▸trace appears at the turn tail: click to expand that turn's process rows; click again to fold them back. Moving the mouse across the line does nothing — expansion is strictly click-driven. - Fold modes — Auto folds settled turns for you; Manual keeps them visible until you fold them from the trace line.
- Never hidden — whitelisted interactive cards (
ask_user_question,cordis_run) and composer approval prompts stay visible. - Settings → General → Results only: show/hide the trace, restore animations under reduced motion, pick the fold mode. zh-CN/en localized.
Install
dsh plugin --profile web add dsh-result-only-view
Then restart dsh web. Uninstall with dsh plugin --profile web remove dsh-result-only-view + restart.
Notes
- Client-side only: no network requests, no filesystem access, no credentials. Reads/writes
localStorageand reads the conversation DOM read-only — the product DOM is never modified. - Hiding relies on stable product DOM attributes plus a MutationObserver for chips. If a DSH update changes the attributes, the plugin degrades gracefully (rows stop hiding) — please report DSH + plugin versions in an issue.
- Row-level CSS fallbacks cover browsers without
:has().
简体中文
DeepSeek Harness Web 的「只看结果」开关。开启后思考行、工具调用行与上下文注入行全部折叠——对话里只剩你的消息和最终回复;需要细节时随时点开。
- 默认开启,状态保存在
localStorage。 - Agent 运行中:每个进行中的步骤显示一枚摘要芯片(工具名 + 参数提示,或最新一行思考)。点击芯片可立即展开该步骤的原生行查看参数与输出;没有运行中步骤时显示一条实时状态行。
- 回合结束后:回合尾部出现「已处理 N 步 · Xs ▸」,点击展开该回合的过程行,再次点击收起。鼠标滑过该行不会有任何反应——只有点击才会展开。
- 折叠方式:自动——回合结束后自动折叠过程行;手动——保留过程行,由你点击痕迹行折叠。
- 永不隐藏:白名单交互卡片(
ask_user_question、cordis_run)与输入框审批提示始终可见。 - 设置 → 常规 → 只看结果:开关痕迹行、减少动态效果下恢复动画、选择折叠方式。中英双语。
安装
dsh plugin --profile web add dsh-result-only-view
然后重启 dsh web。卸载用 dsh plugin --profile web remove dsh-result-only-view 再重启。
说明
- 纯客户端:无网络请求、不访问文件系统、不接触凭据;仅读写
localStorage并只读对话 DOM,不改产品 DOM 结构。 - 隐藏依赖稳定的产品 DOM 属性并用 MutationObserver 渲染芯片;若产品升级改动属性会优雅降级(停止隐藏),请在 issue 中附上双方版本。
- 对不支持
:has()的浏览器保留行级 CSS 兜底。
License
MIT — see LICENSE. Security issues: open a GitHub issue titled [security].
链接
同类插件
zhu1090093659/dsh-web#packages/dsh-task-board★ 8178
侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。
zhu1090093659/dsh-web#packages/dsh-web-all★ 8178
DSH Web UI 插件与皮肤合集:任务看板、git 图、右侧面板、远程移动端 UI、桌宠、实时 token 统计与皮肤中心。
omdsh-dev/DSH-better-sidebar★ 3903
侧边栏完整工作台:内置文件渲染编辑、终端、Git 与子代理,支持三方插件注册新 Tab。
ccch1mneyyy/dsh-TUI★ 3815
Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 3514
右下角常驻的小鲸鱼挂件:余额、今日已用与每轮对话消耗(含峰谷价),余额预警与今日预算的泡泡内容都可编辑;泡泡点击序列模块化自定义,支持并列加权 A/B、随机台词与随机图片;内置 30+ 厂商模板(OpenAI / OpenRouter / Kimi / 硅基流动 / 方舟 / 智谱 / MiniMax 等),按模型查余额与订阅额度;另有任务结束音效、导入音频、自定义角色与资源管理。数据全在本机,无遥测。
Devin-AXIS/deepseek-design#deepseek-idesign★ 1711
可视化设计工作室,支持网站、App 原型、海报、信息卡、报告和杂志的模板创建、元素编辑、选区级 AI 草稿衔接与导出。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。