Memoji character (11 expressions) on the engine's motion; Claude limit shows time to reset; ChatGPT weekly limit from Codex logs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-06 22:16:53 +03:00
parent 8a8dd98e06
commit fbf90fd4fb
23 changed files with 358 additions and 89 deletions
@@ -64,6 +64,16 @@ enum ClaudePlanGauge {
}
}
/// The window with the higher effective percentage (its reset is the one that matters).
static func dominantWindow(_ usage: PlanUsage) -> PlanWindow? {
switch (usage.fiveHour, usage.sevenDay) {
case (nil, nil): return nil
case (let a?, nil): return a
case (nil, let b?): return b
case (let a?, let b?): return effectivePct(b) > effectivePct(a) ? b : a
}
}
/// Hex color for a given percentage (nil → grey).
static func color(for pct: Double?) -> String {
guard let p = pct else { return "#6B7079" }