Skip to content

v0.11.1 — mixin command works next to existing sandboxes

Latest

Choose a tag to compare

@dirien dirien released this 26 Nov 14:32
c4f875d

Fixes the README mixin command failing for anyone who already has a sandbox in the directory (#47, #48).

sbx run --kit ghcr.io/dirien/infrastructure-kit:v0.11.0 --skills=off claude . failed with error: resolve kits: … pass the workload and the kit together whenever the directory already had its default claude-<dir> sandbox, for example from an earlier plain sbx run claude. Without --name, sbx run targets that sandbox, and sbx 0.54.1 can't add a kit to an existing sandbox.

  • Every mixin command now passes --name "iac-${PWD##*/}". A name that isn't taken always creates a new sandbox, whatever else exists in the directory. Re-attach later with sbx run --name "iac-${PWD##*/}". (--new is not an alternative: sbx 0.54.1 supports it only with --cloud.)
  • The mixin declares agent-context@2 only. With two versions, sbx reported the misleading "resolve kits" error. Now the no-name case gets sbx's clear message: sandbox 'claude-<dir>' already exists; --skills, --kit can only be used when creating a new sandbox.
# Mixin on the built-in claude agent:
sbx run --kit ghcr.io/dirien/infrastructure-kit:v0.11.1 --skills=off --name "iac-${PWD##*/}" claude .

# One flag, tools pre-baked (unchanged):
sbx run --kit ghcr.io/dirien/infrastructure-sandbox-kit:v0.11.1 infrastructure-sandbox .

Full changelog: v0.11.0...v0.11.1