Versions in this module Expand all Collapse all v0 v0.6.0 Aug 7, 2026 v0.5.0 Aug 7, 2026 v0.4.0 Aug 6, 2026 v0.3.0 Aug 1, 2026 v0.2.0 Aug 1, 2026 v0.1.1 Aug 1, 2026 v0.1.0 Aug 1, 2026retracted Changes in this version + const ExcerptLimit + const MaxDataKeys + const MaxDiagnostics + const MaxListItems + const MaxStringBytes + const NextBlocked + const NextHumanHandoff + const NextOperation + const NextTerminal + const Schema + func Encode(envelope Envelope) ([]byte, error) + func Validate(envelope Envelope) error + type Bounded struct + Digest string + Evidence string + Excerpt string + Truncated bool + func Bound(text, digest, evidence string) Bounded + func (bounded Bounded) Fields(prefix string) (map[string]any, error) + type Diagnostic struct + Code string + Fix string + Line int + Message string + Path string + Severity string + type Envelope struct + Data map[string]any + Diagnostics []Diagnostic + Exit Exit + Next Next + OK bool + Operation string + Root *Root + Schema string + State *State + Subject *Subject + func Decode(raw []byte) (Envelope, error) + type Exit struct + Class string + Code int + func ExitFor(code int) (Exit, error) + type Next struct + Arguments map[string]string + Instruction string + Kind string + Operation string + Owner string + Reason string + type Root struct + Path string + type State struct + Revision uint64 + type Subject struct + Change string + Task string