agentvibes 2.7.2 β†’ 2.9.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.
@@ -3,6 +3,8 @@
3
3
  # File: .claude/hooks/piper-installer.sh
4
4
  #
5
5
  # AgentVibes - Finally, your AI Agents can Talk Back! Text-to-Speech WITH personality for AI Assistants!
6
+ #
7
+ # Usage: piper-installer.sh [--non-interactive]
6
8
  # Website: https://agentvibes.org
7
9
  # Repository: https://github.com/paulpreibisch/AgentVibes
8
10
  #
@@ -42,6 +44,12 @@
42
44
 
43
45
  set -e # Exit on error
44
46
 
47
+ # Parse command line arguments
48
+ NON_INTERACTIVE=false
49
+ if [[ "$1" == "--non-interactive" ]]; then
50
+ NON_INTERACTIVE=true
51
+ fi
52
+
45
53
  echo "🎀 Piper TTS Installer"
46
54
  echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
47
55
  echo ""
@@ -218,18 +226,28 @@ fi
218
226
  echo "πŸ“ Voice storage location: $VOICES_DIR"
219
227
  echo ""
220
228
 
221
- # Ask if user wants to download voices now
222
- read -p "Would you like to download voice models now? [Y/n] " -n 1 -r
223
- echo ""
229
+ # Ask if user wants to download voices now (skip in non-interactive mode)
230
+ DOWNLOAD_VOICES=true
231
+ if [[ "$NON_INTERACTIVE" == "false" ]]; then
232
+ read -p "Would you like to download voice models now? [Y/n] " -n 1 -r
233
+ echo ""
234
+
235
+ if [[ ! $REPLY =~ ^[Yy]$ ]] && [[ -n $REPLY ]]; then
236
+ DOWNLOAD_VOICES=false
237
+ fi
238
+ else
239
+ echo "πŸ“₯ Auto-downloading recommended voices (non-interactive mode)..."
240
+ echo ""
241
+ fi
224
242
 
225
- if [[ $REPLY =~ ^[Yy]$ ]] || [[ -z $REPLY ]]; then
243
+ if [[ "$DOWNLOAD_VOICES" == "true" ]]; then
226
244
  echo ""
227
245
  echo "πŸ“₯ Downloading recommended voices..."
228
246
  echo ""
229
247
 
230
248
  # Use the piper-download-voices.sh script if available
231
249
  if [[ -f "$SCRIPT_DIR/piper-download-voices.sh" ]]; then
232
- "$SCRIPT_DIR/piper-download-voices.sh"
250
+ "$SCRIPT_DIR/piper-download-voices.sh" --yes
233
251
  else
234
252
  # Manual download of a basic voice
235
253
  mkdir -p "$VOICES_DIR"
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.7.2
14
+ **Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v2.8.0
15
15
 
16
16
  ---
17
17
 
@@ -94,16 +94,14 @@ Whether you're coding in Claude Code, chatting in Claude Desktop, or using Warp
94
94
 
95
95
  ## πŸ“° Latest Release
96
96
 
97
- **[v2.7.2 - Party Mode Voice Fixes](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.7.2)** πŸŽ‰
97
+ **[v2.8.0 - Piper Installer Fix](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.8.0)** πŸŽ‰
98
98
 
99
- AgentVibes v2.7.2 resolves critical party mode voice issues! This patch fixes provider-aware voice display (issue #38), shows audio file locations (issue #39), increases speaker delay to 4s (configurable), and updates all documentation paths to the official `.claude/config/` directory.
99
+ AgentVibes v2.8.0 fixes the Piper installer double prompt bug! This minor release resolves an issue where the Piper voice installer would prompt twice for confirmation, causing failures when running through npx due to stdin issues. The installer now automatically downloads recommended voices after the initial confirmation.
100
100
 
101
101
  **Key highlights:**
102
- - 🎭 **Provider-Aware Voice Display** - Fixed issue #38: Voice mappings show correct voices
103
- - πŸ“ **Audio File Locations** - Fixed issue #39: TTS output displays file paths
104
- - ⏸️ **Configurable Speaker Delay** - Increased to 4s (customizable via config file)
105
- - πŸ“ **Documentation Path Updates** - All references migrated to `.claude/config/`
106
- - πŸŽͺ **Command Renamed** - Prevents conflicts with BMAD party mode
102
+ - πŸ”§ **Piper Installer Fix** - Resolves double prompt bug that prevented voice downloads on Linux/npx installations
103
+ - βœ… **Auto Voice Download** - Recommended voices now download automatically after initial confirmation
104
+ - 🐧 **Linux Compatibility** - Improved installation experience for Linux users
107
105
 
108
106
  [β†’ View All Releases](https://github.com/paulpreibisch/AgentVibes/releases)
109
107
 
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.7.2",
4
+ "version": "2.9.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": [
package/src/installer.js CHANGED
@@ -127,24 +127,22 @@ function showReleaseInfo() {
127
127
  console.log(
128
128
  boxen(
129
129
  chalk.white.bold('═══════════════════════════════════════════════════════════════\n') +
130
- chalk.cyan.bold(' πŸ“¦ AgentVibes v2.7.2 - Party Mode Voice Fixes\n') +
130
+ chalk.cyan.bold(' πŸ“¦ AgentVibes v2.8.0 - Piper Installer Fix\n') +
131
131
  chalk.white.bold('═══════════════════════════════════════════════════════════════\n\n') +
132
132
  chalk.green.bold('πŸŽ™οΈ WHAT\'S NEW:\n\n') +
133
- chalk.cyan('AgentVibes v2.7.2 resolves critical party mode voice issues and\n') +
134
- chalk.cyan('enhances the multi-agent conversation experience! This patch fixes\n') +
135
- chalk.cyan('provider-aware voice display, shows audio file locations, increases\n') +
136
- chalk.cyan('speaker delay to 4s (configurable), and updates documentation paths\n') +
137
- chalk.cyan('to the official .claude/config/ directory.\n\n') +
133
+ chalk.cyan('AgentVibes v2.8.0 fixes the Piper installer double prompt bug!\n') +
134
+ chalk.cyan('This minor release resolves an issue where the Piper voice installer\n') +
135
+ chalk.cyan('would prompt twice for confirmation, causing failures when running\n') +
136
+ chalk.cyan('through npx due to stdin issues. The installer now automatically\n') +
137
+ chalk.cyan('downloads recommended voices after the initial confirmation.\n\n') +
138
138
  chalk.green.bold('✨ KEY HIGHLIGHTS:\n\n') +
139
- chalk.gray(' 🎭 Provider-Aware Voice Display - Fixed issue #38\n') +
140
- chalk.gray(' πŸ“ Audio File Locations - Fixed issue #39 (shows paths)\n') +
141
- chalk.gray(' ⏸️ Configurable Speaker Delay - 4s default, customizable\n') +
142
- chalk.gray(' πŸ“ Documentation Paths - Migrated to .claude/config/\n') +
143
- chalk.gray(' πŸŽͺ Command Renamed - Prevents BMAD party mode conflicts\n\n') +
139
+ chalk.gray(' πŸ”§ Piper Installer Fix - Resolves double prompt bug\n') +
140
+ chalk.gray(' βœ… Auto Voice Download - Recommended voices download automatically\n') +
141
+ chalk.gray(' 🐧 Linux Compatibility - Improved installation experience\n\n') +
144
142
  chalk.cyan('Bug fixes and improvements:\n') +
145
- chalk.gray(' Voice mappings show correct provider-specific voices\n') +
146
- chalk.gray(' Audio file paths displayed in TTS output\n') +
147
- chalk.gray(' Party mode uses project hooks (not global)\n\n') +
143
+ chalk.gray(' Fixed stdin issues preventing voice downloads on Linux/npx\n') +
144
+ chalk.gray(' Piper voices now install smoothly without manual intervention\n') +
145
+ chalk.gray(' Enhanced npx installation experience\n\n') +
148
146
  chalk.white.bold('═══════════════════════════════════════════════════════════════\n\n') +
149
147
  chalk.gray('πŸ“– Full Release Notes: RELEASE_NOTES.md\n') +
150
148
  chalk.gray('🌐 Website: https://agentvibes.org\n') +
@@ -750,7 +748,7 @@ async function checkAndInstallPiper(targetDir, options) {
750
748
  const piperInstallerPath = path.join(targetDir, '.claude', 'hooks', 'piper-installer.sh');
751
749
 
752
750
  try {
753
- execScript(piperInstallerPath, {
751
+ execScript(`${piperInstallerPath} --non-interactive`, {
754
752
  stdio: 'inherit',
755
753
  env: process.env
756
754
  });