pi-smart-voice-notify 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.0] - 2026-03-23
4
+
5
+ ### Added
6
+ - Comprehensive test coverage for TTS and webhook configuration building
7
+ - `buildTTSServiceConfig` and `buildWebhookServiceConfig` helper functions for modular config construction
8
+ - Improved dependency injection for terminal focus detection
9
+
10
+ ### Changed
11
+ - Updated `@mariozechner/pi-coding-agent` and `@mariozechner/pi-tui` peer dependencies to ^0.62.0
12
+ - Refactored TTS configuration building to be more modular and testable
13
+ - Improved notify-audio.ts with cleaner sound theme handling
14
+ - Updated focus detection logic for better cross-platform support
15
+
16
+ ### Fixed
17
+ - Replaced System.Windows.Media.MediaPlayer with P/Invoke to winmm.dll MCI API for reliable audio playback on Windows
18
+ - MediaPlayer can fail when Windows Media Foundation is not properly installed or configured
19
+ - Use mciSendString for notification audio playback with unique aliases per playback instance for concurrent safety
20
+ - Use mciSendString for TTS playback with duration detection
21
+
22
+ ### Tests
23
+ - Added comprehensive test cases for config building functions
24
+ - Added tests for abortable commands and reminder playback
25
+
3
26
  ## [0.2.3] - 2026-03-13
4
27
 
5
28
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-smart-voice-notify",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "description": "Windows-optimized smart voice, sound, and desktop notifications for Pi coding agent.",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -52,8 +52,8 @@
52
52
  ]
53
53
  },
54
54
  "peerDependencies": {
55
- "@mariozechner/pi-coding-agent": "*",
56
- "@mariozechner/pi-tui": "*"
55
+ "@mariozechner/pi-coding-agent": "^0.62.0",
56
+ "@mariozechner/pi-tui": "^0.62.0"
57
57
  },
58
58
  "dependencies": {
59
59
  "node-notifier": "^10.0.1"