Files
themiz/cockpit/start.command
T
tv5171621-source 1ba62e59eb feat: full system update — cockpit, local-first extraction, self-learning, self-update
- cockpit/ UI (FastAPI): live agent switching, sequential chat, Femida goddess voice, Apple aesthetics, generic Themis branding
- extraction: Apple Vision OCR + markitdown + whisper, mixed-PDF, requisites sidecar, adaptive OCR (Ollama removed)
- self-learning: redline (baseline diff → knowledge/redlines.md) + error analysis
- /themis-update skill: pull latest logic from GitHub without touching cases/ or knowledge/
- portable paths (THEMIS_HOME env), bundled vision-ocr.swift built by install.sh
- comprehensive install.sh, README with screenshot, LICENSE (MIT), CONTRIBUTING
- synthetic example case (ivanov-ivan); zero client data
2026-06-15 01:44:47 +03:00

11 lines
557 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
# Бьём старый сервер по ПОРТУ, не по имени: cmdline = "python3 app.py" (cwd=cockpit),
# паттерн "cockpit/app.py" не совпадал → старый процесс с устаревшим кодом держал порт.
OLD=$(lsof -nP -iTCP:8800 -sTCP:LISTEN -t 2>/dev/null)
[ -n "$OLD" ] && kill -9 $OLD 2>/dev/null
pkill -f "app.py" 2>/dev/null; sleep 1
python3 app.py >/tmp/cockpit.log 2>&1 &
sleep 3; open http://localhost:8800
echo "Femida Cockpit → http://localhost:8800"