@yeaft/webchat-agent 1.0.236 → 1.0.238

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.
@@ -636,6 +636,7 @@ export async function handleAgentOutput(agentId, agent, msg) {
636
636
  requestId: msg.requestId ?? null,
637
637
  sessionId: msg.sessionId ?? null,
638
638
  query: msg.query || '',
639
+ senderKey: msg.senderKey || '',
639
640
  results: Array.isArray(msg.results) ? msg.results : [],
640
641
  hasMore: !!msg.hasMore,
641
642
  nextBeforeSeq: msg.nextBeforeSeq ?? null,
@@ -943,6 +943,7 @@ export async function handleClientConversation(clientId, client, msg, checkAgent
943
943
  sessionId: searchSessionId,
944
944
  requestId: typeof msg.requestId === 'string' ? msg.requestId : null,
945
945
  query: typeof msg.query === 'string' ? msg.query.slice(0, 500) : '',
946
+ senderKey: typeof msg.senderKey === 'string' ? msg.senderKey.slice(0, 103) : '',
946
947
  limit: typeof msg.limit === 'number' ? msg.limit : 20,
947
948
  beforeSeq: typeof msg.beforeSeq === 'number' ? msg.beforeSeq : null,
948
949
  _requestClientId: clientId,
@@ -1 +1 @@
1
- {"version":"1.0.236"}
1
+ {"version":"1.0.238"}