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
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:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* API Fallbacks for ZCLAW Gateway
|
||||
*
|
||||
* Provides sensible default data when OpenFang API endpoints return 404.
|
||||
* Provides sensible default data when ZCLAW API endpoints return 404.
|
||||
* This allows the UI to function gracefully even when backend features
|
||||
* are not yet implemented.
|
||||
*/
|
||||
@@ -178,7 +178,7 @@ export function getUsageStatsFallback(sessions: SessionForStats[] = []): UsageSt
|
||||
|
||||
/**
|
||||
* Convert skills to plugin status when /api/plugins/status returns 404.
|
||||
* OpenFang uses Skills instead of traditional plugins.
|
||||
* ZCLAW uses Skills instead of traditional plugins.
|
||||
*/
|
||||
export function getPluginStatusFallback(skills: SkillForPlugins[] = []): PluginStatusFallback[] {
|
||||
if (skills.length === 0) {
|
||||
@@ -215,7 +215,7 @@ export function getScheduledTasksFallback(triggers: TriggerForTasks[] = []): Sch
|
||||
|
||||
/**
|
||||
* Default security status when /api/security/status returns 404.
|
||||
* OpenFang has 16 security layers - show them with conservative defaults.
|
||||
* ZCLAW has 16 security layers - show them with conservative defaults.
|
||||
*/
|
||||
export function getSecurityStatusFallback(): SecurityStatusFallback {
|
||||
const layers: SecurityLayerFallback[] = [
|
||||
|
||||
Reference in New Issue
Block a user