docs: complete features docs sync — roadmap, TRUTH, security-auth
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
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
- roadmap.md: Tauri 177, skills 75, Pipeline 17 templates, Admin 15 pages - TRUTH.md: Admin V2 15 pages, desktop settings 19 tabs, changelog entry - 02-state-management.md: expanded Store details and descriptions - 03-security-auth.md: updated date - README.md: DeerFlow 2.0 description, skill count correction
This commit is contained in:
@@ -108,21 +108,24 @@
|
||||
|
||||
```
|
||||
store/
|
||||
├── connectionStore.ts # 连接状态管理
|
||||
├── chatStore.ts # 聊天状态 (最复杂)
|
||||
├── configStore.ts # 配置状态
|
||||
├── agentStore.ts # Agent 状态
|
||||
├── handStore.ts # Hand 状态
|
||||
├── workflowStore.ts # 工作流状态
|
||||
├── teamStore.ts # 团队状态
|
||||
├── gatewayStore.ts # Gateway 客户端状态
|
||||
├── securityStore.ts # 安全配置
|
||||
├── sessionStore.ts # 会话持久化
|
||||
├── memoryGraphStore.ts # 记忆图谱
|
||||
├── offlineStore.ts # 离线模式
|
||||
├── activeLearningStore.ts # 主动学习
|
||||
├── browserHandStore.ts # Browser Hand
|
||||
└── skillMarketStore.ts # 技能市场
|
||||
├── agentStore.ts # Agent 克隆管理
|
||||
├── artifactStore.ts # 生成物管理
|
||||
├── browserHandStore.ts # Browser Hand 状态
|
||||
├── chatStore.ts # 聊天协调器 (sub-store 入口)
|
||||
├── classroomStore.ts # 课堂/教学场景
|
||||
├── configStore.ts # 配置持久化
|
||||
├── connectionStore.ts # 连接状态管理
|
||||
├── conversationStore.ts # 会话管理 (chatStore sub-store)
|
||||
├── handStore.ts # Hand 触发管理
|
||||
├── memoryGraphStore.ts # 记忆图谱
|
||||
├── messageStore.ts # 消息管理 (chatStore sub-store)
|
||||
├── offlineStore.ts # 离线模式
|
||||
├── saasStore.ts # SaaS 平台集成
|
||||
├── securityStore.ts # 安全配置
|
||||
├── sessionStore.ts # 会话持久化
|
||||
├── streamStore.ts # 流式响应 (chatStore sub-store)
|
||||
├── workflowBuilderStore.ts # 工作流构建器
|
||||
└── workflowStore.ts # 工作流管理
|
||||
```
|
||||
|
||||
### 3.2 核心 Store 设计
|
||||
@@ -306,7 +309,7 @@ export const useChatStore = create<ChatState & ChatActions>()(
|
||||
| 指标 | 基线 | 目标 | 当前 |
|
||||
|------|------|------|------|
|
||||
| 测试覆盖 | 50% | 80% | 85% |
|
||||
| Store 数量 | 5 | 10+ | 15 |
|
||||
| Store 数量 | 5 | 10+ | 18 |
|
||||
| 持久化比例 | 30% | 70% | 65% |
|
||||
|
||||
---
|
||||
@@ -315,7 +318,7 @@ export const useChatStore = create<ChatState & ChatActions>()(
|
||||
|
||||
### 5.1 已实现功能
|
||||
|
||||
- [x] 15 个专用 Store
|
||||
- [x] 18 个专用 Zustand Store (含 ChatStore 4 sub-store 拆分)
|
||||
- [x] 持久化中间件
|
||||
- [x] 依赖注入模式
|
||||
- [x] 跨 Store 通信
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> **分类**: 架构层
|
||||
> **优先级**: P0 - 决定性
|
||||
> **成熟度**: L4 - 生产
|
||||
> **最后更新**: 2026-04-01
|
||||
> **最后更新**: 2026-04-06
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user