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
7 lines
161 B
JavaScript
7 lines
161 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('./isObject')} */
|
|
module.exports = function isObject(x) {
|
|
return !!x && (typeof x === 'function' || typeof x === 'object');
|
|
};
|