feat(coding-agent): refine resource metadata and display

This commit is contained in:
Mario Zechner 2026-01-24 02:46:08 +01:00
parent 79ab767beb
commit 725d6bbf35
10 changed files with 213 additions and 109 deletions

View file

@ -366,9 +366,9 @@ export function loadSkills(options: LoadSkillsOptions = {}): LoadSkillsResult {
try {
const stats = statSync(resolvedPath);
if (stats.isDirectory()) {
addSkills(loadSkillsFromDirInternal(resolvedPath, "custom", true));
addSkills(loadSkillsFromDirInternal(resolvedPath, "path", true));
} else if (stats.isFile() && resolvedPath.endsWith(".md")) {
const result = loadSkillFromFile(resolvedPath, "custom");
const result = loadSkillFromFile(resolvedPath, "path");
if (result.skill) {
addSkills({ skills: [result.skill], diagnostics: result.diagnostics });
} else {