docs: 更新功能文档以反映 Agent Growth System 实现
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

- 更新 README.md 版本至 v0.6.0
- 添加 zclaw-growth crate (第 9 个 crate)
- 添加 Agent Growth System 组件状态表
- 更新关键指标 (135 tests, 9 crates)
- 更新 roadmap.md 当前状态和执行清单

Agent Growth System 包含:
- SqliteStorage + FTS5 全文搜索
- MemoryRetriever + TF-IDF 语义检索
- PromptInjector + Token 预算控制
- MemoryExtractor + LLM 驱动提取
- VikingAdapter 存储抽象层

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-03-26 18:39:40 +08:00
parent 14f8d4d3ad
commit ef3d4e3094
2 changed files with 40 additions and 15 deletions

View File

@@ -1,11 +1,11 @@
# ZCLAW 功能全景文档
> **版本**: v0.5.0
> **版本**: v0.6.0
> **更新日期**: 2026-03-26
> **项目状态**: 完整 Rust Workspace 架构,8 个核心 Crates78+ 技能Pipeline DSL + Smart Presentation
> **架构**: Tauri 桌面应用Rust Workspace (8 crates) + React 前端
> **项目状态**: 完整 Rust Workspace 架构,9 个核心 Crates78+ 技能Pipeline DSL + Smart Presentation + Agent Growth System
> **架构**: Tauri 桌面应用Rust Workspace (9 crates) + React 前端
> 📋 **重要**: ZCLAW 采用 Rust Workspace 架构,包含 8 个分层 Crates (types → memory → runtime → kernel → skills/hands/protocols/pipeline),所有核心能力集成在 Tauri 桌面应用中
> 📋 **重要**: ZCLAW 采用 Rust Workspace 架构,包含 9 个分层 Crates (types → memory → runtime → kernel → skills/hands/protocols/pipeline/growth),所有核心能力集成在 Tauri 桌面应用中
---
@@ -224,7 +224,7 @@
| 指标 | 数值 |
|------|------|
| **Rust Crates** | **8** (types, memory, runtime, kernel, skills, hands, protocols, pipeline) |
| **Rust Crates** | **9** (types, memory, runtime, kernel, skills, hands, protocols, pipeline, growth) |
| **SKILL.md 文件** | **78+** |
| 动态发现技能 | 78+ (100%) |
| Hands 总数 | 11 |
@@ -234,13 +234,14 @@
| Zustand Store | **18+** |
| Tauri 命令 | **80+** |
| 代码行数 (前端) | ~30,000 |
| 代码行数 (后端 Rust) | ~15,000 |
| 代码行数 (后端 Rust) | ~18,000 |
| LLM Provider 支持 | **8** (Kimi, Qwen, DeepSeek, Zhipu, OpenAI, Anthropic, Gemini, Local/Ollama) |
| 智能层组件 | **6** (Memory, Heartbeat, Reflection, Identity, Compaction, Mesh) |
| MCP 协议 | ✅ 已实现 (stdio transport) |
| execute_skill 工具 | ✅ 已实现 |
| **Pipeline DSL** | ✅ 完整实现 |
| **内置工具** | **5** (file_read, file_write, shell_exec, web_fetch, execute_skill) |
| **Agent Growth System** | ✅ 完整实现 (SqliteStorage + FTS5 + TF-IDF + Memory Extractor) |
### 5.1 Crate 依赖关系
@@ -253,12 +254,26 @@ zclaw-runtime (L3: 运行时, LLM 驱动, 工具执行) - 90% 完整度
zclaw-kernel (L4: 核心协调, Agent 调度) - 85% 完整度
┌───┴───┬───────┬───────────┬──────────┐
│ │ │ │ │
skills hands protocols pipeline channels
(80%) (85%) (75%) (90%) (规划中)
┌───┴───┬───────┬───────────┬──────────┬────────
│ │ │ │ │
skills hands protocols pipeline growth channels
(80%) (85%) (75%) (90%) (95%) (规划中)
```
### 5.2 Agent Growth System (zclaw-growth)
**✅ 完整实现 (v0.6.0)**
| 组件 | 功能 | 状态 |
|------|------|------|
| SqliteStorage | SQLite + FTS5 全文搜索 | ✅ L4 |
| MemoryRetriever | TF-IDF 语义检索 | ✅ L4 |
| PromptInjector | Token 预算控制注入 | ✅ L4 |
| MemoryExtractor | LLM 驱动记忆提取 | ✅ L4 |
| VikingAdapter | 存储抽象层 | ✅ L4 |
**测试覆盖**: 135 tests (70 zclaw-growth + 65 desktop)
---
## 六、变更历史