feat: 导入 MemRelay 初始源码

This commit is contained in:
Nixevol
2026-09-23 21:40:46 +08:00
commit 0ade3bb318
167 changed files with 53511 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -eu
cache_dir="${BASIC_MEMORY_SEMANTIC_EMBEDDING_CACHE_DIR:-/data/basic-memory/cache}"
mkdir -p "$cache_dir"
if [ -z "$(find "$cache_dir" -mindepth 1 -maxdepth 1 -print -quit)" ]; then
cp -R /opt/basic-memory-model/. "$cache_dir"/
fi
chown -R appuser:appgroup /data/basic-memory
exec gosu appuser "$@"