From fe309619900cd10463d6cdeeeb8a3c2d037d771f Mon Sep 17 00:00:00 2001 From: CleverThis Date: Mon, 27 Apr 2026 12:52:51 -0400 Subject: [PATCH] build: Updated script to match the new agent code --- scripts/opencode-builder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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