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
- services-content.ts
- ssrf.ts
- status.ts
- tenant.ts
- tlsgate.ts
- workspace.ts
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.