Skip to content
  1. Home
  2. workspace
Checking…
Demo 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)/settings/branding.tsx

1"use client";
2import { useRouter } from "next/navigation";
3import { useState } from "react";
4export function Branding({ name, tagline }: { name: string; tagline: string }) {
5 const r = useRouter(); const [n, setN] = useState(name), [t, setT] = useState(tagline), [m, setM] = useState("");
6 return <form className="space-y-3" onSubmit={async e => { e.preventDefault(); const x = await fetch("/api/settings", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ product_name: n, tagline: t }) }); setM(x.ok ? "Saved" : "Failed"); r.refresh(); }}>
7 <label className="block text-sm font-medium" htmlFor="bn">Product name</label><input id="bn" className="input" value={n} onChange={e => setN(e.target.value)} maxLength={60} />
8 <label className="block text-sm font-medium" htmlFor="bt">Tagline</label><input id="bt" className="input" value={t} onChange={e => setT(e.target.value)} maxLength={60} />
9 <button className="btn btn-primary">Save</button><div aria-live="polite" className="text-sm text-muted">{m}</div></form>;
10}
11
12export function AiLimits({ monthly, project }: { monthly: number; project: number }) {
13 const [m, setM] = useState(String(monthly)), [p, setP] = useState(String(project)), [msg, setMsg] = useState("");
14 return <form className="space-y-3" onSubmit={async e => { e.preventDefault(); const x = await fetch("/api/settings", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ "ai.monthly_cap_usd": Number(m), "ai.project_cap_usd": Number(p) }) }); setMsg(x.ok ? "Saved" : "Failed"); }}>
15 <label className="block text-sm font-medium" htmlFor="mc">Global monthly cap (USD)</label><input id="mc" className="input" inputMode="decimal" value={m} onChange={e => setM(e.target.value)} />
16 <label className="block text-sm font-medium" htmlFor="pc">Per-project cap (USD)</label><input id="pc" className="input" inputMode="decimal" value={p} onChange={e => setP(e.target.value)} />
17 <p className="text-xs text-muted">Each session also has its own budget. A call is refused if its worst-case cost would exceed any cap.</p>
18 <button className="btn btn-primary">Save limits</button><div aria-live="polite" className="text-sm text-muted">{msg}</div></form>;
19}
20

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 1c27633 on master.

Approval requests

None pending.