🥇 export from upstream (2df0c14)

This commit is contained in:
sandcage-export
2026-05-22 20:06:01 +02:00
parent ea7bb89295
commit 37a231beb4
4 changed files with 156 additions and 36 deletions
+7 -4
View File
@@ -38,12 +38,15 @@ This builds three images: `sandcage-base`, `sandcage-claude`, and `sandcage-code
### Run an agent
```bash
sandcage claude # Claude Code in current directory
sandcage codex ~/project # Codex in a specific project
sandcage shell # interactive shell, same environment
sandcage claude # Claude Code in current directory
sandcage claude -p ~/project # Claude Code in a specific project
sandcage claude -- --resume # forward --resume to Claude Code
sandcage codex -p ~/project # Codex in a specific project
sandcage shell # interactive shell, same environment
sandcage claude --shell # shell in the Claude image (for debugging)
```
The workspace is resolved to the git repo root automatically. Inside a git worktree, the worktree root is used instead.
The workspace is resolved to the git repo root automatically. Inside a git worktree, the worktree root is used instead. Arguments after `--` are forwarded to the agent inside the container.
### Initialize a project