Skip to content
  1. Home
  2. workspace
Checking…
Demo view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, 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

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

Partial
Sign 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.