AgentBlueprintProtocol.Negotiation.Outcome (Agent Blueprint Protocol v1.1.0)

Copy Markdown View Source

This struct contains the result of a negotiation check.

Use it when reading the supported revision and extension outcomes.

This module does not authorize operations.

Example

%AgentBlueprintProtocol.Negotiation.Outcome{protocol_revision: 1, required_core_fields: [], critical_extensions: [], optional_retained: [], quarantined_extensions: [], notices: []}

Summary

Types

t()

The negotiation result. Notice values may grow, so match known names and keep a catch-all branch.

Types

t()

(since 1.0.0)
@type t() :: %AgentBlueprintProtocol.Negotiation.Outcome{
  critical_extensions: [binary()],
  notices: [atom()],
  optional_retained: [binary()],
  protocol_revision: integer(),
  quarantined_extensions: [binary()],
  required_core_fields: [binary()]
}

The negotiation result. Notice values may grow, so match known names and keep a catch-all branch.