@meet-im/meet 3.2.4 → 3.2.5

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.
package/dist/src/bot.js CHANGED
@@ -239,9 +239,23 @@ export async function handleMeetMessage(params) {
239
239
  const mentionsContext = ctx.mentions && ctx.mentions.length > 0
240
240
  ? `\n\nMentioned users: ${ctx.mentions.map((m) => `${m.name} (${m.userId})`).join(", ")}`
241
241
  : "";
242
- const finalContent = ctx.content.trim()
243
- ? `${ctx.content.trim()}${mentionsContext}${mediaContext}`
244
- : (ctx.placeholder || "") + mentionsContext + mediaContext;
242
+ const quoteContext = ctx.replyContext?.content?.trim()
243
+ ? [
244
+ "Reply target of current user message (untrusted, for context):",
245
+ "```json",
246
+ JSON.stringify({
247
+ body: ctx.replyContext.content.trim(),
248
+ sender: ctx.replyContext.senderId,
249
+ message_id: ctx.replyContext.messageId,
250
+ }, null, 2),
251
+ "```",
252
+ "",
253
+ ].join("\n")
254
+ : "";
255
+ const userBody = ctx.content.trim()
256
+ ? ctx.content.trim()
257
+ : (ctx.placeholder || "");
258
+ const finalContent = `${quoteContext}${userBody}${mentionsContext}${mediaContext}`;
245
259
  // Discord 做法:跳过空内容消息
246
260
  if (!finalContent.trim() && mediaPaths.length === 0) {
247
261
  log(`[${accountId}]: skip message ${ctx.messageId} (empty content)`);
@@ -1,2 +1,2 @@
1
- export declare const MEET_PLUGIN_VERSION = "3.2.4";
1
+ export declare const MEET_PLUGIN_VERSION = "3.2.5";
2
2
  export declare const MEET_OPENCLAW_VERSION = "2026.5.18";
@@ -1,2 +1,2 @@
1
- export const MEET_PLUGIN_VERSION = "3.2.4";
1
+ export const MEET_PLUGIN_VERSION = "3.2.5";
2
2
  export const MEET_OPENCLAW_VERSION = "2026.5.18";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meet-im/meet",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
4
4
  "type": "module",
5
5
  "description": "OpenClaw Meet channel plugin",
6
6
  "scripts": {