dsh-root-bridge

DeepSeek Harness 会话级 root 权限桥:申请制(逐次网页审批)、完整 root(网页内 polkit 密码输入)与 fakeroot 三种模式,支持 sudo 或 run0 --empower 提权,子代理 sudo 策略可配置。它用 sudo 或 run0 提升真实命令的权限:申请制下每次请求都等你批准;完全 root 模式下,在网页里输一次密码后整个会话的每条 bash 命令都以提权方式运行。委托的子代理默认逐次审批(subagentPolicy: request)。

插件介绍

DeepSeek Harness 会话级 root 权限桥:申请制(逐次网页审批)、完整 root(网页内 polkit 密码输入)与 fakeroot 三种模式,支持 sudo 或 run0 --empower 提权,子代理 sudo 策略可配置。它用 sudo 或 run0 提升真实命令的权限:申请制下每次请求都等你批准;完全 root 模式下,在网页里输一次密码后整个会话的每条 bash 命令都以提权方式运行。委托的子代理默认逐次审批(subagentPolicy: request)。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:xiaohuangbo/dsh-root-bridge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。