chore: rebuild release package

This commit is contained in:
shiyue
2026-07-18 19:47:04 +08:00
parent b90f5e1e44
commit a038485ab5
9 changed files with 729 additions and 49 deletions

View File

@@ -7710,7 +7710,7 @@ function handleLoadSession(ws, msg) {
let chunkEnd = Math.max(0, refreshedSession.messages.length - recentMessages.length);
olderChunks.forEach((chunk, index) => {
const chunkStart = Math.max(0, chunkEnd - chunk.length);
wsSend(ws, {
wsSend(ws, attachClientRequestId({
type: 'session_history_chunk',
sessionId: refreshedSession.id,
messages: chunk,
@@ -7718,7 +7718,7 @@ function handleLoadSession(ws, msg) {
historyCursor: index === olderChunks.length - 1 ? historyRemaining : null,
historyBaseIndex: chunkStart,
historyTruncated: historyRemaining > 0,
});
}, msg));
chunkEnd = chunkStart;
});
}