Skip to content

Commit 36c4432

Browse files
authored
Merge pull request #912 from Merit-Systems/bump-agentcash-discovery
bump @agentcash/discovery to 1.7.0
2 parents 0f4696b + 7752172 commit 36c4432

6 files changed

Lines changed: 365 additions & 275 deletions

File tree

apps/scan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"format:check": "pnpm -w format:check:dir ./apps/scan"
2222
},
2323
"dependencies": {
24-
"@agentcash/discovery": "1.6.4",
24+
"@agentcash/discovery": "1.7.0",
2525
"@agentcash/router": "1.3.3",
2626
"@ai-sdk/openai": "^2.0.52",
2727
"@ai-sdk/react": "^2.0.68",

apps/scan/src/app/(app)/(home)/agentic-commerce/_components/content.tsx

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,23 @@ export function AgenticCommerceContent() {
120120
>
121121
<ol className="max-w-3xl space-y-3 text-sm leading-6 text-muted-foreground">
122122
<li>
123-
<span className="font-medium text-foreground">1. Add pay-per-call:</span>{' '}
124-
enable per-request pricing so agents can pay without
125-
subscriptions or invoices.
123+
<span className="font-medium text-foreground">
124+
1. Add pay-per-call:
125+
</span>{' '}
126+
enable per-request pricing so agents can pay without subscriptions
127+
or invoices.
126128
</li>
127129
<li>
128-
<span className="font-medium text-foreground">2. Publish discovery:</span>{' '}
130+
<span className="font-medium text-foreground">
131+
2. Publish discovery:
132+
</span>{' '}
129133
describe what the API does, what it costs, and how an agent should
130134
call it.
131135
</li>
132136
<li>
133-
<span className="font-medium text-foreground">3. Reach agents:</span>{' '}
137+
<span className="font-medium text-foreground">
138+
3. Reach agents:
139+
</span>{' '}
134140
let agents inspect schemas and pricing, pay, and execute the
135141
request.
136142
</li>
@@ -143,9 +149,9 @@ export function AgenticCommerceContent() {
143149
>
144150
<div className="max-w-3xl space-y-3 text-sm leading-6 text-muted-foreground">
145151
<p>
146-
x402 is the payment standard, AgentCash is the MCP for
147-
discovering and paying for premium APIs, and x402scan is where
148-
those services become visible.
152+
x402 is the payment standard, AgentCash is the MCP for discovering
153+
and paying for premium APIs, and x402scan is where those services
154+
become visible.
149155
</p>
150156
<p>
151157
The goal is not a new checkout page. The goal is a market where
@@ -160,13 +166,22 @@ export function AgenticCommerceContent() {
160166
description="Register your API on x402scan and publish discovery metadata so agents can understand and call it."
161167
>
162168
<div className="flex flex-wrap gap-x-6 gap-y-2 text-sm">
163-
<Link className="font-medium underline-offset-4 hover:underline" href="/discovery">
169+
<Link
170+
className="font-medium underline-offset-4 hover:underline"
171+
href="/discovery"
172+
>
164173
Sell to agents
165174
</Link>
166-
<Link className="font-medium underline-offset-4 hover:underline" href="/resources/register">
175+
<Link
176+
className="font-medium underline-offset-4 hover:underline"
177+
href="/resources/register"
178+
>
167179
Register API
168180
</Link>
169-
<Link className="font-medium underline-offset-4 hover:underline" href="/x402">
181+
<Link
182+
className="font-medium underline-offset-4 hover:underline"
183+
href="/x402"
184+
>
170185
Explore x402
171186
</Link>
172187
</div>

apps/scan/src/app/(app)/(home)/x402/_components/content.tsx

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,18 +127,17 @@ export function X402Content() {
127127
<Section title="How x402 works">
128128
<ol className="max-w-3xl space-y-3 text-sm leading-6 text-muted-foreground">
129129
<li>
130-
<span className="font-medium text-foreground">1. Request:</span>{' '}
131-
a client or AI agent sends a normal HTTP request to a paid
132-
resource.
130+
<span className="font-medium text-foreground">1. Request:</span> a
131+
client or AI agent sends a normal HTTP request to a paid resource.
133132
</li>
134133
<li>
135134
<span className="font-medium text-foreground">2. Pay:</span> the
136135
server responds with <code>402 Payment Required</code> and the
137136
client submits payment.
138137
</li>
139138
<li>
140-
<span className="font-medium text-foreground">3. Retry:</span>{' '}
141-
the client retries with payment proof and receives the API result.
139+
<span className="font-medium text-foreground">3. Retry:</span> the
140+
client retries with payment proof and receives the API result.
142141
</li>
143142
</ol>
144143
</Section>
@@ -160,16 +159,28 @@ export function X402Content() {
160159
description="x402scan indexes the services, payments, and infrastructure behind the x402 ecosystem."
161160
>
162161
<div className="flex flex-wrap gap-x-6 gap-y-2 text-sm">
163-
<Link className="font-medium underline-offset-4 hover:underline" href="/resources">
162+
<Link
163+
className="font-medium underline-offset-4 hover:underline"
164+
href="/resources"
165+
>
164166
Marketplace
165167
</Link>
166-
<Link className="font-medium underline-offset-4 hover:underline" href="/transactions">
168+
<Link
169+
className="font-medium underline-offset-4 hover:underline"
170+
href="/transactions"
171+
>
167172
Transactions
168173
</Link>
169-
<Link className="font-medium underline-offset-4 hover:underline" href="/facilitators">
174+
<Link
175+
className="font-medium underline-offset-4 hover:underline"
176+
href="/facilitators"
177+
>
170178
Facilitators
171179
</Link>
172-
<Link className="font-medium underline-offset-4 hover:underline" href="/networks">
180+
<Link
181+
className="font-medium underline-offset-4 hover:underline"
182+
href="/networks"
183+
>
173184
Networks
174185
</Link>
175186
</div>

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"pnpm": {
4040
"overrides": {
4141
"@auth/core": "0.40.0",
42-
"viem": "2.47.0"
42+
"viem": "2.47.0",
43+
"zod@^4": "4.4.3"
4344
},
4445
"onlyBuiltDependencies": [
4546
"@coinbase/x402"

0 commit comments

Comments
 (0)