Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sandbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
From the repo root, create the sandbox or reopen it if it already exists:

```bash
.sandbox/run.sh [name] # name defaults to "monorepo"
.sandbox/run.sh [name] # name defaults to the repo directory name
```

The Claude kit asks to approve its Anthropic credentials. Select **3. No** (start without them).
Expand Down
4 changes: 2 additions & 2 deletions .sandbox/run.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
# Start (or reopen) the workspace sandbox with the workspace kits attached.
# Usage: .sandbox/run.sh [name] (default name: monorepo)
# Usage: .sandbox/run.sh [name] (default name: the repo directory name)
set -euo pipefail

name="${1:-"base-template"}"
cd "$(dirname "$0")/.."
name="${1:-"$(basename "$PWD")"}"

if sbx ls | awk -v n="$name" '$1 == n { found = 1 } END { exit !found }'; then
exec sbx run --name "$name"
Expand Down
Loading