From 25d42e8b5088b925dd7b09d2c5036d3f47d2837a Mon Sep 17 00:00:00 2001 From: vitaly Date: Sat, 6 Jun 2026 10:11:18 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA?= =?UTF-8?q?=D1=83=20Claude=20Notifier=20=D0=B2=20ai-setup.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Шаг 6.8 - устанавливает claude-notifier через curl, идемпотентно. Co-Authored-By: Claude Sonnet 4.6 --- ai-setup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ai-setup.sh b/ai-setup.sh index 3d841db..be87985 100755 --- a/ai-setup.sh +++ b/ai-setup.sh @@ -667,6 +667,18 @@ else 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 ─────────── clean_rc() { local rc_file="$1"