15 lines
506 B
Bash
15 lines
506 B
Bash
#!/usr/bin/env bash
|
|
# t_f1f53c88: fork omo Sisyphus (default agent, NO --agent) with .sisyphus-brief-b2b3.md
|
|
set -u
|
|
export HOME=/home/yi
|
|
cd /home/yi/opencode-blog-showcase/blog-app
|
|
TS=$(date +%H%M%S)
|
|
LOG=/home/yi/opencode-blog-showcase/logs/sisyphus-b2b3-${TS}.ndjson
|
|
echo "log: $LOG"
|
|
opencode run --attach http://127.0.0.1:4096 \
|
|
--model litellm-local/coding \
|
|
--dir /home/yi/opencode-blog-showcase/blog-app \
|
|
--format json \
|
|
"$(cat .sisyphus-brief-b2b3.md)" > "$LOG" 2>&1
|
|
echo "exit=$? log=$LOG"
|