@yeaft/webchat-agent 1.0.237 → 1.0.239
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/version.json +1 -1
- package/local-runtime/web/app.bundle.js +7 -5
- 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 +5 -1
|
Binary file
|
package/package.json
CHANGED
|
@@ -2610,7 +2610,11 @@ export class ConversationStore {
|
|
|
2610
2610
|
const seq = parseSeqFromId(message.id);
|
|
2611
2611
|
if (!Number.isFinite(seq)) return null;
|
|
2612
2612
|
const text = this.#visibleSearchText(message.content);
|
|
2613
|
-
|
|
2613
|
+
// Session logs have used three sender shapes over time. Resolve them at
|
|
2614
|
+
// the read boundary so existing data works without a disk migration.
|
|
2615
|
+
const speakerVpId = message.speakerVpId || message.meta?.senderVpId
|
|
2616
|
+
|| (message.role === 'assistant' && message.from && message.from !== 'user'
|
|
2617
|
+
? message.from : null);
|
|
2614
2618
|
return {
|
|
2615
2619
|
message,
|
|
2616
2620
|
seq,
|