agentvibes 5.6.8 → 5.6.9
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/.agentvibes/LITE-MODE.md +236 -0
- package/.agentvibes/README.md +136 -0
- package/.agentvibes/backup/session-start-tts.sh.20251210_212814 +141 -0
- package/.agentvibes/backups/agents/analyst_20260204_144958.md +78 -0
- package/.agentvibes/backups/agents/architect_20260204_144958.md +72 -0
- package/.agentvibes/backups/agents/dev_20260204_144958.md +74 -0
- package/.agentvibes/backups/agents/pm_20260204_144958.md +72 -0
- package/.agentvibes/backups/agents/quick-flow-solo-dev_20260204_144958.md +64 -0
- package/.agentvibes/backups/agents/sm_20260204_144958.md +87 -0
- package/.agentvibes/backups/agents/tea_20260204_144958.md +79 -0
- package/.agentvibes/backups/agents/tech-writer_20260204_144958.md +82 -0
- package/.agentvibes/backups/agents/ux-designer_20260204_144958.md +80 -0
- package/.agentvibes/config/README-personality-defaults.md +162 -0
- package/.agentvibes/config/agentvibes.json +1 -0
- package/.agentvibes/config/mode.txt +1 -0
- package/.agentvibes/config/personality-voice-defaults.default.json +21 -0
- package/.agentvibes/config/save-audio.txt +1 -0
- package/.agentvibes/config/voice-metadata.json +160 -0
- package/.agentvibes/config.json +38 -1
- package/.agentvibes/hooks/help.sh +191 -0
- package/.agentvibes/hooks/post-tool-use-lite.sh +111 -0
- package/.agentvibes/hooks/save-audio-manager.sh +162 -0
- package/.agentvibes/hooks/session-start-full-optimized.sh +102 -0
- package/.agentvibes/hooks/session-start-full.sh +142 -0
- package/.agentvibes/hooks/session-start-lite-v2.sh +34 -0
- package/.agentvibes/hooks/session-start-lite.sh +29 -0
- package/.agentvibes/hooks/stop-lite.sh +115 -0
- package/.agentvibes/hooks/switch-mode.sh +215 -0
- package/.agentvibes/output-styles/audio-summary.md +30 -0
- package/.claude/audio/voice-samples/piper/alan.wav +0 -0
- package/.claude/audio/voice-samples/piper/amy.wav +0 -0
- package/.claude/audio/voice-samples/piper/charlotte.wav +0 -0
- package/.claude/audio/voice-samples/piper/joe.wav +0 -0
- package/.claude/audio/voice-samples/piper/john.wav +0 -0
- package/.claude/audio/voice-samples/piper/katherine.wav +0 -0
- package/.claude/audio/voice-samples/piper/kristin.wav +0 -0
- package/.claude/audio/voice-samples/piper/linda.wav +0 -0
- package/.claude/audio/voice-samples/piper/marcus.wav +0 -0
- package/.claude/audio/voice-samples/piper/ryan.wav +0 -0
- package/.claude/commands/agent-vibes/provider.md +0 -0
- package/.claude/commands/agent-vibes-bmad-voices.md +117 -117
- package/.claude/commands/agent-vibes-rdp.md +24 -24
- package/.claude/config/audio-effects.cfg +1 -1
- package/.claude/config/background-music-position.txt +8 -7
- package/.claude/config/reverb-level.txt +0 -0
- package/.claude/docs/TERMUX_SETUP.md +408 -408
- package/.claude/hooks/audio-cache-utils.sh +0 -0
- package/.claude/hooks/audio-processor.sh +0 -0
- package/.claude/hooks/background-music-manager.sh +0 -0
- package/.claude/hooks/bmad-party-manager.sh +225 -0
- package/.claude/hooks/bmad-party-speak.sh +0 -0
- package/.claude/hooks/bmad-speak-enhanced.sh +0 -0
- package/.claude/hooks/bmad-speak.sh +0 -0
- package/.claude/hooks/bmad-tts-injector.sh +0 -0
- package/.claude/hooks/bmad-voice-manager.sh +0 -0
- package/.claude/hooks/clawdbot-receiver-SECURE.sh +0 -0
- package/.claude/hooks/clawdbot-receiver.sh +0 -0
- package/.claude/hooks/clean-audio-cache.sh +0 -0
- package/.claude/hooks/cleanup-cache.sh +0 -0
- package/.claude/hooks/configure-rdp-mode.sh +0 -0
- package/.claude/hooks/download-extra-voices.sh +0 -0
- package/.claude/hooks/effects-manager.sh +0 -0
- package/.claude/hooks/github-star-reminder.sh +0 -0
- package/.claude/hooks/language-manager.sh +0 -0
- package/.claude/hooks/learn-manager.sh +0 -0
- package/.claude/hooks/macos-voice-manager.sh +0 -0
- package/.claude/hooks/migrate-background-music.sh +0 -0
- package/.claude/hooks/migrate-to-agentvibes.sh +0 -0
- package/.claude/hooks/optimize-background-music.sh +0 -0
- package/.claude/hooks/path-resolver.sh +0 -0
- package/.claude/hooks/personality-manager.sh +0 -0
- package/.claude/hooks/piper-download-voices.sh +0 -0
- package/.claude/hooks/piper-installer.sh +0 -0
- package/.claude/hooks/piper-multispeaker-registry.sh +0 -0
- package/.claude/hooks/piper-voice-manager.sh +0 -0
- package/.claude/hooks/play-tts-agentvibes-receiver-for-voiceless-connections.sh +0 -0
- package/.claude/hooks/play-tts-enhanced.sh +0 -0
- package/.claude/hooks/play-tts-macos.sh +0 -0
- package/.claude/hooks/play-tts-piper.sh +1 -1
- package/.claude/hooks/play-tts-soprano.sh +0 -0
- package/.claude/hooks/play-tts-ssh-remote.sh +0 -0
- package/.claude/hooks/play-tts-termux-ssh.sh +0 -0
- package/.claude/hooks/play-tts-windows-receiver.sh +0 -0
- package/.claude/hooks/play-tts.sh +4 -0
- package/.claude/hooks/post-response.sh +41 -0
- package/.claude/hooks/prepare-release.sh +0 -0
- package/.claude/hooks/provider-commands.sh +0 -0
- package/.claude/hooks/provider-manager.sh +0 -0
- package/.claude/hooks/replay-target-audio.sh +0 -0
- package/.claude/hooks/sentiment-manager.sh +0 -0
- package/.claude/hooks/session-start-tts.sh +0 -0
- package/.claude/hooks/soprano-gradio-synth.py +0 -0
- package/.claude/hooks/speed-manager.sh +0 -0
- package/.claude/hooks/stop-tts.sh +0 -0
- package/.claude/hooks/stop.sh +63 -0
- package/.claude/hooks/termux-installer.sh +0 -0
- package/.claude/hooks/translate-manager.sh +0 -0
- package/.claude/hooks/translator.py +0 -0
- package/.claude/hooks/tts-queue-worker.sh +0 -0
- package/.claude/hooks/tts-queue.sh +0 -0
- package/.claude/hooks/verbosity-manager.sh +0 -0
- package/.claude/hooks/voice-manager.sh +0 -0
- package/.claude/hooks-windows/audio-cache-utils.ps1 +119 -119
- package/.claude/piper-voices-dir.txt +1 -0
- package/.clawdbot/README.md +105 -105
- package/.mcp.json +32 -3
- package/README.md +12 -2
- package/RELEASE_NOTES.md +29 -0
- package/WINDOWS-SETUP.md +208 -208
- package/bin/agent-vibes +0 -0
- package/bin/agentvibes-voice-browser.js +59 -4
- package/bin/agentvibes.js +0 -0
- package/bin/ensure-soprano-running.sh +43 -0
- package/bin/mcp-server.js +121 -121
- package/bin/mcp-server.sh +0 -0
- package/bin/test-bmad-pr +78 -78
- package/mcp-server/QUICK_START.md +203 -203
- package/mcp-server/README.md +345 -345
- package/mcp-server/WINDOWS_SETUP.md +260 -260
- package/mcp-server/docs/troubleshooting-audio.md +313 -313
- package/mcp-server/examples/claude_desktop_config.json +11 -11
- package/mcp-server/examples/claude_desktop_config_piper.json +9 -9
- package/mcp-server/examples/custom_instructions.md +169 -169
- package/mcp-server/install-deps.js +177 -130
- package/mcp-server/server.py +1797 -1787
- package/mcp-server/test_server.py +0 -0
- package/package.json +1 -1
- package/src/console/tabs/music-tab.js +18 -2
- package/src/installer.js +0 -0
- package/templates/agentvibes-receiver.sh +0 -0
- package/templates/audio/welcome-music.mp3 +0 -0
- package/.claude/hooks/play-tts-agentvibes-receiver.sh +0 -1
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
#
|
|
2
|
-
# File: .claude/hooks-windows/audio-cache-utils.ps1
|
|
3
|
-
#
|
|
4
|
-
# AgentVibes Audio Cache Utilities for Windows
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
param(
|
|
8
|
-
[Parameter(Position = 0)]
|
|
9
|
-
[ValidateSet('cleanup', 'stats', 'clear')]
|
|
10
|
-
[string]$Command
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
# Detect project-local audio dir (same logic as TTS scripts)
|
|
14
|
-
$ScriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
15
|
-
$ProjectClaudeDir = Join-Path (Split-Path -Parent (Split-Path -Parent $ScriptPath)) ".claude"
|
|
16
|
-
if (Test-Path $ProjectClaudeDir) {
|
|
17
|
-
$AudioDir = "$ProjectClaudeDir\audio"
|
|
18
|
-
} else {
|
|
19
|
-
$AudioDir = "$env:USERPROFILE\.claude\audio"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function Ensure-AudioDir {
|
|
23
|
-
if (-not (Test-Path $AudioDir)) {
|
|
24
|
-
New-Item -ItemType Directory -Path $AudioDir -Force | Out-Null
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function Get-AudioCacheSize {
|
|
29
|
-
Ensure-AudioDir
|
|
30
|
-
|
|
31
|
-
if (-not (Test-Path $AudioDir)) {
|
|
32
|
-
return 0
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue
|
|
36
|
-
$totalSize = 0
|
|
37
|
-
|
|
38
|
-
foreach ($file in $files) {
|
|
39
|
-
$totalSize += $file.Length
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return $totalSize
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function Format-FileSize {
|
|
46
|
-
param([long]$Size)
|
|
47
|
-
|
|
48
|
-
if ($Size -lt 1KB) { return "$Size B" }
|
|
49
|
-
if ($Size -lt 1MB) { return "{0:N2} KB" -f ($Size / 1KB) }
|
|
50
|
-
if ($Size -lt 1GB) { return "{0:N2} MB" -f ($Size / 1MB) }
|
|
51
|
-
return "{0:N2} GB" -f ($Size / 1GB)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function Get-CacheStats {
|
|
55
|
-
Ensure-AudioDir
|
|
56
|
-
|
|
57
|
-
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum
|
|
58
|
-
|
|
59
|
-
$count = if ($files.Count -eq $null) { 0 } else { $files.Count }
|
|
60
|
-
$totalSize = if ($files.Sum -eq $null) { 0 } else { $files.Sum }
|
|
61
|
-
|
|
62
|
-
return @{
|
|
63
|
-
FileCount = $count
|
|
64
|
-
TotalSize = $totalSize
|
|
65
|
-
FormattedSize = Format-FileSize $totalSize
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function Clear-Cache {
|
|
70
|
-
Ensure-AudioDir
|
|
71
|
-
|
|
72
|
-
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue
|
|
73
|
-
|
|
74
|
-
if ($files.Count -eq 0) {
|
|
75
|
-
Write-Host "[OK] Cache already empty" -ForegroundColor Green
|
|
76
|
-
return
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
$stats = Get-CacheStats
|
|
80
|
-
Write-Host "[CLEANUP] Clearing $($stats.FileCount) audio files ($($stats.FormattedSize))" -ForegroundColor Yellow
|
|
81
|
-
|
|
82
|
-
foreach ($file in $files) {
|
|
83
|
-
Remove-Item $file.FullName -Force -ErrorAction SilentlyContinue
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
Write-Host "[OK] Cache cleared" -ForegroundColor Green
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
function Show-CacheStats {
|
|
90
|
-
Ensure-AudioDir
|
|
91
|
-
|
|
92
|
-
$stats = Get-CacheStats
|
|
93
|
-
|
|
94
|
-
Write-Host ""
|
|
95
|
-
Write-Host "[STATS] Audio Cache Statistics" -ForegroundColor Cyan
|
|
96
|
-
Write-Host " Location: $AudioDir"
|
|
97
|
-
Write-Host " Files: $($stats.FileCount)"
|
|
98
|
-
Write-Host " Total Size: $($stats.FormattedSize)"
|
|
99
|
-
Write-Host ""
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
# Main command routing
|
|
103
|
-
switch ($Command) {
|
|
104
|
-
'stats' {
|
|
105
|
-
Show-CacheStats
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
'cleanup' {
|
|
109
|
-
Clear-Cache
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
'clear' {
|
|
113
|
-
Clear-Cache
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
default {
|
|
117
|
-
Show-CacheStats
|
|
118
|
-
}
|
|
119
|
-
}
|
|
1
|
+
#
|
|
2
|
+
# File: .claude/hooks-windows/audio-cache-utils.ps1
|
|
3
|
+
#
|
|
4
|
+
# AgentVibes Audio Cache Utilities for Windows
|
|
5
|
+
#
|
|
6
|
+
|
|
7
|
+
param(
|
|
8
|
+
[Parameter(Position = 0)]
|
|
9
|
+
[ValidateSet('cleanup', 'stats', 'clear')]
|
|
10
|
+
[string]$Command
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
# Detect project-local audio dir (same logic as TTS scripts)
|
|
14
|
+
$ScriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
15
|
+
$ProjectClaudeDir = Join-Path (Split-Path -Parent (Split-Path -Parent $ScriptPath)) ".claude"
|
|
16
|
+
if (Test-Path $ProjectClaudeDir) {
|
|
17
|
+
$AudioDir = "$ProjectClaudeDir\audio"
|
|
18
|
+
} else {
|
|
19
|
+
$AudioDir = "$env:USERPROFILE\.claude\audio"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function Ensure-AudioDir {
|
|
23
|
+
if (-not (Test-Path $AudioDir)) {
|
|
24
|
+
New-Item -ItemType Directory -Path $AudioDir -Force | Out-Null
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function Get-AudioCacheSize {
|
|
29
|
+
Ensure-AudioDir
|
|
30
|
+
|
|
31
|
+
if (-not (Test-Path $AudioDir)) {
|
|
32
|
+
return 0
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue
|
|
36
|
+
$totalSize = 0
|
|
37
|
+
|
|
38
|
+
foreach ($file in $files) {
|
|
39
|
+
$totalSize += $file.Length
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return $totalSize
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function Format-FileSize {
|
|
46
|
+
param([long]$Size)
|
|
47
|
+
|
|
48
|
+
if ($Size -lt 1KB) { return "$Size B" }
|
|
49
|
+
if ($Size -lt 1MB) { return "{0:N2} KB" -f ($Size / 1KB) }
|
|
50
|
+
if ($Size -lt 1GB) { return "{0:N2} MB" -f ($Size / 1MB) }
|
|
51
|
+
return "{0:N2} GB" -f ($Size / 1GB)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function Get-CacheStats {
|
|
55
|
+
Ensure-AudioDir
|
|
56
|
+
|
|
57
|
+
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum
|
|
58
|
+
|
|
59
|
+
$count = if ($files.Count -eq $null) { 0 } else { $files.Count }
|
|
60
|
+
$totalSize = if ($files.Sum -eq $null) { 0 } else { $files.Sum }
|
|
61
|
+
|
|
62
|
+
return @{
|
|
63
|
+
FileCount = $count
|
|
64
|
+
TotalSize = $totalSize
|
|
65
|
+
FormattedSize = Format-FileSize $totalSize
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function Clear-Cache {
|
|
70
|
+
Ensure-AudioDir
|
|
71
|
+
|
|
72
|
+
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue
|
|
73
|
+
|
|
74
|
+
if ($files.Count -eq 0) {
|
|
75
|
+
Write-Host "[OK] Cache already empty" -ForegroundColor Green
|
|
76
|
+
return
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
$stats = Get-CacheStats
|
|
80
|
+
Write-Host "[CLEANUP] Clearing $($stats.FileCount) audio files ($($stats.FormattedSize))" -ForegroundColor Yellow
|
|
81
|
+
|
|
82
|
+
foreach ($file in $files) {
|
|
83
|
+
Remove-Item $file.FullName -Force -ErrorAction SilentlyContinue
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
Write-Host "[OK] Cache cleared" -ForegroundColor Green
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function Show-CacheStats {
|
|
90
|
+
Ensure-AudioDir
|
|
91
|
+
|
|
92
|
+
$stats = Get-CacheStats
|
|
93
|
+
|
|
94
|
+
Write-Host ""
|
|
95
|
+
Write-Host "[STATS] Audio Cache Statistics" -ForegroundColor Cyan
|
|
96
|
+
Write-Host " Location: $AudioDir"
|
|
97
|
+
Write-Host " Files: $($stats.FileCount)"
|
|
98
|
+
Write-Host " Total Size: $($stats.FormattedSize)"
|
|
99
|
+
Write-Host ""
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
# Main command routing
|
|
103
|
+
switch ($Command) {
|
|
104
|
+
'stats' {
|
|
105
|
+
Show-CacheStats
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
'cleanup' {
|
|
109
|
+
Clear-Cache
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
'clear' {
|
|
113
|
+
Clear-Cache
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
default {
|
|
117
|
+
Show-CacheStats
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/home/fire/.claude/piper-voices
|
package/.clawdbot/README.md
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
# Clawdbot Integration
|
|
2
|
-
|
|
3
|
-
AgentVibes TTS integration for Clawdbot - the AI assistant framework.
|
|
4
|
-
|
|
5
|
-
## What is Clawdbot?
|
|
6
|
-
|
|
7
|
-
Clawdbot is a powerful AI assistant framework that connects Claude AI to messaging platforms (WhatsApp, Telegram, Discord, etc.) and provides extensible skills.
|
|
8
|
-
|
|
9
|
-
**Website**: https://clawd.bot
|
|
10
|
-
**GitHub**: https://github.com/clawdbot/clawdbot
|
|
11
|
-
|
|
12
|
-
## AgentVibes + Clawdbot
|
|
13
|
-
|
|
14
|
-
This integration provides Clawdbot with professional TTS capabilities using AgentVibes:
|
|
15
|
-
|
|
16
|
-
- **Free & Offline**: No API costs, works without internet
|
|
17
|
-
- **50+ Voices**: Professional AI voices in 30+ languages
|
|
18
|
-
- **Remote SSH Support**: Audio tunnels from server to local machine
|
|
19
|
-
- **Zero Setup**: Automatic when AgentVibes is installed
|
|
20
|
-
|
|
21
|
-
## Installation
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npx agentvibes install
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
That's it! AgentVibes is ready to use.
|
|
28
|
-
|
|
29
|
-
## Usage from Clawdbot
|
|
30
|
-
|
|
31
|
-
Once installed, use AgentVibes for TTS:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
npx agentvibes speak "Hello from Clawdbot"
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Features
|
|
38
|
-
|
|
39
|
-
- **Automatic Detection**: Clawdbot automatically uses AgentVibes when available
|
|
40
|
-
- **Voice Selection**: 50+ voices across 30+ languages
|
|
41
|
-
- **SSH Tunneling**: Audio plays on local machine from remote servers
|
|
42
|
-
- **Zero Config**: Works out of the box once AgentVibes is installed
|
|
43
|
-
|
|
44
|
-
## Remote SSH Audio
|
|
45
|
-
|
|
46
|
-
When running Clawdbot on a remote server, set up PulseAudio tunneling so audio plays on your local machine:
|
|
47
|
-
|
|
48
|
-
**Quick Setup:**
|
|
49
|
-
|
|
50
|
-
1. **Remote server** (`~/.bashrc`):
|
|
51
|
-
```bash
|
|
52
|
-
export PULSE_SERVER=tcp:localhost:14713
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
2. **Local machine** (`~/.ssh/config`):
|
|
56
|
-
```
|
|
57
|
-
Host your-server
|
|
58
|
-
RemoteForward 14713 localhost:14713
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
3. **Connect and test**:
|
|
62
|
-
```bash
|
|
63
|
-
ssh your-server
|
|
64
|
-
agentvibes speak "Testing remote audio"
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**Full guide**: https://github.com/paulpreibisch/AgentVibes/blob/master/docs/remote-audio-setup.md
|
|
68
|
-
|
|
69
|
-
## Documentation
|
|
70
|
-
|
|
71
|
-
- **Skill Documentation**: [skill/SKILL.md](skill/SKILL.md)
|
|
72
|
-
- **AgentVibes Docs**: https://agentvibes.org
|
|
73
|
-
- **Clawdbot Docs**: https://docs.clawd.bot
|
|
74
|
-
|
|
75
|
-
## Architecture
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
Clawdbot Request
|
|
79
|
-
↓
|
|
80
|
-
AgentVibes Skill (this)
|
|
81
|
-
↓
|
|
82
|
-
AgentVibes CLI (agentvibes speak)
|
|
83
|
-
↓
|
|
84
|
-
Piper TTS Engine
|
|
85
|
-
↓
|
|
86
|
-
PulseAudio → SSH Tunnel → Local Speakers
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Development
|
|
90
|
-
|
|
91
|
-
The skill is automatically packaged with AgentVibes npm releases. To update:
|
|
92
|
-
|
|
93
|
-
1. Edit `skill/SKILL.md`
|
|
94
|
-
2. Test with Clawdbot
|
|
95
|
-
3. Commit to AgentVibes repo
|
|
96
|
-
4. Publish new AgentVibes version
|
|
97
|
-
|
|
98
|
-
## Support
|
|
99
|
-
|
|
100
|
-
- **AgentVibes Issues**: https://github.com/paulpreibisch/AgentVibes/issues
|
|
101
|
-
- **Clawdbot Issues**: https://github.com/clawdbot/clawdbot/issues
|
|
102
|
-
|
|
103
|
-
## License
|
|
104
|
-
|
|
105
|
-
Apache 2.0 - Same as AgentVibes
|
|
1
|
+
# Clawdbot Integration
|
|
2
|
+
|
|
3
|
+
AgentVibes TTS integration for Clawdbot - the AI assistant framework.
|
|
4
|
+
|
|
5
|
+
## What is Clawdbot?
|
|
6
|
+
|
|
7
|
+
Clawdbot is a powerful AI assistant framework that connects Claude AI to messaging platforms (WhatsApp, Telegram, Discord, etc.) and provides extensible skills.
|
|
8
|
+
|
|
9
|
+
**Website**: https://clawd.bot
|
|
10
|
+
**GitHub**: https://github.com/clawdbot/clawdbot
|
|
11
|
+
|
|
12
|
+
## AgentVibes + Clawdbot
|
|
13
|
+
|
|
14
|
+
This integration provides Clawdbot with professional TTS capabilities using AgentVibes:
|
|
15
|
+
|
|
16
|
+
- **Free & Offline**: No API costs, works without internet
|
|
17
|
+
- **50+ Voices**: Professional AI voices in 30+ languages
|
|
18
|
+
- **Remote SSH Support**: Audio tunnels from server to local machine
|
|
19
|
+
- **Zero Setup**: Automatic when AgentVibes is installed
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx agentvibes install
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
That's it! AgentVibes is ready to use.
|
|
28
|
+
|
|
29
|
+
## Usage from Clawdbot
|
|
30
|
+
|
|
31
|
+
Once installed, use AgentVibes for TTS:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npx agentvibes speak "Hello from Clawdbot"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Features
|
|
38
|
+
|
|
39
|
+
- **Automatic Detection**: Clawdbot automatically uses AgentVibes when available
|
|
40
|
+
- **Voice Selection**: 50+ voices across 30+ languages
|
|
41
|
+
- **SSH Tunneling**: Audio plays on local machine from remote servers
|
|
42
|
+
- **Zero Config**: Works out of the box once AgentVibes is installed
|
|
43
|
+
|
|
44
|
+
## Remote SSH Audio
|
|
45
|
+
|
|
46
|
+
When running Clawdbot on a remote server, set up PulseAudio tunneling so audio plays on your local machine:
|
|
47
|
+
|
|
48
|
+
**Quick Setup:**
|
|
49
|
+
|
|
50
|
+
1. **Remote server** (`~/.bashrc`):
|
|
51
|
+
```bash
|
|
52
|
+
export PULSE_SERVER=tcp:localhost:14713
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. **Local machine** (`~/.ssh/config`):
|
|
56
|
+
```
|
|
57
|
+
Host your-server
|
|
58
|
+
RemoteForward 14713 localhost:14713
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
3. **Connect and test**:
|
|
62
|
+
```bash
|
|
63
|
+
ssh your-server
|
|
64
|
+
agentvibes speak "Testing remote audio"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Full guide**: https://github.com/paulpreibisch/AgentVibes/blob/master/docs/remote-audio-setup.md
|
|
68
|
+
|
|
69
|
+
## Documentation
|
|
70
|
+
|
|
71
|
+
- **Skill Documentation**: [skill/SKILL.md](skill/SKILL.md)
|
|
72
|
+
- **AgentVibes Docs**: https://agentvibes.org
|
|
73
|
+
- **Clawdbot Docs**: https://docs.clawd.bot
|
|
74
|
+
|
|
75
|
+
## Architecture
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
Clawdbot Request
|
|
79
|
+
↓
|
|
80
|
+
AgentVibes Skill (this)
|
|
81
|
+
↓
|
|
82
|
+
AgentVibes CLI (agentvibes speak)
|
|
83
|
+
↓
|
|
84
|
+
Piper TTS Engine
|
|
85
|
+
↓
|
|
86
|
+
PulseAudio → SSH Tunnel → Local Speakers
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Development
|
|
90
|
+
|
|
91
|
+
The skill is automatically packaged with AgentVibes npm releases. To update:
|
|
92
|
+
|
|
93
|
+
1. Edit `skill/SKILL.md`
|
|
94
|
+
2. Test with Clawdbot
|
|
95
|
+
3. Commit to AgentVibes repo
|
|
96
|
+
4. Publish new AgentVibes version
|
|
97
|
+
|
|
98
|
+
## Support
|
|
99
|
+
|
|
100
|
+
- **AgentVibes Issues**: https://github.com/paulpreibisch/AgentVibes/issues
|
|
101
|
+
- **Clawdbot Issues**: https://github.com/clawdbot/clawdbot/issues
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
Apache 2.0 - Same as AgentVibes
|
package/.mcp.json
CHANGED
|
@@ -1,12 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mcpServers": {
|
|
3
|
-
"
|
|
3
|
+
"context7": {
|
|
4
4
|
"command": "npx",
|
|
5
5
|
"args": [
|
|
6
|
-
"-
|
|
7
|
-
"firecrawl-mcp"
|
|
6
|
+
"@upstash/context7-mcp"
|
|
8
7
|
]
|
|
9
8
|
},
|
|
9
|
+
"sonarqube": {
|
|
10
|
+
"command": "docker",
|
|
11
|
+
"args": [
|
|
12
|
+
"run",
|
|
13
|
+
"-i",
|
|
14
|
+
"--name",
|
|
15
|
+
"sonarqube-mcp-server-agentvibes",
|
|
16
|
+
"--rm",
|
|
17
|
+
"--dns",
|
|
18
|
+
"8.8.8.8",
|
|
19
|
+
"--dns",
|
|
20
|
+
"8.8.4.4",
|
|
21
|
+
"-e",
|
|
22
|
+
"SONARQUBE_TOKEN",
|
|
23
|
+
"-e",
|
|
24
|
+
"SONARQUBE_ORG",
|
|
25
|
+
"-e",
|
|
26
|
+
"STORAGE_PATH",
|
|
27
|
+
"mcp/sonarqube"
|
|
28
|
+
],
|
|
29
|
+
"env": {
|
|
30
|
+
"SONARQUBE_TOKEN": "${SONARQUBE_TOKEN}",
|
|
31
|
+
"SONARQUBE_ORG": "${SONARQUBE_ORG}",
|
|
32
|
+
"STORAGE_PATH": "${STORAGE_PATH}"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"vercel": {
|
|
36
|
+
"type": "sse",
|
|
37
|
+
"url": "https://mcp.vercel.com"
|
|
38
|
+
},
|
|
10
39
|
"agentvibes": {
|
|
11
40
|
"command": "npx",
|
|
12
41
|
"args": [
|
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**: v5.6.
|
|
14
|
+
**Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v5.6.9
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -40,7 +40,17 @@ Whether you're coding in Claude Code, chatting in Claude Desktop, using Warp Ter
|
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
43
|
-
## 🌟 NEW IN v5.6.
|
|
43
|
+
## 🌟 NEW IN v5.6.9 — Reverb & Background Music Silent in NPX Installs
|
|
44
|
+
|
|
45
|
+
**NPX users:** Reverb and background music were silently broken for all `npx`-installed users. Hook files extracted from the npm tarball lacked execute bits (644), causing `audio-processor.sh` to exit with code 126. Fixed via `bash` prefix in the caller and a postinstall `chmod 755` step.
|
|
46
|
+
|
|
47
|
+
**Voice Browser:** The Preview button now applies your configured reverb and background music — it was playing raw audio with no effects.
|
|
48
|
+
|
|
49
|
+
**MCP tool:** `text_to_speech` now returns the correct audio file path (no trailing emoji garbage) and includes the voice name in its response.
|
|
50
|
+
|
|
51
|
+
**Background music toggle:** Enabling music in the TUI now actually enables it — the flag file read by bash hooks is now kept in sync.
|
|
52
|
+
|
|
53
|
+
## v5.6.8 — WSL Voice Routing Fixed + Session Lifecycle Reliability
|
|
44
54
|
|
|
45
55
|
**WSL users:** AgentVibes was playing `en_US-lessac-medium` regardless of your configured voice. Fixed — Piper is now found in non-interactive shells by explicitly prepending `~/.local/bin` to `PATH` before the binary check.
|
|
46
56
|
|
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# AgentVibes Release Notes
|
|
2
2
|
|
|
3
|
+
## 🔇 v5.6.9 — Reverb & Background Music Silent in NPX Installs
|
|
4
|
+
|
|
5
|
+
**Released:** 2026-05-09
|
|
6
|
+
|
|
7
|
+
### 🐛 Reverb and Background Music Silently Broken for All NPX Users
|
|
8
|
+
|
|
9
|
+
When AgentVibes is installed via `npx`, hook files are extracted from the tarball with 644 permissions — no execute bit. `play-tts-piper.sh` called `audio-processor.sh` directly, which exits immediately with code 126 (Permission denied) on a non-executable file. Every `npx`-installed user was getting voice-only TTS — no reverb, no background music, silently.
|
|
10
|
+
|
|
11
|
+
**Fix 1:** `play-tts-piper.sh` now calls `audio-processor.sh` via `bash "$SCRIPT_DIR/audio-processor.sh"`, bypassing the execute-bit check.
|
|
12
|
+
**Fix 2:** `install-deps.js` (postinstall) now runs `ensureHookPermissions()` to `chmod 755` all `.sh` files after npm install.
|
|
13
|
+
|
|
14
|
+
### 🐛 Voice Browser Preview Ignored Reverb and Background Music
|
|
15
|
+
|
|
16
|
+
The **Preview** button in the Voice Browser played raw piper output with no reverb and no background music, bypassing `audio-processor.sh` entirely.
|
|
17
|
+
|
|
18
|
+
**Fix:** Preview audio now routes through the same `audio-processor.sh` pipeline as real TTS.
|
|
19
|
+
|
|
20
|
+
### 🐛 MCP `text_to_speech` Returned Garbled File Path and Missing Voice Info
|
|
21
|
+
|
|
22
|
+
The tool extracted the audio file path incorrectly (trailing size/emoji characters included) and never reported the voice name in its response.
|
|
23
|
+
|
|
24
|
+
**Fix:** ANSI codes are stripped before parsing, the `.wav` path is cleanly extracted, and the `🎤 Voice used:` line is included in the tool response.
|
|
25
|
+
|
|
26
|
+
### 🐛 Background Music TUI Toggle Didn't Take Effect
|
|
27
|
+
|
|
28
|
+
Enabling background music in the **Music** tab wrote to `config.json` but not to `background-music-enabled.txt` (read by bash hooks). Music stayed off after toggling. Saving a track also now implies enabling music.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
3
32
|
## 🐧 v5.6.8 — WSL Voice Routing Fixed + Session Lifecycle Reliability
|
|
4
33
|
|
|
5
34
|
**Released:** 2026-05-09
|