Repository navigation
Commit 9b5f9f9
committed
feat: 完善全栈基础设施 — 加密模块、AI 网关 GLM 提供商、同步服务 WebSocket 与 Redis 缓存
Client:
- 新增 crypto 模块(CryptoManager、encryption 加密工具)
- 新增 useMode Hook 与 ModeManager 测试
- 新增 AI 网关 Tauri 桥接模块(ai_gateway.rs)
- 新增 RemoteAIPlugin、apiClient、SyncEngine、NetworkManager 单元测试
- 重构 AI 插件加载器与远程插件类型定义
- 重构存储层(StorageAdapter、storageFactory、writeWithLog)
- 重构同步引擎与网络管理器
- 更新 Tauri 配置、Cargo 依赖与 capabilities
- 更新 Navbar、NoteEditPage、SettingsPage 页面
Server AI Gateway:
- 新增智谱 GLM 提供商(glm_provider.py)
- 新增完整测试套件(providers、routers、config、errors)
- 重构认证中间件与提供商基类
- 更新 DeepSeek、通义千问提供商与路由模块
Server Sync Service:
- 新增 WebSocket 实时同步处理器
- 新增 Redis 缓存层
- 新增数据模型层(models、database)
- 新增同步处理器与模型单元测试
- 重构同步处理器、认证中间件与主入口1 parent 60ffe1d commit 9b5f9f9
66 files changed
Lines changed: 6081 additions & 1826 deletions
File tree
- client
- src-tauri
- capabilities
- gen/schemas
- src
- src
- components/layout
- features
- feynman/store
- notes/pages
- hooks
- lib
- ai
- crypto
- http
- mode
- storage
- sync
- pages
- server
- ai-gateway
- middleware
- providers
- routers
- tests
- sync-service
- cache
- handlers
- middleware
- models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
22 | 24 | | |
23 | | - | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments