diff --git a/README.md b/README.md index 98e6d77..382fda6 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ cn update code-notify version ``` -**v1.13.1 maintenance fix:** `cn status` no longer reports `REPAIR NEEDED` for the current Claude `ask_user` hook format, while genuine legacy hooks remain repairable. +**v1.13.2 maintenance update:** Native Windows now supports `cn alerts` for Claude notification types. On macOS and Linux, enabling or disabling one tool preserves the mute state of other tools. Usage alerts remain opt-in: start with `cn usage setup --watch`. Existing enabled usage configs without a `reset_reminders` setting use the default reminder schedule. After updating, restart any running watcher with `cn usage watch restart` (include your provider and interval options if customized). @@ -37,7 +37,7 @@ Voice samples: [Daily reset](https://cdn.jsdelivr.net/gh/mylee04/code-notify@mai All tools enabled

-[![Version](https://img.shields.io/badge/version-1.13.1-blue.svg)](https://github.com/mylee04/code-notify/releases) +[![Version](https://img.shields.io/badge/version-1.13.2-blue.svg)](https://github.com/mylee04/code-notify/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![macOS](https://img.shields.io/badge/macOS-supported-green.svg)](https://www.apple.com/macos) [![Linux](https://img.shields.io/badge/Linux-supported-green.svg)](https://www.linux.org/) @@ -45,11 +45,10 @@ Voice samples: [Daily reset](https://cdn.jsdelivr.net/gh/mylee04/code-notify@mai --- -## What's New in v1.13.1 +## What's New in v1.13.2 -- **Accurate Claude status**: Current `ask_user` hooks using `PreToolUse claude` are recognized as enabled instead of legacy -- **No repair loop**: Re-running `cn on claude` is no longer suggested for a configuration Code-Notify just installed -- **Legacy compatibility retained**: Older `PreToolUse` commands without the Claude tool argument are still detected for repair +- **Windows alert configuration**: Use `cn alerts` to view, add, remove, or reset Claude notification types. Changes apply immediately to enabled global Claude hooks. +- **Per-tool mute controls**: On macOS and Linux, `cn on codex` preserves Claude's mute state, and `cn off codex` mutes only Codex. --- diff --git a/bin/code-notify b/bin/code-notify index 4e5864f..f0571a5 100755 --- a/bin/code-notify +++ b/bin/code-notify @@ -6,7 +6,7 @@ set -e # Version -VERSION="1.13.1" +VERSION="1.13.2" # Determine the directory where the script is located (resolve symlinks) SCRIPT_PATH="${BASH_SOURCE[0]}" diff --git a/package.json b/package.json index 5aeb923..739156d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "code-notify", - "version": "1.13.1", + "version": "1.13.2", "description": "Desktop notifications and usage reset alerts for Claude Code, Codex CLI, Gemini CLI, Oh My Pi, and AI coding agents", "license": "MIT", "homepage": "https://github.com/mylee04/code-notify#readme", diff --git a/scripts/install-windows.ps1 b/scripts/install-windows.ps1 index f3188c7..7091ac5 100644 --- a/scripts/install-windows.ps1 +++ b/scripts/install-windows.ps1 @@ -20,7 +20,7 @@ param( $ErrorActionPreference = "Stop" # Version -$VERSION = "1.13.1" +$VERSION = "1.13.2" # Colors and formatting function Write-Success { param([string]$Message) Write-Host "[OK] $Message" -ForegroundColor Green } @@ -107,7 +107,7 @@ function Install-ClaudeNotify { # Code-Notify PowerShell Module # https://github.com/mylee04/code-notify -$script:VERSION = "1.13.1" +$script:VERSION = "1.13.2" $script:ClaudeHome = if ($env:CLAUDE_HOME) { $env:CLAUDE_HOME } else { "$env:USERPROFILE\.claude" } $script:DefaultSettingsFile = "$script:ClaudeHome\settings.json" $script:AlternateSettingsFile = "$env:USERPROFILE\.config\.claude\settings.json"