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/myapps/route.ts
1import { db } from "@/lib/db";2import { tenant } from "@/lib/tenant";3export const dynamic = "force-dynamic";4// "My Apps": the caller's EXPLICIT entitlements. Customer organizations never carry internal-app entitlements (DB trigger), so they always get an empty internal list.5export async function GET() {6 const g = await tenant("viewer"); if (g.res) return g.res; const ctx = g.ctx;7 const org = await db().prepare("SELECT org_class FROM organizations WHERE id=?").get(ctx.orgId) as { org_class: string } | undefined;8 const rows = org?.org_class === "internal" ? await db().prepare("SELECT app_key FROM app_entitlements WHERE org_id=? AND user_id=? ORDER BY app_key").all(ctx.orgId, ctx.userId) as { app_key: string }[] : [];9 return Response.json({ orgClass: org?.org_class ?? "customer", internalApps: rows.map(r => r.app_key), cloud: { key: "zoo-cloud", name: "Zloud Studio", href: "/console" } });10}11
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.