Repository navigation
@e2b/cli@2.26.0
·
2 commits
to main
since this release
Minor Changes
- 49984f9:
e2b sandbox port-forwardaccepts several<local>:<remote>mappings, e.g.e2b sandbox port-forward <sandboxID> 8000:3000 5432, and:<remote>to forward a random free local port - 00da275: Add resizable memory: build a template with
maxMemoryMB, pick each sandbox'smemoryMBon create, and pick the memory and CPUs a paused sandbox resumes with onSandbox.connect.onResume(on_resume) now also accepts an object,{ action, memoryMB, cpuCount }({"action", "memory_mb", "cpu_count"}in Python), next to the existing'restore'/'reboot'strings, which keep working unchanged. The sizes apply only when the connect resumes a paused sandbox, and a size the sandbox cannot take is refused.Template.list(),Template.getInfo()andTemplate.listBuilds()returnmaxMemoryMB, ande2b template listshows aMax RAM MiBcolumn.
Patch Changes
- Updated dependencies [00da275]
- e2b@2.66.0