TypeScript plugin that bridges OpenClaw to ZhiYi MemoryWeave: - ZhiYiClient: REST API wrapper (commit/recall/searchNotes/navigate) - Plugin hooks: memory:recall, memory:commit, memory:graphNavigate, memory:searchNotes - CLI: LanceDB migration tool (placeholder — needs OpenClaw LanceDB reader) - package.json with axios + TypeScript deps - README with install instructions Namespace: openclaw-main (isolated from hermes-main) TODO: implement LanceDB reader for migration
703 B
703 B
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