fix: install all agent categories for copilot

This commit is contained in:
Yimikami 2026-03-11 16:34:04 +03:00
parent 070bf0bca5
commit d1d3c9c133

View File

@ -285,7 +285,7 @@ install_copilot() {
local count=0
mkdir -p "$dest"
local dir f first_line
for dir in design engineering marketing product project-management \
for dir in design engineering game-development marketing paid-media product project-management \
testing support spatial-computing specialized; do
[[ -d "$REPO_ROOT/$dir" ]] || continue
while IFS= read -r -d '' f; do
@ -293,7 +293,7 @@ install_copilot() {
[[ "$first_line" == "---" ]] || continue
cp "$f" "$dest/"
(( count++ )) || true
done < <(find "$REPO_ROOT/$dir" -maxdepth 1 -name "*.md" -type f -print0)
done < <(find "$REPO_ROOT/$dir" -name "*.md" -type f -print0)
done
ok "Copilot: $count agents -> $dest"
}