Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix(openclaw-plugin): pin mode and captureMode to allowed values (#5234)

auyua9b5202d292978
diff --git a/examples/openclaw-plugin/openclaw.plugin.json b/examples/openclaw-plugin/openclaw.plugin.json
index 65358fa1e..67457bffe 100644
--- a/examples/openclaw-plugin/openclaw.plugin.json
+++ b/examples/openclaw-plugin/openclaw.plugin.json
@@ -274,6 +274,7 @@
"properties": {
"mode": {
"type": "string",
+ "enum": ["local", "remote"],
"description": "Legacy field kept for backward compatibility. Only 'remote' is supported."
},
"baseUrl": {
@@ -350,7 +351,8 @@
"type": "boolean"
},
"captureMode": {
- "type": "string"
+ "type": "string",
+ "enum": ["semantic", "keyword"]
},
"captureMaxLength": {
"type": "number"