feat: web login system, auto-load history, config extraction
- Add Flask session-based authentication (username/password login) - Auto-load chat history from backend on page load - Extract SECRET_KEY and user credentials to web_config.json - Create web_config.example.json as template - Add web_config.json to .gitignore (sensitive info) - Update docs: architecture, API reference, quick start guides
This commit is contained in:
@ -32,7 +32,11 @@ TrulyMEM-TrueHumanMEM/
|
||||
│ ├── services/ # 服务层(仅配置管理)
|
||||
│ ├── handlers/ # 事件处理
|
||||
│ └── styles/ # 样式文件
|
||||
└── tests/ # 测试 (54 tests)
|
||||
├── web_api.py # Web API 服务(登录 + RESTful API)
|
||||
├── templates/login.html # 登录页面模板
|
||||
├── static/ # Web 前端静态文件(星图可视化)
|
||||
├── web_config.json # Web 服务配置文件(敏感信息,不提交)
|
||||
└── web_config.example.json # Web 配置模板
|
||||
```
|
||||
|
||||
## 架构图
|
||||
|
||||
Reference in New Issue
Block a user