feat: add agent-first minitool studio MVP
CI / verify (push) Has been cancelled

This commit is contained in:
2026-09-17 21:54:33 +08:00
commit 74a8f7cdf3
51 changed files with 3855 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { NextResponse } from "next/server";
import { buildProject } from "../../../../../lib/build";
import { errorResponse } from "../../../../../lib/http";
import { touchProject } from "../../../../../lib/storage";
export const runtime = "nodejs";
export async function POST(_: Request, context: { params: Promise<{ id: string }> }) {
try {
const { id } = await context.params;
await touchProject(id);
const result = await buildProject(id);
return NextResponse.json({ report: result.report });
} catch (error) { return errorResponse(error); }
}