|
963 | 963 | <img src="assets/logo/logo-full.svg" alt="context-stats" /> |
964 | 964 | </div> |
965 | 965 | <ul class="nav-links"> |
966 | | - <li><a href="#whats-new">v1.19.0</a></li> |
| 966 | + <li><a href="#whats-new">v1.20.0</a></li> |
967 | 967 | <li><a href="#features">Features</a></li> |
968 | 968 | <li><a href="#cache-warm">Cache Warm</a></li> |
969 | 969 | <li><a href="#how-it-works">Install</a></li> |
|
980 | 980 | <div class="container"> |
981 | 981 | <div class="hero-badge"> |
982 | 982 | <span class="dot"></span> |
983 | | - v1.19.0 — Now with compaction detection & zone recommendations |
| 983 | + v1.20.0 — One-command session discovery & smarter defaults |
984 | 984 | </div> |
985 | 985 |
|
986 | 986 | <h1> |
@@ -1017,7 +1017,7 @@ <h1> |
1017 | 1017 | </div> |
1018 | 1018 | <div class="terminal-body"> |
1019 | 1019 | <div><span class="t-prompt">$ </span><span class="t-cmd">pip install context-stats</span></div> |
1020 | | - <div class="t-muted">Successfully installed context-stats-1.19.0</div> |
| 1020 | + <div class="t-muted">Successfully installed context-stats-1.20.0</div> |
1021 | 1021 | <br/> |
1022 | 1022 | <div><span class="t-prompt">$ </span><span class="t-cmd">context-stats graph</span></div> |
1023 | 1023 | <br/> |
@@ -1147,34 +1147,34 @@ <h3>Lossy compaction, no warning</h3> |
1147 | 1147 | <section id="whats-new"> |
1148 | 1148 | <div class="container"> |
1149 | 1149 | <span class="section-label">What's New</span> |
1150 | | - <h2>v1.19.0 — Compaction visibility<br/>& smarter zone guidance.</h2> |
1151 | | - <p class="lead">Four new features that make context degradation visible and actionable, shipped April 2026.</p> |
| 1150 | + <h2>v1.20.0 — Session discovery<br/>& smarter defaults.</h2> |
| 1151 | + <p class="lead">Stop hunting for session IDs. Three improvements that make the CLI feel instant, shipped April 2026.</p> |
1152 | 1152 |
|
1153 | 1153 | <div class="problem-grid"> |
1154 | 1154 | <div class="pain-card" style="border-color:rgba(0,255,65,0.2);"> |
1155 | | - <div class="pain-icon">▼</div> |
1156 | | - <h3 style="color:var(--green);">Compaction event detection</h3> |
1157 | | - <p>Detect <code>/compact</code> events automatically — a <code>▼</code> marker appears in your graphs at the exact step where Claude compacted, so you can see session history at a glance.</p> |
| 1155 | + <div class="pain-icon">📋</div> |
| 1156 | + <h3 style="color:var(--green);">New <code>sessions</code> command</h3> |
| 1157 | + <p>Run <code>context-stats sessions</code> to list recent sessions with project, model, token count, and last-activity time. Use <code>--minutes N</code> to widen the window.</p> |
1158 | 1158 | </div> |
1159 | 1159 | <div class="pain-card" style="border-color:rgba(0,255,65,0.2);"> |
1160 | | - <div class="pain-icon">⚠</div> |
1161 | | - <h3 style="color:var(--yellow);">MI quality flag at compaction</h3> |
1162 | | - <p>When compaction happens at low model intelligence (<0.6 MI), the summary is flagged as <em>potentially lossy</em>. Now you always know if you can trust the compacted context.</p> |
| 1160 | + <div class="pain-icon">⚡</div> |
| 1161 | + <h3 style="color:var(--cyan);">Session ID is now optional</h3> |
| 1162 | + <p>Every command — <code>graph</code>, <code>report</code>, <code>export</code>, <code>cache-warm</code> — auto-detects the most recent session when you omit the ID. Just run <code>context-stats</code> and go.</p> |
1163 | 1163 | </div> |
1164 | 1164 | <div class="pain-card" style="border-color:rgba(0,255,65,0.2);"> |
1165 | | - <div class="pain-icon">💡</div> |
1166 | | - <h3 style="color:var(--cyan);">Actionable zone recommendations</h3> |
1167 | | - <p>Every zone now ships with a brief recommended action — "Avoid new file reads; complete what's in progress" — so you always know what to do next without consulting docs.</p> |
| 1165 | + <div class="pain-icon">🛡</div> |
| 1166 | + <h3 style="color:var(--yellow);">Stricter <code>sessions</code> validation</h3> |
| 1167 | + <p>Missing, zero, or negative <code>--minutes</code> values now fail fast with a clear error instead of silently falling back to the default. Stray positionals are rejected too.</p> |
1168 | 1168 | </div> |
1169 | 1169 | <div class="pain-card" style="border-color:rgba(0,255,65,0.2);"> |
1170 | | - <div class="pain-icon">🎯</div> |
1171 | | - <h3 style="color:var(--indigo);">Recalibrated 1M zone thresholds</h3> |
1172 | | - <p>Zone boundaries for 1M-context models have been recalibrated to match real-world degradation onset (300–400k tokens), eliminating a 25–120k false-alarm window.</p> |
| 1170 | + <div class="pain-icon">🧹</div> |
| 1171 | + <h3 style="color:var(--indigo);">Modernized internals</h3> |
| 1172 | + <p>Swapped legacy <code>.replace("statusline.", "")</code> and slice-based prefix stripping for Python 3.9+ <code>removeprefix()</code> across the CLI and state modules.</p> |
1173 | 1173 | </div> |
1174 | 1174 | </div> |
1175 | 1175 |
|
1176 | 1176 | <div style="text-align:center;margin-top:32px;"> |
1177 | | - <a href="https://github.com/luongnv89/context-stats/releases/tag/v1.19.0" class="btn-secondary" style="display:inline-flex;"> |
| 1177 | + <a href="https://github.com/luongnv89/context-stats/releases/tag/v1.20.0" class="btn-secondary" style="display:inline-flex;"> |
1178 | 1178 | <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg> |
1179 | 1179 | Full changelog on GitHub |
1180 | 1180 | </a> |
@@ -1507,7 +1507,7 @@ <h2>What you actually see<br/>in the terminal.</h2> |
1507 | 1507 | <div class="t-green"> Exported → session-abc-1234-2026-04-07.md</div> |
1508 | 1508 | <br/> |
1509 | 1509 | <div class="t-h1"> # Session Export — abc-1234</div> |
1510 | | -<div class="t-muted"> Generated: 2026-04-07 12:30:15 | context-stats v1.19.0</div> |
| 1510 | +<div class="t-muted"> Generated: 2026-04-07 12:30:15 | context-stats v1.20.0</div> |
1511 | 1511 | <br/> |
1512 | 1512 | <div class="t-h2"> ## Executive Summary</div> |
1513 | 1513 | <br/> |
@@ -1557,7 +1557,7 @@ <h2>What you actually see<br/>in the terminal.</h2> |
1557 | 1557 | <div class="t-green"> Analyzing 312 sessions across 18 projects...</div> |
1558 | 1558 | <br/> |
1559 | 1559 | <div class="t-h1"> # Token Usage Analytics Report</div> |
1560 | | -<div class="t-muted"> Generated: 2026-04-07 12:00:00 | context-stats v1.19.0</div> |
| 1560 | +<div class="t-muted"> Generated: 2026-04-07 12:00:00 | context-stats v1.20.0</div> |
1561 | 1561 | <br/> |
1562 | 1562 | <div class="t-h2"> ## Executive Summary (last 30 days)</div> |
1563 | 1563 | <br/> |
|
0 commit comments