pub(crate) fn dispatch_permission_action(
action: PermissionAction,
notes_text: &str,
edited_input: Option<Value>,
) -> PermissionDecisionExpand description
Build the PermissionDecision for a submitted option’s action.
notes_text is the user’s “tell the agent” feedback string (or
empty); consumed only when the action is Deny. edited_input is
the user’s modified tool args; consumed only when the action is
AllowWithInput.