@buckits/claude-statusline 2.1.0 → 2.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/statusline.sh +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buckits/claude-statusline",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A beautiful 2-line dashboard statusline for Claude Code with gradient progress bar, compact threshold marker, git status indicators, cost tracking, and GSD update notifications",
5
5
  "bin": {
6
6
  "claude-statusline": "./bin/install.js"
package/statusline.sh CHANGED
@@ -425,7 +425,7 @@ if [ -n "$gsd_version_file" ]; then
425
425
 
426
426
  # Compare versions - append to line2 if they differ
427
427
  if [ "$latest_ver" != "unknown" ] && [ "$installed_ver" != "$latest_ver" ]; then
428
- gsd_update_suffix=$(printf " \033[2;37m│\033[0m \033[1;33m⬆️ GSD\033[0m \033[2m%s → %s\033[0m \033[1;36m/gsd:update\033[0m" "$installed_ver" "$latest_ver")
428
+ gsd_update_suffix=$(printf " | GSD %s>%s" "$installed_ver" "$latest_ver")
429
429
  fi
430
430
  fi
431
431
  fi
@@ -433,6 +433,5 @@ fi
433
433
  # Append GSD update to line2 if available
434
434
  line2+="$gsd_update_suffix"
435
435
 
436
- # Output the dashboard (always 2 lines)
437
- printf "%s\033[K\n" "$line1"
438
- printf "%s\033[K\n" "$line2"
436
+ # Output the dashboard (2 lines, no trailing newline)
437
+ printf "%s\033[K\n%s\033[K" "$line1" "$line2"