Skip to content

Add link-cli inspect - #211

Draft
raubrey-stripe wants to merge 6 commits into
mainfrom
raubrey/inspect
Draft

raubrey-stripe wants to merge 6 commits into
mainfrom
raubrey/inspect

Conversation

@raubrey-stripe

Copy link
Copy Markdown
Contributor

A key pain point in purchasing today is discovering the optimal way to pay. The link-cli skill attempts to guide agents through this process, but it can be slow - often times when I saw "Contribute $0.50 to climate.stripe.dev" the agent tries curling the URL for a 402, sometimes it fetches the homepage content, etc.

Many payment methods/protocols have more deterministic discovery mechanisms (though some are nascent)

  • UCP has .well-known/ucp profiles
  • MPP has api/openapi.json
  • x402 has .well-known/x402.json
  • many more now and to come!

This PR adds a link-cli inspect <url> command to provide a more deterministic, fast inspection of the available options. It goes down the above list in roughly this order and reports back what's available.

raubrey-stripe and others added 2 commits September 16, 2026 10:28
Map MPP, UCP, MCP, llms.txt, provisioning, and browser checkout onto the forthcoming API shape, and cover it with a fake-merchant end-to-end test.

Co-authored-by: Cursor <cursoragent@cursor.com>
Committed-By-Agent: cursor
raubrey-stripe and others added 4 commits September 16, 2026 10:41
Fold the fake-merchant fixture into inspect.test.ts and leave credential-type guidance on the existing browse-the-page flow until inspect is ready to recommend.

Co-authored-by: Cursor <cursoragent@cursor.com>
Committed-By-Agent: cursor
Keep the command as a local site probe with url plus optional tools, instead of a placeholder Directory resource.

Co-authored-by: Cursor <cursoragent@cursor.com>
Committed-By-Agent: cursor
Stripe rails become `link-cli mpp pay`; tempo rails become `tempo request`, so inspect no longer points agents at mppx.

Co-authored-by: Cursor <cursoragent@cursor.com>
Committed-By-Agent: cursor
Keep the field on the result type but stop scraping HTML/llms.txt for stripe provision slugs, and fix inspect format/lint so CI's biome check passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Committed-By-Agent: cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant