Currently the plugin only supports to cli version of structurizr. When there is a deployed version of structurizr/onpremises or access to the cloud version this plugin could fetch the converted diagram from their API.
I am not entirely sure that their API supports this though.
# imaginary psuedo code!
POST workspace/$ID
GET workspace/$ID/diagram.{png,svg,mermaid}
DELETE workspace/$ID
OR
POST transform-this-file?format=mermaid
The limitations of this plugin, like docker in docker and executing in CI are not straight forward to accomplish, could be mitigated by supporting the API services onpremises and cloud.
{
executor: "api",
apiToken: process.env.STRUCTURIZR_API_TOKEN,
apiHost: "https://base-url-of-api"
}