agentvibes 2.4.2 → 2.4.3-beta.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.
@@ -29,7 +29,7 @@
29
29
  # @fileoverview ElevenLabs TTS Provider Implementation - Premium cloud-based TTS
30
30
  # @context Provider-specific implementation for ElevenLabs API integration with multilingual support
31
31
  # @architecture Part of multi-provider TTS system - implements provider interface contract
32
- # @dependencies Requires ELEVENLABS_API_KEY, curl, ffmpeg, paplay/aplay/mpg123, jq
32
+ # @dependencies Requires ELEVENLABS_API_KEY, curl, ffmpeg, afplay (macOS) or paplay/aplay/mpg123 (Linux/WSL), jq
33
33
  # @entrypoints Called by play-tts.sh router with ($1=text, $2=voice_name) when provider=elevenlabs
34
34
  # @patterns Follows provider contract: accept text/voice, output audio file path, API error handling, SSH audio optimization
35
35
  # @related play-tts.sh, provider-manager.sh, voices-config.sh, language-manager.sh, GitHub Issue #25
@@ -384,10 +384,18 @@ if [ -f "${TEMP_FILE}" ]; then
384
384
  fi
385
385
  fi
386
386
 
387
- # Play audio (WSL/Linux) in background to avoid blocking, fully detached (skip if in test mode)
387
+ # Play audio in background to avoid blocking, fully detached (skip if in test mode)
388
388
  if [[ "${AGENTVIBES_TEST_MODE:-false}" != "true" ]]; then
389
- (paplay "${TEMP_FILE}" || aplay "${TEMP_FILE}" || mpg123 "${TEMP_FILE}") >/dev/null 2>&1 &
390
- PLAYER_PID=$!
389
+ # Detect platform and use appropriate audio player
390
+ if [[ "$(uname -s)" == "Darwin" ]]; then
391
+ # macOS: Use afplay (native macOS audio player)
392
+ afplay "${TEMP_FILE}" >/dev/null 2>&1 &
393
+ PLAYER_PID=$!
394
+ else
395
+ # Linux/WSL: Try paplay, aplay, or mpg123
396
+ (paplay "${TEMP_FILE}" || aplay "${TEMP_FILE}" || mpg123 "${TEMP_FILE}") >/dev/null 2>&1 &
397
+ PLAYER_PID=$!
398
+ fi
391
399
  fi
392
400
 
393
401
  # Wait for audio to finish, then release lock
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  [![Publish](https://github.com/paulpreibisch/AgentVibes/actions/workflows/publish.yml/badge.svg)](https://github.com/paulpreibisch/AgentVibes/actions/workflows/publish.yml)
12
12
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
13
13
 
14
- **Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v2.4.1
14
+ **Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v2.4.2
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.1 - macOS Audio Playback Fix](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.4.1)** 🎉
95
+ **[v2.4.2 - BMAD TTS Auto-Injection](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.4.2)** 🎉
96
96
 
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.
97
+ This patch release makes BMAD integration completely automatic! Previously, the installer only created documentation about BMAD integration but didn't modify the agent files. Now AgentVibes automatically enables TTS for BMAD agents during installation.
98
98
 
99
99
  **Key highlights:**
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
100
+ - 🤖 **Automatic BMAD TTS Injection** - BMAD agents speak immediately after installation
101
+ - **Zero Manual Configuration** - No need to run bmad-tts-injector.sh manually
102
+ - 🎯 **Intelligent Detection** - Automatically detects BMAD and enables TTS
103
+ - 🛡️ **Enhanced Error Handling** - User-friendly fallback messages with clear instructions
104
104
 
105
105
  [→ View All Releases](https://github.com/paulpreibisch/AgentVibes/releases)
106
106
 
package/RELEASE_NOTES.md CHANGED
@@ -1,3 +1,77 @@
1
+ # Release v2.4.2 - BMAD TTS Auto-Injection (2025-01-15)
2
+
3
+ ## 🤖 AI Summary
4
+
5
+ This patch release makes BMAD integration completely automatic! Previously, the installer only created documentation about BMAD integration but didn't actually modify the agent files. Now the installer automatically runs `bmad-tts-injector.sh enable` when BMAD is detected, ensuring BMAD agents will speak immediately after installation without requiring manual configuration steps.
6
+
7
+ ## 📋 Changes
8
+
9
+ ### ✨ Improvements
10
+ - **Automatic BMAD TTS Injection**
11
+ - Installer now automatically injects TTS hooks into BMAD agent files
12
+ - Detects BMAD installation and enables TTS during AgentVibes installation
13
+ - No manual steps required - agents speak immediately after install
14
+ - File: `src/installer.js` lines 1004-1036
15
+
16
+ ### 🔧 Technical Changes
17
+ - **Enhanced Installer Logic**
18
+ - Import `execSync` from `node:child_process` to run shell scripts
19
+ - Automatically execute `bmad-tts-injector.sh enable` when BMAD detected
20
+ - Add comprehensive error handling with user-friendly fallback messages
21
+ - Update success message to reflect automatic TTS injection status
22
+ - Show injection status and available commands in completion box
23
+
24
+ ## 🎯 User Impact
25
+
26
+ **For BMAD Users**: When you install AgentVibes, TTS is now **automatically injected** into all your BMAD agent files. Your agents will speak immediately - no need to run `bmad-tts-injector.sh enable` manually!
27
+
28
+ **What Changed**: The installer detects BMAD and automatically runs the TTS injection script, modifying agent files to include TTS hooks. If injection fails for any reason, you'll see a friendly error message with manual fallback instructions.
29
+
30
+ **Installation is Simple**:
31
+ ```bash
32
+ npx agentvibes install --yes
33
+ # TTS is automatically injected into BMAD agents!
34
+ ```
35
+
36
+ ## 📦 Files Changed
37
+
38
+ ### Modified
39
+ - `src/installer.js` - Added automatic BMAD TTS injection during installation
40
+
41
+ ### Statistics
42
+ - 1 file changed
43
+ - 40 insertions(+)
44
+ - 4 deletions(-)
45
+
46
+ ## 🔄 Breaking Changes
47
+
48
+ None. This release enhances the installation experience for BMAD users without affecting existing functionality.
49
+
50
+ ## 🚀 Upgrade Notes
51
+
52
+ Simply run:
53
+ ```bash
54
+ npx agentvibes@latest install --yes
55
+ ```
56
+
57
+ If you previously installed AgentVibes and manually ran `bmad-tts-injector.sh enable`, this update won't affect you. The injection script is idempotent and safe to run multiple times.
58
+
59
+ ## 🙏 Credits
60
+
61
+ This improvement eliminates a manual configuration step that users frequently asked about, making BMAD integration seamless.
62
+
63
+ ## 🔗 Related
64
+
65
+ - v2.4.1 - macOS Audio Playback Fix
66
+ - v2.4.0 - macOS Piper TTS Support
67
+ - BMAD Plugin Documentation: `docs/bmad-plugin.md`
68
+
69
+ ---
70
+
71
+ **Full Changelog**: https://github.com/paulpreibisch/AgentVibes/compare/v2.4.1...v2.4.2
72
+
73
+ ---
74
+
1
75
  # Release v2.4.1 - macOS Audio Playback Fix (2025-01-15)
2
76
 
3
77
  ## 🤖 AI Summary
@@ -0,0 +1,57 @@
1
+ # GitHub Profile Draft - Paul Preibisch
2
+
3
+ ## Overview
4
+ Hi! I'm Paul Preibisch, a Software Developer with over 12 years of experience, primarily in educational software. I'm currently deep diving into agentic programming and modern AI-driven development workflows.
5
+
6
+ ## Current Focus
7
+
8
+ ### 🎭 AgentVibes - Voice-Enabled AI Development
9
+ Creator and maintainer of [AgentVibes](https://github.com/paulpreibisch/AgentVibes) (13 ⭐), an innovative tool that brings Claude Code sessions to life with voice. This project represents my deep dive into agentic programming, where I've invested over 850 hours exploring autonomous systems and AI-driven development workflows.
10
+
11
+ **Key Features:**
12
+ - Multi-provider TTS integration (ElevenLabs, Piper, OpenAI)
13
+ - Dynamic personality system for voice responses
14
+ - Language learning mode with dual-language support
15
+ - Claude Code hook integration for seamless AI interaction
16
+
17
+ ## Recent Work
18
+
19
+ ### Educational Content Creation Platform
20
+ Developed a highly scalable content creation tool that enables clients to upload thousands of sentences and automatically generate corresponding images for each sentence. Built with Express.js, React, and Node.js, featuring:
21
+ - Efficient batch processing and queue management
22
+ - Handling thousands of simultaneous content generation requests
23
+ - Large-scale content processing workflows
24
+
25
+ ### Open Source Contributions
26
+ - Consistent contributor to the MCP Shrimp Task Manager repository
27
+ - Focus on task automation and workflow optimization
28
+ - Active engagement in agent-based programming paradigms
29
+
30
+ ## Professional Experience
31
+
32
+ ### Lead Developer - CurrentSCM @ Vista Projects Limited
33
+ - Built and maintained robust API with 850+ unique endpoints on multi-tenant enterprise application
34
+ - Full-spectrum Laravel Framework development: notifications, queues, jobs, middleware, validations, workflows, pipelines, caching
35
+ - Created comprehensive Test Platform for 15 Excel Import Templates using DTOs
36
+ - Developed scalable PDF authoring microservice using TDD and SOLID principles
37
+ - Consolidated documentation across 9 different exports, saving significant development time
38
+ - Enhanced invoicing for milestone payments, solving complex floating point challenges
39
+ - Completed 1800+ developer hours of support, resolving GitHub issues and features
40
+ - Completed 33 LaraCast lessons for continuous skill development
41
+
42
+ ### Lead Developer - Movie English Project (now Globify.com)
43
+ 10 years leading platform development in educational software space
44
+
45
+ ## Tech Stack
46
+ - **Primary:** Laravel, PHP
47
+ - **Frontend:** React, modern JavaScript frameworks
48
+ - **Backend:** Node.js, Express.js
49
+ - **Current Focus:** Agentic Programming, AI Development, Claude Code
50
+ - **DevOps:** Queue systems, batch processing, microservices
51
+
52
+ ## Get in Touch
53
+ 🌐 Website: [preibisch.biz](https://preibisch.biz)
54
+ 📍 Location: La Paz, BCS
55
+
56
+ ---
57
+ *"Digging Deep into Agentic Programming"*
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.2",
4
+ "version": "2.4.3-beta.0",
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": [