改用 AI 助理 CLI 並強化 AI Code Review 執行流程 #13

Merged
admin merged 19 commits from ai-review-resolve/develop-20260626-091820 into develop 2026-06-29 08:49:20 +00:00
Showing only changes of commit 4818e82d76 - Show all commits
+5 -2
View File
@@ -50,17 +50,20 @@ jobs:
uses: https://gitea.jsc.idv.tw/docker-actions/antigravity@${{ vars.ACTION_ANTIGRAVITY_VERSION }}
- name: 檢查 AI 助理 CLI
shell: bash
env:
AI_ASSISTANT_CLI_TOOLS: ${{ vars.AI_ASSISTANT_CLI_TOOLS }}
run: |
set -e
tools="${AI_ASSISTANT_CLI_TOOLS:-codex claude opencode}"
found=""
for tool in codex claude opencode; do
for tool in $tools; do
if command -v "$tool" >/dev/null 2>&1; then
found="${found} ${tool}"
"$tool" --version || true
fi
done
if [ -z "$found" ]; then
echo "找不到可用的 AI 助理 CLI(需要 codex、claude 或 opencode 其中之一" >&2
echo "找不到可用的 AI 助理 CLI(候選工具:${tools}" >&2
exit 1
fi
echo "可用 AI 助理 CLI:${found}"