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- ..
- ai.ts
- apps.ts
- audit.ts
- auth.ts
- central-core.d.mts
- central-core.mjs
- central.ts
- cloud.ts
- config.ts
- crypto.ts
- db.ts
- design.ts
- engines.ts
- files.ts
- gates.ts
- gateway.ts
- marketplace-core.d.mts
- marketplace-core.mjs
- metrics.ts
- modules.ts
- motion.ts
- nexus-core.d.mts
- nexus-core.mjs
- oidc-core.d.mts
- oidc-core.mjs
- oidc.ts
- providers.ts
- proxy-core.d.mts
- proxy-core.mjs
- pwauth-core.d.mts
- pwauth-core.mjs
- requirements.ts
- rls.sql.d.mts
- rls.sql.mjs
- services-content.ts
- ssrf.ts
- status.ts
- tenant.ts
- tlsgate.ts
- workspace.ts
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.