docs: subscription auth is the primary sandcastle flow, API key is fallback

This commit is contained in:
2026-05-13 09:31:33 +02:00
parent 4e1167e390
commit e734a9e7a1
4 changed files with 72 additions and 31 deletions

View File

@@ -1,11 +1,20 @@
# Anthropic Claude API
ANTHROPIC_API_KEY=
# .sandcastle/.env — runtime tokens for sandcastle dispatch.
# Copy to .sandcastle/.env (gitignored) and fill what you need.
#
# Most developers don't need ANY of these if they've run `claude login` on
# the host — sandcastle mounts ~/.claude/ into the sandbox by default.
# OpenAI / Codex
OPENAI_API_KEY=
# Anthropic API key (fallback when no host Claude Code session exists)
# ANTHROPIC_API_KEY=
# GitHub (for PR creation by the orchestrator)
GITHUB_TOKEN=
# OpenAI / Codex (alternative)
# OPENAI_API_KEY=
# Sandcastle's own configuration — sandbox provider (docker | podman | vercel | custom)
# GitHub access for orchestrator-created PRs
# GITHUB_TOKEN=
# Override Claude creds path (default: ~/.claude/)
# SANDCASTLE_CLAUDE_CREDS_DIR=
# Sandbox provider (docker / podman / vercel / daytona)
SANDCASTLE_PROVIDER=docker