LWLAymh/dsh-edit-guardian
文件修改 diff 栏与保留/撤销汇总,以及对 bash/pwsh 危险命令的审批与标红。
关于此插件
1. 文件修改栏 —— 当 agent 通过 write、edit、strreplaceeditor 修改文件时,工具行显示为 文件名 +N行 -M行 [显示 diff],点击按钮在行内展开带上下文的 diff。 2. 修改汇总 + 保留/撤销 —— 在输入框上方显示一个常驻、可折叠的「文件更改汇总」栏,agent 工作过程中也会显示。每个文件有保留 / 撤销按钮,头部有全部保留和全部撤销(由宿主侧 /undo 命令执行)。 3. 危险命令审批 + 标红 —— bash / pwsh 执行命令前,如果命令命中破坏性模式(rm、Remove-Item、format、git reset --hard、git push --force、curl|sh 等),先走 DSH 审批 seam,由 Web UI 弹出批准/拒绝提示,通过后才会执行;同时 shell 工具行里命中的危险文本会标红显示。当工具调用请求沙盒升级(sandboxpermissions)时,受影响的路径 / workdir 会标红并带「需要权限」徽标。
$ dsh plugin --profile web add dsh-edit-guardian$ dsh plugin --profile web add github:lwlaymh/dsh-edit-guardian健康评分构成
55 / 100评分综合许可证、社区信号、文档与分发情况,并非代码审计。安装前请审阅源码与 manifest。
安全信息
关键指标
Related
相关插件
dsh-context provides full context lifecycle management features. - Context Dashboard — the cross-session overview above Settings on the sidebar foot: KPI band, activity heatmap, aggregate composition ring, and filterable session cards that jump straight into any session. - Context tab — an UI context dashboard for DeepSeek Harness's context stats, composition, trend, events, and messages. - Context panel — the same dashboard as a right-sidebar tab (dsh 0.1.5-rc.1+): pick Context on the sidebar's
A dual workbench for DSH: native right sidebar + self-drawn bottom panel, with the ctx.betterSidebar service open to every plugin
纯前端 vanilla DOM 实现,零依赖,localStorage 持久化。 三张卡片均为毛玻璃质感(明暗主题自动跟随桌面壁纸),可拖动、任意缩放、自动记忆位置。
在 DSH Web 中同时处理多个项目和会话时,DSH Codex UI 帮你整理左侧导航、快速找到任务,并在长对话中跳回之前的提问。它提供 Codex 风格的界面,支持浅色和深色主题。
DSH Web 聊天背景壁纸。Windows:直接读取你的 Wallpaper Engine(Steam)库,把视频/网页壁纸渲染到聊天界面背后。macOS:自动扫描 WaifuX 下载目录和媒体文件夹——在 WaifuX 里保存的壁纸零配置即可成为 DSH 背景,支持视频与图片。带毛玻璃模糊、压暗、边框调节滑块。
前置要求:DeepSeek Harness 0.1.5-rc.1+(DSH Desktop ≥ 2.0.7)且 dsh-better-sidebar ≥ 0.19.0,安装或更新本插件前请先更新两者。把本机 Wallpaper Engine 的 Video/Web 壁纸实时播放到聊天界面后方,Scene 壁纸由内置渲染器输出完整场景帧,支持内容分级/类型过滤、自定义壁纸上传与 iOS 液态玻璃设置窗口。