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 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: "aisdk:@ai-sdk/anthropic",
47505
- openai: "aisdk:@ai-sdk/openai",
47506
- "kimi-code-plan-cn": "aisdk:@ai-sdk/openai-compatible",
47507
- "kimi-code-plan-global": "aisdk:@ai-sdk/openai-compatible"
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';