Environment
- OpenClaw version: 2026.4.2
- Plugin version: memory-lancedb-pro v1.1.0-beta.10
- OS: macOS (arm64)
Description
After upgrading to OpenClaw 2026.4.2, the following deprecation warning is emitted on every startup:
(node:69143) [OPENCLAW_EXTENSION_API_DEPRECATED] Warning: openclaw/extension-api is deprecated. Migrate to api.runtime.agent.* or focused openclaw/plugin-sdk/<subpath> imports. See https://docs.openclaw.com/plugins/sdk-migration
This compatibility bridge is temporary. Bundled plugins should use the injected plugin runtime instead of importing host-side agent helpers directly. Migration guide: https://docs.openclaw.com/plugins/sdk-migration
Root Cause
In index.ts, the getExtensionApiImportSpecifiers() function (line 375-393) dynamically imports openclaw/dist/extensionAPI.js as a fallback resolution path:
specifiers.push("openclaw/dist/extensionAPI.js");
specifiers.push(toImportSpecifier(requireFromHere.resolve("openclaw/dist/extensionAPI.js")));
// ... plus hardcoded system paths
OpenClaw 2026.4.2 now warns when bundled plugins load via this deprecated bridge.
Impact
- Log noise only — no functional issues observed
- The warning appears on every startup/restart
Request
Migrate the runtime import from openclaw/dist/extensionAPI.js to the new openclaw/plugin-sdk subpath imports as per the migration guide. The plugin already uses openclaw/plugin-sdk for type imports — the runtime import path just needs to catch up.
Additional Context
- No existing issues or PRs found addressing this
- OpenClaw docs indicate the
extensionAPI.js bridge is temporary and will be removed in a future release
Environment
Description
After upgrading to OpenClaw 2026.4.2, the following deprecation warning is emitted on every startup:
Root Cause
In
index.ts, thegetExtensionApiImportSpecifiers()function (line 375-393) dynamically importsopenclaw/dist/extensionAPI.jsas a fallback resolution path:OpenClaw 2026.4.2 now warns when bundled plugins load via this deprecated bridge.
Impact
Request
Migrate the runtime import from
openclaw/dist/extensionAPI.jsto the newopenclaw/plugin-sdksubpath imports as per the migration guide. The plugin already usesopenclaw/plugin-sdkfor type imports — the runtime import path just needs to catch up.Additional Context
extensionAPI.jsbridge is temporary and will be removed in a future release