v0.10.1 - AI-Powered Doctor
🩺 New Feature: blockrun doctor
AI-powered diagnostics when things go wrong. Collects system info and sends to Claude Opus 4.6 for analysis.
Usage
# Run automatic diagnostics
npx @blockrun/clawrouter doctor
# Ask a specific question
npx @blockrun/clawrouter doctor "why is my request failing?"What it checks
- System: OS, Node version, memory
- Wallet: Key exists, balance, low balance warning
- Network: BlockRun API reachability, local proxy status
- Logs: Recent requests, errors
Example Output
🩺 BlockRun Doctor v0.10.1
🔍 Collecting diagnostics...
System
✓ OS: darwin arm64
✓ Node: v22.14.0
✓ Memory: 0.8GB free / 16.0GB
Wallet
✓ Address: 0x1234...abcd
⚠ Balance: $0.89 (low)
Network
✓ BlockRun API: reachable (156ms)
✗ Local proxy: not running on :8402
📤 Sending to Claude Opus 4.6...
🤖 AI Analysis:
[AI provides specific fix commands based on your diagnostics]
Notes
- Works independently of OpenClaw (direct x402 payment to BlockRun API)
- If wallet is empty, prompts user to fund before AI analysis
- Supports questions in any language
Install
npm install -g @blockrun/clawrouter@0.10.1