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
- ssrf.ts
- status.ts
- tenant.ts
- tlsgate.ts
- workspace.ts
app/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 548ed73 on master.
Approval requests
None pending.