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

@@ -48,7 +48,7 @@ tools:
| Audit Log | 审计日志 | 不可变日志 |
| Key Manager | 密钥管理 | HSM/KMS |
## OpenFang 身份模型
## ZCLAW 身份模型
```toml
# agent-identity.toml

View File

@@ -283,7 +283,7 @@ metrics:
- cross_source_match: 0.90
```
## OpenFang Hand 集成
## ZCLAW Hand 集成
```toml
# hands/data-consolidator.toml

View File

@@ -164,7 +164,7 @@ save_index --db $INDEX_DB --path $INDEX_PATH
watch_sources --on-change "incremental_update"
```
## OpenFang LSP 集成
## ZCLAW LSP 集成
```toml
# lsp-config.toml
@@ -173,7 +173,7 @@ enabled = true
port = 4000
[lsp.index]
cache_dir = "~/.openfang/lsp-cache"
cache_dir = "~/.zclaw/lsp-cache"
max_memory_mb = 512
update_interval_ms = 100

View File

@@ -203,7 +203,7 @@ triggers:
report: "revenue-alert"
```
## OpenFang 集成
## ZCLAW 集成
```toml
# hands/report-distributor.toml
@@ -214,8 +214,8 @@ trigger = "scheduled"
auto_approve = false
[hand.config]
templates_dir = "~/.openfang/report-templates"
output_dir = "~/.openfang/reports"
templates_dir = "~/.zclaw/report-templates"
output_dir = "~/.zclaw/reports"
max_concurrent = 5
[hand.distribution]

View File

@@ -286,7 +286,7 @@ rules:
action: skip
```
## OpenFang Hand 集成
## ZCLAW Hand 集成
```toml
# hands/sales-extractor.toml

View File

@@ -61,7 +61,7 @@ tools:
### Backend Integration
- **API 集成**: REST, GraphQL, WebSocket
- **协议处理**: OpenFang REST API, WebSocket 事件流
- **协议处理**: ZCLAW REST API, WebSocket 事件流
- **配置管理**: TOML 解析, 环境变量
## 🔄 Workflow Process