Skip to content
Plugin

dsh-write-protect

azazo141Updated 26d ago

Open on GitHub

防止模型改写工作区里的指定路径. 同时支持放开某些外部目录的写入而不必放开沙箱.

Practical score

81 / 100

Setup

Ready to use

License

MIT

Language

TypeScript

Install

Quick start

Copy the command, or hand the whole task to your harness agent.

git clone https://github.com/azazo1/dsh-write-protect.git
Install with your agent

Please install the DeepSeek Harness plugin "dsh-write-protect" for me. - GitHub repository: azazo1/dsh-write-protect (https://github.com/azazo1/dsh-write-protect) - Type: a Cordis plugin (installed into a DSH profile) - It should work out of the box with no ex…

From the README

A cleaned excerpt from the project's own documentation.

dsh-write-protect 给 DSH 沙箱补上工作区里某一段路径的只读保护, 典型用途是不让模型改 .git . 也可以在 workspace-write 下声明工作区外的额外可写根, 让 bash 与 write / edit 写到相邻目录, 而不必切到 danger-full-access . 还能声明 读拒绝路径 : 命中的位置 read / grep / glob 这些工具与沙箱命令都读不到, 需要时由模型申请本会话授权, 同一条授权同时放开那条路径的读与写. 工作区根还能放一份只读规则文件 (默认 .readonly ), 与插件页配置里的保护路径同语义; 任务要反复写同一片受保护区域时, 模型也可以申请本会话的可写授权 (见下文两节). 会话区还有一个 "写入权限" tab: 在那里可以手动加临时可写根, 也可以把某条授权撤回, 撤回会通知模型. write / edit 工具在所有平台都会挡住保护路径, 并放行额外可写根. bash 等命令在 Linux / macOS 上同样生效; Windows 上 bash / pwsh 既挡不住 .git , 也拿不到额外可写根. 读取默认不受影响, 只有配了读拒绝路径才会被挡 (见 "读拒绝路径" 一节). 官方沙箱只有 "整个工作区可写" 和 "全只读" 两档, 管不到工作区内部的某一段, 也不能把工作区外的个别目录并进 allow-list; Codex 一类实现默认会保护 .git , 本插件补这一块. 安装 Web 端装进 web profile: 固定版本: GitHub Release 同时挂不带版本号的预构建包, 安装时跳过 allowBuilds : 桌面端装进 desktop profile. 它由 Electron 应用独占管理, dsh plugin 会拒绝 --profile desktop , 所以要用应用内的插件管理器: 在插件页的安装入口填上面命令里对应的包名或 tarball 地址. 装上后重启应用, 窗口刷新一次.…

Open on GitHub

Project details

by
azazo1
License
MIT
stars
4
Forks
1
Updated
Oct 16, 2026
Created
Sep 7, 2026
Language
TypeScript
Indexed from
topic

Related entries

Similar tools from the same corner of the ecosystem.

View all
Plugin

xgone/dsh-remote

xgone

Remote access & authentication for DeepSeek Harness web UI: account/password login gate, MFA (TOTP), signed session cookies, role-based access, in-browser directory picker, and a Settings page for account management (npm: @xgone/dsh-remote).

authenticationdeepseek-harnessdsh-plugin
45Ready to use
91/100
Plugin

dsh-ide-git

KannaKuron

DSH plugin: an IDE-grade Git tool window as a native dsh-better-sidebar tab — branch tree, commit graph, changes, commit details, JetBrains-style actions, in the right sidebar and the bottom panel. | DSH 插件:IDE 级 Git 工具窗口,以 dsh-better-sidebar 原生 Tab 挂载——分支树 / 提交图谱 / 变更与提交详情 / JetBrains 风格操作,右侧栏与底部面板双布局自适应。

cordisdeepseekdeepseek-harness
27Ready to use
84/100
Plugin

dsh-ssh-workspace

siqyka

通过SSH方式,将远程主机的文件夹当成DSH的工作区,不需要手动同步、不需要挂载驱动、不需要装任何第三方文件系统。Use a directory on an SSH host as a DSH workspace — hosts management, directory browser, five agent tools.

deepseek-harnessdshdsh-plugin
11Ready to use
83/100