fix(skills): resolve third-party skills installation failure (#268)

- Add skills_path field to Skill struct
- Use skills_path to construct correct source path during installation
- Fix installation for repos with custom skill subdirectories
This commit is contained in:
YoVinchen
2025-11-21 15:02:01 +08:00
committed by GitHub
parent 74969ae968
commit 5e54656d45
3 changed files with 19 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ pub async fn install_skill(
.clone()
.unwrap_or_else(|| "main".to_string()),
enabled: true,
skills_path: None, // 安装时使用默认路径
skills_path: skill.skills_path.clone(), // 使用技能记录的 skills_path
};
service