fix: auto-clean orphan entities on purge; fix graph camera zoom; optimize system prompt

This commit is contained in:
root
2026-04-28 16:27:49 +08:00
parent aefaea7b90
commit ad382602f2
32 changed files with 1033 additions and 1299 deletions

View File

@ -21,6 +21,7 @@ TrulyMEM-TrueHumanMEM/
│ ├── graph_client.py # OpenAI/DeepSeek API 客户端
│ ├── tool_executor.py # 工具执行器
│ ├── tool_limiter.py # 工具调用限制器
│ ├── web_api.py # Web API 服务(登录 + RESTful API
│ ├── tools/ # 工具定义
│ │ └── memory_tools.py
│ └── prompts/ # 提示词管理
@ -31,12 +32,16 @@ TrulyMEM-TrueHumanMEM/
│ ├── models/ # 数据模型
│ ├── services/ # 服务层(仅配置管理)
│ ├── handlers/ # 事件处理
── styles/ # 样式文件
├── web_api.py # Web API 服务(登录 + RESTful API
├── templates/login.html # 登录页面模板
├── static/ # Web 前端静态文件(星图可视化)
├── web_config.json # Web 服务配置文件(敏感信息,不提交)
└── web_config.example.json # Web 配置模板
── styles/ # 样式文件
│ ├── static/ # Web 前端静态文件(星图可视化
│ │ ├── graph.html
└── index.html
│ └── templates/ # 页面模板
│ ├── login.html
│ ├── setup.html
│ └── settings.html
│ ├── web_config.json # Web 服务配置文件(敏感信息,不提交)
│ └── web_config.example.json # Web 配置模板
```
## 架构图