mirror of
https://github.com/openai/codex.git
synced 2026-11-29 07:35:16 +00:00
Move the host skills service into the skills extension (#36921)
## What changed - Move host skill discovery, snapshot caching, and configuration handling from `codex-core-skills` to `codex-skills-extension`. - Rename `SkillsService` and `SkillsLoadInput` to `HostSkillsService` and `HostSkillsLoadInput` to distinguish the host implementation from other skill providers. - Keep shared loading primitives and skill outcome modeling in `codex-core-skills`. GitOrigin-RevId: d81a21791d2ef8c066e157e7e538b8cb7ee4c24b
This commit is contained in:
1 parent
d75f94a94d
commit
02bc1dd796
26 files changed
+111
-115
No files matched your search
@@ -1,5 +1,5 @@
|
||||
use super::*;
|
||||
use crate::SkillsService;
|
||||
use crate::HostSkillsService;
|
||||
use crate::config::ConfigBuilder;
|
||||
use crate::skills_load_input_from_config;
|
||||
use codex_core_plugins::PluginsManager;
|
||||
@@ -398,7 +398,7 @@ enabled = false
|
||||
|
||||
let plugins_manager = Arc::new(PluginsManager::new(home.path().to_path_buf()));
|
||||
let skills_service =
|
||||
SkillsService::new(home.path().abs(), /*bundled_skills_enabled*/ true);
|
||||
HostSkillsService::new(home.path().abs(), /*bundled_skills_enabled*/ true);
|
||||
let plugins_input = config.plugins_config_input();
|
||||
let plugin_outcome = plugins_manager.plugins_for_config(&plugins_input).await;
|
||||
let effective_skill_roots = plugin_outcome.effective_plugin_skill_roots();
|
||||
|
||||
Reference in new issue
Block a user