BMAD-METHOD/tools/cli/installers/lib/core
Paul Preibisch 206bedce42 feat(installer): Enhanced TTS injection summary with tracking and documentation
## Summary
- Track all files with TTS injection applied during installation
- Display informative summary explaining what TTS injection does
- Show backup location and restore command for recovery

## What is TTS Injection?
TTS (Text-to-Speech) injection adds voice instructions to BMAD agents,
enabling them to speak their responses aloud using AgentVibes.

Example: When you activate the PM agent, it will greet you with
spoken audio like "Hey! I'm your Project Manager. How can I help?"

## Changes
- **installer.js**: Track files in `processAgentFiles()`, `buildStandaloneAgents()`,
  and `rebuildAgentFiles()` when TTS markers are processed
- **compiler.js**: Add TTS injection support for custom agent compilation
- **ui.js**: Enhanced installation summary showing:
  - Explanation of what TTS injection is with example
  - List of all files with TTS injection applied (grouped by type)
  - Backup location (~/.bmad-tts-backups/)
  - Restore command for recovery

## Example Output
```
═══════════════════════════════════════════════════
            AgentVibes TTS Injection Summary
═══════════════════════════════════════════════════

What is TTS Injection?

  TTS (Text-to-Speech) injection adds voice instructions to BMAD agents,
  enabling them to speak their responses aloud using AgentVibes.

  Example: When you activate the PM agent, it will greet you with
  spoken audio like "Hey! I'm your Project Manager. How can I help?"

 TTS injection applied to 11 file(s):

  Party Mode (multi-agent conversations):
    • .bmad/core/workflows/party-mode/instructions.md
  Agent TTS (individual agent voices):
    • .bmad/bmm/agents/analyst.md
    • .bmad/bmm/agents/architect.md
    ...

Backups & Recovery:

  Pre-injection backups are stored in:
    ~/.bmad-tts-backups/

  To restore original files (removes TTS instructions):
    bmad-tts-injector.sh --restore /path/to/.bmad
```

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:25:47 -07:00
..
config-collector.js feat: default installer username to system user (#939) 2025-11-19 20:36:54 -06:00
dependency-resolver.js installer fixes 2025-10-26 19:38:38 -05:00
detector.js customize installation folder for the bmad content 2025-11-08 15:19:19 -06:00
ide-config-manager.js fix quick udpate status bug in installer 2025-11-04 21:16:52 -06:00
installer.js feat(installer): Enhanced TTS injection summary with tracking and documentation 2025-12-05 15:25:47 -07:00
manifest-generator.js new workflow types generate slash commands 2025-12-03 21:36:24 -06:00
manifest.js fix: ensure POSIX-compliant newlines in generated files (#856) 2025-11-04 20:18:12 -06:00