
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@semore/acp-adapter
Advanced tools
ACP (Agentic Commerce Protocol) Shared Payment Token orchestrator adapter — verify + mint SPT, merchant ack helpers.
Adapter helpers for the Agentic Commerce Protocol (ACP) Shared Payment Token (SPT) flow. Verify incoming SPTs, inspect merchant ACKs, and compose request envelopes in your own merchant backend or orchestrator.
Source of Truth: this directory in the Semore monorepo until repo split. The production verification path lives in the internal Semore API; this package exposes the stable, framework-agnostic contract for third-party merchants and agent orchestrators.
npm install @semore/acp-adapter
# or
pnpm add @semore/acp-adapter
hono is an optional peer dependency — only required if you mount the provided route factory.
import { verifyAcpToken, type ACPToken } from "@semore/acp-adapter";
const result = await verifyAcpToken(token, {
issuers: ["https://openai.com/acp"],
publicKeys: myJwks,
audience: "did:web:merchant.example",
clockSkewSec: 30,
maxAgeSec: 300, // reject any SPT whose `iat` is older than 5 minutes (replay defense)
});
if (!result.ok) {
console.error("reject:", result.reason);
return;
}
// result.token is a typed ACPToken
verifyAcpToken(token, opts) — header + signature + expiry + issuer validation.opts.maxAgeSec — opt-in replay defense. Requires the token to carry iat and
rejects with reason: "replayed" when (now - iat) > maxAgeSec + clockSkewSec.
Pair with an idempotency cache keyed on token.id for full replay protection.ACPToken / MerchantAck / VerifyResult — transport schema types (subset of the wire format).buildMerchantAck(...) — helper to emit a protocol-compliant ACK.api.semore.net and is not open-source.did:web:semore.netsemore.hq@gmail.com · GitHub @semore_hqApache-2.0 — see LICENSE.
Copyright (c) Semore Founding Team.
FAQs
ACP (Agentic Commerce Protocol) Shared Payment Token orchestrator adapter — verify + mint SPT, merchant ack helpers.
The npm package @semore/acp-adapter receives a total of 5 weekly downloads. As such, @semore/acp-adapter popularity was classified as not popular.
We found that @semore/acp-adapter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.