kosa8 migrate
Move code from E2B, Daytona, Modal or Vercel Sandbox to kosa8
Available from the next release (after v0.22.1). The current release, v0.22.1, does not have kosa8 migrate: run kosa8 version to see which one you have.
kosa8 migrate scan finds the code that uses another sandbox SDK and says what changes: the one-import swap to kosa8's drop-in shim, every call the shim does not support (before any code runs), and the environment variables to set. --apply makes the import swap, with a backup and the diff. kosa8 migrate template turns an e2b.Dockerfile into a kosa8 Cloud template.
Example#
kosa8 migrate scan kosa8 migrate scan --apply kosa8 migrate template e2b.Dockerfile
Subcommands#
kosa8 migrate scannext release Find E2B, Daytona, Modal and Vercel Sandbox code, and what changes on kosa8
kosa8 migrate templatenext release Turn an e2b.Dockerfile (and its e2b.toml) into a kosa8 Cloud template
kosa8 migrate undonext release Put back the files the last kosa8 migrate scan --apply changed