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

Function remove_managed_skill_prompt_index

src/agents/mod.rs:71–83  ·  view source on GitHub ↗
(
    profile_home: &Path,
    prompt_path: &Path,
    target: crate::automation::skill_targets::SkillInstallTarget,
)

Source from the content-addressed store, hash-verified

69}
70
71pub(crate) fn remove_managed_skill_prompt_index(
72 profile_home: &Path,
73 prompt_path: &Path,
74 target: crate::automation::skill_targets::SkillInstallTarget,
75) -> Result<()> {
76 let profile_root = crate::automation::skill_targets::profile_root_for_agent_home(profile_home);
77 crate::automation::skill_targets::remove_prompt_skill_index_for_target(prompt_path, target)?;
78 crate::automation::memory_digest::remove_memory_digest_export(
79 &profile_root,
80 target,
81 prompt_path,
82 )
83}
84
85/// Per-agent outcome of a managed-skill export refresh, keyed by agent id.
86/// `error` carries the failure message when the refresh failed; `exports`

Callers 6

uninstallMethod · 0.85
uninstallMethod · 0.85
uninstallMethod · 0.85
uninstallMethod · 0.85
uninstallMethod · 0.85

Tested by

no test coverage detected