refactor: 將 herdr-issue 併入 herdr 外掛並改名為 gitea-issue

指令由 /herdr-issue:herdr-issue 改為 /herdr:gitea-issue,herdr 升至 0.0.2。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
root
2026-10-13 07:40:33 +00:00
co-authored by Claude Sonnet 5.5
parent c61a502220
commit 64c748922b
14 changed files with 17 additions and 36 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# 用法:ready.sh <owner/repo>
# 列出可執行的議題(open、ready-for-agent、Gitea 原生依賴全關、Herdr 沒在跑、沒掛 in-progress)。被阻擋的不列。
source "$(dirname "$0")/lib.sh"
REPO="${1:?用法:ready.sh <owner/repo>}"
T="$(mktemp -d)"; trap 'rm -rf "$T"' EXIT
tea issues list --repo "$REPO" --state open --limit 500 --output json --fields index,title,labels,body > "$T/open.json"
herdr agent list > "$T/agents.json"
herdr tab list --workspace "${HERDR_WORKSPACE_ID:?}" > "$T/tabs.json"
python3 "$SCRIPTS/ready.py" "$T/open.json" "$T/agents.json" "$T/tabs.json" "$REPO"