refactor: restructure to core/ + ui/ with multi-threaded backend

This commit is contained in:
root
2026-04-12 18:15:55 +08:00
parent c13d3f671c
commit 83906a6985
64 changed files with 5269 additions and 571 deletions

22
build/build_macos.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/bash
set -e
echo "Building macOS binary..."
if ! command -v python3 &> /dev/null; then
echo "Error: python3 not found"
exit 1
fi
pip3 install -r requirements.txt
python3 -m PyInstaller --clean --onefile --console \
--add-data "ui/styles:ui/styles" \
--add-data "core/prompts/templates:core/prompts/templates" \
--hidden-import textual \
--hidden-import openai \
--hidden-import neo4j \
--collect-all textual \
trulymem_entry.py
echo "Done! Binary: dist/TrulyMEM"