Skip to content

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

[autofix.ci] apply automated fixes

autofix-ci[bot]46eaf9b84ef4
diff --git a/crates/screenpipe-engine/src/search_only.rs b/crates/screenpipe-engine/src/search_only.rs
index 1c45af220..55258992b 100644
--- a/crates/screenpipe-engine/src/search_only.rs
+++ b/crates/screenpipe-engine/src/search_only.rs
@@ -26,7 +26,12 @@ fn history_request(method: &Method, path: &str) -> bool {
// raw_sql already enforces read-only SQL and the history access policy.
return matches!(
path,
- "/raw_sql" | "/chats/search" | "/tags/vision/batch" | "/export" | "/vault/lock" | "/vault/unlock"
+ "/raw_sql"
+ | "/chats/search"
+ | "/tags/vision/batch"
+ | "/export"
+ | "/vault/lock"
+ | "/vault/unlock"
);
}
if method != Method::GET && method != Method::HEAD {
diff --git a/crates/screenpipe-engine/src/server.rs b/crates/screenpipe-engine/src/server.rs
index 93bda8ce2..35d8de3b7 100644
--- a/crates/screenpipe-engine/src/server.rs
+++ b/crates/screenpipe-engine/src/server.rs
@@ -1124,7 +1124,10 @@ impl SCServer {
.merge(server.into_router())
// Read-only reuse of local chat discovery; inherits API auth and
// vault/pipe permissions. No cross-chat dispatch is exposed.
- .route("/chats/search", axum::routing::post(crate::agent_chats::search_handler))
+ .route(
+ "/chats/search",
+ axum::routing::post(crate::agent_chats::search_handler),
+ )
// Agent self-improvement lives behind one validated local API so
// native Pi and ACP share profile safety, prompt rendering, skill
// provenance, optimistic concurrency, and bundled protection.