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:
12
ai-setup.sh
12
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"
|
||||
|
||||
Reference in New Issue
Block a user