agentvibes 5.11.2 → 5.12.0-alpha.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.
Files changed (97) hide show
  1. package/.agentvibes/config.json +1 -15
  2. package/.claude/activation-instructions +54 -54
  3. package/.claude/commands/agent-vibes-bmad-voices.md +117 -117
  4. package/.claude/commands/agent-vibes-rdp.md +24 -24
  5. package/.claude/config/audio-effects.cfg +5 -5
  6. package/.claude/config/background-music-enabled.txt +1 -1
  7. package/.claude/docs/TERMUX_SETUP.md +408 -408
  8. package/.claude/github-star-reminder.txt +1 -1
  9. package/.claude/hooks/audio-processor.sh +1 -1
  10. package/.claude/hooks/background-music-manager.sh +2 -1
  11. package/.claude/hooks/bmad-speak-enhanced.sh +37 -22
  12. package/.claude/hooks/bmad-speak.sh +26 -8
  13. package/.claude/hooks/play-tts-agentvibes-receiver-for-voiceless-connections.sh +1 -1
  14. package/.claude/hooks/play-tts-kokoro.sh +9 -0
  15. package/.claude/hooks/play-tts-piper.sh +13 -1
  16. package/.claude/hooks/play-tts-ssh-remote.sh +78 -5
  17. package/.claude/hooks/play-tts-termux-ssh.sh +1 -1
  18. package/.claude/hooks/play-tts.sh +85 -4
  19. package/.claude/hooks-windows/background-music-manager.ps1 +2 -1
  20. package/.claude/hooks-windows/play-tts-kokoro.ps1 +14 -0
  21. package/.claude/hooks-windows/play-tts.ps1 +163 -30
  22. package/.claude/hooks-windows/voice-manager-windows.ps1 +101 -1
  23. package/.clawdbot/README.md +105 -105
  24. package/LICENSE +190 -190
  25. package/RELEASE_NOTES.md +29 -0
  26. package/WINDOWS-SETUP.md +208 -208
  27. package/bin/agent-vibes +39 -39
  28. package/bin/mcp-server.js +121 -121
  29. package/bin/mcp-server.sh +6 -19
  30. package/bin/resolve-utterance.js +137 -0
  31. package/bin/test-bmad-pr +78 -78
  32. package/mcp-server/QUICK_START.md +203 -203
  33. package/mcp-server/README.md +345 -345
  34. package/mcp-server/examples/claude_desktop_config.json +11 -11
  35. package/mcp-server/examples/claude_desktop_config_piper.json +9 -9
  36. package/mcp-server/examples/custom_instructions.md +169 -169
  37. package/mcp-server/pyproject.toml +52 -52
  38. package/mcp-server/requirements.txt +2 -2
  39. package/mcp-server/server.py +280 -99
  40. package/mcp-server/test_mcp_correctness.py +486 -0
  41. package/mcp-server/test_server.py +395 -395
  42. package/mcp-server/test_windows_script_parity.py +341 -336
  43. package/package.json +3 -2
  44. package/setup-windows.ps1 +867 -815
  45. package/src/cli/list-personalities.js +110 -110
  46. package/src/cli/list-voices.js +114 -114
  47. package/src/commands/bmad-voices.js +394 -394
  48. package/src/console/app.js +13 -2
  49. package/src/console/brand-colors.js +13 -13
  50. package/src/console/constants/personalities.js +44 -44
  51. package/src/console/tabs/agents-tab.js +82 -9
  52. package/src/console/tabs/help-tab.js +314 -314
  53. package/src/console/tabs/music-tab.js +7 -1
  54. package/src/console/tabs/readme-tab.js +272 -272
  55. package/src/console/tabs/settings-tab.js +29 -1
  56. package/src/console/tabs/setup-tab.js +4 -4
  57. package/src/console/widgets/destroy-list.js +25 -25
  58. package/src/console/widgets/notice.js +55 -55
  59. package/src/console/widgets/track-picker.js +3 -3
  60. package/src/i18n/de.js +0 -1
  61. package/src/i18n/en.js +0 -1
  62. package/src/i18n/es.js +0 -1
  63. package/src/i18n/fr.js +0 -1
  64. package/src/i18n/hi.js +0 -1
  65. package/src/i18n/ja.js +0 -1
  66. package/src/i18n/ko.js +0 -1
  67. package/src/i18n/pt.js +0 -1
  68. package/src/i18n/zh-CN.js +0 -1
  69. package/src/installer/language-screen.js +31 -31
  70. package/src/installer/music-file-input.js +304 -304
  71. package/src/installer.js +205 -15
  72. package/src/services/config-service.js +264 -264
  73. package/src/services/language-service.js +47 -47
  74. package/src/services/llm-provider-service.js +7 -7
  75. package/src/services/utterance-loader.js +280 -0
  76. package/src/services/utterance-resolver.js +526 -0
  77. package/src/utils/audio-format-validator.js +277 -277
  78. package/src/utils/dependency-checker.js +469 -469
  79. package/src/utils/file-ownership-verifier.js +358 -358
  80. package/src/utils/music-file-validator.js +285 -285
  81. package/src/utils/preview-list-prompt.js +144 -144
  82. package/src/utils/secure-music-storage.js +412 -412
  83. package/templates/agentvibes-receiver.sh +74 -12
  84. package/voice-assignments.json +8245 -0
  85. package/.agentvibes/install-manifest.json +0 -342
  86. package/.claude/config/background-music-position.txt +0 -27
  87. package/.claude/config/background-music-volume.txt +0 -1
  88. package/.claude/config/background-music.cfg +0 -1
  89. package/.claude/config/background-music.txt +0 -1
  90. package/.claude/config/language.txt +0 -1
  91. package/.claude/config/personality.txt +0 -1
  92. package/.claude/config/tts-speech-rate.txt +0 -1
  93. package/.claude/config/tts-verbosity.txt +0 -1
  94. package/.claude/hooks-windows/audio-cache-utils.ps1.user.bak +0 -119
  95. package/.claude/hooks-windows/soprano-gradio-synth.py.user.bak +0 -153
  96. package/.claude/piper-voices-dir.txt +0 -1
  97. package/.mcp.json +0 -22
@@ -1,17 +1,3 @@
1
1
  {
2
- "setupCompleted": true,
3
- "thumbsUp": [
4
- "en_US-libritts-high::Oscar-9",
5
- "en_US-libritts-high::Adam-10"
6
- ],
7
- "favorites": [
8
- "en_US-libritts-high::Oscar-9",
9
- "en_US-libritts-high::Adam-10"
10
- ],
11
- "backgroundMusic": {
12
- "enabled": false
13
- },
14
- "ttsEngine": "elevenlabs",
15
- "language": "en",
16
- "voice": "en_US-libritts-high::Adam-12"
2
+ "setupCompleted": true
17
3
  }
@@ -1,54 +1,54 @@
1
- # BMAD Agent Activation Instructions
2
-
3
- When a BMAD agent activates, follow these steps EXACTLY:
4
-
5
- ## STEP 3.5a: Create BMAD Context File (CRITICAL)
6
-
7
- **IMMEDIATELY after agent identification, create the context file:**
8
-
9
- ```bash
10
- echo "$AGENT_ID" > .bmad-agent-context
11
- ```
12
-
13
- Where `$AGENT_ID` is one of:
14
- - `pm` (Product Manager)
15
- - `dev` (Developer)
16
- - `qa` (QA)
17
- - `architect` (Architect)
18
- - `po` (Product Owner)
19
- - `analyst` (Analyst)
20
- - `sm` (Scrum Master)
21
- - `ux-expert` (UX Expert)
22
- - `bmad-master` (BMAD Master)
23
- - `bmad-orchestrator` (Orchestrator)
24
-
25
- **Example:**
26
- ```bash
27
- # For Product Manager agent
28
- echo "pm" > .bmad-agent-context
29
- ```
30
-
31
- This file allows AgentVibes to:
32
- 1. Detect which BMAD agent is active
33
- 2. Look up the correct voice mapping
34
- 3. Automatically speak questions using the agent's assigned voice
35
-
36
- ## STEP 10: Clean Up on Exit
37
-
38
- **Before exiting the agent, remove the context file:**
39
-
40
- ```bash
41
- rm -f .bmad-agent-context
42
- ```
43
-
44
- This ensures voice switching only happens when an agent is active.
45
-
46
- ## Why This Matters
47
-
48
- Without the `.bmad-agent-context` file:
49
- - AgentVibes cannot detect which agent is active
50
- - Questions won't be spoken automatically
51
- - Voice switching won't work
52
- - The BMAD voice plugin becomes non-functional
53
-
54
- **This is MANDATORY for BMAD voice integration to work!**
1
+ # BMAD Agent Activation Instructions
2
+
3
+ When a BMAD agent activates, follow these steps EXACTLY:
4
+
5
+ ## STEP 3.5a: Create BMAD Context File (CRITICAL)
6
+
7
+ **IMMEDIATELY after agent identification, create the context file:**
8
+
9
+ ```bash
10
+ echo "$AGENT_ID" > .bmad-agent-context
11
+ ```
12
+
13
+ Where `$AGENT_ID` is one of:
14
+ - `pm` (Product Manager)
15
+ - `dev` (Developer)
16
+ - `qa` (QA)
17
+ - `architect` (Architect)
18
+ - `po` (Product Owner)
19
+ - `analyst` (Analyst)
20
+ - `sm` (Scrum Master)
21
+ - `ux-expert` (UX Expert)
22
+ - `bmad-master` (BMAD Master)
23
+ - `bmad-orchestrator` (Orchestrator)
24
+
25
+ **Example:**
26
+ ```bash
27
+ # For Product Manager agent
28
+ echo "pm" > .bmad-agent-context
29
+ ```
30
+
31
+ This file allows AgentVibes to:
32
+ 1. Detect which BMAD agent is active
33
+ 2. Look up the correct voice mapping
34
+ 3. Automatically speak questions using the agent's assigned voice
35
+
36
+ ## STEP 10: Clean Up on Exit
37
+
38
+ **Before exiting the agent, remove the context file:**
39
+
40
+ ```bash
41
+ rm -f .bmad-agent-context
42
+ ```
43
+
44
+ This ensures voice switching only happens when an agent is active.
45
+
46
+ ## Why This Matters
47
+
48
+ Without the `.bmad-agent-context` file:
49
+ - AgentVibes cannot detect which agent is active
50
+ - Questions won't be spoken automatically
51
+ - Voice switching won't work
52
+ - The BMAD voice plugin becomes non-functional
53
+
54
+ **This is MANDATORY for BMAD voice integration to work!**
@@ -1,117 +1,117 @@
1
- ---
2
- command: agent-vibes:bmad-party
3
- description: Control BMAD party mode voice integration (enable/disable/status)
4
- handler: bash .claude/hooks/bmad-party-manager.sh
5
- ---
6
-
7
- Enable or disable BMAD party mode voice integration where each agent speaks with their unique voice during multi-agent conversations.
8
-
9
- ## Usage
10
-
11
- - `/agent-vibes:bmad-party` - Show current status
12
- - `/agent-vibes:bmad-party status` - Show current status
13
- - `/agent-vibes:bmad-party enable` - Enable party mode voices
14
- - `/agent-vibes:bmad-party disable` - Disable party mode voices
15
-
16
- ## What is Party Mode Voice Integration?
17
-
18
- When BMAD's party mode (`/bmad:core:workflows:party-mode`) is active, multiple agents collaborate on your questions. With this feature enabled, each agent speaks their responses with their unique assigned voice:
19
-
20
- - **Winston (Architect)** speaks with Michael's voice
21
- - **John (PM)** speaks with Jessica Anne Bogart's voice
22
- - **Amelia (Dev)** speaks with Matthew Schmitz's voice
23
- - And so on...
24
-
25
- ## Auto-Enable Behavior
26
-
27
- **This feature is automatically enabled when:**
28
- 1. BMAD v6 is installed (`.bmad/_cfg/agent-manifest.csv` exists)
29
- 2. AgentVibes BMAD voice plugin is enabled
30
-
31
- **No manual configuration needed!** Just run party mode and each agent will speak with their voice.
32
-
33
- ## How to Disable
34
-
35
- If you prefer party mode without voice switching:
36
-
37
- ```bash
38
- /agent-vibes:bmad-party disable
39
- ```
40
-
41
- This creates `.agentvibes/bmad/bmad-party-mode-disabled.flag` to opt-out.
42
-
43
- ## How It Works
44
-
45
- The integration detects agent responses in the format:
46
-
47
- ```
48
- [Agent Name]: Their dialogue here
49
- ```
50
-
51
- When detected, it:
52
- 1. Extracts the agent's display name (e.g., "Winston", "John")
53
- 2. Maps it to their agent ID using `.bmad/_cfg/agent-manifest.csv`
54
- 3. Looks up their voice from `.agentvibes/bmad/bmad-voices.md`
55
- 4. Speaks their dialogue with that specific voice
56
-
57
- ## Example
58
-
59
- **Before (silent text):**
60
- ```
61
- [Winston]: I recommend microservices for scalability
62
- [John]: But monolith is faster to market for MVP
63
- [Amelia]: I can implement either approach
64
- ```
65
-
66
- **After (with voices):**
67
- ```
68
- [Winston speaks with Michael voice]: I recommend microservices for scalability
69
- [John speaks with Jessica Anne Bogart voice]: But monolith is faster to market for MVP
70
- [Amelia speaks with Matthew Schmitz voice]: I can implement either approach
71
- ```
72
-
73
- ## Voice Mappings
74
-
75
- See current agent-to-voice mappings:
76
- ```bash
77
- /agent-vibes:bmad status
78
- ```
79
-
80
- Edit voice assignments in:
81
- ```
82
- .agentvibes/bmad/bmad-voices.md
83
- ```
84
-
85
- ## Requirements
86
-
87
- - BMAD v6-alpha or later
88
- - AgentVibes with BMAD plugin enabled
89
- - Piper or Piper TTS TTS provider configured
90
-
91
- ## Troubleshooting
92
-
93
- **Party mode voices not working?**
94
-
95
- 1. Check BMAD is installed: `ls .bmad/_cfg/agent-manifest.csv`
96
- 2. Check voice plugin enabled: `ls .agentvibes/bmad/bmad-voices-enabled.flag`
97
- 3. Check party mode not disabled: `ls .agentvibes/bmad/bmad-party-mode-disabled.flag`
98
- 4. View status: `/agent-vibes:bmad-party status`
99
-
100
- **Wrong voices playing?**
101
-
102
- Check voice mappings: `/agent-vibes:bmad status`
103
-
104
- Edit mappings in: `.claude/config/bmad-voices.md`
105
-
106
- ## Related Commands
107
-
108
- - `/bmad:core:workflows:party-mode` - Start BMAD party mode
109
- - `/agent-vibes:bmad` - Manage BMAD voice plugin
110
- - `/agent-vibes:switch` - Change your default voice
111
- - `/agent-vibes:provider` - Switch TTS provider
112
-
113
- ---
114
-
115
- **Implementation:** Issue #33
116
- **Auto-enabled:** Yes (for BMAD users)
117
- **Opt-out:** Available via disable command
1
+ ---
2
+ command: agent-vibes:bmad-party
3
+ description: Control BMAD party mode voice integration (enable/disable/status)
4
+ handler: bash .claude/hooks/bmad-party-manager.sh
5
+ ---
6
+
7
+ Enable or disable BMAD party mode voice integration where each agent speaks with their unique voice during multi-agent conversations.
8
+
9
+ ## Usage
10
+
11
+ - `/agent-vibes:bmad-party` - Show current status
12
+ - `/agent-vibes:bmad-party status` - Show current status
13
+ - `/agent-vibes:bmad-party enable` - Enable party mode voices
14
+ - `/agent-vibes:bmad-party disable` - Disable party mode voices
15
+
16
+ ## What is Party Mode Voice Integration?
17
+
18
+ When BMAD's party mode (`/bmad:core:workflows:party-mode`) is active, multiple agents collaborate on your questions. With this feature enabled, each agent speaks their responses with their unique assigned voice:
19
+
20
+ - **Winston (Architect)** speaks with Michael's voice
21
+ - **John (PM)** speaks with Jessica Anne Bogart's voice
22
+ - **Amelia (Dev)** speaks with Matthew Schmitz's voice
23
+ - And so on...
24
+
25
+ ## Auto-Enable Behavior
26
+
27
+ **This feature is automatically enabled when:**
28
+ 1. BMAD v6 is installed (`.bmad/_cfg/agent-manifest.csv` exists)
29
+ 2. AgentVibes BMAD voice plugin is enabled
30
+
31
+ **No manual configuration needed!** Just run party mode and each agent will speak with their voice.
32
+
33
+ ## How to Disable
34
+
35
+ If you prefer party mode without voice switching:
36
+
37
+ ```bash
38
+ /agent-vibes:bmad-party disable
39
+ ```
40
+
41
+ This creates `.agentvibes/bmad/bmad-party-mode-disabled.flag` to opt-out.
42
+
43
+ ## How It Works
44
+
45
+ The integration detects agent responses in the format:
46
+
47
+ ```
48
+ [Agent Name]: Their dialogue here
49
+ ```
50
+
51
+ When detected, it:
52
+ 1. Extracts the agent's display name (e.g., "Winston", "John")
53
+ 2. Maps it to their agent ID using `.bmad/_cfg/agent-manifest.csv`
54
+ 3. Looks up their voice from `.agentvibes/bmad/bmad-voices.md`
55
+ 4. Speaks their dialogue with that specific voice
56
+
57
+ ## Example
58
+
59
+ **Before (silent text):**
60
+ ```
61
+ [Winston]: I recommend microservices for scalability
62
+ [John]: But monolith is faster to market for MVP
63
+ [Amelia]: I can implement either approach
64
+ ```
65
+
66
+ **After (with voices):**
67
+ ```
68
+ [Winston speaks with Michael voice]: I recommend microservices for scalability
69
+ [John speaks with Jessica Anne Bogart voice]: But monolith is faster to market for MVP
70
+ [Amelia speaks with Matthew Schmitz voice]: I can implement either approach
71
+ ```
72
+
73
+ ## Voice Mappings
74
+
75
+ See current agent-to-voice mappings:
76
+ ```bash
77
+ /agent-vibes:bmad status
78
+ ```
79
+
80
+ Edit voice assignments in:
81
+ ```
82
+ .agentvibes/bmad/bmad-voices.md
83
+ ```
84
+
85
+ ## Requirements
86
+
87
+ - BMAD v6-alpha or later
88
+ - AgentVibes with BMAD plugin enabled
89
+ - Piper or Piper TTS TTS provider configured
90
+
91
+ ## Troubleshooting
92
+
93
+ **Party mode voices not working?**
94
+
95
+ 1. Check BMAD is installed: `ls .bmad/_cfg/agent-manifest.csv`
96
+ 2. Check voice plugin enabled: `ls .agentvibes/bmad/bmad-voices-enabled.flag`
97
+ 3. Check party mode not disabled: `ls .agentvibes/bmad/bmad-party-mode-disabled.flag`
98
+ 4. View status: `/agent-vibes:bmad-party status`
99
+
100
+ **Wrong voices playing?**
101
+
102
+ Check voice mappings: `/agent-vibes:bmad status`
103
+
104
+ Edit mappings in: `.claude/config/bmad-voices.md`
105
+
106
+ ## Related Commands
107
+
108
+ - `/bmad:core:workflows:party-mode` - Start BMAD party mode
109
+ - `/agent-vibes:bmad` - Manage BMAD voice plugin
110
+ - `/agent-vibes:switch` - Change your default voice
111
+ - `/agent-vibes:provider` - Switch TTS provider
112
+
113
+ ---
114
+
115
+ **Implementation:** Issue #33
116
+ **Auto-enabled:** Yes (for BMAD users)
117
+ **Opt-out:** Available via disable command
@@ -1,24 +1,24 @@
1
- ---
2
- scope: user
3
- description: Configure RDP mode for optimized audio over remote desktop (on/off/status)
4
- ---
5
-
6
- Configure AgentVibes RDP mode for optimized audio streaming over remote desktop connections.
7
-
8
- RDP mode reduces audio bandwidth by:
9
- - Converting to mono (1 channel instead of 2)
10
- - Lowering sample rate to 22kHz (from 44.1kHz)
11
- - Limiting bitrate to 64kbps
12
-
13
- Usage:
14
- - `/agent-vibes:rdp on` - Enable RDP mode
15
- - `/agent-vibes:rdp off` - Disable RDP mode
16
- - `/agent-vibes:rdp status` - Check current status
17
-
18
- When enabled, this setting persists across sessions by creating a config file.
19
-
20
- IMPORTANT: After changing RDP mode, you must either:
21
- 1. Restart Claude Code, OR
22
- 2. Run: `source ~/.bashrc` (or equivalent for your shell)
23
-
24
- This is necessary because the AGENTVIBES_RDP_MODE environment variable needs to be set in your shell session.
1
+ ---
2
+ scope: user
3
+ description: Configure RDP mode for optimized audio over remote desktop (on/off/status)
4
+ ---
5
+
6
+ Configure AgentVibes RDP mode for optimized audio streaming over remote desktop connections.
7
+
8
+ RDP mode reduces audio bandwidth by:
9
+ - Converting to mono (1 channel instead of 2)
10
+ - Lowering sample rate to 22kHz (from 44.1kHz)
11
+ - Limiting bitrate to 64kbps
12
+
13
+ Usage:
14
+ - `/agent-vibes:rdp on` - Enable RDP mode
15
+ - `/agent-vibes:rdp off` - Disable RDP mode
16
+ - `/agent-vibes:rdp status` - Check current status
17
+
18
+ When enabled, this setting persists across sessions by creating a config file.
19
+
20
+ IMPORTANT: After changing RDP mode, you must either:
21
+ 1. Restart Claude Code, OR
22
+ 2. Run: `source ~/.bashrc` (or equivalent for your shell)
23
+
24
+ This is necessary because the AGENTVIBES_RDP_MODE environment variable needs to be set in your shell session.
@@ -1,7 +1,7 @@
1
1
 
2
2
  llm:default|light||0.15|en_US-lessac-high||piper
3
- llm:claude-code|light|agent_vibes_chillwave_v2_loop.mp3|0.05||Agent Vibes local here|kokoro
4
- llm:copilot|light|agent_vibes_bossa_nova_v2_loop.mp3|0.15|en_US-libritts-high::Anna-11|Copilot here|piper
5
- llm:codex|light|agent_vibes_chillwave_v2_loop.mp3|0.15|en_US-lessac-high|Codex here|piper
6
- llm:hermes|light|agent_vibes_bachata_v1_loop.mp3|0.15|en_US-libritts-high::Leo-8|Hermes here|piper
7
- default||agent_vibes_arabic_v2_loop.mp3|0.30
3
+ llm:claude-code|light|agent_vibes_chillwave_v2_loop.mp3|0.15|en_US-lessac-high||piper
4
+ llm:copilot|light|agent_vibes_bossa_nova_v2_loop.mp3|0.15|en_US-libritts-high::Anna-11||piper
5
+ llm:codex|light|agent_vibes_chillwave_v2_loop.mp3|0.15|en_US-lessac-high||piper
6
+ llm:hermes|light|agent_vibes_bachata_v1_loop.mp3|0.15|en_US-libritts-high::Leo-8||piperdefault|reverb 70 50 100|agentvibes_soft_flamenco_loop.mp3|0.30
7
+ default|reverb 90 90 100|agent_vibes_arabic_v2_loop.mp3|0.30
@@ -1 +1 @@
1
- false
1
+ false