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

@@ -179,12 +179,11 @@ impl TestCodexBuilder {
resume_from: Option<PathBuf>,
) -> anyhow::Result<TestCodex> {
let auth = self.auth.clone();
let thread_manager = if let Some(model_catalog) = config.model_catalog.clone() {
let thread_manager = if config.model_catalog.is_some() {
ThreadManager::new(
config.codex_home.clone(),
&config,
codex_core::test_support::auth_manager_from_auth(auth.clone()),
SessionSource::Exec,
Some(model_catalog),
CollaborationModesConfig::default(),
)
} else {

View File

@@ -815,10 +815,9 @@ async fn prefers_apikey_when_config_prefers_apikey_even_with_chatgpt_tokens() {
Err(e) => panic!("Failed to load CodexAuth: {e}"),
};
let thread_manager = ThreadManager::new(
codex_home.path().to_path_buf(),
&config,
auth_manager,
SessionSource::Exec,
config.model_catalog.clone(),
CollaborationModesConfig {
default_mode_request_user_input: config
.features