diff --git a/src/app/api/swarm/archetypes/route.ts b/src/app/api/swarm/archetypes/route.ts new file mode 100644 index 0000000..a08fbf1 --- /dev/null +++ b/src/app/api/swarm/archetypes/route.ts @@ -0,0 +1,7 @@ +import { NextResponse } from 'next/server'; +import { getArchetypes } from '@/lib/server/beads-fs'; + +export async function GET() { + const data = await getArchetypes(); + return NextResponse.json(data); +}