@openclaw/msteams 2026.2.9 → 2026.2.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/msteams",
3
- "version": "2026.2.9",
3
+ "version": "2026.2.12",
4
4
  "description": "OpenClaw Microsoft Teams channel plugin",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -454,8 +454,19 @@ export function createMSTeamsMessageHandler(deps: MSTeamsMessageHandlerDeps) {
454
454
  });
455
455
  }
456
456
 
457
+ const inboundHistory =
458
+ isRoomish && historyKey && historyLimit > 0
459
+ ? (conversationHistories.get(historyKey) ?? []).map((entry) => ({
460
+ sender: entry.sender,
461
+ body: entry.body,
462
+ timestamp: entry.timestamp,
463
+ }))
464
+ : undefined;
465
+
457
466
  const ctxPayload = core.channel.reply.finalizeInboundContext({
458
467
  Body: combinedBody,
468
+ BodyForAgent: rawBody,
469
+ InboundHistory: inboundHistory,
459
470
  RawBody: rawBody,
460
471
  CommandBody: rawBody,
461
472
  From: teamsFrom,