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-onlydeploy/caddy/owner-install.sh
1#!/usr/bin/env bash2# Owner-run (needs sudo): installs Caddy from the official apt repository and puts the Zloud console behind standard HTTPS (443 -> trusted edge on 8443).3# Idempotent. Review before running. It touches ONLY /etc/caddy and the caddy service; it does not change kernel/privilege settings or the Node binary.4set -euo pipefail5[ "$(id -u)" -eq 0 ] || { echo "run with sudo: sudo bash $0 <ops-contact-email>"; exit 1; }6EMAIL="${1:?usage: sudo bash owner-install.sh <ops-contact-email>}"; HERE="$(cd "$(dirname "$0")" && pwd)"7if ! command -v caddy >/dev/null; then8 apt-get install -y debian-keyring debian-archive-keyring apt-transport-https curl gpg9 curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg10 curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' > /etc/apt/sources.list.d/caddy-stable.list11 apt-get update && apt-get install -y caddy12fi13[ -f /etc/caddy/Caddyfile ] && cp -n /etc/caddy/Caddyfile /etc/caddy/Caddyfile.before-zloud14sed "s/owner@example.invalid/${EMAIL}/" "$HERE/Caddyfile.zloud" > /etc/caddy/Caddyfile15caddy validate --config /etc/caddy/Caddyfile --adapter caddyfile16systemctl enable --now caddy && systemctl reload caddy17sleep 5; echo "--- verify from this machine:"; curl -sS -o /dev/null -w "https://cloud.zoobd.com/ -> HTTP %{http_code}, TLS verify: %{ssl_verify_result} (0 = valid)\n" https://cloud.zoobd.com/ || true18echo "Rollback: sudo systemctl stop caddy && sudo cp /etc/caddy/Caddyfile.before-zloud /etc/caddy/Caddyfile (the :8443 endpoint is unaffected)"19
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 915def0 on master.
Approval requests
None pending.