claude.proto
Permissions.Context
Context provided to permission callbacks.
claude
ppxlib
yojson
type t
The type of permission context.
val jsont : t Jsont.t
jsont is the Jsont codec for permission context. Preserves unknown fields for forward compatibility.
jsont
val create : ?suggestions:Update.t list -> ?unknown:Unknown.t -> unit -> t
create ?suggestions ?unknown () creates a new context.
create ?suggestions ?unknown ()
Optional list of suggested permission updates
Optional unknown fields to preserve
val suggestions : t -> Update.t list
suggestions t returns the list of suggested updates.
suggestions t
val unknown : t -> Unknown.t
unknown t returns the unknown fields.
unknown t