## 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. |
||
|---|---|---|
| .. | ||
| agent | ||
| activation-builder.js | ||
| agent-analyzer.js | ||
| agent-party-generator.js | ||
| cli-utils.js | ||
| config.js | ||
| file-ops.js | ||
| platform-codes.js | ||
| project-root.js | ||
| replace-project-root.js | ||
| ui.js | ||
| xml-handler.js | ||
| xml-to-markdown.js | ||
| yaml-format.js | ||
| yaml-xml-builder.js | ||