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- ..
- acceptance-center-desktop.png
- acceptance-center-mobile.png
- acceptance-center-tablet.png
- access-authed-desktop.png
- access-desktop.png
- access-mobile.png
- ai-chat-authed-desktop.png
- ai-chat-authed-mobile.png
- cc-ai-studio-desktop.png
- cc-ai-studio-mobile.png
- cc-applications-desktop.png
- cc-applications-mobile.png
- cc-billing-desktop.png
- cc-billing-mobile.png
- cc-command-center-desktop.png
- cc-databases-desktop.png
- cc-databases-mobile.png
- cc-deployments-desktop.png
- cc-deployments-mobile.png
- cc-domains-desktop.png
- cc-domains-mobile.png
- cc-hosting-desktop.png
- cc-hosting-mobile.png
- cc-instances-desktop.png
- cc-instances-mobile.png
- cc-integrations-desktop.png
- cc-integrations-mobile.png
- cc-managed-desktop.png
- cc-managed-mobile.png
- cc-overview-desktop.png
- cc-overview-mobile.png
- cc-owner-overview-desktop.png
- cc-packages-desktop.png
- cc-servers-desktop.png
- cc-servers-enrollment-desktop.png
- cc-servers-mobile.png
- cc-settings-desktop.png
- cc-settings-mobile.png
- cc-super-admin-desktop.png
- cc-super-admin-mobile.png
- cc-team-desktop.png
- cc-team-mobile.png
- cc-terminal-desktop.png
- cc-terminal-mobile.png
- central-integration-desktop.png
- central-integration-mobile.png
- command-center-desktop.png
- command-center-mobile.png
- contact-desktop.png
- contact-mobile.png
- customer-domains-desktop.png
- customer-domains-mobile.png
- dashboard-desktop-dark.png
- dashboard-desktop.png
- dashboard-mobile.png
- dashboard-tablet.png
- deployments-desktop.png
- deployments-mobile.png
- design-studio-authed-desktop.png
- design-studio-desktop.png
- design-studio-mobile.png
- desktop-dashboard.png
- docs-desktop-dark.png
- docs-desktop.png
- docs-mobile.png
- docs-tablet.png
- domains-desktop.png
- domains-mobile.png
- editor-authed-desktop.png
- editor-authed-mobile.png
- engines-authed-desktop.png
- engines-authed-mobile.png
- engines-desktop.png
- engines-mobile.png
- engines-public-desktop.png
- files-desktop.png
- files-mobile.png
- get-started-authed-desktop.png
- get-started-desktop.png
- get-started-mobile.png
- infrastructure-desktop.png
- infrastructure-mobile.png
- integrations-authed-desktop.png
- integrations-desktop.png
- integrations-mobile.png
- landing-desktop-alt-theme.png
- landing-desktop-dark-full.png
- landing-desktop-dark.png
- landing-desktop-full.png
- landing-desktop-hero.png
- landing-desktop.png
- landing-mobile-full.png
- landing-mobile-hero.png
- landing-mobile.png
- landing-tablet-full.png
- landing-tablet.png
- login-desktop.png
- login-mobile.png
- marketplace-desktop.png
- marketplace-mobile.png
- mobile-dashboard.png
- monitoring-desktop.png
- monitoring-mobile.png
- packages-desktop.png
- packages-mobile.png
- pricing-desktop-dark.png
- pricing-desktop.png
- pricing-mobile.png
- pricing-tablet.png
- progress-desktop-dark.png
- progress-desktop.png
- progress-mobile.png
- project-detail-desktop.png
- projects-desktop.png
- projects-mobile.png
- settings-desktop.png
- settings-endpoints-desktop.png
- settings-mobile.png
- status-desktop-dark.png
- status-desktop.png
- status-mobile.png
- status-tablet.png
- tablet-dashboard.png
- terminal-desktop.png
- terminal-mobile.png
- web-after-demo-complete-desktop.png
- web-after-demo-complete-mobile.png
- web-after-demo-running-desktop.png
- web-after-demo-running-mobile.png
- web-after-desktop-dark.png
- web-after-desktop-light.png
- web-after-hero-interactive-desktop.png
- web-after-hero-interactive-mobile.png
- web-after-mobile-dark.png
- web-after-mobile-light.png
- web-after-reduced-motion-desktop.png
- web-after-tablet-dark.png
- web-after-tablet-light.png
- web-before-desktop-dark.png
- web-before-desktop-light.png
- web-before-mobile-dark.png
- web-before-mobile-light.png
- web-before-tablet-dark.png
- web-before-tablet-light.png
- web-services-detail-ai-desktop.png
- web-services-detail-ai-mobile.png
- web-services-detail-desktop.png
- web-services-detail-mobile.png
- web-services-index-desktop.png
- web-services-index-mobile.png
- wizard-desktop.png
- wizard-mobile.png
- wizard-review-desktop.png
- workspace-desktop-dark.png
- workspace-desktop.png
- workspace-mobile.png
- zloud-brand-landing-desktop.png
- zloud-brand-landing-mobile.png
- zloud-landing-desktop.png
- zloud-landing-mobile.png
- zloud-landing-tablet.png
- zloud-login-mobile.png
- zloud-login-trusted-desktop.png
- zloud-login-trusted-mobile.png
- zloud-trusted-landing-desktop.png
- zloud-trusted-landing-mobile.png
app/src/app/(app)/console/servers/page.tsx
1import fs from "node:fs";2import path from "node:path";3import { Card, MaturityBadge, Notice, PageHeader } from "@/components/ui";4import { ServersPanel } from "@/components/console-client";5import { SignInCard } from "@/components/console-ui";6import { httpsBase } from "@/lib/auth";7import { DATA_DIR, db } from "@/lib/db";8import { getCtx, ROLE_LEVEL } from "@/lib/tenant";9import { nodeState } from "@/lib/cloud";10export const dynamic = "force-dynamic"; export const metadata = { title: "External VPS" };11export default async function Servers() {12 const ctx = await getCtx(); if (!ctx) return <SignInCard what="your servers" />;13 const instances = (await db().prepare("SELECT id,name FROM instances WHERE org_id=? AND target='external' AND status NOT IN ('terminated','suspended') ORDER BY created_at DESC").all(ctx.orgId) as any[]).map(i => ({ id: String(i.id), name: String(i.name) }));14 const nodes = (await db().prepare("SELECT id,instance_id,label,hostname,os,agent_version,metrics,last_seen,revoked_at,enroll_used_at FROM nodes WHERE org_id=? ORDER BY created_at DESC").all(ctx.orgId) as any[]).map(n => ({ id: String(n.id), instance_id: String(n.instance_id), label: String(n.label), state: nodeState(n), hostname: n.hostname ?? undefined, os: n.os ?? undefined, agent_version: n.agent_version ?? undefined, metrics: n.metrics ? JSON.parse(n.metrics) : null }));15 const jobs = (await db().prepare("SELECT id,node_id,kind,status,result FROM node_jobs WHERE org_id=? ORDER BY created_at DESC LIMIT 10").all(ctx.orgId) as any[]).map(j => ({ id: String(j.id), node_id: String(j.node_id), kind: String(j.kind), status: String(j.status), result: j.result ? String(j.result) : null }));16 let pkg: { file: string; version: string } | null = null; try { const m = JSON.parse(fs.readFileSync(path.join(DATA_DIR, "packages", "manifest.json"), "utf8")); pkg = { file: m.packages[0].file, version: m.packages[0].version }; } catch {}17 return <><PageHeader title="External VPS" desc="Connect a server you own. The agent connects outbound; you open no inbound ports." badge={<MaturityBadge state="partial" />} />18 <div className="mb-4"><Notice tone="warn" title="Verified locally only">The enrollment flow, token rules, revocation and job routing are tested against this host. It has not been verified on a separate, independent server.</Notice></div>19 <Card><ServersPanel instances={instances} nodes={nodes} jobs={jobs} canManage={ROLE_LEVEL[ctx.role] >= ROLE_LEVEL.admin} canJob={ROLE_LEVEL[ctx.role] >= ROLE_LEVEL.developer} origin={await httpsBase()} pkg={pkg} /></Card></>;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.