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
release-app fix build
Louis Beaumontadb6981c560d
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 7e3e91214..e57804946 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "0.42.10"+version = "0.42.11"description = ""authors = ["you"]license = ""diff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rsindex 55c5c4094..b61ddd4c5 100644--- a/screenpipe-server/src/server.rs+++ b/screenpipe-server/src/server.rs@@ -1475,8 +1475,9 @@ pub(crate) async fn add_to_database(#[oasgen]async fn input_control_handler(- JsonResponse(payload): JsonResponse<InputControlRequest>,-) -> Result<JsonResponse<InputControlResponse>, (StatusCode, JsonResponse<Value>)> {+ State(_): State<Arc<AppState>>,+ Json(payload): Json<InputControlRequest>,+) -> Result<JsonResponse<InputControlResponse>, (StatusCode, Json<serde_json::Value>)> {use enigo::{Keyboard, Mouse};info!("input control handler {:?}", payload);@@ -1535,12 +1536,12 @@ fn mouse_button_from_string(}// Add these new structs:-#[derive(Deserialize, Debug)]+#[derive(Deserialize, Debug, OaSchema)]struct InputControlRequest {action: InputAction,}-#[derive(Deserialize, Debug)]+#[derive(Deserialize, Debug, OaSchema)]#[serde(tag = "type", content = "data")]enum InputAction {KeyPress(String),@@ -1549,7 +1550,7 @@ enum InputAction {WriteText(String),}-#[derive(Serialize)]+#[derive(Serialize, OaSchema)]struct InputControlResponse {success: bool,}