diff --git a/scripts/opencode-builder.sh b/scripts/opencode-builder.sh index 4d972d8d4..121707844 100755 --- a/scripts/opencode-builder.sh +++ b/scripts/opencode-builder.sh @@ -16,7 +16,7 @@ set -uo pipefail PORT="${OPENCODE_PORT:-4096}" HOST="${OPENCODE_HOST:-127.0.0.1}" BASE="http://${HOST}:${PORT}" -AGENT="product-builder" +AGENT="auto-agents" PROMPT="Complete the current project's milestones up to and including v3.7.0 to a production ready state" HEALTH_TIMEOUT=60 # seconds to wait for the server to become healthy @@ -157,7 +157,7 @@ send_message "$INIT_BODY" log "Initial prompt complete." # ── Continue loop ───────────────────────────────────────────────────────── -CONT_BODY=$(jq -nc '{parts: [{type: "text", text: "continue"}]}') +CONT_BODY=$(jq -nc --arg a "$AGENT" '{agent: $a, parts: [{type: "text", text: "continue with your mainloop, monitor the supervisors, keep them alive, and sleep in an infinite loop."}]}') N=0 while ! $STOP_LOOP; do