- 新增 jsc-skills plugin,含 herdr、herdr-issue、ingest,以 /jsc-skills:<名稱> 呼叫 - ingest 自 companion 移入,移除獨立的 herdr-issue plugin - companion 版本由 0.0.3 改為 0.0.1 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
11 lines
625 B
Bash
Executable File
11 lines
625 B
Bash
Executable File
#!/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"
|