mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 12:52:11 +03:00
* feat: add GLM Coding usage/quota tracking with Z.AI session quota Add GLM to the usage tracking pipeline: usage API route, Z.AI quota fetcher (TOKENS_LIMIT percentage-based), quota parser, and Provider Limits UI. Adds API region dropdown (International/China) to Add/Edit connection modals. Displays session quota with plan level. * fix: address PR review feedback for GLM usage tracking - Remove explicit `any` types from getGlmUsage (fix lint budget) - Fix empty string fallback for plan level - Remove duplicate `case "glm"` in quota parser (identical to default) - Skip OAuth refresh flow for GLM (API key auth) in usage route * fix: upgrade path-to-regexp to fix ReDoS vulnerability (GHSA-j3q9-mxjg-w52f, GHSA-27v5-c462-wpq7) --------- Co-authored-by: Chris Staley <christopher-s@users.noreply.github.com>