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/gateway/api/bye/route.ts
1import { db, now } from "@/lib/db";2import { audit } from "@/lib/audit";3import { nodeAuth } from "@/lib/gateway";4export const dynamic = "force-dynamic";5// Agent uninstall: the node revokes itself. Application records are kept (workloads are preserved on the VPS unless the owner removes them).6export async function POST(req: Request) {7 const a = await nodeAuth(req); if ("res" in a) return a.res;8 await db().prepare("UPDATE nodes SET revoked_at=?, secret_hash=NULL, enroll_hash=NULL WHERE id=? AND org_id=?").run(now(), a.node.id, a.node.org_id);9 await db().prepare("UPDATE node_jobs SET status='cancelled', finished_at=? WHERE node_id=? AND status='queued'").run(now(), a.node.id);10 await audit("node:" + a.node.id, "node.uninstalled", a.node.id, { org: a.node.org_id }); 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.