BMAD-METHOD/tools/cli/lib
Paul Preibisch 555e77016c fix(compiler): Preserve TTS data in agent frontmatter
**Problem:**
Agent compiler was stripping TTS data (intro and voices) when converting
.agent.yaml files to .md files. This caused all agents to use fallback
voice (en_US-lessac-medium) and generic intros in party mode.

**Root Cause:**
buildFrontmatter() only included name and description fields, omitting
the tts section from source YAML.

**Fix:**
- Modified buildFrontmatter() to accept and include TTS data
- Updated compileToXml() to extract TTS from parsed YAML
- TTS data now preserved in compiled .md frontmatter

**Impact:**
- Each agent now gets unique voice (ryan-high, kristin-medium, etc.)
- Personalized intros ("Hi! I'm John..." instead of "Hi! I'm Pm...")
- Party mode agents now distinguishable by voice

**Testing:**
 Tested with pm.agent.yaml → correct voice: en_US-ryan-high
 Tested with analyst.agent.yaml → correct voice: en_US-kristin-medium
 Verified TTS frontmatter structure matches manifest-generator expectations

**Related:**
- Fixes voice assignment issue in PR #987
- Enables proper multi-agent party mode experience
- Manifest generator already handles TTS correctly (no changes needed)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 18:18:59 -07:00
..
agent fix(compiler): Preserve TTS data in agent frontmatter 2025-12-17 18:18:59 -07: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: read version from package.json instead of hardcoded fallback (#1041) 2025-12-06 12:39:39 -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 Merge main into fix/agentvibes-npm-env-inheritance 2025-12-07 15:14:34 -07: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 chore(cli): remove broken build caching (#1042) 2025-12-06 12:38:56 -06:00