page.tsx25 lines · main
1import { AuthAiAgentsClient } from '../../ai/ai-agents-client';
2
3export const metadata = { title: 'Auth · AI agents' };
4export const dynamic = 'force-dynamic';
5
6export default async function AuthProjectAiPage({
7 params,
8}: {
9 params: Promise<{ projectId: string }>;
10}) {
11 const { projectId } = await params;
12 return (
13 <section>
14 <header className="mb-6">
15 <h2 className="font-mono text-lg tracking-tight text-[var(--color-text)]">
16 AI agents
17 </h2>
18 <p className="mt-1 font-mono text-sm text-[var(--color-text-muted)]">
19 short-lived tokens so tools and agents can act for this project
20 </p>
21 </header>
22 <AuthAiAgentsClient projectId={projectId} />
23 </section>
24 );
25}