@contextableai/openclaw-memory-rebac 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Generate /app/.env from environment variables for EverMemOS.
|
|
3
|
+
# Docker Compose sets these via env_file + environment directives.
|
|
4
|
+
# EverMemOS's setup_environment() expects a .env file at /app/.env.
|
|
5
|
+
|
|
6
|
+
env | grep -E '^(LLM_|VECTORIZE_|RERANK_|MONGODB_|ES_|MILVUS_|REDIS_|LOG_LEVEL|ENV|MEMORY_LANGUAGE|MOCK_MODE|MEMSYS_)' > /app/.env
|
|
7
|
+
|
|
8
|
+
exec /usr/bin/supervisord -n -c /etc/supervisor/conf.d/evermemos.conf
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
[supervisord]
|
|
2
|
+
nodaemon=true
|
|
3
|
+
user=root
|
|
4
|
+
logfile=/var/log/supervisord.log
|
|
5
|
+
pidfile=/var/run/supervisord.pid
|
|
6
|
+
|
|
7
|
+
; --------------------------------------------------------------------------
|
|
8
|
+
; MongoDB
|
|
9
|
+
; --------------------------------------------------------------------------
|
|
10
|
+
[program:mongodb]
|
|
11
|
+
command=/usr/bin/mongod --dbpath /data/mongodb --bind_ip 127.0.0.1 --quiet
|
|
12
|
+
autostart=true
|
|
13
|
+
autorestart=true
|
|
14
|
+
stdout_logfile=/dev/stdout
|
|
15
|
+
stdout_logfile_maxbytes=0
|
|
16
|
+
stderr_logfile=/dev/stderr
|
|
17
|
+
stderr_logfile_maxbytes=0
|
|
18
|
+
priority=10
|
|
19
|
+
|
|
20
|
+
; --------------------------------------------------------------------------
|
|
21
|
+
; Elasticsearch
|
|
22
|
+
; --------------------------------------------------------------------------
|
|
23
|
+
[program:elasticsearch]
|
|
24
|
+
command=/usr/share/elasticsearch/bin/elasticsearch
|
|
25
|
+
user=elasticsearch
|
|
26
|
+
autostart=true
|
|
27
|
+
autorestart=true
|
|
28
|
+
environment=ES_JAVA_HOME="/usr/share/elasticsearch/jdk",ES_HOME="/usr/share/elasticsearch"
|
|
29
|
+
stdout_logfile=/dev/stdout
|
|
30
|
+
stdout_logfile_maxbytes=0
|
|
31
|
+
stderr_logfile=/dev/stderr
|
|
32
|
+
stderr_logfile_maxbytes=0
|
|
33
|
+
priority=10
|
|
34
|
+
|
|
35
|
+
; --------------------------------------------------------------------------
|
|
36
|
+
; Milvus standalone (embedded etcd, local storage)
|
|
37
|
+
; --------------------------------------------------------------------------
|
|
38
|
+
[program:milvus]
|
|
39
|
+
command=/opt/milvus/bin/milvus run standalone
|
|
40
|
+
environment=MILVUS_LOG_LEVEL="warn",ETCD_USE_EMBED="true",ETCD_DATA_DIR="/data/milvus/etcd",ETCD_CONFIG_PATH="/opt/milvus/configs/embedEtcd.yaml",COMMON_STORAGETYPE="local",LOCAL_STORAGEPATH="/data/milvus/storage"
|
|
41
|
+
directory=/opt/milvus
|
|
42
|
+
autostart=true
|
|
43
|
+
autorestart=true
|
|
44
|
+
stdout_logfile=/dev/stdout
|
|
45
|
+
stdout_logfile_maxbytes=0
|
|
46
|
+
stderr_logfile=/dev/stderr
|
|
47
|
+
stderr_logfile_maxbytes=0
|
|
48
|
+
priority=10
|
|
49
|
+
|
|
50
|
+
; --------------------------------------------------------------------------
|
|
51
|
+
; Redis
|
|
52
|
+
; --------------------------------------------------------------------------
|
|
53
|
+
[program:redis]
|
|
54
|
+
command=/usr/bin/redis-server --bind 127.0.0.1 --dir /data/redis --appendonly yes --loglevel warning
|
|
55
|
+
autostart=true
|
|
56
|
+
autorestart=true
|
|
57
|
+
stdout_logfile=/dev/stdout
|
|
58
|
+
stdout_logfile_maxbytes=0
|
|
59
|
+
stderr_logfile=/dev/stderr
|
|
60
|
+
stderr_logfile_maxbytes=0
|
|
61
|
+
priority=10
|
|
62
|
+
|
|
63
|
+
; --------------------------------------------------------------------------
|
|
64
|
+
; EverMemOS API server (waits for backing services)
|
|
65
|
+
; --------------------------------------------------------------------------
|
|
66
|
+
[program:evermemos]
|
|
67
|
+
command=/bin/bash -c 'sleep 15 && cd /app && uv run python src/run.py'
|
|
68
|
+
autostart=true
|
|
69
|
+
autorestart=true
|
|
70
|
+
stdout_logfile=/dev/stdout
|
|
71
|
+
stdout_logfile_maxbytes=0
|
|
72
|
+
stderr_logfile=/dev/stderr
|
|
73
|
+
stderr_logfile_maxbytes=0
|
|
74
|
+
priority=20
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contextableai/openclaw-memory-rebac",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "OpenClaw two-layer memory plugin: SpiceDB ReBAC authorization + pluggable storage (Graphiti, EverMemOS)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
"schema.zed",
|
|
26
26
|
"docker/**/*.yml",
|
|
27
27
|
"docker/**/*.py",
|
|
28
|
+
"docker/**/*.sh",
|
|
29
|
+
"docker/**/*.conf",
|
|
28
30
|
"docker/**/*.example",
|
|
29
31
|
"docker/**/Dockerfile",
|
|
30
32
|
"scripts/",
|