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- ..
- _clean.mjs
- acceptance.mjs
- ai-adapters.mjs
- ai-enqueue.mjs
- central.mjs
- deploy-flow.mjs
- external-vps.mjs
- fake-opencode.mjs
- gates.mjs
- immersive.mjs
- lower.mjs
- nexus.mjs
- oidc-core.mjs
- oidc-flow.mjs
- opencode-engine.mjs
- owner-auth.mjs
- proxy.mjs
- retake-landing.mjs
- rls.mjs
- run.mjs
- services.mjs
- shot-central.mjs
- tenant-isolation.mjs
- trusted-https.mjs
- web-shots.mjs
- with-derived.mjs
app/src/app/(app)/design/upload.tsx
1"use client";2import { useState } from "react";3export function UploadForm() {4 const [msg, setMsg] = useState("");5 return <form className="space-y-3" onSubmit={async e => { e.preventDefault(); const fd = new FormData(e.currentTarget); const r = await fetch("/api/design/upload", { method: "POST", body: fd }); const j = await r.json().catch(() => ({})); setMsg(r.ok ? `Uploaded ${j.path}` : j.error || "Failed"); }}>6 <label className="block text-sm font-medium" htmlFor="dir">Destination</label>7 <select id="dir" name="dir" className="input"><option>references</option><option>prototypes</option><option>assets</option><option>screenshots</option></select>8 <label className="block text-sm font-medium" htmlFor="file">File (png, jpg, webp, svg, json, md, html · ≤ 5 MB)</label>9 <input id="file" name="file" type="file" required className="input pt-2" /><button className="btn btn-primary">Upload</button><div aria-live="polite" className="text-sm text-muted">{msg}</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 0eebc42 on master.
Approval requests
None pending.