Ideally you should be able to trigger a state machine from both the plugin cli and http event.
My understanding would be that this involves adding an extra function to serverless before the packaging stage so serverless-offline can pick it up. this function would require a specific version of the plugin code with all the other functions bundled alongside. I have seen similar functionality in the serverless nextjs plugin and the serverless-wsgi plugins if we want to use those as reference.
Ideally you should be able to trigger a state machine from both the plugin cli and http event.
My understanding would be that this involves adding an extra function to serverless before the packaging stage so serverless-offline can pick it up. this function would require a specific version of the plugin code with all the other functions bundled alongside. I have seen similar functionality in the serverless nextjs plugin and the serverless-wsgi plugins if we want to use those as reference.