fix: onchainos payment pay + OKX wallet UX; reconcile README to v0.12.190#10
Merged
Conversation
- onchainos-adapter: `payment x402-pay` → `payment pay`. onchainos v3.3+
renamed the subcommand; OKX-wallet paid-model calls returned HTTP 500
("unrecognized subcommand 'x402-pay'") otherwise.
- cli: auto-switch the persisted payment chain to Base for OKX (EVM-only)
wallets, unless the user pinned a chain via XCLAWROUTER_PAYMENT_CHAIN.
- cli: force blocking stdout in non-TTY contexts so the Agentic Wallet status
block and funding hints flush under systemd / Docker / PM2 / pipes.
- cli: framed "Send USDC on Base" funding guidance for OKX wallets at $0 balance.
- extract the three startup behaviours into src/cli-startup.ts with unit tests.
- correct xai/grok-4-0709 pricing $0.20/$1.50 → $3.00/$15.00 (move to Premium). - free-model prefix nvidia/ → free/ (canonical catalog id) and fix the free-tier count to 7 everywhere (the v0.12.187–190 sweeps shrank it from 10; add the missing free/glm-4.7 row, drop the delisted mistral-small / qwen-thinking / deepseek-v4-pro free examples). - document 8 catalog models missing from the tables (gpt-5.4-nano/mini, gemini-3.1-flash-lite, grok-4(.1)-fast-non-reasoning, grok-4.20-*), features matched to v0.12.190 flags. - unify advertised model count to "60+" across README, CLI, CLAUDE.md and openclaw.plugin.json (67 real models; /v1/models lists more by design — aliases).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebuilt cleanly on top of current
main(v0.12.190). Supersedes #9 (which was based on the stale v0.12.183 catalog).Code fixes
payment x402-pay→payment pay— onchainos v3.3+ renamed the subcommand; OKX-wallet paid-model calls were returning HTTP 500 (unrecognized subcommand 'x402-pay'). This is the critical one — paid models are 100% broken onmainwithout it.XCLAWROUTER_PAYMENT_CHAIN.src/cli-startup.tswith unit tests (12 new).Docs (reconciled against the v0.12.190 catalog)
xai/grok-4-0709$0.20/$1.50 → $3.00/$15.00 (15× error; moved to Premium).nvidia/→free/; free-tier count corrected 10 → 7 (v0.12.187–190 sweep), added missingfree/glm-4.7, dropped delisted free examples.Automated price cross-check: 64 rows match catalog, 0 mismatches. typecheck/lint/prettier/build clean; full suite 506 passed.
Note:
fix/plugin-id-and-contractsis obsolete — its id/contracts/funding-hint changes are already inmain; it should be closed, not merged.