Skip to main content

Crate agent_approval_interchange

Crate agent_approval_interchange 

Source
Expand description

Agent Approval Interchange Specification 1.0 support library.

Structs§

Action
Activity
Actor
ApprovalStore
Reference in-memory, replay-safe approval state machine.
Choice
CreateDecisionOptions
Options for constructing a decision envelope.
CreateRequestOptions
Options for constructing a requested envelope.
Decision
Envelope
Origin
Presentation
Request
Resolution
Risk
Snapshot

Enums§

ApprovalError
Error returned for invalid AAIS documents or state transitions.

Functions§

action_digest
Compute the RFC 8785 / SHA-256 binding for an action.
create_decision
Build a decision bound to an approval.requested envelope.
create_request
Build and validate an approval.requested envelope.
parse
Parse and perform Core validation on one AAIS JSON envelope.
validate
Validate an AAIS envelope.

Type Aliases§

Result