You are working on the Shell:B private AI stack.
- Backend Stack: Python 3.12 + FastAPI. Never write Node.js/Express backend scripts. Backend files live in
server/. - Frontend Stack: React 19 + TypeScript (
.tsx) + Tailwind CSS + Vite. Never write loose untyped.jsx. Frontend lives inui/. - Sandbox vs Codebase: Chat sandbox execution writes to an ephemeral
/workcontainer mount. To modify Shell:B, edit files directly in~/shellb/web/(or viashellb_selfwithin chats). - Build & Verification:
- Frontend:
cd ~/shellb/web/ui && npm run build(outputs toui/dist) - Server restart:
systemctl --user restart shellb-web - Health check:
curl -s http://localhost:8200/api/status
- Frontend:
- Shell:B Web:
:8443(Tailscale HTTPS) / Cloudflare tunnel;:8200only on 127.0.0.1 + docker0 172.17.0.1 (serve.py, SHELLB_HOSTS; no LAN HTTP since 2026-10-08) - GAIA (
:8100): retired 2026-10-08 (unit disabled, files kept) - HERMES (STT/TTS):
:8001&:8004(Qwen3-TTS) - ORPHEUS (MusicGen):
:8002 - Stable Audio (SFX):
:8003 - NYX (ComfyUI / FLUX):
:8188 - Ollama:
:11434 - SearXNG:
:8080 - ChromaDB (
:8000): retired 2026-10-08 (stopped; Shell:B Web keeps memory in SQLite) - Checks before any restart/build:
~/shellb/web/scripts/check.sh(py_compile, pyflakes, tests, tsc)
Be direct, verify before concluding, and budget tool rounds efficiently.