What's New
Breaking Changes
- Code Interpreter runtime paths have moved from
/opt/opensandboxto/opt/code-interpreter, and the Go SDKCodeInterpreterEntrypointconstant now points at the new path. If you callCreateCodeInterpreter()without overriding the entrypoint, no change is needed. If you hardcoded the old path, update to/opt/code-interpreter/code-interpreter.shwhen upgrading to images and SDK constants that include this migration. #1012
Features
- Added
resourceRequeststo 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/downloadwithoffsetandlimitquery parameters, enabling Go callers to read large text files by line range. - Added directory listing support through the new execd directory API. The Go SDK now has a plain
ListDirectory(ctx, path)method that uses the server default depth andListDirectoryWithDepth(ctx, path, depth)for explicit depth control. #1001 - Added detailed replace-content feedback without breaking existing callers. Existing replace behavior remains available, while detailed response types expose per-file
replacedCountvalues so callers can detect no-match and multi-match replacements. #991 - Added Credential Vault support to the Go SDK surface, including model, adapter, sandbox creation, unit test, and E2E coverage. #1009 #1023
Bug Fixes
- Directory listing now omits depth for the default path and uses an explicit method when callers need
depth=0or another override. Entries are documented as lexically ordered within each directory. #1001 - Fixed resourceRequests-related Go SDK tests and generated model handling.
- Fixed replace-content detailed response handling while keeping existing replace usage compatible. #991
Misc
- Prepared the Go Sandbox SDK module for tag
sdks/sandbox/go/v1.0.3.