YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: pipe execution history missing 80% of output
Louis Beaumont42370271acc8
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rsindex e675a10d3..356c8f28c 100644--- a/crates/screenpipe-core/src/pipes/mod.rs+++ b/crates/screenpipe-core/src/pipes/mod.rs@@ -3465,8 +3465,15 @@ fn filter_ndjson_stdout(s: &str) -> String {}// Only filter JSON lines that are complete objectsif trimmed.starts_with('{') && trimmed.ends_with('}') {- // Fast substring check before paying for a full JSON parse- if trimmed.contains("\"toolcall_delta\"") || trimmed.contains("\"thinking_delta\"") {+ // Fast substring check before paying for a full JSON parse.+ // text_delta events are also filtered — they dominate output and+ // push message_end/agent_end (which contain the full assembled text)+ // past the 50KB truncation limit, causing 80%+ of the response to+ // be lost in execution history.+ if trimmed.contains("\"toolcall_delta\"")+ || trimmed.contains("\"thinking_delta\"")+ || trimmed.contains("\"text_delta\"")+ {continue;}}