@lzn1024/openclaw-async-task
v1.0.1
Published
Execute long-running tasks without HTTP timeouts for OpenClaw/Clawdbot
Downloads
51
Maintainers
Readme
OpenClaw Async Task
Execute long-running tasks without HTTP timeouts
When AI agents execute commands that take more than a few seconds, HTTP connections often timeout. This tool solves that.
How It Works
User: "Analyze this large codebase"
AI Agent:
1. async-task start "Analyzing..." → Returns immediately ✓
2. <runs actual analysis>
3. async-task done "Found 150 issues" → Pushes to user ✓Installation
npm install -g openclaw-async-taskUsage
# Start a task (returns immediately)
async-task start "Processing data..."
# Complete with result
async-task done "Processed 1,234 records"
# Or report failure
async-task fail "Connection timeout"
# Direct push
async-task push "Progress: 50%"
# Check status
async-task statusZero Configuration
Works out of the box - automatically detects openclaw or clawdbot CLI and uses native sessions API.
Custom Endpoint (Optional)
export ASYNC_TASK_PUSH_URL="https://your-server.com/api/push"
export ASYNC_TASK_AUTH_TOKEN="your-token"As an OpenClaw/Clawdbot Skill
Includes SKILL.md for automatic skill discovery.
License
MIT
