chiefwiggum 1.2.1 → 1.2.3

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/chiefwiggum +3 -3
  2. package/package.json +1 -1
package/chiefwiggum CHANGED
@@ -9,7 +9,7 @@ set -euo pipefail
9
9
  # Autonomous coding agent CLI
10
10
  ###########################################
11
11
 
12
- VERSION="1.2.1"
12
+ VERSION="$(grep '"version"' "$(dirname "$(realpath "$0")")/package.json" 2>/dev/null | sed 's/.*"version": "\([^"]*\)".*/\1/' || echo "dev")"
13
13
 
14
14
  # =========================================
15
15
  # COLORS
@@ -758,10 +758,10 @@ cmd_install() {
758
758
  fi
759
759
 
760
760
  # Install globally
761
- echo "Running: npm install -g chiefwiggum"
761
+ echo "Running: npm install -g chiefwiggum@latest"
762
762
  echo ""
763
763
 
764
- if npm install -g chiefwiggum; then
764
+ if npm install -g chiefwiggum@latest; then
765
765
  echo ""
766
766
  # Set up templates after install
767
767
  # Need to get the installed location
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chiefwiggum",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Autonomous coding agent CLI. Point it at a plan, watch it build.",
5
5
  "bin": {
6
6
  "chiefwiggum": "./chiefwiggum"