Clean-mode for the Web GUI: hover any element and right-click to remove it; removals survive reloads and are restorable from the settings page.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Anna-la/dsh-simplify
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness 界面简化插件:进入清理模式后,右键移除页面元素,被移除的元素可在「设置 → 简化」中查看交互式预览并原样恢复。
Clean up the DeepSeek Harness (dsh) web UI: in clean mode, right-click any page element to remove it; removed elements can be previewed interactively and restored from the settings page.
功能 / Features
- 首页左下角、设置按钮上方的「简化」图标按钮,一键进入/退出清理模式(仅图标,无文字)。
- 清理模式中悬浮元素会显示红色描边,右键移除,左键操作完全不受影响,Esc 或再次点击按钮退出。
- 移除记录跨重启持久化:DSH 每次启动会换一个随机端口,按源隔离的 localStorage 在重启后即失效;因此移除记录默认写入
~/.dsh-simplify/records.json(服务端桥/api/dsh-simplify/records,仿官方插件 token-stat 的回环只读/写接口),浏览器 localStorage 仅作本地镜像与离线兜底——重启后记录仍会保留并自动重新生效。可用环境变量DSH_SIMPLIFY_DATA_DIR更改数据目录。 - 记录实时防复活(MutationObserver 重扫):只有与移除时完全相同的元素会被重新清除,列表重排后位置漂移的相邻元素不会被误删。
- 设置页侧栏新增「简化」页:列出所有被移除元素,每条带可交互预览——按原样式绘制,直接点击预览即可执行该元素原本的操作(如切换设置页)且不会还原位置;即使刷新页面后依然可交互(插件会自动收养应用重建的等价元素,页面仍保持移除状态);可独立「恢复」或勾选后「批量恢复」,恢复的元素以原样回到原位置。
- 侧边栏折叠时,页脚按钮与其它插件统一排成一列,互不冲突。
安装 / Install
从 GitHub 仓库安装(需 dsh 命令行):
dsh plugin --profile web add github:Anna-la/dsh-simplify
或从插件市场(dsh-market)搜索 dsh-simplify 安装。安装后重启 Harness(或刷新 Web 页面)即可。
Alternatively install from a local copy:
dsh plugin --profile web add ./<path-to>/dsh-simplify
使用 / Usage
- 点击左侧底部设置按钮上方的「简化」图标进入清理模式(底部出现提示条)。
- 移动鼠标,悬浮的元素会显示红色描边;对该元素单击右键即可移除。左键点击、拖拽等操作不受影响。
- 按
Esc或再次点击「简化」图标退出清理模式。 - 打开「设置 → 简化」,可查看全部已移除元素:行内预览区显示元素原样式,点击可体验它原本的操作(不会还原位置);勾选多条后点「批量恢复」,或对单条点「恢复」。
开发 / Development
client/client.js—— 浏览器端 bundle(DSH client 插件,手写window.__ModuleLoader__.load格式,仅依赖reactseed)。lib/index.js—— 服务端半面:注册回环/api/dsh-simplify/records桥(GET 读 / PUT 写~/.dsh-simplify/records.json),使移除记录跨重启、跨端口保留。fixture-test.html在本地存在:用系统 Chrome 打开可对引擎逻辑做全量自检(移除/记录/恢复/重扫/清理模式/设置页渲染/级联回归/交互预览/服务端桥同步,60 项断言)。fixture-react.html在本地存在:加载真实的 React 18(含事件委托)验证预览交互——同会话与"整页重载收养"两种场景下点击预览均能执行原操作(14 项断言)。
仓库结构符合 DSH 插件收录规范:package.json 声明 dsh.bundle.patch 与根目录 cordis.patch.yml。
License: MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8670
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8670
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4631
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4484
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4133
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1453
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.