- edge node registry: 노드 레지스트리 기능 개선 - edge opsconsole: 콘솔 및 이벤트 처리 로직 수정 - edge service: 서비스 레이어 변경 - agent-ops: init-agent-ops, sync-pull, sync-push 스킬 및 스크립트 업데이트 - 새 스크립트 추가: entry-files.sh
24 lines
658 B
Bash
24 lines
658 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Shared entry-point file list for init/sync scripts.
|
|
AGENT_OPS_ENTRY_FILES=("GEMINI.md" "CLAUDE.md" "AGENTS.md" ".cursorrules" ".clinerules")
|
|
|
|
apply_agent_ops_entry_files() {
|
|
local rules_md="$1"
|
|
local target_root="$2"
|
|
|
|
if [[ ! -f "$rules_md" ]]; then
|
|
if [[ -n "${YELLOW:-}" && -n "${RESET:-}" ]]; then
|
|
echo -e "${YELLOW} rules.md 없음, 진입 파일 재적용 건너뜀${RESET}"
|
|
else
|
|
echo " rules.md 없음, 진입 파일 재적용 건너뜀"
|
|
fi
|
|
return
|
|
fi
|
|
|
|
local f
|
|
for f in "${AGENT_OPS_ENTRY_FILES[@]}"; do
|
|
cp "$rules_md" "$target_root/$f"
|
|
echo " 진입 파일 적용: $f"
|
|
done
|
|
}
|