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/components/cred-form.tsx
1"use client";2import { useState } from "react";3export function CredForm({ id, has, status }: { id: string; has: boolean; status?: string }) {4 const [key, setKey] = useState(""); const [msg, setMsg] = useState(""); const [busy, setBusy] = useState(false);5 const call = async (method: string, body?: unknown) => { setBusy(true); setMsg(""); try { const r = await fetch(`/api/integrations/${id}`, { method, headers: { "content-type": "application/json" }, body: body ? JSON.stringify(body) : undefined }); const j = await r.json().catch(() => ({})); setMsg(r.ok ? (j.status ? `Result: ${j.status}${j.detail ? ` (${j.detail})` : ""}` : "Done") : j.error || `HTTP ${r.status}`); if (r.ok) { setKey(""); setTimeout(() => location.reload(), 900); } } catch { setMsg("Request failed"); } setBusy(false); };6 return <div className="mt-3 space-y-2"><input className="input" type="password" autoComplete="off" aria-label={`${id} API key`} placeholder={has ? "Replace key…" : "Paste API key"} value={key} onChange={e => setKey(e.target.value)} />7 <div className="flex flex-wrap gap-1.5"><button className="btn btn-primary btn-sm" disabled={busy || key.length < 8} onClick={() => call("PUT", { key })}>Save & verify</button>8 {has && <><button className="btn btn-sm" disabled={busy} onClick={() => call("POST")}>Re-verify</button><button className="btn btn-sm" disabled={busy} onClick={() => call("DELETE")}>Remove</button></>}</div>9 {msg && <p role="status" className="text-xs text-muted">{msg}</p>}{status && <p className="sr-only">status {status}</p>}</div>;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 548ed73 on master.
Approval requests
None pending.