Files
wehub-resource-sync c8c954c85d
lint / build (3.10) (push) Failing after 1s
lint / build (3.11) (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:23:35 +08:00

16 lines
376 B
Bash
Executable File

#!/bin/bash
# Agent-S Task Executor for OpenClaw
# Usage: agent_s_task "task description"
TASK="$1"
if [ -z "$TASK" ]; then
echo "Error: Task description required"
echo "Usage: agent_s_task \"task description\""
exit 1
fi
# Execute the Python wrapper using relative path
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
exec "$SCRIPT_DIR/agent_s_wrapper.py" "$TASK"