Skip to content
  1. Home
  2. workspace
Checking…
Public view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, 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

app/src/app/(app)/monitoring/page.tsx

1import { Badge, Card, Empty, MaturityBadge, PageHeader, ago } from "@/components/ui";
2import { listAudit, verifyAudit } from "@/lib/audit";
3import { getCtx } from "@/lib/tenant";
4import { LinkBtn } from "@/components/ui";
5export const dynamic = "force-dynamic";
6export const metadata = { title: "Monitoring" };
7export default async function Monitoring({ searchParams }: { searchParams: Promise<{ q?: string }> }) {
8 const { q = "" } = await searchParams; const ctx = await getCtx(); const authed = !!ctx; const rows = ctx ? await listAudit(q.slice(0, 80), 100, ctx.platformAdmin ? undefined : ctx.orgId) : []; const c = await verifyAudit();
9 return <>
10 <PageHeader title="Monitoring & Activity" desc="Searchable audit trail. Cost tracking begins when an AI provider is connected." badge={<MaturityBadge state="partial" />} />
11 <Card title="Audit log" pad={false} action={<Badge tone={c.ok ? "ok" : "err"} dot>chain {c.ok ? "verified" : "broken"} · {c.count}</Badge>}>
12 <form className="border-b border-line p-3"><input name="q" defaultValue={q} className="input max-w-sm" placeholder="Search action, resource or actor…" aria-label="Search audit log" /></form>
13 {!authed ? <Empty title="Sign in to view the audit log" action={<LinkBtn href="/login">Sign in</LinkBtn>} /> : rows.length === 0 ? <Empty title="No matching records" /> :
14 <div className="scroll-x"><table className="tbl"><thead><tr><th>#</th><th>When</th><th>Actor</th><th>Action</th><th>Resource</th></tr></thead><tbody>{rows.map(r => <tr key={r.seq}><td className="mono text-muted">{r.seq}</td><td className="whitespace-nowrap text-muted">{ago(r.ts)}</td><td>{r.actor}</td><td className="font-medium">{r.action}</td><td className="mono text-muted">{r.resource}</td></tr>)}</tbody></table></div>}</Card></>;
15}
16

Conversation

Partial
Sign 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.