docs(x402): agent-payment guide, service directory, buyer/seller orientation + mermaid#19
Merged
Merged
Conversation
… orientation, mermaid diagrams - Add "Pay from an AI agent" guide (agents.mdx): hpp-x402 CLI + MCP bridge setup for Claude/Cursor/Windsurf/OpenClaw, funding, wallet modes (light/Safe), spend controls, sell-from-CLI, headless/CI, command reference, troubleshooting. - Add "Service directory" page (directory.mdx): x402-discovery.hpp.io listing + REST API. - Overview: restructure "Where to go next" into "Choose your path" (buyer vs seller), add agentic framing. - How it works: replace ASCII flow with a mermaid sequenceDiagram (Buyer/Seller/Facilitator). - Enable mermaid (theme-mermaid pinned 3.10.1, markdown.mermaid). - Sidebar: surface agents + directory, rename Quickstart -> "Build with the SDK".
hayarobi
approved these changes
Jul 10, 2026
hayarobi
left a comment
Member
There was a problem hiding this comment.
The document structure appears slightly different from that of other ecosystems. It is evident that it is quite difficult to uniformly apply the same structure to services with different characteristics.
Let's consider achieving more precise consistency, if only someone raises an objection or makes a suggestion.
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.
What
Expands the
/x402docs section (served at docs.hpp.io/x402) with the agent-payment story and clearer buyer/seller orientation.New pages
x402/agents.mdx) — thehpp-x402CLI + MCP bridge: host setup (Claude Desktop/Code, Cursor, Windsurf, OpenClaw), funding, wallet modes (light / Safe governance), spend controls, sell-from-CLI, headless/CI, full command reference, troubleshooting.x402/directory.mdx) — the facilitator-indexedx402-discovery.hpp.iocatalog + REST API.Improvements
sequenceDiagram(Buyer / Seller / Facilitator).@docusaurus/theme-mermaidpinned3.10.1,markdown.mermaid).agents+directory, rename "Quickstart" → "Build with the SDK".Verification
npm run buildpasses (onBrokenLinks: 'throw') — no broken links.@hpp-io/x402-mcp-bridgeCLI.Notes
main.