smf_hooks_protocol library

Low-level wire contract shared by matching SMF engine and hook-runtime versions.

Application hooks should import package:smf_hooks/smf_hooks.dart instead. This library is public only because smf_engine consumes it across a package boundary; it is not application-facing API. Its schema and the consuming engine version evolve together.

Classes

SmfHookProtocol
Single owner for hook environment names and JSON fields.

Enums

SmfHookProtocolPhase
Hook phase encoded by the engine.