@goodandready/dsh-key-rotation 0.7.23 → 0.7.24
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/lib/index.js +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -477,6 +477,7 @@ export function apply(ctx, config = {}) {
|
|
|
477
477
|
const backupKeep = cfg.backupKeep ?? 7;
|
|
478
478
|
const rotationScheduleDays = cfg.rotationScheduleDays ?? 0;
|
|
479
479
|
const rateLimitThreshold = cfg.rateLimitThreshold ?? 0.1;
|
|
480
|
+
const incidentThreshold = cfg.incidentThreshold ?? 5;
|
|
480
481
|
|
|
481
482
|
// ref -> pool (every key env of every configured provider)
|
|
482
483
|
const poolByRef = new Map();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-key-rotation",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.24",
|
|
4
4
|
"description": "Per-provider API key rotation for DeepSeek Harness: a key pool per provider, auto-created clone routes, and switching to the next key on quota/rate-limit errors. Includes a Settings section (Key Rotation) to edit the key pools, cooldown and switch codes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|