Skip to main content

find_agents_cli_layout

Function find_agents_cli_layout 

Source
pub fn find_agents_cli_layout(project: &Path) -> Option<AgentsCliLayout>
Expand description

Walk upward from project (inclusive) looking for agents-cli-manifest.yaml, bounded to [MAX_WALK_LEVELS] and stopping at the filesystem root. On the first manifest found, hand-parse its agent_directory key; return None if the key is missing or the directory it names does not exist.