2025-06-29 19:27:00 -04:00
|
|
|
# Claude Code Monitor Configuration
|
|
|
|
|
|
|
|
|
|
# Server Configuration
|
2026-03-19 19:00:24 -06:00
|
|
|
SERVER_HOST=127.0.0.1
|
2025-06-29 19:27:00 -04:00
|
|
|
PORT=3001
|
|
|
|
|
READ_TIMEOUT=500
|
|
|
|
|
WRITE_TIMEOUT=500
|
|
|
|
|
IDLE_TIMEOUT=500
|
|
|
|
|
|
|
|
|
|
# Anthropic API Configuration
|
|
|
|
|
# URL to forward requests to (the actual Anthropic API)
|
|
|
|
|
ANTHROPIC_FORWARD_URL=https://api.anthropic.com
|
|
|
|
|
ANTHROPIC_VERSION=2023-06-01
|
|
|
|
|
ANTHROPIC_MAX_RETRIES=3
|
|
|
|
|
|
2026-03-19 18:52:09 -06:00
|
|
|
# OpenAI Configuration (for subagent routing)
|
|
|
|
|
# OPENAI_API_KEY=your-openai-api-key
|
|
|
|
|
# OPENAI_BASE_URL=https://api.openai.com
|
|
|
|
|
# OPENAI_ALLOW_CLIENT_API_KEY=false
|
|
|
|
|
# OPENAI_CLIENT_API_KEY_HEADER=x-openai-api-key
|
|
|
|
|
|
2026-03-19 19:00:24 -06:00
|
|
|
# Auth Configuration
|
|
|
|
|
# AUTH_ENABLED=false
|
|
|
|
|
# AUTH_TOKEN=change-me
|
|
|
|
|
# AUTH_API_KEY_HEADER=x-api-key
|
|
|
|
|
# AUTH_ALLOW_LOCALHOST_BYPASS=true
|
|
|
|
|
|
2025-06-29 19:27:00 -04:00
|
|
|
# Storage Configuration
|
2026-03-19 18:52:09 -06:00
|
|
|
DB_PATH=requests.db
|
2026-03-19 19:00:24 -06:00
|
|
|
STORAGE_CAPTURE_REQUEST_BODY=true
|
|
|
|
|
STORAGE_CAPTURE_RESPONSE_BODY=true
|
|
|
|
|
STORAGE_METADATA_ONLY=false
|
|
|
|
|
STORAGE_RETENTION_DAYS=0
|
|
|
|
|
# STORAGE_REDACTED_FIELDS=api_key,authorization,token,password,secret,access_token,refresh_token,client_secret
|
2026-03-19 18:52:09 -06:00
|
|
|
|
|
|
|
|
# CORS Configuration (comma-separated values)
|
2026-03-19 19:00:24 -06:00
|
|
|
# CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:5173,http://127.0.0.1:5173
|
|
|
|
|
# CORS_ALLOWED_METHODS=GET,POST,DELETE,OPTIONS
|
|
|
|
|
# CORS_ALLOWED_HEADERS=Accept,Authorization,Content-Type,Anthropic-Version,Anthropic-Beta,X-API-Key,X-Requested-With
|