feat: добавить установку Claude Notifier в ai-setup.sh

Шаг 6.8 - устанавливает claude-notifier через curl, идемпотентно.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 10:11:18 +03:00
parent 704e30d3be
commit 25d42e8b50

View File

@@ -667,6 +667,18 @@ else
fi fi
fi fi
# ── 6.8. Установка Claude Notifier ──────────────────────────
info "Устанавливаю Claude Notifier..."
if [ -f "$HOME/.claude/hooks/claude-notifier-on-stop.js" ]; then
success "Claude Notifier уже установлен"
else
if curl -fsSL https://raw.githubusercontent.com/ashmitb95/claude-notifier/main/install.sh | bash; then
success "Claude Notifier установлен"
else
warn "Не удалось установить Claude Notifier"
fi
fi
# ── 7. Очистка старых функций из .bashrc / .zshrc ─────────── # ── 7. Очистка старых функций из .bashrc / .zshrc ───────────
clean_rc() { clean_rc() {
local rc_file="$1" local rc_file="$1"