@xmoxmo/bncr 0.5.9 → 0.6.0

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": "@xmoxmo/bncr",
3
- "version": "0.5.9",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -392,7 +392,11 @@ export async function prepareBncrInboundSessionContext(args: {
392
392
  });
393
393
  const body = formatOpenClawAgentEnvelope(api, {
394
394
  channel: 'Bncr',
395
- from: `${platform}:${groupId}:${userId}`,
395
+ from:
396
+ (parsed.userId
397
+ ? `${parsed.userName} (${parsed.userId})`
398
+ : parsed.userName || `${platform}:${groupId}:${userId}`) +
399
+ (parsed.msgId ? ` #${parsed.msgId}` : ''),
396
400
  timestamp: Date.now(),
397
401
  previousTimestamp: readBncrSessionUpdatedAt(api, {
398
402
  storePath,