better-ccflare 3.3.23 → 3.4.0
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 +18 -4
- package/dist/better-ccflare +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -189,6 +189,13 @@ RETRY_BACKOFF=2 # Retry backoff multiplier
|
|
|
189
189
|
STORE_PAYLOADS=false # Disable storing request/response bodies (reduces DB size and memory usage)
|
|
190
190
|
# Token counts, costs, model, status and timing are still recorded
|
|
191
191
|
|
|
192
|
+
# Streaming Timeouts
|
|
193
|
+
# Agentic workloads (e.g. recursive claude-code-sdk sessions) can leave the outer
|
|
194
|
+
# stream silent for minutes while sub-calls run. Increase these if long-running
|
|
195
|
+
# nested calls appear failed or missing in the UI (issue #84).
|
|
196
|
+
CF_STREAM_TOTAL_TIMEOUT_MS=1800000 # Max total stream duration per request (default: 30 minutes)
|
|
197
|
+
CF_STREAM_CHUNK_TIMEOUT_MS=300000 # Max silence between consecutive chunks (default: 5 minutes)
|
|
198
|
+
|
|
192
199
|
# Payload encryption at rest (optional)
|
|
193
200
|
# When set, request/response payloads are encrypted with AES-256-GCM before
|
|
194
201
|
# being written to `request_payloads`. Existing plaintext rows remain readable.
|
|
@@ -283,12 +290,10 @@ docker run -d \
|
|
|
283
290
|
|
|
284
291
|
# View logs
|
|
285
292
|
docker logs -f better-ccflare
|
|
286
|
-
|
|
287
|
-
# Manage accounts
|
|
288
|
-
docker exec -it better-ccflare better-ccflare --add-account myaccount --mode claude-oauth --priority 0
|
|
289
|
-
docker exec -it better-ccflare better-ccflare --list
|
|
290
293
|
```
|
|
291
294
|
|
|
295
|
+
Once the container is running, **open http://localhost:8080 in your browser** to add and manage accounts through the Web UI. This is the recommended way — using `docker exec` to run CLI commands inside the container won't work for OAuth-based account modes since the container has no browser.
|
|
296
|
+
|
|
292
297
|
**🆕 Environment Variable Support**: Docker Compose now automatically loads `.env` files from the same directory as `docker-compose.yml`. Simply create a `.env` file alongside your `docker-compose.yml` file and the container will use those settings.
|
|
293
298
|
|
|
294
299
|
**Available Docker tags:**
|
|
@@ -632,6 +637,14 @@ We recommend using one of the workarounds above until the npm bug is fixed.
|
|
|
632
637
|
- **Auto-refresh** - Automatically start new usage windows when they reset
|
|
633
638
|
- **Usage Window Alignment** - Sessions automatically align with Claude OAuth usage window resets for optimal resource utilization
|
|
634
639
|
|
|
640
|
+
### 🔗 Combos — Cross-Provider Fallback Chains
|
|
641
|
+
- **Named Combos** - Create named fallback chains with ordered (account, model) slots
|
|
642
|
+
- **Family Activation** - Assign one combo per model family (Opus, Sonnet, Haiku) — independent activation toggles
|
|
643
|
+
- **Auto Waterfall** - Requests automatically fall through slots top-to-bottom, skipping unavailable accounts (rate-limited, paused)
|
|
644
|
+
- **Per-Slot Model Override** - Each slot can use a different model, enabling cross-model fallback (e.g., try Opus on provider A, then Sonnet on provider B)
|
|
645
|
+
- **SessionStrategy Fallback** - If all combo slots fail, automatically falls back to normal session-based routing
|
|
646
|
+
- **Dashboard Management** - Drag-and-drop slot builder with account provider badges, enable/disable per combo, and family assignment UI
|
|
647
|
+
|
|
635
648
|
### 📈 Real-Time Analytics
|
|
636
649
|
- Token usage tracking per request with optimized batch processing
|
|
637
650
|
- Response time monitoring with intelligent caching
|
|
@@ -697,6 +710,7 @@ Full documentation available in [`docs/`](docs/):
|
|
|
697
710
|
- [Auto-Fallback Guide](docs/auto-fallback.md)
|
|
698
711
|
- [Auto-Refresh Guide](docs/auto-refresh.md)
|
|
699
712
|
- [OpenAI-Compatible Providers](docs/providers.md)
|
|
713
|
+
- [Combos — Fallback Chains](docs/combos.md)
|
|
700
714
|
|
|
701
715
|
## Screenshots
|
|
702
716
|
|
package/dist/better-ccflare
CHANGED
|
Binary file
|
package/package.json
CHANGED