Skip to content
docsv0.1.0

Milpa Events v0.1.0

The reference event dispatcher of Milpa — string-named events with dot-segment wildcard subscriptions (user.*), priority ordering, and per-listener error isolation. The concrete implementation of the MilpaEventDispatcherInterface seam milpa/core defines, plus a pluggable async (queue) seam.

Modules declare the capabilities they provide and require, expose tools an agent can invoke, and gate mutating actions behind verification. The contract loop that runs through the whole system:

plugin → capability → tool → verification → event → result

installbash
composer require milpa/events

API reference

1 public types across 1 namespaces — every symbol carries a DocBlock, and this reference is generated straight from them.

Eventing 1