python/sandbox/v0.1.6

opensandbox-group/OpenSandboxpython/sandbox/v0.1.6Mar 27, 2026by ninan-nn

AI Summary

The Python SDK receives updates to support persistent shell workflows, manual cleanup lifecycles, and enhanced volume and command execution capabilities.

Key Highlights

  • Added run_in_session support for persistent shell workflows
  • Added manual-cleanup sandbox lifecycle support
  • Added OSSFS volume backend support

New Features

  • Persistent shell workflows
  • Manual cleanup sandbox lifecycle
  • OSSFS volume backend support
  • Command exit-code support

Full Release Notes

> [!WARNING]
> `run_in_session` was newly introduced in this release, but its current timeout parameter design has an issue.
> We plan to adjust it in a future SDK release.
> If possible, avoid relying on this timeout parameter for now.

## What's New

### ✨ Features
* Added `run_in_session` support for persistent shell workflows in the Python SDK by @Pangjiping in #465
* Added manual-cleanup sandbox lifecycle support in the Python SDK by @hittyt in #446
* Added uid/gid and environment variable support in run-command requests by @Pangjiping in #449
* Added OSSFS volume backend support in the Python SDK by @ninan-nn in #563
* Added command exit-code support for Python SDK command execution by @ninan-nn in #540

### 🐛 Bug Fixes
* Fixed Python SDK handling for nullable lifecycle fields by @ninan-nn in #555

## 👥 Contributors

Thanks to these contributors ❤️

* @Pangjiping
* @hittyt
* @ninan-nn