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/ai-enqueue.mjs
1import pg from "pg"; import fs from "node:fs"; import os from "node:os";2const pw=fs.readFileSync(os.homedir()+"/.config/zoo-cloud-studio/pg-password","utf8").trim();3const c=new pg.Client({connectionString:`postgres://studio:${encodeURIComponent(pw)}@127.0.0.1:5432/studio`});await c.connect();4const [,, prompt, sid]=process.argv; const n=new Date().toISOString();5let id=sid; if(!id){id="ses_t"+Date.now();await c.query("INSERT INTO ai_sessions(id,title,provider,model,budget_usd,created_at,updated_at,org_id) VALUES($1,'t','mock','mock-1',1,$2,$2,'org_owner')",[id,n]);}6const run="run_t"+Date.now();7await c.query("INSERT INTO ai_messages(session_id,role,content,created_at) VALUES($1,'user',$2,$3)",[id,prompt,n]);8await c.query("INSERT INTO ai_runs(id,session_id,created_at,updated_at) VALUES($1,$2,$3,$3)",[run,id,n]);9console.log(id,run);await c.end();10
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.