MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / export_managed_skills_local

Method export_managed_skills_local

src/agents/codex.rs:178–196  ·  view source on GitHub ↗
(
        &self,
        project_root: &Path,
        profile_root: &Path,
    )

Source from the content-addressed store, hash-verified

176 }
177
178 fn export_managed_skills_local(
179 &self,
180 project_root: &Path,
181 profile_root: &Path,
182 ) -> Result<Vec<crate::automation::skill_targets::SkillInstallSummary>> {
183 let repo_dir = codex_repo_plugin_install_dir(project_root);
184 if !repo_dir.join(".codex-plugin/plugin.json").exists()
185 || !codex_plugin_dir_is_tracedecay(&repo_dir)
186 {
187 return Ok(Vec::new());
188 }
189 Ok(vec![
190 crate::automation::skill_targets::install_managed_skills(
191 profile_root,
192 crate::automation::skill_targets::SkillInstallTarget::Codex,
193 &repo_dir,
194 )?,
195 ])
196 }
197
198 fn healthcheck(&self, dc: &mut DoctorCounters, ctx: &HealthcheckContext) {
199 eprintln!("\n\x1b[1mCodex CLI integration\x1b[0m");

Callers

nothing calls this directly

Calls 3

existsMethod · 0.80

Tested by

no test coverage detected