openclaw-elys 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,12 +30,12 @@ export async function monitorElysProvider(opts) {
30
30
  // 3. Set up command handler using PluginRuntime (same pattern as feishu)
31
31
  const core = getElysRuntime();
32
32
  const dispatchReplyFromConfig = core?.channel?.reply?.dispatchReplyFromConfig;
33
- const withReplyDispatcher = core?.channel?.reply?.withReplyDispatcher;
33
+ const createDispatcher = core?.channel?.reply?.createReplyDispatcherWithTyping;
34
34
  const finalizeCtx = core?.channel?.reply?.finalizeInboundContext;
35
- log(`[elys] pluginRuntime available: ${!!core}, dispatchReplyFromConfig: ${!!dispatchReplyFromConfig}, finalizeCtx: ${!!finalizeCtx}`);
35
+ log(`[elys] pluginRuntime available: ${!!core}, dispatchReplyFromConfig: ${!!dispatchReplyFromConfig}, createDispatcher: ${!!createDispatcher}, finalizeCtx: ${!!finalizeCtx}`);
36
36
  const commandHandler = async (cmd, signal) => {
37
37
  log(`[elys] executing command: ${cmd.command}`, cmd.args);
38
- if (dispatchReplyFromConfig && finalizeCtx && withReplyDispatcher) {
38
+ if (dispatchReplyFromConfig && finalizeCtx && createDispatcher) {
39
39
  try {
40
40
  let seq = 0;
41
41
  let fullText = "";
@@ -78,7 +78,6 @@ export async function monitorElysProvider(opts) {
78
78
  }
79
79
  };
80
80
  // Create dispatcher + dispatch (same pattern as feishu built-in channel)
81
- const createDispatcher = core.channel.reply.createReplyDispatcherWithTyping;
82
81
  const { dispatcher, replyOptions, markDispatchIdle } = createDispatcher({
83
82
  deliver,
84
83
  onError: (err, info) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-elys",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "OpenClaw Elys channel plugin — connects to Elys App",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",