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。包括: - 配置文件中的项目名称 - 代码注释和文档引用 - 环境变量和路径 - 类型定义和接口名称 - 测试用例和模拟数据 同时优化部分代码结构,移除未使用的模块,并更新相关依赖项。
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# V1 Viking Dead Code Archive
|
|
|
|
Archived on 2026-03-20 during gateway-client refactoring.
|
|
|
|
These files formed an isolated dependency island with **zero external consumers** in the active codebase. They implemented a Viking vector database integration that was never wired into the application's import graph.
|
|
|
|
## Archived Files
|
|
|
|
### lib/ (8 files)
|
|
- `viking-local.ts` — Local Viking server wrapper
|
|
- `viking-client.ts` — Viking HTTP client
|
|
- `viking-adapter.ts` — Viking adapter (bridge to memory system)
|
|
- `viking-server-manager.ts` — Viking server lifecycle management
|
|
- `viking-memory-adapter.ts` — Viking ↔ memory adapter
|
|
- `context-builder.ts` — Context builder using Viking
|
|
- `vector-memory.ts` — Vector memory using Viking
|
|
- `session-persistence.ts` — Session persistence using Viking
|
|
|
|
### tests/ (3 files)
|
|
- `viking-adapter.test.ts`
|
|
- `vector-memory.test.ts`
|
|
- `session-persistence.test.ts`
|
|
|
|
## Reason for Archival
|
|
- No file in `desktop/src/` imports any of these modules
|
|
- The entire chain is self-referential (only imports each other)
|
|
- Functionality has been superseded by ZCLAW's native memory/session APIs
|