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
Louis Beaumont131f51a12dc1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 16bded6ad..d691b9da5 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -122,6 +122,8 @@ jobs:GH_TOKEN: ${{ secrets.PAT }}run: |gh release create ${{ env.RELEASE_VERSION }} --title ${{ env.RELEASE_VERSION }} --generate-notes+ mv ./artifacts/ubuntu/screenpipe ./artifacts/ubuntu/screenpipe-ubuntu+ mv ./artifacts/macos/screenpipe ./artifacts/macos/screenpipe-macosgh release upload ${{ env.RELEASE_VERSION }} ./artifacts/ubuntu/* ./artifacts/macos/*\ No newline at end of filediff --git a/examples/maintain-a-log-of-my-day/log.md b/examples/maintain-a-log-of-my-day/log.mdnew file mode 100644index 000000000..6304564b0--- /dev/null+++ b/examples/maintain-a-log-of-my-day/log.md@@ -0,0 +1,21 @@+ - **Automated MacOS Releases**: Successfully developed a GitHub Actions workflow for streamlining macOS releases, including artifact handling and release tagging based on version naming conventions.++++- **Notarization Step Added**: Incorporated a notarization step into the workflow to comply with Apple's Gatekeeper security requirements before uploading the artifact.++++- **Version Management Enhancement**: Improved the use of `$GITHUB_ENV` variables for dynamic versioning, ensuring accurate and consistent version identification across macOS binary releases.++++- **Release Tags Streamlined**: Ensured that release tags follow a standardized pattern (e.g., 'screenpipe-macos') derived from `GITHUB_REF_NAME`, simplifying tag management.++++- **Release Notes Integration**: Seamlessly integrated the generation and upload of macOS release artifacts, including comprehensive release notes sourced directly from GitHub Actions workflow outputs for better traceability.++++- **Version Consistency Enforcement**: Established a verification process to maintain version consistency across different MacOS releases using the repository's release page as a reference point.\ No newline at end of filediff --git a/examples/maintain-a-log-of-my-day/src/main.rs b/examples/maintain-a-log-of-my-day/src/main.rsindex 11a1b6dba..e19d6e6ec 100644--- a/examples/maintain-a-log-of-my-day/src/main.rs+++ b/examples/maintain-a-log-of-my-day/src/main.rs@@ -67,7 +67,7 @@ fn main() {Rules:- Keep the log small and concise, formatted as a bullet list- Your responses are NOT in a code block e.g. no ```plaintext ```markdown etc.!- - DO WRITE A LOG OF THE USER'S DAY IN MARKDOWN FORMAT. NOTHING ELSE+ - DO WRITE A LOG OF THE USER'S DAY. NOTHING ELSENow update the log based on the user's screen and respond with only the updated log.LOG OF THE USER'S DAY:@@ -78,19 +78,24 @@ fn main() {}]}))- .send()- .unwrap();- let text: serde_json::Value = response.json().unwrap();- // remove first " and last " from the response- let llm_response = text["message"]["content"].to_string().trim_matches('"').to_string();+ .send();- println!("{}", llm_response);+ if let Ok(response) = response {+ let text: serde_json::Value = response.json().unwrap();+ // remove first " and last " from the response+ let llm_response = text["message"]["content"].to_string().trim_matches('"').to_string();- // replace all \n with \n\n- let llm_response = llm_response.replace("\\n", "\n\n");+ println!("{}", llm_response);- // update to file- fs::write("log.md", llm_response).unwrap();+ // replace all \n with \n\n+ let llm_response = llm_response.replace("\\n", "\n\n");++ // update to file+ fs::write("log.md", llm_response).unwrap();+ } else {+ eprintln!("Request failed, skipping to next iteration.");+ continue;+ }}// Sleep for a while before checking againdiff --git a/screenpipe/src/core/core.rs b/screenpipe/src/core/core.rsindex d6b1e7370..a3aa74efa 100644--- a/screenpipe/src/core/core.rs+++ b/screenpipe/src/core/core.rs@@ -230,8 +230,8 @@ fn stream_to_ffmpeg("-pix_fmt","yuv420p","-crf",- // "25",- "18",+ "25",+ // "18",&output_name,]).stdin(Stdio::piped())