agent: add UnitStatePublisher.Purge