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- ..
- apple-touch-icon.png
- brand-guidelines-v2.md
- brand-manifest-v2.json
- favicon-16.png
- favicon-32.png
- favicon-48.png
- favicon.ico
- icon-192.png
- icon-512.png
- maskable-192.png
- maskable-512.png
- source-brand-board.png
- source-crop-icon-fullcolor.png
- source-crop-lockup-dark.png
- source-crop-wordmark-light.png
- zloud-app-icon-1024.png
- zloud-app-icon.svg
- zloud-favicon.svg
- zloud-mark-1024.png
- zloud-mark-512.png
- zloud-mark-mono-512.png
- zloud-mark-mono.svg
- zloud-mark-reversed.svg
- zloud-mark-white-512.png
- zloud-mark-white.svg
- zloud-mark.svg
- zloud-maskable.svg
- zloud-wordmark-dark.svg
- zloud-wordmark-light.svg
- zloud-wordmark-mono.svg
app/src/app/design-assets/[[...path]]/route.ts
1import fs from "node:fs";2import { readManifest, resolveApproved } from "@/lib/design";3export const dynamic = "force-dynamic";4const HEAD = { "x-content-type-options": "nosniff", "cache-control": "public, max-age=60", "content-security-policy": "sandbox; default-src 'none'; img-src 'self' data:; style-src 'unsafe-inline'", "cross-origin-resource-policy": "cross-origin" };56export async function GET(req: Request, { params }: { params: Promise<{ path?: string[] }> }) {7 const { path: parts = [] } = await params;8 if (parts.length === 0 || (parts.length === 1 && parts[0] === "manifest.json")) {9 const origin = new URL(req.url).origin; const m = readManifest();10 return Response.json({ ...m, base: `${origin}/design-assets/`, files: m.files.map(f => ({ ...f, url: `${origin}/design-assets/${f.path}` })) }, { headers: HEAD });11 }12 const hit = resolveApproved(parts);13 if (!hit) return new Response("Not found", { status: 404, headers: { "x-content-type-options": "nosniff" } });14 const asHtml = hit.entry.type.startsWith("text/html");15 return new Response(fs.readFileSync(hit.file), { headers: { ...HEAD, "content-type": hit.entry.type, etag: hit.entry.sha256,16 ...(asHtml ? { "content-disposition": "inline", "content-security-policy": "sandbox; default-src 'none'; style-src 'unsafe-inline'; img-src 'self' data:" } : {}) } });17}18
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 692573d on master.
Approval requests
None pending.