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- ..
- access-authed-desktop.png
- access-desktop.png
- access-mobile.png
- ai-chat-authed-desktop.png
- ai-chat-authed-mobile.png
- command-center-desktop.png
- command-center-mobile.png
- contact-desktop.png
- contact-mobile.png
- dashboard-desktop-dark.png
- dashboard-desktop.png
- dashboard-mobile.png
- dashboard-tablet.png
- deployments-desktop.png
- deployments-mobile.png
- design-studio-authed-desktop.png
- design-studio-desktop.png
- design-studio-mobile.png
- desktop-dashboard.png
- docs-desktop.png
- docs-mobile.png
- domains-desktop.png
- domains-mobile.png
- editor-authed-desktop.png
- editor-authed-mobile.png
- engines-authed-desktop.png
- engines-authed-mobile.png
- engines-desktop.png
- engines-mobile.png
- engines-public-desktop.png
- files-desktop.png
- files-mobile.png
- get-started-authed-desktop.png
- get-started-desktop.png
- get-started-mobile.png
- infrastructure-desktop.png
- infrastructure-mobile.png
- integrations-authed-desktop.png
- integrations-desktop.png
- integrations-mobile.png
- landing-desktop-alt-theme.png
- landing-desktop-dark.png
- landing-desktop-full.png
- landing-desktop-hero.png
- landing-desktop.png
- landing-mobile-full.png
- landing-mobile-hero.png
- landing-mobile.png
- landing-tablet.png
- login-desktop.png
- login-mobile.png
- mobile-dashboard.png
- monitoring-desktop.png
- monitoring-mobile.png
- packages-desktop.png
- packages-mobile.png
- pricing-desktop.png
- pricing-mobile.png
- progress-desktop-dark.png
- progress-desktop.png
- progress-mobile.png
- project-detail-desktop.png
- projects-desktop.png
- projects-mobile.png
- settings-desktop.png
- settings-endpoints-desktop.png
- settings-mobile.png
- status-desktop.png
- status-mobile.png
- tablet-dashboard.png
- terminal-desktop.png
- terminal-mobile.png
- wizard-desktop.png
- wizard-mobile.png
- wizard-review-desktop.png
- workspace-desktop-dark.png
- workspace-desktop.png
- workspace-mobile.png
app/src/app/api/workspace/[project]/git/route.ts
1import { auditT, tenant } from "@/lib/tenant";2import { gitOp, root, WsError } from "@/lib/workspace";3export const dynamic = "force-dynamic";4const READ = new Set(["status", "diff", "log", "branches"]);5export async function POST(req: Request, { params }: { params: Promise<{ project: string }> }) {6 try { const b = await req.json().catch(() => ({})); const op = String(b.op ?? "");7 const g = READ.has(op) ? await tenant("viewer") : await tenant("developer", { write: true }); if (g.res) return g.res; const ctx = g.ctx;8 const { project } = await params; const r = await root(project, ctx.orgId); const out = await gitOp(r, op, typeof b.arg === "string" ? b.arg : "");9 if (!READ.has(op)) await auditT(ctx, `workspace.git.${op}`, project, { arg: String(b.arg ?? "").slice(0, 80) }); return Response.json(out);10 } catch (e) { return e instanceof WsError ? Response.json({ error: e.message }, { status: e.status }) : Response.json({ error: "internal error" }, { status: 500 }); }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.