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.
- package/.claude/hooks/piper-installer.sh +23 -5
- package/README.md +6 -8
- package/package.json +1 -1
- package/src/installer.js +13 -15
|
@@ -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
|
-
|
|
223
|
-
|
|
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 [[ $
|
|
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
|
[](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.
|
|
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.
|
|
97
|
+
**[v2.8.0 - Piper Installer Fix](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.8.0)** π
|
|
98
98
|
|
|
99
|
-
AgentVibes v2.
|
|
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
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
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.
|
|
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.
|
|
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.
|
|
134
|
-
chalk.cyan('
|
|
135
|
-
chalk.cyan('
|
|
136
|
-
chalk.cyan('
|
|
137
|
-
chalk.cyan('
|
|
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('
|
|
140
|
-
chalk.gray('
|
|
141
|
-
chalk.gray('
|
|
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('
|
|
146
|
-
chalk.gray('
|
|
147
|
-
chalk.gray('
|
|
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
|
});
|