fix(issues): API key creation crash (#108) & Codex code review quota (#106)

- Fix API_KEY_SECRET undefined crash with deterministic fallback
- Add code_review_rate_limit parsing for Team/Plus/Pro plan support
- Move feature-81 doc to completed/
- Bump version to v1.1.1
This commit is contained in:
diegosouzapw
2026-02-22 16:28:12 -03:00
parent f8a401da4b
commit 5dab4058c8
7 changed files with 78 additions and 28 deletions

View File

@@ -4,7 +4,7 @@ import crypto from "crypto";
if (!process.env.API_KEY_SECRET) {
console.error("[SECURITY] API_KEY_SECRET is not set. API key CRC will be insecure.");
}
const API_KEY_SECRET = process.env.API_KEY_SECRET;
const API_KEY_SECRET = process.env.API_KEY_SECRET || "omniroute-insecure-default-key";
/**
* Generate 6-char random keyId