51c3f0c62a
* fix: recursive skill scan for nested sub-category directories The Web UI skill scanner (scanSkillsDir) only checked one level deep: skills/<category>/<subdir>/SKILL.md. Sub-category containers like mlops/evaluation/ (which has DESCRIPTION.md + subdirs but no SKILL.md) were skipped entirely, hiding all 12 nested skills under mlops. Changes: - scanSkillsDir: extract collectSkills() recursive helper that depth-first searches for SKILL.md at every level under a category directory. Directories without SKILL.md but with subdirectories are recursively descended into. - listFiles handler: replace hardcoded join(category, skill) path with recursive findSkillDir() search, so nested skill file browsing works (e.g., mlops/evaluation/lm-evaluation-harness). Fixes mlops category showing 1 skill instead of 13. All 20 other categories verified with zero regression. * fix: pA handler also needs recursive search for nested skill file content The readFile_ (pA) handler was constructing direct paths like skills/category/skill/... which fails for nested sub-category skills (mlops/evaluation/lm-evaluation-harness). Added fallback recursive search when direct path returns 404. Also fixed listFiles (sA) handler to use recursive search for the same reason - previous fix to dist was not in source TS. Verified: - lm-evaluation-harness SKILL.md content: 200 ✅ - vllm SKILL.md: 200 ✅ - huggingface-hub (non-nested): 200 ✅ - reference file in nested skill: 200 ✅ * fix: pA handler also needs recursive search for nested skill file content The readFile_ (pA) handler was constructing direct paths like skills/category/skill/... which fails for nested sub-category skills (mlops/evaluation/lm-evaluation-harness). Added fallback recursive search when direct path returns 404. Also fixed listFiles (sA) handler to use recursive search for the same reason - previous fix to dist was not in source TS. Verified: - lm-evaluation-harness SKILL.md content: 200 ✅ - vllm SKILL.md: 200 ✅ - huggingface-hub (non-nested): 200 ✅ - reference file in nested skill: 200 ✅ * harden recursive skill lookup --------- Co-authored-by: gs <gs@localhost> Co-authored-by: gutanulaif <gutanulaifa@gmail.com>