batipanel 0.4.42 → 0.4.44

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.42
1
+ 0.4.44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "batipanel",
3
- "version": "0.4.42",
3
+ "version": "0.4.44",
4
4
  "description": "AI-powered terminal workspace manager — multi-panel tmux layouts with Claude Code, git, monitoring, and more",
5
5
  "bin": {
6
6
  "batipanel": "./bin/cli.sh"
@@ -33,15 +33,22 @@ install_required_tools() {
33
33
  if [ "$OS" = "Darwin" ] && ! command -v brew &>/dev/null; then
34
34
  echo ""
35
35
  echo " Homebrew is required on macOS for installing tools (tmux, etc.)"
36
- local _brew_answer="y"
37
- if [ -z "${npm_lifecycle_event:-}" ]; then
38
- # interactive: ask user
39
- printf " Install Homebrew now? [Y/n] "
40
- if [ -t 0 ]; then
41
- read -r _brew_answer
42
- else
43
- read -r _brew_answer < /dev/tty 2>/dev/null || _brew_answer="y"
44
- fi
36
+ if [ -n "${npm_lifecycle_event:-}" ]; then
37
+ # npm/npx: can't install brew (needs sudo password)
38
+ echo ""
39
+ echo " Run these two commands to install:"
40
+ echo ""
41
+ echo " /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
42
+ echo " curl -fsSL batipanel.com/install.sh | bash"
43
+ echo ""
44
+ exit 1
45
+ fi
46
+ printf " Install Homebrew now? [Y/n] "
47
+ local _brew_answer=""
48
+ if [ -t 0 ]; then
49
+ read -r _brew_answer
50
+ else
51
+ read -r _brew_answer < /dev/tty 2>/dev/null || _brew_answer="y"
45
52
  fi
46
53
  case "$_brew_answer" in
47
54
  [nN]*)
@@ -49,7 +56,9 @@ install_required_tools() {
49
56
  ;;
50
57
  *)
51
58
  echo " Installing Homebrew (this may take 1-2 minutes)..."
52
- NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
59
+ echo " You may need to enter your macOS password below."
60
+ echo ""
61
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
53
62
  # add brew to PATH for this session
54
63
  if [ -f /opt/homebrew/bin/brew ]; then
55
64
  eval "$(/opt/homebrew/bin/brew shellenv)"