fix: clarify the value of SkillMetadata.path (#12729)

Rename `SkillMetadata.path` to `SkillMetadata.path_to_skills_md` for
clarity.

Would ideally change the type to `AbsolutePathBuf`, but that can be done
later.
This commit is contained in:
Michael Bolin
2026-02-24 17:15:54 -08:00
committed by GitHub
parent 63c2ac96cd
commit 448fb6ac22
14 changed files with 80 additions and 73 deletions

View File

@@ -6526,7 +6526,7 @@ fn skills_to_info(
skills
.iter()
.map(|skill| {
let enabled = !disabled_paths.contains(&skill.path);
let enabled = !disabled_paths.contains(&skill.path_to_skills_md);
codex_app_server_protocol::SkillMetadata {
name: skill.name.clone(),
description: skill.description.clone(),
@@ -6557,7 +6557,7 @@ fn skills_to_info(
.collect(),
}
}),
path: skill.path.clone(),
path: skill.path_to_skills_md.clone(),
scope: skill.scope.into(),
enabled,
}