All plugins

DSH / BUNDLE / CLIENT-UI

dsh-auto-approve

v0.7.1Jiao-XXX / dsh-auto-approvec6d4222746

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-auto-approve

为 DeepSeek Harness 增加介于 Workspace Write 与 Full access 之间的自动批准权限档:例行沙箱升级由分类模型一次性放行,危险或不确定的操作仍转人工审批。An auto-approval permission preset for DeepSeek Harness between workspace-write and full access: routine sandbox escalations are granted once by a classifier, while dangerous or uncertain requests still go to a human.

README / EN

Package documentation

Registry summary

为 DeepSeek Harness 增加介于 Workspace Write 与 Full access 之间的自动批准权限档:例行沙箱升级由分类模型一次性放行,危险或不确定的操作仍转人工审批。An auto-approval permission preset for DeepSeek Harness between workspace-write and full access: routine sandbox escalations are granted once by a classifier, while dangerous or uncertain requests still go to a human.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

DeepSeek Harness 的 Permissions 选择器尚未提供自定义预设图标 API。本插件因此通过浏览器侧的 best-effort 兼容层识别 `Sandboxed Auto` 触发器和菜单项,再补上图标。该兼容层依赖宿主的 DOM 结构与无障碍文案:菜单需同时出现 `Sandboxed Auto` 与至少两个内置档位标签(英文 `Read Only` / `Workspace Write` / `Full access`,或 0.1.2 起的中文「仅可查看」「工作区内修改」「完全权限」)。dsh 0.2.0 起该菜单被挂到 `<body>` 下、不再与触发器相邻,0.7.1 起兼容层同时识别这种结构(仅在页面上存在权限触发器时才检查 `<body>` 的直接子菜单)。dsh 再次改动这些文案或结构后,图标可能消失——这种失效只影响图标显示,不影响自动审批、危险规则或人工兜底。 ### 宿主版本兼容 插件同时兼容 dsh 0.1.2 之前与之后的会话接口,按运行时特性探测选择调用方式,无需按 dsh 版本安装不同版本: | 接口 | 0.1.2 之前 | 0.1.2 起 | | --- | --- | --- | | 读会话事件 | `session.events` | `session.snapshotEvents()` | | 解析当前权限档 | `permissionPresets.current(events)` | `permissionPresets.current(session)` | dsh **0.1.7** 起还有一处不兼容无法靠特性探测化解:`auto` 成为官方 Auto review 的保留档位名。0.7.0 起本插件改用 `sandboxed-auto`,因此可在 0.1.2 之前到 0.2.x 的全部宿主上运行;0.6.x 及更早版本不能用于 dsh 0.1.7+,升级步骤见[从 0.6.x 升级](#从-06x-升级)。 本 bundle 为插入 `sandboxed-auto` 会整体重述权限预设表,而不是增量追加。未来 `dsh-base` 若新增、重命名或调整权限档,已安装版本不会自动继承这些变化;升级 dsh 时应重新核对并更新 patch,具体步骤见[验收文档](./docs/ACCEPTANCE.md)。