@yeaft/webchat-agent 1.0.236 → 1.0.237
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/local-runtime/server/handlers/agent-output.js +1 -0
- package/local-runtime/server/handlers/client-conversation.js +1 -0
- package/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +96 -87
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
- package/yeaft/conversation/persist.js +13 -4
- package/yeaft/web-bridge.js +6 -2
|
@@ -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.
|
|
1
|
+
{"version":"1.0.237"}
|