add docstring

This commit is contained in:
kevin zhao
2025-12-02 16:51:11 -05:00
parent ecf0f163c6
commit a10a775ad7

View File

@@ -98,6 +98,7 @@ pub(crate) enum ApprovalRequirement {
/// Approval required for this tool call
NeedsApproval {
reason: Option<String>,
/// Prefix that can be whitelisted via execpolicy to skip future approvals for similar commands
allow_prefix: Option<Vec<String>>,
},
/// Execution forbidden for this tool call