Skip to content

Feat/tool safety policy#53

Open
tcyjg wants to merge 2 commits into
lessweb:mainfrom
tcyjg:feat/tool-safety-policy
Open

Feat/tool safety policy#53
tcyjg wants to merge 2 commits into
lessweb:mainfrom
tcyjg:feat/tool-safety-policy

Conversation

@tcyjg
Copy link
Copy Markdown
Contributor

@tcyjg tcyjg commented May 13, 2026

Summary

该PR增加了工具执行的安全策略机制,包括权限检查、批准请求和默认策略处理。

Changes

  • 为工具执行添加安全政策评估
  • 为敏感工具操作添加审批流程
  • 将权限检查集成到工具处理器中
  • 更新请求匹配逻辑以使用请求ID
  • 添加读取/工具操作的默认权限策略

Test

  • npm run build
  • npm run test
  • npm run lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant