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-onlyapp/src/app/(marketing)/contact/form.tsx
1"use client";2import { useState } from "react";3export function ContactForm() {4 const [f, setF] = useState({ name: "", email: "", message: "" }); const [m, setM] = useState(""); const [ok, setOk] = useState(false); const [busy, setBusy] = useState(false);5 return <form className="space-y-3" onSubmit={async e => { e.preventDefault(); setBusy(true); setM(""); const r = await fetch("/api/contact", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(f) }); const j = await r.json().catch(() => ({})); setBusy(false); if (r.ok) { setOk(true); setM("Thanks — your message was stored."); } else setM(j.error ?? "Failed"); }}>6 <label className="block text-sm font-medium" htmlFor="cn">Name</label><input id="cn" className="input" value={f.name} maxLength={80} onChange={e => setF({ ...f, name: e.target.value })} required />7 <label className="block text-sm font-medium" htmlFor="ce">Email</label><input id="ce" className="input" type="email" value={f.email} maxLength={254} onChange={e => setF({ ...f, email: e.target.value })} required />8 <label className="block text-sm font-medium" htmlFor="cm">Message</label><textarea id="cm" className="input min-h-28" value={f.message} maxLength={2000} onChange={e => setF({ ...f, message: e.target.value })} required />9 <button className="mk-btn mk-btn-primary" disabled={busy || ok}>Send message</button><div role="status" className="text-sm text-muted">{m}</div></form>;10}11
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.