GooDAnDReaDY/dsh-key-rotation
Transparent API key rotation, rate-limit pre-emption and failover for DSH: several keys per provider, automatic switching when one is throttled, and a one-click updater.
Keeps a long run going when one key hits a rate limit: requests rotate transparently across the keys configured for a provider, with a failover cascade when a key is exhausted or refused and pre-emption before the limit stops the turn. Settings show current and latest version and can update in place, then ask for a restart so the new host code loads.
Install
dsh plugin --profile web add @goodandready/dsh-key-rotationThe npm line from the README's Installation block, which also gives a github: form. npm @goodandready/dsh-key-rotation, latest 0.8.69, registry repository resolves to this repo. The README says to restart the dsh web service and refresh the tab afterwards; the in-app updater installs the exact latest npm version after an explicit click.
Compatibility
Web profile. The update path is deliberately constrained: no --force, no raw shell, no install from worktree or DEV paths, and the update POST is accepted only from loopback with a matching same-origin Origin/Host header — cross-origin or missing-origin requests get 403.
Details
- Repo: GooDAnDReaDY/dsh-key-rotation
- Category: Models & Providers
- Stars: 9
- Version: 0.8.69 (npm); MIT
Alternatives
GooDAnDReaDY/dsh-subscriptions · GooDAnDReaDY/dsh-clinebot · dushaobindoudou/dsh-freeroute