fix(openclaw): remove format:uri to fix ajv warning (#309)

Remove `format: "uri"` from hindsightApiUrl schema property.

OpenClaw's schema validator uses Ajv without ajv-formats loaded, causing:
  unknown format "uri" ignored in schema at path "#/properties/hindsightApiUrl"

The URI validation isn't critical since invalid URLs will fail at connection time.
This removes the warning without affecting functionality.
This commit is contained in:
Dewaldt Huysamen 2026-02-06 11:45:43 +02:00 committed by GitHub
parent 0d8d805832
commit 96f487213c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,8 +49,7 @@
},
"hindsightApiUrl": {
"type": "string",
"description": "External Hindsight API URL (e.g. 'https://mcp.hindsight.devcraft.team'). When set, skips local daemon and connects directly to this API.",
"format": "uri"
"description": "External Hindsight API URL (e.g. 'https://mcp.hindsight.devcraft.team'). When set, skips local daemon and connects directly to this API."
},
"hindsightApiToken": {
"type": "string",