fix: add OpenClaw 2026.5 compiled runtime compatibility#755
Open
choucheyu wants to merge 2 commits intoCortexReach:masterfrom
Open
fix: add OpenClaw 2026.5 compiled runtime compatibility#755choucheyu wants to merge 2 commits intoCortexReach:masterfrom
choucheyu wants to merge 2 commits intoCortexReach:masterfrom
Conversation
a04a2e1 to
ab56da4
Compare
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.
Summary
This PR is scoped to OpenClaw 2026.5 runtime/plugin-contract compatibility for
memory-lancedb-pro.It includes:
dist/package.json/openclaw.extensionsat./dist/index.js1.1.0-beta.11openclaw.plugin.json→contracts.toolsregisterMemoryCapabilityfor hosts/test stubs that do not expose itapi.resolvePathimport()instead ofrequire()so the compiled ESM runtime works under OpenClaw 2026.5What this fixes
Validated locally against OpenClaw 2026.5.4:
openclaw doctorcontracts.toolsregistration error for this pluginrequire is not definedduring retrieval / auto-recallrunBackupno longer fails from double-resolving an already-absolutedbPathembedding: OK,retrieval: OK,FTS: enabledmemory_store/memory_recallwrite-read path works against the existing LanceDB databaseRelated upstream work
Related to / overlaps parts of:
contracts.toolsmanifest declarationrunBackuppath-resolution failuresThis PR intentionally does not pull in the full broad changes from #743/#750. It only applies the minimal path-resolution fix needed for backup/admission audit paths.
It also does not claim to resolve all OpenClaw 2026.5 issues in the repo; other categories like broader backup workflows, locks/bulk-store, reflection/dreaming, retrieval-quality, and import-markdown remain separate work.
Validation
Local validation performed:
npx tsc -p tsconfig.jsonnode --test test/reflection-bypass-hook.test.mjsnode test/plugin-manifest-regression.mjsnode --test test/sync-plugin-version.test.mjsopenclaw doctor --non-interactivememory_store+memory_recallwrite-read marker testRuntime result after installing/syncing this branch locally:
~/.openclaw/extensions/memory-lancedb-pro/dist/index.js1.1.0-beta.11embedding: OK,retrieval: OK,FTS: enabled