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:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user