docs: sync features docs with current project state
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

Update docs/features/ to reflect latest architecture:
- Tauri commands: 177 (160 @connected + 16 @reserved)
- Zustand stores: 18 (including chatStore 4 sub-stores)
- SaaS API routes: 131 (12 modules, 34 data tables)
- Workers: 7 (added AggregateUsage + GenerateEmbedding)
- React 19 + Tailwind 4 tech stack
- Schema v8, subtaskStatus taskId threading
This commit is contained in:
iven
2026-04-06 22:45:29 +08:00
parent 02c69bb3cf
commit efc391a165
6 changed files with 48 additions and 34 deletions

View File

@@ -3,7 +3,7 @@
> **分类**: 架构层
> **优先级**: P0 - 决定性
> **成熟度**: L4 - 生产
> **最后更新**: 2026-04-01
> **最后更新**: 2026-04-06
> **验证状态**: 代码已验证
---
@@ -20,10 +20,10 @@
| 优先级 | P0 |
| 成熟度 | L4 |
| 依赖 | Tauri Runtime 2.x |
| Tauri 命令数量 | **175** (kernel 34 + pipeline 10 + browser 22 + intelligence 35 + memory 14 + cli 13 + viking 13 + llm 3 + secure_storage 4 + classroom 27) |
| Tauri 命令数量 | **177** (160 @connected + 16 @reserved + 1 unregistered) |
| Rust Crates | 10 个 (types, memory, runtime, kernel, skills, hands, protocols, pipeline, growth, saas) |
| 连接模式 | 3 种 (Tauri Kernel / Gateway WebSocket / SaaS Cloud) |
| SaaS API 路由 | 58 (Axum + PostgreSQL, 10 模块 + 1 health) |
| SaaS API 路由 | 131 (Axum + PostgreSQL, 10 模块 + 1 health) |
### 1.2 相关文件
@@ -321,6 +321,7 @@ try {
- [x] 8 个 LLM Provider 支持 (含 Gemini)
- [x] UI 模型配置
- [x] 流式响应 (Tauri 事件 stream:chunk + SSE)
- [x] `subtaskStatus` 流式事件 — 子任务状态变更通过 `taskId` 字段标识,用于跟踪 Agent 子任务执行进度
- [x] 连接状态管理
- [x] 错误处理
- [x] SaaS 30+ API 方法客户端
@@ -367,4 +368,4 @@ try {
---
**最后更新**: 2026-04-01
**最后更新**: 2026-04-06