- antigravity 기반 CLI status adapter 구현 (gemini 대체) - milestone 파일명 통일 (接두어 제거) - agent-ops roadmap/current.md 갱신 - edge/node README 및 설정 문서 업데이트 - e2e smoke 스크립트 개선
64 lines
1.2 KiB
Bash
Executable file
64 lines
1.2 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
set -x
|
|
|
|
mkdir -p temp_verif/workspace
|
|
rm -f temp_verif/edge_fifo
|
|
mkfifo temp_verif/edge_fifo
|
|
|
|
EDGE_OUT="temp_verif/edge_out"
|
|
NODE_OUT="temp_verif/node_out"
|
|
|
|
# Start edge with FIFO input
|
|
IOP_EDGE_CONFIG=temp_verif/edge.yaml ./bin/edge.sh < temp_verif/edge_fifo > "$EDGE_OUT" 2>&1 &
|
|
EDGE_PID=$!
|
|
exec 3> temp_verif/edge_fifo
|
|
|
|
sleep 2
|
|
|
|
# Start node
|
|
IOP_NODE_CONFIG=temp_verif/node.yaml ./bin/node.sh > "$NODE_OUT" 2>&1 &
|
|
NODE_PID=$!
|
|
|
|
sleep 5
|
|
|
|
# Send /nodes command
|
|
echo "/nodes" >&3
|
|
sleep 2
|
|
|
|
# Send first message
|
|
echo "Convert this token to uppercase and reply with only the converted token: iop_antigravity_one" >&3
|
|
# Wait for the authentication/login timeout (which is 30s) plus safety margin
|
|
sleep 35
|
|
|
|
# Send second message
|
|
echo "Convert this token to uppercase and reply with only the converted token: iop_antigravity_two" >&3
|
|
# Wait for the authentication/login timeout
|
|
sleep 35
|
|
|
|
# Send edge commands
|
|
echo "/capabilities" >&3
|
|
sleep 2
|
|
|
|
echo "/transport" >&3
|
|
sleep 2
|
|
|
|
echo "/sessions" >&3
|
|
sleep 2
|
|
|
|
echo "/status" >&3
|
|
sleep 2
|
|
|
|
# Exit
|
|
echo "/exit" >&3
|
|
sleep 2
|
|
|
|
exec 3>&-
|
|
|
|
wait $EDGE_PID || true
|
|
kill $NODE_PID 2>/dev/null || true
|
|
|
|
echo "=== EDGE OUTPUT ==="
|
|
cat "$EDGE_OUT"
|
|
|
|
echo "=== NODE OUTPUT ==="
|
|
cat "$NODE_OUT"
|