Skip to main content

tm_agent_sources

Function tm_agent_sources 

Source
pub fn tm_agent_sources(
    roster: &AgentRoster,
) -> Result<Vec<(String, String)>, AgentContentError>
Expand description

The 31-entry tm agent catalog the extends-composer resolves against: every SHARED_TM_AGENT_FILES entry read from roster, then LOCAL_TM_AGENT_FORKS.

Why: agents::md_loader and the roster deploy need one batch source of (file name, markdown) pairs, as the compiled-in table used to be. What: Err(AgentContentError::Missing) when roster lacks a shared file, so a partial catalog never composes. Test: assets::tests::embedded_tm_agent_sources_has_31_entries_and_unique_keys.