The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(skills): the tmux prompt wait needs no coreutils timeout
Tekniumd202ddfda225
diff --git a/skills/autonomous-ai-agents/hermes-agent/SKILL.md b/skills/autonomous-ai-agents/hermes-agent/SKILL.mdindex e38d53b85c9..1a856ad4375 100644--- a/skills/autonomous-ai-agents/hermes-agent/SKILL.md+++ b/skills/autonomous-ai-agents/hermes-agent/SKILL.md@@ -148,7 +148,7 @@ Hermes uses prompt_toolkit, which requires a real terminal. Use tmux for interacterminal(command="tmux new-session -d -s agent1 -x 120 -y 40 'hermes'", timeout=10)# Wait for the input prompt (❯), then send a message-terminal(command="timeout 90 sh -c 'until tmux capture-pane -t agent1 -p | grep -q "❯"; do sleep 1; done' && tmux send-keys -t agent1 'Build a FastAPI auth service' && sleep 0.5 && tmux send-keys -t agent1 Enter", timeout=100)+terminal(command="for i in $(seq 90); do tmux capture-pane -t agent1 -p | grep -q "❯" && break; sleep 1; done; tmux capture-pane -t agent1 -p | grep -q "❯" && tmux send-keys -t agent1 'Build a FastAPI auth service' && sleep 0.5 && tmux send-keys -t agent1 Enter", timeout=100)# Read outputterminal(command="sleep 20 && tmux capture-pane -t agent1 -p", timeout=5)@@ -179,11 +179,11 @@ process_manage(action="write", session_id="<id>", data="\r")```# Agent A: backendterminal(command="tmux new-session -d -s backend -x 120 -y 40 'hermes -w'", timeout=10)-terminal(command="timeout 90 sh -c 'until tmux capture-pane -t backend -p | grep -q "❯"; do sleep 1; done' && tmux send-keys -t backend 'Build REST API for user management' && sleep 0.5 && tmux send-keys -t backend Enter", timeout=100)+terminal(command="for i in $(seq 90); do tmux capture-pane -t backend -p | grep -q "❯" && break; sleep 1; done; tmux capture-pane -t backend -p | grep -q "❯" && tmux send-keys -t backend 'Build REST API for user management' && sleep 0.5 && tmux send-keys -t backend Enter", timeout=100)# Agent B: frontendterminal(command="tmux new-session -d -s frontend -x 120 -y 40 'hermes -w'", timeout=10)-terminal(command="timeout 90 sh -c 'until tmux capture-pane -t frontend -p | grep -q "❯"; do sleep 1; done' && tmux send-keys -t frontend 'Build React dashboard for user management' && sleep 0.5 && tmux send-keys -t frontend Enter", timeout=100)+terminal(command="for i in $(seq 90); do tmux capture-pane -t frontend -p | grep -q "❯" && break; sleep 1; done; tmux capture-pane -t frontend -p | grep -q "❯" && tmux send-keys -t frontend 'Build React dashboard for user management' && sleep 0.5 && tmux send-keys -t frontend Enter", timeout=100)# Check progress, relay context between themterminal(command="tmux capture-pane -t backend -p | tail -30", timeout=5)diff --git a/website/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-hermes-agent.md b/website/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-hermes-agent.mdindex ceefab8ef47..4d91b3f034f 100644--- a/website/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-hermes-agent.md+++ b/website/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-hermes-agent.md@@ -165,7 +165,7 @@ Hermes uses prompt_toolkit, which requires a real terminal. Use tmux for interacterminal(command="tmux new-session -d -s agent1 -x 120 -y 40 'hermes'", timeout=10)# Wait for the input prompt (❯), then send a message-terminal(command="timeout 90 sh -c 'until tmux capture-pane -t agent1 -p | grep -q "❯"; do sleep 1; done' && tmux send-keys -t agent1 'Build a FastAPI auth service' && sleep 0.5 && tmux send-keys -t agent1 Enter", timeout=100)+terminal(command="for i in $(seq 90); do tmux capture-pane -t agent1 -p | grep -q "❯" && break; sleep 1; done; tmux capture-pane -t agent1 -p | grep -q "❯" && tmux send-keys -t agent1 'Build a FastAPI auth service' && sleep 0.5 && tmux send-keys -t agent1 Enter", timeout=100)# Read outputterminal(command="sleep 20 && tmux capture-pane -t agent1 -p", timeout=5)@@ -196,11 +196,11 @@ process_manage(action="write", session_id="<id>", data="\r")```# Agent A: backendterminal(command="tmux new-session -d -s backend -x 120 -y 40 'hermes -w'", timeout=10)-terminal(command="timeout 90 sh -c 'until tmux capture-pane -t backend -p | grep -q "❯"; do sleep 1; done' && tmux send-keys -t backend 'Build REST API for user management' && sleep 0.5 && tmux send-keys -t backend Enter", timeout=100)+terminal(command="for i in $(seq 90); do tmux capture-pane -t backend -p | grep -q "❯" && break; sleep 1; done; tmux capture-pane -t backend -p | grep -q "❯" && tmux send-keys -t backend 'Build REST API for user management' && sleep 0.5 && tmux send-keys -t backend Enter", timeout=100)# Agent B: frontendterminal(command="tmux new-session -d -s frontend -x 120 -y 40 'hermes -w'", timeout=10)-terminal(command="timeout 90 sh -c 'until tmux capture-pane -t frontend -p | grep -q "❯"; do sleep 1; done' && tmux send-keys -t frontend 'Build React dashboard for user management' && sleep 0.5 && tmux send-keys -t frontend Enter", timeout=100)+terminal(command="for i in $(seq 90); do tmux capture-pane -t frontend -p | grep -q "❯" && break; sleep 1; done; tmux capture-pane -t frontend -p | grep -q "❯" && tmux send-keys -t frontend 'Build React dashboard for user management' && sleep 0.5 && tmux send-keys -t frontend Enter", timeout=100)# Check progress, relay context between themterminal(command="tmux capture-pane -t backend -p | tail -30", timeout=5)