pub fn parse_agent_summary(
directory_id: &str,
contents: &str,
) -> Result<Option<PersonalitySummary>, PersonalityParseError>Expand description
Parses lightweight picker metadata from one .agents agent definition.
Callers may supply a body reduced to any non-empty placeholder because the
returned value does not retain prompt text. Disabled definitions return
Ok(None).
ยงErrors
Returns PersonalityParseError under the same validation rules as
parse_agent_definition.