docs: fix documentation-source mismatches across all doc files

- Go version: 1.19+/1.21+ → 1.25+ (matches go.mod)
- document/doc.go → document/document.go (actual filename)
- PluginSDK: 3 channels → 4 channels (add RegisterOutputChannel)
- InjectInput/InjectInterrupt: 3 params → 4 params (add eventType)
- RegisterChannel: document agentIO.Device interface requirement
- Architecture: remove non-existent snapshot/tokenizer dirs, add skill/meta
- Architecture: fix double internal/internal/sdk, fix Jaccard threshold
- Adapter: add http_get/http_post Lua VM built-ins
- Knowledge: 4-layer → 3-layer memory, CGO for go-sqlite3 not overlayfs
- Code structure tree: fix sdk/ and lua/adapters/ path consistency
This commit is contained in:
root
2026-07-16 23:17:55 +08:00
parent 121a2edbc5
commit dd01388e76
11 changed files with 64 additions and 36 deletions

View File

@ -30,8 +30,8 @@ HomeAgent 采用内核 + 插件双层架构:
## 核心特性
### 内核
- **LLM 引擎**:多 Provider 自动故障转移8 个适配器(DeepSeek/Anthropic/Gemini/GitHub/Groq/Mistral/Ollama/OpenAI自动降级
- **记忆系统**层记忆架构——图记忆(实体+关系)、文档记忆、文本记忆、社交记忆,向量索引检索
- **LLM 引擎**:多 Provider 自动故障转移8 个适配器Anthropic/DeepSeek/Gemini/GitHub/Groq/Mistral/Ollama/OpenAI自动降级
- **记忆系统**层记忆架构——上下文记忆Context、文档记忆Document、图记忆Graph实体+关系),向量索引检索;文本记忆与社交记忆为辅助存储
- **上下文管理**:自动剪枝低相关性事件,蒸馏重要信息写入长期记忆,有效防止上下文膨胀和记忆衰减
- **工具调度**:同质阶段并行执行,支持 pre_action/post_action/on_input 等生命周期钩子
- **事件总线**:发布/订阅模式,插件间松耦合通信
@ -49,8 +49,8 @@ HomeAgent 采用内核 + 插件双层架构:
- 文件变更追踪基于 overlayfs 实现
## 技术栈
- 语言Go 1.19+
- 构建:标准 Go toolchainCGO_ENABLED=1overlayfs 依赖)
- 语言Go 1.25+
- 构建:标准 Go toolchainCGO_ENABLED=1go-sqlite3 依赖)
- 插件Go -buildmode=plugin
- LLM 适配Lua 胶水层8 个适配器
- 搜索:内置 TF-IDF 向量化器