diff --git a/docs/code-execution-examples.md b/docs/code-execution-examples.md index dd1e5f1..39f4e2b 100644 --- a/docs/code-execution-examples.md +++ b/docs/code-execution-examples.md @@ -14,7 +14,7 @@ agent_id="$1" count=0 while true; do - msg=$(./check_inbox.sh "$agent_id" 2>&1) + msg=$(./check_inbox.sh 2>&1) if [[ "$msg" == "No messages" ]]; then break fi @@ -56,7 +56,7 @@ attempts=0 max_attempts=10 while [ $attempts -lt $max_attempts ]; do - msg=$(./check_inbox.sh "$agent_id" 2>&1) + msg=$(./check_inbox.sh 2>&1) if echo "$msg" | grep -q "$keyword"; then echo "Found message with keyword: $keyword" @@ -155,7 +155,7 @@ Route messages based on content: agent_id="$1" while true; do - msg=$(./check_inbox.sh "$agent_id" 2>&1) + msg=$(./check_inbox.sh 2>&1) if [[ "$msg" == "No messages" ]]; then sleep 5 @@ -230,7 +230,7 @@ processed=0 errors=0 while true; do - msg=$(./check_inbox.sh "$agent_id" 2>&1) + msg=$(./check_inbox.sh 2>&1) if [[ "$msg" == "No messages" ]]; then break diff --git a/docs/code-execution-pattern.md b/docs/code-execution-pattern.md index d248fee..0694f3c 100644 --- a/docs/code-execution-pattern.md +++ b/docs/code-execution-pattern.md @@ -15,7 +15,7 @@ Discover available helper scripts on-demand via 9P: Read and invoke a specific script: ```bash -bash <(9p read anvillm/tools/check_inbox.sh) +bash <(9p read anvillm/tools/check_inbox.sh) ``` ## Examples diff --git a/docs/code-execution-user-guide.md b/docs/code-execution-user-guide.md index ecf1daf..4ce03de 100644 --- a/docs/code-execution-user-guide.md +++ b/docs/code-execution-user-guide.md @@ -21,7 +21,7 @@ Read a script to see its usage: Invoke a script: ```bash -bash <(9p read anvillm/tools/check_inbox.sh) +bash <(9p read anvillm/tools/check_inbox.sh) ``` ## Common Patterns @@ -30,7 +30,7 @@ bash <(9p read anvillm/tools/check_inbox.sh) ```bash # Check inbox -bash <(9p read anvillm/tools/check_inbox.sh) "$AGENT_ID" +bash <(9p read anvillm/tools/check_inbox.sh) # Send message bash <(9p read anvillm/tools/send_message.sh) \