feat: add local auth billing and usage management

This commit is contained in:
inman committed 2026-08-12 12:13:06 +08:00
1 parent f642b5e71f
commit 196fdde83f
119 files changed
+15695 -2650

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ describe("organization account client", () => {
it("tracks required organization and staff API configuration separately", () => {
vi.stubEnv("ZHINIAN_ORG_API_BASE_URL", "https://gateway.example.com/basic");
vi.stubEnv("ZHINIAN_ORG_API_TOKEN", "org-token");
vi.stubEnv("ZHINIAN_STAFF_API_BASE_URL", "");
vi.stubEnv("ZHINIAN_ORG_TENANT_ID", "");
expect(getOrganizationApiConfig()).toMatchObject({
configured: true,