BMAD-METHOD/tools/cli/lib
Paul Preibisch 8265bbf295
feat(installer): Enhanced TTS injection summary with tracking and documentation (#1037)
## 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: Paul Preibisch <paul@paulpreibisch.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-05 18:54:03 -06:00
..
agent feat(installer): Enhanced TTS injection summary with tracking and documentation (#1037) 2025-12-05 18:54:03 -06:00
activation-builder.js minor dev agent updates 2025-10-11 19:45:25 -05:00
agent-analyzer.js feat: implement granular step-file workflow architecture with multi-menu support 2025-11-30 15:09:23 -06:00
agent-party-generator.js installer for bmm includes option to include game assets or not when adding to a project. 2025-10-27 22:38:34 -05:00
cli-utils.js Major Enhancements: 2025-11-09 17:39:05 -06:00
config.js fix: ensure POSIX-compliant newlines in generated files (#856) 2025-11-04 20:18:12 -06:00
file-ops.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
platform-codes.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
project-root.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
replace-project-root.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
ui.js feat(installer): Enhanced TTS injection summary with tracking and documentation (#1037) 2025-12-05 18:54:03 -06:00
xml-handler.js feat: Add ide-only and web-only menu item filtering for platform-specific commands 2025-11-15 19:39:53 -06:00
xml-to-markdown.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
yaml-format.js fix: ensure POSIX-compliant newlines in generated files (#856) 2025-11-04 20:18:12 -06:00
yaml-xml-builder.js feat: implement granular step-file workflow architecture with multi-menu support 2025-11-30 15:09:23 -06:00