Expand description
Config redaction helpers and diagnostics types for extensions.
These helpers are used by /extensions status and similar UX to display
extension config without leaking secret values, and to mirror the
resolution order implemented in manager::resolve_config.
Structs§
- Config
Entry Status - Diagnostic status for a single config entry.
- Extension
Config Diagnostics - Aggregated config diagnostics for a single extension.
Enums§
- Config
Source - Where a resolved config value originated from.
Functions§
- classify_
config_ entry - Classify a config entry against the same resolution order as
manager::resolve_config, using injected lookup closures so callers (and tests) need not touch realstd::envor persisted config. - diagnose_
extension_ config - Compute diagnostics for an extension by combining manifest config classification
with provider-level
config_schema.requiredchecks. Lookups are injected so the function is fully testable without touching real env or persisted config. - extension_
env_ var - Compute the env override variable name for a given extension id + config key.
- redact_
secret_ value - Redact a secret value for display. Always cosmetic; never returns the full value.