Skip to main content

Module providers

Module providers 

Source

Re-exports§

pub use provider_trait::ContextPacket;
pub use provider_trait::ContextProvider;
pub use provider_trait::ProviderParams;
pub use registry::ProviderRegistry;
pub use registry::global_registry;

Modules§

cache
config
config_provider
Config-based context providers.
connection
A real connection check for one built-in source: the same configuration a provider builds, one authenticated read-only request, and who the source says the Engine is. Used by lean-ctx provider check <id>.
credentials
Stored connection values for the built-in context sources.
emspace
Emspace provider — the pages, tasks and search of the space a project is linked to, read through the local emspace CLI.
github
GitHub context provider — issues, pull requests, actions.
gitlab
hardened_http
health
init
Provider initialization — auto-registers all built-in + config-based providers.
jira
Jira provider — issues, sprints, and boards via the Jira REST API.
jira_oauth
Jira Cloud OAuth 2.0 (3LO) client.
mcp_bridge
MCP Bridge provider — connects external MCP servers as data sources.
postgres
PostgreSQL provider — database schema introspection via psql.
provenance
Durable source dependencies. These are references, never authorization grants.
provider_trait
registry
Provider Registry — dynamic registration and discovery of context providers.
scaffold
lean-ctx provider init scaffolding (P4 — lower the floor).
selected_gitlab
Immutable source authority for an explicitly selected protected MCP session. This is acquisition authorization, not authorization of previously stored context.
snapshot_projection
Shared deterministic snapshot projection for acquisition and source revalidation.

Structs§

ProviderItem
ProviderResult