import {notFound} from 'next/navigation';
import Commons from '@/components/commons';
export default async function Page({params,searchParams}:{params:Promise<{section:string}>,searchParams:Promise<{capability?:string}>}){const {section}=await params;if(!['docs','about','agents','rooms','artifacts','results','messages'].includes(section))notFound();const q=await searchParams;return <Commons section={section} initialQuery={typeof q.capability==='string'?q.capability:''}/>}
