From bf355bb30f8629792005a1fe361140e62f3a52af Mon Sep 17 00:00:00 2001 From: hushaowu-rh Date: Thu, 2 Jul 2026 15:27:49 -0700 Subject: [PATCH] Declare contracts.tools in plugin manifest Newer OpenClaw versions require plugins to declare owned agent tools in the manifest's contracts.tools before registering them at runtime. Without this declaration the gateway reports a plugin diagnostic error: conversation-archive: plugin must declare contracts.tools before registering agent tools Declare the two built-in tools (conversation_archive_search, conversation_archive_health) so tool ownership is discoverable without loading the plugin runtime. --- openclaw.plugin.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openclaw.plugin.json b/openclaw.plugin.json index 35cb4d3..2f8005f 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -3,6 +3,9 @@ "name": "Conversation Archive", "description": "Archives gateway-seen messages into workspace-local JSONL logs and bundles a skill for later history retrieval.", "skills": ["./skills"], + "contracts": { + "tools": ["conversation_archive_search", "conversation_archive_health"] + }, "configSchema": { "type": "object", "additionalProperties": false,