java/code-interpreter/v1.0.13
parruda/swarmjava/code-interpreter/v1.0.13Jun 16, 2026by ninan-nn
AI Summary
Updated Java Code Interpreter SDK with a path migration, line-based file reading capabilities, and directory listing support.
Key Highlights
- Code Interpreter runtime paths moved from `/opt/opensandbox` to `/opt/code-interpreter`.
- Added line-based file reads via `GET /files/download` with offset and limit parameters.
- Added directory listing support through the new execd directory API with depth control.
Breaking Changes
- Code Interpreter runtime paths have moved from `/opt/opensandbox` to `/opt/code-interpreter`. If you hardcoded paths like `/opt/opensandbox/code-interpreter.sh`, update them to `/opt/code-interpreter/code-interpreter.sh`.
New Features
- Line-based file reads for large text files
- Directory listing API with entry type support
- Symlink handling improvements in directory listing
Full Release Notes
## What's New ### Breaking Changes - Code Interpreter runtime paths have moved from `/opt/opensandbox` to `/opt/code-interpreter`. If you hardcoded `/opt/opensandbox/code-interpreter.sh`, `/opt/opensandbox/code-interpreter-env.sh`, or `/opt/opensandbox/jupyter.log`, update them to `/opt/code-interpreter/code-interpreter.sh`, `/opt/code-interpreter/code-interpreter-env.sh`, and `/opt/code-interpreter/jupyter.log`. Existing pinned images remain immutable; this migration matters when upgrading to images and SDK constants that include the new path. https://github.com/opensandbox-group/OpenSandbox/pull/1012 ### Features - Added line-based file reads through `GET /files/download` with `offset` and `limit` query parameters, enabling code-interpreter clients to read large text files by line range. - Added directory listing support through the new execd directory API. Directory listing supports depth control, reports `file`, `directory`, `symlink`, and `other` entry types, and does not recursively traverse symlinks. https://github.com/opensandbox-group/OpenSandbox/pull/1001 ### Bug Fixes - Directory listing now rejects a symlink used as the root path instead of silently following it. - The directory-listing API surface was polished for SDK consumers, including clearer symlink and lexical-ordering behavior in the spec. https://github.com/opensandbox-group/OpenSandbox/pull/1001 ### Misc - Bumped the Kotlin Code Interpreter SDK package version to `1.0.13` and aligned its Kotlin Sandbox SDK dependency to `1.0.13`. ### Contributors - @Pangjiping - @asiudgufgbukbsa - @ninan-nn