#!/usr/bin/env bash set -euo pipefail export LLM_CONFIGS="${LLM_CONFIGS:-$HOME/src/llm-configs}" # shellcheck source=common.sh source "$LLM_CONFIGS/openkknd2/scripts/common.sh" openkknd2_bootstrap "${OPENKKND2_ROOT:-$HOME/src/openkknd2-am-coder}" openkknd2_print_brief "amanita-coder" if [[ -x "$HOME/agent-coder" ]]; then echo "Launch example:" echo " cd \"\$OPENKKND2_ROOT\" && ~/agent-coder --coder \"Read \$LLM_CONFIGS/instructions/18-openkknd2-autonomous-rebuild.md and continue autonomous openkknd2 build with headless tests.\"" else echo "agent-coder not found at ~/agent-coder — start OpenClaw manually in \$OPENKKND2_ROOT" fi