diff --git a/src/unified-dashboard.ts b/src/unified-dashboard.ts index 6cc35b0..4e333b8 100644 --- a/src/unified-dashboard.ts +++ b/src/unified-dashboard.ts @@ -697,7 +697,10 @@ async function buildUsageContent(): Promise { row.d7pct >= 0 ? `${bar(row.d7pct)} ${String(row.d7pct).padStart(3)}%` : ' — '; - lines.push(`${padName(row.name)}${h5} ${d7}`); + const reset = row.h5reset || row.d7reset + ? ` ${row.h5reset || ''}${row.d7reset ? ` / ${row.d7reset}` : ''}` + : ''; + lines.push(`${padName(row.name)}${h5} ${d7}${reset}`); } lines.push('```'); } else { @@ -812,9 +815,7 @@ async function refreshAllCodexAccountUsage(): Promise { } const pct = Math.round(maxH5); const d7Pct = Math.round(maxD7); - const resetStr = h5Reset - ? formatResetRemaining(h5Reset) - : undefined; + const resetStr = h5Reset ? formatResetRemaining(h5Reset) : undefined; const resetD7Str = d7Reset ? formatResetRemaining(d7Reset) : undefined;