vibeusage 0.3.2 → 0.3.3
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/package.json
CHANGED
|
@@ -385,7 +385,7 @@ function buildSessionPluginIndex({ trackerDir }) {
|
|
|
385
385
|
` cachedInputTokens: toNonNegativeInt(usage.cachedInputTokens ?? usage.cached_input_tokens ?? usage.cacheRead ?? 0) + toNonNegativeInt(usage.cacheWrite ?? 0),\n` +
|
|
386
386
|
` outputTokens: toNonNegativeInt(usage.outputTokens ?? usage.output_tokens ?? usage.output),\n` +
|
|
387
387
|
` reasoningOutputTokens: toNonNegativeInt(usage.reasoningOutputTokens ?? usage.reasoning_output_tokens),\n` +
|
|
388
|
-
` totalTokens: toNonNegativeInt(usage.totalTokens ?? usage.total_tokens)\n` +
|
|
388
|
+
` totalTokens: toNonNegativeInt(usage.totalTokens ?? usage.total_tokens ?? usage.total)\n` +
|
|
389
389
|
` };\n` +
|
|
390
390
|
` const sum = normalized.inputTokens + normalized.cachedInputTokens + normalized.outputTokens + normalized.reasoningOutputTokens + normalized.totalTokens;\n` +
|
|
391
391
|
` return sum > 0 ? normalized : null;\n` +
|