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-onlyapp/src/app/(app)/console/settings/page.tsx
1import Link from "next/link";2import { Badge, Card, MaturityBadge, PageHeader } from "@/components/ui";3import { SignInCard } from "@/components/console-ui";4import { getCtx, customerOpsEnabled } from "@/lib/tenant";5import { orgLimits } from "@/lib/cloud";6import { resolveConfig } from "@/lib/config";7export const dynamic = "force-dynamic"; export const metadata = { title: "Settings" };8export default async function CustomerSettings() {9 const ctx = await getCtx(); if (!ctx) return <SignInCard what="settings" />;10 const lim = await orgLimits(ctx.orgId); const gate = await customerOpsEnabled(); const cfg = await resolveConfig(); const oidc = cfg.OIDC_ISSUER.value;11 return <><PageHeader title="Settings" desc={ctx.orgName} badge={<MaturityBadge state="partial" />} />12 <div className="grid gap-4 md:grid-cols-2">13 <Card title="Organization"><dl className="space-y-2 text-sm"><div className="flex justify-between"><dt className="text-muted">Name</dt><dd>{ctx.orgName}</dd></div><div className="flex justify-between"><dt className="text-muted">ID</dt><dd className="mono text-xs">{ctx.orgId}</dd></div><div className="flex justify-between"><dt className="text-muted">Your role</dt><dd>{ctx.role}</dd></div><div className="flex justify-between"><dt className="text-muted">Status</dt><dd>{lim.status}{lim.protected ? " (protected owner tenant)" : ""}</dd></div></dl><p className="mt-3 text-xs text-muted">The identifier is random and independent of any domain name.</p></Card>14 <Card title="Quotas (set by the platform)"><ul className="space-y-1 text-sm"><li>Instances: {lim.max_instances}</li><li>Servers: {lim.max_nodes}</li><li>Projects: {lim.max_projects}</li><li>AI monthly cap: ${Number(lim.ai_monthly_cap_usd)}</li></ul></Card>15 <Card title="AI provider keys"><p className="text-sm text-muted">Anthropic, OpenAI and other provider keys are encrypted and belong to this organization only. Another organization can never use them.</p><Link className="btn mt-3" href="/integrations">Manage keys</Link></Card>16 <Card title="Sign-in & security"><ul className="space-y-2 text-sm"><li>Customer operations: <Badge tone={gate.on ? "ok" : "warn"}>{gate.mode}</Badge></li><li>Zoo IAM (OIDC): <Badge tone={oidc ? "info" : "warn"}>{oidc ? "configured" : "awaiting client credentials"}</Badge></li></ul><p className="mt-2 text-xs text-muted">Access tokens are a development-only stopgap until Zoo IAM. Trusted HTTPS is required before customer operations are enabled for production use.</p></Card></div></>;17}18
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 1c27633 on master.
Approval requests
None pending.