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.
Files changed (132) hide show
  1. package/.agentvibes/LITE-MODE.md +236 -0
  2. package/.agentvibes/README.md +136 -0
  3. package/.agentvibes/backup/session-start-tts.sh.20251210_212814 +141 -0
  4. package/.agentvibes/backups/agents/analyst_20260204_144958.md +78 -0
  5. package/.agentvibes/backups/agents/architect_20260204_144958.md +72 -0
  6. package/.agentvibes/backups/agents/dev_20260204_144958.md +74 -0
  7. package/.agentvibes/backups/agents/pm_20260204_144958.md +72 -0
  8. package/.agentvibes/backups/agents/quick-flow-solo-dev_20260204_144958.md +64 -0
  9. package/.agentvibes/backups/agents/sm_20260204_144958.md +87 -0
  10. package/.agentvibes/backups/agents/tea_20260204_144958.md +79 -0
  11. package/.agentvibes/backups/agents/tech-writer_20260204_144958.md +82 -0
  12. package/.agentvibes/backups/agents/ux-designer_20260204_144958.md +80 -0
  13. package/.agentvibes/config/README-personality-defaults.md +162 -0
  14. package/.agentvibes/config/agentvibes.json +1 -0
  15. package/.agentvibes/config/mode.txt +1 -0
  16. package/.agentvibes/config/personality-voice-defaults.default.json +21 -0
  17. package/.agentvibes/config/save-audio.txt +1 -0
  18. package/.agentvibes/config/voice-metadata.json +160 -0
  19. package/.agentvibes/config.json +38 -1
  20. package/.agentvibes/hooks/help.sh +191 -0
  21. package/.agentvibes/hooks/post-tool-use-lite.sh +111 -0
  22. package/.agentvibes/hooks/save-audio-manager.sh +162 -0
  23. package/.agentvibes/hooks/session-start-full-optimized.sh +102 -0
  24. package/.agentvibes/hooks/session-start-full.sh +142 -0
  25. package/.agentvibes/hooks/session-start-lite-v2.sh +34 -0
  26. package/.agentvibes/hooks/session-start-lite.sh +29 -0
  27. package/.agentvibes/hooks/stop-lite.sh +115 -0
  28. package/.agentvibes/hooks/switch-mode.sh +215 -0
  29. package/.agentvibes/output-styles/audio-summary.md +30 -0
  30. package/.claude/audio/voice-samples/piper/alan.wav +0 -0
  31. package/.claude/audio/voice-samples/piper/amy.wav +0 -0
  32. package/.claude/audio/voice-samples/piper/charlotte.wav +0 -0
  33. package/.claude/audio/voice-samples/piper/joe.wav +0 -0
  34. package/.claude/audio/voice-samples/piper/john.wav +0 -0
  35. package/.claude/audio/voice-samples/piper/katherine.wav +0 -0
  36. package/.claude/audio/voice-samples/piper/kristin.wav +0 -0
  37. package/.claude/audio/voice-samples/piper/linda.wav +0 -0
  38. package/.claude/audio/voice-samples/piper/marcus.wav +0 -0
  39. package/.claude/audio/voice-samples/piper/ryan.wav +0 -0
  40. package/.claude/commands/agent-vibes/provider.md +0 -0
  41. package/.claude/commands/agent-vibes-bmad-voices.md +117 -117
  42. package/.claude/commands/agent-vibes-rdp.md +24 -24
  43. package/.claude/config/audio-effects.cfg +1 -1
  44. package/.claude/config/background-music-position.txt +8 -7
  45. package/.claude/config/reverb-level.txt +0 -0
  46. package/.claude/docs/TERMUX_SETUP.md +408 -408
  47. package/.claude/hooks/audio-cache-utils.sh +0 -0
  48. package/.claude/hooks/audio-processor.sh +0 -0
  49. package/.claude/hooks/background-music-manager.sh +0 -0
  50. package/.claude/hooks/bmad-party-manager.sh +225 -0
  51. package/.claude/hooks/bmad-party-speak.sh +0 -0
  52. package/.claude/hooks/bmad-speak-enhanced.sh +0 -0
  53. package/.claude/hooks/bmad-speak.sh +0 -0
  54. package/.claude/hooks/bmad-tts-injector.sh +0 -0
  55. package/.claude/hooks/bmad-voice-manager.sh +0 -0
  56. package/.claude/hooks/clawdbot-receiver-SECURE.sh +0 -0
  57. package/.claude/hooks/clawdbot-receiver.sh +0 -0
  58. package/.claude/hooks/clean-audio-cache.sh +0 -0
  59. package/.claude/hooks/cleanup-cache.sh +0 -0
  60. package/.claude/hooks/configure-rdp-mode.sh +0 -0
  61. package/.claude/hooks/download-extra-voices.sh +0 -0
  62. package/.claude/hooks/effects-manager.sh +0 -0
  63. package/.claude/hooks/github-star-reminder.sh +0 -0
  64. package/.claude/hooks/language-manager.sh +0 -0
  65. package/.claude/hooks/learn-manager.sh +0 -0
  66. package/.claude/hooks/macos-voice-manager.sh +0 -0
  67. package/.claude/hooks/migrate-background-music.sh +0 -0
  68. package/.claude/hooks/migrate-to-agentvibes.sh +0 -0
  69. package/.claude/hooks/optimize-background-music.sh +0 -0
  70. package/.claude/hooks/path-resolver.sh +0 -0
  71. package/.claude/hooks/personality-manager.sh +0 -0
  72. package/.claude/hooks/piper-download-voices.sh +0 -0
  73. package/.claude/hooks/piper-installer.sh +0 -0
  74. package/.claude/hooks/piper-multispeaker-registry.sh +0 -0
  75. package/.claude/hooks/piper-voice-manager.sh +0 -0
  76. package/.claude/hooks/play-tts-agentvibes-receiver-for-voiceless-connections.sh +0 -0
  77. package/.claude/hooks/play-tts-enhanced.sh +0 -0
  78. package/.claude/hooks/play-tts-macos.sh +0 -0
  79. package/.claude/hooks/play-tts-piper.sh +1 -1
  80. package/.claude/hooks/play-tts-soprano.sh +0 -0
  81. package/.claude/hooks/play-tts-ssh-remote.sh +0 -0
  82. package/.claude/hooks/play-tts-termux-ssh.sh +0 -0
  83. package/.claude/hooks/play-tts-windows-receiver.sh +0 -0
  84. package/.claude/hooks/play-tts.sh +4 -0
  85. package/.claude/hooks/post-response.sh +41 -0
  86. package/.claude/hooks/prepare-release.sh +0 -0
  87. package/.claude/hooks/provider-commands.sh +0 -0
  88. package/.claude/hooks/provider-manager.sh +0 -0
  89. package/.claude/hooks/replay-target-audio.sh +0 -0
  90. package/.claude/hooks/sentiment-manager.sh +0 -0
  91. package/.claude/hooks/session-start-tts.sh +0 -0
  92. package/.claude/hooks/soprano-gradio-synth.py +0 -0
  93. package/.claude/hooks/speed-manager.sh +0 -0
  94. package/.claude/hooks/stop-tts.sh +0 -0
  95. package/.claude/hooks/stop.sh +63 -0
  96. package/.claude/hooks/termux-installer.sh +0 -0
  97. package/.claude/hooks/translate-manager.sh +0 -0
  98. package/.claude/hooks/translator.py +0 -0
  99. package/.claude/hooks/tts-queue-worker.sh +0 -0
  100. package/.claude/hooks/tts-queue.sh +0 -0
  101. package/.claude/hooks/verbosity-manager.sh +0 -0
  102. package/.claude/hooks/voice-manager.sh +0 -0
  103. package/.claude/hooks-windows/audio-cache-utils.ps1 +119 -119
  104. package/.claude/piper-voices-dir.txt +1 -0
  105. package/.clawdbot/README.md +105 -105
  106. package/.mcp.json +32 -3
  107. package/README.md +12 -2
  108. package/RELEASE_NOTES.md +29 -0
  109. package/WINDOWS-SETUP.md +208 -208
  110. package/bin/agent-vibes +0 -0
  111. package/bin/agentvibes-voice-browser.js +59 -4
  112. package/bin/agentvibes.js +0 -0
  113. package/bin/ensure-soprano-running.sh +43 -0
  114. package/bin/mcp-server.js +121 -121
  115. package/bin/mcp-server.sh +0 -0
  116. package/bin/test-bmad-pr +78 -78
  117. package/mcp-server/QUICK_START.md +203 -203
  118. package/mcp-server/README.md +345 -345
  119. package/mcp-server/WINDOWS_SETUP.md +260 -260
  120. package/mcp-server/docs/troubleshooting-audio.md +313 -313
  121. package/mcp-server/examples/claude_desktop_config.json +11 -11
  122. package/mcp-server/examples/claude_desktop_config_piper.json +9 -9
  123. package/mcp-server/examples/custom_instructions.md +169 -169
  124. package/mcp-server/install-deps.js +177 -130
  125. package/mcp-server/server.py +1797 -1787
  126. package/mcp-server/test_server.py +0 -0
  127. package/package.json +1 -1
  128. package/src/console/tabs/music-tab.js +18 -2
  129. package/src/installer.js +0 -0
  130. package/templates/agentvibes-receiver.sh +0 -0
  131. package/templates/audio/welcome-music.mp3 +0 -0
  132. package/.claude/hooks/play-tts-agentvibes-receiver.sh +0 -1
File without changes
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": "5.6.8",
4
+ "version": "5.6.9",
5
5
  "description": "Now your AI Agents can finally talk back! Professional TTS voice for Claude Code, Claude Desktop (via MCP), and Clawdbot with multi-provider support.",
6
6
  "homepage": "https://agentvibes.org",
7
7
  "keywords": [
@@ -225,6 +225,19 @@ function _setMusic(configService, update) {
225
225
  configService.set('backgroundMusic', { ...current, ...update });
226
226
  }
227
227
 
228
+ /**
229
+ * Sync the background-music-enabled.txt flag file so bash hooks see the change.
230
+ * The TUI stores enabled state in config.json, but audio-processor.sh and
231
+ * play-tts-piper.sh read from this .txt file — they must stay in sync.
232
+ * @param {boolean} enabled
233
+ */
234
+ export function applyEnabledToFile(enabled) {
235
+ const enabledFile = path.join(process.cwd(), '.claude', 'config', 'background-music-enabled.txt');
236
+ try {
237
+ fs.writeFileSync(enabledFile, enabled ? 'true' : 'false', 'utf-8');
238
+ } catch { /* non-fatal */ }
239
+ }
240
+
228
241
  /**
229
242
  * Patch the 'default' entry in audio-effects.cfg to use the given track.
230
243
  * play-tts-piper.sh reads the track from audio-effects.cfg (not from config.json),
@@ -431,7 +444,9 @@ export function createMusicTab(screen, services) {
431
444
 
432
445
  const toggleBtn = _createBtn(_tl('musicToggleBtn'), () => {
433
446
  const { enabled } = _getMusic(configService);
434
- _setMusic(configService, { enabled: !enabled });
447
+ const next = !enabled;
448
+ _setMusic(configService, { enabled: next });
449
+ applyEnabledToFile(next); // sync bash hooks (audio-processor.sh reads this file)
435
450
  refreshDisplay();
436
451
  });
437
452
  toggleBtn.bottom = 4;
@@ -772,8 +787,9 @@ export function createMusicTab(screen, services) {
772
787
  }
773
788
 
774
789
  function _saveLocally() {
775
- _setMusic(configService, { track: trackId });
790
+ _setMusic(configService, { track: trackId, enabled: true });
776
791
  applyTrackToAudioEffects(trackId);
792
+ applyEnabledToFile(true); // saving a track implies enabling music
777
793
  refreshDisplay();
778
794
  _showTrackChangedNotice(displayName);
779
795
  }
package/src/installer.js CHANGED
File without changes
File without changes
File without changes
@@ -1 +0,0 @@
1
- play-tts-agentvibes-receiver-for-voiceless-connections.sh