get_sources

Function get_sources 

Source
pub fn get_sources(config: &Config) -> Vec<SourceStatus>
Expand description

Returns the configuration and health status of all known connectors.

This is the core function used by both the CLI (ctx sources) and the HTTP server (GET /tools/sources). It checks each connector’s config and performs a lightweight health probe.

All connector types use named instances (e.g. filesystem:docs, git:platform).