fix: install all agent categories for copilot
This commit is contained in:
@@ -285,7 +285,7 @@ install_copilot() {
|
|||||||
local count=0
|
local count=0
|
||||||
mkdir -p "$dest"
|
mkdir -p "$dest"
|
||||||
local dir f first_line
|
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
|
testing support spatial-computing specialized; do
|
||||||
[[ -d "$REPO_ROOT/$dir" ]] || continue
|
[[ -d "$REPO_ROOT/$dir" ]] || continue
|
||||||
while IFS= read -r -d '' f; do
|
while IFS= read -r -d '' f; do
|
||||||
@@ -293,7 +293,7 @@ install_copilot() {
|
|||||||
[[ "$first_line" == "---" ]] || continue
|
[[ "$first_line" == "---" ]] || continue
|
||||||
cp "$f" "$dest/"
|
cp "$f" "$dest/"
|
||||||
(( count++ )) || true
|
(( 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
|
done
|
||||||
ok "Copilot: $count agents -> $dest"
|
ok "Copilot: $count agents -> $dest"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user