the current status of the plugin is definitely not production-ready. The current state of things should really still be considered a proof-of-concept. It still needs a lot of work.
currently, the plugin uses the apply() and registerEvent() methods in the aggregate as publishers. We were already trying to figure out how to detect publishers for commands. There, we were thinking of using the constructor of the command’s payload object.
Looking at the code you’ve shown, it might be best for the plugin to do the exact same with events. That would safely work around your abstraction layer.