BMAD-METHOD/tools/cli/installers/lib/core
Brian Madison 6907d44810 fix: display proper persona names in custom agent manifests
## Problem
Custom agents showed generic names (like "Commit Poet") instead of their
actual persona names (like "Inkwell Von Comitizen") in the agent manifest.

## Root Cause
The extractManifestData function was using metadata.name/title instead of
extracting the persona name from the compiled agent XML.

## Solution
1. Added extractAgentAttribute function to pull attributes from <agent> tag
2. Prioritize XML extraction over metadata for persona info:
   - displayName: uses agent title attribute from XML
   - title: uses agent title attribute from XML
   - icon: uses agent icon attribute from XML
   - Falls back to metadata if XML extraction fails

## Result
Custom agents now display their actual persona names in manifests:
- Before: "Commit Poet"
- After: "Inkwell Von Comitizen"

This provides better user experience with proper agent identification
in IDE integrations and manifests.
2025-11-23 08:51:26 -06: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 fix: display proper persona names in custom agent manifests 2025-11-23 08:51:26 -06:00
manifest-generator.js Major Enhancements: 2025-11-09 17:39:05 -06:00
manifest.js fix: ensure POSIX-compliant newlines in generated files (#856) 2025-11-04 20:18:12 -06:00