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-only- ..
- apple-touch-icon.png
- brand-guidelines-v2.md
- brand-manifest-v2.json
- favicon-16.png
- favicon-32.png
- favicon-48.png
- favicon.ico
- icon-192.png
- icon-512.png
- maskable-192.png
- maskable-512.png
- source-brand-board.png
- source-crop-icon-fullcolor.png
- source-crop-lockup-dark.png
- source-crop-wordmark-light.png
- zloud-app-icon-1024.png
- zloud-app-icon.svg
- zloud-favicon.svg
- zloud-mark-1024.png
- zloud-mark-512.png
- zloud-mark-mono-512.png
- zloud-mark-mono.svg
- zloud-mark-reversed.svg
- zloud-mark-white-512.png
- zloud-mark-white.svg
- zloud-mark.svg
- zloud-maskable.svg
- zloud-wordmark-dark.svg
- zloud-wordmark-light.svg
- zloud-wordmark-mono.svg
app/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 692573d on master.
Approval requests
None pending.