-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
19 lines (16 loc) · 877 Bytes
/
.env.sample
File metadata and controls
19 lines (16 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Mode A: Claude Max Subscription (default - recommended for interactive use)
# No configuration needed if you have Claude Max subscription
# Claude Code will authenticate through your subscription
# Mode B: API-Based Programmatic Execution (for automation, CI/CD, webhooks)
# Required for headless/automated workflows
# ANTHROPIC_API_KEY=sk-ant-...
# Optional: Claude Code Path (auto-detected if not set)
# The agent module includes smart CLI detection via find_claude_cli():
# 1. Checks CLAUDE_CODE_PATH environment variable
# 2. Runs `which claude` command
# 3. Checks common install locations (~/.claude/local/claude, /usr/local/bin/claude, etc.)
# 4. Falls back to "claude" (assumes in PATH)
# CLAUDE_CODE_PATH=claude
# Optional: Maintain working directory
# Returns Claude Code to the root directory after every command
# CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=true