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/(app)/settings/page.tsx
1import { Card, MaturityBadge, PageHeader, Notice } from "@/components/ui";2import { getSetting } from "@/lib/db";3import { getCtx } from "@/lib/tenant";4import { Branding, AiLimits } from "./branding";5import { limits } from "@/lib/ai";6import { resolveConfig } from "@/lib/config";7import { Endpoints } from "./endpoints";8export const dynamic = "force-dynamic";9export const metadata = { title: "Settings" };10export default async function Settings() {11 const authed = !!(await getCtx())?.platformAdmin;12 return <>13 <PageHeader title="Settings" desc="Branding is configurable; other policy areas are design-only for now." badge={<MaturityBadge state="partial" />} />14 <div className="grid gap-4 md:grid-cols-2">15 <Card title="Branding">{authed ? <Branding name={await getSetting("product_name", "Zloud Studio")} tagline={await getSetting("tagline", "Powered by Zoo Bangladesh")} /> : <p className="text-sm text-muted">Sign in to edit branding.</p>}</Card>16 <Card title="AI spending limits">{authed ? <AiLimits monthly={(await limits()).monthly} project={(await limits()).project} /> : <p className="text-sm text-muted">Sign in to edit limits.</p>}</Card>17 <Card title="Domain & endpoints" className="md:col-span-2">{authed ? <Endpoints initial={await resolveConfig()} /> : <p className="text-sm text-muted">Sign in to view and edit endpoint configuration.</p>}</Card>18 <Card title="Planned policy areas">{["Authentication (Zoo IAM)", "Notifications", "Domain settings", "Security policies", "Data retention"].map(s => <div key={s} className="flex justify-between border-b border-line py-2 text-sm last:border-0"><span>{s}</span><span className="text-muted">demo only</span></div>)}</Card></div>19 <div className="mt-4"><Notice tone="info" title="Theme">Light/dark themes follow your choice in the header and persist in this browser.</Notice></div></>;20}21
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 0eebc42 on master.
Approval requests
None pending.