Skip to content

chore: update mpp / x402#362

Open
lgalabru wants to merge 9 commits into
mainfrom
fix/mpp
Open

chore: update mpp / x402#362
lgalabru wants to merge 9 commits into
mainfrom
fix/mpp

Conversation

@lgalabru
Copy link
Copy Markdown
Collaborator

@lgalabru lgalabru commented May 11, 2026

  • Bumps MPP/x402 dependency pins and package version to 0.17.0.
  • Expands pay catalog check static validation to reflect the updated pay-skills catalog rules:
    • rejects remote openapi.url in registry listings
    • validates committed OpenAPI specs, remote refs, server URLs, FQN shape, unsafe URLs, placeholders, and summary quality
    • reports static warnings in table/GitHub/markdown output
  • Updates pay catalog build to publish usable free 200 endpoints alongside Solana-compatible paid 402 endpoints, while filtering unusable probe outcomes.
  • Relaxes the OpenAPI summary marketing-language warning so premium is allowed.
  • Improves pay topup small-window QR fallback copy:
    • from QR unavailable
    • to centered guidance: Make this window larger / to show the QR code
  • Adds/updates regression coverage for catalog build filtering, OpenAPI validation, and the QR resize message.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payment-debugger Ready Ready Preview, Comment May 11, 2026 7:30pm

Request Review

lgalabru added 3 commits May 11, 2026 15:22
Entire-Checkpoint: d5cfe09820f4
Entire-Checkpoint: c6986f0bfa64
Entire-Checkpoint: 32425be58bb9
Copy link
Copy Markdown
Contributor

@MicaiahReid MicaiahReid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Small suggestions if you want

Comment on lines +625 to +630
if static_warning_count > 0 {
lines.push(format!(
"{static_warning_count} static validation warning{}",
if static_warning_count == 1 { "" } else { "s" },
));
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could just be:

lines.push(warning_suffix(static_warning_count);

since you already have that logic captured.

.any(|p| lowered == *p || lowered == format!("the {p}"))
{
findings.push(CatalogFinding::error(format!(
"{label}: operation summary is a generic placeholder \"{effective}\"\n \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be helpful to list the banned placeholders here - I could see someone feasibly trying to use on of these words

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.

2 participants