
PerryLink/dsh-permission-rules
30最近提交 2026年8月15日
dsh-permission-rules DSH 插件
dsh-permission-rules 是可安装的 DeepSeek Harness 插件,会在工具执行前评估有序 YAML 规则。它可匹配工具名称、参数、工作区相对路径和主机条件,向会话日志记录决策,并可将不确定的调用交由 Harness 审批流程处理。
如何安装 dsh-permission-rules DSH 插件
dsh plugin --profile web add "github:PerryLink/dsh-permission-rules#main"复制不会执行命令。运行前请核对仓库和版本。
数据来源
快照日期:2026年8月15日
manifest-valid
dsh-permission-rules DSH 插件能做什么
- 在 tools/pre-execute 瀑布流上按首个匹配规则执行 allow、deny 和 ask 决策。
- 匹配工具名称 glob、参数 glob 或正则、指定的工作区相对路径参数,以及环境变量或平台条件。
- 支持按工作区加载规则文件、可选的父目录规则发现和热重载监听。
- 将规则命中和透传决策作为 permissionRules/decision 会话事件记录。
- 提供 /rules 命令,用于查看规则、重新加载、回放决策和对假设工具调用进行干运行测试。
- 通过 ctx.approval 路由 ask 决策,并可配合 dsh-auto-review 或人工审批使用。
dsh-permission-rules DSH 插件适合哪些场景
- 在 shell、编辑或其他工具操作执行前阻止已定义的动作。
- 对敏感文件写入或命令操作要求审批。
- 维护仓库级 YAML 权限策略,并可选地使用分层覆盖。
- 在 DeepSeek Harness 会话中审计工具权限决策。
- 无需实际执行工具调用即可测试拟定的权限规则。
dsh-permission-rules DSH 插件适合谁
- 管理工具执行策略的 DeepSeek Harness 用户。
- 需要声明式项目级审批和拒绝规则的团队。
- 将确定性规则与 Harness 审批工作流结合使用的插件用户。
dsh-permission-rules DSH 插件的限制
- 该项目提供的是策略控制而非操作系统级沙箱,不会修改沙箱策略。
- 路径匹配具有启发式特性:仅考虑文档列出的参数键和工作区相对路径。
- Glob 是保守子集,不支持大括号展开。
- 正则回溯防护是结构性而非穷尽性的;README 建议对不可信规则文件使用 glob 模式。
- 部分旧会话日志在具有 required-on-read 语义的主机上加载前可能需要使用附带的修复脚本。
- 需要 Node.js ^22.19.0 或 >=24.0.0。
客观检查信号
这些信号来自公开元数据扫描,不是本站安全认证。
- info
dependency counts
package.json declares 4 runtime, 17 development, 7 peer, and 0 optional dependencies.
- info
dsh bundle declared
package.json declares DSH bundle metadata.
- info
license declared
GitHub reports the repository license as Apache-2.0.
- info
package manifest available
A root package.json was captured and can be inspected by the registry.
- info
prepare script detected
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
- info
source available
Public GitHub source metadata is available for this registry snapshot.
dsh-permission-rules DSH 插件的相关选择
dsh-automation
32
在全新的 DeepSeek Harness Agent 会话中按计划运行独立编码任务,并提供工作区范围控制和持久化运行历史。
dsh-agent-messaging
4
Cross-session agent-to-agent messaging for DeepSeek Harness — address another session by name and deliver a message into its inbox.
awesome-deepseek-harness
36
A curated list of plugins, skills, MCP servers, patch/profile layers, orchestrators & UIs for DeepSeek Harness (DSH). Visualization · PPT · Coding · Agents · Loops (auto-research) and more. #dsh
dsh-mnemon
19
Cross-agent, local-first persistent memory plugin for DeepSeek Harness (DSH), powered by Mnemon. It shares long-term memory across Mnemon-enabled agents and adds runtime memory, searchable project documents, semantic recall, knowledge graph, and a Sidebar UI.
dsh-permission-rules DSH 插件常见问题
dsh-permission-rules DSH 插件是什么?
dsh-permission-rules 是当前 DSH 插件快照收录的项目。页面基于仓库元数据和已核对的说明整理,运行前仍应查看上游仓库。
如何安装 dsh-permission-rules DSH 插件?
页面展示来源记录中的安装命令。复制动作不会执行命令,运行前请确认 package、profile 和版本仍与上游文档一致。
dsh-permission-rules 使用哪个 DSH profile?
dsh-permission-rules 快照记录的 profile 是 web。DSH 版本变化可能调整 profile 约定,安装前请再次核对。
dsh-permission-rules 与当前 DSH 版本兼容吗?
当前数据没有提供可验证的兼容版本矩阵。建议先确认最近提交、release 和 DSH 官方变更,再在可回滚的 profile 中测试。
dsh-permission-rules 加载失败怎么办?
先检查安装命令、profile、依赖安装日志和 Cordis 启动输出。再对照本站排错页与上游 issue,保留完整报错串便于定位。
dsh-permission-rules 有哪些替代 DSH 插件?
页面列出的相关插件来自当前快照的关联结果,只能作为候选。请按能力、最近维护时间、安装方式和限制逐项比较。