fix: preserve Pi projection continuity
This commit is contained in:
@@ -361,7 +361,9 @@ export async function projectPiSessionSnapshot(
|
||||
worker: { status: 'ready', generation: input.workerGeneration },
|
||||
cursor: {
|
||||
workerGeneration: input.workerGeneration,
|
||||
seq: 0,
|
||||
seq: input.snapshot.cursor.workerGeneration === input.workerGeneration
|
||||
? input.snapshot.cursor.seq
|
||||
: 0,
|
||||
...(typeof response.leafId === 'string' ? { leafEntryId: response.leafId } : {}),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user