V2.9.3「织线纪元」— 知识图谱 · Docker · 导入导出
🧵 织线知识图谱 (Thread Knowledge Graph)
• 10种正则关系模式 — 纯本地,零LLM提取实体关系
• LLM手动补漏 — Agent可通过MCP工具补入遗漏的三元组
• 织布机桥接 — thread_weave直接输出因果链摘要
🐳 Docker一键部署
• docker-compose up -d → 3秒跑起MCP服务
• 数据持久化在Docker volume
• 无GPU要求,无API Key
📦 导入导出
• 沙漏迁移:export→拷贝→import→无缝合并
• 兼容ChatGPT/Claude对话导出
• 按时间戳去重,不重复落沙
🔧 18个MCP工具 (+6)
• sandglass_import / sandglass_export — 沙漏迁移
• sandglass_thread / thread_graph / thread_weave — 织线查询
• sandglass_thread_add — LLM手动补漏
🧠 注入增强
• 影子沙高信实体 + 事实标签注入session context
• 无纪律时提示LLM询问主人设定铁律
• sync_turn签名兼容性修复
📦 零依赖 · 纯Python stdlib+SQLite · MIT协议