AI Engineering Workspace
PartialChat, files, terminal and preview in one place. Chat sessions run on a durable Postgres-backed queue (chat only: no tools or shell). Live models need an API key; the terminal is unavailable.
Project files
read-onlyapp/src/app/api/projects/[id]/route.ts
1import { db, now } from "@/lib/db";2import { auditT, projectOf, tenant, notFound } from "@/lib/tenant";3export const dynamic = "force-dynamic";4export async function PATCH(req: Request, { params }: { params: Promise<{ id: string }> }) {5 const g = await tenant("developer", { write: true }); if (g.res) return g.res; const ctx = g.ctx; const { id } = await params;6 const b = await req.json().catch(() => ({})); const d = db();7 if (!(await projectOf(ctx, id))) return notFound();8 if (typeof b.name === "string" && b.name.trim().length >= 2 && b.name.length <= 80) await d.prepare("UPDATE projects SET name=?,updated_at=? WHERE id=?").run(b.name.trim(), now(), id);9 if (["draft", "active", "archived"].includes(b.status)) await d.prepare("UPDATE projects SET status=?,updated_at=? WHERE id=?").run(b.status, now(), id);10 await auditT(ctx, "project.patch", id, { status: b.status ?? null }); return Response.json({ ok: true });11}12
Conversation
PartialSign in to start AI sessions.
Task checklist
- Application shell deployed
- Persistent projects
- Agent runtime
- Sandboxed terminal
Execution activity
No agent sessions. Git HEAD 1c27633 on master.
Approval requests
None pending.