docs: fix post-Python-refactor drift in README and Dockerfile
test / run tests/run_tests.py (push) Successful in 25s
test / run tests/run_tests.py (push) Successful in 25s
Update the quickstart command to ./cli.py and drop a stale Dockerfile comment that referenced scripts/lib/auth.sh, which no longer exists after the bash->Python refactor. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
-15
@@ -44,21 +44,6 @@ WORKDIR /home/node
|
|||||||
# future change to the launcher copies in as a different user.
|
# future change to the launcher copies in as a different user.
|
||||||
RUN mkdir -p /home/node/.claude/skills
|
RUN mkdir -p /home/node/.claude/skills
|
||||||
|
|
||||||
# Pre-populate ~/.claude.json so claude skips the first-run onboarding
|
|
||||||
# screens on every fresh container launch: the theme picker
|
|
||||||
# (`hasCompletedOnboarding`), the "trust this folder" dialog
|
|
||||||
# (`projects.<cwd>.hasTrustDialogAccepted`), the implicit theme
|
|
||||||
# default, and the bypass-permissions-mode warning that fires the
|
|
||||||
# first time `--dangerously-skip-permissions` is used in a profile
|
|
||||||
# (`bypassPermissionsModeAccepted`). Without these, an ephemeral
|
|
||||||
# container shows all four on every start. The fifth screen —
|
|
||||||
# "Detected a custom API key in your environment" — only fires on the
|
|
||||||
# ANTHROPIC_API_KEY fallback path; under the primary OAuth-token flow
|
|
||||||
# (CLAUDE_CODE_OAUTH_TOKEN) it does not appear. When it does fire it
|
|
||||||
# is handled at launch time by scripts/lib/auth.sh, which computes
|
|
||||||
# the key suffix inside the container so the value never crosses
|
|
||||||
# host argv.
|
|
||||||
#
|
|
||||||
# Heredoc delimiter is unquoted so $HOME expands; no other `$` appears
|
# Heredoc delimiter is unquoted so $HOME expands; no other `$` appears
|
||||||
# in the body, so this is safe under dash (Docker's default RUN shell).
|
# in the body, so this is safe under dash (Docker's default RUN shell).
|
||||||
RUN cat > "$HOME/.claude.json" <<JSON
|
RUN cat > "$HOME/.claude.json" <<JSON
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Requires Docker on the host and a long-lived Claude Code OAuth token in
|
|||||||
your shell env.
|
your shell env.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./cli.sh start <agent> # builds the image on first run, drops you into claude
|
./cli.py start <agent> # builds the image on first run, drops you into claude
|
||||||
```
|
```
|
||||||
|
|
||||||
The container is removed automatically when the session ends. If the script
|
The container is removed automatically when the session ends. If the script
|
||||||
|
|||||||
Reference in New Issue
Block a user