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/scripts/rls-migrate.mjs
1// Applies schema is done by the app; this applies ONLY role bootstrap + RLS policies using the migration (owner) credential. Idempotent.2import fs from "node:fs"; import os from "node:os"; import path from "node:path"; import crypto from "node:crypto"; import pg from "pg";3import { RLS_SQL, roleSql } from "../src/lib/rls.sql.mjs";4const CFG = path.join(os.homedir(), ".config/zoo-cloud-studio");5const pwf = path.join(CFG, "pg-app-password"); if (!fs.existsSync(pwf)) fs.writeFileSync(pwf, crypto.randomBytes(24).toString("hex"), { mode: 0o600 });6const c = new pg.Client({ connectionString: `postgres://studio:${encodeURIComponent(fs.readFileSync(path.join(CFG, "pg-password"), "utf8").trim())}@127.0.0.1:5432/studio` }); await c.connect();7await c.query(roleSql(fs.readFileSync(pwf, "utf8").trim())); await c.query(RLS_SQL); await c.end(); console.log("rls applied");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 692573d on master.
Approval requests
None pending.