mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-26 17:12:27 +03:00
[v3.8.50] refactor(codex): isolate virtual quota pools (#8367)
Merged — locally validated (30/30 focused tests: chatcore-codex-account-pool, codex-account-cooldown-write, codex-account-pool, providers-route-codex-account-pool, resilience-explain-codex-account, sse-auth-codex-account-pool; typecheck:core clean; file-size/complexity/cognitive-complexity/changelog gates all green). Merges clean against the current release tip with zero conflicts. Great refactor — extracting persistCodexQuotaState out of chatCore.ts into a proper codexAccount/ module with virtual quota pool isolation is a solid improvement. Thanks!
This commit is contained in:
@@ -6,7 +6,7 @@ import { dirname, join } from "node:path";
|
||||
|
||||
// Split-guard for the codex executor quota extraction.
|
||||
// The pure quota-snapshot parsing + reset/cooldown scheduling lives in codex/quota.ts.
|
||||
// Host re-exports the 4 public symbols (chatCore/codexQuota.ts + tests import them).
|
||||
// Host re-exports the 4 public symbols for the Codex account module and tests.
|
||||
const HERE = dirname(fileURLToPath(import.meta.url));
|
||||
const EXE = join(HERE, "../../open-sse/executors");
|
||||
const HOST = join(EXE, "codex.ts");
|
||||
|
||||
Reference in New Issue
Block a user