Enhance documentation and configuration for Memory Gateway and agent plugin

This commit is contained in:
2026-05-06 16:43:32 +08:00
parent c44af407d4
commit 602c2bd71b
3 changed files with 491 additions and 94 deletions

View File

@ -55,7 +55,8 @@ Install locally:
```bash
mkdir -p ~/.hermes/plugins
ln -s /home/tom/memory-gateway/plugins/memory-gateway-agent ~/.hermes/plugins/memory-gateway-agent
cd /opt/memory-gateway
ln -s "$(pwd)/plugins/memory-gateway-agent" ~/.hermes/plugins/memory-gateway-agent
hermes plugins enable memory-gateway-agent
hermes plugins list
hermes tools list
@ -134,7 +135,7 @@ Integration tests use:
Run cleanup:
```bash
cd /home/tom/memory-gateway
cd /opt/memory-gateway
PYTHONPATH=plugins/memory-gateway-agent python plugins/memory-gateway-agent/scripts/cleanup_test_memories.py
```
@ -143,7 +144,7 @@ The cleanup script refuses non-`test_user_` users. It first tries `DELETE /v1/me
## Local Smoke Test
```bash
cd /home/tom/memory-gateway
cd /opt/memory-gateway
PYTHONPATH=plugins/memory-gateway-agent python plugins/memory-gateway-agent/scripts/health.py
PYTHONPATH=plugins/memory-gateway-agent python plugins/memory-gateway-agent/scripts/smoke_test.py
PYTHONPATH=plugins/memory-gateway-agent python plugins/memory-gateway-agent/scripts/hermes_smoke_check.py