@searchfe/openclaw-baiduapp 0.1.0-beta.10 → 0.1.0-beta.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/dist/index.js CHANGED
@@ -4383,7 +4383,7 @@ async function dispatchBaiduAppMessage(params) {
4383
4383
  const envelopeOptions = channel.reply?.resolveEnvelopeFormatOptions ? channel.reply.resolveEnvelopeFormatOptions(safeCfg) : void 0;
4384
4384
  const body = channel.reply?.formatAgentEnvelope ? channel.reply.formatAgentEnvelope({
4385
4385
  channel: "Baidu App",
4386
- from: "user:anonymous",
4386
+ from: "",
4387
4387
  previousTimestamp,
4388
4388
  envelope: envelopeOptions,
4389
4389
  body: rawBody
@@ -4393,32 +4393,32 @@ async function dispatchBaiduAppMessage(params) {
4393
4393
  Body: body,
4394
4394
  RawBody: rawBody,
4395
4395
  CommandBody: rawBody,
4396
- From: "openclaw-baiduapp:user:anonymous",
4397
- To: "user:anonymous",
4396
+ From: "openclaw-baiduapp:user",
4397
+ To: "user",
4398
4398
  SessionKey: route.sessionKey,
4399
4399
  AccountId: route.accountId ?? account.accountId,
4400
4400
  ChatType: "direct",
4401
- ConversationLabel: "user:anonymous",
4401
+ ConversationLabel: "user",
4402
4402
  Provider: "openclaw-baiduapp",
4403
4403
  Surface: "openclaw-baiduapp",
4404
4404
  MessageSid: msgid,
4405
4405
  OriginatingChannel: "openclaw-baiduapp",
4406
- OriginatingTo: "user:anonymous"
4406
+ OriginatingTo: "user"
4407
4407
  }) : {
4408
4408
  Body: body,
4409
4409
  RawBody: rawBody,
4410
4410
  CommandBody: rawBody,
4411
- From: "openclaw-baiduapp:user:anonymous",
4412
- To: "user:anonymous",
4411
+ From: "openclaw-baiduapp:user",
4412
+ To: "user",
4413
4413
  SessionKey: route.sessionKey,
4414
4414
  AccountId: route.accountId ?? account.accountId,
4415
4415
  ChatType: "direct",
4416
- ConversationLabel: "user:anonymous",
4416
+ ConversationLabel: "user",
4417
4417
  Provider: "openclaw-baiduapp",
4418
4418
  Surface: "openclaw-baiduapp",
4419
4419
  MessageSid: msgid,
4420
4420
  OriginatingChannel: "openclaw-baiduapp",
4421
- OriginatingTo: "user:anonymous"
4421
+ OriginatingTo: "user"
4422
4422
  };
4423
4423
  if (channel.session?.recordInboundSession && storePath) {
4424
4424
  await channel.session.recordInboundSession({