From edd599b5ffb19e55104c6ec4cea8db0bd237a443 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Mar 2026 17:49:54 +0000 Subject: [PATCH] fix: update stale README command examples (#239) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add missing 'Est. Cost' column to the live command example table - Replace raw comma-formatted token integers with K/M formatted values (468,625 → 468.6K, 483,762 → 483.8K, 1,225,990 → 1.2M) - Fix cost '↳ Since last shutdown' row: show estimated premium cost (~3) instead of N/A in the Premium Cost column Closes #239 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fcc5bfa..40f8834 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ $ copilot-usage cost │ Session Alpha │ claude-opus-4.6-1m │ 235 │ 288 │ 3 │ 93.6K │ │ Session Beta │ claude-opus-4.6-1m │ 592 │ 504 │ 3 │ 207.3K │ │ Session Gamma │ claude-opus-4.6 │ 8 │ 10 │ 2 │ 400 │ -│ ↳ Since last shutdown │ claude-opus-4.6 │ N/A │ N/A │ 1 │ 150 │ +│ ↳ Since last shutdown │ claude-opus-4.6 │ N/A │ ~3 │ 1 │ 150 │ ├──────────────────────────┼────────────────────┼──────────┼──────────────┼─────────────┼───────────────┤ │ Grand Total │ │ 835 │ 802 │ 8 │ 301.5K │ └──────────────────────────┴────────────────────┴──────────┴──────────────┴─────────────┴───────────────┘ @@ -126,15 +126,15 @@ Example: ``` $ copilot-usage live - 🟢 Active Copilot Sessions -┌─────────────┬───────────────────────────────┬────────────────────┬──────────┬──────────┬───────────────┬─────────────┐ -│ Session ID │ Name │ Model │ Running │ Messages │ Output Tokens │ CWD │ -├─────────────┼───────────────────────────────┼────────────────────┼──────────┼──────────┼───────────────┼─────────────┤ -│ 🟢 b5df8a34 │ Copilot CLI Usage Tracker — │ claude-opus-4.6-1m │ 126h 21m │ 200 │ 468,625 │ /Users/you │ -│ │ Plan │ │ │ │ │ │ -│ 🟢 0faecbdf │ Stock Market Tracker │ claude-opus-4.6-1m │ 136h 17m │ 169 │ 483,762 │ /Users/you │ -│ 🟢 4a547040 │ ShapeShifter │ claude-opus-4.6 │ 150h 33m │ 278 │ 1,225,990 │ /Users/you │ -└─────────────┴───────────────────────────────┴────────────────────┴──────────┴──────────┴───────────────┴─────────────┘ + 🟢 Active Copilot Sessions +┌─────────────┬───────────────────────────────┬────────────────────┬──────────┬──────────┬───────────┬───────────────┬─────────────┐ +│ Session ID │ Name │ Model │ Running │ Messages │ Est. Cost │ Output Tokens │ CWD │ +├─────────────┼───────────────────────────────┼────────────────────┼──────────┼──────────┼───────────┼───────────────┼─────────────┤ +│ 🟢 b5df8a34 │ Copilot CLI Usage Tracker — │ claude-opus-4.6-1m │ 126h 21m │ 200 │ ~600 │ 468.6K │ /Users/you │ +│ │ Plan │ │ │ │ │ │ │ +│ 🟢 0faecbdf │ Stock Market Tracker │ claude-opus-4.6-1m │ 136h 17m │ 169 │ ~504 │ 483.8K │ /Users/you │ +│ 🟢 4a547040 │ ShapeShifter │ claude-opus-4.6 │ 150h 33m │ 278 │ ~834 │ 1.2M │ /Users/you │ +└─────────────┴───────────────────────────────┴────────────────────┴──────────┴──────────┴───────────┴───────────────┴─────────────┘ ``` ##### `copilot-usage session`