Skip to content
  1. Home
  2. workspace
Checking…
Demo view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, 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

app/src/lib/requirements.ts

1// Deterministic, rule-based requirements draft. NOT an LLM — labelled as such in the UI until a provider is connected.
2export type WizardData = { engine?: string; description: string; appType: string; audience: string; features: string[]; design: string; refs: string; env: string; domain: string; budgetUsd: number; autonomy: string };
3
4export const APP_TYPES = ["Web application", "Internal dashboard", "Marketing site", "API service", "Mobile-first PWA"];
5export const FEATURES = ["User authentication (Zoo IAM)", "Admin dashboard", "File uploads", "Notifications", "Reporting & export", "Payments (requires approval)", "Search", "Multi-language (EN/BN)"];
6export const STACKS: Record<string, string> = {
7 "Web application": "Next.js + TypeScript + PostgreSQL", "Internal dashboard": "Next.js + shadcn/ui + PostgreSQL",
8 "Marketing site": "Next.js static export + Tailwind", "API service": "NestJS + PostgreSQL", "Mobile-first PWA": "Next.js PWA + Tailwind" };
9
10export function draftRequirements(d: WizardData): string {
11 const feats = d.features.length ? d.features.map(f => `- ${f}`).join("\n") : "- (none selected)";
12 return `# Requirements draft (rule-based)\n\n## Summary\n${d.description.trim() || "(no description)"}\n\n## Type & audience\n- Type: ${d.appType}\n- Audience: ${d.audience || "unspecified"}\n\n## Features\n${feats}\n\n## Design\n${d.design || "unspecified"}\n${d.refs ? `\nReference URLs (untrusted until reviewed): ${d.refs}\n` : ""}\n## Delivery\n- Recommended stack: ${STACKS[d.appType] ?? "TBD"}\n- Environment: ${d.env}\n- Domain: ${d.domain || "none yet"}\n- Budget cap: $${d.budgetUsd}\n- Autonomy: ${d.autonomy}\n\n## Guardrails\n- Purchases, deletions and credential changes always require approval.\n- Budget, timeout and retry limits apply to every run.\n`;
13}
14

Conversation

Partial
Sign 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.