Releases: BlockRunAI/XClawRouter
Releases · BlockRunAI/XClawRouter
v0.12.182 — OKX-first wallet onboarding
First major UX change to the install flow: fresh installs no longer silently mint a local BIP-39 wallet. The plugin now guides users into an OKX Agentic Wallet (onchainos) via a polished xclawrouter setup command. Existing wallets keep working unchanged.
Consolidates three unreleased commits (v0.12.180–.182) — npm has been on v0.12.179 since the migration to @blockrun/xclawrouter.
Highlights
xclawrouter setup— guided OKX onboarding. Two prompts (email → OTP), TEE-backed signing, no local private key written to disk. Auto-installs theonchainosbinary if missing. Auto-launches on firstnpx @blockrun/xclawrouterin an interactive terminal.- Fresh installs without OKX no longer silent-fall-back to local BIP-39.
resolveOrGenerateWalletKey()throwsOnchainOsRequiredErrorwith a verbatim guide; the user sees the next-step commands instead of waking up later with a wallet they didn't know was generated. XCLAWROUTER_USE_LOCAL_WALLET=1opt-out preserved for CI / Docker / power users who want the legacy local-key path.- Non-interactive callers (CI, Docker, gateway daemon) keep fail-fast
exit 2behaviour — no stdin prompts that nobody will answer. - README documents the three OpenClaw install paths — curl one-liner,
openclaw plugins install, globalnpm install -g.
Compatibility
clawrouterCLI bin is back as a deprecation alias. v0.12.180 renamed the bin toxclawrouter; this release restoresclawrouterpointing at the same binary, with a one-line stderr deprecation notice.pm2 start clawrouter, shell aliases, and shipped onboarding docs continue to work. Alias is removed in v0.13. Suppress the notice withXCLAW_SUPPRESS_RENAME_NOTICE=1.- Saved
wallet.keyfiles keep working unchanged — zero-disruption upgrade for users who already had a local wallet.
What's in each version
- v0.12.180 — OKX-first wallet onboarding via guided setup.
OnchainOsRequiredErrorthrow on fresh installs;xclawrouter setupsubcommand; auto-launch on interactive TTY; opt-out env var; CLI bin renamed toxclawrouter. - v0.12.181 — Polish setup UX. ANSI-styled header + summary box, suppressed onchainos JSON output, dropped duplicate skill-install path; reinstall.sh adds a prominent "Next step — log in to your OKX Agentic Wallet" block.
- v0.12.182 — Code review fixes: restored
clawrouterbin alias, guarded the post-setup wallet re-resolve, humanizedcmdSetupfailure messages, deduped helpers and the OKX installer URL.
Install / upgrade
# OpenClaw users
curl -fsSL https://blockrun.ai/XClawRouter-update | bash
openclaw gateway restart
# Standalone (continue.dev / Cursor / VS Code / any OpenAI-compatible client)
npx @blockrun/xclawrouter
# Power users who want the legacy local-key path
export XCLAWROUTER_USE_LOCAL_WALLET=1
npx @blockrun/xclawrouterTest plan covered before release
npm run typecheck— cleannpm run lint— cleannpm run format:check— cleannpx vitest run src/— 460 unit tests passnpm publish --dry-run— clean- End-to-end with a real OKX account on
andy@blockrun.ai— email + OTP completes, proxy on port 8402 uses the OKX wallet, nowallet.keywritten to disk