Pre-submission checklist | 提交前检查
Bug Description | 问题描述
Plugin version: 1.0.9 (also 1.0.9-beta.1)
OpenClaw version: 2026.3.31
When the plugin registers, it calls api.registerMemoryCapability() which does not exist in OpenClaw 2026.3.31.
Error:
TypeError: api.registerMemoryCapability is not a function
Expected Behavior
The plugin should use the correct OpenClaw memory plugin API. Based on OpenClaw 2026.3.31 SDK documentation, the available memory-related APIs are:
api.registerMemoryPromptSection(builder) — Memory prompt section builder
api.registerMemoryFlushPlan(resolver) — Memory flush plan resolver
api.registerMemoryRuntime(runtime) — Memory runtime adapter
How to Reproduce | 如何重现
- Install plugin:
openclaw plugins install @memtensor/memos-local-openclaw-plugin
- Restart gateway
- Check plugin status — it fails to load with the error above
Environment | 环境信息
- OpenClaw: 2026.3.31
- Plugin: @memtensor/memos-local-openclaw-plugin@1.0.9
- Node.js: v22.22.1
- OS: Linux (Debian)
Additional Context | 其他信息
The error occurs at index.ts:163:
api.registerMemoryCapability({
promptBuilder: buildMemoryPromptSection,
});
This API method does not exist in the current OpenClaw version. Please update the plugin to use the correct memory plugin API.
### Willingness to Implement | 实现意愿
- [ ] I'm willing to implement this myself | 我愿意自己解决
- [x] I would like someone else to implement this | 我希望其他人来解决
Pre-submission checklist | 提交前检查
Bug Description | 问题描述
Plugin version: 1.0.9 (also 1.0.9-beta.1)
OpenClaw version: 2026.3.31
When the plugin registers, it calls
api.registerMemoryCapability()which does not exist in OpenClaw 2026.3.31.Error:
TypeError: api.registerMemoryCapability is not a function
Expected Behavior
The plugin should use the correct OpenClaw memory plugin API. Based on OpenClaw 2026.3.31 SDK documentation, the available memory-related APIs are:
api.registerMemoryPromptSection(builder)— Memory prompt section builderapi.registerMemoryFlushPlan(resolver)— Memory flush plan resolverapi.registerMemoryRuntime(runtime)— Memory runtime adapterHow to Reproduce | 如何重现
openclaw plugins install @memtensor/memos-local-openclaw-pluginEnvironment | 环境信息
Additional Context | 其他信息
The error occurs at
index.ts:163: