Skip to content

docs: UCP examples use protocol-rooted payment.mpp shape + 1.6.1 - #18

Merged
vvillait88 merged 7 commits into
mainfrom
feat/ucp-payment-handlers-mpp-collapse
May 11, 2026
Merged

docs: UCP examples use protocol-rooted payment.mpp shape + 1.6.1#18
vvillait88 merged 7 commits into
mainfrom
feat/ucp-payment-handlers-mpp-collapse

Conversation

@vvillait88

@vvillait88 vvillait88 commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Companion to the API repo (publishes the new mpp.json schema):

  • examples/signed_ucp_merchant.py: payment.tempopayment.mpp { chains: { tempo: ... } }
  • agentscore_commerce/identity/ucp.py build_ucp_profile docstring: same rewrite
  • Bump 1.6.0 → 1.6.1 so the installed package carries the updated docstring

SDK code is unchanged — handler namespace strings are vendor-supplied; only documentation references update.

Test plan

  • uv run ty check agentscore_commerce/ clean
  • uv run ruff check . clean
  • uv run pytest 902 passed, 95.14% coverage

🤖 Generated with Claude Code

vvillait88 and others added 7 commits May 10, 2026 19:07
… 1.6.1

Companion to agentscore/core PR #262 (publishes the new mpp.json schema):

- examples/signed_ucp_merchant.py: payment.tempo -> payment.mpp { chains: { tempo: ... } }
- agentscore_commerce/identity/ucp.py build_ucp_profile docstring: same rewrite
- Bump 1.6.0 -> 1.6.1 so installed package carries the updated docstring

SDK code is unchanged — handler namespace strings are vendor-supplied;
only the documentation references update.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Companion to core schema/spec update documenting `recipient` as
an optional cross-check field on mpp.json chains.tempo + chains.solana.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…dler, stripe_spt_payment_handler) + 1.7.0

Vendors compose UCP payment_handlers blocks by spreading these helpers:

  payment_handlers={
      **mpp_payment_handler(networks=[...]),
      **x402_payment_handler(networks=[...]),
      **stripe_spt_payment_handler(profile_id="..."),
  }

The helpers fill in id/version/spec/schema/config wrapper so vendors
only supply merchant-specific data. Single source of truth for
the handler version + spec/schema URLs in identity/ucp.py.

Bump to 1.7.0 (minor — new public API).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Surface the new helpers in CLAUDE.md so future agents discover them
without grepping the source. Brief usage example + ownership note.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
x402_payment_handler + stripe_spt_payment_handler example was missing.
README now demonstrates the full set of helpers vendors compose.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Note `get_gate_quota_info(request)` next to the denial helpers row
  (already exposed by every adapter, just wasn't named in README).
- Name `compatible_clients_by_rails` explicitly in the challenge row.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vvillait88
vvillait88 merged commit d4b282d into main May 11, 2026
7 checks passed
@vvillait88
vvillait88 deleted the feat/ucp-payment-handlers-mpp-collapse branch May 11, 2026 03:05
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