Skip to content

Commit d552782

Browse files
groksrcclaude
andcommitted
fix: declare contracts.tools to silence v2026.5.x registerTool warnings
Adds the 14 agent tools the plugin registers via api.registerTool to contracts.tools so OpenClaw v2026.5.x's descriptor-first planner can narrow plugin loading without importing the runtime. Also bumps the openclaw peer dep to >=2026.5.2 to track the version that introduced the enforcement warning. Closes #40 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e95a455 commit d552782

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

openclaw.plugin.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
{
22
"id": "openclaw-basic-memory",
33
"kind": "memory",
4+
"contracts": {
5+
"tools": [
6+
"build_context",
7+
"delete_note",
8+
"edit_note",
9+
"list_memory_projects",
10+
"list_workspaces",
11+
"memory_get",
12+
"memory_search",
13+
"move_note",
14+
"read_note",
15+
"schema_diff",
16+
"schema_infer",
17+
"schema_validate",
18+
"search_notes",
19+
"write_note"
20+
]
21+
},
422
"skills": [
523
"skills/memory-defrag",
624
"skills/memory-ingest",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@sinclair/typebox": "0.34.47"
5050
},
5151
"peerDependencies": {
52-
"openclaw": ">=2026.3.7"
52+
"openclaw": ">=2026.5.2"
5353
},
5454
"scripts": {
5555
"postinstall": "bash scripts/setup-bm.sh || true",

0 commit comments

Comments
 (0)