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- ..
- ai.ts
- apps.ts
- audit.ts
- auth.ts
- central-core.d.mts
- central-core.mjs
- central.ts
- cloud.ts
- config.ts
- crypto.ts
- db.ts
- design.ts
- engines.ts
- files.ts
- gates.ts
- gateway.ts
- marketplace-core.d.mts
- marketplace-core.mjs
- metrics.ts
- modules.ts
- motion.ts
- nexus-core.d.mts
- nexus-core.mjs
- oidc-core.d.mts
- oidc-core.mjs
- oidc.ts
- providers.ts
- proxy-core.d.mts
- proxy-core.mjs
- pwauth-core.d.mts
- pwauth-core.mjs
- requirements.ts
- rls.sql.d.mts
- rls.sql.mjs
- ssrf.ts
- status.ts
- tenant.ts
- tlsgate.ts
- workspace.ts
app/src/components/console-ui.tsx
1import Link from "next/link";2import { Card, MaturityBadge, Notice, PageHeader } from "@/components/ui";3import { httpsBase, isSecure } from "@/lib/auth";4import { customerOpsEnabled } from "@/lib/tenant";5import type { Maturity } from "@/lib/modules";67/** Shown to anonymous visitors on any console page. */8export async function SignInCard({ what }: { what: string }) {9 const secure = await isSecure(); const gate = await customerOpsEnabled();10 return <div className="mx-auto max-w-lg"><Card><div className="space-y-3 p-2 text-center"><h1 className="text-lg font-semibold">Sign in to view {what}</h1>11 <p className="text-sm text-muted">{secure ? "Your organization's data is only available to signed-in members." : "Sign-in and tenant data require HTTPS. Plain HTTP is read-only."}</p>12 <a className="btn btn-primary" href={`${await httpsBase()}/login`}>Sign in</a>13 {!gate.on && <p className="text-xs text-muted">Customer accounts are currently disabled until trusted HTTPS is configured; only the platform owner can sign in on this preview.</p>}</div></Card></div>;14}15/** Honest placeholder for services that do not exist yet. */16export function Upcoming({ title, desc, state, items, link }: { title: string; desc: string; state: Maturity; items: string[]; link?: { href: string; label: string } }) {17 return <><PageHeader title={title} desc={desc} badge={<MaturityBadge state={state} />} />18 <Notice tone="info" title={state === "blocked" ? "Blocked on this host" : "Not available yet"}>Nothing on this page is simulated. It will become functional when the prerequisites below exist.</Notice>19 <div className="mt-4"><Card title="What this will provide"><ul className="list-disc space-y-1 pl-5 text-sm text-muted">{items.map(i => <li key={i}>{i}</li>)}</ul>{link && <Link className="btn mt-4" href={link.href}>{link.label}</Link>}</Card></div></>;20}21export const fmtUsd = (n: number) => `$${n.toFixed(4)}`;22
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.