feat: Implement core memory management with knowledge graph and evolution tracking

- Added core-memory.js and core-memory-graph.js for managing core memory views and visualizations.
- Introduced functions for viewing knowledge graphs and evolution history of memories.
- Implemented modal dialogs for creating, editing, and viewing memory details.
- Developed core-memory.ts for backend operations including list, import, export, and summary generation.
- Integrated Zod for parameter validation in core memory operations.
- Enhanced UI with dynamic rendering of memory cards and detailed views.
This commit is contained in:
catlog22
2025-12-18 10:07:29 +08:00
parent 4329bd8e80
commit e096fc98e2
23 changed files with 3876 additions and 23 deletions

View File

@@ -0,0 +1,38 @@
# 中文回复准则
## 核心原则
- **语言一致性**:所有回复必须使用中文(简体)
- **专业术语**:技术术语可保留英文原文,但需添加中文解释
- **代码注释**:代码注释使用英文(保持代码的国际化兼容性)
## 回复格式
### 一般对话
- 使用简洁、清晰的中文表达
- 避免过度使用网络用语或口语化表达
- 保持专业、礼貌的语气
### 技术讨论
- 技术概念首次出现时可用「中文English」格式
- 示例依赖注入Dependency Injection
- 后续可直接使用中文或英文缩写
### 代码相关
- 代码块内容保持英文(变量名、注释等)
- 代码解释使用中文
- 文件路径、命令等保持原样
## 格式规范
- 中英文之间添加空格:`使用 TypeScript 开发`
- 数字与中文之间添加空格:`共有 3 个文件`
- 标点符号使用中文全角标点:`,。!?:;`
- 引用代码或命令时使用反引号:`npm install`
## 注意事项
- 不要在代码文件中写入中文(保持代码的国际化)
- 错误信息和日志保持英文
- Git commit 信息保持英文
- 文档文件可根据需要使用中文