python/sandbox/v0.1.11
ruixenui/ruixen.compython/sandbox/v0.1.11Jun 16, 2026by ninan-nn
AI Summary
Introduces resource request controls for Kubernetes-backed sandboxes, line-based file reading capabilities, and enhanced directory listing support.
Key Highlights
- Added `resourceRequests` for Kubernetes sandboxes
- Line-based file reading via offset and limit query parameters
- Directory listing support through the execd directory API
- Credential Vault integration
New Features
- Resource requests for sandboxes
- Line-based file reads
- Directory listing API
- Detailed replace-content feedback
- Credential Vault support
Full Release Notes
## What's New ### Features - Added `resourceRequests` to sandbox creation so Kubernetes-backed sandboxes can set resource requests separately from limits. Omitting the field preserves the existing behavior where requests match limits. - Added line-based file reads through `GET /files/download` with `offset` and `limit` query parameters. The Python sync and async SDK surfaces were regenerated and wired through to support reading large text files by line range. - Added directory listing support through the new execd directory API. The SDK now exposes depth-controlled traversal and file entry types, while symlinks are reported as symlinks and are not recursively traversed. https://github.com/opensandbox-group/OpenSandbox/pull/1001 - Added detailed replace-content feedback without breaking existing callers. Existing replace methods keep their original behavior, while detailed methods opt in to per-file `replacedCount` results so callers can detect no-match and multi-match replacements. https://github.com/opensandbox-group/OpenSandbox/pull/991 - Added Credential Vault support to the Python SDK path and aligned it with the multi-language SDK coverage for credential injection flows. https://github.com/opensandbox-group/OpenSandbox/pull/1009 https://github.com/opensandbox-group/OpenSandbox/pull/1023 ### Bug Fixes - Fixed resourceRequests-related Python SDK tests and generated model handling. - Fixed replace-content detailed response handling by using the generated verbose parameter and preserving the non-verbose compatibility path. - Synced generated Python SDK code with the latest lifecycle and execd specs. ### Misc - Bumped the Python Sandbox SDK fallback version and default User-Agent to `0.1.11`. ### Contributors - @Pangjiping - @asiudgufgbukbsa - @jwx0925 - @ninan-nn