tokf-hook-types 0.2.39

Shared hook and permission types for tokf integrations
Documentation
1
2
3
4
5
6
7
8
9
10
/// Verdict from checking a command against permission rules.
#[derive(Debug, PartialEq, Eq, Clone)]
pub enum PermissionVerdict {
    /// No deny/ask rules matched — safe to auto-allow.
    Allow,
    /// A deny rule matched — pass through to the tool's native deny handling.
    Deny,
    /// An ask rule matched — rewrite the command but let the tool prompt the user.
    Ask,
}