(
opts: &SessionOptions,
workspace: &Path,
skill_registry: &SkillRegistry,
)
| 274 | } |
| 275 | |
| 276 | fn build_context_providers( |
| 277 | opts: &SessionOptions, |
| 278 | workspace: &Path, |
| 279 | skill_registry: &SkillRegistry, |
| 280 | ) -> Vec<Arc<dyn ContextProvider>> { |
| 281 | let mut providers = opts.context_providers.clone(); |
| 282 | push_agents_md_context(&mut providers, workspace); |
| 283 | push_skill_catalog_context(&mut providers, skill_registry); |
| 284 | providers |
| 285 | } |
| 286 | |
| 287 | fn push_agents_md_context(providers: &mut Vec<Arc<dyn ContextProvider>>, workspace: &Path) { |
| 288 | let agents_md_path = workspace.join("AGENTS.md"); |
no test coverage detected