From e581ae7b688c0531f5c40775a2d4fb25a261a343 Mon Sep 17 00:00:00 2001 From: Kevinlee49 Date: Thu, 3 Sep 2026 22:11:06 -0500 Subject: [PATCH] chore: prepare v1.13.1 release --- README.md | 13 +++++++------ bin/code-notify | 2 +- package.json | 2 +- scripts/install-windows.ps1 | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2863293..381c291 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ 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. + 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). Voice samples: [Daily reset](https://cdn.jsdelivr.net/gh/mylee04/code-notify@main/assets/audio/codex-token-daily-limit-reset.m4a) ยท [Weekly reset](https://cdn.jsdelivr.net/gh/mylee04/code-notify@main/assets/audio/codex-token-weekly-limit-reset.m4a) @@ -35,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.0-blue.svg)](https://github.com/mylee04/code-notify/releases) +[![Version](https://img.shields.io/badge/version-1.13.1-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/) @@ -43,12 +45,11 @@ Voice samples: [Daily reset](https://cdn.jsdelivr.net/gh/mylee04/code-notify@mai --- -## What's New in v1.13.0 +## What's New in v1.13.1 -- **Advance reset reminders**: Configurable schedules based on provider-reported reset times -- **Per-cycle dedupe**: Prevent repeat reminders after a temporary return to 100% quota, while re-arming for the next reset cycle -- **Flexible timestamps**: Accept Unix seconds, milliseconds, and ISO-8601 reset times -- **Existing delivery paths**: Reuse desktop, voice, sound, Slack, and Discord without a new service or dependency +- **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 --- diff --git a/bin/code-notify b/bin/code-notify index 032b770..4e5864f 100755 --- a/bin/code-notify +++ b/bin/code-notify @@ -6,7 +6,7 @@ set -e # Version -VERSION="1.13.0" +VERSION="1.13.1" # Determine the directory where the script is located (resolve symlinks) SCRIPT_PATH="${BASH_SOURCE[0]}" diff --git a/package.json b/package.json index 3f34b5f..5aeb923 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "code-notify", - "version": "1.13.0", + "version": "1.13.1", "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 e9b4488..013b7a5 100644 --- a/scripts/install-windows.ps1 +++ b/scripts/install-windows.ps1 @@ -20,7 +20,7 @@ param( $ErrorActionPreference = "Stop" # Version -$VERSION = "1.13.0" +$VERSION = "1.13.1" # 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.0" +$script:VERSION = "1.13.1" $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"