cli/v0.1.1
opensandbox-group/OpenSandboxcli/v0.1.1May 13, 2026by ninan-nn
AI Summary
The CLI introduces stable diagnostics commands for logs and events with support for multiple output formats while deprecating legacy commands and updating test dependencies.
Key Highlights
- Introduced stable diagnostics commands (`osb diagnostics logs` and `events`) with multiple output modes.
- Deprecated legacy `devops logs` and `events` commands in favor of the new stable API.
- Updated pytest to version 9.0.3 for security fixes.
New Features
- Added `osb diagnostics logs` and `osb diagnostics events` commands
- Supported output modes: table, json, yaml, raw
- Deprecated `osb devops logs` and `osb devops events`
Full Release Notes
## What's new ### ✨ Features - Added stable diagnostics commands to the CLI: `osb diagnostics logs` and `osb diagnostics events`. These commands use the Python SDK diagnostics manager APIs, require an explicit diagnostic `scope`, and support `table`, `json`, `yaml`, and `raw` output modes. The current open-source server returns a clear `DIAGNOSTICS_NOT_IMPLEMENTED` response for scoped stable diagnostics until the backend implementation lands, while legacy unscoped DevOps behavior remains available. https://github.com/alibaba/OpenSandbox/pull/869 - Kept `osb devops logs` and `osb devops events` as deprecated compatibility wrappers over the legacy plain-text flow, preserving existing `--tail`, `--since`, and `--limit` behavior with migration warnings. Bundled troubleshooting guidance now prefers the stable diagnostics API and stops relying on legacy `devops inspect` / `devops summary` flows. https://github.com/alibaba/OpenSandbox/pull/869 ### 🐛 Bug Fixes - Tightened CLI table-output test coverage while addressing cross-repository static-analysis findings. This does not change the public CLI surface, but helps protect output rendering behavior from regressions. https://github.com/alibaba/OpenSandbox/pull/795 ### 📦 Misc - Bumped CLI release metadata to `0.1.1` as part of the diagnostics release train. https://github.com/alibaba/OpenSandbox/pull/869 - Updated the CLI development test lockfile for `pytest` 9.0.3, including upstream pytest fixes such as CVE-2025-71176. This is a test dependency update and does not affect runtime CLI behavior. https://github.com/alibaba/OpenSandbox/pull/719 ### 👥 Contributors - @hittyt - @ninan-nn