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/qa/web-shots.mjs
1// Landing-page screenshots (light/dark, 3 viewports) for before/after evidence. usage: node qa/web-shots.mjs <label> [base]2import { chromium } from "playwright"; import path from "node:path";3const label = process.argv[2] ?? "after", BASE = process.argv[3] ?? "https://cloud.zoobd.com"; const out = path.resolve("../design/screenshots");4const b = await chromium.launch();5for (const [n, w, h] of [["desktop", 1440, 900], ["tablet", 820, 1100], ["mobile", 390, 844]]) for (const theme of ["light", "dark"]) {6 const c = await b.newContext({ viewport: { width: w, height: h }, colorScheme: theme, deviceScaleFactor: 1 }); const p = await c.newPage();7 await p.addInitScript(t => { try { localStorage.setItem("zcs-theme", t); } catch {} }, theme);8 await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.waitForTimeout(2800);9 await p.screenshot({ path: path.join(out, `web-${label}-${n}-${theme}.png`), fullPage: n !== "desktop" ? true : false }); await c.close(); console.log("shot", label, n, theme);10}11await b.close();12
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.