opencode-auth-load-balancer 0.7.0 → 0.7.1
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 +2 -0
- package/dist/index.js +4 -4
- package/dist/sdk/anthropic.d.ts +1 -0
- package/dist/sdk/anthropic.js +19420 -0
- package/dist/sdk/kimi.d.ts +1 -0
- package/dist/sdk/kimi.js +15254 -0
- package/dist/sdk/openai.d.ts +1 -0
- package/dist/sdk/openai.js +20991 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -74,6 +74,8 @@ bun run typecheck
|
|
|
74
74
|
bun test
|
|
75
75
|
bun run build
|
|
76
76
|
bun run scripts/smoke-v2.ts # isolated home/config/database/pool, requires opencode 2
|
|
77
|
+
bun run scripts/smoke-v2.ts . --inference # real host, local mock Anthropic, revoked-token rotation
|
|
78
|
+
bun run scripts/smoke-v2.ts . --live # real Anthropic request using the existing pool
|
|
77
79
|
```
|
|
78
80
|
|
|
79
81
|
---
|
package/dist/index.js
CHANGED
|
@@ -47501,10 +47501,10 @@ var init_v2 = __esm(() => {
|
|
|
47501
47501
|
init_util2();
|
|
47502
47502
|
init_v2_rpc();
|
|
47503
47503
|
packages = {
|
|
47504
|
-
anthropic: "
|
|
47505
|
-
openai: "
|
|
47506
|
-
"kimi-code-plan-cn": "
|
|
47507
|
-
"kimi-code-plan-global": "
|
|
47504
|
+
anthropic: `aisdk:${new URL("./sdk/anthropic.js", import.meta.url).href}`,
|
|
47505
|
+
openai: `aisdk:${new URL("./sdk/openai.js", import.meta.url).href}`,
|
|
47506
|
+
"kimi-code-plan-cn": `aisdk:${new URL("./sdk/kimi.js", import.meta.url).href}`,
|
|
47507
|
+
"kimi-code-plan-global": `aisdk:${new URL("./sdk/kimi.js", import.meta.url).href}`
|
|
47508
47508
|
};
|
|
47509
47509
|
});
|
|
47510
47510
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createAnthropic } from '@ai-sdk/anthropic';
|