fix(matrix): correct plugin-sdk import path for Docker bundle#33407
fix(matrix): correct plugin-sdk import path for Docker bundle#33407jameslcowan wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Greptile SummaryThis PR fixes a Docker-specific module resolution failure in the Matrix plugin by changing the import of
Confidence Score: 5/5
Last reviewed commit: dc1c78e |
dc1c78e to
037c8ec
Compare
|
OpenClaw now uses a new Matrix plugin built on the official Closing this as potentially fixed in the new plugin. If this still reproduces after migrating, please open a new issue/PR against the new Matrix plugin and link back here. Migration/docs: |
Summary
send-queue.tsimportsKeyedAsyncQueuefrom a subpath (openclaw/plugin-sdk/keyed-async-queue) that doesn't exist in the bundled Docker image.openclaw/plugin-sdkexport, whereKeyedAsyncQueueis already re-exported.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Matrix plugin loads correctly on Docker. No behavior change for non-Docker installs.
Security Impact (required)
Repro + Verification
Environment
ghcr.io/openclaw/openclaw:latest)Steps
ghcr.io/openclaw/openclaw:latestCannot find module '/app/dist/plugin-sdk/index.js/keyed-async-queue'Expected
Matrix plugin loads and connects.
Actual
Plugin fails silently, Matrix messages don't work.
Evidence
Error before fix:
KeyedAsyncQueueis exported fromplugin-sdk/index.js— verified in the built bundle.Human Verification (required)
KeyedAsyncQueueis exported from the mainopenclaw/plugin-sdkentry before changing the import.Compatibility / Migration
Failure Recovery (if this breaks)
"openclaw/plugin-sdk/keyed-async-queue".Risks and Mitigations
KeyedAsyncQueueexport removed from mainplugin-sdkindex in a future change.