New qwen-token-refresh.sh script provides automatic token refresh
for OpenClaw, NanoBot, PicoClaw, NanoClaw (ZeroClaw has native support).
Features:
- Check token status and expiry
- Auto-refresh when < 5 min remaining
- Background daemon mode (5 min intervals)
- Systemd service installation
- Updates both oauth_creds.json and .env file
Usage:
./scripts/qwen-token-refresh.sh --status # Check status
./scripts/qwen-token-refresh.sh # Refresh if needed
./scripts/qwen-token-refresh.sh --daemon # Background daemon
./scripts/qwen-token-refresh.sh --install # Systemd service
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>