fix: add databasePath alias to plugin schema#241
Merged
jalehman merged 1 commit intoApr 3, 2026
Merged
Conversation
|
how about |
Contributor
This hasn't been released yet — you'd need to run off of main for this one. |
Keep the plugin manifest schema aligned with the runtime config aliases by accepting `databasePath` alongside `dbPath`. This narrows the original schema-sync contribution down to the one remaining alias that was not already merged through PR Martian-Engineering#252.
50b2e8c to
69cc85b
Compare
Contributor
|
I missed your earlier PR here, and that was my mistake. I had already merged overlapping schema-sync work in #252 before I realized you had a similar fix open. Rather than closing this out as redundant, I rebased your branch onto current I wanted to keep that piece on your PR so you still get contribution credit for it. Thanks for spotting the schema gap. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This PR adds
databasePathtoopenclaw.plugin.jsonso the manifest schema accepts the runtime-supported alias fordbPath.Why
Lossless-claw's runtime config loader accepts both
dbPathanddatabasePath, but OpenClaw validates plugin config againstopenclaw.plugin.jsonwithadditionalProperties: false. Without this alias in the schema, a valid runtime config key can still be rejected before startup.Changes
databasePathto plugin manifest schemaTesting
openclaw.plugin.jsonafter the schema updatedatabasePathas a config alias