mr-claude-stats 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mr-claude-stats.js +4 -4
- package/package.json +1 -1
package/bin/mr-claude-stats.js
CHANGED
|
@@ -6,7 +6,7 @@ const fs = require('fs');
|
|
|
6
6
|
const path = require('path');
|
|
7
7
|
const readline = require('readline');
|
|
8
8
|
|
|
9
|
-
const VERSION = '1.5.
|
|
9
|
+
const VERSION = '1.5.1';
|
|
10
10
|
const BAR_SIZE = 45;
|
|
11
11
|
const AUTOCOMPACT_BUFFER = 0.225; // 22.5% reserved for autocompact
|
|
12
12
|
|
|
@@ -80,9 +80,9 @@ function buildProgressBar(percent, size = BAR_SIZE) {
|
|
|
80
80
|
const t2 = Math.floor(usableSize * 0.50);
|
|
81
81
|
const t3 = Math.floor(usableSize * 0.75);
|
|
82
82
|
|
|
83
|
-
// Build buffer section (dark
|
|
84
|
-
const
|
|
85
|
-
let bar =
|
|
83
|
+
// Build buffer section (dark green, at the start)
|
|
84
|
+
const DARK_GREEN = '\x1b[38;5;22m';
|
|
85
|
+
let bar = DARK_GREEN + '█'.repeat(bufferBlocks);
|
|
86
86
|
|
|
87
87
|
// Build usage section
|
|
88
88
|
for (let i = 0; i < filled; i++) {
|