feat: support disabling bundled system skills (#13792)

Support disable bundled system skills with a config:

[skills.bundled]
enabled = false
This commit is contained in:
xl-openai
2026-03-09 22:02:53 -07:00
committed by GitHub
parent 710682598d
commit 0c33af7746
15 changed files with 212 additions and 34 deletions

View File

@@ -2681,6 +2681,10 @@ impl Config {
.network
.is_some()
}
pub fn bundled_skills_enabled(&self) -> bool {
crate::skills::manager::bundled_skills_enabled_from_stack(&self.config_layer_stack)
}
}
pub(crate) fn uses_deprecated_instructions_file(config_layer_stack: &ConfigLayerStack) -> bool {