Repository navigation
What's changed
- Add the optional E2B remote backend for official E2B and Aliyun Agent Sandbox, including reusable image templates, shell/Python tools, directory uploads and bounded sandbox capacity.
- Handle command cancellation, pending creation, duplicate IDs, pool reservations and cleanup retries while retaining ownership of resources whose deletion is unconfirmed.
- Protect SDK response details and API keys from implicit logging.
- Support Docker
cap_addand explicit unrestricted CPU/memory limits. Existing Docker defaults remain 2 CPUs and 4 GiB. - Fix Docker execution cancellation by restarting the affected sandbox (#17).
- Add bilingual E2B documentation and a Python 3.11 CI job covering 75 fake-provider regressions.
Requirements and installation
Python >=3.11 is required; Python 3.10 is no longer supported.
pip install -U 'ms-enclave[e2b]==0.0.9'For Docker, install ms-enclave[docker]==0.0.9; both extras can be combined as ms-enclave[docker,e2b]==0.0.9.
See the E2B guide for configuration and cleanup behavior.
Full changelog: v0.0.8...v0.0.9