Skip to content

Commit ee69918

Browse files
committed
fix: remove type annotation for hasActiveStream parameter
1 parent a440281 commit ee69918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/messages/StreamingMessageAggregator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ export class StreamingMessageAggregator {
208208
/**
209209
* Load historical messages in batch, preserving their historySequence numbers.
210210
* This is more efficient than calling addMessage() repeatedly.
211-
*
211+
*
212212
* @param messages - Historical messages to load
213213
* @param hasActiveStream - Whether there's an active stream in buffered events (for reconnection scenario)
214214
*/
215-
loadHistoricalMessages(messages: CmuxMessage[], hasActiveStream: boolean = false): void {
215+
loadHistoricalMessages(messages: CmuxMessage[], hasActiveStream = false): void {
216216
// First, add all messages to the map
217217
for (const message of messages) {
218218
this.messages.set(message.id, message);
@@ -235,7 +235,7 @@ export class StreamingMessageAggregator {
235235
// Reconstruct based on tool type and stream state
236236
const shouldReconstructTodos = part.toolName === "todo_write" && hasActiveStream;
237237
const shouldReconstructStatus = part.toolName === "status_set";
238-
238+
239239
if (shouldReconstructTodos || shouldReconstructStatus) {
240240
this.processToolResult(part.toolName, part.input, part.output);
241241
}

0 commit comments

Comments
 (0)