Skip to content

Follow the sbx 0.48.0 CLI on create and ls - #84

Merged
czpython merged 2 commits into
mainfrom
sbx-0.48-cli
Oct 26, 2026
Merged

czpython merged 2 commits into
mainfrom
sbx-0.48-cli

Conversation

@czpython

@czpython czpython commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Why

Docker Sandboxes 0.48.0 changed the CLI. sbx create no longer accepts --quiet (0.49.2 answers "unknown flag"), and sbx ls --json returns the sandbox array itself instead of {"sandboxes": [...]}. On a host with sbx 0.48 or later, every sandbox creation and every sandbox count fails.

What

  • create_sandbox sends no quiet flag. drukbox captures the command output anyway.
  • sandbox_count reads the array and treats null as empty.
  • The deploy doc names docker-sbx 0.48.0 as the minimum version.

The change targets sbx 0.48 and later only. Upgrade docker-sbx on a host before it pulls this drukbox image.

Checks

  • uv run ruff check, uv run ruff format --check: pass
  • uv run pyright: 0 errors
  • uv run pytest: 855 passed

Not run against a live 0.49.2 daemon.

🤖 Generated with Claude Code

czpython and others added 2 commits October 26, 2026 11:48
Docker Sandboxes 0.48.0 removed `--quiet` from `sbx create` and made
`sbx ls --json` return the sandbox array itself. drukbox captures the
output of `create` anyway, so it sends no quiet flag. `sandbox_count`
reads the array and rejects any other shape. The deploy doc names
0.48.0 as the minimum `docker-sbx` version.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The only listing shape the guard caught comes from an sbx older than
0.48.0, which the deploy doc rules out.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@czpython
czpython merged commit 5773474 into main Oct 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant