clawculator 2.3.0 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawculator",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "AI cost forensics for OpenClaw and multi-model setups. Your friendly penny pincher. 100% offline. Zero AI. Pure deterministic logic.",
5
5
  "main": "src/analyzer.js",
6
6
  "bin": {
@@ -690,7 +690,7 @@ function analyzeSessions(sessionsPath) {
690
690
 
691
691
  const ageMs = updatedAt ? Date.now() - new Date(updatedAt).getTime() : null;
692
692
  const ageDays = ageMs ? ageMs / (1000 * 3600 * 24) : null;
693
- const dailyCost = (ageDays && ageDays > 0.01 && realCost > 0) ? realCost / ageDays : null;
693
+ const dailyCost = (ageDays && ageDays > 1.0 && realCost > 0) ? realCost / ageDays : null;
694
694
 
695
695
  const realModelKey = resolveModel(realModel);
696
696
  breakdown.push({
package/src/analyzer.js CHANGED
@@ -690,7 +690,7 @@ function analyzeSessions(sessionsPath) {
690
690
 
691
691
  const ageMs = updatedAt ? Date.now() - new Date(updatedAt).getTime() : null;
692
692
  const ageDays = ageMs ? ageMs / (1000 * 3600 * 24) : null;
693
- const dailyCost = (ageDays && ageDays > 0.01 && realCost > 0) ? realCost / ageDays : null;
693
+ const dailyCost = (ageDays && ageDays > 1.0 && realCost > 0) ? realCost / ageDays : null;
694
694
 
695
695
  const realModelKey = resolveModel(realModel);
696
696
  breakdown.push({