replace main with lightweight memory gateway

This commit is contained in:
2026-06-11 10:06:48 +08:00
parent 000415404b
commit b74923e435
56 changed files with 2052 additions and 76129 deletions

16
.env.example Normal file
View File

@ -0,0 +1,16 @@
# EverOS HTTP server used by the gateway client.
EVEROS_BASE_URL=http://127.0.0.1:1995
# Gateway-owned SQLite database. This does not point at EverOS internal storage.
MEMORY_GATEWAY_DB_PATH=./data/memory_gateway.sqlite3
# Raw uploaded files are stored here before being passed to EverOS by file URI.
MEMORY_GATEWAY_STORAGE_DIR=./data/storage
# Number of resource session IDs sent per EverOS search request.
MEMORY_GATEWAY_RESOURCE_SEARCH_BATCH_SIZE=50
# API server settings used by python main.py.
MEMORY_GATEWAY_HOST=0.0.0.0
MEMORY_GATEWAY_PORT=8010
MEMORY_GATEWAY_RELOAD=false