opencode-auth-load-balancer 0.2.2 → 0.3.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/dist/fetch.d.ts +1 -0
- package/dist/index.js +986 -886
- package/dist/providers/anthropic/constants.d.ts +9 -4
- package/dist/providers/anthropic/fallback.d.ts +3 -1
- package/dist/providers/openai/usage.d.ts +14 -8
- package/dist/providers/registry.d.ts +26 -0
- package/dist/providers/types.d.ts +10 -6
- package/dist/scheduler/select.d.ts +5 -2
- package/dist/status.d.ts +1 -1
- package/dist/types.d.ts +55 -1
- package/dist/usage-refresh.d.ts +34 -16
- package/dist/util.d.ts +4 -3
- package/package.json +8 -8
- package/tui/auth-load-balancer-tui.logic.ts +131 -8
- package/tui/auth-load-balancer-tui.view.tsx +254 -33
package/dist/fetch.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ProviderAdapter } from './providers/types';
|
|
2
2
|
import type { PoolAccount } from './types';
|
|
3
|
+
export declare const ACCOUNT_COOLDOWN_MS: number;
|
|
3
4
|
/**
|
|
4
5
|
* Run a post-response bookkeeping write that must NEVER fail the request it follows.
|
|
5
6
|
* Usage/cooldown/session writes are best-effort: if the cross-process pool lock times
|