mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 02:42:24 +03:00
Four drifts, all from PRs merged into the tip on 2026-09-07: - #12867 extracted chatCore.ts's streaming execution loop into chatCore/providerExecutionPipeline.ts. Its two getProviderCredentials() sites now go through the injected `connection.getProviderCredentials` handle, which the bare-identifier AST scan never saw — the sites would have left the inventory unnoticed. Count property-access calls too and inventory the new file. - #12867 also re-expressed the codex 429 managed-lease fence: the inline `provider === "codex" && !managedLease` became `allowAccountRotation: !managedLease && …` in chatCore.ts, gated in the pipeline as `canRotateAccount`. Assert both halves of that seam instead of the vanished inline form. - #12746 moved combo.ts's getProviderConnectionById into combo/executeTargetGates.ts (class B, unchanged). - #12805 added the Grok Build reset-credit path: src/lib/usage/grokResetCredits.ts (class B — same isConnectionUnavailableToAuxiliaryActivity fence as its codex sibling, so it also joins auxiliaryIsolationSources) and src/app/api/usage/codex-reset-credit/route.ts (class C — resolves the connection's provider to pick a library, never to serve a request). Also pin CATALOG_BUILD_TIMEOUT_MS in models-catalog-route.test.ts: #12627's 8s cold-build bound is sized for a warm production process, and a tsx test runner building the full catalog from a fresh SQLite file crosses it (10-13s observed), returning a `catalog_build_timeout` error body with no `data` array. The bound's own behavior stays covered by 12627-catalog-inflight-timeout.test.ts.