From 1682e710857e04e4d1ff832dfbf4070fce1c944b Mon Sep 17 00:00:00 2001 From: giles knap Date: Sat, 10 Oct 2026 20:33:48 +0000 Subject: [PATCH] Pin the docs to claude-sandbox 5.1.1, the first release whose pins work with --minimal 5.0.0 rejects --minimal (exit 2), so docs that pinned 5.0.0 while advising --minimal gave a failing postCreate. Pin 5.1.1, which will be tagged right after this merges. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AJKFfYT7qdSfhkZGj6syCo --- docs/how-to/install-without-uv.md | 6 +++--- docs/how-to/sandbox-a-team-devcontainer.md | 2 +- docs/how-to/upgrade.md | 2 +- docs/reference/whats-installed.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/how-to/install-without-uv.md b/docs/how-to/install-without-uv.md index d04c6d0..ad7277b 100644 --- a/docs/how-to/install-without-uv.md +++ b/docs/how-to/install-without-uv.md @@ -10,7 +10,7 @@ or pip installs the same `claude-sandbox` command that uvx runs. With Python 3.11 or later on the host, install it with pipx: ```bash -pipx install claude-sandbox==5.0.0 +pipx install claude-sandbox==5.1.1 cd ~/src/my-project claude-sandbox ``` @@ -19,7 +19,7 @@ Or into a venv of its own: ```bash python3 -m venv ~/.local/share/claude-sandbox-venv -~/.local/share/claude-sandbox-venv/bin/pip install claude-sandbox==5.0.0 +~/.local/share/claude-sandbox-venv/bin/pip install claude-sandbox==5.1.1 cd ~/src/my-project ~/.local/share/claude-sandbox-venv/bin/claude-sandbox ``` @@ -38,7 +38,7 @@ Inside a Debian/Ubuntu devcontainer, as root: ```bash CSBX_DIR="$(mktemp -d)" -git clone --depth 1 --branch 5.0.0 https://github.com/DiamondLightSource/claude-sandbox "$CSBX_DIR" +git clone --depth 1 --branch 5.1.1 https://github.com/DiamondLightSource/claude-sandbox "$CSBX_DIR" bash "$CSBX_DIR/install" --here claude ``` diff --git a/docs/how-to/sandbox-a-team-devcontainer.md b/docs/how-to/sandbox-a-team-devcontainer.md index af78a7e..7437f4d 100644 --- a/docs/how-to/sandbox-a-team-devcontainer.md +++ b/docs/how-to/sandbox-a-team-devcontainer.md @@ -13,7 +13,7 @@ Add this to `.devcontainer/postCreate.sh`: ```bash #!/usr/bin/env bash set -euo pipefail -uvx claude-sandbox==5.0.0 install +uvx claude-sandbox==5.1.1 install ``` Pin the release so upgrades are reviewed with the project. Add `--minimal` diff --git a/docs/how-to/upgrade.md b/docs/how-to/upgrade.md index a44828a..2d690a3 100644 --- a/docs/how-to/upgrade.md +++ b/docs/how-to/upgrade.md @@ -18,7 +18,7 @@ Exit active sessions before recreating, then [authenticate to forges](authenticate-with-forges.md) again if needed. Check the installed launcher with `claude-sandbox --version`. -For a fixed version, install with `uv tool install claude-sandbox==5.0.0`; +For a fixed version, install with `uv tool install claude-sandbox==5.1.1`; change that constraint explicitly to move to another release. If you use the one-off launcher instead of a tool install: diff --git a/docs/reference/whats-installed.md b/docs/reference/whats-installed.md index 8f23ea0..19a895e 100644 --- a/docs/reference/whats-installed.md +++ b/docs/reference/whats-installed.md @@ -44,7 +44,7 @@ See [Upgrade](../how-to/upgrade.md). ## Claude-only installation `uvx claude-sandbox install --minimal` (or `CLAUDE_SANDBOX_MINIMAL=1`) installs -the sandbox for Claude alone. The VS Code extension will install this way. +the sandbox for Claude alone. The VS Code extension installs this way. It implies `WITH_CODEX=0 WITH_PI=0`, and it also leaves out: - `codex-dist/`, `codex-launch`, `pi-dist/`, `pi-run`, `pi-system.md` and