We need to create the implementation of a new sandbox provider. We currently have e2b on the sandbox package of the monorepo. Now we need to add a new provider, Daytona. These are the docs https://www.daytona.io/docs/llms.txt The idea is you need to create a compatibility layer API. That means that we can switch sandbox providers. You need to think deeply and plan accordingly by taking a look at the e2b implementation and make the same setup that means creating how Dytona works around creating the Docker images using the same templates, integrating the streaming capabilities to send back to the chat route and so on. The provider switch for now to choose between the two should be system-wide and should be enabled by a .env variable SANDBOX_PROVIDER And from there the API should work for any of both.
We need to create the implementation of a new sandbox provider. We currently have e2b on the sandbox package of the monorepo. Now we need to add a new provider, Daytona. These are the docs https://www.daytona.io/docs/llms.txt The idea is you need to create a compatibility layer API. That means that we can switch sandbox providers. You need to think deeply and plan accordingly by taking a look at the e2b implementation and make the same setup that means creating how Dytona works around creating the Docker images using the same templates, integrating the streaming capabilities to send back to the chat route and so on. The provider switch for now to choose between the two should be system-wide and should be enabled by a .env variable SANDBOX_PROVIDER And from there the API should work for any of both.