Recreate action is also working for the agent itself when requested from the plugin.
It can not work as first step to stop itself.
A switch is added in case we want to recreate the agent to skip this step and returns the callback.
I believe we can replace the skip by a proper agent upgrade but that would need more thinking and work.
Lets first prevent agent stopped by skipping the agent upgrade.
Recreate action is also working for the agent itself when requested from the plugin. It can not work as first step to stop itself.
A switch is added in case we want to recreate the agent to skip this step and returns the callback.
I believe we can replace the skip by a proper agent upgrade but that would need more thinking and work. Lets first prevent agent stopped by skipping the agent upgrade.