Skip to content

Commit 3003391

Browse files
fix ci
1 parent f6a6f0c commit 3003391

4 files changed

Lines changed: 20 additions & 7 deletions

File tree

apps/directory/app/api/providers/route.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,11 @@ export async function POST(request: Request) {
149149
);
150150
}
151151

152-
const nameClash = await db.select().from(provider).where(eq(provider.name, derived.name)).limit(1);
152+
const nameClash = await db
153+
.select()
154+
.from(provider)
155+
.where(eq(provider.name, derived.name))
156+
.limit(1);
153157

154158
if (nameClash.length > 0) {
155159
return Response.json(

apps/directory/app/providers/[name]/page.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,15 @@ export default async function ProviderDetailPage({
229229
{cap.method}
230230
</span>
231231
)}
232-
{cap.path && <span className="text-foreground/35 break-all">{cap.path}</span>}
232+
{cap.path && (
233+
<span className="text-foreground/35 break-all">{cap.path}</span>
234+
)}
233235
</div>
234236
)}
235237
{cap.description && (
236-
<p className="text-xs text-foreground/50 leading-relaxed">{cap.description}</p>
238+
<p className="text-xs text-foreground/50 leading-relaxed">
239+
{cap.description}
240+
</p>
237241
)}
238242
{required.length > 0 && (
239243
<div className="flex items-center gap-1.5 flex-wrap">

apps/directory/app/submit/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ export default function SubmitPage() {
9393
<h1 className="text-lg font-semibold text-foreground">Submit a Provider</h1>
9494
{mode === "openapi" ? (
9595
<p className="text-xs text-foreground/45 leading-relaxed">
96-
Paste a link to an OpenAPI 3.x spec. We'll derive an Agent Auth capability list from it
97-
with <code className="text-[10px] font-mono text-foreground/55">fromOpenAPI()</code>
98-
so a service can be discovered even before it adopts Agent Auth.
96+
Paste a link to an OpenAPI 3.x spec. We'll derive an Agent Auth capability list from
97+
it with{" "}
98+
<code className="text-[10px] font-mono text-foreground/55">fromOpenAPI()</code> — so a
99+
service can be discovered even before it adopts Agent Auth.
99100
</p>
100101
) : (
101102
<p className="text-xs text-foreground/45 leading-relaxed">

apps/directory/lib/__tests__/openapi.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ const mailSpec = {
2222
required: true,
2323
content: {
2424
"application/json": {
25-
schema: { type: "object", required: ["to", "subject"], properties: { to: { type: "string" } } },
25+
schema: {
26+
type: "object",
27+
required: ["to", "subject"],
28+
properties: { to: { type: "string" } },
29+
},
2630
},
2731
},
2832
},

0 commit comments

Comments
 (0)