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

Method export_managed_skills

src/agents/opencode.rs:111–127  ·  view source on GitHub ↗
(
        &self,
        home: &Path,
        profile_root: &Path,
    )

Source from the content-addressed store, hash-verified

109 }
110
111 fn export_managed_skills(
112 &self,
113 home: &Path,
114 profile_root: &Path,
115 ) -> Result<Vec<crate::automation::skill_targets::SkillInstallSummary>> {
116 let prompt_path = opencode_prompt_path(home);
117 if !self.has_tracedecay(home) || !prompt_path.exists() {
118 return Ok(Vec::new());
119 }
120 Ok(vec![
121 crate::automation::skill_targets::install_managed_skills(
122 profile_root,
123 crate::automation::skill_targets::SkillInstallTarget::OpenCode,
124 &prompt_path,
125 )?,
126 ])
127 }
128
129 fn export_managed_skills_local(
130 &self,

Callers

nothing calls this directly

Calls 3

existsMethod · 0.80
opencode_prompt_pathFunction · 0.70
has_tracedecayMethod · 0.45

Tested by

no test coverage detected