openclaw - 💡(How to fix) Fix [Bug]: TypeError: (0, _pluginSdk.createReplyPrefixContext) is not a function after update [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#75171Fetched 2026-05-01 05:37:22
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
2
Timeline (top)
mentioned ×3subscribed ×3commented ×1labeled ×1

00:48:51 [gateway] loading configuration… 00:48:52 [gateway] resolving authentication… 00:48:52 [gateway] starting... 00:48:53 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: feishu (C:\Users\Administrator.openclaw\extensions\feishu\index.ts). Set plugins.allow to explicit trusted ids. 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) (node:55156) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/<subpath> imports. See https://docs.openclaw.ai/plugins/sdk-migration Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: https://docs.openclaw.ai/plugins/sdk-migration (Use node --trace-warnings ... to show where the warning was created) 00:48:55 [gateway] starting HTTP server... 00:48:55 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root C:\Users\Administrator.openclaw\canvas) 00:48:55 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s) [info]: [ 'client ready' ] 00:48:55 [gateway] agent model: deepseek/deepseek-v4-pro 00:48:55 [gateway] http server listening (1 plugin: feishu; 3.7s) 00:48:55 [gateway] log file: C:\Users\ADMINI~1\AppData\Local\Temp\openclaw\openclaw-2026-05-01.log 00:48:55 [gateway] starting channels and sidecars... 00:48:56 [hooks] loaded 4 internal hook handlers 00:48:56 [feishu] starting feishu[undefined] (mode: websocket) 00:48:56 [feishu] starting 1 account(s): default 00:48:56 [gateway] ready 00:48:56 [heartbeat] started 00:49:01 [feishu] feishu[default]: bot open_id resolved: ou_c2345b51661cff6073e1728fa9fdd96f [info]: [ 'event-dispatch is ready' ] 00:49:01 [feishu] feishu[default]: starting WebSocket connection... [info]: [ '[ws]', 'receive events or callbacks through persistent connection only available in self-build & Feishu app, Configured in:\n' + ' Developer Console(开发者后台) \n' + ' ->\n' + ' Events and Callbacks(事件与回调)\n' + ' -> \n' + ' Mode of event/callback subscription(订阅方式)\n' + ' -> \n' + ' Receive events/callbacks through persistent connection(使用 长连接 接收事件/回调)' ] 00:49:01 [feishu] feishu[default]: WebSocket client started [info]: [ '[ws]', 'ws client ready' ] 00:49:23 [diagnostic] liveness warning: reasons=event_loop_delay interval=30s eventLoopDelayP99Ms=35.5 eventLoopDelayMaxMs=4739.6 eventLoopUtilization=0.291 cpuCoreRatio=0.07 active=0 waiting=0 queued=0 00:50:08 [feishu] feishu[default]: received message from ou_dbe2d8cc96ad8ed5536fe7beeaa6b1cb in oc_6377ad9fd86e314cdc5d6f5ba0f5b0a5 (p2p) 00:50:09 [feishu] feishu[default]: failed to dispatch message: TypeError: (0 , _pluginSdk.createReplyPrefixContext) is not a function

Error Message

The application fails to dispatch the message and throws the following user-visible error: This error persists deterministically even after completely removing legacy .node files, clearing the npm cache, and performing a fresh installation.

Root Cause

00:48:51 [gateway] loading configuration… 00:48:52 [gateway] resolving authentication… 00:48:52 [gateway] starting... 00:48:53 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: feishu (C:\Users\Administrator.openclaw\extensions\feishu\index.ts). Set plugins.allow to explicit trusted ids. 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) (node:55156) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/<subpath> imports. See https://docs.openclaw.ai/plugins/sdk-migration Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: https://docs.openclaw.ai/plugins/sdk-migration (Use node --trace-warnings ... to show where the warning was created) 00:48:55 [gateway] starting HTTP server... 00:48:55 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root C:\Users\Administrator.openclaw\canvas) 00:48:55 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s) [info]: [ 'client ready' ] 00:48:55 [gateway] agent model: deepseek/deepseek-v4-pro 00:48:55 [gateway] http server listening (1 plugin: feishu; 3.7s) 00:48:55 [gateway] log file: C:\Users\ADMINI~1\AppData\Local\Temp\openclaw\openclaw-2026-05-01.log 00:48:55 [gateway] starting channels and sidecars... 00:48:56 [hooks] loaded 4 internal hook handlers 00:48:56 [feishu] starting feishu[undefined] (mode: websocket) 00:48:56 [feishu] starting 1 account(s): default 00:48:56 [gateway] ready 00:48:56 [heartbeat] started 00:49:01 [feishu] feishu[default]: bot open_id resolved: ou_c2345b51661cff6073e1728fa9fdd96f [info]: [ 'event-dispatch is ready' ] 00:49:01 [feishu] feishu[default]: starting WebSocket connection... [info]: [ '[ws]', 'receive events or callbacks through persistent connection only available in self-build & Feishu app, Configured in:\n' + ' Developer Console(开发者后台) \n' + ' ->\n' + ' Events and Callbacks(事件与回调)\n' + ' -> \n' + ' Mode of event/callback subscription(订阅方式)\n' + ' -> \n' + ' Receive events/callbacks through persistent connection(使用 长连接 接收事件/回调)' ] 00:49:01 [feishu] feishu[default]: WebSocket client started [info]: [ '[ws]', 'ws client ready' ] 00:49:23 [diagnostic] liveness warning: reasons=event_loop_delay interval=30s eventLoopDelayP99Ms=35.5 eventLoopDelayMaxMs=4739.6 eventLoopUtilization=0.291 cpuCoreRatio=0.07 active=0 waiting=0 queued=0 00:50:08 [feishu] feishu[default]: received message from ou_dbe2d8cc96ad8ed5536fe7beeaa6b1cb in oc_6377ad9fd86e314cdc5d6f5ba0f5b0a5 (p2p) 00:50:09 [feishu] feishu[default]: failed to dispatch message: TypeError: (0 , _pluginSdk.createReplyPrefixContext) is not a function

Fix Action

Fix / Workaround

00:48:51 [gateway] loading configuration… 00:48:52 [gateway] resolving authentication… 00:48:52 [gateway] starting... 00:48:53 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: feishu (C:\Users\Administrator.openclaw\extensions\feishu\index.ts). Set plugins.allow to explicit trusted ids. 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) (node:55156) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/<subpath> imports. See https://docs.openclaw.ai/plugins/sdk-migration Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: https://docs.openclaw.ai/plugins/sdk-migration (Use node --trace-warnings ... to show where the warning was created) 00:48:55 [gateway] starting HTTP server... 00:48:55 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root C:\Users\Administrator.openclaw\canvas) 00:48:55 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s) [info]: [ 'client ready' ] 00:48:55 [gateway] agent model: deepseek/deepseek-v4-pro 00:48:55 [gateway] http server listening (1 plugin: feishu; 3.7s) 00:48:55 [gateway] log file: C:\Users\ADMINI~1\AppData\Local\Temp\openclaw\openclaw-2026-05-01.log 00:48:55 [gateway] starting channels and sidecars... 00:48:56 [hooks] loaded 4 internal hook handlers 00:48:56 [feishu] starting feishu[undefined] (mode: websocket) 00:48:56 [feishu] starting 1 account(s): default 00:48:56 [gateway] ready 00:48:56 [heartbeat] started 00:49:01 [feishu] feishu[default]: bot open_id resolved: ou_c2345b51661cff6073e1728fa9fdd96f [info]: [ 'event-dispatch is ready' ] 00:49:01 [feishu] feishu[default]: starting WebSocket connection... [info]: [ '[ws]', 'receive events or callbacks through persistent connection only available in self-build & Feishu app, Configured in:\n' + ' Developer Console(开发者后台) \n' + ' ->\n' + ' Events and Callbacks(事件与回调)\n' + ' -> \n' + ' Mode of event/callback subscription(订阅方式)\n' + ' -> \n' + ' Receive events/callbacks through persistent connection(使用 长连接 接收事件/回调)' ] 00:49:01 [feishu] feishu[default]: WebSocket client started [info]: [ '[ws]', 'ws client ready' ] 00:49:23 [diagnostic] liveness warning: reasons=event_loop_delay interval=30s eventLoopDelayP99Ms=35.5 eventLoopDelayMaxMs=4739.6 eventLoopUtilization=0.291 cpuCoreRatio=0.07 active=0 waiting=0 queued=0 00:50:08 [feishu] feishu[default]: received message from ou_dbe2d8cc96ad8ed5536fe7beeaa6b1cb in oc_6377ad9fd86e314cdc5d6f5ba0f5b0a5 (p2p) 00:50:09 [feishu] feishu[default]: failed to dispatch message: TypeError: (0 , _pluginSdk.createReplyPrefixContext) is not a function

Perform a clean global installation of the latest version of openclaw on Windows (npm cache clean --force and npm install -g openclaw). Run openclaw with the Feishu (Lark) integration/plugin enabled. Trigger a message dispatch or wait for openclaw to process an incoming message from Feishu.

The Feishu message should be dispatched and processed successfully without throwing any TypeErrors, consistent with the prior observed behavior in earlier, stable versions of openclaw.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

00:48:51 [gateway] loading configuration… 00:48:52 [gateway] resolving authentication… 00:48:52 [gateway] starting... 00:48:53 [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: feishu (C:\Users\Administrator.openclaw\extensions\feishu\index.ts). Set plugins.allow to explicit trusted ids. 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) 00:48:55 [gateway] [plugins] channel plugin manifest declares feishu without channelConfigs metadata; add openclaw.plugin.json#channelConfigs so config schema and setup surfaces work before runtime loads (plugin=feishu, source=C:\Users\Administrator.openclaw\extensions\feishu\openclaw.plugin.json) (node:55156) [OPENCLAW_PLUGIN_SDK_COMPAT_DEPRECATED] Warning: openclaw/plugin-sdk/compat is deprecated for new plugins. Migrate to focused openclaw/plugin-sdk/<subpath> imports. See https://docs.openclaw.ai/plugins/sdk-migration Bundled plugins must use scoped plugin-sdk subpaths. External plugins may keep compat temporarily while migrating. Migration guide: https://docs.openclaw.ai/plugins/sdk-migration (Use node --trace-warnings ... to show where the warning was created) 00:48:55 [gateway] starting HTTP server... 00:48:55 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/ (root C:\Users\Administrator.openclaw\canvas) 00:48:55 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s) [info]: [ 'client ready' ] 00:48:55 [gateway] agent model: deepseek/deepseek-v4-pro 00:48:55 [gateway] http server listening (1 plugin: feishu; 3.7s) 00:48:55 [gateway] log file: C:\Users\ADMINI~1\AppData\Local\Temp\openclaw\openclaw-2026-05-01.log 00:48:55 [gateway] starting channels and sidecars... 00:48:56 [hooks] loaded 4 internal hook handlers 00:48:56 [feishu] starting feishu[undefined] (mode: websocket) 00:48:56 [feishu] starting 1 account(s): default 00:48:56 [gateway] ready 00:48:56 [heartbeat] started 00:49:01 [feishu] feishu[default]: bot open_id resolved: ou_c2345b51661cff6073e1728fa9fdd96f [info]: [ 'event-dispatch is ready' ] 00:49:01 [feishu] feishu[default]: starting WebSocket connection... [info]: [ '[ws]', 'receive events or callbacks through persistent connection only available in self-build & Feishu app, Configured in:\n' + ' Developer Console(开发者后台) \n' + ' ->\n' + ' Events and Callbacks(事件与回调)\n' + ' -> \n' + ' Mode of event/callback subscription(订阅方式)\n' + ' -> \n' + ' Receive events/callbacks through persistent connection(使用 长连接 接收事件/回调)' ] 00:49:01 [feishu] feishu[default]: WebSocket client started [info]: [ '[ws]', 'ws client ready' ] 00:49:23 [diagnostic] liveness warning: reasons=event_loop_delay interval=30s eventLoopDelayP99Ms=35.5 eventLoopDelayMaxMs=4739.6 eventLoopUtilization=0.291 cpuCoreRatio=0.07 active=0 waiting=0 queued=0 00:50:08 [feishu] feishu[default]: received message from ou_dbe2d8cc96ad8ed5536fe7beeaa6b1cb in oc_6377ad9fd86e314cdc5d6f5ba0f5b0a5 (p2p) 00:50:09 [feishu] feishu[default]: failed to dispatch message: TypeError: (0 , _pluginSdk.createReplyPrefixContext) is not a function

Steps to reproduce

Perform a clean global installation of the latest version of openclaw on Windows (npm cache clean --force and npm install -g openclaw). Run openclaw with the Feishu (Lark) integration/plugin enabled. Trigger a message dispatch or wait for openclaw to process an incoming message from Feishu.

Expected behavior

The Feishu message should be dispatched and processed successfully without throwing any TypeErrors, consistent with the prior observed behavior in earlier, stable versions of openclaw.

Actual behavior

The application fails to dispatch the message and throws the following user-visible error: failed to dispatch message: TypeError: (0 , _pluginSdk.createReplyPrefixContext) is not a function This error persists deterministically even after completely removing legacy .node files, clearing the npm cache, and performing a fresh installation.

OpenClaw version

OpenClaw 2026.4.27 (cbc2ba0)

Operating system

windows 11

Install method

No response

Model

deepseek v4 flash

Provider / routing chain

openclaw->deepseek

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The most likely fix is to update the Feishu plugin to be compatible with the latest OpenClaw version, specifically migrating from the deprecated openclaw/plugin-sdk/compat to the new openclaw/plugin-sdk/<subpath> imports.

Guidance

  • Check the Feishu plugin's openclaw.plugin.json file for the channelConfigs metadata, which is required for the plugin to work correctly with OpenClaw.
  • Verify that the Feishu plugin is using the latest version of the OpenClaw plugin SDK, and migrate from the deprecated compat import to the new <subpath> imports if necessary.
  • Review the OpenClaw documentation on plugin migration (https://docs.openclaw.ai/plugins/sdk-migration) for more information on updating the Feishu plugin.
  • Test the updated Feishu plugin with the latest OpenClaw version to ensure compatibility and resolve the TypeError issue.

Example

No code snippet is provided as the issue is related to plugin compatibility and migration, rather than a specific code error.

Notes

The issue may be specific to the Feishu plugin and its compatibility with the latest OpenClaw version. The error message indicates a TypeError related to the createReplyPrefixContext function, which suggests a problem with the plugin's implementation.

Recommendation

Apply the workaround by updating the Feishu plugin to be compatible with the latest OpenClaw version, following the migration guide provided in the OpenClaw documentation. This should resolve the TypeError issue and ensure correct functionality.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The Feishu message should be dispatched and processed successfully without throwing any TypeErrors, consistent with the prior observed behavior in earlier, stable versions of openclaw.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: TypeError: (0, _pluginSdk.createReplyPrefixContext) is not a function after update [1 comments, 2 participants]