forked from claude-did-this/claude-hub
This comprehensive update adds support for Claude Max subscription authentication and improves the overall authentication system with multiple methods: 🔐 Claude Authentication Enhancements: - Add setup container method for Claude Max/20x subscription usage ($20-200/month) - Create interactive authentication script (setup-claude-interactive.sh) - Add authentication testing utility (test-claude-auth.sh) - Support three authentication methods: Setup Container, API Key, AWS Bedrock - Comprehensive authentication documentation 📁 Directory Configuration: - Add CLAUDE_HUB_DIR environment variable (default: ~/.claude-hub) - Update .gitignore to use .claude-hub/ instead of hardcoded paths - Consistent environment variable usage across all scripts 🐙 GitHub Token Support: - Add fine-grained GitHub token support (github_pat_) alongside classic tokens (ghp_) - Update token validation in claudeService and githubService - Enhanced token detection and authentication flow 📖 Documentation & Guides: - Add complete Claude Authentication Guide with all three methods - Add Setup Container Deep Dive documentation - Update CLAUDE.md with quick start authentication section - Comprehensive cost comparison and use case recommendations 🐳 Container & Docker Improvements: - Update Dockerfile.claudecode with proper entrypoint script copying - Add Dockerfile.claude-setup for interactive authentication - Update docker-compose.yml with new port (3003) and environment variables - Enhanced container volume mounting for authentication 🔧 Infrastructure Updates: - Add TRUST_PROXY configuration for reverse proxy environments - Update port configuration from 3002 to 3003 - Enhanced environment variable documentation in .env.example - Debug utilities for troubleshooting authentication issues This update enables Claude Max subscribers to use their existing subscriptions for automation, potentially saving thousands in API costs while maintaining full production capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
96 lines
1.0 KiB
Plaintext
96 lines
1.0 KiB
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!.env.template
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Testing
|
|
coverage/
|
|
test-results/
|
|
|
|
# TypeScript build artifacts
|
|
dist/
|
|
*.tsbuildinfo
|
|
|
|
# TypeScript compiled test files
|
|
test/**/*.d.ts
|
|
test/**/*.d.ts.map
|
|
test/**/*.js.map
|
|
# Don't ignore the actual test files
|
|
!test/**/*.test.js
|
|
!test/**/*.spec.js
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# SSH Keys for testing
|
|
ssh_keys_tmp/
|
|
|
|
# AWS CLI installation files
|
|
awscliv2.zip
|
|
|
|
# IDE files
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Pre-commit
|
|
.pre-commit-cache/
|
|
|
|
# Security files
|
|
*.pem
|
|
*.key
|
|
*.crt
|
|
*.p12
|
|
*.pfx
|
|
|
|
# Credential files
|
|
credentials
|
|
config
|
|
auth.json
|
|
service-account.json
|
|
|
|
# Claude authentication output
|
|
.claude-hub/
|
|
|
|
# Docker secrets
|
|
secrets/
|
|
|
|
|
|
# Temporary and backup files
|
|
*.backup
|
|
*.tmp
|
|
*~
|
|
.#*
|
|
|
|
# Root level clutter prevention
|
|
/test-*.js
|
|
/PR_SUMMARY.md
|
|
/*-proposal.md |