Improve normalized logs (#455)

* Increase broadcast channel size

* Use stdout_lines_stream

* WIP fix amp logs containing all previous conversation turns

* Mark raw and normalized log streams from the DB as finished

* Update event source manager to handle removed entries

* Clippy

* Cargo fmt
This commit is contained in:
Louis Knight-Webb
2025-08-12 16:31:56 +01:00
committed by GitHub
parent 74db7161b6
commit 0fdc73f8b7
8 changed files with 109 additions and 115 deletions

View File

@@ -113,6 +113,9 @@ export const useEventSourceManager = ({
return false; // Already processed
}
processedSet.add(entryIndex);
} else if (match && patch.op === 'remove') {
const entryIndex = parseInt(match[1], 10);
processedSet.delete(entryIndex);
}
// Always allow replace operations and non-entry patches
return true;