Requirements: add source to constrained requirement values (#10568)

If we want to build `/debug-config`, we'll need to know the requirements
sources that supplied the values.

This PR adds those sources such that we can render them in the UI.
This commit is contained in:
gt-oai
2026-02-04 11:09:48 +00:00
committed by GitHub
parent 3d8deeea4b
commit 1eb21e279e
3 changed files with 93 additions and 24 deletions

View File

@@ -34,6 +34,7 @@ use toml::Value as TomlValue;
pub use cloud_requirements::CloudRequirementsLoader;
pub use config_requirements::ConfigRequirements;
pub use config_requirements::ConfigRequirementsToml;
pub use config_requirements::ConstrainedWithSource;
pub use config_requirements::McpServerIdentity;
pub use config_requirements::McpServerRequirement;
pub use config_requirements::RequirementSource;