claude-scope 0.8.38 → 0.8.39
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/dist/claude-scope.cjs +3 -0
- package/package.json +1 -1
package/dist/claude-scope.cjs
CHANGED
|
@@ -2602,6 +2602,9 @@ var init_usage_parser = __esm({
|
|
|
2602
2602
|
if (typeof usage.input_tokens !== "number" || typeof usage.output_tokens !== "number") {
|
|
2603
2603
|
return null;
|
|
2604
2604
|
}
|
|
2605
|
+
if (usage.input_tokens === 0 && usage.output_tokens === 0) {
|
|
2606
|
+
return null;
|
|
2607
|
+
}
|
|
2605
2608
|
return {
|
|
2606
2609
|
input_tokens: usage.input_tokens,
|
|
2607
2610
|
output_tokens: usage.output_tokens,
|