agent: remove unnecessary manager from state publisher
Merge pull request #839 from jonboulle/reg

agent: remove unnecessary manager from state publisher