Repository navigation
fix(wallet): Nuri logo/icons, MCP CORS & version negotiation, JSON-string POST fix, dual-rail balance prompt, 1-click install UX - #19
Merged
Conversation
…ay, dual-rail output, 1-click install
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.
Summary
Fixes every real-world UX & protocol issue found on
wallet.nuri.com(including from live Goose session debugging):/favicon.svg,/favicon.ico, and/apple-touch-icon.png(official Nuri brand SVG + rendered ICO/PNG) instead ofdata:,/ 404.serverInfo.iconsininitializeso Claude / MCP clients render the real Nuri icon.Access-Control-Allow-Origin: *,mcp-session-id,last-event-id) on stateless/mcpand/v1/*soclaude.ai, ChatGPT, and MCP Inspector connect cleanly.protocolVersionagainst client request (2025-11-25,2025-06-18,2025-03-26,2024-11-05).204onDELETE /mcp.wallet payrequestShape()insrc/agent-kernel-runtime.mjsnow auto-detects JSON object/array strings and sendsContent-Type: application/jsoninstead oftext/plain; charset=utf-8(fixingPOST https://router.paymentrequired.com/v1/chat/completionsreturning HTTP 400JSON object requiredwhen LLMs serializebodyas a string).http_statusandok: false/status: "failed"instead of silently returningok: true.balance/ onboarding responses and MCPinstructionsnow explicitly instruct agents to display BOTH Bitcoin (sats,arkade_address, Lightning receive) AND Base USDC (available/usdc,0x...address), fixing Goose showing only USDC.wallet.nuri.comprompt.Tests
npm run check(precheck + import closure)npm run check:prf(including new tests for favicons,serverInfo.icons, MCP version negotiation,Origin: https://claude.aiCORS,DELETE /mcp, andrequestShapeJSON-string detection)npm run check:ask&npm run check:ask:regression