Skip to content

feat: add UCP JavaScript SDK#20

Open
artemii-karkusha wants to merge 1 commit into
Upsonic:masterfrom
artemii-karkusha:add-ucp-js-sdk
Open

feat: add UCP JavaScript SDK#20
artemii-karkusha wants to merge 1 commit into
Upsonic:masterfrom
artemii-karkusha:add-ucp-js-sdk

Conversation

@artemii-karkusha

@artemii-karkusha artemii-karkusha commented Mar 31, 2026

Copy link
Copy Markdown

Adds the UCP JavaScript SDK to the Implementations section.

What it is

The official JavaScript/TypeScript SDK for the Universal Commerce Protocol — runtime-validated Zod schemas and TypeScript types, auto-generated from the UCP JSON Schema spec.

Coverage:

  • Checkout, orders, payments, payment handlers, fulfillment
  • Discounts, buyer consent, AP2 mandates
  • Discovery profiles (platform & business), identity linking, catalog, cart
  • All inline enums (15 standalone exports)

Features:

  • 100% spec coverage — 100 schemas auto-generated from source
  • Runtime validation via Zod.parse() and .safeParse()
  • Supports MCP, A2A, REST, and Embedded transport bindings
  • Dual ESM/CJS build — works in Node.js and bundlers
  • Available on npm as @omnixhq/ucp-js-sdk

Why it belongs here

The only JavaScript SDK with full UCP spec coverage. Useful for any developer building UCP-compatible agents, merchant servers, or platform integrations in TypeScript/JavaScript.

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