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/(app)/infrastructure/page.tsx
1import { customerBlock } from "@/components/platform-guard";2import { Badge, Card, MaturityBadge, Notice, PageHeader, fmtBytes, fmtUptime } from "@/components/ui";3import { LiveResources } from "@/components/live";4import { snapshot } from "@/lib/metrics";5export const dynamic = "force-dynamic";6export const metadata = { title: "Infrastructure" };7const KNOWN: Record<number, string> = { 22: "SSH", 8080: "Zloud Studio", 80: "HTTP", 443: "HTTPS", 53: "DNS resolver" };8export default async function Infra() {9 const blocked = await customerBlock(); if (blocked) return blocked;10 const s = snapshot();11 return <>12 <PageHeader title="Infrastructure" desc="Read-only metrics from the experimental VPS." badge={<MaturityBadge state="partial" />} />13 <div className="grid gap-4 xl:grid-cols-3">14 <Card title="Server inventory" pad={false} className="xl:col-span-2"><div className="scroll-x"><table className="tbl"><thead><tr><th>Role</th><th>OS</th><th>Kernel</th><th>vCPU</th><th>RAM</th><th>Uptime</th><th>Status</th></tr></thead><tbody>15 <tr><td className="font-medium">Experimental (control + apps)</td><td>{s.host.os}</td><td className="mono">{s.host.kernel}</td><td>{s.host.cpus}</td><td>{fmtBytes(s.mem.total)}</td><td>{fmtUptime(s.host.uptimeSec)}</td><td><Badge tone="ok" dot>online</Badge></td></tr></tbody></table></div></Card>16 <Card title="Network"><div className="text-sm"><div>↓ {fmtBytes(s.net.rx)}/s</div><div>↑ {fmtBytes(s.net.tx)}/s</div></div></Card></div>17 <Card title="Resource utilisation" className="mt-4"><LiveResources initial={s} /></Card>18 <div className="mt-4 grid gap-4 md:grid-cols-2">19 <Card title="Listening services" pad={false}><div className="scroll-x"><table className="tbl"><thead><tr><th>Port</th><th>Service</th></tr></thead><tbody>20 {s.ports.map(p => <tr key={p}><td className="mono">{p}</td><td>{KNOWN[p] ?? <span className="text-muted">unrecognised</span>}</td></tr>)}</tbody></table></div></Card>21 <Card title="Containers & management actions"><Notice tone="warn" title="Docker not installed">Container inventory and management actions need Docker (administrator access). No actions are offered — this view is read-only by design.</Notice></Card></div></>;22}23
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.