Expand description
Permission system for tool execution control
Implements a declarative permission system similar to Claude Code’s permissions. Supports pattern matching with wildcards and three-tier evaluation:
- Deny rules - checked first, any match = immediate denial
- Allow rules - checked second, any match = auto-approval
- Ask rules - checked third, forces confirmation prompt
- Default behavior - falls back to HITL policy
Structs§
- Matching
Rules - Matching rules for debugging
- Permission
Manager - Permission manager that handles per-session permissions
- Permission
Policy - Permission policy configuration
- Permission
Rule - A permission rule with pattern matching support
Enums§
- Permission
Decision - Permission decision result
Traits§
- Permission
Checker - Trait for checking tool execution permissions.