FEAT: Implemented CLI Gateway skill and interactive chat client

This commit is contained in:
2026-04-13 20:15:30 -04:00
parent f1e3f92b08
commit a9107475e8
4 changed files with 223 additions and 0 deletions

17
scripts/org-agent-chat.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# org-agent-chat: The terminal mouthpiece for the Sovereign Brain.
PORT=9105
HOST=${1:-localhost}
echo "Connecting to org-agent at $HOST:$PORT..."
echo "Type your message and press Enter. Ctrl+C to exit."
echo "--------------------------------------------------"
# Uses netcat (nc) for a simple bidirectional pipe.
# Requires an open connection. We use a simple loop for persistence.
while true; do
read -p "User: " MESSAGE
if [ -z "$MESSAGE" ]; then continue; fi
# Send message and wait for one line of response from Agent
echo "$MESSAGE" | nc -N $HOST $PORT
done