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- ..
- assets
- basic-languages
- editor
- language
- nls
- abap-D-t0cyap.js
- apex-CcIm7xu6.js
- azcli-BA0tQDCg.js
- bat-C397hTD6.js
- bicep-DF5aW17k.js
- cameligo-plsz8qhj.js
- clojure-Y2auQMzK.js
- coffee-Bu45yuWE.js
- cpp-CkKPQIni.js
- csharp-CX28MZyh.js
- csp-D8uWnyxW.js
- css-CaeNmE3S.js
- css.worker-C7XcYe5x.js
- cssMode-DpEkhVlW.js
- cypher-DVThT8BS.js
- dart-CmGfCvrO.js
- dockerfile-CZqqYdch.js
- ecl-30fUercY.js
- editor-CG9c2pE-.js
- editor.js
- elixir-O3PRlgxO.js
- flow9-DqtmStfK.js
- freemarker2-DTUDMAl2.js
- fsharp-BOMdg4U1.js
- go-D_hbi-Jt.js
- graphql-CKUU4kLG.js
- handlebars-qLqoXa-4.js
- hcl-DTaboeZW.js
- html-DTxBj26n.js
- html.worker-VIR_LTyv.js
- htmlMode-DFBg6CMj.js
- index-BVflv2uG.js
- index.js
- ini--YXggpAu.js
- java-CI4ZMsH9.js
- javascript-BiL3JN6i.js
- json.worker-DzWXGkG8.js
- jsonMode-Dz4r0pwo.js
- julia-BwzEvaQw.js
- kotlin-IUYPiTV8.js
- less-C0eDYdqa.js
- lexon-iON-Kj97.js
- liquid-lXEUQRVn.js
- loader.js
- lspLanguageFeatures-IeRAvoKK.js
- lua-DtygF91M.js
- m3-CsR4AuFi.js
- markdown-C_rD0bIw.js
- mdx-Dtr248s4.js
- mips-CiYP61RB.js
- monaco.contribution-BRs4bdz5.js
- monaco.contribution-ChoOM5Gg.js
- monaco.contribution-DbKqsbmO.js
- monaco.contribution-DKFaWvum.js
- msdax-C38-sJlp.js
- mysql-CdtbpvbG.js
- nls.messages-loader.js
- objective-c-CntZFaHX.js
- pascal-r6kuqfl_.js
- pascaligo-BiXoTmXh.js
- perl-DABw_TcH.js
- pgsql-me_jFXeX.js
- php-D_kh-9LK.js
- pla-VfZjczW0.js
- postiats-BBSzz8Pk.js
- powerquery-Dt-g_2cc.js
- powershell-B-7ap1zc.js
- protobuf-BmtuEB1A.js
- pug-BRpRNeEb.js
- python-Cma5OvNe.js
- qsharp-BzsFaUU9.js
- r-f8dDdrp4.js
- razor-C8pOqqry.js
- redis-fvZQY4PI.js
- redshift-45Et0LQi.js
- restructuredtext-C7UUFKFD.js
- ruby-CZO8zYTz.js
- rust-Bfetafyc.js
- sb-3GYllVck.js
- scala-foMgrKo1.js
- scheme-CHdMtr7p.js
- scss-C1cmLt9V.js
- shell-ClXCKCEW.js
- solidity-MZ6ExpPy.js
- sophia-DWkuSsPQ.js
- sparql-AUGFYSyk.js
- sql-32GpJSV2.js
- st-CuDFIVZ_.js
- swift-t-PfMj7W.js
- systemverilog-Ch4vA8Yt.js
- tcl-D74tq1nH.js
- toggleHighContrast-CmI6H2gJ.js
- ts.worker-Dp2_QI6H.js
- tsMode-DgC3tGu_.js
- twig-C6taOxMV.js
- typescript-PjDChiYw.js
- typespec-D-PIh9Xw.js
- vb-Dyb2648j.js
- wgsl-BhLXMOR0.js
- workers-B_Zs9c54.js
- xml-BgCkTIhY.js
- yaml-D0tu26m-.js
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.