Commit Graph
4 Commits
Author SHA1 Message Date
xiaowei c5835def8f feat: 双插件推送 — Hermes + OpenClaw zhiyi 插件同步
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 工具
2026-05-30 15:00:33 +08:00
xiaowei da917f7eb8 feat: openclaw memory-zhiyi plugin v0.2.0 — 修复agent_id, 增加feedback/prefetch/forget/stats, 增强错误处理 2026-05-30 04:20:24 +08:00
xiaowei 4a67916cb5 feat: complete OpenClaw→ZhiYi migration with Python fallback
openclaw-zhiyi-plugin/:
- cli.ts: migrate/status/test-zhiyi commands, LanceDB reader
  (NOTE: LanceDB reader requires OpenClaw environment — SDK path bug
   means it must be run ON the OpenClaw machine where DB is accessible)
- client.ts: ZhiYiClient wrapper
- index.ts: plugin hooks (memory:commit/recall/graphNavigate/searchNotes)
- TypeScript compiled to dist/ (required for direct deployment)
- tsconfig.json with node types

scripts/migrate_lancedb_to_zhiyi.py:
- Python fallback migration script using curl for ZhiYi API
- Node.js LanceDB reader via memory-lancedb-pro node_modules
- LanceDB path fallback (parent dir for v2 format)
- batch commit with individual fallback
- test-zhiyi/status/migrate commands

Namespace: openclaw-main (isolated from hermes-main)
2026-05-29 18:12:47 +08:00
xiaowei 5637da24e6 feat: OpenClaw ZhiYi memory plugin scaffold
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
2026-05-29 17:12:45 +08:00