(
profile_home: &Path,
prompt_path: &Path,
target: crate::automation::skill_targets::SkillInstallTarget,
)
| 69 | } |
| 70 | |
| 71 | pub(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` |
no test coverage detected