fix: sync plugin config schema#252
Merged
Merged
Conversation
Update the published plugin manifest so runtime-supported config keys are accepted by OpenClaw instead of being rejected as additional properties. Add a patch changeset for the next release, remove the dead autocompactDisabled config option from the advertised surface, and add regression coverage plus repo instructions to keep the manifest in sync with runtime config changes. Regeneration-Prompt: | Prepare the lossless-claw branch for the next release after users reported that documented plugin config keys were rejected by the published openclaw.plugin.json schema. Keep the fix additive and release-ready: sync the manifest uiHints and configSchema with the actual runtime-supported plugin config surface, remove any config option that is parsed but not wired to behavior instead of advertising it, add regression tests so future config drift is caught, add a patch changeset because this affects user-visible package behavior, and update the repo instructions so future config changes also update the manifest.
63b2b8a to
f3d9606
Compare
Merged
jalehman
pushed a commit
to mhprol/lossless-claw
that referenced
this pull request
Apr 3, 2026
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.
jalehman
pushed a commit
that referenced
this pull request
Apr 3, 2026
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 #252.
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 syncs
openclaw.plugin.jsonwith the runtime-supported plugin config surface so valid lossless-claw settings are accepted by OpenClaw instead of failing schema validation. It also removes the deadautocompactDisabledoption from the advertised config surface and adds release metadata plus regression coverage to keep the manifest from drifting again.Why
Issue #247 reported that the published docs and runtime supported config keys that the published plugin manifest rejected as additional properties, which could prevent the gateway from starting. The manifest is the schema OpenClaw enforces, so it needs to stay aligned with the actual config loader and documented settings.
Changes
autocompactDisabledoptionopenclaw.plugin.jsonsrc/db/config.tsautocompactDisabledparsing from runtime configREADME.mdLCM_AUTOCOMPACT_DISABLEDdocumentationtest/config.test.tstest/engine.test.tstest/expansion.test.tstest/lcm-expand-query-tool.test.tstest/lcm-expand-tool.test.tstest/lcm-tools.test.tstest/session-operation-queues.test.tstest/summarize.test.tsAGENTS.md.changeset/plugin-config-schema-sync.mdTesting
npx vitest run test/config.test.ts test/engine.test.ts test/expansion.test.ts test/lcm-expand-query-tool.test.ts test/lcm-expand-tool.test.ts test/lcm-tools.test.ts test/session-operation-queues.test.ts test/summarize.test.tsFixes #247