Overview of openshell-providers
mainThe openshell-providers crate is responsible for the discovery and normalization of credentials required by sandboxes at runtime. It isolates provider-specific logic (such as parsing rules and discovery mechanisms) from the main CLI and gateway control flows.
Key Responsibilities
- Discovery: Locating local credentials within environment variables and known configuration files.
- Normalization: Converting discovered data into standardized provider records.
- Encapsulation: Maintaining provider-specific parsing rules within dedicated provider modules.
- Security: Ensuring credential values are not logged during the discovery process.
Architecture Integration
- The Gateway is responsible for persisting provider records.
- The Sandbox Supervisor fetches the resolved provider environment from the gateway and injects credentials into agent child processes.
- The Router handles routing inference requests.