mr-claude-stats 1.0.0 → 1.0.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.
@@ -32,12 +32,13 @@ fi
32
32
 
33
33
  # Se não encontrou, usar cache anterior
34
34
  if [ "$TOTAL" -eq 0 ] && [ -f "$CACHE_FILE" ]; then
35
- TOTAL=$(cat "$CACHE_FILE" 2>/dev/null || echo 45000)
35
+ TOTAL=$(cat "$CACHE_FILE" 2>/dev/null || echo 0)
36
36
  fi
37
37
 
38
- # Fallback final
38
+ # Se não tem dados, mostrar só o modelo
39
39
  if [ "$TOTAL" -eq 0 ]; then
40
- TOTAL=45000
40
+ echo -e "\033[38;5;117m${MODEL}\033[0m"
41
+ exit 0
41
42
  fi
42
43
  PERCENT=$((TOTAL * 100 / CONTEXT))
43
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mr-claude-stats",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Accurate statusline for Claude Code CLI with colorful progress bar",
5
5
  "bin": {
6
6
  "mr-claude-stats": "./bin/mr-claude-stats"