refactor: 统一项目名称从OpenFang到ZCLAW
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

重构所有代码和文档中的项目名称,将OpenFang统一更新为ZCLAW。包括:
- 配置文件中的项目名称
- 代码注释和文档引用
- 环境变量和路径
- 类型定义和接口名称
- 测试用例和模拟数据

同时优化部分代码结构,移除未使用的模块,并更新相关依赖项。
This commit is contained in:
iven
2026-03-27 07:36:03 +08:00
parent 4b08804aa9
commit 0d4fa96b82
226 changed files with 7288 additions and 5788 deletions

View File

@@ -1,7 +1,7 @@
# 上下文压缩系统 (Context Compaction)
> **成熟度**: L4 - 生产
> **最后更新**: 2026-03-24
> **成熟度**: L3 - 成熟 (内核 AgentLoop 已集成,前端重复压缩已移除)
> **最后更新**: 2026-03-27
> **负责人**: Intelligence Layer Team
## 概述

View File

@@ -7,7 +7,7 @@
## 一、概述
本文档对比三个浏览器自动化工具,评估其与 ZCLAW/OpenFang 桌面客户端集成的可行性:
本文档对比三个浏览器自动化工具,评估其与 ZCLAW/ZCLAW 桌面客户端集成的可行性:
1. **Chrome 146 WebMCP** - 浏览器原生 AI Agent 协议
2. **Fantoccini** - Rust WebDriver 客户端
@@ -234,7 +234,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ React UI │ │ Tauri Rust │ │ OpenFang │ │
│ │ React UI │ │ Tauri Rust │ │ ZCLAW │ │
│ │ (前端) │ │ (后端) │ │ (Kernel) │ │
│ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │
│ │ │ │ │
@@ -295,10 +295,10 @@ export function registerZclawTools() {
return;
}
// 注册 OpenFang 能力
// 注册 ZCLAW 能力
navigator.modelContext.registerTool({
name: "openfang_chat",
description: "Send a message to OpenFang agent",
name: "zclaw_chat",
description: "Send a message to ZCLAW agent",
inputSchema: {
type: "object",
properties: {
@@ -308,8 +308,8 @@ export function registerZclawTools() {
required: ["message"]
},
execute: async ({ message, agent_id }) => {
// 调用 OpenFang Kernel
const response = await openfangClient.chat(message, agent_id);
// 调用 ZCLAW Kernel
const response = await zclawClient.chat(message, agent_id);
return { content: [{ type: 'text', text: response }] };
}
});