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/with-derived.mjs
1// Runs a QA script with the canonical-URL override (settings config.PUBLIC_BASE_URL) cleared so legacy suites exercise the derived-endpoint path they were written for,2// and ALWAYS restores it afterwards (even on crash). Usage: node qa/with-derived.mjs qa/<script>.mjs [args]3import fs from "node:fs"; import os from "node:os"; import path from "node:path"; import { spawnSync } from "node:child_process"; import pg from "pg";4const c = new pg.Client({ connectionString: `postgres://studio:${encodeURIComponent(fs.readFileSync(path.join(os.homedir(), ".config/zoo-cloud-studio/pg-password"), "utf8").trim())}@127.0.0.1:5432/studio` }); await c.connect();5const prev = (await c.query("SELECT value FROM settings WHERE key='config.PUBLIC_BASE_URL'")).rows[0]?.value; let code = 1;6try { await c.query("DELETE FROM settings WHERE key='config.PUBLIC_BASE_URL'"); code = spawnSync(process.execPath, process.argv.slice(2), { stdio: "inherit" }).status ?? 1; }7finally { if (prev) await c.query("INSERT INTO settings(key,value) VALUES('config.PUBLIC_BASE_URL',$1) ON CONFLICT(key) DO UPDATE SET value=excluded.value", [prev]); await c.end(); }8process.exit(code);9
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.