agentvibes 2.4.0 → 2.4.1
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/.claude/hooks/play-tts-piper.sh +10 -2
- package/README.md +7 -7
- package/RELEASE_NOTES.md +64 -0
- package/package.json +1 -1
- package/src/installer.js +12 -15
|
@@ -326,8 +326,16 @@ DURATION=${DURATION:-1} # Default to 1 second if detection fails
|
|
|
326
326
|
|
|
327
327
|
# Play audio in background (skip if in test mode)
|
|
328
328
|
if [[ "${AGENTVIBES_TEST_MODE:-false}" != "true" ]]; then
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
# Detect platform and use appropriate audio player
|
|
330
|
+
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
331
|
+
# macOS: Use afplay (native macOS audio player)
|
|
332
|
+
afplay "$TEMP_FILE" >/dev/null 2>&1 &
|
|
333
|
+
PLAYER_PID=$!
|
|
334
|
+
else
|
|
335
|
+
# Linux/WSL: Try mpv, aplay, or paplay
|
|
336
|
+
(mpv "$TEMP_FILE" || aplay "$TEMP_FILE" || paplay "$TEMP_FILE") >/dev/null 2>&1 &
|
|
337
|
+
PLAYER_PID=$!
|
|
338
|
+
fi
|
|
331
339
|
fi
|
|
332
340
|
|
|
333
341
|
# Wait for audio to finish, then release lock
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
[](https://github.com/paulpreibisch/AgentVibes/actions/workflows/publish.yml)
|
|
12
12
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
13
13
|
|
|
14
|
-
**Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v2.4.
|
|
14
|
+
**Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v2.4.1
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -92,15 +92,15 @@ Whether you're coding in Claude Code, chatting in Claude Desktop, or using Warp
|
|
|
92
92
|
|
|
93
93
|
## 📰 Latest Release
|
|
94
94
|
|
|
95
|
-
**[v2.4.
|
|
95
|
+
**[v2.4.1 - macOS Audio Playback Fix](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.4.1)** 🎉
|
|
96
96
|
|
|
97
|
-
This release
|
|
97
|
+
This patch release fixes a critical audio playback issue on macOS where Piper TTS audio files were being created but not playing. The fix adds platform detection to use the native macOS `afplay` audio player.
|
|
98
98
|
|
|
99
99
|
**Key highlights:**
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
100
|
+
- 🔊 **Fixed macOS Audio Playback** - Audio now plays correctly using native `afplay` command
|
|
101
|
+
- 🐛 **Critical Bug Fix** - Resolved silent audio playback on macOS after v2.4.0 install
|
|
102
|
+
- 🙏 **Community Contribution** - Thanks to BMadCode for reporting and testing!
|
|
103
|
+
- 🍎 **macOS Support Complete** - Both installation (v2.4.0) and playback (v2.4.1) now working
|
|
104
104
|
|
|
105
105
|
[→ View All Releases](https://github.com/paulpreibisch/AgentVibes/releases)
|
|
106
106
|
|
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,3 +1,67 @@
|
|
|
1
|
+
# Release v2.4.1 - macOS Audio Playback Fix (2025-01-15)
|
|
2
|
+
|
|
3
|
+
## 🤖 AI Summary
|
|
4
|
+
|
|
5
|
+
This patch release fixes a critical audio playback issue on macOS where Piper TTS audio files were being created but not playing. The fix adds platform detection to use the native macOS `afplay` audio player instead of trying to use Linux-only audio players (mpv/aplay/paplay) that don't exist on macOS.
|
|
6
|
+
|
|
7
|
+
## 📋 Changes
|
|
8
|
+
|
|
9
|
+
### 🐛 Bug Fixes
|
|
10
|
+
- **Fixed macOS Audio Playback in Piper TTS**
|
|
11
|
+
- Added platform detection to use `afplay` on macOS (Darwin)
|
|
12
|
+
- Keeps existing Linux audio players (mpv/aplay/paplay) for WSL/Linux
|
|
13
|
+
- Audio files now play correctly on macOS instead of silently failing
|
|
14
|
+
- File: `.claude/hooks/play-tts-piper.sh` line 329-339
|
|
15
|
+
|
|
16
|
+
## 🎯 User Impact
|
|
17
|
+
|
|
18
|
+
**For macOS Users**: Audio playback now works! If you were seeing "🎵 Saved to:" messages but hearing no sound, this update fixes that. Simply run `npx agentvibes@latest install --yes` to get the fix.
|
|
19
|
+
|
|
20
|
+
**What Was Broken**: After v2.4.0 added macOS Piper TTS support, audio files were being generated successfully but the playback failed silently because the script was trying to use Linux audio players that don't exist on macOS.
|
|
21
|
+
|
|
22
|
+
**What's Fixed**: The script now detects macOS and uses the native `afplay` command for audio playback.
|
|
23
|
+
|
|
24
|
+
## 📦 Files Changed
|
|
25
|
+
|
|
26
|
+
### Modified
|
|
27
|
+
- `.claude/hooks/play-tts-piper.sh` - Added macOS platform detection for audio playback
|
|
28
|
+
|
|
29
|
+
### Statistics
|
|
30
|
+
- 1 file changed
|
|
31
|
+
- 10 insertions(+)
|
|
32
|
+
- 2 deletions(-)
|
|
33
|
+
|
|
34
|
+
## 🔄 Breaking Changes
|
|
35
|
+
|
|
36
|
+
None. This is a pure bug fix release.
|
|
37
|
+
|
|
38
|
+
## 🚀 Upgrade Notes
|
|
39
|
+
|
|
40
|
+
Simply run:
|
|
41
|
+
```bash
|
|
42
|
+
npx agentvibes@latest install --yes
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
This will update the hooks with the fixed audio playback script.
|
|
46
|
+
|
|
47
|
+
## 🙏 Credits
|
|
48
|
+
|
|
49
|
+
Special thanks to:
|
|
50
|
+
- **BMadCode** for reporting the issue and testing on macOS! (Official AgentVibes contributor 🎉)
|
|
51
|
+
- macOS users who helped identify the silent audio playback problem
|
|
52
|
+
|
|
53
|
+
## 🔗 Related
|
|
54
|
+
|
|
55
|
+
- v2.4.0 - Initial macOS Piper TTS support
|
|
56
|
+
- Issue: Audio files created but not playing on macOS
|
|
57
|
+
- Fix: Platform detection for native audio player selection
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
**Full Changelog**: https://github.com/paulpreibisch/AgentVibes/compare/v2.4.0...v2.4.1
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
1
65
|
# Release v2.4.0 - macOS Piper TTS Support (2025-01-15)
|
|
2
66
|
|
|
3
67
|
## 🤖 AI Summary
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "agentvibes",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"description": "Now your AI Agents can finally talk back! Professional TTS voice for Claude Code and Claude Desktop (via MCP) with multi-provider support.",
|
|
6
6
|
"homepage": "https://agentvibes.org",
|
|
7
7
|
"keywords": [
|
package/src/installer.js
CHANGED
|
@@ -112,22 +112,19 @@ function showReleaseInfo() {
|
|
|
112
112
|
console.log(
|
|
113
113
|
boxen(
|
|
114
114
|
chalk.white.bold('═══════════════════════════════════════════════════════════════\n') +
|
|
115
|
-
chalk.cyan.bold(' 📦 AgentVibes v2.4.
|
|
115
|
+
chalk.cyan.bold(' 📦 AgentVibes v2.4.1 - macOS Audio Playback Fix\n') +
|
|
116
116
|
chalk.white.bold('═══════════════════════════════════════════════════════════════\n\n') +
|
|
117
|
-
chalk.green.bold('
|
|
118
|
-
chalk.cyan('
|
|
119
|
-
chalk.gray(' •
|
|
120
|
-
chalk.gray(' •
|
|
121
|
-
chalk.gray(' •
|
|
122
|
-
chalk.gray(' •
|
|
123
|
-
chalk.cyan('
|
|
124
|
-
chalk.gray(' •
|
|
125
|
-
chalk.gray(' •
|
|
126
|
-
chalk.gray(' •
|
|
127
|
-
chalk.
|
|
128
|
-
chalk.gray(' • CI tests across 9 macOS configurations\n') +
|
|
129
|
-
chalk.gray(' • Validated on macOS 13, 14, and 15\n') +
|
|
130
|
-
chalk.gray(' • Tested on both Intel and Apple Silicon\n\n') +
|
|
117
|
+
chalk.green.bold('🔊 CRITICAL FIX:\n\n') +
|
|
118
|
+
chalk.cyan('Fixed macOS Audio Playback\n') +
|
|
119
|
+
chalk.gray(' • Audio now plays correctly on macOS using native afplay\n') +
|
|
120
|
+
chalk.gray(' • Resolved silent audio playback issue from v2.4.0\n') +
|
|
121
|
+
chalk.gray(' • Platform detection for Linux/WSL vs macOS audio players\n') +
|
|
122
|
+
chalk.gray(' • Thanks to BMadCode for reporting! 🙏\n\n') +
|
|
123
|
+
chalk.cyan('🍎 macOS Support Complete (v2.4.0 + v2.4.1)\n') +
|
|
124
|
+
chalk.gray(' • Install via precompiled binaries (no Python/pipx!)\n') +
|
|
125
|
+
chalk.gray(' • Architecture auto-detection (Apple Silicon & Intel)\n') +
|
|
126
|
+
chalk.gray(' • Audio playback now working perfectly\n') +
|
|
127
|
+
chalk.gray(' • Completely free offline TTS for Mac users\n\n') +
|
|
131
128
|
chalk.white.bold('═══════════════════════════════════════════════════════════════\n\n') +
|
|
132
129
|
chalk.green.bold('🚀 TRY LANGUAGE LEARNING MODE:\n\n') +
|
|
133
130
|
chalk.cyan(' /agent-vibes:language english\n') +
|