better-ccflare 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,7 @@ https://github.com/user-attachments/assets/c859872f-ca5e-4f8b-b6a0-7cc7461fe62a
22
22
  - **⚡ Auto-Refresh** - Automatically start new usage windows when rate limits reset
23
23
  - **📊 Request-Level Analytics** - Track latency, token usage, and costs in real-time with optimized batch processing
24
24
  - **🔍 Deep Debugging** - Full request/response logging and error traces
25
+ - **🔐 API Authentication** - Optional API key authentication with secure key management
25
26
  - **⚡ <10ms Overhead** - Minimal performance impact with lazy loading and request deduplication
26
27
  - **💸 Free & Open Source** - Run it yourself, modify it, own your infrastructure
27
28
 
@@ -147,6 +148,12 @@ PORT=8080 # Server port (default: 8080)
147
148
  BETTER_CCFLARE_HOST=0.0.0.0 # Server binding host (default: 0.0.0.0, use 127.0.0.1 for localhost-only)
148
149
  CLIENT_ID=your-client-id # OAuth client ID
149
150
  BETTER_CCFLARE_CONFIG_PATH=/path/to/config.json # Custom config location
151
+ BETTER_CCFLARE_DB_PATH=/path/to/database.db # Custom database path (default: config dir/better-ccflare.db)
152
+
153
+ # Development Environment
154
+ NODE_ENV=development # Set to 'development' to use separate dev database
155
+ DEV=true # Alternative way to enable development mode
156
+ # When in development, uses 'better-ccflare-dev.db' instead of production
150
157
 
151
158
  # Logging and Debugging
152
159
  LOG_LEVEL=INFO # Log level (ERROR, WARN, INFO, DEBUG)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-ccflare",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Load balancer proxy for Claude API with intelligent distribution across multiple OAuth accounts to avoid rate limiting",
5
5
  "author": "snipeship",
6
6
  "license": "MIT",