@andrewkent/claude-statusline 1.1.4 → 1.1.5

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.
@@ -721,7 +721,7 @@ if [ -n "$usage_data" ] && echo "$usage_data" | jq -e . >/dev/null 2>&1; then
721
721
  five_hour_bar=$(build_bar "$five_hour_pct" "$bar_width")
722
722
  five_hour_pct_color=$(color_for_pct "$five_hour_pct")
723
723
 
724
- rate_lines+="${white}$(printf "%-7s" "current")${reset} ${five_hour_bar} ${five_hour_pct_color}$(printf "%5s" "$five_hour_pct_display")%${reset}"
724
+ rate_lines+="${white}$(printf "%-7s" "current")${reset} ${five_hour_bar} ${five_hour_pct_color}$(printf "%5.1f" "$five_hour_pct_display")%%${reset}"
725
725
  [ -n "$five_hour_reset" ] && rate_lines+=" ${white}${five_hour_reset}${reset}"
726
726
 
727
727
  # ── Burn-down projection ──────────────────────────
@@ -782,7 +782,7 @@ if [ -n "$usage_data" ] && echo "$usage_data" | jq -e . >/dev/null 2>&1; then
782
782
  seven_day_bar=$(build_bar "$seven_day_pct" "$bar_width")
783
783
  seven_day_pct_color=$(color_for_pct "$seven_day_pct")
784
784
 
785
- rate_lines+="\n${white}$(printf "%-7s" "weekly")${reset} ${seven_day_bar} ${seven_day_pct_color}$(printf "%5s" "$seven_day_pct_display")%${reset}"
785
+ rate_lines+="\n${white}$(printf "%-7s" "weekly")${reset} ${seven_day_bar} ${seven_day_pct_color}$(printf "%5.1f" "$seven_day_pct_display")%%${reset}"
786
786
  [ -n "$seven_day_reset" ] && rate_lines+=" ${white}${seven_day_reset}${reset}"
787
787
 
788
788
  # ── Weekly burn-down projection ──────────────────
@@ -860,7 +860,7 @@ if [ -n "$usage_data" ] && echo "$usage_data" | jq -e . >/dev/null 2>&1; then
860
860
  extra_bar=$(build_bar "$extra_pct" "$bar_width")
861
861
  extra_pct_color=$(color_for_pct "$extra_pct")
862
862
 
863
- rate_lines+="\n${white}$(printf "%-7s" "extra")${reset} ${extra_bar} ${extra_pct_color}$(printf "%5s" "$extra_pct_display")%${reset} ${white}\$${extra_used}${dim}/${reset}${white}\$${extra_limit}${reset}"
863
+ rate_lines+="\n${white}$(printf "%-7s" "extra")${reset} ${extra_bar} ${extra_pct_color}$(printf "%5.1f" "$extra_pct_display")%%${reset} ${white}\$${extra_used}${dim}/${reset}${white}\$${extra_limit}${reset}"
864
864
  fi
865
865
  fi
866
866
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrewkent/claude-statusline",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Rich multi-line status bar for Claude Code — model, cost, context, git, rate limits",
5
5
  "keywords": [
6
6
  "claude",