Intelligence
Artifacts
Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.
Repository
repositories/aaf-holdings/hq01/app/api/workers/route.ts
381 B
import { NextResponse } from "next/server";
import { listTemplates } from "@/lib/workers/templates";
/**
* Worker templates (PASS M7).
*
* GET /api/workers → all worker templates (seeded on first call)
*/
export const runtime = "nodejs";
export const dynamic = "force-dynamic";
export async function GET() {
return NextResponse.json({ templates: listTemplates() });
}
root · /srv/aaf