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- ..
- _clean.mjs
- acceptance.mjs
- ai-adapters.mjs
- ai-enqueue.mjs
- central.mjs
- deploy-flow.mjs
- external-vps.mjs
- fake-opencode.mjs
- gates.mjs
- immersive.mjs
- lower.mjs
- nexus.mjs
- oidc-core.mjs
- oidc-flow.mjs
- opencode-engine.mjs
- owner-auth.mjs
- proxy.mjs
- retake-landing.mjs
- rls.mjs
- run.mjs
- services.mjs
- shot-central.mjs
- tenant-isolation.mjs
- trusted-https.mjs
- web-shots.mjs
- with-derived.mjs
app/src/app/api/cloud/overview/route.ts
1import { db } from "@/lib/db";2import { tenant } from "@/lib/tenant";3import { nodeState, usageSummary } from "@/lib/cloud";4export const dynamic = "force-dynamic";5export async function GET() {6 const g = await tenant("viewer"); if (g.res) return g.res; const o = g.ctx.orgId;7 const nodes = (await db().prepare("SELECT id,label,status,revoked_at,enroll_used_at,last_seen FROM nodes WHERE org_id=?").all(o) as any[]).map(n => ({ id: n.id, label: n.label, state: nodeState(n) }));8 return Response.json({ org: { id: o, name: g.ctx.orgName, role: g.ctx.role }, usage: await usageSummary(o), nodes });9}10
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.