Module Proto.Permissions

Permission system wire format for Claude tool invocations.

This module provides the wire format encoding/decoding for permission types used in the Claude protocol. It handles JSON serialization and deserialization with proper field name mappings.

Permission Modes

module Mode : sig ... end

Permission modes control the overall behavior of the permission system.

Permission Behaviors

module Behavior : sig ... end

Behaviors determine how permission requests are handled.

Permission Rules

module Rule : sig ... end

Rules define specific permissions for tools.

Permission Updates

module Update : sig ... end

Updates modify permission settings.

Permission Context

module Context : sig ... end

Context provided to permission callbacks.

Permission Results

module Result : sig ... end

Results of permission checks.