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
feat(api): expose frame_id on /search input results
Louis Beaumont23bdf682f494
diff --git a/crates/screenpipe-engine/src/routes/content.rs b/crates/screenpipe-engine/src/routes/content.rsindex 3e263514b..4e47bda6f 100644--- a/crates/screenpipe-engine/src/routes/content.rs+++ b/crates/screenpipe-engine/src/routes/content.rs@@ -142,6 +142,9 @@ pub struct InputContent {/// Element context from accessibility APIspub element_role: Option<String>,pub element_name: Option<String>,+ /// Frame the event triggered (linked by frame_linker)+ #[serde(skip_serializing_if = "Option::is_none")]+ pub frame_id: Option<i64>,}// Response structsdiff --git a/crates/screenpipe-engine/src/routes/search.rs b/crates/screenpipe-engine/src/routes/search.rsindex 59cb88e36..df1460f32 100644--- a/crates/screenpipe-engine/src/routes/search.rs+++ b/crates/screenpipe-engine/src/routes/search.rs@@ -405,6 +405,7 @@ pub(crate) async fn search(modifiers: input.modifiers,element_role: input.element.as_ref().and_then(|e| e.role.clone()),element_name: input.element.as_ref().and_then(|e| e.name.clone()),+ frame_id: input.frame_id,}),SearchResult::Memory(m) => ContentItem::Memory(MemoryContent {id: m.id,