Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -35,20 +37,19 @@ Voice samples: [Daily reset](https://cdn.jsdelivr.net/gh/mylee04/code-notify@mai
<img src="assets/multi-tools-support-02.png" width="48%" alt="All tools enabled"/>
</p>

[![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/)
[![Windows](https://img.shields.io/badge/Windows-supported-green.svg)](https://www.microsoft.com/windows)

---

## 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

---

Expand Down
2 changes: 1 addition & 1 deletion bin/code-notify
Original file line number Diff line number Diff line change
Expand Up @@ -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]}"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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"
Expand Down