From b4bfdde8bda79c87ad89736061e01374c4b8266e Mon Sep 17 00:00:00 2001 From: saraphine001 <131572951+saraphine001@users.noreply.github.com> Date: Sat, 9 May 2026 23:18:19 +0800 Subject: [PATCH] fix: add missing contracts.tools declaration for OpenClaw tool allowlist --- .../memos-local-openclaw/openclaw.plugin.json | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/apps/memos-local-openclaw/openclaw.plugin.json b/apps/memos-local-openclaw/openclaw.plugin.json index bb828c19f..01e7ca7ae 100644 --- a/apps/memos-local-openclaw/openclaw.plugin.json +++ b/apps/memos-local-openclaw/openclaw.plugin.json @@ -20,7 +20,7 @@ } }, "requirements": { - "node": ">=18.0.0", + "node": ">=22.0.0", "openclaw": ">=2026.2.0" }, "setup": { @@ -33,5 +33,25 @@ "If better-sqlite3 fails to build, ensure you have C++ build tools: xcode-select --install (macOS) or build-essential (Linux)" ] }, - "extensions": ["./index.ts"] + "extensions": [ + "./index.ts" + ], + "contracts": { + "tools": [ + "memory_search", + "memory_get", + "memory_timeline", + "memory_viewer", + "task_summary", + "skill_search", + "skill_install", + "skill_upgrade", + "memory_share", + "memory_unshare", + "skill_publish", + "skill_unpublish", + "network_skill_pull", + "network_team_info" + ] + } }