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
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user