Skip to content

Releases: mylee04/code-notify

v1.7.3

06 Apr 21:28

Choose a tag to compare

What's Changed

  • Fix Claude install detection so arbitrary Notification / Stop entries are no longer treated as code-notify being installed
  • Preserve unrelated existing Claude hooks when enabling or disabling code-notify
  • Keep the Claude hook merge/remove behavior aligned across Unix and Windows runtimes
  • Add regression coverage for false-positive detection and custom-hook preservation

v1.7.2

06 Apr 19:27

Choose a tag to compare

What's Changed

  • Fix raw script installs so they also download the click-through helper files
  • Prevent missing click-through*.sh errors after macOS/Linux curl installs
  • Keep Homebrew, npm, and script installs aligned for the click-through runtime

v1.7.1

02 Apr 21:51

Choose a tag to compare

What's New

  • Move generated last_notification_* and last_stop_notification files under ~/.claude/notifications/state/
  • Keep legacy root-level rate-limit files readable during upgrade so dedupe behavior does not break mid-update
  • Align Unix and Windows runtimes around the same state-folder layout and add regression coverage for both paths

Install / Update

brew upgrade code-notify
npm install -g code-notify@latest
cn update

v1.7.0

30 Mar 16:52

Choose a tag to compare

What's New

  • Add macOS click-through commands so notification clicks can activate the app you actually work in
  • Improve embedded terminal support for IDEs like PhpStorm by aligning runtime terminal-key lookup with saved mappings
  • Add regression coverage for empty TERM_PROGRAM cases and named add flows that should prefer the live runtime terminal key

Install / Update

brew upgrade code-notify
npm install -g code-notify@latest
cn update

v1.6.12

26 Mar 20:34

Choose a tag to compare

What's Changed

  • let project-scoped Claude hooks keep working even when the global disabled kill switch is present
  • make project on/off/status consistently use .claude/settings.json while only cleaning up legacy hooks.json for compatibility
  • add regression coverage for both project-scope behaviors

v1.6.11

25 Mar 04:53

Choose a tag to compare

What's Changed

  • fix a Windows PowerShell regex bug that made cn status throw while checking Codex config state
  • use a PowerShell/.NET-safe pattern when scanning Codex config.toml for top-level notify
  • add regression coverage for the Windows status regex path, including a real pwsh execution path when available

v1.6.10

24 Mar 19:22

Choose a tag to compare

What's Changed

  • detect and repair stale Windows Claude hooks that still use old notify.ps1 notification/stop commands
  • repair Claude hooks when settings live under alternate Windows paths like %USERPROFILE%/.config/.claude/settings.json
  • update README and installation docs for the new Windows repair coverage

v1.6.9

24 Mar 17:40

Choose a tag to compare

  • repair stale Claude hook configs from older claude-notify installs during supported upgrades
  • parse Codex notify JSON payloads directly and clarify Codex completion-only behavior
  • keep repeated Claude idle/input alerts deduped after users migrate from legacy hook layouts

v1.6.8

24 Mar 16:16

Choose a tag to compare

What's New

  • Add npm distribution support with code-notify, cn, and cnp entrypoints
  • Deduplicate repeated idle/input notification events so sound playback does not loop while Claude stays idle
  • Teach cn update to detect npm installs and use npm install -g code-notify@latest, including on Windows
  • Keep existing Homebrew and script installers intact while adding npm as an additional distribution channel

v1.6.7 - Windows UX polish

24 Mar 03:34

Choose a tag to compare

  • Fixes cn -v on Windows so it prints the version without PowerShell verbose module reload output
  • Cleans up the up-to-date messaging for cn update and cn update check
  • Adds explicit all aliases for cn on, cn off, and `cn status