claude-usage-rzp 0.1.0 → 0.1.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.
|
@@ -34,6 +34,9 @@ async function showSummary() {
|
|
|
34
34
|
console.log(` ⬆️ Total Input Tokens: ${chalk_1.default.cyan((0, pricing_1.formatTokens)(stats.totalInputTokens))}`);
|
|
35
35
|
console.log(` ⬇️ Total Output Tokens: ${chalk_1.default.green((0, pricing_1.formatTokens)(stats.totalOutputTokens))}`);
|
|
36
36
|
console.log(` 💰 Estimated Cost: ${chalk_1.default.hex('#FF6B35').bold((0, pricing_1.formatCost)(totalCost))}`);
|
|
37
|
+
if (stats.lastComputedDate) {
|
|
38
|
+
console.log(` 🔄 Last Computed: ${chalk_1.default.dim(stats.lastComputedDate)}`);
|
|
39
|
+
}
|
|
37
40
|
return true;
|
|
38
41
|
}
|
|
39
42
|
async function showLast7Days() {
|
package/package.json
CHANGED
|
@@ -41,6 +41,10 @@ async function showSummary() {
|
|
|
41
41
|
console.log(` ⬇️ Total Output Tokens: ${chalk.green(formatTokens(stats.totalOutputTokens))}`);
|
|
42
42
|
console.log(` 💰 Estimated Cost: ${chalk.hex('#FF6B35').bold(formatCost(totalCost))}`);
|
|
43
43
|
|
|
44
|
+
if (stats.lastComputedDate) {
|
|
45
|
+
console.log(` 🔄 Last Computed: ${chalk.dim(stats.lastComputedDate)}`);
|
|
46
|
+
}
|
|
47
|
+
|
|
44
48
|
return true;
|
|
45
49
|
}
|
|
46
50
|
|