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- ..
- _clean.mjs
- acceptance.mjs
- ai-adapters.mjs
- ai-enqueue.mjs
- central.mjs
- deploy-flow.mjs
- external-vps.mjs
- fake-opencode.mjs
- gates.mjs
- immersive.mjs
- nexus.mjs
- oidc-core.mjs
- oidc-flow.mjs
- opencode-engine.mjs
- owner-auth.mjs
- proxy.mjs
- retake-landing.mjs
- rls.mjs
- run.mjs
- shot-central.mjs
- tenant-isolation.mjs
- trusted-https.mjs
- web-shots.mjs
- with-derived.mjs
app/scripts/record-deployment.mjs
1// Writes a deployment record into PostgreSQL (used by scripts/deploy.sh). Args: version commit status url health log2import fs from "node:fs"; import os from "node:os"; import path from "node:path"; import crypto from "node:crypto"; import pg from "pg";3const pw = fs.readFileSync(path.join(os.homedir(), ".config/zoo-cloud-studio/pg-password"), "utf8").trim();4const c = new pg.Client({ connectionString: `postgres://studio:${encodeURIComponent(pw)}@127.0.0.1:5432/studio` }); await c.connect();5const [version, commit, status, url, health, log] = process.argv.slice(2); const t = new Date().toISOString();6await c.query("INSERT INTO deployments(id,version,commit_sha,status,url,health,log,started_at,finished_at) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9)", ["d_" + crypto.randomBytes(6).toString("hex"), version, commit, status, url, health, (log || "").slice(0, 8000), t, t]);7await c.end();8
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.