@wu529778790/open-im 0.3.1 → 0.3.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.
@@ -105,8 +105,8 @@ export async function updateMessage(chatId, messageId, content, status, note, to
105
105
  opts.reply_markup = buildStopKeyboard(Number(messageId));
106
106
  }
107
107
  else if (status === 'done' || status === 'error') {
108
- // 完成或错误时,显式移除停止按钮
109
- opts.reply_markup = {};
108
+ // 完成或错误时,显式移除停止按钮(使用空的 inline_keyboard)
109
+ opts.reply_markup = { inline_keyboard: [] };
110
110
  }
111
111
  // 流式输出时使用纯文本,避免 Markdown 解析导致内容减少
112
112
  // 只在完成时应用 Markdown 格式
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Multi-platform IM bridge for AI CLI tools (Claude, Codex, Cursor)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",