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: move /stats route to plain axum router (oasgen panics on unannotated handlers)
Louis Beaumont1a27c84a0231
diff --git a/crates/screenpipe-engine/src/server.rs b/crates/screenpipe-engine/src/server.rsindex be1a370e7..8d26a4bd2 100644--- a/crates/screenpipe-engine/src/server.rs+++ b/crates/screenpipe-engine/src/server.rs@@ -488,7 +488,6 @@ impl SCServer {.get("/frames/:frame_id/metadata", get_frame_metadata).get("/frames/next-valid", get_next_valid_frame).get("/health", health_check)- .get("/stats", stats_handler).post("/raw_sql", execute_raw_sql).post("/add", add_to_database).get("/speakers/unnamed", get_unnamed_speakers_handler)@@ -532,6 +531,8 @@ impl SCServer {let router = Router::new().merge(server.into_router())// Vault lock/unlock routes+ // User activity stats (cached, runs once per day)+ .route("/stats", get(stats_handler)).route("/vault/status", get(crate::routes::vault::vault_status)).route("/vault/lock",