LZMW/dsh-role-delegation--packages-dsh-role-guard0

dsh-role-guard

Host-level TOOL / MCP / SKILL permission guard for role-directed team delegation in DSH. Enforces role frontmatter fields (tools / disallowedTools / mcp_servers / skills) at the tools/pre-execute waterfall for spawned role children, and filters the model-facing skill catalog down to the role's whitelist so out-of-scope skills are invisible, not just call-denied.

AI 분석

核心用途是限制子智能体的操作权限。适合构建多智能体团队(如安全审计员、只读分析师)的场景,确保派生的子 Agent 不会越权调用危险工具。

패키지
dsh-role-guard
버전
1.4.2
라이선스
MIT
최근 업데이트
2026. 8. 28.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

配置

- id: dsh-role-guard
  name: dsh-role-guard
  config:
    rolesDir: D:\my-roles   # 可选;仅当 team-delegate 未传 rolePath 时作为回退根