java/code-interpreter/v1.0.13
ruixenui/ruixen.comjava/code-interpreter/v1.0.13Jun 16, 2026by ninan-nn
AI Summary
Major update introducing line-based file reading and directory listing capabilities, alongside a migration of runtime paths from `/opt/opensandbox` to `/opt/code-interpreter`.
Key Highlights
- Runtime paths migrated to `/opt/code-interpreter`.
- Added line-based file reading via `GET /files/download` with offset and limit.
- Added directory listing support through the new execd directory API.
Breaking Changes
- Code Interpreter runtime paths moved from `/opt/opensandbox` to `/opt/code-interpreter`. Hardcoded paths for `code-interpreter.sh`, `code-interpreter-env.sh`, and `jupyter.log` must be updated.
New Features
- Line-based file reads for large text files.
- Directory listing with depth control and symlink handling.
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