Releases: cascade-protocol/x402-proxy
Releases · cascade-protocol/x402-proxy
v0.11.6
v0.11.5
fix(mcp): isolate MPP challenge amounts per concurrent call Replace shared mutable `lastChallengeAmount` with AsyncLocalStorage so concurrent tool calls through the MCP proxy each track their own payment amount without races.
v0.11.4
feat(openclaw): expand model catalog and refactor provider auth - Add model metadata for Opus 4.5, Sonnet 4.5, Grok 4.1 Fast, MiniMax M2.7 - Refactor to record-based MODEL_METADATA lookup - Return config patch on existing wallet re-setup - Remove autoEnableWhenConfiguredProviders from manifest
v0.11.3
chore: add output/ to .gitignore
v0.11.2
fix(openclaw): strip quotes from mnemonic import, show word count in …
v0.11.1
chore: bump to 0.11.1 to test openclaw publish workflow
v0.10.7
Added
claudeandclaude --modelshown in defaultnpx x402-proxycommands outputclaude --helplists available models and usage examples
v0.10.6
Fixed
- Client disconnect now cancels upstream requests via abort signal propagation (prevents resource leaks on dropped connections)
- Anthropic SSE streaming stops reading after
message_stopevent instead of waiting for connection close - Non-LLM endpoint requests (tool discovery, resource listing) no longer write empty records to inference history
- Empty inference history records (no amount, model, tokens, or tx) filtered out when reading history
formatUsdcValue()usesIntl.NumberFormatfor full precision up to 12 decimals instead of truncating to fixed tiers- Stream responses guarded against double
res.end()calls
Changed
- Default model for
claudecommand changed fromminimax/minimax-m2.7tostepfun/step-3.5-flash
v0.10.5
Fixed
--debugflag now works with inference proxy - route.ts debug check was captured at import time (beforecli.tssets the env var), sodbg()never fired; now evaluates lazily per call--debugonclaudecommand now shows proxy logs (setsquiet: false)- MPP
X-Payer-Addressheader injection preserves headers as plain objects instead of converting toHeadersinstance, avoiding mppx headers-spreading bug that silently dropsContent-Typeon SSE requests
v0.10.4
Fixed
- MPP sessions now reuse a single handler across requests instead of creating a new one per request - eliminates redundant escrow deposits and wasted USDC
- MPP sessions properly settle on process shutdown (
servecommand and OpenClaw plugin both callclose()on SIGTERM/stop) - MPP channelId persisted to
~/.config/x402-proxy/session.jsonfor tracking; cleared on session close
Added
--debugglobal CLI flag - setsX402_PROXY_DEBUG=1for verbose stderr logging of MPP SSE lifecycle, channelId, and proxy routing- Debug trace points in inference proxy: upstream routing, SSE start/end, usage stats, errors
Changed
- Upgraded
mppxfrom ^0.4.9 to ^0.5.1 - MPP requests now send
X-Payer-Addressheader so the server can include the payer's existingchannelIdin 402 challenges, enabling cross-restart session recovery - Inference proxy no longer accepts
getEvmKeyoption - receives pre-builtgetMppHandlerinstead