Hermes 插件 (~/.hermes/plugins/memory/zhiyi/__init__.py): - 新增 memory_feedback 工具(useful/not-useful → VProp + Dashboard) - 新增 memory_metrics 工具(7项自优化指标) - recall 结果含 quality_score/v_value 字段 - system_prompt 新增 feedback/metrics 使用引导 OpenClaw 插件 (openclaw-zhiyi-plugin/): - v0.5.0 — 3项修改由小雪完成 - types.ts: RecallResult 加 quality_score/v_value - client.ts: navigate 改 GET+params; 加 metrics()/gaps() - index.ts: 注册 memory_feedback/memory_metrics/memory_gaps 工具 |
||
|---|---|---|
| .. | ||
| dist | ||
| node_modules | ||
| scripts | ||
| src | ||
| README.md | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
README.md
memory-zhiyi — OpenClaw ZhiYi Memory Plugin
ZhiYi MemoryWeave plugin for OpenClaw. Replaces memory-lancedb-pro with semantic memory + knowledge graph + Obsidian integration.
Quick Start
# Install
cd ~/.openclaw/workspace/plugins/
git clone <this-repo> memory-zhiyi
cd memory-zhiyi
npm install
npm run build
# Configure in ~/.openclaw/config.yaml:
memory:
provider: zhiyi
zhiyi:
base_url: http://localhost:7821
api_key: your-key
namespace: openclaw-main
Architecture
src/client.ts— ZhiYi REST API wrappersrc/index.ts— OpenClaw plugin entry (register hooks)src/cli.ts— LanceDB → ZhiYi migration CLIsrc/types.ts— TypeScript interfaces