chiefwiggum 1.2.3 → 1.2.7

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 +18 -4
  2. package/package.json +1 -1
package/chiefwiggum CHANGED
@@ -47,11 +47,25 @@ export NODE_OPTIONS="--unhandled-rejections=strict${NODE_OPTIONS:+ $NODE_OPTIONS
47
47
  # =========================================
48
48
  show_banner() {
49
49
  echo ""
50
- echo -e "${CYAN}░█▀▀░█░█░▀█▀░█▀▀░█▀▀░░░█░█░▀█▀░█▀▀░█▀▀░█░█░█▄█${NC}"
51
- echo -e "${CYAN}░█░░░█▀█░░█░░█▀▀░█▀▀░░░█▄█░░█░░█░█░█░█░█░█░█░█${NC}"
52
- echo -e "${CYAN}░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀░░░░░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀${NC}"
53
- echo -e "${BLUE} Autonomous Coding Agent v${VERSION}${NC}"
50
+ echo -e "${YELLOW}░█▀▀░█░█░▀█▀░█▀▀░█▀▀░░░█░█░▀█▀░█▀▀░█▀▀░█░█░█▄█${NC}"
51
+ echo -e "${YELLOW}░█░░░█▀█░░█░░█▀▀░█▀▀░░░█▄█░░█░░█░█░█░█░█░█░█░█${NC}"
52
+ echo -e "${YELLOW}░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀░░░░░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀${NC}"
53
+ echo -e "${YELLOW} Autonomous Coding Agent v${VERSION}${NC}"
54
54
  echo ""
55
+
56
+ # Check for updates (non-blocking, 2s timeout)
57
+ check_for_updates
58
+ }
59
+
60
+ check_for_updates() {
61
+ local latest
62
+ latest=$(timeout 2s npm view chiefwiggum version 2>/dev/null || echo "")
63
+
64
+ if [ -n "$latest" ] && [ "$latest" != "$VERSION" ]; then
65
+ echo -e "${CYAN} ✨ Update available: v${VERSION} → v${latest}${NC}"
66
+ echo -e "${CYAN} Run: npx chiefwiggum@latest${NC}"
67
+ echo ""
68
+ fi
55
69
  }
56
70
 
57
71
  # =========================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chiefwiggum",
3
- "version": "1.2.3",
3
+ "version": "1.2.7",
4
4
  "description": "Autonomous coding agent CLI. Point it at a plan, watch it build.",
5
5
  "bin": {
6
6
  "chiefwiggum": "./chiefwiggum"