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.
- package/chiefwiggum +18 -4
- 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 "${
|
|
51
|
-
echo -e "${
|
|
52
|
-
echo -e "${
|
|
53
|
-
echo -e "${
|
|
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
|
# =========================================
|