opencode-auth-load-balancer 0.7.1 → 0.7.2
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 +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,6 +76,7 @@ bun run build
|
|
|
76
76
|
bun run scripts/smoke-v2.ts # isolated home/config/database/pool, requires opencode 2
|
|
77
77
|
bun run scripts/smoke-v2.ts . --inference # real host, local mock Anthropic, revoked-token rotation
|
|
78
78
|
bun run scripts/smoke-v2.ts . --live # real Anthropic request using the existing pool
|
|
79
|
+
bun run scripts/smoke-v2.ts . --live-codex # real GPT-6.1 Sol request; obsolete host auth must not gate the pool
|
|
79
80
|
```
|
|
80
81
|
|
|
81
82
|
---
|
package/dist/index.js
CHANGED
|
@@ -47378,6 +47378,7 @@ async function setupV2(ctx) {
|
|
|
47378
47378
|
return;
|
|
47379
47379
|
editor.update(adapter.id, (provider) => {
|
|
47380
47380
|
provider.package = packages[adapter.id];
|
|
47381
|
+
provider.integrationID = `auth-load-balancer-${adapter.id}`;
|
|
47381
47382
|
if (active)
|
|
47382
47383
|
provider.activation = "enabled";
|
|
47383
47384
|
provider.settings = { ...provider.settings, transport: "http" };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-auth-load-balancer",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Load-balance opencode requests across multiple Anthropic (Claude) and OpenAI (Codex) OAuth accounts and Kimi Code subscriptions, weighted primarily by weekly usage with drain-before-reset scheduling.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|